Change png in SystemUI.apk - Samsung Galaxy Nexus

Hi,
as I have successfully changed the navbar icons in my systemui.apk (flashable mod does not work on modaco, so i did it myself, thx to arzbhatia for the icons!), i wanted more and tried to change the icon for wifi tether, as i do not like that white thing up there...
so i simply made a png of the pic i want to use, scaled it to the same format (65x65) and replaced it in the apk via 7zip.
but when i put the modified apk back to the system\app folder, i had a constant fc of systemui?!
is there any special treatment necessary on the png-files before putting them into an apk? as i used the given button icons before, i do not know how they were "constructed"...or is there any other mistake i may have made?!
mistakes i have NOT made:
- not set permissions before copying systemui.apk back to system\app folder
- extract and rezip apk for modding
thanks for any hint!
yours sincerely
p.

Related

Customize your phone (theme/icons/locksreen)

Hello dear Forum...
First off I have to apologize if I missed something in a sticky,
since I'm new to the forum and the hole rooting/customizing on my GT I-9000.
I've successfully rooted my phone and I'm running Darky_v10_RC5_Final now.
Could anyone provide a link or an explanation how to:
# set own icons for apps
# set lockscreen (as its said there are 4 different ones on this ROM; plus changing the lockscreen image in the settings is not quite working for me)
# setting another theme - if not too complicated.
many thanks in advance - seems to be a truly nice community!
reimi said:
I've successfully rooted my phone and I'm running Darky_v10_RC5_Final now.
Click to expand...
Click to collapse
Final ?? When did it come out ?? Didn't find on Darky's website.
Sorry , wasn't logged in.
GT-I9000 said:
Final ?? When did it come out ?? Didn't find on Darky's website.
Click to expand...
Click to collapse
its the files name, I downloaded from somewhere in this thread:
http://forum.xda-developers.com/showthread.php?t=814091
reimi said:
Hello dear Forum...
First off I have to apologize if I missed something in a sticky,
since I'm new to the forum and the hole rooting/customizing on my GT I-9000.
I've successfully rooted my phone and I'm running Darky_v10_RC5_Final now.
Could anyone provide a link or an explanation how to:
# set own icons for apps
# set lockscreen (as its said there are 4 different ones on this ROM; plus changing the lockscreen image in the settings is not quite working for me)
# setting another theme - if not too complicated.
many thanks in advance - seems to be a truly nice community!
Click to expand...
Click to collapse
To change the icon in an apk, you need to get the apk, open it with winrar and go to drawable-hdpi
There are pngs there. Normally, the icon one is called icon.png, but on some apps, it has a different name, for example ic_launcher_phone.png
You edit it and substitute it.
Then you push the apk back into your phone into /system/app in case it's a system app or you just copy the apk to your sdcard and install it.
Lockscreen background may not work with some specific lockscreens.
For a theme, to make one you'd need to edit the pngs in framework-res.apk/drawable-hdpi (opening it with winrar) and then push it back. That's for changing icons and part of the appearance, but to change text colours and other things you'd need to decompile the apk and edit some xml's.
To apply a theme you just need the zip of the theme, copy it into your sdcard and install it through cwm.
coldflid said:
To change the icon in an apk, you need to get the apk, open it with winrar and go to drawable-hdpi
There are pngs there. Normally, the icon one is called icon.png, but on some apps, it has a different name, for example ic_launcher_phone.png
You edit it and substitute it.
Then you push the apk back into your phone into /system/app in case it's a system app or you just copy the apk to your sdcard and install it.
Lockscreen background may not work with some specific lockscreens.
For a theme, to make one you'd need to edit the pngs in framework-res.apk/drawable-hdpi (opening it with winrar) and then push it back. That's for changing icons and part of the appearance, but to change text colours and other things you'd need to decompile the apk and edit some xml's.
To apply a theme you just need the zip of the theme, copy it into your sdcard and install it through cwm.
Click to expand...
Click to collapse
thank you for the answer!
Is there no way to change the icons of stock applications?
And how may I change the lockscreen?
could you please give me a link, or something how to apply themes via cwm - to be honest I don't even know what cwm is.
sorry for all the questions - many thanks in advance!
reimi said:
thank you for the answer!
Is there no way to change the icons of stock applications?
And how may I change the lockscreen?
could you please give me a link, or something how to apply themes via cwm - to be honest I don't even know what cwm is.
sorry for all the questions - many thanks in advance!
Click to expand...
Click to collapse
Sorry, had lost track of this thread.
You can change the icon of stock applications in same way, but you must be rooted since they are located in system/app
For the lockscreen, to theme the glass lockscreen, you need to edit the pngs in framework-res.apk/res/drawable-hdpi named zzz_unlock_arrow_0000.png up to zzz_unlock_arrow_0009.png and the zzz_unlock_blackbg.9.png and zzz_blackbg_dual.9.png
To theme puzzle lockscreen:
edit zzz_unlock_puzzle_noti_icon_unlock and zzz_unlock_puzzle_noti_icon_unlock_fit
For android lockscreen (in framework-res.apk/res/drawable-land-hdpi):
ic_jog_dial_unlock
ic_jog_dial_sound on
ic_jog_dial_sound off
For epic unlock on framework-res.apk/res/drawable-hdpi
mod zz_unlock_lockbg_press
mod zz_unlock_lockbg_press
In case you want to get a stock framework and get aosp lockscreen:
To get aosp lockscreen you'd need to decompile classes.dex in android.policy.jar and edit a few files.
For that, i use ubuntu.
You open android.policy.jar and extract classes.dex
Then get baksmali and smali and place them in the same location as classes.dex
Open up a terminal and type cd and the location
Example:
cd /home/coldflid/Desktop
Then type java -jar baksmali-1.2.5.jar classes.dex
(if you've got another version of bajsmali change the 1.2.5 for the version you have).
You can type java -jar baksmali-1.2.5.jar classes.dex -o *
Where * is the name of the folder where you want classes.dex to be decompiled
Then you'd need to mod LockPatternKeyGuardView.smali or replace it with a modded one.
Then type in terminal
Then type java -jar smali-1.2.5.jar *
Where * is the name of the folder where classes.dex was decompiled
out.dex should be generated, rename it to classes.dex and copy it to android.policy.jar (replace the old one).
Then use root explorer to copy it to system/framework
coldflid said:
Sorry, had lost track of this thread.
You can change the icon of stock applications in same way, but you must be rooted since they are located in system/app
For the lockscreen, to theme...
Click to expand...
Click to collapse
thank you for the answer!
I'm currently using LockBot Pro to change the locksreen and its background, works fine for me.
I'll try to change the stock app icons as soon as I have time. Thanks!
coldflid said:
Sorry, had lost track of this thread.
You can change the icon of stock applications in same way, but you must be rooted since they are located in system/app...
Click to expand...
Click to collapse
I'm currently trying to substitute the stock app icons.
My question is, how I can find out, which of all those images is used for the menu and how can I browse the folders on my pc, which I can browse on my phone via root explorer...
thanks for the answer!

How to install icons as system icons

hi
i want to use aelous hd icons http://forum.xda-developers.com/showthread.php?t=953449
i want to install these through the system i have had a read and have noticed i need to extract each apk and replace the png
i dont mind doing this and i had used 7zip to view the apk extracted. i found a icon.png for camera.apk when i extracted it, i found it in res/drawable
i am unsure whether this is the icon but it seems so to me..
i dont know how to resign/recompile it to a .apk so i can install it again
any help with this topic would be helpful.. i am using juwes rom so ive seen his black icons and want to change those and a few others. i extracted the apk from within this rom
Use APK manager, but if you are just doing the icons, I dont think you even need to re-sign it just drag and drop the new icon, only thing is its kinda pointless, once an app needs to be updated it will revert back to the stock icon

[Q] SystemUI apk problem

Hi everyone,
I'm using the deodexed 4.2.1 rom on My Galaxy Nexus with a custom SystemUI.apk that works (it doesn't make notification and navigation bar disappear) taken from this thread.
I successful replaced unwanted image files in the apk with 7zip and now I'm trying to change the clock color in the taskbar.
I do the following things, in order:
1. Decompile apk with apktools
2. Change values of color in the proper xmls
3. Recompile apk
4. Replace SystemUI with the new one
5. Clean Cache/Dalvik and reboot
After that notification and navigation bar disappear. Am i missing something?
Help please! D':
Does the modified apk have the proper permissions?
cupfulloflol said:
Does the modified apk have the proper permissions?
Click to expand...
Click to collapse
I think so (rw r r).
That's my SystemUI.apk
I would like to change clock/date color in notification/toggle mode from ics blue to white.
Hey mate!!!!!
You must sign apk with signapk everytime you make changes into an apk.
http://code.google.com/p/dex2jar/ in dex2jar you will find d2j-apk-sign.sh/bat script
Seems that i told you bull**** coz systemUI never have to be signed...
http://forum.xda-developers.com/showthread.php?t=1848458
So, restoring old "stock" SystemUI.apk you get phone working well again?
Ultrakiller said:
Hey mate!!!!!
You must sign apk with signapk everytime you make changes into an apk.
http://code.google.com/p/dex2jar/ in dex2jar you will find d2j-apk-sign.sh/bat script
Seems that i told you bull**** coz systemUI never have to be signed...
http://forum.xda-developers.com/showthread.php?t=1848458
So, restoring old "stock" SystemUI.apk you get phone working well again?
Click to expand...
Click to collapse
Yes, I made a nandroid backp for safety.

Change Icons in App-Drawer ?

Hello !
How i can change the icons in the App-Drawer ?
Is there an App like Winterboard for iOS ?
I use a HTC DHD with CM 10.1
Thanks !
Depending on the launcher your using there are icon packs in market but it won't change all of them. You can get experimental and open the apks and change the PNG images but I would do a Full Research on how to come about it cause its no easy task. You can change the .apk to .zip unzip find PNG change rezip change .zip back to .apk then sign it. Its how I do mines but like I said do your research and backup rom before you attempt anything. Enjoy the learning. By the way there is an app that signs the apk for you on the phone. I am out now but I will upload it with instructions for you as soon as I can get to my computer.
Just install apk open it then click button (Choose In/Out) find apk you want to sign then click button (Sign The File). You will then have two files in the folder one signed the other not signed.
Sent from IceCold 8.8 Imspire
Ok thank you ! You mean i must add my new Icon to the IconPack.apk ?
Where i can find the right Names for the Icons ?
And must i delete a Folder before sign the App ? I see this in other Sign-HowTo, but this dont work.
So many Questions ...
No do not delete any folders all your doing is changing the PNG. But make sure the new PNG is the same size as the one being replaced as well as named exactly as the old one. Icon is located in : res folder > drawable-hdpi folder

[MOD][GUIDE] Make your status bar just like Galaxy S4 (All white and transparent)

Hi all, I'm newbie, and I want to share you guys the guide to make our status bar look like the Galaxy S4 (Specialy it has s4 white icon) .
-First you need to download the attachment, then extracted it
-Now you have to decompile ( or change extension to .zip and extracted it i guess) the systemUI.apk
-Next, find the drawable-hdpi folder in your systemUI.apk and replace it which the one you extracted in the attachment
-Recompile ( or compress by zip and change to .apk )
-Copy systemUI.apk mod to system/app ( remember to BACKUP your original apk)
-Use Xposed Tweakbox to make status bar full transparent and the clock to white, reboot and enjoyed
And sorry for my bad english :silly:
flash
longrio2 said:
Hi all, I'm newbie, and I want to share you guys the guide to make our status bar look like the Galaxy S4 (Specialy it has s4 white icon) .
-First you need to download the attachment, then extracted it
-Now you have to decompile ( or change extension to .zip and extracted it i guess) the systemUI.apk
-Next, find the drawable-hdpi folder in your systemUI.apk and replace it which the one you extracted in the attachment
-Recompile ( or compress by zip and change to .apk )
-Copy systemUI.apk mod to system/app ( remember to BACKUP your original apk)
-Use Xposed Tweakbox to make status bar full transparent and the clock to white, reboot and enjoyed
And sorry for my bad english :silly:
Click to expand...
Click to collapse
Does anyone have a flashable version of this for s3 mini ?
I'm newbie, so i didnt know how to make a flashable zip
Sent from my GT-I8190N using xda premium
Great job, guy
I'm a newbie too
can you please provide a step by step procedure on how to do that, coz I try that last night and give me a result of "unfortunately systemUI.apk has stopped". I'm a newbie in modification
sorry for my bad English
xymeth said:
can you please provide a step by step procedure on how to do that, coz I try that last night and give me a result of "unfortunately systemUI.apk has stopped". I'm a newbie in modification
sorry for my bad English
Click to expand...
Click to collapse
may be you have to sign the systemUI.apk before putting it back to your phone?
Maybe someone can help you make flashable zip. Easier to add mod ans people dont need to play with system files manually..
Sent from my GT-I8190 using xda app-developers app
how?
vndnguyen said:
may be you have to sign the systemUI.apk before putting it back to your phone?
Click to expand...
Click to collapse
how can I sign systemUI.apk? btw thanks for your response.
xymeth said:
how can I sign systemUI.apk? btw thanks for your response.
Click to expand...
Click to collapse
Don't sign SystemUI.apk - it's a System File.
Did you clear cach and Dalvik cache after replacing the File ?
please
mkruseonline said:
Don't sign SystemUI.apk - it's a System File.
Did you clear cach and Dalvik cache after replacing the File ?
Click to expand...
Click to collapse
no. is clearing cache/dalvik cache reset my files and installed app in my internal/sdcard? all I do last night is 1copy systemUI.apk from system/app folder.
2rename it to zip them extract
3extract the attached file from 1st post
4copy and replace
5then unzip and rename to apk
6move to tmp folder 1st to change permission
and last move/replace the said file to system/app folder
result = "unfortunately systemUI.apk has stopped"
please help me, I'm a noob in modification like this.
sorry for my bad English
Ah, now I got it.
You can not extract apk Files and change Files.
You have to decompile. -> Try to follow here : http://forum.xda-developers.com/showthread.php?t=2203166
Only copy & past is not possible in this case
thanks
thanks mkruseonline, this link is what I need, already hit the thanks button for you
you make a folder, put everything in that folder and compress it ? What extensions you choose ( rar or zip) ?
longrio2 said:
you make a folder, put everything in that folder and compress it ? What extensions you choose ( rar or zip) ?
Click to expand...
Click to collapse
Read first Post on Page 2
The reply up there I ask you becos' it's wrong, You can do this: Multi Select all the file > compress by zip > change to .apk. That done You need to decompile/recompile when customize the code, but now no need
Never unpack apks! This way you will lose signature.
Just take your apk,open it with WinRAR/7zip without changing the extension,go to res/drawable-hdpi and drag the files there. Then push your SystemUI again to your phone and it should work
If in the drawable-hdpi package there are also .9 pngs decompiling the apk may be necessary
If no one manages to get it working I will make a flashable zip
I think decompile is also necessary if xml Files are changed
---------- Post added at 03:07 PM ---------- Previous post was at 02:46 PM ----------
.9.png Files are inside.
dariolob said:
If no one manages to get it working I will make a flashable zip
Click to expand...
Click to collapse
hope you can do it... better easy way :good:
thanks
mission accomplished for me
i was looking for this mod and i followed instructions on first post, but it doesn't work, because the new compiled systemUI.apk is not recognized by the phone (you can notice it when you see a different icon instead the red one).
The key is DO NOT ESTRACT any file, but only open systemUI.apk with 7zip, go to drawable-hdpi folder and drag files into it, images will be overwritten (i used only 2 files for this test, notification header and panel), then you can close 7zip.
Dariolob suggest is correct, do not extract files from systemUI.
For xposed tweak i followed instructions from youtube, search for "Make Galaxy Note look like the Galaxy S4"
sorry i cant post outside links
here is my mod:
Question
longrio2 said:
Hi all, I'm newbie, and I want to share you guys the guide to make our status bar look like the Galaxy S4 (Specialy it has s4 white icon) .
-First you need to download the attachment, then extracted it
-Now you have to decompile ( or change extension to .zip and extracted it i guess) the systemUI.apk
-Next, find the drawable-hdpi folder in your systemUI.apk and replace it which the one you extracted in the attachment
-Recompile ( or compress by zip and change to .apk )
-Copy systemUI.apk mod to system/app ( remember to BACKUP your original apk)
-Use Xposed Tweakbox to make status bar full transparent and the clock to white, reboot and enjoyed
And sorry for my bad english :silly:
Click to expand...
Click to collapse
Hello, I have a few questions.
Need Root for it?
And it interfere with software update?
Thank you very much !

Categories

Resources