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

Joined
Jul 25, 2010
Messages
82
Reaction score
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:

bad4u

Member
Joined
Nov 23, 2009
Messages
223
Reaction score
0
push the framework with terminal emulator not root explorer.

o yeah what is the eri.xml for :) what are you changing?
 
OP
M
Joined
Jul 25, 2010
Messages
82
Reaction score
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
 

bad4u

Member
Joined
Nov 23, 2009
Messages
223
Reaction score
0
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
 
OP
M
Joined
Jul 25, 2010
Messages
82
Reaction score
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
 

bad4u

Member
Joined
Nov 23, 2009
Messages
223
Reaction score
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
 
OP
M
Joined
Jul 25, 2010
Messages
82
Reaction score
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:
OP
M
Joined
Jul 25, 2010
Messages
82
Reaction score
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:

928Droid

Premium Member
Premium Member
Theme Developer
Joined
Nov 24, 2009
Messages
3,742
Reaction score
0
Location
Western North Carolina Mountains
Website
www.928gt.com
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,
 

fmkaiba

New Member
Joined
Apr 28, 2010
Messages
14
Reaction score
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)
 
OP
M
Joined
Jul 25, 2010
Messages
82
Reaction score
0
Sorry for the stupid question but

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

fmkaiba

New Member
Joined
Apr 28, 2010
Messages
14
Reaction score
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


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

Nvr tried doing it non adb though
 
OP
M
Joined
Jul 25, 2010
Messages
82
Reaction score
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:

fmkaiba

New Member
Joined
Apr 28, 2010
Messages
14
Reaction score
0
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
 
Top