Okay guys,Hello,I am LED 26.
Trying to theme framework-res.apk i recompile it,do all necessary stuff and now AOSP ICS doesn't boot.. It's 99 % bad program used.. Can you tell me what program do ypu use for theming png's ? Thanks in advance
L.E.D 26 said:
Okay guys,Hello,I am LED 26.
Trying to theme framework-res.apk i recompile it,do all necessary stuff and now AOSP ICS doesn't boot.. It's 99 % bad program used.. Can you tell me what program do ypu use for theming png's ? Thanks in advance
Click to expand...
Click to collapse
Photoshop - paid
Gimp - free (almost like ps)
Sent from my BL-S5570 using xda app-developers app
I used gimp sometime ago,and was good,you remember it to me,so thanks!
Sent from my GT-S5570 using xda premium
L.E.D 26 said:
Okay guys,Hello,I am LED 26.
Trying to theme framework-res.apk i recompile it,do all necessary stuff and now AOSP ICS doesn't boot.. It's 99 % bad program used.. Can you tell me what program do ypu use for theming png's ? Thanks in advance
Click to expand...
Click to collapse
i too wanted to decompile framework-res.apk to add reboot options to power menu to aosp ics. Never manged to make it boot :|...
Yep,but i managed TO mod xml correctly with Notepad++ And the mods work very well,like lockscreen rotation!
Sent from my GT-S5570 using xda premium
XDRdaniel said:
i too wanted to decompile framework-res.apk to add reboot options to power menu to aosp ics. Never manged to make it boot :|...
Click to expand...
Click to collapse
The reboot options are located in the framework files, in android.policy.jar if I remember well. It's really hard to add those in smali.
L.E.D 26 said:
Yep,but i managed TO mod xml correctly with Notepad++ And the mods work very well,like lockscreen rotation!
Sent from my GT-S5570 using xda premium
Click to expand...
Click to collapse
I think your problem is the AndroidManifest.xml file. Everytime you recompile a system app, the apktool (or aapt binary) doesn't correctly compile this particular file. So you have to copy and replace inside the new created apk, the AndroidManifest.xml and the META-INF folder from the original apk.
It worked,thanks,now is booting And i just Need to fix SystemUI (statusbar not appearing) !
Sent from my GT-S5570 using xda premium
alin.p said:
The reboot options are located in the framework files, in android.policy.jar if I remember well. It's really hard to add those in smali.
I think your problem is the AndroidManifest.xml file. Everytime you recompile a system app, the apktool (or aapt binary) doesn't correctly compile this particular file. So you have to copy and replace inside the new created apk, the AndroidManifest.xml and the META-INF folder from the original apk.
Click to expand...
Click to collapse
yes, i know...i followed a few tutorials but allways got stuck at framework-res.apk. I compile it without errors but if i use it bootloops my rom :|.
thanks for the tips.
i'll return later to report if it worked for me.
L.E.D 26 said:
It worked,thanks,now is booting And i just Need to fix SystemUI (statusbar not appearing) !
Sent from my GT-S5570 using xda premium
Click to expand...
Click to collapse
SystemUI is very sensitive in XML editing. You have to be really careful to not delete some components from the XMLs (imageview, relative layouts, widgets). Some can be deleted, usually the simple ones like TextView or some drawables. But for the rest, the SystemUI will appear as uninstalled in your system, even after a clean re-compile.
Infact that was what i got,SystemUI not installed. Fixed by rebuilding my ROM (just delete everything and re-start from scratch and it worked. Thanks alin for your precious tips ! :*
Sent from my GT-S5570 using xda app-developers app
Related
I'm trying to decompile the systemUI.apk to get into the xml files, but I'm getting errors from both APKtool and APK Manager. Is there a special trick to getting system files to decomp?
Try this
bigrushdog said:
Try this
Click to expand...
Click to collapse
Noob alert: What do I do with those? Just put them in the folder with everything else?
arrtoodeetoo said:
Noob alert: What do I do with those? Just put them in the folder with everything else?
Click to expand...
Click to collapse
It's a custom apktool patched for honeycomb. Use the .jar file with dependencies just just you would with apktool. It currently will not recompile though due to the decompile causing some anomalies. BigRushDog is working on a fix for that.
I actually got a build that works from someone else.
XOOM'd from the XDA app.
Quick tip. When you solve your own problem, you may want to share the solution with others
^^^this
Sent from my Xoom using XDA Premium App
i have the 15 toggle bar for the note n7000... but the text below them are too big.. can anyone tell me how to change them?
Hey anyone.. No replies yes.... Hmmmm..
I know that it's in the values folder.... String. Xml.... But when I edit the file and recompile the framework... The phone won't boot.
Sent from my GT-N7000 using xda premium
my question is add another language for title icon (i.e. italian) or change the title icon properly (i.e. flash light to flashlight).
i decompiled lidroid-res.apk add values-it and edit strings.xml, recompiled , put the new lidroid-res.apk into zip for cwm,
installed the zip via cwm, reboot but error ...
one week always error...
can someone help us?
Hey Devs.. please give us a hint of how to recompile the -res.apk file cuz we not getting any success.. i have been trying to get this done.. but failing every time... ...
You can try to recompile it, use and learn the tutorial on ApkTool (credits to memnoc) from this link -> http://forum.xda-developers.com/showthread.php?t=1511730
letters_to_cleo said:
You can try to recompile it, use and learn the tutorial on ApkTool (credits to memnoc) from this link -> http://forum.xda-developers.com/showthread.php?t=1511730
Click to expand...
Click to collapse
Thanks for ur response... but i seem to have used all the apktools available... i can recompile the "-res.apk" but when i put it back to \system\framework ... the UI FCs and the notification bar doesnot load.
unfortunately od has stopped. >> is the message i get when i put the modified "-res.apk".
i have noticed one thing that the recompiled apk doesnot have META-INF folder... although i tried to copy it and gave a try but still no go...
what i am trying to do is using a themed apk like lidroid or crikelos res .. decompile .. change some text under the toggle buttons ...
what am i doing wrong... ?
hmm... have you tried setting back the permissions on your modified -res.apk in /system/framework? Mounting it before hand?
If you have, you may indeed try to ask some devs or someone who knows their way in recompiling apks as this is a sensitive matter to touch with and I'm moderately more on contributing stuffs rather than delving into the internal programmings on the android ecosystem.
hmmm.. i have changed permissions as well still... Thanks for taking the time out
Sent from my GT-N7000 using xda premium
Go to apkyool.yml
Edit with notepad++
And below
-1
Add -2
So it would look like
-1
-2
Then compile it lidroid-res again
Also make sure you have twframework-res.apk
And framework-res.apk installed
Sent from my GT-S5830 using xda premium
nokiamodeln91 said:
hmmm.. i have changed permissions as well still... Thanks for taking the time out
Sent from my GT-N7000 using xda premium
Click to expand...
Click to collapse
No problems bud.
Hope somebody can take notice on your issue and give you a lending hand on it.
:victory:
---------- Post added at 10:08 PM ---------- Previous post was at 10:06 PM ----------
nokiamodeln91 said:
hmmm.. i have changed permissions as well still... Thanks for taking the time out
Sent from my GT-N7000 using xda premium
Click to expand...
Click to collapse
CoolCatGetHome said:
Go to apkyool.yml
Edit with notepad++
And below
-1
Add -2
So it would look like
-1
-2
Then compile it lidroid-res again
Also make sure you have twframework-res.apk
And framework-res.apk installed
Sent from my GT-S5830 using xda premium
Click to expand...
Click to collapse
Well there you go.. Cheers and Kudos to CoolCat on this :good:
CoolCatGetHome said:
Go to apkyool.yml
Edit with notepad++
And below
-1
Add -2
So it would look like
-1
-2
Then compile it lidroid-res again
Also make sure you have twframework-res.apk
And framework-res.apk installed
Sent from my GT-S5830 using xda premium
Click to expand...
Click to collapse
do we have to sign the lidroid again?
Sent from my GT-N7000 using xda premium
nokiamodeln91 said:
do we have to sign the lidroid again?
Sent from my GT-N7000 using xda premium
Click to expand...
Click to collapse
Only sign lidroid if you have signed every apk in your rom
I normally do this
Decompile apk
Make changes
Compile apk
Go to original apk
Press right
7-zip
Open as archive
Delete res
Delete resources.arsc
Leave the 7-zip archive open
Go to
The decompiled folder
Go to build/apk
Copy all except androidmanifest.xml to the archive
Then its done you have an apk
Sent from my GT-S5830 using xda premium
CoolCatGetHome said:
Only sign lidroid if you have signed every apk in your rom
I normally do this
Decompile apk
Make changes
Compile apk
Go to original apk
Press right
7-zip
Open as archive
Delete res
Delete resources.arsc
Leave the 7-zip archive open
Go to
The decompiled folder
Go to build/apk
Copy all except androidmanifest.xml to the archive
Then its done you have an apk
Sent from my GT-S5830 using xda premium
Click to expand...
Click to collapse
OMG....!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! It actually worked....
Oh CoolCatGetHome... where were u till today.... i cant thank u enof....
nokiamodeln91 said:
OMG....!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! It actually worked....
Oh CoolCatGetHome... where were u till today.... i cant thank u enof....
Click to expand...
Click to collapse
Xd i had same problem before
But after some experimenting it worked
I self never sign apks except i have urooted device and want to install apps manual like custom launchers
Sent from my GT-S5830 using xda premium
CoolCatGetHome infinite thanks
you saved me from sleepless nights looking for the solution
again thanks
CoolCatGetHome said:
Xd i had same problem before
But after some experimenting it worked
I self never sign apks except i have urooted device and want to install apps manual like custom launchers
Sent from my GT-S5830 using xda premium
Click to expand...
Click to collapse
hey cool cat get home.... another thing.... the app speed test. net.. As u see does not fill the screen... After decompiling.. I changed some dimensions in xml.. wen recompiling the apps do not install.. y is dat..
Sent from my GT-N7000 using xda premium
nokiamodeln91 said:
hey cool cat get home.... another thing.... the app speed test. net.. As u see does not fill the screen... After decompiling.. I changed some dimensions in xml.. wen recompiling the apps do not install.. y is dat..
Sent from my GT-N7000 using xda premium
Click to expand...
Click to collapse
U n eed to sign the apk to install manually
Thats the only time i sign apks
Sent from my GT-S5830 using xda premium
CoolCatGetHome said:
U n eed to sign the apk to install manually
Thats the only time i sign apks
Sent from my GT-S5830 using xda premium
Click to expand...
Click to collapse
so this is wat i do, correct me where i go wrong plz
1 decomiple app..
2. change the dimen.xml
3. recomile app
4. open the original app using 7z
5. go to the build/apk folder
6. copy the res folder and the .asrc file to the opened apk.
7. sign the apk
there is a classes.dex file as well... do i change it or do i keep the original
in this as well do i have to edit the "apkyool.yml" as this seems to be isframework=false
nokiamodeln91 said:
in this as well do i have to edit the "apkyool.yml" as this seems to be isframework=false
Click to expand...
Click to collapse
No that apk doesnt need to have that apktool.yml edit
Only lidroid needs it
But u need to sig it with
Android manager
Or apkmanager
Etc
Sent from my GT-S5830 using xda premium
Can anyone describe which PNG needs to be edited to change the action bar (not the status bar) the bar which is blue in tw and shows my files heading when we open my files...
sent from by speedster s advanz
amitnv said:
Can anyone describe which PNG needs to be edited to change the action bar (not the status bar) the bar which is blue in tw and shows my files heading when we open my files...
sent from by speedster s advanz
Click to expand...
Click to collapse
it might be, and I am not totally sure, the tw_quickpanel_top_bg.png in the res/drawable-hdpi folder of your systemui.apk
bobfrantic said:
it might be, and I am not totally sure, the tw_quickpanel_top_bg.png in the res/drawable-hdpi folder of your systemui.apk
Click to expand...
Click to collapse
Will the changes be applied to the whole OS I mean the theme of other apps like root explorer will also change or what ?
Because root explorer uses the default theme of android it looks different on different ROMS
sent from by speedster s advanz
amitnv said:
Will the changes be applied to the whole OS I mean the theme of other apps like root explorer will also change or what ?
Because root explorer uses the default theme of android it looks different on different ROMS
sent from by speedster s advanz
Click to expand...
Click to collapse
I think that while you use tw, it will be the same for apps like root explorer, my files and so on. some of the roms are themed so that may be why it looks different. can't really say as I prefer just plain stock, and even with holo launcher hd it uses the tw colors when opening apps.
bobfrantic said:
I think that while you use tw, it will be the same for apps like root explorer, my files and so on. some of the roms are themed so that may be why it looks different. can't really say as I prefer just plain stock, and even with holo launcher hd it uses the tw colors when opening apps.
Click to expand...
Click to collapse
That was useful
Sent from my GT-I9070 using xda premium
Yesterday I modified secphone images .pngs but even after replacing the modified apk with the one in system/app/ nothing changed can anyone describe why ? Should I theme the sec contact apk also ?
Or is it necessary to decompile the apk even for editing .pngs ? When I extract the apk I can see the changes made but not applied ?can anybody help ? If yes then I would be able to make a nice secphone ..
Sent from my GT-I9070 using xda premium
amitnv said:
Yesterday I modified secphone images .pngs but even after replacing the modified apk with the one in system/app/ nothing changed can anyone describe why ? Should I theme the sec contact apk also ?
Or is it necessary to decompile the apk even for editing .pngs ? When I extract the apk I can see the changes made but not applied ?can anybody help ? If yes then I would be able to make a nice secphone ..
Sent from my GT-I9070 using xda premium
Click to expand...
Click to collapse
Secphone is the phone during call. If you want to change how the app looks then you should edit the SecContacts
Sent from my GT-I9070 using xda premium
Abhinandh Ajay said:
Secphone is the phone during call. If you want to change how the app looks then you should edit the SecContacts
Sent from my GT-I9070 using xda premium
Click to expand...
Click to collapse
I'll try ..but the thing is I only changed the dailer colour from blue to orange and it didn't show up I changed each and every where the colour tell me where I've gone wrong after editing and placing my files ? Should I compulsorily make a flashable zip like the one I made for music player ? Because replacing system apk didn't help....
Sent from my GT-I9070 using xda premium
amitnv said:
I'll try ..but the thing is I only changed the dailer colour from blue to orange and it didn't show up I changed each and every where the colour tell me where I've gone wrong after editing and placing my files ? Should I compulsorily make a flashable zip like the one I made for music player ? Because replacing system apk didn't help....
Sent from my GT-I9070 using xda premium
Click to expand...
Click to collapse
Since you edited the SecPhone.apk check the in-call Dailer. And you don't have to create a flashable zip, you can just push file to /system
In call_dailer_press.9.PNG refers to the pressed button and in call_keypad_BG_01.PNG refers to the keypad I've edited only the later one but changes just don't show up this is the first time I've encountered such an error...
Sent from my GT-I9070 using xda premium
amitnv said:
In call_dailer_press.9.PNG refers to the pressed button and in call_keypad_BG_01.PNG refers to the keypad I've edited only the later one but changes just don't show up this is the first time I've encountered such an error...
Sent from my GT-I9070 using xda premium
Click to expand...
Click to collapse
You should do that in SecContacts.apk
Sent from my GT-I9070 using Tapatalk 4 Beta
Will try..
Sent from my GT-I9070 using xda premium
Well hi everyone,
I think that several users of you have seen my theme for stock Sammy, but CM themed.
My question here is:
I tried XML editing in Notepad++ and in Editix. But when I open a XML file, I only see strange squares instead of lines of text.
Does anybody know what I can do about this? Because I need it for my upcoming release....
Thanks in Advance
Jeroenvk94 said:
Well hi everyone,
I think that several users of you have seen my theme for stock Sammy, but CM themed.
My question here is:
I tried XML editing in Notepad++ and in Editix. But when I open a XML file, I only see strange squares instead of lines of text.
Does anybody know what I can do about this? Because I need it for my upcoming release....
Thanks in Advance
Click to expand...
Click to collapse
Those files are encrypted, use apktool for decompiling it first
Sent from my GT-I9070 using xda app-developers app
frapeti said:
Those files are encrypted, use apktool for decompiling it first
Sent from my GT-I9070 using xda app-developers app
Click to expand...
Click to collapse
Oh lol, I just unpacked it with 7Zip, but I didn't know I needed to decompile it.
I've just removed the inelegant white line below the quick settings
Backup first and flash SystemUI_mod.zip via recory
(apk zipaligned)
Tutorial in Post 3...
nreuge said:
I've just removed the inelegant white line below the quick settings
Just flash SystemUI_mod.zip via recory.
Only for T, only for 4.3/.278 !!!
(apk zipaligned)
Click to expand...
Click to collapse
Could you give me a guide on how to remove this white line?
Sent from my LT25i using xda app-developers app
WhiteNeo said:
Could you give me a guide on how to remove this white line?
Sent from my LT25i using xda app-developers app
Click to expand...
Click to collapse
Yes, first decompile your systemUI.apk.
Extract the image status_bar_hr.9.png from the attached zip and move it in SystemUI\res\drawable-xhdpi.
Recompile and zipalign your SystemUI.
It's done
Beware, don't introduce status_bar_hr.9.png straightly in systemUI.apk by the winrar method, it won't work cause it's a 9.png. You must first decompile... and then recompile!
nreuge said:
Yes, first decompile your systemUI.apk.
Extract the image status_bar_hr.9.png from the attached zip and move it in SystemUI\res\drawable-xhdpi.
Recompile and zipalign your SystemUI.
It's done
Beware, don't introduce status_bar_hr.9.png straightly in systemUI.apk by the winrar method, it won't work cause it's a 9.png. You must first decompile... and then recompile!
Click to expand...
Click to collapse
Thanks man!
Sent from my LT25i using xda app-developers app
thanks a lot mate i always hated the white line
Hmm.. If we found a way to change the quick settings background to black it would look even more awesome.
Sent from my LT25i using xda app-developers app
Update 27/02
Mod updated with SystemUI .295