1. You want that $100.00 in your pocket or an Amazon Fire TV don't you? Well here's the deal. With our new updated look we are in desperate need of an updated logo. The 'old' one has certainly served us well, but it's time. Find all the details here: bit.ly/1q0k6Wa
  2. DroidForums.net is currently undergoing a major software upgrade. If you are experiencing any problems logging in please: Contact Us

So I have been trying to edit the eri.xml...WOULD LOVE HELP

Discussion in 'Droid X Hacks' started by MiserableChimp, Aug 27, 2010.

  1. MiserableChimp
    Offline

    MiserableChimp New Member

    Joined:
    Jul 25, 2010
    Messages:
    82
    Likes Received:
    0
    Trophy Points:
    0
    1 So I copy and removed framework.apk using root explorer
    2 mounted and moved framework.apk to computer (renamed to zip also)
    3 Edited the eri.xml using a hex editor
    4 Rezipped it
    5 Mounted my phone And moved the zip to the root of sd
    6 Changed .zip to apk
    7 Using root explorer I overwrite old framework
    NOW HERES THE PROBLEM
    It starts freaking out and force closing everything
    It doesn't even give me a chance to change the permissions correctly
    Anyone know how to do this?
    Could this be because I'm doing steps 2-4 from my Mac?

    Thank goodness for the bootstrap recovery or I would still be stuck in bootloops!!! So have a back up!!

    I'm using the new deodexed themed froyo rom
    Last edited: Aug 27, 2010
  2. bad4u
    Offline

    bad4u New Member

    Joined:
    Nov 23, 2009
    Messages:
    223
    Likes Received:
    0
    Trophy Points:
    0
    push the framework with terminal emulator not root explorer.

    o yeah what is the eri.xml for :) what are you changing?
  3. MiserableChimp
    Offline

    MiserableChimp New Member

    Joined:
    Jul 25, 2010
    Messages:
    82
    Likes Received:
    0
    Trophy Points:
    0
    thanks for the response

    I'm trying to edit the file to change the Verizon wireless text on my lockscreen.
    I tried pushing the framework but I can't get it to work
    would you happen to know what code I should use?
    hope you understand what I'm asking I'm alil drunk right now lol
  4. bad4u
    Offline

    bad4u New Member

    Joined:
    Nov 23, 2009
    Messages:
    223
    Likes Received:
    0
    Trophy Points:
    0
    drunk texting is funny, drunk posting even better, drunk theming = WIN

    reminds me of last weekend pushing and pulling apk for testing in terminal emulator after one too many spiked lemonadesdancedroid
  5. MiserableChimp
    Offline

    MiserableChimp New Member

    Joined:
    Jul 25, 2010
    Messages:
    82
    Likes Received:
    0
    Trophy Points:
    0
    yup beer pong

    Too many lost games of pong ugh still want to edit that eri.XML so If you know what i should type in terminal emulator to push framework.apk from sdcard to phone please fill me in lol
  6. bad4u
    Offline

    bad4u New Member

    Joined:
    Nov 23, 2009
    Messages:
    223
    Likes Received:
    0
    Trophy Points:
    0
    In terminal emulator and with framework on the root of your sdcard

    Su

    mount -o rw,remount -t ext3 /dev/block/mmcblk1p21 /system

    cp /sdcard/framework-res.apk /system/framework

    sent by your mom on tapatalk
  7. MiserableChimp
    Offline

    MiserableChimp New Member

    Joined:
    Jul 25, 2010
    Messages:
    82
    Likes Received:
    0
    Trophy Points:
    0
    thanks for the help but

    im stiill getting bootloops using terminal emulator...
    must have to do with the fact i edited the file and rezipped using my mac

    update> nope just tried from my wifes windows pc and its still bootlooping
    Last edited: Aug 28, 2010
  8. 928Droid
    Offline

    928Droid Premium Member Theme Developer Premium Member

    Joined:
    Nov 24, 2009
    Messages:
    3,753
    Likes Received:
    0
    Trophy Points:
    0
    Location:
    Western North Carolina Mountains
    Are you using regular "Zip" or "7zip" ?
  9. MiserableChimp
    Offline

    MiserableChimp New Member

    Joined:
    Jul 25, 2010
    Messages:
    82
    Likes Received:
    0
    Trophy Points:
    0
    ok I'm sober now

    Wow i feel like crap today..should have won atleast 1 game of pong lol
    I have been using just regular zip due to using a Mac..what was I thinking .well I was pretty wasted
    but I'm going to try 7zip on the wife's pc now unless 7zip works on the mac hmmmm....I'll keep you two updated


    I think I woke up drunk too ugh
    Last edited: Aug 28, 2010
  10. 928Droid
    Offline

    928Droid Premium Member Theme Developer Premium Member

    Joined:
    Nov 24, 2009
    Messages:
    3,753
    Likes Received:
    0
    Trophy Points:
    0
    Location:
    Western North Carolina Mountains
    The way you are doing it is not gonna happen, unless it is a fluke.

    First off DO NOT unzip the file and think you are going to Zip it back up and use it..Major Fail!!

    When you get 7zip, right click on the file and select "Open Archive" , when that opens find the file you want to edit and drag it to a folder in your file manager. Edit the file ....then drag it back into the Open archive... close the archive and push it back to phone..it's just that simple.

    No name changing, no unzipping, no rezipping.

    the ONLY reason to extract or unzip the whole file (apk) is if you are going to edit a lot of files inside ..but when finished you still use the procedure above to place the editied files back into the Open Archive....if you think you can just rezip the editied files and have it work reliably you are just wasting your time.

    Hope that helps,
  11. fmkaiba
    Offline

    fmkaiba New Member

    Joined:
    Apr 28, 2010
    Messages:
    14
    Likes Received:
    0
    Trophy Points:
    0
    Also don't forget to chmod the file to the right permissions.

    If possible do everything from ADB with the screen off, i have done this many a time.

    edit the file without unzipping, move it to the SD card, start up ADB.

    CP the framework back, ovewritting the other. then CHMOD it to the correct permissions. (I forget which permissions, when in doubt 755)
  12. MiserableChimp
    Offline

    MiserableChimp New Member

    Joined:
    Jul 25, 2010
    Messages:
    82
    Likes Received:
    0
    Trophy Points:
    0
    Sorry for the stupid question but

    I can't use adb at this moment.
    What code should I use in terminal emulator?
  13. fmkaiba
    Offline

    fmkaiba New Member

    Joined:
    Apr 28, 2010
    Messages:
    14
    Likes Received:
    0
    Trophy Points:
    0

    After that do a "chmod 755 /system/framework/framework-res.apk" then reboot.

    Nvr tried doing it non adb though
  14. MiserableChimp
    Offline

    MiserableChimp New Member

    Joined:
    Jul 25, 2010
    Messages:
    82
    Likes Received:
    0
    Trophy Points:
    0
    Thanks trying now

    Thanks for the help so far..

    Update- it worked perfect didn't even need to chmod
    I was editing it wrong..very new to this but I'm learning.

    Thanks everyone!
    Should I make a guide so others can do this too or is this common knowledge around here?
    Last edited: Aug 28, 2010
  15. fmkaiba
    Offline

    fmkaiba New Member

    Joined:
    Apr 28, 2010
    Messages:
    14
    Likes Received:
    0
    Trophy Points:
    0
    It makes sense u can't change framework on the fly. The gui uses the framework for everything ur seeing. Even terminal emulator needs it. That's why adb works. No gui
  16. MiserableChimp
    Offline

    MiserableChimp New Member

    Joined:
    Jul 25, 2010
    Messages:
    82
    Likes Received:
    0
    Trophy Points:
    0
    Nope worked perfectly using terminal emulator

    I didn't use adb...have never used it not on my original droid either
    I've rooted my x using terminal emulator
    Now changed my carrier name using terminal emulator
    Yay!
  17. fmkaiba
    Offline

    fmkaiba New Member

    Joined:
    Apr 28, 2010
    Messages:
    14
    Likes Received:
    0
    Trophy Points:
    0
    ur terminal emulator is fullscreen then? Aka no notification bar?
  18. MiserableChimp
    Offline

    MiserableChimp New Member

    Joined:
    Jul 25, 2010
    Messages:
    82
    Likes Received:
    0
    Trophy Points:
    0
    Yea

    Yes it is never even noticed that.
  19. fmkaiba
    Offline

    fmkaiba New Member

    Joined:
    Apr 28, 2010
    Messages:
    14
    Likes Received:
    0
    Trophy Points:
    0
    Oh good. That's why it worked. I was surprised for a bit
  20. hacku
    Offline

    hacku New Member

    Joined:
    Jan 4, 2010
    Messages:
    549
    Likes Received:
    0
    Trophy Points:
    0
    Location:
    Mesa, AZ.
    MiserableChimp, so what did you change your text to? Do you have a screenshot?

    Also a tutorial on what you did would be helpful for some I'm sure.
Search tags for this page

droid razr eri.xml edit

,

edit eri.xml android apk

,

edit xml root explorer

,

editing terminal emulator droid bionic

,

how to edit eri.xml on android

,

unzip .eri