Defy+ CM9 On-screen button

Does it work?

  • Yes

    Votes: 45 90.0%
  • No

    Votes: 5 10.0%

  • Total voters
    50

Pottkopp

Senior Member
Mar 10, 2010
393
212
63
anyone in here who could modify the framework-res of quarx 10 Feb build? giving me either errors on compiling or bootloop..

Sent from my MB525 with ICS - damn! that's hot <3
 

Kayant

Senior Member
Jul 14, 2011
1,861
4,149
143
anyone in here who could modify the framework-res of quarx 10 Feb build? giving me either errors on compiling or bootloop..

Sent from my MB525 with ICS - damn! that's hot <3
Did you copy the files from the new framework-res and replace it with your original ???
Help here-
http://forum.xda-developers.com/showpost.php?p=9126643#post9126643

If it still doesn't work i don't mind helping out :p just upload yr framework-res from your phone not the compiled one.
 

Pottkopp

Senior Member
Mar 10, 2010
393
212
63
Last edited:

Kayant

Senior Member
Jul 14, 2011
1,861
4,149
143
maybe because it's for froyo kernel?

Sent from my MB525 with ICS - damn! that's hot <3
I don't think so because i did this on the 10th feb quarx build myself

Edit i found a way to recompile again:D going to edit yours now..... Give me a sec

---------- Post added at 01:13 AM ---------- Previous post was at 12:47 AM ----------

Pottkopp here you go :)
http://www.box.com/s/6ihjdevujcy94p35744f

---------- Post added at 01:30 AM ---------- Previous post was at 01:13 AM ----------

Woooahhhh i quite enjoyed that challenge..... Learning how to mod is fun ^_^.
Report if it works. If it doesn't i will try again.
Anyone else needs help???
 

syllogyking

Senior Member
Sep 13, 2011
676
311
0
here. there. everywhere.
hm, so my cmd line was:

adb remount

adb push ./framework-res.apk /system/framework-res

shows that it was pushed, but no buttons appeared, so I rebooted, and still no buttons..Should I just manually replace modified apk in /system/framework? or is there solution?
 

Kayant

Senior Member
Jul 14, 2011
1,861
4,149
143
hm, so my cmd line was:

adb remount

adb push ./framework-res.apk /system/framework-res

shows that it was pushed, but no buttons appeared, so I rebooted, and still no buttons..Should I just manually replace modified apk in /system/framework? or is there solution?
yh try that and then reboot

I will try it on mine too switching to ICS now :D
 
Last edited:
  • Like
Reactions: syllogyking

Pottkopp

Senior Member
Mar 10, 2010
393
212
63
I don't think so because i did this on the 10th feb quarx build myself

Edit i found a way to recompile again:D going to edit yours now..... Give me a sec

---------- Post added at 01:13 AM ---------- Previous post was at 12:47 AM ----------

Pottkopp here you go :)
http://www.box.com/s/6ihjdevujcy94p35744f

---------- Post added at 01:30 AM ---------- Previous post was at 01:13 AM ----------

Woooahhhh i quite enjoyed that challenge..... Learning how to mod is fun ^_^.
Report if it works. If it doesn't i will try again.
Anyone else needs help???
working like a charm <3 really BIG thanks man! how did you get it to work?

Sent from my MB525 with ICS - damn! that's hot <3
 

Kayant

Senior Member
Jul 14, 2011
1,861
4,149
143
working like a charm <3 really BIG thanks man! how did you get it to work?

Sent from my MB525 with ICS - damn! that's hot <3
works great Kayant!! thanks for all your help! they are the perfect height for defy screen :)
No probs ...

I searched up on xda found out to decompile you had to use apktool 1.4.2
and then to recompile you had to use apktool 1.4.3
And this is why everyone gets bootloops they forget this step -

IMPORTANT: Do not push this apk to your phone unless you want to reflash
Extract the xml files and images from the newly generated apk (you can use the original images, but the xml files must be the newly compiled ones from the new apk). Add these files to the original framework-res.apk that you want to push to your phone (see the previous post).

Extract the resources.arsc from the root of the apk

Rename the original framework-res.apk from your theme to framework-res.zip

Right-click the extracted resources.arsc and choose the 7zip menu item ‘Add to archive’

In the dialog that appears set the achive field at the top to the framework-res.zip from step 7. And set the archive format to zip. Now set the Compression level to store and click OK(if you do not do this your phone will not boot). The settings are in the attached screenshot.

Rename framework-res.zip to framework-res.apk and double check that the compressed size or resources.arsc is the same as the original size (see screenshot)

Done. Push the new framework to your phone.

Credit to _calum_ for the tutorial without him i wouldn't know how to this :)
 

Pottkopp

Senior Member
Mar 10, 2010
393
212
63

Kayant

Senior Member
Jul 14, 2011
1,861
4,149
143

Pottkopp

Senior Member
Mar 10, 2010
393
212
63
@kayant: could you please send me your apktool setup? because recompiling still doesn't work for me..

Sent from my MB525 with ICS - damn! that's hot <3
 

Kayant

Senior Member
Jul 14, 2011
1,861
4,149
143
@kayant: could you please send me your apktool setup? because recompiling still doesn't work for me..

Sent from my MB525 with ICS - damn! that's hot <3
Try autoapktool by xavierjohn22 it's a lot easier and has amazing features
http://forum.xda-developers.com/showthread.php?t=1053227

Usage -
Extract zip to root folder on your pc
Put your framework into _INPUT_APK
run AutoAPKToolMain.bat
select option 21 and use apktool 1.4.1
Must sure to select option 1 first to install your framework
then Select option 6 to decompile
and Option 7 to recompile after your changes
then follow the guide from my previous post to help :p

If this is confusing use the apktool guide that i used :p
http://forum.xda-developers.com/showthread.php?t=1427959
 
Last edited: