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

Search This thread

PineSmokes

Member
Aug 29, 2014
38
7
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 :cool:
 

Attachments

  • recompile.jar
    2.5 MB · Views: 38
  • decompile.jar
    2.5 MB · Views: 35
  • zipalign.zip
    171.1 KB · Views: 26
Last edited:

xswordcrash

Member
Aug 4, 2015
15
1
For newbies. (The Hard Way)

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.
 

Siddhesh.K

Senior Member
Apr 2, 2017
122
472
Mumbai
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
 

Top Liked Posts

  • There are no posts matching your filters.
  • 150
    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 ;]
    3
    nice guide :D

    you can also add this:
    Install via ADB:
    adb root
    adb remount
    adb push [file location in PC] /system/app/systemui.apk
    no need to set permissions via ADB

    also its better to use apk multitool since it can compile/decompile the apk's, if you extract the apk using 7zip or archive softwares you can't read the XML's and you can't compile them properly which results to force close issues when pushing into system
    3
    try and test it out yourself:
    a very powerful apk reverse engineering tool:
    APK MULTITOOL
    1
    nice guide :D

    you can also add this:

    no need to set permissions via ADB

    also its better to use apk multitool since it can compile/decompile the apk's, if you extract the apk using 7zip or archive softwares you can't read the XML's and you can't compile them properly which results to force close issues when pushing into system

    Thanks! not that sure how to use that that's why I made it my on way ;)
    more easy steps and understandable for newbies.

    EDIT :

    Yes you it will require to extract the apk files but just to view the image you wanted to change.. the original apk file will be opened thru 7zip and just replace the selected png. It is not recompiling the apk file at all ;)

    Tried and tested by the way ;)
    1
    how to change default wallpaper?

    Hmm... if you want a default wallpaper, create a folder named "Wallpaper" inside "SYSTEM" folder and create another folder inside it named "default_wallpaper" then put the jpg file you wanted..

    (you can use rootexplorer)

    make sure that the file name of the default wallpaper is "default_wallpaper.jpg"