need help on hidding clock in smali - Android Themes

hey i need help hidding clock in my smali file for my tablet. its gb 2.3.4 but has no systemui.apk i believe it have the right info from services.jar but i have no clue how to hide it. all the stuff i find is for different coding. can someone look at this?
Code:
http://pastebin.com/kYDx87EW

ten characters......................

Related

SGS2 transparent statusbar: help me

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)

Jvt Adding lockscreens

guys i'm trying to add lockscreens to the rom i'm using, I decompiled classes.dex from framework jar of a theme which have the lockscreens i want, after decompiling classes.dex with baksmali i get 4 folders:
-android
-com
-java
and -siso
which files are the ones that contains the information about lockscreens?
edit*
decompiling android-policy jar i found the files of the lockscreens. what more do i need?
any help would be appreciated and I hope somebody can help me
thanks
i've search for a tutorial or something that help me, but came with nothing, thats why I post this

[Q] Help needed please with edit of systemui.apk please.

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

[LINKS][TIPS] Edit system files, ROM, Kernel

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!

Some help needed with EMUI theming

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!

Categories

Resources