FORUMS
Remove All Ads from XDA

[THEMING -Basic] - How to EDIT SystemUI.apk/Apps Background

691 posts
Thanks Meter: 373
 
By emompong, Senior Member on 17th June 2012, 02:09 AM
Post Reply Email Thread
3rd December 2014, 11:34 AM |#141  
Senior Member
Flag Cooch Behar
Thanks Meter: 1,179
 
More
Its perfect for newbies
 
 
25th February 2015, 10:33 PM |#144  
PineSmokes's Avatar
Member
Thanks Meter: 6
 
More
Wink For anyone having issues with Force Closing after reboot
Don't forget to use 7-Zip to copy "AndroidManifest.xml" and "META-INF" Folder to your modified APK. If you forget to do this you will always get force closes and have no status bar. This is copying the signature of the original app, also you need to set the permissions if you have forgotten, I prefer to use adb to set permissions. These are the commands replacing original posters step number 9 and completing his tutorial, the recompile.jar and decompile.jar are just the best versions of APKTools to use for the job and simplifies life (some people won't have SystemUI.apk in "/system/priv-app/" and will need to change that location in step 17):

----- Recompiling:
9. java -jar recompile.jar b SystemUI SystemUI-Almost.apk
----- Zipalign
10. zipalign -f -v 4 SystemUI-Almost.apk SystemUI-Done.apk
----- Copy Signature:
11. Drag "META-INF" and "AndroidManifest.xml" from original APK to SystemUI-Done.apk with 7-Zip
----- Push to sdcard:
12. ## Connect phone in developer mode for ADB to work
13. adb push SystemUI-Done.apk /sdcard/SystemUI.apk
----- Installing:
14. adb shell
15. su
16. mount -o rw,remount /dev/block/mmcblk0p1 /system
17. cat /sdcard/SystemUI.apk > /system/priv-app/SystemUI.apk
18. chmod 644 /system/priv-app/SystemUI.apk
19. Now just exit out and restart your phone


Feel free to add these to the original post
Attached Files
File Type: jar recompile.jar - [Click for QR Code] (2.53 MB, 22 views)
File Type: jar decompile.jar - [Click for QR Code] (2.53 MB, 24 views)
File Type: zip zipalign.zip - [Click for QR Code] (171.1 KB, 16 views)
11th May 2015, 10:42 AM |#145  
iceman004's Avatar
Member
Thanks Meter: 4
 
More
how i can add toggle buttons plz help
18th July 2015, 06:31 PM |#146  
Junior Member
Thanks Meter: 1
 
More
Helped me a lot

Sent from my GT-S5360 using XDA Free mobile app
20th August 2015, 01:16 PM |#147  
xswordcrash's Avatar
Junior Member
Thanks Meter: 1
 
More
For newbies. (The Hard Way)
Quote:
Originally Posted by emompong

Hi there! Just wanna share..

Just a basic background on how to theme your ROMS. - ofcourse, give thanks to the developer of your ROMs! .

I made this thread for those users who have personal wishes for their Phones. Ofcourse, ROM developers cannot please all of its users. so just make your own and be happy!.

I just made it easy for easy understanding and for the newbies.

Tried so many times and tested

I've already tried editing the systemUI.apk of different ROMs.

Here's what I did :

FIRST : Download 7zip to open the archived apk. - that's free.

Extracting first the Zip File..
(make sure you copy the original before extracting it for back up)

1. Download the ROM.zip and extract it to your PC.
2. Go to \system\app\SystemUI.apk\res\drawable-ldpi\
3. View the PNG files you wanted to change and make sure to remember its' file name.
4. After editing/changing the file/image you wanted, you can save it anywhere from your PC, let's say on your Desktop.
- Make sure that the file name still remains as is..

*After you're done editing, updating the PNG files you wish to change, follow this steps to update the zip file :

NOTE : You can apply transparency by editing the PNG file to photoshop by reducing the opacity of the image

1. Go to the original ZIP file of ROM.Zip from your PC
2. Right Click the folder and select 7 ZIP -->> open archive
3. Close all of windows/Browers (or minimize)
4. Go to \system\app\SystemUI.apk\res\drawable-ldpi\ and it will open a new window of 7zip showing the files inside the zip.
5. Now, given your edited PNG files or downloaded png files (assuming that files are located in your desktop). - Click and simply DRAG the file(s) from your desktop to \system\app\SystemUI.apk\res\drawable-ldpi\ .
6. It will ask you to confirm the action for it will replace the existing PNG file that you're trying to change.
7. Make sure that the file name of the one you edited/downloaded are THE SAME. -
8. After dragging and replacing the files you wanted, then you're good to go!
9. Close the 7zip window and that's it!.

You can now install the .zip by copying the UPDATED zip file to your SD Card.
(Note: Make sure to copy the updated one, not the backed up one)

Install the zip file from the original thread's instructions and reboot twice.

After that, you have now a customized systemUI.apk.


For those who do not want to reinstall the whole package.. follow these steps:


1. I assumed that you have the zip file of your ROM.
2. Extract it and go to \system\app\
3. Separate the SystemUi.apk - put it on your desktop. create a back up,
Right Click SystemUi.apk and select 7 ZIP -->> extract here - just to view the files you wanted to change.
Just go the folder and search for the PNG files.

4. Right Click SystemUi.apk and select 7 ZIP -->> open archive.
5. Go to \res\drawable-ldpi\
6. Click and simply DRAG the PNG file(s) from your desktop to \res\drawable-ldpi\
7. It will ask you to confirm the action for it will replace the existing PNG file that you're trying to change.
8. Make sure that the file name of the one you edited/downloaded are THE SAME. -
9. After dragging and replacing the files you wanted, then you're good to go!

APPLYING :

1. Download and install rootexplorer.apk
2. Download the png files you wanted to update.
3. Copy and paste the NEW SystemUi.apk that you have updated/Edited to your SD card.
4. Open root explorer in your galaxy y then go and tap MOUNT R/W.
5. Go to \SDCard and go to new SystemUI.apk that you have updated.
6. Long press the file and select copy
7. Press back and go to \system\app - tap MOUNT R/W at the top.
8. Paste the new SystemUI.apk from there.
(Note : You will encounter a lot of force closes for the exixsting systemui is currently being used by your phone. - just ignore it a lot and scroll down to look for the new SystemUI.apk.
9. Once you get there, long press on it and select permissions:
from the pop up, make the checked one like this :

•___•____ •
•___ .____.
•___ .____.

where Dots are the checked one - Bigger dots

After encountering a lot of force closes, then reboot the phone and that's it!
(Force Closes are normal, DON't PANIC - logically, you are currently using your systemUI.apk so just ignore it

NOTE : You can also apply the same steps in editing system files apps, just edit the .png files and locate it using 7zip(when you already opened it). Have a little LOGIC on how to edit system app background - same process. just different apk files and directory



HIT THANKS IF I HELPED YOU - IT COSTS NOTHING ;]

Dude you don't need a pc for this one, all you need is the files. (we'll downloading the files in the pc is much better specially when you're having trouble with the icons that you really want to use) You can mostly do it in the phone itself, just install root explorer and copy systemUI.apk to backup folder then extract it and edit it, then recompile systemUI.apk into .zip and (making it systemUI.apk.zip) then just remove the .zip and cut it to the folder where you took it, change the permissions and reboot it.

I think that's easier.
18th February 2016, 04:28 AM |#148  
Junior Member
Thanks Meter: 0
 
More
How to change bg image in settings apk
30th April 2016, 10:09 AM |#149  
Senior Member
Flag Kerala
Thanks Meter: 99
 
More
Thanks
2nd April 2017, 06:40 PM |#150  
Senior Member
Flag Mumbai
Thanks Meter: 471
 
Donate to Me
More
Quote:
Originally Posted by emompong

hi there! Just wanna share..

Just a basic background on how to theme your roms. - ofcourse, give thanks to the developer of your roms! .

i made this thread for those users who have personal wishes for their phones. Ofcourse, rom developers cannot please all of its users. so just make your own and be happy!.

i just made it easy for easy understanding and for the newbies.

tried so many times and tested

i've already tried editing the systemui.apk of different roms.

Here's what i did :

First : Download 7zip to open the archived apk. - that's free.

extracting first the zip file..
(make sure you copy the original before extracting it for back up)

1. Download the rom.zip and extract it to your pc.
2. Go to \system\app\systemui.apk\res\drawable-ldpi\
3. View the png files you wanted to change and make sure to remember its' file name.
4. After editing/changing the file/image you wanted, you can save it anywhere from your pc, let's say on your desktop.
- make sure that the file name still remains as is..

*after you're done editing, updating the png files you wish to change, follow this steps to update the zip file :

note : You can apply transparency by editing the png file to photoshop by reducing the opacity of the image

1. Go to the original zip file of rom.zip from your pc
2. Right click the folder and select 7 zip -->> open archive
3. Close all of windows/browers (or minimize)
4. Go to \system\app\systemui.apk\res\drawable-ldpi\ and it will open a new window of 7zip showing the files inside the zip.
5. Now, given your edited png files or downloaded png files (assuming that files are located in your desktop). - click and simply drag the file(s) from your desktop to \system\app\systemui.apk\res\drawable-ldpi\ .
6. It will ask you to confirm the action for it will replace the existing png file that you're trying to change.
7. Make sure that the file name of the one you edited/downloaded are the same. -
8. After dragging and replacing the files you wanted, then you're good to go!
9. Close the 7zip window and that's it!.

You can now install the .zip by copying the updated zip file to your sd card.
(note: Make sure to copy the updated one, not the backed up one)

install the zip file from the original thread's instructions and reboot twice.

after that, you have now a customized systemui.apk.


for those who do not want to reinstall the whole package.. Follow these steps:


1. I assumed that you have the zip file of your rom.
2. Extract it and go to \system\app\
3. Separate the systemui.apk - put it on your desktop. Create a back up,
right click systemui.apk and select 7 zip -->> extract here - just to view the files you wanted to change.
Just go the folder and search for the png files.

4. Right click systemui.apk and select 7 zip -->> open archive.
5. Go to \res\drawable-ldpi\
6. Click and simply drag the png file(s) from your desktop to \res\drawable-ldpi\
7. It will ask you to confirm the action for it will replace the existing png file that you're trying to change.
8. Make sure that the file name of the one you edited/downloaded are the same. -
9. After dragging and replacing the files you wanted, then you're good to go!

applying :

1. Download and install rootexplorer.apk
2. Download the png files you wanted to update.
3. Copy and paste the new systemui.apk that you have updated/edited to your sd card.
4. Open root explorer in your galaxy y then go and tap mount r/w.
5. Go to \sdcard and go to new systemui.apk that you have updated.
6. Long press the file and select copy
7. Press back and go to \system\app - tap mount r/w at the top.
8. Paste the new systemui.apk from there.
(note : You will encounter a lot of force closes for the exixsting systemui is currently being used by your phone. - just ignore it a lot and scroll down to look for the new systemui.apk.
9. Once you get there, long press on it and select permissions:
From the pop up, make the checked one like this :

•___•____ •
•___ .____.
•___ .____.

Where dots are the checked one - bigger dots

after encountering a lot of force closes, then reboot the phone and that's it!
(force closes are normal, don't panic - logically, you are currently using your systemui.apk so just ignore it

note : You can also apply the same steps in editing system files apps, just edit the .png files and locate it using 7zip(when you already opened it). Have a little logic on how to edit system app background - same process. Just different apk files and directory



hit thanks if i helped you - it costs nothing ;]

awesome guide.. Very helpfull
Post Reply Subscribe to Thread

Tags
android theming, galaxy y, s5360, theming, xda

Guest Quick Reply (no urls or BBcode)
Message:
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes