What's new
DroidForums.net | Android Forum & News

This is a sample guest message. Register a free account today to become a member! Once signed in, you'll be able to participate on this site by adding your own topics and posts, as well as connect with other members through your own private inbox!

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

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:
push the framework with terminal emulator not root explorer.

o yeah what is the eri.xml for :) what are you changing?
 
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
 
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

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
 
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
 
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
 
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:
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:
I have been just regular zip due to using a Mac
but I'm going to try 7zip on the wife's of now..I'll keep you two updated

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,
 
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)
 
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


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

Nvr tried doing it non adb though
 
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:
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?

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
 
Back
Top