Ok so I tried to make the statusbar transparent with UOT kitchen like for all the phones I had before, but this time it won't work!
I did a little search and found that it could be the status_bar.xml file that is responsible of that, blocking the statusbar to a black code color.
So I changed it toward a definite file as mentioned in a topic, my problem is that I am new to apktool
The apk didn't decompile completly so I can't recompile it.
So I am attaching the systemui.apk and xml file I edited, can you check it up and recompile this xml (if good) with the systemui.apk please??
http://forum.xda-developers.com/showthread.php?t=1108249
Don't know if this could help you... (look at the end of the page)
Related
I am trying to port the Status Bar Tweaks here (the deodexed version) to my systemui with 14 toggles. I copy all the required (to the best of my knowledge) smali files and make the correct edits to status_bar.xml and ids.xml in values (again to the best of my knowledge). APKtool will rebuild the systemui.apk with no errors, which I then place in APK Manager to sign which is successful. First thing I do is copy the required StatusbarTweaks.apk and Settings.apk to system/apps and set the right permissions. Then I then push the systemui.apk that I have modified to my phone and reboot. When the phone starts, the notification bar does not open, or show, but there is no error or force closure either. When I check the systemui.apk with root explorer it is in the apps folder and permission are correct. Yet nothing shows as far as the status bar is concerned. Everything functions on the phone, the new settings shows the StatusbarTweaks option, the quickpanelsettings.apk works to change toggles and reorder toggles also. So what I am wondering, is there a line to have the phone start the notificaton bar that I am missing? Not sure if that is the case as I don't delete any lines from any files, just add to them. Would appreciate if any dev can offer suggestions or assistance to my problem which is becoming slightly frustrating LOL... I know if I can get this done and working I could probably port it to other systemui with swipe to remove notifications and 14 toggles. I have attached my systemui.apk if anyone wants to investigate inside of it and guess I should also mention I run XWKTM 2.3.6 rom on my phone. Thanks in advance for any help. My programing knowledge is non-existant other than understanding the xml files a bit, probably just enough to be dangerous.
View attachment SystemUI.apk
Just use orig files
And add the statbar tweaks ?
Its easy
Quickpanel to lidroid
One edit in statusbarservice.smali
Sent from my GT-S5830 using xda premium
CoolCatGetHome said:
Just use orig files
And add the statbar tweaks ?
Its easy
Quickpanel to lidroid
One edit in statusbarservice.smali
Sent from my GT-S5830 using xda premium
Click to expand...
Click to collapse
Here is the zip for the 14 toggles, it is the one I use. After I install, I edit the systemui and then push. LOL you always say it is easy when I ask but remember I haven't the experience you have. So please, a bit more info would be greatly appreciated and thanks for response so far. (given)
View attachment 14_toggles.zip
and here is the zip for the tweaks
View attachment CWM-statusbar.tweaks-deodex-signed.zip
build it for me please LOL if so easy
I'm gonna give links for various guides to edit these files
Remember, these files are most useful for theming or making ROMs so read on if you want to develop your own ROMs...:good:
A noobs guide for uot kitchen
http://forum.xda-developers.com/showthread.php?t=1676817
Full guide for editing systemui.apk and framework-res.apk and also making a custom rom
http://forum.xda-developers.com/showthread.php?t=2086771
Editing classes.dex inside services.jar
http://forum.xda-developers.com/showthread.php?t=2160478
Change status bar clock color
http://forum.xda-developers.com/showthread.php?t=549309
Make status bar transparent
http://forum.xda-developers.com/showthread.php?t=1891702
Battery Bar Mod
http://forum.xda-developers.com/showthread.php?t=1371330
Decompiling/Recompiling and Advance Theming of 9 PNG
http://forum.xda-developers.com/showthread.php?t=2254824
Android Theming(Big guide with lots of links)
http://forum.xda-developers.com/showthread.php?t=2069287
Build.prop edits
http://forum.xda-developers.com/showthread.php?t=2256588
ADB, Logcat for n00bs and newbies
http://forum.xda-developers.com/showthread.php?t=2141817
KERNEL DEVELOPMENT(Advanced User)
How to use Github
http://forum.xda-developers.com/showthread.php?t=1877040
Guides on building kernels
http://forum.xda-developers.com/showthread.php?t=1845099&highlight=build+kernel (More useful for BCM devices)
http://forum.xda-developers.com/showthread.php?t=2226199
http://forum.xda-developers.com/showthread.php?t=2152819 (Using NDK)
Add features to your kernel( from XDA-U)
http://xda-university.com/as-a-developer/adding-features-to-your-kernel
TIPS
Tip-1
Enable CRT screen off animation in ur phone(Will not enable animation when screen is turned on)(does not work on S5830i)
Decompile framework-res.apk
go to res/values find bools.xml and open it.
[/B]
Change this
<bool name="config_animateScreenLights">true</bool>
to this
<bool name="config_animateScreenLights">false</bool>
If this does not work, look for detailed guide with editing of services.jar
Tip-2
Change your android version and name(just a superficial change!)
1. Open your explorer.
2. Go to system/
3. There's a file named "build.prop"
4. Long press and then open in text editor.
5. Find these-
ro.build.display.id - Build Number(Default: GINGERBREAD.XXLA2)
ro.build.version.release- Android version(Default: 2.3.6)
6. Edit, Save and Reboot!
Tip-3
Make status bar transparent(Only transparent for homescreen)
1. Decompile systemui.apk
2. Go to res/layout/status_bar,xml
3.Find android:background=FF000000 and change it to android:background=000000000 for full transparency and to android:background=5F000000 for half transparency.
4.If android:[email protected] statusbar_background (this name can be different) is present in status_bar.xml then you can find the image named statusbar_background in res/drawable-ldpi( or mdpi/hdpi depending on the device) and make that image transparent via image editors!
This simply means our status bar background is drawable and we are providing proper image for it!
Will add more tips soon!
Re: [LINKS][TIPS] Editing system files and more!
Thank js.. Very helpfull for a noob like me..
Sent from my GT-S6500D
thank you very much. it was helpful for me too.
Re: [LINKS][TIPS] Editing system files and more!
EvolutionHybrid said:
Thank js.. Very helpfull for a noob like me..
Sent from my GT-S6500D
Click to expand...
Click to collapse
eserguei said:
thank you very much. it was helpful for me too.
Click to expand...
Click to collapse
Quite strange that the guys who found it useful haven't bothered to atleast hit a small thanks button!
Sent from my Xperia Neo V using xda premium
Ghostfreak NB said:
Quite strange that the guys who found it useful haven't bothered to atleast hit a small thanks button!
Sent from my Xperia Neo V using xda premium
Click to expand...
Click to collapse
I did, but not to you
Also, is the CRT effect not able to be done on a Gingerbread-based stock rom? I decompiled my framework-res.apk with NinjaMorph but, I can't seem to find the dir [APK ROOT]/res/values nor the bools.xml file...
Another question, is it dangerous to my rom's stability if I use somebody else's framework-res.apk? (taking into account that my rom's backed up though, it's not really an issue )
Ah, my phone is a GT-S5830M (same as the GT-S5830i)
El_Dark said:
I did, but not to you
Also, is the CRT effect not able to be done on a Gingerbread-based stock rom? I decompiled my framework-res.apk with NinjaMorph but, I can't seem to find the dir [APK ROOT]/res/values nor the bools.xml file...
Another question, is it dangerous to my rom's stability if I use somebody else's framework-res.apk? (taking into account that my rom's backed up though, it's not really an issue )
Ah, my phone is a GT-S5830M (same as the GT-S5830i)
Click to expand...
Click to collapse
I am also S5830i user but this method won't work due to unknown reasons! I'll edit OP!
Otherwise it will work on other devices!
Don't replace framework-res.apk.. U'll get bricked.. If u are doing ui changes just take the pngs and replace in ur framework-res.apk! But make sure resolution is same as that of original one!
Sent from mass relay
El_Dark said:
Also, is the CRT effect not able to be done on a Gingerbread-based stock rom? I decompiled my framework-res.apk with NinjaMorph but, I can't seem to find the dir [APK ROOT]/res/values nor the bools.xml file...
Click to expand...
Click to collapse
It is yes, but you can only theme images it seems with NinjaMorph, which is why it doesn't list the folders that consist mainly of xmls, which can only be edited after being decompiled.
Was really a very easy n a extremely noov friendly tutorial.
Thnx guys!
Sent from my GT-I9100 using xda premium
VERY NICE GUIDE !!! Thanks a lot ,, many more to learn
Can u give a guide to add notification toggles in aosp ics
Sent from my GT-S5570 using xda premium
really helpful
thanks (pressed already)
How do I change the Model Number?
js2892 said:
I'm gonna give links for various guides to edit these files
Remember, these files are most useful for theming or making ROMs so read on if you want to develop your own ROMs...:good:
A noobs guide for uot kitchen
http://forum.xda-developers.com/showthread.php?t=1676817
Full guide for editing systemui.apk and framework-res.apk and also making a custom rom
http://forum.xda-developers.com/showthread.php?t=2086771
Editing classes.dex inside services.jar
http://forum.xda-developers.com/showthread.php?t=2160478
Change status bar clock color
http://forum.xda-developers.com/showthread.php?t=549309
Make status bar transparent
http://forum.xda-developers.com/showthread.php?t=1891702
Battery Bar Mod
http://forum.xda-developers.com/showthread.php?t=1371330
Decompiling/Recompiling and Advance Theming of 9 PNG
http://forum.xda-developers.com/showthread.php?t=2254824
Android Theming(Big guide with lots of links)
http://forum.xda-developers.com/showthread.php?t=2069287
Build.prop edits
http://forum.xda-developers.com/showthread.php?t=2256588
ADB, Logcat for n00bs and newbies
http://forum.xda-developers.com/showthread.php?t=2141817
KERNEL DEVELOPMENT(Advanced User)
How to use Github
http://forum.xda-developers.com/showthread.php?t=1877040
Guides on building kernels
http://forum.xda-developers.com/showthread.php?t=1845099&highlight=build+kernel (More useful for BCM devices)
http://forum.xda-developers.com/showthread.php?t=2226199
http://forum.xda-developers.com/showthread.php?t=2152819 (Using NDK)
Add features to your kernel( from XDA-U)
http://xda-university.com/as-a-developer/adding-features-to-your-kernel
TIPS
Tip-1
Enable CRT screen off animation in ur phone(Will not enable animation when screen is turned on)(does not work on S5830i)
Decompile framework-res.apk
go to res/values find bools.xml and open it.
[/B]
Change this
<bool name="config_animateScreenLights">true</bool>
to this
<bool name="config_animateScreenLights">false</bool>
If this does not work, look for detailed guide with editing of services.jar
Tip-2
Change your android version and name(just a superficial change!)
1. Open your explorer.
2. Go to system/
3. There's a file named "build.prop"
4. Long press and then open in text editor.
5. Find these-
ro.build.display.id - Build Number(Default: GINGERBREAD.XXLA2)
ro.build.version.release- Android version(Default: 2.3.6)
6. Edit, Save and Reboot!
Tip-3
Make status bar transparent(Only transparent for homescreen)
1. Decompile systemui.apk
2. Go to res/layout/status_bar,xml
3.Find android:background=FF000000 and change it to android:background=000000000 for full transparency and to android:background=5F000000 for half transparency.
4.If android:[email protected] statusbar_background (this name can be different) is present in status_bar.xml then you can find the image named statusbar_background in res/drawable-ldpi( or mdpi/hdpi depending on the device) and make that image transparent via image editors!
This simply means our status bar background is drawable and we are providing proper image for it!
Will add more tips soon!
Click to expand...
Click to collapse
Hi,
How would I change the Model Number?
rasmutu said:
Hi,
How would I change the Model Number?
Click to expand...
Click to collapse
Please don't quote the whole OP.
go to system/build.prop
open the file and change value of ro.product.model
It seems good. I'm going to click. thank you!
HOW TO MAKE SYSTEMUI FULL STATUSBAR TRANSPARENT ON GALAXY Y DUOS (GT-S6102)
Requirements:
apktool
gimp OR OTHER editor like photoshop
JRE (Java Runtime Environment)
Deodexed SystemUI.apk ---- you can flash zzzzz.zip from attachment below
YOU NEED TO MAKE YOUR LAUNCHER SUPPORTS TRANSPARENT or you can Download HOLO LAUNCHER or just download zzzzz.zip SUPPORT"S TRANSPARENT.! FILES in tHE ATTACHmENT BELoW..!
NOTE:If you don't know how to use apktool just google it.
Make bACKUP of your SystemUI.apk FIRST BEFORE YOu proCeed
res/drawable-ldpi
RENAME & EDIT:
title_bar_portrait.png >>>>>>> title_bar_portrait.9.png >>> make it landscape
statusbar_background.9.png >>>>>>> statusbar_background.png >>> make it landscape
status_bar_background.png >>> make it portrait
status_bar_close_on.png >>>>>>>> status_bar_close_on.9.png >>> RENAME ONLY
ADD:
gradient.
status_bar_header_background.9.png
status_bar_item_app_background_normal.9.png
status_bar_item_background_focus.9.png
status_bar_item_background_normal.9.png
status_bar_item_background_pressed.9.png
EDIT:
res/layout:
status_bar.xml >>>> first line replace:
Code:
android:background=
Change to:
Code:
android:background="@drawable/gradient"
status_bar_expanded.xml
Replace:
Code:
"@drawable/quickpanel_title_background"
With:
Code:
"@drawable/shade_header_background"
Replace:
Code:
"@drawable/quickpanel_title_background"
With:
Code:
"@drawable/shade_header_background"
Replace:
Code:
"@drawable/quickpanel_title_background"
With:
Code:
"@drawable/shade_header_background"
status_bar_tracking.xml
Replace:
Code:
android:background="#ff8e979f"
With:
Code:
android:background="@drawable/status_bar_background"
THIS IS MY FIRST THREAD SO PLEASE RESPECT ME AND HIT THANKS BuTToN :good: if THIS IS HELPFUL!! YOU CAN ALSO VOTE ON THE POLL ABOVE.
you can ask me if there's an error or what..
if you want an SIMPLE DISCRIPTION you can also download zzzzz.zip then flash it so you can make your statusbar transparent without any error.. :victory:
Sorry for my bad English..
Screen capture.!!
This are my screen shots!
tnks..!
OH THANKS FOR LIKING!! :victory: @blackgamerz22
Please reply iF mY THReaD is good :good: and work on your gt-s6102..
Vargaz.22 said:
OH THANKS FOR LIKING!! :victory: @blackgamerz22
Please reply iF mY THReaD is good :good: and work on your gt-s6102..
Click to expand...
Click to collapse
Thanks for this man
Nice..gonna try it out..
y dnt u try to make ur Rom transparent..it wil match ur status bar.... ..
SORRY!
Sorry but i think i have a wrong with this files i'll fix it so wait please wait.
wats error??
you cant do that with public.xml because not everyones public.xml will be the same
if they have modded things before they will have extra lines and so on so you cant say delete between here and there and replace with this
Also you cant tell someone to use those hex values
hex values relate to smali code and if you change them you also have to change the smali values too or it will force close or display something totally different
for example if I add a png to res/drawable-ldpi and recompile the apk it will add its hex value to the public.xml
you can then reference this hex value in smali to display the png - for example an image next to a volume slider
different frameworks may have different hex values in public.xml especially if things have already been modified and have had things added
In my experience the quicket way to make the statusbar transparent is just by adding a fully transparent png and then changing the android backgroud to a drawable value in status_bar.xml to reference that png
if you want to spend a little more time you can use the colour chooser smali and app so you can set your status bar colour and transparency level to what ever you want when ever you want without decompiling it everytime to change it
For cm7/9 its slightly different - you have to mod some smali and do other things
Working or not??
Himan Boro said:
wats error??
Click to expand...
Click to collapse
Did you try this and you don't get any error??
what rom do you use or did your systemui.apk are modded??
YES!
marcussmith2626 said:
you cant do that with public.xml because not everyones public.xml will be the same
if they have modded things before they will have extra lines and so on so you cant say delete between here and there and replace with this
Also you cant tell someone to use those hex values
hex values relate to smali code and if you change them you also have to change the smali values too or it will force close or display something totally different
for example if I add a png to res/drawable-ldpi and recompile the apk it will add its hex value to the public.xml
you can then reference this hex value in smali to display the png - for example an image next to a volume slider
different frameworks may have different hex values in public.xml especially if things have already been modified and have had things added
yah i know that Sir, that's why i said i'll fix it..
In my experience the quicket way to make the statusbar transparent is just by adding a fully transparent png and then changing the android backgroud to a drawable value in status_bar.xml to reference that png
if you want to spend a little more time you can use the colour chooser smali and app so you can set your status bar colour and transparency level to what ever you want when ever you want without decompiling it everytime to change it
For cm7/9 its slightly different - you have to mod some smali and do other things
Click to expand...
Click to collapse
yah i know that Sir, that's why i said i'll fix it..
i'll ask them to just use my files and flash it to make their systemui deodexed and customized
Hit IT!
JoyLobo said:
Thanks for this man
Click to expand...
Click to collapse
don't just say it Sir HIT IT!!
Hit LIKE :good: and please rate and vote Sir.!~ at the Bottom of the thread there's vote pole and ratings.. just rate it if you like it..!
YES!!
@blackgamerz22 i see.
Add Custom Strings To Status Bar!
Code:
http://forum.xda-developers.com/showthread.php?p=46298824#post46298824
Credits goes to @marcussmith2626 and @EnricoD
Screen Shots!!!
yEH!
Himan Boro said:
Nice..gonna try it out..
y dnt u try to make ur Rom transparent..it wil match ur status bar.... ..
Click to expand...
Click to collapse
i see ur threads and post and im working on it..
Making my first custom rom transparent wooh amazing..
Does anyone know how to remove from the system tray carrier name ?
If you can edit the systemui.apk after deodexing, it should be easy for you.
Unfortunately it was not possible for me, to deodex our systemui.apk.
The downloadable edited systemui.apk of the p6 is running, if you rename the original systemui.apk and systemui.odex.
But after that you will miss some taskbar functions.
Tippfehler said:
If you can edit the systemui.apk after deodexing, it should be easy for you.
Unfortunately it was not possible for me, to deodex our systemui.apk.
The downloadable edited systemui.apk of the p6 is running, if you rename the original systemui.apk and systemui.odex.
But after that you will miss some taskbar functions.
Click to expand...
Click to collapse
Thanks, but no detailed instructions can not do it .
Hide Operator P6 (You can test apk from #10):
http://forum.xda-developers.com/showthread.php?t=2776681
If you google for these words, you can find instructions:
systemui.apk status_bar.xml TextView paddingLeft
Tippfehler said:
Hide Operator P6 (You can test apk from #10):
http://forum.xda-developers.com/showthread.php?t=2776681
If you google for these words, you can find instructions:
systemui.apk status_bar.xml TextView paddingLeft
Click to expand...
Click to collapse
Its working, thanks:good: I used the apk from first post
I made a simple tutorial here :
http://forum.xda-developers.com/ascend-p7/development/guide-how-to-remove-carrier-tray-t2843461
The systemui.apk from #10 has a house instead of a huawei logo for home.
If you don´t rename systemui.odex, you will get a lot of systemui error messages and it would be difficult, to fix it.
The better way is to edit the original systemui.apk.
Since this is working well, am I able to deodex this SystemUI and make my own changes? Couldn't deodex the original SystemUI.
...
i cannot get it working. all i see is black window when i restart. what deodoxing means? wut
i tried this: http://forum.xda-developers.com/ascend-p7/development/guide-how-to-remove-carrier-tray-t2843461
deodex: http://www.addictivetips.com/mobile/what-is-odex-and-deodex-in-android-complete-guide/
deodex tool: http://forum.xda-developers.com/ascend-p7/general/guide-stock-rom-flashables-wip-t2836655
Hello, guys! I am long time follower of xda forum, but first time write my question. My P7 is not rooted and I really would like not to root it(some apps compatibility) but I am customization freak and I found how to use Emui theming(some kind of layers customization). I combine many themes found here and in Emui downloader(all credits go to the creators), also edited many .png and xml files by myself. What remains not clear for me is how to change text font colour of the clock, carrier name and battery percentage in the status bar, I believe it is xml coding, but cannot find some example exactly for huawei how should looks like and what location it must be in the .hwt file. With some reading in xda forum I succeded to extract the system apk from update.APK file but all xml files are unreadable( something wrong) it should be in status_bar.xml in SystemUI.apk but I cannot read. So if somebody decompiled properly systemui.apk and framework-res.apk to help me just with the example coding therefore I will edit the colour codes as I like it. Thank you in advance!