Cook Battery Circle Mod in custom rom -> Boot Loop

matn013

Member
Apr 7, 2010
46
6
0
Belgium
Hi,

When I flash the battery circle mod (http://forum.xda-developers.com/showthread.php?t=730673) through recovery as an update on my phone, everything goes well.
I even made one myself with Apk manager (http://forum.xda-developers.com/showthread.php?t=695701) using the stock framework-res.apk file and it works just fine.

I have cooked my own rom based on 2.03.405.3 with the kitchen (http://forum.xda-developers.com/showthread.php?t=633246) (rooted, disabled the bootsound and deodexed the whole rom).
Now I putted the battery circle mod (tried with both of them) into my rom using winrar and replaced the framework-res.apk and signed the rom.
But when I flash this rom on my phone, my phone gets stuck in a bootloop. I already searched with google to find similar problems but didn't find any. No mather what I try, it always ends with a boot loop :(

Anyone who can help me out???
 

Attachments

Last edited:

BesFen

Senior Member
Mar 11, 2008
1,039
10
0
Surabaya
Open your original framework-res.apk with 7zip (not extract, just open) replace the file (use drag and drop), except for meta file and sign file, and afrer finish just close the 7zip, now you have modified framework-res.apk and cook it. It's very easy yeah.......

Sent from my HTC Legend using Tapatalk
 

matn013

Member
Apr 7, 2010
46
6
0
Belgium
Open your original framework-res.apk with 7zip (not extract, just open) replace the file (use drag and drop), except for meta file and sign file, and afrer finish just close the 7zip, now you have modified framework-res.apk and cook it. It's very easy yeah.......
Guess it ain't that easy. Tried it exactly the way you said and again bootloop :confused:

I have made my rom.zip with dsixda's HTC Android Kitchen.
I open this rom with 7-zip and extract the framework-res.apk file and I leave my rom open.
Then I open the framework-res.apk with 7-zip, I drag and drop the files that need to be replaced and I close the file.
I then sign framework-res.apk with stericson's autosigner and drag and drop the signend file into my still open rom.zip which I then close.
I sign the rom.zip an put it on my sd-card.
I go into recovery, wipe data/factory reset and wipe the dalvik cache and then flash the zip and reboot.
And again I have a bootloop :confused:

But when I make an update.zip of the edited framework-res.apk and I flash then I have no problems at all.

Attached: logcat file with my bootloop error. (Other error than the one I my first post)
 

Attachments

BlaY0

Retired Recognized Developer
Sep 15, 2007
1,553
566
0
Medvode
Did you deodex or get already deodexed framework?

Do you wipe data partition every time you flash this ROM of yours?
 
Last edited:

BlaY0

Retired Recognized Developer
Sep 15, 2007
1,553
566
0
Medvode
OK, let's get this straight... you wipe data, then flash your rom (without updated framework-res.apk), then boot and just after that (in second recovery session) you push new framework-res.apk, reboot again and it works? Or... you wipe your data, flash rom, push new framework-res.apk (via update), reboot and it works?

Did you make some logcat of failed attempt?
 
Last edited:

BesFen

Senior Member
Mar 11, 2008
1,039
10
0
Surabaya
Guess it ain't that easy. Tried it exactly the way you said and again bootloop :confused:

I have made my rom.zip with dsixda's HTC Android Kitchen.
I open this rom with 7-zip and extract the framework-res.apk file and I leave my rom open.
Then I open the framework-res.apk with 7-zip, I drag and drop the files that need to be replaced and I close the file.
I then sign framework-res.apk with stericson's autosigner and drag and drop the signend file into my still open rom.zip which I then close.
I sign the rom.zip an put it on my sd-card.
I go into recovery, wipe data/factory reset and wipe the dalvik cache and then flash the zip and reboot.
And again I have a bootloop :confused:

But when I make an update.zip of the edited framework-res.apk and I flash then I have no problems at all.

Attached: logcat file with my bootloop error. (Other error than the one I my first post)
I said open framework-res.apk with 7zip before you cook it, replace the file and close it, no need to sign it, and cook your rom. It's working well on mine.

Sent from my HTC Legend using Tapatalk
 

matn013

Member
Apr 7, 2010
46
6
0
Belgium
I said open framework-res.apk with 7zip before you cook it, replace the file and close it, no need to sign it, and cook your rom. It's working well on mine.

Sent from my HTC Legend using Tapatalk
So what do you mean by "and cook your rom"? Replace the changed framework-res.apk file in my rom.zip and run my rom through the kitchen again?
Because I just did that and it doesn't work either
 

BesFen

Senior Member
Mar 11, 2008
1,039
10
0
Surabaya
So what do you mean by "and cook your rom"? Replace the changed framework-res.apk file in my rom.zip and run my rom through the kitchen again?
Because I just did that and it doesn't work either
Don't replace the framework-res.apk, extract your modified framework-res.apk, you can use winrar/winzip/7zip to extract it, take your custom .png file from it.

If it finish, then open OEM framework-res.apk with 7zip (not extract, just open), then drag and drop your custom .png file that you already take from custom framewoekees into it in same folder in 7zip, then build your rom.

Sent from my HTC Legend using Tapatalk