[MOD][ZIP][GUIDE] Navigation bar on Note 3 - 4.3 - T-Mobile Samsung Galaxy Note 3

This is a guide to enable the navbar on the Galaxy Note 3 running Android 4.3 (NOT an overlay!). I can't guarantee this will work with any xposed modules or navbar mods. This will put an AOSP-like navigation bar on your Note 3, NOT a TouchWiz one! Which means from left to right, the buttons are: Back, Home, Recent.
[UPDATED 12/22/13] - Added back_ime (down arrow instead of back when keyboard is open)! Zip updated, steps are the same. See screenshots.
!!If you are on 4.4.2 KitKat!!
You do not need to do anything with SystemUI, Samsung left all the important stuff in there. Just download GravityBox Xposed module for KitKat, and enable navigation bar.
You need to know how to decompile SystemUI.apk, modify it, then recompile it.
This is for DEODEXED roms!
1. Decompile SystemUI.apk
2. Go to the folder SystemUI.apk was decompiled in. Open res/values/drawables.xml and add the following line, then save it:
Code:
<item type="drawable" name="tw_navigationbar_bg">#ff000000</item>
3. Open /res/values/public.xml, find this line, delete it, then save:
Code:
<public type="drawable" name="tw_navigationbar_bg_land" id="0x7f020194" />
4. Open the attached zip file, find and open the folder "drawable". Copy all 5 xml files and paste them in res/drawable/, replacing the existing files.
5. Delete the files "tw_navigationbar_bg.png" and "tw_navigationbar_bg_land.png" from /res/drawable.
6. Find the folder "drawable-xhdpi" in the attached zip and copy it to res/, this will add a new folder in that directory.
7. Find and open the folder "layout" in the attached zip and copy the xml file to res/layout, replacing the existing xml.
8. Compile the decompiled SystemUI.apk
7. Put the new SystemUI.apk in the system directory on your phone, change permissions to rw-r--r--. Now cut the new SystemUI.apk to the clipboard (ES file browser) and go to system/app and find the old SystemUI.apk.
9. Rename the old SystemUI.apk to SystemUI.apk.bak, and quickly paste the new SystemUI.apk into system/app. Be quick about pasting new apk, the phone will restart about 5 seconds after renaming the old one.
10. Add the following line to your build.prop:
Code:
qemu.hw.mainkeys=0
11. If your phone did not reboot on it's own, reboot the phone, and you should have a navigation bar! There are various guides on how to disable the capacitive nav buttons, so I won't cover that here.
Thanks to @gharrington for writing up this guide for the S4 on Android 4.2.2; I used that as a starting point!

Here is a pre-edited SystemUI.apk you can use (attached below). This removes any themes you have!
[UPDATED 12/22/13] - Added the down arrow instead of back when keyboard is open!
[UPDATED 12/24/13] - Made a flashable zip! If you want to flash a zip theme, just flash the attached zip after flashing your theme. Then either flash Navigation_Bar_ON.zip from this post or add qemu.hw.mainkeys=0 to your build.prop if you haven't already
[UPDATED 03/10/14] - KitKat users do not need this mod, the stock SystemUI has everything it needs. See big red text for instructions.
For DEODEXED: Copy the new SystemUI.apk to /system, change permissions to rw-r--r--. Go to /system/app and rename the old SystemUI.apk to SystemUI.apk.bak, then move the new SystemUI.apk to /system/app. Flash the Navigation_Bar_ON.zip from this post (thanks @jovi23!) in TWRP or CWM. Reboot, and done!
If your ROM doesn't have init.d support, add "qemu.hw.mainkeys=0" (without quotes) to your build.prop, reboot, and done!
For ODEXED: Follow the same steps above, but also rename SystemUI.odex to SystemUI.odex.bak.
DO NOT FLASH THE ZIP IF YOU ARE ON 4.4.2
You do not need to do anything to SystemUI.apk, Samsung left everything it needs in there. Just get GravityBox Xposed module for KitKat and enable the navigation bar.
If you wish to use this SystemUI.apk in your ROM, all I ask is that you give credit

Any screenshot thanks?I forgot, first
Sent from my SM-N900T using Tapatalk

JT man said:
Any screenshot thanks?
Click to expand...
Click to collapse
Oh yes, sorry. I attached one to the second post.

This is what i been looking for have to look into how to decompile and recompiling the systemUI looks really complicated
Sent from my SM-N900T using XDA Premium 4 mobile app

Would anyone mind testing this SystemUI.apk? Need to be deodexed. Copy it to /system/, then change permissions to rw-r--r--. Now move it over to /system/app. Be sure to rename your old one to SystemUI.apk.bak, incase it doesn't work. I made this from a stock, deodexed ROM, so it should work, but I want it tested by someone else before I post it up top.
This will get rid of a lot of theming, so if you are themed, beware, as I haven't tested it that.
Moved to second post.

Hmm... after decompiling my SystemUI.apk I don't see those 2 files from steps 2 and 3

fredrick1213 said:
Hmm... after decompiling my SystemUI.apk I don't see those 2 files from steps 2 and 3
Click to expand...
Click to collapse
Hmm, that's odd, I'm sure the apk needs those. Were there any errors on decompile? Also, did you install framework-res.apk, SystemUI.apk, and twframework-res.apk into apktool?

gakio12 said:
Hmm, that's odd, I'm sure the apk needs those. Were there any errors on decompile? Also, did you install framework-res.apk, SystemUI.apk, and twframework-res.apk into apktool?
Click to expand...
Click to collapse
Ok so my problem was that I wasn't installing SystemUI.apk but even after installing it I don't see the public file in res/values

fredrick1213 said:
Ok so my problem was that I wasn't installing SystemUI.apk but even after installing it I don't see the public file in res/values
Click to expand...
Click to collapse
Can you open up the SystemUI.apk in 7z to see if the public.xml file is in res/values?

gakio12 said:
Can you open up the SystemUI.apk in 7z to see if the public.xml file is in res/values?
Click to expand...
Click to collapse
This is really weird. It doesn't even have the values folder

fredrick1213 said:
This is really weird. It doesn't even have the values folder
Click to expand...
Click to collapse
If you can attach the SystemUI.apk, I will take a look at it.

gakio12 said:
If you can attach the SystemUI.apk, I will take a look at it.
Click to expand...
Click to collapse
Here ya go

fredrick1213 said:
Here ya go
Click to expand...
Click to collapse
Thanks. I think this is because you are running an ODEXED ROM, correct? From your sig I assume it is pure stock TouchWiz, just rooted. You can try using my SystemUI.apk that I posted a few posts back, but you would need to rename SystemUI.odex to SystemUI.odex.bak AND SystemUI.apk to SystemUI.apk.bak, just so you get backups of existing files.
When I was doing it, my phone would reboot on it's own 5 seconds after renaming SystemUI.apk, so I only had 5 seconds to put the new one in there. This is where TWRP really helped.

In your screen shot - The Nav Bar looks like it's hiding the very bottom of the screen - Does this mod take into account the presence of the Nav Bar - And shift the display up - ie; is the Nav Bar hiding the Dock?
Sent from my SGH-I317 using Tapatalk

Yes, this mod is an actual navbar. It does not hide the dock. I will post another screenshot.

gakio12 said:
Yes, this mod is an actual navbar. It does not hide the dock. I will post another screenshot.
Click to expand...
Click to collapse
Thanks - And one other question - Are you doing this all on the phone - or are you doing any of it on the pc? .... I just read through the first page very quickly..
Sent from my SM-N900W8 using Tapatalk 2

shaggyskunk said:
Thanks - And one other question - Are you doing this all on the phone - or are you doing any of it on the pc? .... I just read through the first page very quickly..
Click to expand...
Click to collapse
I did almost all on the PC, only part I did on the phone was move the new SystemUI.apk into place. There is a stock SystemUI.apk I posted in post #6 if you want to give that a try (must be deodexed). If you do give it a try, please let me know how it works out

Anyway of making it transparent and also is there a way to enable 3 dot menu?
Sent from my SM-N900T using Tapatalk

gakio12 said:
Thanks. I think this is because you are running an ODEXED ROM, correct? From your sig I assume it is pure stock TouchWiz, just rooted. You can try using my SystemUI.apk that I posted a few posts back, but you would need to rename SystemUI.odex to SystemUI.odex.bak AND SystemUI.apk to SystemUI.apk.bak, just so you get backups of existing files.
When I was doing it, my phone would reboot on it's own 5 seconds after renaming SystemUI.apk, so I only had 5 seconds to put the new one in there. This is where TWRP really helped.
Click to expand...
Click to collapse
gakio12 said:
I did almost all on the PC, only part I did on the phone was move the new SystemUI.apk into place. There is a stock SystemUI.apk I posted in post #6 if you want to give that a try (must be deodexed). If you do give it a try, please let me know how it works out
Click to expand...
Click to collapse
I followed your advice and it worked! I now have the navbar. I'm odexed btw and it still worked. Thanks!

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!

[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.

[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 !

[GUIDE][MOD] Enable navigation bar 4.2.2

This is a quick dev guide to enable navigation bar for S4.
Decompile SystemUI.apk go to res/values/drawables and add:
Code:
[COLOR=#8b008b]<item [COLOR=#ff0000]type[/COLOR][COLOR=#0000ff]="drawable"[/COLOR] [COLOR=#ff0000]name[/COLOR][COLOR=#0000ff]="tw_navigationbar_bg"[/COLOR]>[/COLOR]#ff000000[COLOR=#8b008b]</item>[/COLOR]
Now download attached files and copy files to corresponding folders in SystemUI.apk if folder does not exist(drawables-xhdpi) create it.
Compile SystemUI.apk and push to device (nothing will happen yet) Just to check device boots fine.
Now use any buil.prop editor and add line:
Code:
qemu.hw.mainkeys=0
You can also enable it now through framework-res method.
Reboot and your done.
Please hit thanks and give credits.
Hi OP,
This looks just what I've been waiting for - if only there was a way to disable the stock menu and back buttons; my only gripe with the S4 is that I'm always touching one of theses buttons accidentally
JibbaJoy said:
Hi OP,
This looks just what I've been waiting for - if only there was a way to disable the stock menu and back buttons; my only gripe with the S4 is that I'm always touching one of theses buttons accidentally
Click to expand...
Click to collapse
This can easily be done when I find time I will add how to.
Sent from my GT-I9505 using xda premium
works perfect but no text under buttons below could you add them
I can´t find the /values/drawables after extracted the SystemUI.apk ? And where to add the following code please.
<item type="drawable" name="tw_navigationbar_bg">#ff000000</item>
missing /values/drawables
https://dl.dropboxusercontent.com/u/41923164/Untitled.png
janjan said:
I can´t find the /values/drawables after extracted the SystemUI.apk ? And where to add the following code please.
<item type="drawable" name="tw_navigationbar_bg">#ff000000</item>
missing /values/drawables
https://dl.dropboxusercontent.com/u/41923164/Untitled.png
Click to expand...
Click to collapse
you have to put <item type="drawable" name="tw_navigationbar_bg">#ff000000</item> inside drawables.xml, you can find it under decompiled SystemUI.apk /res/values
edit: copy the files to SystemUI.apk/res and add the line qemu.hw.mainkeys=0 with root explorer (text editor mode) in build.prop
bruzski said:
you have to put <item type="drawable" name="tw_navigationbar_bg">#ff000000</item> inside drawables.xml, you can find it under decompiled SystemUI.apk /res/values
edit: copy the files to SystemUI.apk/res and add the line qemu.hw.mainkeys=0 with root explorer (text editor mode) in build.prop
Click to expand...
Click to collapse
But after decompiled SystemUI.apk. /res/values is missing. Se the picture which i post above. thanks
janjan said:
But after decompiled SystemUI.apk. /res/values is missing. Se the picture which i post above. thanks
Click to expand...
Click to collapse
decompiled SystemUI.apk doesn't seem complete !! do you get errors while decompiling ? what version of apktool do you use?
I am using APK-Multi-Tool-Stable-RELEASE which is the latest version. no error during decompiling.. Which version do you use? Iam going to decompile it once again.
Edit.. still missing https://dl.dropboxusercontent.com/u/41923164/missing.png
i use ApkManager V6.1, works great!
Deleted
it seems this method is not working for me. i followed the instructions on the OP
include framework-res.apk, twframework-res.apk with "apktool if"
decomplie systemui.apk
modify res/values/drawables.xml to include <item type="drawable" name="tw_navigationbar_bg">#ff000000</item>
copy and replace files from the Navigation.zip into the res folder
recompile systemui.apk
i get a lot of @Styles errors and no default warnings when i try to compile
I tried using both latest version of apktool v152 and aapt from feb 2013 method and apkmanager v6.1 method and the results are the same
after i cleared the @style warnings with the "+" solution I am able to compile systemui.apk but when I copy it onto my device I lost the status bar and I still cant enable the navigation bar.
anyone else getting the same results?
TIA
Decompile errors
I'm trying to decompile SystemUI.apk (copied it from my phone "system\app" to "\place-apk-here-for-modding" folder) using ApkManager V6.1.
I'm getting an error message. Can somebody help please ? Log is attached.
Thanks!
Ok. I was able to decompile SystemUI.apk using ApkManager V6.1. The problem was in missing framework-res.apk and twframework-res.apk in "apktool" folder.
Now I'm getting errors on apk compilation. Please take a look at the attached log file. What am I missing now ?
Thank you!
hocgwai said:
it seems this method is not working for me. i followed the instructions on the OP
include framework-res.apk, twframework-res.apk with "apktool if"
decomplie systemui.apk
modify res/values/drawables.xml to include <item type="drawable" name="tw_navigationbar_bg">#ff000000</item>
copy and replace files from the Navigation.zip into the res folder
recompile systemui.apk
i get a lot of @Styles errors and no default warnings when i try to compile
I tried using both latest version of apktool v152 and aapt from feb 2013 method and apkmanager v6.1 method and the results are the same
after i cleared the @style warnings with the "+" solution I am able to compile systemui.apk but when I copy it onto my device I lost the status bar and I still cant enable the navigation bar.
anyone else getting the same results?
TIA
Click to expand...
Click to collapse
I just noticed that I have exactly the same problem as you are. Were you able to get it working ?
Its is more difficult decompiling and recompiling S4 SystemUI and I don't have time to write a tut now so 2 options
Use this you can turn nav bar on off with settings app or
Use this SystemUI.apk I have done the work for you it will recompile as normal and the only mod is %battery apart from that it is stock.
gharrington said:
Its is more difficult decompiling and recompiling S4 SystemUI and I don't have time to write a tut now so 2 options
Use this you can turn nav bar on off with settings app or
Use this SystemUI.apk I have done the work for you it will recompile as normal and the only mod is %battery apart from that it is stock.
Click to expand...
Click to collapse
Thank you !
One question before I proceed with your advice. I have Canadian SGH-I337M version with rooted stock I337MUMUAMDJ rom.
Can I use your SystemUI.apk (%battery mode) with my ROM ?
fmark said:
Thank you !
One question before I proceed with your advice. I have Canadian SGH-I337M version with rooted stock I337MUMUAMDJ rom.
Can I use your SystemUI.apk (%battery mode) with my ROM ?
Click to expand...
Click to collapse
People have reported this working but just make a backup first nothing ventured nothing gained
All I do is have 2 zips on my sdcard the original and the modded one if the mod fails simply boot into recovery and reflash original it takes 1 min to be up and running again
fmark said:
Ok. I was able to decompile SystemUI.apk using ApkManager V6.1. The problem was in missing framework-res.apk and twframework-res.apk in "apktool" folder.
Now I'm getting errors on apk compilation. Please take a look at the attached log file. What am I missing now ?
Thank you!
Click to expand...
Click to collapse
If you get an error in decompiling the apk, remove the "system_bar_settings_view.xml" and "system_bar_notification_panel_title.xml" from the layout folder
(SystemUI.apk\res\layout\). Don't forget to put the files back after compiling the modded statusbar.
:fingers-crossed:
bruzski said:
If you get an error in decompiling the apk, remove the "system_bar_settings_view.xml" and "system_bar_notification_panel_title.xml" from the layout folder
(SystemUI.apk\res\layout\). Don't forget to put the files back after compiling the modded statusbar.
:fingers-crossed:
Click to expand...
Click to collapse
Decompiling is fine - no errors. I'm getting errors when compiling.
---------- Post added at 07:29 AM ---------- Previous post was at 07:26 AM ----------
gharrington said:
People have reported this working but just make a backup first nothing ventured nothing gained
All I do is have 2 zips on my sdcard the original and the modded one if the mod fails simply boot into recovery and reflash original it takes 1 min to be up and running again
Click to expand...
Click to collapse
No, unfortunately your systemui.apk is not compatible with my Rom.
I need to solve compilation errors. Any advice on that?
Thank you!

[MOD][TW KK][Guide][How To]Animated PullDown Background AND/OR Pulldown BAR

An example of what I mean by ANIMATED STATUS BAR PULL DOWN BACKGROUND can be found HERE
Click to expand...
Click to collapse
This is the thread I followed to get a feel for how to do it. ---> http://forum.xda-developers.com/showthread.php?t=1143675
Click to expand...
Click to collapse
Ok, after seeing a few posts a few days ago talking about people having animated status bar pulldown backgrounds, I decided to do some research because I had never heard of this before.
I noticed that for some reason the mod stopped with ICS.
So I decided to create a thread on how to add this feature to your ROM, or the ROM you are currently running.
The edits are very simple, actually, pretty much exact to the GB version of the mod.... however, they can be a little time consuming based on just how many images you would like to add to your animation.
In POST #2, I have posted a guide on how to add add this feature to your TOUCHWIZ KITKAT 4.4.2 ND8/NDC ROM. (other phones also running touchwiz kitkat should be relatively similair, depending on if your systemui.apk is where the background is pulled from.)
Click to expand...
Click to collapse
In POST #3, I have posted a guide for user/themer's, on how to create your own animations and use them with this mod.
Click to expand...
Click to collapse
In POST #4, I have posted a guide on how to add animation to the statusbar PULLDOWN bar.
Click to expand...
Click to collapse
In POST #6 I would like to link to animations posted by you... To make it easier to find the animations... Why not have them posted in the thread explaining how to create them... But I'll need your help on this one.
Click to expand...
Click to collapse
​
I would like to send a thank you to....
@bilgerryan
@tdunham
@dazednconfused
@CNexus
and
@erikalin ...
Without your answers to a few questions I've had or tuts on how to do something... I wouldn't have this mod... Or a few others that I've put out....
So thank you guys for your help.
Dev instructions
Dev instructions on how to add this mod to your touchwiz kitkat 4.4.2 based rom is located below:
Please remember to hit thanks if you like or use this mod.​
NOTE: To get this to work with your rom... Read THIS POST..... To customize the animation read POST #3 and POST #4.
Click to expand...
Click to collapse
Step 1 - Download the AnimatedPulldownMod.zip I have attached below.
Step 2 - Open the zip and extract the two files somewhere on your desktop.
Step 3 - Decompile your systemui.apk from your rom using apktool or what ever tool you use to decompile apps.
Step 4 - Navigate to the res/drawable folder in your decompiled app and the "pulldown.xml" from my zip to this folder.....
Step 5 - Navigate to the res/drawable-xhdpi folder, (or whatever folder your rom uses), and do the same for the "pulldown_animxxxx.png" images into your open folder..... You can now delete my files.
Step 6 - Navigate to "res/layout" folder and open "status_bar_expanded.xml" open it with an xml editor such as notepad++ or virtuos ten studio.
Step 7 - In line 2 of that file you should see this..
<com.android.systemui.statusbar.phone.notificationpanelview android:id="@id/notification_panel" android:background="@drawable/twcustom"................
Click to expand...
Click to collapse
change the background to look like this android:background="@drawable/pulldown" so the image background gets directed to the pulldown.xml file you just put in your res/drawable folder.
Step 8 - Save and close this file now to prevent any conflicts while recompiling the app.
Step 9 - Once you have the images in the proper folder, edited the status_bar_expanded.xml file, and put the pulldown.xml file in your res/drawable folder... Recompile your apk and name it something different, like new.apk...
Step 10 - Open both the original systemui.apk and the new new.apk you just built, with 7-zip (that is what i recommend)
Step 11 - Drag the resourses.arsc and classes.dex file from the new.apk into the original systemui.apk.... Do the same for the res folder in the new.apk
Step 12 - Add to your rom and enjoy!!!
Click to expand...
Click to collapse
Dev/Themer Instructions
THEMER INSTRUCTIONS FOR CREATING YOUR OWN ANIMATIONS AND EDITING THE ABOVE FILES TO WORK WITH YOUR NEW ANIMATIONS.
Please remember to hit thanks if you like or use this mod.​
This guide is assuming you have either performed the DEV MOD in the post above or you are on a rom that has.... AND..... you already have the custom images you would like to use for your animation. If you do not, I recommend reading the guide created by @erikalin on how to create your own images
erikalin said:
If you ever want to learn, the tutorial I made up on another device thread shows the process. I made a video tutorial too - me talking and walking through the process of grabbing a video and turning it into an animation. FWIW, just sharing the love. Link is: written tutorial or video tutorial. Just replace with your own image sizes and file names, same process.
Click to expand...
Click to collapse
As stated above, the process is the same.
You could also search GOOGLE or XDA FORUMS for how to create frame by frame png animations... WARNING!!! It can be time consuming.
NOTE:Read POST #4 to learn how to create a flashable zip for other users of your, and all other roms based on your phone carriers android version that have the mod above, to use.
Click to expand...
Click to collapse
Ok, so if you want to use a different animation than what i have inside the mod, you will have to edit the xml inside of Systemui.apk.
Step 1 - Decompile the SystemUI.apk that already has the mod described in POST #2
Step 2 - Navigate to the res/drawable folder and open pulldown.xml
Step 3 - Count HOW MANY images are in your animation
Step 4 - Add or remove these lines
<item android:duration="100" android:drawable="@drawable/pulldown_animXXXX" />
Click to expand...
Click to collapse
in that xml file you just opened to match the amount of images in your animation (see the next step to see what to name the images)
(THIS FILE ONLY CONTAINS THIS SPECIFIC MOD... DO NOT WORRY ABOUT BREAKING ANYTHING ELSE IF YOU MESS UP...OTHER THAN THE SYSTEMUI FORCE CLOSING WHEN REBOOTING....THIS IS WHERE THE BACKUP COMES IN HANDY.... JUST FOLLOW THE NEXT STEP AND YOU WILL BE OK) (USE THAT FILE AS A TEMPLATE FOR HOW YOURS SHOULD LOOK ONCE FINISHED) (REMEMBER TO HIT SAVE ONCE YOU ARE DONE EDITING THIS XML FILE.)
Step 5 - Rename your images to "pulldown_animXXXX.png" ... replacing the "XXX" with numbers starting at 0 ---> so if you have 10 images, you will start with pulldown_anim0 and end with pulldown_anim9
Step 6 - Move those newly named images to the res/drawable-xhdpi folder
Step 7 - Recompile the app and name it something else other than SystemUI.apk
Step 8 - Open BOTH the original SystemUI.apk and the new apk you just created with 7-zip
Step 9 - Drag the "resources.arsc" file, "classes.dex" file and the entire "res" folder from the NEW apk INTO THE ORIGINAL SYSTEMUI.APK
Step 10 - Push the MODIFIED systemui.apk (NOT THE NEW ONE YOU JUST CREATED) into the priv/app folder on you phone with a root explorer and reboot..... or remove the systemui from my zip above and replace with yours and flash.....
Step 11 - ENJOY!!!
Click to expand...
Click to collapse
instructions for adding animated pulldown bar​
Follow this if you are on the STOCK systemui.apk
Step 1 - Download the zip below.
Step 2 - In your decompiled systemui.apk, Navigate to the res/drawable folder and drop all 3 xmls from the zip, into this folder.
Step 3 - Navigate to the res/drawable-xhdpi and drop the images from the zip into this folder.
Step 4 - Recompile the apk and enjoy.
Note: Use the same methods for the previous posts to customize your own animation.... what i did was put the same animation on both the close and open animations.... but you can have one for opening and one for closing... your choice.
Click to expand...
Click to collapse
Click to expand...
Click to collapse
These are instructions courtesy of @talkingmonkeys for how to add the mod if you are using @dazednconfused single bar pulldown mod.
talkingmonkeys said:
Open drawable/tw_close_handle_bg.xml and look for these 3 lines
Code:
<item android:state_pressed="true" android:drawable="@drawable/tw_close_handle_bg_press" />
<item android:state_focused="true" android:drawable="@drawable/tw_close_handle_bg_press" />
<item android:drawable="@drawable/tw_close_handle_bg_normal" />
Replace the above with this
Code:
<item android:state_pressed="true" android:drawable="@drawable/pulldown_bar_on" />
<item android:drawable="@drawable/pulldown_bar_off" />
Click to expand...
Click to collapse
Click to expand...
Click to collapse
reserved
This is where I would like to post links to flashable animations that you guys make using this guide.
As long as it is for a NDC (virgin/boost mobile) or ND8 (sprint) TOUCHWIZ KITKAT 4.4.2 based rom for the Galaxy S3, simply post your zip here with an ANIMATED pic of your animation, I will link it here in this post.
If you follow step 12 in @erikalin tutorial here
you can create an animated preview of the animation to post here for the screenshot....
Click to expand...
Click to collapse
I would like to thank anyone who creates and posts a zip for us to use in advance.... Thank you.
Awesome! I love this mod! I just modified my systemui to include 111 images of the transformer in the other thread ... Changes d from Autobot to decepticon. Thanks for all of your work on this:thumbup::thumbup:
Sent from my SPH-L710 using xda premium
pharmdeon said:
Awesome! I love this mod! I just modified my systemui to include 111 images of the transformer in the other thread ... Changes d from Autobot to decepticon. Thanks for all of your work on this:thumbup::thumbup:
Sent from my SPH-L710 using xda premium
Click to expand...
Click to collapse
sweet... just follow the instructions in post 4 and you can create a flashable zip to use on the updated version of wicked x rom... as it will have the mod implemented according to @bilgerryan.... and any other rom for our phone that decides to implement this mod....
also, im going to use post 6 as a place to post links to the animations for this mod on our phone.. if ya wanna post it here i'll link it in post 6....
and if you follow step 12 in @erikalin tutorial here
you can create an animated preview of the animation to post here for the screenshot....
pharmdeon said:
Awesome! I love this mod! I just modified my systemui to include 111 images of the transformer in the other thread ... Changes d from Autobot to decepticon. Thanks for all of your work on this:thumbup::thumbup:
Sent from my SPH-L710 using xda premium
Click to expand...
Click to collapse
Sweet... guess my issues going above 30 were isolated.... I WAS playing with the animation duration time so that was prolly my issue.
Sent from a Wicked Virgin Mobile Samsung Galaxy S3 running KT747 Kernel on KITKAT Touchwiz.
I wasnt successful turning the 111 image into a zip though. The systemui I modified works, but once I make a zip out of it and flash it, it breaks the apk as before. I went back to the working nandroid and was able to flash the other 28 image one that I put together (I went back and forth between the Autobot and deception anims)
I may be zipping the 111 image XML and images wrong though?? ... I was pretty tired last night when messing around.
Sent from my SPH-L710 using xda premium
pharmdeon said:
I wasnt successful turning the 111 image into a zip though. The systemui I modified works, but once I make a zip out of it and flash it, it breaks the apk as before. I went back to the working nandroid and was able to flash the other 28 image one that I put together (I went back and forth between the Autobot and deception anims)
I may be zipping the 111 image XML and images wrong though?? ... I was pretty tired last night when messing around.
Sent from my SPH-L710 using xda premium
Click to expand...
Click to collapse
If ya wanna post the systemui ya have with the new animation I'll take a look at it.
Sent from a Wicked Virgin Mobile Samsung Galaxy S3 running KT747 Kernel on KITKAT Touchwiz.
I will send shortly
Sent from my SPH-L710 using xda premium
pharmdeon said:
I will send shortly
Sent from my SPH-L710 using xda premium
Click to expand...
Click to collapse
OK. After thinking about it... I do believe that it is my mod....
I don't think I have it set up to ALLOW FOR flashable zips with different amounts of images....
I may have to remove that post or redo the mod....
I would like to test my theory with what you have before I do that tho...
I would also like to state that i am not a dev... So I think its something that I wasn't aware of.....
But again I would like to test it before I go into all of that...
So when ever ya get a chance would be great.... Won't be able to redo the post or the mid for a few more hours.... So no rush... Just whenever ya get a chance.
Sent from a Wicked Virgin Mobile Samsung Galaxy S3 running KT747 Kernel on KITKAT Touchwiz.
OK. first I have to apologize to you @pharmdeon and I have to thank you for discovering this issue before it became widespread.
Your problem IS MY MOD ITSELF and MY INSTRUCTION....
I truly apologize for this mistake and hope ya don't have any hard feelings ... I will work this out and try to get your animation to be flash able.....
For now just use your entire nodded apk since wicked x is really the only custom ROM right now.....
the_original_teknikl said:
OK. first I have to apologize to you @pharmdeon and I have to thank you for discovering this issue before it became widespread.
Your problem IS MY MOD ITSELF and MY INSTRUCTION....
I truly apologize for this mistake and hope ya don't have any hard feelings ... I will work this out and try to get your animation to be flash able.....
For now just use your entire nodded apk since wicked x is really the only custom ROM right now.....
Sent from a Wicked Virgin Mobile Samsung Galaxy S3 running KT747 Kernel on KITKAT Touchwiz.
Click to expand...
Click to collapse
No issuses at all:good::good: ... glad to "help". I am happy that this neat mod is around even if its not perfected, YET:fingers-crossed:. If you need help testing anything let me know (I've done my fare share of testing lately, lol:cyclops
ok. so after some testing and failure... i have come to the conclusion that these will not be simply universal....
they will be rom specific.
the_original_teknikl said:
ok. so after some testing and failure... i have come to the conclusion that these will not be simply universal....
they will be rom specific.
Click to expand...
Click to collapse
I've actually been looking into this myself, because I want to implement the ability to be able to switch between static pulldowns and animated pulldowns for MOAR
What I was thinking is the following (for making ANY number of pulldown images work, including a static one)
In xml, remove the reference to @ drawabe/pulldown (we'll define it via smali)
Add an init.d script that reads SystemUI.apk, checks to see how many pulldown_XX pngs there are and dynamically generates a pulldown.xml file that references each of those files. It then places this pulldown.xml file somewhere in the system (/data, /sdcard whatever)
In the smali, SystemUI, instead of loading a drawable named pulldown from it's resources, loads the pulldown.xml file we created with the script (using the createFromPath method from the Drawable api) and voila, pulldown that animates if there are multiple images, or is static when there is only 1 image.
CNexus said:
I've actually been looking into this myself, because I want to implement the ability to be able to switch between static pulldowns and animated pulldowns for MOAR
What I was thinking is the following (for making ANY number of pulldown images work, including a static one)
In xml, remove the reference to @ drawabe/pulldown (we'll define it via smali)
Add an init.d script that reads SystemUI.apk, checks to see how many pulldown_XX pngs there are and dynamically generates a pulldown.xml file that references each of those files. It then places this pulldown.xml file somewhere in the system (/data, /sdcard whatever)
In the smali, SystemUI, instead of loading a drawable named pulldown from it's resources, loads the pulldown.xml file we created with the script (using the createFromPath method from the Drawable api) and voila, pulldown that animates if there are multiple images, or is static when there is only 1 image.
Click to expand...
Click to collapse
And that's why ur the boss man....
I wish I had the knowledge to add those edits to smali.... But I have only made edits to smali that you and tdunham directed me to in ur flashlight thread.... When I was trying to workout the missing toggle icon issue....
Other than that I have absolutely no knowledge of CREATING lines in smali or working with strings....
I will have to wait to see what you do with the mod on moar to even get an idea of how to do this... But you would prolly become willing to edit it for wicked x before i could figure that out lol...
I AM a quick learner... As some may have noticed..... But that's a little to high above my current level of knowledge to even have something close this MONTH.....
Can't wait to see what ya do with it man............
And I feel kinda honored to see ya taking this mod even further... Even tho I'm technically not the creator.... Just the modder lol.
Sent from a Wicked Virgin Mobile Samsung Galaxy S3 running KT747 Kernel on KITKAT Touchwiz.
I Literally JUST edited post 4 and then i saw your post... .had to add that info to that post and re edit it lol.... cant wait to see what ya can do on that front man.... again... i will look at it to see if i can figure out what you are referring to (and i say that due to my level of knowledge on smali) but i will prolly not see it until i can compare with yours... but by then we can just use urs... maybe lol
CNexus said:
I've actually been looking into this myself, because I want to implement the ability to be able to switch between static pulldowns and animated pulldowns for MOAR
What I was thinking is the following (for making ANY number of pulldown images work, including a static one)
In xml, remove the reference to @ drawabe/pulldown (we'll define it via smali)
Add an init.d script that reads SystemUI.apk, checks to see how many pulldown_XX pngs there are and dynamically generates a pulldown.xml file that references each of those files. It then places this pulldown.xml file somewhere in the system (/data, /sdcard whatever)
In the smali, SystemUI, instead of loading a drawable named pulldown from it's resources, loads the pulldown.xml file we created with the script (using the createFromPath method from the Drawable api) and voila, pulldown that animates if there are multiple images, or is static when there is only 1 image.
Click to expand...
Click to collapse
sitting here thinking about it... i had a thought since ya said the pulldown.xml would be placed SOMEWHERE....
how bout seeing if the init.d script can read another location for the images... such as "sdcard/pulldown animation".... and plays the animation from that location outside of the systemui.apk....... then have the smali point to that location on the sdcard.... just remove the background from systemui.apk completely.... then the animation can be changed by a simply placing the images in that folder and reboot without flashing or modding the apk at all....
there would be no need for users to need a computer to zip the file and no need for flashing.. just place and reboot
because (and i could be wrong) each flashable zip to change animations would need to have a script that removed the current images from the apk before placing the new animation.... otherwise, flashing a 30 image ani over a 50 image ani would give part of the old one playing at the end of the new one cause the pulldown.xml still reads that there are 50 images......
again... thats your front.... but was just an idea i had after reading your post again.... ur way would prolly be better.. this is just a thought that popped up, i always trying to mod things... even if it aint here yet apparently lol

Categories

Resources