[Q][Help!]How ta compile systemUI apk - Galaxy Tab Q&A, Help & Troubleshooting

Can someone help me, how to compile systemUI apk, after i edit xml file.
Sent from my GT-P1000 using XDA App

waazaii said:
Can someone help me, how to compile systemUI apk, after i edit xml file.
Sent from my GT-P1000 using XDA App
Click to expand...
Click to collapse
isnt a APK a type of zip?
a zip with scripts to tell the os how to install it.

Related

decompiling systemUI.apk?

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

How to change text below the toggle buttons

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

Editing systemui.apk

I decompiled systemui.apk using apk manager . ,added some smali's and edited xmls. Now I am going to recompile it. Do I need do delete the smali's and xmls from keep folder or the recourses file.?? Also after compilation it shows unsignedsystemui.apk if I sign it using 12 option it gives error please help
Note- don't post any links of tutorials as I have checked dem
Would really thankful
Sent from my GT-S5570 using xda premium
arpitkh96 said:
I decompiled systemui.apk using apk manager . ,added some smali's and edited xmls. Now I am going to recompile it. Do I need do delete the smali's and xmls from keep folder or the recourses file.?? Also after compilation it shows unsignedsystemui.apk if I sign it using 12 option it gives error please help
Note- don't post any links of tutorials as I have checked dem
Would really thankful
Sent from my GT-S5570 using xda premium
Click to expand...
Click to collapse
Not so expert in this but maybe this question solved could help you
http://forum.xda-developers.com/showthread.php?t=1852321
It didnt
Sent from my GT-S5570 using xda premium
arpitkh96 said:
It didnt
Sent from my GT-S5570 using xda premium
Click to expand...
Click to collapse
The keep folder contains the stock files unchanged..So if you changed a smali in your project folder you'll have to delete the classes.dex in the keep folder,if you changed xml you'll have to delete the resources.arsc in the keep folder..

[Q] .APK manager

Hi, i trying to port MultiWindow mod for SGA, but i need apk manager compatible with JB file, i try found in google and not found, i need "decompile" not extract files like apktool. Somebody have one version compatible? please!
Sorry for my english.
Try This
http://db.tt/NO2oVtO2
Sent from my GT-I9070 using xda premium
DarkSideTT said:
Hi, i trying to port MultiWindow mod for SGA, but i need apk manager compatible with JB file, i try found in google and not found, i need "decompile" not extract files like apktool. Somebody have one version compatible? please!
Sorry for my english.
Click to expand...
Click to collapse
Apktool decompile apps, it uses backsmali
Sent from my GT-I9070 using xda app-developers app
frapeti said:
Apktool decompile apps, it uses backsmali
Sent from my GT-I9070 using xda app-developers app
Click to expand...
Click to collapse
For extract smali files i need deodex files, right?
DarkSideTT said:
For extract smali files i need deodex files, right?
Click to expand...
Click to collapse
Is multiwindow mod for sgsa now working?if its dere den kindly gv d download link
Sent from my GT-I9070 using xda app-developers app
DarkSideTT said:
For extract smali files i need deodex files, right?
Click to expand...
Click to collapse
Short answer: yes
Long answer: you can extract smali classes from .odex files too but better don't mess with odexed apps, apktool do it automatically for .apk files but it wont work for odexed apps becouse all the classes are in .odex file outside the apk, the deodexed apk contains all the classes in a .dex file inside the apk and that is what apktool is looking for
Sent from my GT-I9070 using xda app-developers app
frapeti said:
Short answer: yes
Long answer: you can extract smali classes from .odex files too but better don't mess with odexed apps, apktool do it automatically for .apk files but it wont work for odexed apps becouse all the classes are in .odex file outside the apk, the deodexed apk contains all the classes in a .dex file inside the apk and that is what apktool is looking for
Sent from my GT-I9070 using xda app-developers app
Click to expand...
Click to collapse
Thanks for help :highfive:

[Q] Theming Issues ?

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

Categories

Resources