[MOD][GUIDE][HOW TO]Add Home and Lock Button on Status bar - S5 Toggle Settings - Galaxy Note II Themes and Apps

:good: Hit THANKS button if you like this :good:
=====:Credits:=====
Inspired from a post by @galaxy1210, i got the line code from there..
i dont know anything, i did this just by reading in this forum.. so, many thanks to XDA forum and all members..
so here you go..​
Requirements:
> Any tools to decompile and recompile apk (e.g ApkTool/AndroidMultitool)
> Notepad++
> Apks from your system; SystemUI.apk and framework-res.apk
GUIDE:
STEP 1:
Open your ApkTool/Multitool.. Install framework-res.apk then Decompile your SystemUi.apk
STEP 2:
Go to your Decompiled_apk folder and navigate to res/layout/ and open status_bar.xml with notepad++
This steps will add Home Button on the left side status bar...;
STEP 3:
Find this line;
Code:
<LinearLayout android:orientation="horizontal" android:id="@id/notification_icon_area" android:layout_width="0.0dip" android:layout_height="fill_parent" android:layout_weight="1.0" android:alpha="@dimen/notification_icon_area_alpha">
make an enter space before of line <LinearLayout android
at that blank space, paste the code below;
Code:
<com.android.systemui.statusbar.policy.KeyButtonView android:gravity="right" android:id="@id/home" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_marginRight="0.0dip" android:src="@drawable/ic_sysbar_recent" android:singleLine="true" android:layout_alignParentRight="true" android:contentDescription="@string/accessibility_back" systemui:keyCode="3" systemui:glowBackground="@drawable/ic_sysbar_highlight" />
And this steps will add Lock Button on the right side status bar...;
STEP 4:
Find this line;
Code:
<com.android.systemui.statusbar.policy.Clock android:textSize="@dimen/status_bar_clock_text_size" android:textColor="#ffffffff" android:ellipsize="none" android:gravity="left|center" android:id="@id/clock" android:paddingLeft="3.0dip" android:layout_width="wrap_content" android:layout_height="fill_parent" android:singleLine="true" android:includeFontPadding="false" />
make a space (enter) after of line android:includeFontPadding="false" />..
at that blank space, paste the code below;
Code:
<com.android.systemui.statusbar.policy.KeyButtonView android:id="@id/back" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_marginLeft="0.0dip" android:src="@drawable/ic_sysbar_lock" android:singleLine="true" android:layout_toRightOf="@id/recent_apps" android:layout_alignParentLeft="true" android:contentDescription="@string/accessibility_back" systemui:keyCode="26" systemui:glowBackground="@drawable/ic_sysbar_highlight" />
STEP 5:
And then save the modded status_bar.xml
STEP 6:
make your pict (*.png) for both buttons, name it "ic_sysbar_lock.png" and "ic_sysbar_recent.png" then paste it to folder drawable-xhdpi (res/layout/drawable-xhdpi)
or you can use pictures from the link below..
Follow this steps, if, and only if you want to change with S5 Toggles Setting
STEP 7:
download drawable-xhdpi.rar from the link below, extract it, then copy all pictures (81 pngs), to drawable-xhdpi folder (res/layout/drawable-xhdpi)
STEP 8:
if you want to remove the line below toggles, do this..
navigate to res/values-sw360dp-xhdpi/ and open dimens.xml with notepad++
change the value of quick_setting_button_status_height and quick_setting_button_status_padding into 0.0dip
then save it..
do that again, the same thing with dimens.xml at res/values-sw360dp-hdpi/
change the value of quick_setting_button_status_height and quick_setting_button_status_padding into 0.0dip
then save it..
LAST STEP:
Recompile your SystemUi
Dont forget to copy META-INF and AndroidManifest.xml from your old apk to your new apk (compiled apk)
LINK: https://drive.google.com/folderview?id=0B3YK8r-4xeLXV2p1ZDFWQTMwN2M&usp=sharing
Screenshot as attached, mine looks great with 240dpi mod.. :highfive:
FAQ:
> both button will act like physical button, home as home, and lock as power button
> so if you long press the button, the home button will shows recent apps, and the lock button will shows Device options
> if the lock button doesn't work, press the home button first..
> if you use wanam exposed, you can center the clock, and change color to get S5 blue color theme;
- go to Notification panel > Clock position=center
- go to Notification panel > Remove gaps between titles
- go to Theme:
Header background color > change color to : FF20738D
Text label color > change color to : FFFFFFFF
Tile background color > change color to : FF20738D
- reboot and done
THANKS MATE
i hope this guide works for you..​

reserved

PhoenixRom V18.5 SystemUI.apk
this is only for PhoenixRom user, dont flash it for the other Rom...
as i promised, here you go the modded SystemUI with HomeLock Button on Status bar for PhoenixRom V18.5.. :good:
Screenshot of HomeLock_StatusBar_PhoenixRomV18.5.zip
View attachment 2755919
View attachment 2755920
IMPORTANT;
- please make a backup first, or just copy your current SystemUI.apk (located in system/priv-app) and paste it somewhere in your device before flash this mod.. just in case if you want to revert back..
- then just flash it via recovery..
if you want the different mod of HomeLock Button, you can check this link..
GreenOrange_HomeLock_StatusBar_PhoenixRomV18.5.zip
Hidden_HomeLock_StatusBar_PhoenixRomV18.5.zip
for detail about this mod, please read FAQ above.. ENJOY..
and dont forget to hit THANKS button..
older version;
for PhoenixRom v17;
choose first, what kind of mod you want, codename indicates the mod inside..:
HomeLock = include home and lock button on status bar
KK = kitkat theme; white icon for signal, data signal, and battery (maybe battery doesn't work because of ogg battery)
S5Toggles = S5 toggles setting only
then download and flash it via recovery.. you can always backup first, just in case..
DOWNLOAD for PhoenixRom v17;
View attachment StatusBar_S5Toggles.zip
View attachment StatusBar_KK_S5Toggles.zip
View attachment StatusBar_HomeLock.zip
View attachment StatusBar_HomeLock_S5Toggles.zip
View attachment StatusBar_HomeLock_KK_S5Toggles.zip
View attachment PhoenixV17_Stock_SystemUI.zip
Click to expand...
Click to collapse

HurricaneRom v11 SystemUI.apk
and this is only for HurricaneRom v11 user, dont flash it for the other Rom...
p.s.
this mod use framework-res.apk from HurricaneRom v11 original note2, not from HurricaneRom v11 with note3 app package v5 installed..
if you test it and its not work please report and send me your SystemUI.apk and framework-res.apk so i can mod it for you..
choose first, what kind of mod you want, codename indicates the mod inside..:
HomeLock = include home and lock button on status bar
KK = kitkat theme; white icon for signal, data signal, and battery
S5Toggles = S5 toggles setting only
IMPORTANT; if you already using other theme/mod, please make a nandroid backup, then wipe cache - dalvik cache before flash this mod.. just in case..
read FAQ above.. ENJOY..
and dont forget to hit THANKS button.. :good:

4.4.2 Kitkat TW Modded SystemUI.apk
for detail about this mod, please read FAQ above..
IMPORTANT;
- please make a backup first, or just copy your current SystemUI.apk (located in system/priv-app) and paste it somewhere in your device before flash this mod.. just in case if you want to revert back.
- then just flash it via recovery..
Screenshot
4.4.2 Kitkat TW Modded SystemUI - For Common 4.4.2 Kitkat TW ROM
DN3RC2_Modded_SystemUI - Special for DN3 RC2 ROM
ENJOY..
and dont forget to hit THANKS button.. :good:

wifi not working
hotdroid said:
for other request
Click to expand...
Click to collapse
ops ... wifi is not working now
1st I installed your patch with complete toggles and everything
Then I installed small zip file you gave me
Then I enabled WANAM to try some tweaks
Now I checked wifi and its not working ... so I disabled framework
and I installed your patch with only buttons and without toggles
Still same problem ... wifi not working
---------------------------------------------
reinstalled rom and reinstalled the mod with buttons only
now all is good
thanks

MehruNisa said:
ops ... wifi is not working now
1st I installed your patch with complete toggles and everything
Then I installed small zip file you gave me
Then I enabled WANAM to try some tweaks
Now I checked wifi and its not working ... so I disabled framework
and I installed your patch with only buttons and without toggles
Still same problem ... wifi not working
---------------------------------------------
reinstalled rom and reinstalled the mod with buttons only
now all is good
thanks
Click to expand...
Click to collapse
oops.. sorry mate..
maybe that small zip causing your problem, i'll remove that file so others wont get the same problem..
thanks for your report, glad you solved it..

Can I flashed on s3 v4.3

thereassaad said:
Can I flashed on s3 v4.3
Click to expand...
Click to collapse
NO, you can not.. its ROM system apk related..
even for the the same device but with different ROM will cause problems, moreover if you flash it for other device..
that's why i made the guide, so another maybe can make it for other devices..

hotdroid said:
and this is only for HurricaneRom v11 user, dont flash it for the other Rom...
p.s.
this mod use framework-res.apk from HurricaneRom v11 original note2, not from HurricaneRom v11 with note3 app package v5 installed..
if you test it and its not work please report and send me your SystemUI.apk and framework-res.apk so i can mod it for you..
choose first, what kind of mod you want, codename indicates the mod inside..:
HomeLock = include home and lock button on status bar
KK = kitkat theme; white icon for signal, data signal, and battery
S5Toggles = S5 toggles setting only
IMPORTANT; if you already using other theme/mod, please make a nandroid backup, then wipe cache - dalvik cache before flash this.. just in case..
read FAQ above.. ENJOY..
and dont forget to hit THANKS button.. :good:
Click to expand...
Click to collapse
hi
i installed in hurricane rom v11
but i found kk normal icons in status bar home lock kk theme s5toggles zip
pls make white icons
thank U in advance

JGKUMAR1976 said:
hi
i installed in hurricane rom v11
but i found kk normal icons in status bar home lock kk theme s5toggles zip
pls make white icons
thank U in advance
Click to expand...
Click to collapse
oops, sorry i miss that..
thanks for reporting, i'll recompile it again.. stay tune..

hotdroid said:
oops, sorry i miss that..
thanks for reporting, i'll recompile it again.. stay tune..
Click to expand...
Click to collapse
Sorry same again
Sent from my GT-N7100 using Tapatalk

JGKUMAR1976 said:
Sorry same again
Sent from my GT-N7100 using Tapatalk
Click to expand...
Click to collapse
hi mate..
please re-download and try it again, i hope i dont miss anything again..
and kindly if you dont mind to try every one of mod, just let me know if there something's wrong..
thanks

Hello hotdroid...is there any way to remove all the toggles and the space for it from the notification side of the status bar? I mean like aosp roms...so the notification drawer dont have any toggles at all....and we can use the toggle drawer only.
I dont know if you will understand me...sorry for my english
Enviado desde mi GT-N7100 mediante Tapatalk

hotdroid said:
and this is only for HurricaneRom v11 user, dont flash it for the other Rom...
. :good:
Click to expand...
Click to collapse
Mine on Hurricane V11 without Note 3 Mod.
I want to flash Home and lock.
I think I must flash:
File Type: zip StatusBar_HomeLock.zip - [Click for QR Code] (2.81 MB, 4 views)
But I still confused, what for this link?
File Type: zip HurricaneV11_Stock_SystemUI.zip - [Click for QR Code] (2.81 MB, 10 views)
Thanks
---
=Edit=
Wa,,,,, may be that link for back to original Hurricane, isn't it?

Cocolopes said:
Hello hotdroid...is there any way to remove all the toggles and the space for it from the notification side of the status bar? I mean like aosp roms...so the notification drawer dont have any toggles at all....and we can use the toggle drawer only.
I dont know if you will understand me...sorry for my english
Enviado desde mi GT-N7100 mediante Tapatalk
Click to expand...
Click to collapse
yeah mate.. maybe i understand what you mean.
but i'm not sure which xml should be edited and code line should be removed.
if you have a clue, let me know..
injulia said:
Mine on Hurricane V11 without Note 3 Mod.
I want to flash Home and lock.
I think I must flash:
File Type: zip StatusBar_HomeLock.zip - [Click for QR Code] (2.81 MB, 4 views)
But I still confused, what for this link?
File Type: zip HurricaneV11_Stock_SystemUI.zip - [Click for QR Code] (2.81 MB, 10 views)
Thanks
---
=Edit=
Wa,,,,, may be that link for back to original Hurricane, isn't it?
Click to expand...
Click to collapse
that's right mate. that's the stock aka the original one.
in case if you want to revert back without mod at all..

hotdroid said:
that's right mate. that's the stock aka the original one.
in case if you want to revert back without mod at all..
Click to expand...
Click to collapse
Just installed.
Thank you bro Hotdroid.
Sent from my GT-N7100 using Tapatalk

What about DN3 ?
I mean, can I flash it on DN3 4.4.2 ?
Sent from Gallifrey using TARDIS

Nonta72 said:
What about DN3 ?
I mean, can I flash it on DN3 4.4.2 ?
Sent from Gallifrey using TARDIS
Click to expand...
Click to collapse
NO, i dont think so. because 4.3 and 4.4.2 using the different framework-res.apk
even for the same rom 4.3 if using the different framework-res.apk will causing problem..

hotdroid said:
NO, i dont think so. because 4.3 and 4.4.2 using the different framework-res.apk
even for the same rom 4.3 if using the different framework-res.apk will causing problem..
Click to expand...
Click to collapse
Oh ! So sad
Thanks anyway for your Work
Hope you will manage to do the port.
Sent from Gallifrey using TARDIS

Related

[MOD][ACRO S][for STOCK rom - 6.1.A.2.45][12-09-16]

Hi guys ..
I'm not a developer so is beyond my knowledge to create custom roms and stuff, but using the little programming skills I have I can manage to play around with the APKs
After trying various XS mods I saw there are small incompatibilities in the framework so there are small annoying graphical and/or animation glitches. Giving that I decided to start modding the stock rom by myself.
This will be a work in progress and I'll update it as I'll advance in my modding skills.
DISCLAIMER: I'm not responsible if you brick your phone by applying these mods. Apply at your own risk.
Do not forget: first thing after putting CWM on your phone, do a full backup of the original system so you can come back to that status in case of emergencies.
Please be aware that these files are not working on ALL odexed 6.1.A.2.45 roms. I have no idea why.
My phone has the following Customization Version: 1266-3278_R3G
Maybe the framework is somehow different form other versions. Please check your cust. ver. before aplying:
- stock dialer and type *#*#service#*#* (*#*#7378423#*#*), Service Info, software information
Current status of my phone:
- Rom updated OTA to 6.1.A.2.45
- Bootloader unlocked with the sony procedure (using fastboot and the key generated online)
- CWM kernel installed: http://forum.xda-developers.com/showthread.php?t=1834129
- Root pushed to the device: http://forum.xda-developers.com/showpost.php?p=30320507&postcount=11
Next I took out the SystemUI.apk and I deodexed it (only this one, so it can be easily modded) and start messing around with it.
12-09-06 - a - CWM flashable: statusbar - 1% battery increments and CM battery style applied, as well as 2 icons changed in the pull-down menu (settings and delete-all notifications buttons): SystemUI_CMbat_120906.zip (attached)
The quick controls are from widgetsoid. I plan to replicate the 14 toggles mod but I will need some time.
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
12-09-06 - b - root stuff:: Delete at least part of the bloatware in the rom (I personally just moved the respective apks into a bkp folder):
http://img716.imageshack.us/img716/9964/screenshot2012090612342.png
12-09-09 - CWM flashable: statusbar - 1% battery MIUI style plus wifi, HD drawings (xhdpi): SystemUI_MIUIbat_wifi_120909.zip (attached)
12-09-11 - CWM flashable: statusbar - 1% battery MIUI style plus wifi, HD drawings (xhdpi), clock moved from status bar into the expanded notifications, next to the date, date rearranged, clock font increased.: SystemUI_MIUIbat_wifi_120909.zip (attached)[/b] - the toggles are from widgetsoid .. I will try to implement the quickpanel mod also.
Statusbar:
Expanded notifications:
12-09-16 - CWM flashable: statusbar - 1% battery MIUI style plus wifi, HD drawings (xhdpi), clock moved from status bar into the expanded notifications, next to the date, date rearranged, clock font increased, 8 toggles added to pulldown menu: SystemUI_toggles_120916.zip (attached)[/b]
Enjoy it!
I make no promises this will advance nor I will give OTA for anything ... it is just me trying to improve the experience I have with this phone.
Credits:
- XDA comunity for the info shared over the years.
- alteredlikeness - for the toggles sources and explanations.
You can use my files do to whatever you like! My real work was to understand some relations between the XMLs and SMALI files and also to create some pngs for the graphical aspect. I took the information for free so I'll return it in the same way.
Sept 9th - miui batt style and modded wifi statusbar icons.
Nice thank you so much :laugh: i will try it soon
Sept 11th - clock moved from statusbar into the pulldown notifications, next to the date. The clock font increased from 16dpi to 32dpi.
ro_explorer said:
Hi guys ..
I'm not a developer so is beyond my knowledge to create custom roms and stuff, but using the little programming skills I have I can manage to play around with the APKs
After trying various XS mods I saw there are small incompatibilities in the framework so there are small annoying graphical and/or animation glitches. Giving that I decided to start modding the stock rom by myself.
This will be a work in progress and I'll update it as I'll advance in my modding skills.
DISCLAIMER: I'm not responsible if you brick your phone by applying these mods. Apply at your own risk.
Do not forget: first thing after putting CWM on your phone, do a full backup of the original system so you can come back to that status in case of emergencies.
Current status of my phone:
- Rom updated OTA to 6.1.A.2.45
- Bootloader unlocked with the sony procedure (using fastboot and the key generated online)
- CWM kernel installed: http://forum.xda-developers.com/showthread.php?t=1834129
- Root pushed to the device: http://forum.xda-developers.com/showpost.php?p=30320507&postcount=11
Next I took out the SystemUI.apk and I deodexed it (only this one, so it can be easily modded) and start messing around with it.
12-09-06 - a - CWM flashable: statusbar - 1% battery increments and CM battery style applied, as well as 2 icons changed in the pull-down menu (settings and delete-all notifications buttons): SystemUI_CMbat_120906.zip (attached)
The quick controls are from widgetsoid. I plan to replicate the 14 toggles mod but I will need some time.
12-09-06 - b - root stuff:: Delete at least part of the bloatware in the rom (I personally just moved the respective apks into a bkp folder):
http://img716.imageshack.us/img716/9964/screenshot2012090612342.png
12-09-09 - CWM flashable: statusbar - 1% battery MIUI style plus wifi, HD drawings (xhdpi): SystemUI_MIUIbat_wifi_120909.zip (attached)
12-09-11 - CWM flashable: statusbar - 1% battery MIUI style plus wifi, HD drawings (xhdpi), clock moved from status bar into the expanded notifications, next to the date, date rearranged, clock font increased.: SystemUI_MIUIbat_wifi_120909.zip (attached)[/b] - the toggles are from widgetsoid .. I will try to implement the quickpanel mod also.
Statusbar:
Expanded notifications:
Enjoy it.
I make no promises this will advance nor I will give OTA for anything ... it is just me trying by need base to improve the experience I have with this phone.
Click to expand...
Click to collapse
How you removed clock from status bar?
October 16th 2012 - added 8 toggles to the drop-down notifications menu - OP updated.
ariciusonic said:
How you removed clock from status bar?
Click to expand...
Click to collapse
Use a deodexed SystemUI apk. Decompile it.
Edit: SystemUI/res/layout/status_bar.xml
Remove the line:
Code:
<com.android.systemui.statusbar.policy.Clock android:textAppearance="@style/TextAppearance.StatusBar.Clock"android:gravity="left|center" android:id="@id/clock" android:paddingLeft="6.0dip" android:layout_width="wrap_content" android:layout_height="fill_parent" android:singleLine="true" />
ro_explorer said:
October 16th 2012 - added 8 toggles to the drop-down notifications menu - OP updated.
Use a deodexed SystemUI apk. Decompile it.
Edit: SystemUI/res/layout/status_bar.xml
Remove the line:
Code:
<com.android.systemui.statusbar.policy.Clock android:textAppearance="@style/TextAppearance.StatusBar.Clock"android:gravity="left|center" android:id="@id/clock" android:paddingLeft="6.0dip" android:layout_width="wrap_content" android:layout_height="fill_parent" android:singleLine="true" />
Click to expand...
Click to collapse
Please help, I can't find the line.. Can you remove only clock from my systemUI.apk ? (it's from a xperia s)
:fingers-crossed:
ariciusonic said:
Please help, I can't find the line.. Can you remove only clock from my systemUI.apk ? (it's from a xperia s)
:fingers-crossed:
Click to expand...
Click to collapse
Check this one. If you see incompatibilities with your phone is because I used AcroS framework to decompile/compile your SystemUI.apk.
In that case please give me also your framework-res.apk and I'll redo the steps.
So now there is no clock at all, not in the statusbar and not in the drop-down notifications. I hope I understood correctly your request.
The zip is for CWM .
not working on my S, here is the framework..
https://www.box.com/s/0jpwg52tbw66uzvu3dxa
ariciusonic said:
not working on my S, here is the framework..
https://www.box.com/s/0jpwg52tbw66uzvu3dxa
Click to expand...
Click to collapse
Ok then .. this one is decompiled/compiled using your framework. It should work by default: XS_no_clock_2.zip
The above file is signed with a developer certificate.
If you want to keep the original signature, this is the same modded file as above, but with the original signature in it: XS_no_clock_2_original_signature.zip
Let me know if it worked.
ro_explorer said:
Hi guys ..
I'm not a developer so is beyond my knowledge to create custom roms and stuff, but using the little programming skills I have I can manage to play around with the APKs
After trying various XS mods I saw there are small incompatibilities in the framework so there are small annoying graphical and/or animation glitches. Giving that I decided to start modding the stock rom by myself.
This will be a work in progress and I'll update it as I'll advance in my modding skills.
DISCLAIMER: I'm not responsible if you brick your phone by applying these mods. Apply at your own risk.
Do not forget: first thing after putting CWM on your phone, do a full backup of the original system so you can come back to that status in case of emergencies.
Current status of my phone:
- Rom updated OTA to 6.1.A.2.45
- Bootloader unlocked with the sony procedure (using fastboot and the key generated online)
- CWM kernel installed: http://forum.xda-developers.com/showthread.php?t=1834129
- Root pushed to the device: http://forum.xda-developers.com/showpost.php?p=30320507&postcount=11
Next I took out the SystemUI.apk and I deodexed it (only this one, so it can be easily modded) and start messing around with it.
12-09-06 - a - CWM flashable: statusbar - 1% battery increments and CM battery style applied, as well as 2 icons changed in the pull-down menu (settings and delete-all notifications buttons): SystemUI_CMbat_120906.zip (attached)
The quick controls are from widgetsoid. I plan to replicate the 14 toggles mod but I will need some time.
12-09-06 - b - root stuff:: Delete at least part of the bloatware in the rom (I personally just moved the respective apks into a bkp folder):
http://img716.imageshack.us/img716/9964/screenshot2012090612342.png
12-09-09 - CWM flashable: statusbar - 1% battery MIUI style plus wifi, HD drawings (xhdpi): SystemUI_MIUIbat_wifi_120909.zip (attached)
12-09-11 - CWM flashable: statusbar - 1% battery MIUI style plus wifi, HD drawings (xhdpi), clock moved from status bar into the expanded notifications, next to the date, date rearranged, clock font increased.: SystemUI_MIUIbat_wifi_120909.zip (attached)[/b] - the toggles are from widgetsoid .. I will try to implement the quickpanel mod also.
Statusbar:
Expanded notifications:
12-09-16 - CWM flashable: statusbar - 1% battery MIUI style plus wifi, HD drawings (xhdpi), clock moved from status bar into the expanded notifications, next to the date, date rearranged, clock font increased, 8 toggles added to pulldown menu: SystemUI_toggles_120916.zip (attached)[/b]
Enjoy it!
I make no promises this will advance nor I will give OTA for anything ... it is just me trying to improve the experience I have with this phone.
Credits:
- XDA comunity for the info shared over the years.
- alteredlikeness - for the toggles sources and explanations.
You can use my files do to whatever you like! My real work was to understand some relations between the XMLs and SMALI files and also to create some pngs for the graphical aspect. I took the information for free so I'll return it in the same way.
Click to expand...
Click to collapse
I followed the instruction above but After flashed one of those file my phone became black screen and no Navibar!
Do you know what wrong with my phone?
My phone rooted and unlocked BL already.
You tried this on an Acro S with STOCK 6.1.A.2.45 ? It is very weird it did not worked.
Can you please give me your original SystemUI.apk and the odex file?
P.S.: I hope you had a backup to restore the phone ... otherwise, I can provide the original apk and odex.
ro_explorer said:
You tried this on an Acro S with STOCK 6.1.A.2.45 ? It is very weird it did not worked.
Can you please give me your original SystemUI.apk and the odex file?
P.S.: I hope you had a backup to restore the phone ... otherwise, I can provide the original apk and odex.
Click to expand...
Click to collapse
Yeah it's running stock A.2.45. No worry i did back up already.
Before i used to follow the other method by replace SystemUI.apk from another thread, but finally i got the same thing and even i replaced back the original SystemUI.apk still could not help until i restore phone system.
Ok here the original SystemUI.apk and odex file from my phone...
Thanks for your time
ro_explorer said:
October 16th 2012 - added 8 toggles to the drop-down notifications menu - OP updated.
Use a deodexed SystemUI apk. Decompile it.
Edit: SystemUI/res/layout/status_bar.xml
Remove the line:
Code:
<com.android.systemui.statusbar.policy.Clock android:textAppearance="@style/TextAppearance.StatusBar.Clock"android:gravity="left|center" android:id="@id/clock" android:paddingLeft="6.0dip" android:layout_width="wrap_content" android:layout_height="fill_parent" android:singleLine="true" />
Click to expand...
Click to collapse
Hi! Wich lines edit for the clock? I mean, centered clock
Sent from my LT26i using xda premium
alvizu said:
Hi! Wich lines edit for the clock? I mean, centered clock
Sent from my LT26i using xda premium
Click to expand...
Click to collapse
The same line you delete to remove the clock only that you have to play with the position of the line containing the clock definition and also woth the definition of the clock itself.
So, the line must be moved in the first LinearLayout field and the clock must have android:gravity="center"
That's all.
I'm not pasting here my own xml lines because apparently these might differ from one system to another.
higherman said:
Yeah it's running stock A.2.45. No worry i did back up already.
Before i used to follow the other method by replace SystemUI.apk from another thread, but finally i got the same thing and even i replaced back the original SystemUI.apk still could not help until i restore phone system.
Ok here the original SystemUI.apk and odex file from my phone...
Thanks for your time
Click to expand...
Click to collapse
So .. I took your files and compared the checksums with my files ... guess what? your files are identical to mine.
This lead only to one conclusion .. something is wrong either with the signature of my compiled file (but from my knowledge the signature of the system files do not count) or you have something weird over there.
The CWM package is supposed to automatically delete the original SystemUI.apk and SystemUI.odex files and then put instead the modded SystemUI.apk and set the rigt permissions.
Just to take all the precautions, here is the newest modded file with the original Sony signature.
If the above procedure (done manually) is still not giving results I frankly can not help you because I simply have no idea what's wrong.
ro_explorer said:
The same line you delete to remove the clock only that you have to play with the position of the line containing the clock definition and also woth the definition of the clock itself.
So, the line must be moved in the first LinearLayout field and the clock must have android:gravity="center"
That's all.
I'm not pasting here my own xml lines because apparently these might differ from one system to another.
Click to expand...
Click to collapse
I edit this, but no change, can you help me?
Sent from my LT26i using xda premium
Is this for Acro S ? In order to correctly decompile SystemUI.apk I need also the compatible framework-res.apk.
ro_explorer said:
Is this for Acro S ? In order to correctly decompile SystemUI.apk I need also the compatible framework-res.apk.
Click to expand...
Click to collapse
Xperia S
http://www.mediafire.com/?d207097bncq0ex0
If you have everything ready to edit and recompile, here is the line.
I was wrong before ... and I apologise for that.
You need to create an additional LinearLayout field especially for the clock:
So, the header of your status_bar.xml should look like:
Code:
<?xml version="1.0" encoding="utf-8"?>
<com.android.systemui.statusbar.phone.PhoneStatusBarView android:orientation="vertical" android:background="@drawable/status_bar_expand_default" android:focusable="true" android:descendantFocusability="afterDescendants"
xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:systemui="http://schemas.android.com/apk/res/com.android.systemui">
<LinearLayout android:orientation="horizontal" android:layout_width="fill_parent" android:layout_height="fill_parent">
<com.android.systemui.statusbar.policy.Clock android:textAppearance="@style/TextAppearance.StatusBar.Clock" android:gravity="center" android:id="@id/clock" android:layout_width="fill_parent" android:layout_height="fill_parent" android:singleLine="true" />
</LinearLayout>
<LinearLayout android:orientation="horizontal" android:id="@id/icons" android:paddingLeft="6.0dip" android:paddingRight="6.0dip" android:layout_width="fill_parent" android:layout_height="fill_parent">
[...]
Explanation (I think we all are learning better by these trial&errors iterations ):
The XML file is basically presenting how the respective object is being built.
In this case, we are talking about the status bar.
Well, the LinearLayout fields are basically overlapped in the status bar and the objects inside each linear field has local orientation parameters.
By adding a new linear field on top of the others and by placing a clock entity centered, you will get what you want
Be warned: the clock will be overlapped with the notification icons which will be drawn from left to right ... so if many many notification icons will be drawn, these will go over the clock

[MOD] Disable Data Traffic Notification

Hi All,
This time i will share a mod that will disable the Data Traffic On/Off/Both Notification from showing up in your status bar
========================
Instruction
========================
Flash Via CWM
========================
Download
========================
ON Notification disabled : https://www.box.com/s/yta5ud9sfga4ylerc33h
OFF Notification disabled : https://www.box.com/s/fzfuqm9zyzcfo4f043oh
BOTH Notification disabled : https://www.box.com/s/sew6xslf6flh9mwkjgn4
========================
The Manual Way
========================
1. Use Root Explorer (Or Anything Similiar) and Go To : system/etc/customization/settings/com/android/phone
2. Open custom_settings.xml using text editor.
Code:
<?xml version="1.0" encoding="utf-8"?>
<settings version="412">
<setting key="national_data_roaming_visibility" runtime="false">true</setting>
<setting key="national_data_roaming_setting" runtime="false">1</setting>
<setting key="data-connection-except-mms-can-clear-icon" runtime="false">true</setting>
<setting key="data-connection-except-mms-show-icon-when-enabled" runtime="[COLOR="red"]false[/COLOR]">true</setting>
<setting key="data-connection-except-mms-show-icon-when-disabled" runtime="[COLOR="red"]false[/COLOR]">true</setting>
<setting key="dual-mic-noise-suppression-enabled" runtime="true">true</setting>
</settings>
3. Change the RED Colored to "true" or "false"
4. Reboot to make it works.
========================
Extra
========================
For those wo didn't like ADB icon on your statusbar you can add the following lines to your build.prop
Code:
persist.adb.notify=0
========================
Credit
========================
Kizsleg for the tutorial
Shyam4ever for disabling adb notification
Re: Disable Data Traffic Notification
This is really nice, this will help a lot many
Re: Disable Data Traffic Notification
stanlin salu said:
This is really nice, this will help a lot many
Click to expand...
Click to collapse
Thanks to you too for submitting the idea making a new thread bro
thanks for it, i really need it...
Re: Disable Data Traffic Notification
Cant download it
Opens the page, I see a quick flash of it and then it syas webpage not available.
Will try in pc tomorrow
Don't forget to hit thanks
great job works on my lww
Re: Disable Data Traffic Notification
mnishamk said:
Cant download it
Opens the page, I see a quick flash of it and then it syas webpage not available.
Will try in pc tomorrow
Don't forget to hit thanks
Click to expand...
Click to collapse
Which one not working?
Re: Disable Data Traffic Notification
Singgih4050 said:
Which one not working?
Click to expand...
Click to collapse
All three links. Didnt work in dolphin browser android and desktop mode
Tried in pc yesterday itslef downloaded and works without a prob. Thanks for it.
Don't forget to hit thanks
Re: Disable Data Traffic Notification
mnishamk said:
All three links. Didnt work in dolphin browser android and desktop mode
Tried in pc yesterday itslef downloaded and works without a prob. Thanks for it.
Don't forget to hit thanks
Click to expand...
Click to collapse
I thought the links were broken, I tested on Chrome, all working fine
Thanks for sharing
Hi, this is a nice thread by Singgih4050...
I want add one more thing in this thread for those who need it but dont know how to do it..
How to disable USB Debuging On notification icon from status bar?
Just add this line in the end of your build.prop..
Code:
persist.adb.notify=0
Awesome!
Work for me..
Re: Disable Data Traffic Notification
shyam4ever said:
Hi, this is a nice thread by Singgih4050...
I want add one more thing in this thread for those who need it but dont know how to do it..
How to disable USB Debuging On notification icon from status bar?
Just add this line in the end of your build.prop..
Code:
persist.adb.notify=0
Click to expand...
Click to collapse
Thanks for the info, I'll add it to the OP
And i'm glad if this working for all of you
Sent from my ST15i using xda premium
I'm glad you made a thread for helping others to remove that annoying notification for data traffic. I'm using this for a long time... I found it here http://forum.xda-developers.com/showthread.php?t=1371117 . But it's good you post it too, cause a lot of people don't know how to "google" for solutions to their problem. That's how I found that thread.
Works great on x-gamer (gb based custom rom). Awesome mod
Sent from my XDA pimped Neo V
disable off works fine on lww thanks:good:

[GUIDE]Moving Power Widget to Bottom Like MIUI[CM7]

Hello guys, on this thread i will share my guide to you all (themers, member etc)
So, here we go..​
A. Explanation :
1. You must know how to compile/decompile
2. You must know how to edit xml/smali/baksmali
3. You must know how to use apktool/apkmanager/toolAlite or something else
4. You must know how to use notepad++/Sublime
B. Explanation :
1. Pull SystemUI.apk from your ROM (i suggest you. systemui must be clean).
2. Decompile it and open status_bar_expanded.xml from /res/layout/here
3. Find this line :
Code:
<com.android.systemui.statusbar.powerwidget.PowerWidget android:id="@id/exp_power_stat" android:layout_width="fill_parent" android:layout_height="wrap_content" />
4. And change to this line :
Code:
<com.android.systemui.statusbar.powerwidget.PowerWidget android:id="@id/exp_power_stat" android:layout_width="0.0px" android:layout_height="0.0px" />
5. Save
C. Explanation :
1. Open status_bar_tracking.xml
2. Find this line :
Code:
<com.android.systemui.statusbar.CloseDragHandle android:orientation="vertical" android:id="@id/close" android:layout_width="fill_parent" android:layout_height="wrap_content">
3. Paste this line at the bottom :
Code:
<com.android.systemui.statusbar.powerwidget.PowerWidget android:id="@id/exp_power_stat" android:layout_width="fill_parent" android:layout_height="wrap_content" />
4. Save and compile it then push to /system/app
Note :
- You can paste <com.android.systemui.statusbar.powerwidget.PowerWidget line after or before this line <com.android.systemui.statusbar.CloseDragHandle
Click to expand...
Click to collapse
Happy Theming!!
petrukgrinder said:
Hello guys, on this thread i will share my guide to you all (themers, member etc)
So, here we go..​
Happy Theming!!
Click to expand...
Click to collapse
Nice Tutor....
thanks master...
... click thanks for u....:fingers-crossed:
Ariefuno Recca said:
Nice Tutor....
thanks master...
... click thanks for u....:fingers-crossed:
Click to expand...
Click to collapse
your welcome uno
Send from my fvckin fingers
petrukgrinder said:
your welcome uno
Send from my fvckin fingers
Click to expand...
Click to collapse
Wkwkwk..... I Have Hammer, Maybe u can used it to Hit u're finger...
(JUST KID MASTER) LOL:laugh:
master, i have question about ROM, I'M port ROM stock to Cusker, but still Stuck in logo kernel? why....
I tried your tut and everything seemd great (when I was compiling, etc.) and now In my status bar I have 2 power widgets xD one on the bottom and second on the top xD
What should I do ? xd
BlackLie said:
I tried your tut and everything seemd great (when I was compiling, etc.) and now In my status bar I have 2 power widgets xD one on the bottom and second on the top xD
What should I do ? xd
Click to expand...
Click to collapse
remove the power widget on top.
how to do that? you can try it :
- first u must find and sure the line is power widget on top of page layout
- on the line of power widget make a 0.0px on android:layout_width & android:layout_height
- recompile ur systemui and u done with it.
Its work but i got problem when combined with your floating statusbar guide.how to get power widget on bottom the png not overlap like this:
Sent from my GT-S5360

[Mod] Transparent status bar on lockscreen N7100

Transparent status bar on lockscreen - N7100 Deodexed
Your phone must be transparent status bar in home screen ( Here OR Here )
Work on DMC3 deodexed stock rom.
My .zip file include : CTR-OFF, Extended power menu and Ink-effect
Backup before flash .zip
Video: http://www.youtube.com/watch?v=I6Atki08Bwo&feature=youtu.be
Sorry my bad English.
trungtv.it said:
Transparent status bar on lockscreen - N7100 Deodexed
Your phone must be transparent status bar in home screen ( Here OR Here )
Work on DMC3 deodexed stock rom.
My .zip file include : CTR-OFF, Extended power menu and Ink-effect
Backup before flash .zip
Video: http://www.youtube.com/watch?v=I6Atki08Bwo&feature=youtu.be
Sorry my bad English.
Click to expand...
Click to collapse
Hi trungtv.it can you explain me what you have edit to have lockscreen status bar trasparent?
thanks
Thx
Thx man for good work
---------- Post added at 01:01 PM ---------- Previous post was at 12:56 PM ----------
Work on my stock XDMD2 based Sotmax Rom V8...
Thank u , Working on Epsilon Rom
@trungtv.it. you can help mod transparent all locksreen. I use rom v30 mr.luong on tinhte.vn. thank all
Sorry my bad English
Gửi từ GT-N7100 của tôi bằng cách sử dụng Tapatalk 2
this is based on simplistic framework, i see no credits.
Any chance could you make it for Note1 Device running jb 4.1.2
Sent from my GT-N7000 using xda premium
How Transparent status bar on lockscreen???
trungtv.it said:
Transparent status bar on lockscreen - N7100 Deodexed
/QUOTE]
 @trungtv.it
May you please provide details what was modified for transparent lockscreen status bar?
Click to expand...
Click to collapse
Thx man for good work,
Work on Android Revolution hd v18 rom.
I really want this! will this work on N7105 rooted stocked deodexed? anyone?
You Can Try
ginno said:
I really want this! will this work on N7105 rooted stocked deodexed? anyone?
Click to expand...
Click to collapse
1. Decompile android.policy.jar and edit com/android/internal/policy/impl/KeyguardViewManager.smali
2. The method to edit is .method public declared-synchronized show()V
3. Search inside this method and look for 0x100800
4. Change 0x100800 to 0x10900
5. Recompile android.policy.jar and push to your phone.
trungtv.it said:
1. Decompile android.policy.jar and edit com/android/internal/policy/impl/KeyguardViewManager.smali
2. The method to edit is .method public declared-synchronized show()V
3. Search inside this method and look for 0x100800
4. Change 0x100800 to 0x10900
5. Recompile android.policy.jar and push to your phone.
Click to expand...
Click to collapse
Wow thanks i will gonna try this now and leave a feedback..Thanks OP!
thnx for the mod ....
can u plz add on without the ink-effect mod ... ? just ( transparent mod + extended power menu )

[Q] Transparent toggle

Hi guys. I want to make transparent the toggle's background. Can someone tells me how to do it? What .pns or xml that i need to edit ????
The image is on the attached link below.
bad news i'm afraid
sanydeadpool said:
Hi guys. I want to make transparent the toggle's background. Can someone tells me how to do it? What .pns or xml that i need to edit ????
The image is on the attached link below.
Click to expand...
Click to collapse
on l3 II not yet
but dont give up
if you find solution post here for people to use
sanydeadpool said:
Hi guys. I want to make transparent the toggle's background. Can someone tells me how to do it? What .pns or xml that i need to edit ????
The image is on the attached link below.
Click to expand...
Click to collapse
This instructions is for L7 II, but you can try:
1. Make backup!
2. To make it transparent, you must decompile LGSystemUI.apk
3. In LGSystemUI\smali\com\android\systemui\statusbar\phone\PhoneStatusBar.smali find this line:
Code:
Lcom/android/systemui/statusbar/phone/PhoneStatusBar$FastColorDrawable;-><init>(I)V
4: Remove line below:
Code:
invoke-virtual {v0, v1}, Landroid/view/View;->setBackground(Landroid/graphics/drawable/Drawable;)V
5: Adjust transparency in LGSystemUI\res\values\colors.xml, find:
Code:
<color name="bg_expanded">#[COLOR="Red"]ef000000[/COLOR]</color>
And change red value.
Some values of transparency:
bf000000 - 25%,
7F000000 - 50%,
3F000000 - 75%,
00000000 - 100%
Good luck
need lgsystem.apk pls
guys i edited my systemui.apk file and now lost status bar and some other funtion
can u guys help me with it my phone is lg p715 dual
maxx_hr said:
This instructions is for L7 II, but you can try:
1. Make backup!
2. To make it transparent, you must decompile LGSystemUI.apk
3. In LGSystemUI\smali\com\android\systemui\statusbar\phone\PhoneStatusBar.smali find this line:
Code:
Lcom/android/systemui/statusbar/phone/PhoneStatusBar$FastColorDrawable;-><init>(I)V
Click to expand...
Click to collapse
There are many PhoneStatusBar.smali files like
PhoneStatusBar$1.smali
PhoneStatusBar$2.smali
PhoneStatusBar$3.smali
...
which to use?
mid143 said:
guys i edited my systemui.apk file and now lost status bar and some other funtion
can u guys help me with it my phone is lg p715 dual
Click to expand...
Click to collapse
This guide is for deodexed rom.
To restore functionality, just copy stock LGSystemUI.apk, change permission like other files in folder and restart.
If you have odexed rom, do the same, but with LGSystemUI.apk and LGSystemUI.odex.
If you have backup (CWM or TWRP), restore only System.
yashgumaste said:
There are many PhoneStatusBar.smali files like
PhoneStatusBar$1.smali
PhoneStatusBar$2.smali
PhoneStatusBar$3.smali
...
which to use?
Click to expand...
Click to collapse
PhoneStatusBar.smali
Without $ etc.
Only one is in that folder, and it is bigest.
maxx_hr said:
5: Adjust transparency in LGSystemUI\res\values\colors.xml, find:
Code:
<color name="bg_expanded">#[COLOR="Red"]ef000000[/COLOR]</color>
And change red value.
Some values of transparency:
bf000000 - 25%,
7F000000 - 50%,
3F000000 - 75%,
00000000 - 100%
Good luck
Click to expand...
Click to collapse
Can we also add other colors by their hex code
---------- Post added at 12:19 PM ---------- Previous post was at 12:05 PM ----------
I want to change the notification dropdown simlar to lollipop.
Any idea how to change background of other parts.
Can we also add other colors by their hex code
Click to expand...
Click to collapse
Yes.
I want to change the notification dropdown simlar to lollipop.
Any idea how to change background of other parts.
Click to expand...
Click to collapse
You must research how to do this.

Categories

Resources