1. Download our Official Android App: Forums for Android!

Root Carrier Name Flashable zip for Motorola Triumph

Discussion in 'Android Devices' started by tanner4137, Nov 7, 2011.

  1. tanner4137

    tanner4137 Member
    Thread Starter
    Rank:
    None
    Points:
    16
    Posts:
    72
    Joined:
    Aug 27, 2011

    Aug 27, 2011
    72
    3
    16
    Lubbock, Texas
    Sorry to ask, but could someone make something to flash that will change the carrier name to Sprint? :) Please!
     

    Advertisement

  2. mantera

    mantera Android Expert
    Rank:
    None
    Points:
    313
    Posts:
    1,319
    Joined:
    May 21, 2011

    May 21, 2011
    1,319
    1,587
    313
    Here you go.

    https://zipsend.com/download/T2dkcH...lVag/573be33c439265d902a0ac773d4bacf2e0065c88

    If you need to ever replace your framework-res.apk file in the future, just open up this framework-res.apk file in a Zip utility like WinZip or 7-zip and take out the eri.xml file from the folder /system/xml/ and replace the same file in the same location in the new framework-res.apk file and then flash it.
     
  3. tanner4137

    tanner4137 Member
    Thread Starter
    Rank:
    None
    Points:
    16
    Posts:
    72
    Joined:
    Aug 27, 2011

    Aug 27, 2011
    72
    3
    16
    Lubbock, Texas
    Not good at this but ill try. Hopefully minus can make a video tutorial
     
  4. agentc13

    agentc13 Daleks Über Alles
    Rank:
     #29
    Points:
    923
    Posts:
    7,916
    Joined:
    Aug 31, 2011

    Aug 31, 2011
    7,916
    5,482
    923
    Skaro
    1. boot into CWM and "install zip from SD card"
    2. choose zip from SD card (and pick the zip file you downloaded to your card)
    3. win!
     
  5. ipaint666

    ipaint666 Member
    Rank:
    None
    Points:
    18
    Posts:
    55
    Joined:
    Oct 10, 2011

    Oct 10, 2011
    55
    13
    18
    Ohio
    .... nevermind
     
  6. tanner4137

    tanner4137 Member
    Thread Starter
    Rank:
    None
    Points:
    16
    Posts:
    72
    Joined:
    Aug 27, 2011

    Aug 27, 2011
    72
    3
    16
    Lubbock, Texas
    Hey thanks so much guys! Just got a little confused with therestorimg part but I figured it out!
     
  7. Chingling

    Chingling Android Enthusiast
    Rank:
    None
    Points:
    53
    Posts:
    439
    Joined:
    Aug 28, 2011

    Aug 28, 2011
    439
    90
    53
    Nerd
    Antarctica
    Does this work on CM7?
     
  8. agentc13

    agentc13 Daleks Über Alles
    Rank:
     #29
    Points:
    923
    Posts:
    7,916
    Joined:
    Aug 31, 2011

    Aug 31, 2011
    7,916
    5,482
    923
    Skaro
    The flashable zips that change anything in the framework will not work on ROMS other than the one they are created for. The battery mod mantera did changes the carrier name as well on CM7.
     
    antidae likes this.
  9. haro138

    haro138 Well-Known Member
    Rank:
    None
    Points:
    43
    Posts:
    179
    Joined:
    Sep 16, 2011

    Sep 16, 2011
    179
    28
    43
    Hey agent sorry to piggyback on this thread but what would be the easiest way to edit YOUR posted zip from sprint to a text of my choosing?
     
  10. agentc13

    agentc13 Daleks Über Alles
    Rank:
     #29
    Points:
    923
    Posts:
    7,916
    Joined:
    Aug 31, 2011

    Aug 31, 2011
    7,916
    5,482
    923
    Skaro
    You need to pull the framework-res.apk from your phone (or the zip I posted). On your phone it is in /system/framework/. You will then need to decompile it (I use APK Multi Tool). After that you need to find the eri.xml (res/xml/) and edit that (I use notepad++, but many other things will work as well) and change the lines that say Virgin Mobile (or Sprint from the zip) to whatever you want it to say. You then need to recompile the apk. After that you can push it using adb, or you can just replace the framework-res.apk file in that flashable zip and use cwm.

    If you use APK Multi Tool to decompile/recompile, when you recompile select yes for system file and yes for copying aditional files. In the keep folder delete eri.xml and resourses.arsc (you might not need to delete the second file, but I always have) and then press the key to continue. Make sure to change the file name to framework-res.apk.

    One of the lines you edit looks like this:
    <EriInfo RoamingIndicator="1" IconIndex="1" IconMode="0" EriText="Virgin Mobile" CallPromptId="0" AlertId="0" />

    I am not sure you need to change, both lines with the carrier name, but I do that.

    If you need more help just ask. I learned to do it from reading this post and doing some messing around on my own (since that post is fro the 2.2 framework).

    p.s. APK Multi Tool is a new version of APK Manager that was mentioned in the tutorial post I linked
     
    haro138 likes this.
  11. haro138

    haro138 Well-Known Member
    Rank:
    None
    Points:
    43
    Posts:
    179
    Joined:
    Sep 16, 2011

    Sep 16, 2011
    179
    28
    43
    Finally got it working. Thanks! I appreciate it.
     
  12. tickerguy

    tickerguy Android Enthusiast
    Rank:
    None
    Points:
    163
    Posts:
    533
    Joined:
    Aug 15, 2011

    Be absolutely certain if you take someone else's framework (as opposed to pulling yours from your device and modifying it) that their ROM version is exactly identical to yours. If it's not you have a very high probability of instantly boot-looping the phone and if that happens I hope you have a Nandroid backup!
     
  13. agentc13

    agentc13 Daleks Über Alles
    Rank:
     #29
    Points:
    923
    Posts:
    7,916
    Joined:
    Aug 31, 2011

    Aug 31, 2011
    7,916
    5,482
    923
    Skaro
    Very good point. Really, if you are doing any sort of modifications to your phone, you should have a Nandroid backup. This is also why people that have posted this sort of thing have said what version it is for.
     
  14. tanner4137

    tanner4137 Member
    Thread Starter
    Rank:
    None
    Points:
    16
    Posts:
    72
    Joined:
    Aug 27, 2011

    Aug 27, 2011
    72
    3
    16
    Lubbock, Texas
    Will the zip you gave me work on any future versions of cyanogenmod IF tickerguy makes one?
     
  15. agentc13

    agentc13 Daleks Über Alles
    Rank:
     #29
    Points:
    923
    Posts:
    7,916
    Joined:
    Aug 31, 2011

    Aug 31, 2011
    7,916
    5,482
    923
    Skaro
    Not if there are changes in the framework-res.apk.

    If tickerguy, or anyone else, continues to put out releases then I can make that change very easily. You can send me a private message if I don't put an update here.
     
  16. haro138

    haro138 Well-Known Member
    Rank:
    None
    Points:
    43
    Posts:
    179
    Joined:
    Sep 16, 2011

    Sep 16, 2011
    179
    28
    43
    Hey is there another location where the carrier is name is stored for different roms. I'm trying to do this for my girlfriend running brom and the eri.xml is really different. There is no brom text in it.
     
  17. agentc13

    agentc13 Daleks Über Alles
    Rank:
     #29
    Points:
    923
    Posts:
    7,916
    Joined:
    Aug 31, 2011

    Aug 31, 2011
    7,916
    5,482
    923
    Skaro
    In 2.2 ROMs, like bRom, they are in /res/values/strings.xml of the framework-res.apk.
     
  18. fleshlightt

    fleshlightt Well-Known Member
    Rank:
    None
    Points:
    18
    Posts:
    83
    Joined:
    Aug 9, 2011

    Aug 9, 2011
    83
    11
    18
    Can someone make one for stock?
     
  19. agentc13

    agentc13 Daleks Über Alles
    Rank:
     #29
    Points:
    923
    Posts:
    7,916
    Joined:
    Aug 31, 2011

    Aug 31, 2011
    7,916
    5,482
    923
    Skaro
    The first one posted was for stock.
     
  20. fleshlightt

    fleshlightt Well-Known Member
    Rank:
    None
    Points:
    18
    Posts:
    83
    Joined:
    Aug 9, 2011

    Aug 9, 2011
    83
    11
    18
    the file name says CM7 in it and it wont work with stock, I had to use my nandroid backup.
     
  21. agentc13

    agentc13 Daleks Über Alles
    Rank:
     #29
    Points:
    923
    Posts:
    7,916
    Joined:
    Aug 31, 2011

    Aug 31, 2011
    7,916
    5,482
    923
    Skaro
    WOW.... major /facepalm!

    I thought the first one linked was for a stock ROM this whole time, It seems I totally redid what was already there. I feel really dumb right now.

    Aside from that, there is a post explaining how to do this here.
     
  22. fleshlightt

    fleshlightt Well-Known Member
    Rank:
    None
    Points:
    18
    Posts:
    83
    Joined:
    Aug 9, 2011

    Aug 9, 2011
    83
    11
    18
    Well I was hoping for a flashable zip. I have a chromebook.
     
  23. agentc13

    agentc13 Daleks Über Alles
    Rank:
     #29
    Points:
    923
    Posts:
    7,916
    Joined:
    Aug 31, 2011

    Aug 31, 2011
    7,916
    5,482
    923
    Skaro
    I don't have a stock ROM framework-res.apk. If you can post one for download, or link one I don't have to work to hard to get, I can make it for you.
     
  24. mantera

    mantera Android Expert
    Rank:
    None
    Points:
    313
    Posts:
    1,319
    Joined:
    May 21, 2011

    May 21, 2011
    1,319
    1,587
    313
    Are you using a rom? If so, which one? If not, you know that you'll want to deodex your phone before applying any mod for best results.

    @agentc13, if he's just deodexed, you can use my power menu mod's apk file. Look for the thread.
     
  25. haro138

    haro138 Well-Known Member
    Rank:
    None
    Points:
    43
    Posts:
    179
    Joined:
    Sep 16, 2011

    Sep 16, 2011
    179
    28
    43
    Hmm :/ I'm getting an error message when trying to recompile b_roms framework apk.
     

Share This Page

Loading...