Hello everybody,
I want to decompile SystemUI.apk (LG Optimus 2X stock 2.3.4) but I get a lot of errors when I try to decompile SystemUI.apk after framework-res.apk:
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
The files are stock and unmodified.
Can anybody help me?
Thanks!
Felix
Flix123 said:
Hello everybody,
I want to decompile SystemUI.apk (LG Optimus 2X stock 2.3.4) but I get a lot of errors when I try to decompile SystemUI.apk after framework-res.apk:
The files are stock and unmodified.
Can anybody help me?
Thanks!
Felix
Click to expand...
Click to collapse
Why don't you just use 7zip? I always ran into that problem so I just use 7z now
Sent from my LG-P500 using XDA App
But I want to edit some xml's, so I need to decompile it!
You can try using APK Multitool. I've never had a problem with it.
It doesn't work. Everytime the same errors.
Maybe something with my java jdk isn't ok?
Possibly, make sure you have the latest version and that it is in your PATH.
I have the latest jdk, sdk and apktool/apkmanager and the PATH in the control panel is set correctly.
I can decompile all apks except the SystemUI files.
check path easyli with tipping "javac" in cmd
When I type javac in cmd, there comes an error.
What I have to do now?
Delete the file below and try to decompile again
C:\Users\Felix\apktool\framework\1.apk
Thank you very much, that was the solution!!!
same problem as above
tried every method stated in this post but still getting the error in the screenshot......
i am trying to de-compile a cm7 theme....
linishv said:
tried every method stated in this post but still getting the error in the screenshot......
i am trying to de-compile a cm7 theme....
Click to expand...
Click to collapse
im having the same issue decompiling systemui.apk. i have tried everything and still no luck. i tried deleting the framework and reinstalling it prior to decompiling with the apktool i have tried downloading the framework files directly from offline and use them but still no luck so i really dont think there is a problem with the framework in my situation. my java is ok i checked it everything is installed correctly. i have tried apktool apkmanager apk mulittool fjapktool nothing is working everything does the same thing. the only difference that i have though is im running linux instead of windows but most of these tools have their own linux versions anyways so i really dont see that as a issue.
does anyone out there know how to customize xml files the old fashion way before apktools was developed?? how to you convert the xml files so they can be adjusted because if you just extract the xml file without decompiling it the code is partly binary so any ideas on how to customize them without apktools??
same here with my huawei SystemUI.apk jb 4.1.2. But Im just wondering why SystemUI.apk from Huawei G510 and P1 I was able to decompile successfully. Whats the problem?
Decoplied system ui
Check it out "[Guide] Decompile Edit and Recompile SystemUI.apk" ON YOUTUBE
Related
well, I just want to replace the Phone icon.
This one
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
instead of this one
I tried to mod Phone.apk file (from GingerDX v12)
I tried to use APK manager.. But you see, I'm noooooob After several steps I got new Phone.apk file and tried to put it into the phone but it did not work.
I tried to unzip the Phone.apk file, replaced the .png file, zip it into Phone.apk, put it back into ROM and flashed the ROM
well I got the old icon like this
the only changed thing is [VOICEMAIL] dialer 2.3.5 in Titanium backup
can someone help me with this? I just want to replace the icon
my device x10 mini pro - GingerDX v12
you replace the wrong icon
how is the replaced icon named???
flex96 said:
you replace the wrong icon
how is the replaced icon named???
Click to expand...
Click to collapse
it's named "ic_launcher_phone.png", in \Phone.apk\res\drawable-mdpi
that's the only thing looks like
is it wrong :-s
_ _ _ _
- - - -
well, I just rename Phone.apk to Phone.zip, then replace ic_launcher_phone.png and rename .zip file back to Phone.apk, put it into extracted ROM then compress and flash to device
First of all, please, don't post questions to development section, use Q&A section.
Did you sign the apk?
Sent from my U20i using XDA Premium App
leajian said:
First of all, please, don't post questions to development section, use Q&A section.
Did you sign the apk?
Sent from my U20i using XDA Premium App
Click to expand...
Click to collapse
I signed the apk using APK manager
think I'll go on myself!!!
thank you anyway
Did you replace ALL copies of that icon? Cause if I remember correctly, there is also a drawable-ldpi or something like that. And resigning it / decompiling it using apkmanager is unnesscary. Just open the apk with 7-zip and replace the icon files.
ruifung said:
Did you replace ALL copies of that icon? Cause if I remember correctly, there is also a drawable-ldpi or something like that. And resigning it / decompiling it using apkmanager is unnesscary. Just open the apk with 7-zip and replace the icon files.
Click to expand...
Click to collapse
well I looked in all folder and there's only one thing looks like this
in drawable-mdpi
Hello mates!
So i wanted to use Slim ICS in my own language and wanted to start with Settings.apk from Slim 4.2.
btw.I succesfully installed adb on my computer.(checked with cmd)
I'm using latest apktool and i typed;
apktool d Settings.apk
Successfully decompiled.Settings folder created and all of the stuff is in there.
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
I JUST changed a string in res/values .Then tried to compile it ... And the problem occours....
Help me please.At least i want to do this...
Sorry if i opened the thread in to wrong section but this thing is about developing so..
Have a nice day to all people!
Just typed this earlier in another post but I think it applies with the Setting.apk also. Your framework files will be different, but hopefully it helps you..
NOTE: For all of the above you will need to set the framework for apktool before you will be able to de/recompile apks.
-Drop copies of framework-res.apk, moto-res.apk, blur-res.apk, and SystemUI.apk into the same folder as apktool (with APK Manager it's the "other" folder)
-Open the command prompt on the folder where apktool is (by right-clicking or holding Shift and right-clicking)
-Type the following for each apk in the command prompt:
Code:
apktool if framework-res.apk
-Hit enter
Code:
apktool if moto-res.apk
-Hit enter, and do the same for the other two apks
-Now you should have no de/recompiling problems (well I shouldn't say no... watch them .9.pngs and check the log for errors)
Click to expand...
Click to collapse
Sent from my phone's mind
http://www.blindndumb.com/2012/04/android-tutorial-how-to.html
Follow that guide to the tee and i garuntee you will not have a single issue
alteredlikeness said:
Just typed this earlier in another post but I think it applies with the Setting.apk also. Your framework files will be different, but hopefully it helps you..
Sent from my phone's mind
Click to expand...
Click to collapse
Hmm.I just had framework-re.apk in there and typed apktool if ramework-res.apk ..... Gonna try it today!
Sent from my GT-I9000 using Tapatalk 2
Me too
Help To Edit "SystemUI" contain "status_bar_expand.xml" status bar background color.
I use AOSP ROM, but its status bar notifications background has white color. So that its not clear. I need to know how do i change the notification background color/running apps status bar background color?
This is my notification issue.
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Now i unpack "systemUI.apk" into my desktop folder, but not clear how to edit "status_bar_expand.xml".
Anyone know it, please help me. I replaced another similar ics rom " systemUI.apk" with this rom, but its not work. My phone not boot up.
I need to edit "status_bar_expand.xml" so that i open it using "HxD" but how do i change its status bar running apps background?
Thanks in advanced.
i think its in SystemUI.apk in system/ not in framework
attack11 said:
i think its in SystemUI.apk in system/ not in framework
Click to expand...
Click to collapse
Thanks you friend. kamarush told me that and I checked the "systemUI.apk", but looks like i can't do anything. :crying:
android addicts said:
Thanks you friend. kamarush told me that and I checked the "systemUI.apk", but looks like i can't do anything. :crying:
Click to expand...
Click to collapse
Some time ago I was using Kamarush's MiniCMSandwich and I make background white... See values folder in decompiled SystemUI.apk and drawable-mdpi folder for background image (don't remember if it was just color or image).
android addicts said:
Now i unpack "systemUI.apk" into my desktop folder, but not clear how to edit "status_bar_expand.xml".
Click to expand...
Click to collapse
When you say you unpacked it, did you actually decompile the apk file or just unzip it?
reaper61616 said:
Some time ago I was using Kamarush's MiniCMSandwich and I make background white... See values folder in decompiled SystemUI.apk and drawable-mdpi folder for background image (don't remember if it was just color or image).
Click to expand...
Click to collapse
Thanks friend your help, ill try it.
Ticklefish said:
When you say you unpacked it, did you actually decompile the apk file or just unzip it?
Click to expand...
Click to collapse
I copied "systemUI.apk" into my desktop and change the file extension ".zip" is it OK? How do i decompile the apk?
android addicts said:
I copied "systemUI.apk" into my desktop and change the file extension ".zip" is it OK? How do i decompile the apk?
Click to expand...
Click to collapse
This way you don't make anything...
See 1st link in my signature and go to 'INSTALLATION'
i need help i needed to edit androidmanifest of framework-res.apk...
after compiling successully got bootloop
how to rectify it...pls help someone
ansebovi said:
how to rectify it...pls help someone
Click to expand...
Click to collapse
What did you mod and did you do it correctly?
XperienceD said:
What did you mod and did you do it correctly?
Click to expand...
Click to collapse
i modded to have theme.holo.light
i dont kno to sign androidmanifest.xml and nw i want to kno how to sign framework-res.apk with androidmanifest.xml modified...i dont care about signature because modded service jar to skip sign check...now problem is how to sign framework-res.apk
ansebovi said:
now problem is how to sign framework-res.apk
Click to expand...
Click to collapse
..
XperienceD said:
Signing
Before using the new apk you will need to sign it, to do this you need to extract (open the apk and simply drag and drop them to the dist folder) from the original apk the resources.arsc (only if you haven't changed anything in the values folder, the AndroidManifest.xml and META-INF folder (if it exists), then copy them into the new apk. In WinRar it will give you the option to choose the compression method, and it's vital that you choose Store as the compression method because if you don't then you WILL BOOT LOOP after restarting your Phone!
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
NOTE: If you have edited anything in the values folder then extract the resources.arsc from the new apk and copy (drag and drop) it back in the same manner described above.
Alternatively you can use the following command...
Code:
[B]java -jar signapk.jar testkey.x509.pem testkey.pk8[/B] framework-res.apk.apk framework-resS.apk
...notice the extra "S", the output name has to differ from the input name otherwise it will give an error, if done right it will create a new apk called framework-resS.apk, just remember to rename it back to the original before using it on your Phone.
Click to expand...
Click to collapse
XperienceD said:
..
Click to expand...
Click to collapse
bro the problem is i edited androidmanifest.xml
u r saying for unedited androidmanifest.xml
ansebovi said:
bro the problem is i edited androidmanifest.xml
Click to expand...
Click to collapse
First of all I'm not sure why you've edited that and not the styles.xml, and even if you have edited the manifest then the principles are the same, extract it from the new apk then drag and drop it back.
before edit/Recompile
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
after
why ?!!
UP UP UP
I hope to help me @Blekota
Up up up
what is the apktool use ?
same problem with me , but I found the problem and fix it
abd3mobaraki said:
what is the apktool use ?
same problem with me , but I found the problem and fix it
Click to expand...
Click to collapse
i'm using apktool 2.0.0 RC3
how to fix it
engloda said:
i'm using apktool 2.0.0 RC3
how to fix it
Click to expand...
Click to collapse
after recompiling , open by any zip program and enter res folder
then look to folders name , if there numbers an name its the problem
good luck
i have the same problem
engloda said:
Up up up
Click to expand...
Click to collapse
this is may come from a bad deodex ... i have the same problem.... i had changed in a milion whays the java paths andd the java jdk-version the 7 and 8 version ...and still have the problems... the same like yours... i picked up the secSettings from the rom of Sweet Rom and from Xnote i decompiled them and after that i compiled them back... and i had no issue... but decompiling and recompiling my secSettings from my build deodexed and made in two variants : with Archikitchen and with the dsixda Android kitchen i have all the time issues ,. the same like yours,,,, i donĀ“t know whay...
i had send some messages to soloilmeglior and to not-i and untill now no response... was wantted to know wich version of apktool they are use and how they have the phat to java jdk fixed
UP UP Plz :crying:crying:
I hope to help me @thereassaad
abd3mobaraki said:
after recompiling , open by any zip program and enter res folder
then look to folders name , if there numbers an name its the problem
good luck
Click to expand...
Click to collapse
i dont found numbers anny other solution ? allah yjazik help me