DroidForums.net is the original Verizon Android Forum! Registered Users do not see these ads. Please Register - It's Free!
Page 1 of 9 1 2 3 ... LastLast
Results 1 to 10 of 87

Thread: how to edit the eri.xml

  1. Developer Relations
    tp7six's Avatar
    Member #
    61666
    Join Date
    Apr 2010
    Posts
    11,488
    Liked
    350 times
    Twitter
    DroidForums
    Phone
    Razr [V3m]
    Premium Member
    #1

    how to edit the eri.xml

    I have been getting alot of PM's on how to edit the eri.xml (Verizon Wireless Banner) so hopefully this makes it easier for all. Also I know there is more than one way to do this and I welcome different ways and better suggestions. I am going to write what has worked for me and the tools I have used.

    So here it goes

    The eri.xml is located in the framework-res.apk which is inside the system/framework, to find it you will need Root Explorer from the Market. Once you have root explorer go into system/framework and long press on the framework-res.apk, hit copy and paste it on the Root of your SD and go ahead and rename it to framework-res.apk.bak

    Connect to your P.C. and mount, drag over the framework-res.apk.bak and rename it to framework-res.zip (I use WinZip, some people use 7zip but since this is not a data app it really isn't necessary) open the .zip file and navigate to res/xml and this is where you will see the eri.xml drag it over to your Computer and to edit it you will need a Hex Editor. I use HxD (Google It) its easy and free.

    Once you have HxD downloaded and installed open it and drag the eri.xml inside of it. On the right hand side you will see some lettering and codes that look like this

    RoamingIndicator...
    IconIndex...IconMode...
    EriText...AlertId...EriInfo
    ......64...Verizon Wireless
    ...65...Network Extender
    ...66...Extended Network
    ...67...68...Roaming...69.
    ..70...71...72


    Where you see the words Verizon Wireless this is where you will be inserting your own 16 letter or less banner. To do this left click right before the last letter in the word Wireless and highlight the words Verizon Wireless from back to front. Your cursor will be at the V in Verizon and the banner will still be highlighted. While it is highlighted you will be able to change it to whatever you like. Start typing what you would like to have written there for example if you were to change it to Droid Assassin as you start to type, the D will overwrite the V and so on. If the old text is not being overwritten and all of the text on the right side is moving while you type then you are not doing something right, close it don't save and start over. When you have put in what you would like your banner to say, if there are still some of the letters from the original banner Verizon Wireless left use the spacebar and it will overwrite those letters with a blank space.

    When you are done editing this save it and open your framework-res.zip again, go back to res/xml and drag your newly edited eri.xml into this folder and it will overwrite the old eri.xml

    Remount your Droid to your P.C. and drag the framework-res.zip to the Root of your SD, unmount and go into Root Explorer and find the framework-res.zip and rename it to framework-res.apk (your original should still be on your SD named framework-res.apk.bak) I use Better Terminal to push my framework back into the system, you can use adb i am not sure about that process though. As I said I welcome someone who does know to post some instructions.

    In Better Terminal


    su
    sys -rw
    cd /sdcard
    cp -R framework-res.apk /system/framework
    sys -ro
    sync
    reboot

    make sure the spaces are before the slashes and dashes or you will get errors

    These Terminal Commands are good for Bugless Beast 0.3-0.4 someone else will have to post Terminal commands for other ROMS if it's even needed, I am not sure as I said I know what has worked for me

    As always have a good backup
    Last edited by tp7six; 07-05-2010 at 08:04 PM.

  2. Sponsor
    DF Advertising
    Join Date
    Nov 2008
    Location
    DroidForums.net
     
     
     
     
  3. Droid Ninja
    Jim 777's Avatar
    Member #
    19480
    Join Date
    Dec 2009
    Posts
    2,261
    Liked
    2 times
    Phone
    See my sig, silly!
    #2
    Thanks for this. Not so much for the editing of the banner (though I'm going to give it a shot) but for the quickie on editing an XML file.

    If one was going to try and edit elsewhere, and the text that was going to replace existing was shorter/longer than existing, does it always need to be handled with the spacebar? What if longer (like the above example and your replacement was longer than 16 letter)?

    BTW there's a typo, 16 letters, not words
    Droid Razr
    Custom Dialers for D1
    My broken glass icons: Broken Icons | Android Logo Icons (in progress): Android Icons

  4. Developer Relations
    tp7six's Avatar
    Member #
    61666
    Join Date
    Apr 2010
    Posts
    11,488
    Liked
    350 times
    Twitter
    DroidForums
    Phone
    Razr [V3m]
    Premium Member
    #3
    Quote Originally Posted by Jim #777 View Post
    If one was going to try and edit elsewhere, and the text that was going to replace existing was shorter/longer than existing, does it always need to be handled with the spacebar? What if longer (like the above example and your replacement was longer than 16 letter)?

    BTW there's a typo, 16 letters, not words
    Thanks for the heads up on the typo, 16 words is almost a paragraph.

    As far as using the spacebar to overwrite the remaining text you are trying to replace, I am sure that's the only way, and I have heard of people replacing shorter text with longer text, but not for the eri, for other places like you are talking about. I believe that in the Dark Edge Theme when you hold down the Power Button and the Shutdown Window pops up that text was Modified and is longer than Original

  5. Senior Droid
    mph122074's Avatar
    Member #
    46701
    Join Date
    Mar 2010
    Location
    Falls Church, VA
    Posts
    133
    Phone
    Droid
    #4
    This is pretty cool...

    Directions are right on. I did not use terminal to put it back in place but still very good write up...

    I used root explorer to copy and paste and the just set permissions and rebooted and it worked great...

    Thanks for this...

    However be aware you will have to re-setup a few things like email and wallpapers when you get back in...


    Thanks

    Mike
  6. Developer Relations
    tp7six's Avatar
    Member #
    61666
    Join Date
    Apr 2010
    Posts
    11,488
    Liked
    350 times
    Twitter
    DroidForums
    Phone
    Razr [V3m]
    Premium Member
    #5
    Quote Originally Posted by mph122074 View Post
    I used root explorer to copy and paste and the just set permissions and rebooted and it worked great...
    Could you post up "How To Set the Permissions" just in case someone else wants to use that method...thanks

  7. Droid Ninja
    Jim 777's Avatar
    Member #
    19480
    Join Date
    Dec 2009
    Posts
    2,261
    Liked
    2 times
    Phone
    See my sig, silly!
    #6
    In root explorer, long press the APK and select Permissions. Then set the options to match below.



    However, when pushing with TE I don't set permissions, after reboot it just works.
    Droid Razr
    Custom Dialers for D1
    My broken glass icons: Broken Icons | Android Logo Icons (in progress): Android Icons

  8. Theme Developer
    icculusX's Avatar
    Member #
    36395
    Join Date
    Feb 2010
    Location
    The Moon
    Posts
    2,541
    Liked
    2 times
    Phone
    RAZR!
    DroidForums.net Theme Developer
    Premium Member
    #7
    Also, the APKTOOL is amazing for decompiling any XMLs, editing them in their easy to read state, then recompile them..
    The Mooooooon!
  9. Droid Ninja
    Jim 777's Avatar
    Member #
    19480
    Join Date
    Dec 2009
    Posts
    2,261
    Liked
    2 times
    Phone
    See my sig, silly!
    #8
    Quote Originally Posted by icculusX View Post
    Also, the APKTOOL is amazing for decompiling any XMLs, editing them in their easy to read state, then recompile them..
    Is that an app or for your PC?

    Also, where's the code to change the color of the text once changed?
    Droid Razr
    Custom Dialers for D1
    My broken glass icons: Broken Icons | Android Logo Icons (in progress): Android Icons

  10. Senior Droid
    mph122074's Avatar
    Member #
    46701
    Join Date
    Mar 2010
    Location
    Falls Church, VA
    Posts
    133
    Phone
    Droid
    #9
    Yeah I just do it this way cause I dont like using TE...

    This way is just easier for me...

    That is also how I put most of my apps in the system/apps folder so they are a little faster running...
  11. Developer Relations
    tp7six's Avatar
    Member #
    61666
    Join Date
    Apr 2010
    Posts
    11,488
    Liked
    350 times
    Twitter
    DroidForums
    Phone
    Razr [V3m]
    Premium Member
    #10
    Quote Originally Posted by icculusX View Post
    Also, the APKTOOL is amazing for decompiling any XMLs, editing them in their easy to read state, then recompile them..
    I tried to get the APK Tool up and running on my Computer and had problems with Environment Varaibles, there are some files within the framework-res.apk that are only accessible through the APK Tool, the framework/res/values/strings.xml to be specific

    I am wanting to change the text behind the sliding unlock tabs. I started a thread Change Text Behind Sliding Unlock Tabs and was informed that the files I am trying to locate are not accessible except via APK Tool so if someone could P.M. me with some detailed instructions on installing it, it would be appreciated

    I already have some information but when adding the apk to the Environment Varaibles of my Computer I get Lost

Page 1 of 9 1 2 3 ... LastLast

Ads

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  

Similar Threads

  1. Edit
    By trabical in forum Android General Discussions
    Replies: 4
    Last Post: 07-04-2010, 10:53 AM
  2. How To Edit .9.png's
    By CorCor67 in forum Droid FAQ
    Replies: 2
    Last Post: 06-14-2010, 06:47 PM
  3. Please help me edit
    By dr0idg0d23 in forum Droid Themes
    Replies: 7
    Last Post: 05-11-2010, 08:16 PM
  4. Edit App Drawer?
    By sports96 in forum Droid Hacks
    Replies: 0
    Last Post: 03-17-2010, 09:38 AM
  5. can i edit roms like this?
    By tktouch12 in forum Droid Hacks
    Replies: 7
    Last Post: 02-17-2010, 09:56 PM

Search tags for this page

android eri
,
android eri.xm
,
android eri.xml
,
android eri.xml location
,
change eri.xml
,

edit eri.xml

,
edit xml on android
,
eri android
,
eri edit android
,
eri version galaxy s3
,

eri.xml

,
eri.xml edit
,
how to change eri
,

how to edit eri.xml

,
ww w.droidforums.net/forum/droid-hacks/57078-how-edit-eri-xm
Click on a term to search our site for related topics.
Find us on Google+