[MOD][GUIDE]how to added recent apps soft keys to your statusbar - Galaxy Y GT-S5360 Android Development

Hello guys after a few days not login here i just want to share my RECENT APPS statusbar MOD currently this mod added at my ROM ussr v8 im just share a little mod and How to do it
screenshot:
ok lets talk about this mod what you need:
requirment:
-apktool/vts/apk manager or choose what method do you want hahahaha
-brain
-attached file
-patient for editing xml
HOW TO DO:
estract attached file
first of all decompile ur systemui.apk
then put the attached btn_recent_app.9.png in res/drawable-hdpi (if u are in jelly bean statusbar mod)
and put recentapps.smali in com/android/systemui/statusbar/here
then assign your btn_recent_app.9.png to public xml
then add this code to your ids.xml above resources and assign ur ids in public.xml
<item type="id" name="recent_app_button">false</item> and save
then open layout/statusbar_expanded.xml if u are on JB statusbar after this line
<ImageView android:id="@id/settings_button" android:layout_width="48.0dip" android:layout_height="48.0dip" android:src="@drawable/ic_notify_quicksettings" android:scaleType="center" android:layout_toRightOf="@id/date" android:contentDescription="@string/accessibility_settings_button" />
add this:
<com.android.systemui.statusbar.RecentAppButton android:textSize="10.0dip" android:id="@id/recent_app_button" android:background="@drawable/btn_recent_app" android:layout_width="wrap_content" android:layout_height="wrap_content" android:scaleType="center" android:layout_toRightOf="@id/settings_button" />
soo your code line look like this
<ImageView android:id="@id/settings_button" android:layout_width="48.0dip" android:layout_height="48.0dip" android:src="@drawable/ic_notify_quicksettings" android:scaleType="center" android:layout_toRightOf="@id/date" android:contentDescription="@string/accessibility_settings_button" />
<com.android.systemui.statusbar.RecentAppButton android:textSize="10.0dip" android:id="@id/recent_app_button" android:background="@drawable/btn_recent_app" android:layout_width="wrap_content" android:layout_height="wrap_content" android:scaleType="center" android:layout_toRightOf="@id/settings_button" />
recompile your systemui.apk and u are done dont forget to test it in case ur button colapse u can always play with the layout okkayyyy

Reserved for other mod
Sent from my GT-S5360 using Xparent ICS Blue Tapatalk 2

Reserved again
Sent from my GT-S5360 using Xparent ICS Blue Tapatalk 2

Awesome!
nice work bro...
Keep the good work

MatZ69 said:
Awesome!
nice work bro...
Keep the good work
Click to expand...
Click to collapse
Thanks bro
Sent from my GT-S5360 using Xparent ICS Blue Tapatalk 2

Classic Reserved Thing. Thanks for the share.

you are the man
you are the rock star.
good job

Hey bro youre the AWESOMEST
GREEETZ WITH MANY TAP A TALKED BEATZ!!!

Awesome work evan.......
Keep going bro......
Sent from my GT-S5360 using xda premium

:good: nice bro...

Any one try this and report?
Sent from my GT-S5360 using Xparent ICS Blue Tapatalk 2

So its sort of a mod which changes the position n image of the clear butto right? Seems like it.
Btw some ur codes are not complete.. Check first post
Sent from my GT-S5360 using XDA

Lol why it change it self nah damn i will fix it
Sent from my GT-S5360 using Xparent ICS Blue Tapatalk 2

Hey!
I'd tried in CoD, but not working

marinalin85 said:
I'd tried in CoD, but not working
Click to expand...
Click to collapse
Are u sure ??? Write here the change that u made on systemui of cod rom
Sent from my GT-S5360 using Xparent ICS Blue Tapatalk 2

evanlocked said:
Are u sure ??? Write here the change that u made on systemui of cod rom
Sent from my GT-S5360 using Xparent ICS Blue Tapatalk 2
Click to expand...
Click to collapse
Exact steps you said

What errors u got?
Sent from my GT-S5360 using Xparent ICS Blue Tapatalk 2

evanlocked said:
What errors u got?
Sent from my GT-S5360 using Xparent ICS Blue Tapatalk 2
Click to expand...
Click to collapse
When compiling

cant see
i cant read right the post brother, using both explorers, crhome and opera, cant check de code and thumbs

marinalin85 said:
When compiling
Click to expand...
Click to collapse
Use apk manager firat off all just decompile ur systemui then put btn_recent_9.png in ur res drawable hdpi then edit ur ids.xml
Dont assign to public yet after that recompile your system ui now u have it automatically in public xml decomplile unsignedsystemui.apk then u can change the layout of statusbar expanded.xml then push the smali recompile and test
Sent from my GT-S5360 using Xparent ICS Blue Tapatalk 2

Related

[MOD]Port The 5 Lockscreen To Galaxy SL[I9003]

Ported The 5 Lockscreen To Galaxy SL
Apply the files
frameworks folder to /system/framework
app folder to /system/app
After that Go to settings --> Display
You will see Device Lockscreen
Set it to which ever you want Enjoy
It Is For XXKP9 (GINGERBREAD)
Thanks : ronhoover88
http://www.megaupload.com/?d=VKVTLOV0
Download the file and replace the settings file which i am attaching
Don't use the Settings.apk from the link
Use Mine
Check The Screen Shots
Edit :
CRT + Overscroll Glow + 5 Lockscreen (Framework-res.apk file only)
http://forum.xda-developers.com/showpost.php?p=16070361&postcount=78
i already hav this source i m stuck with diff file..
I've done 90% of it but cant do the settings.apk
Sent from my GT-I9003 using XDA App
Good job dude
Sent from my GT-I9003 using XDA App
intergen said:
Good job dude
Sent from my GT-I9003 using XDA App
Click to expand...
Click to collapse
what good job nothing is done...
ronhoover88 said:
I've done 90% of it but cant do the settings.apk
Sent from my GT-I9003 using XDA App
Click to expand...
Click to collapse
Will You attach all the files You have created??
I will Try to the settings.apk files
I have done the mod for froyo...i'll work on gb from saturday
Sent from my GT-I9003 using XDA App
ronhoover88 said:
I have done the mod for froyo...i'll work on gb from saturday
Sent from my GT-I9003 using XDA App
Click to expand...
Click to collapse
Where have you posted for froyo mate?
I haven't succeeded yet...i have ported 2 lockscreens...but need to mod setting.apk...thats not possible with me
Sent from my GT-I9003 using XDA App
Nice try I'm also try.but briked. I did status bar tweak,we have to edit XML it take one day for every file
Sent from my GT-I9003 using XDA Premium App
Keep on the good work guys and we i9003 user are grateful for your dedication.
Thanks
ronhoover88 said:
I haven't succeeded yet...i have ported 2 lockscreens...but need to mod setting.apk...thats not possible with me
Sent from my GT-I9003 using XDA App
Click to expand...
Click to collapse
if u have ported 2 lock screens post it here may be someone help us with other
I dont want someone to download it and start complaining...i'll complete it and then upload...coz most of all we need modded settings.apk to choose the unlockscreen thats what i'm not able to do
Sent from my GT-I9003 using XDA App
ronhoover88 said:
I dont want someone to download it and start complaining...i'll complete it and then upload...coz most of all we need modded settings.apk to choose the unlockscreen thats what i'm not able to do
Sent from my GT-I9003 using XDA App
Click to expand...
Click to collapse
I will try to mod settings.apk
And will post on saturday if it is sucessful
Sent from my GT-I9003
vivekkalady said:
I will try to mod settings.apk
And will post on saturday if it is sucessful
Sent from my GT-I9003
Click to expand...
Click to collapse
Good but you are using gb right??
Wat are the bugs in it? Does it reboot successfully or does it enter the upload mode?
Sent from my GT-I9003 using XDA App
Hi I've tried the problem is in the file public.xml because the default ids assigned to the new options are already assigned to others in the original i9003's settings.apk file. So we have to edit the xml file after patching it with .diff file to change the default ids with others not used...
EDIT:
used ids point to the samsung lockscreen so we can delete them ( I think)
From default public.xml:
<public type="drawable" name="lock_anim_10" id="0x7f02006d" />
<public type="drawable" name="lock_anim_11" id="0x7f02006e" />
<public type="drawable" name="lock_anim_12" id="0x7f02006f" />
<public type="drawable" name="lock_anim_13" id="0x7f020070" />
<public type="drawable" name="lock_anim_14" id="0x7f020071" />
From public.diff:
< <public type="drawable" name="APKTOOL_DUMMY_006d" id="0x7f02006d" />
< <public type="drawable" name="APKTOOL_DUMMY_006e" id="0x7f02006e" />
< <public type="drawable" name="APKTOOL_DUMMY_006f" id="0x7f02006f" />
< <public type="drawable" name="APKTOOL_DUMMY_0070" id="0x7f020070" />
< <public type="drawable" name="APKTOOL_DUMMY_0071" id="0x7f020071" />
We can't use these ids twice for different function...
I hope I've helped someone
ronhoover88 said:
Good but you are using gb right??
Wat are the bugs in it? Does it reboot successfully or does it enter the upload mode?
Sent from my GT-I9003 using XDA App
Click to expand...
Click to collapse
I am using GB
No bugs at all
Only video formats are not supporting
No reboot option in the power button menu
i havent tried long pressing the power buton
Sent from my GT-I9003
vivekkalady said:
I am using GB
No bugs at all
Only video formats are not supporting
No reboot option in the power button menu
i havent tried long pressing the power buton
Sent from my GT-I9003
Click to expand...
Click to collapse
Long press works fine. I've used it commonly, And it works like a charm. No issues there, Yet.
yes u r right misledz
only problem is battery drain.
sometimes i get kernel panic.
buts it not laggy at all.
podanimesh said:
yes u r right misledz
only problem is battery drain.
sometimes i get kernel panic.
buts it not laggy at all.
Click to expand...
Click to collapse
Yeah, Battery drain seems to be alot faster on everyday use. I find myself charging it every 6 hours now compared to FROYO. Kernel panic rarely happens to me, Maybe because of pressing home+power button when it hangs, Then yes. Lag happens aswell, When you don't reboot the phone and constantly use it for 2-3 days without rebooting. It slows down pretty bad and the response to touch is delayed. A reboot fixes that and it becomes all smooth again.

Lock Screen Clock

can someone pls tell how to remove the clock from lock screen on wolf's rom ? i tryed changing BlankSerif.ttf with Clockpia and no result. can someone make a flashable zip or something to remove the clock on lock screen
JeJupan said:
can someone pls tell how to remove the clock from lock screen on wolf's rom ? i tryed changing BlankSerif.ttf with Clockpia and no result. can someone make a flashable zip or something to remove the clock on lock screen
Click to expand...
Click to collapse
i'm not sure but you should make a backup before try this:
1) entre to your framework-res.apk\assets\fonts
2) delete those fonts, so ready
3) reboot your device and watch your lockscreen
note: also you can change those fonts with the same names!!! to see other kinda fonts in your watch lockscreen... good look!!
((( sorry for my english )))
in assets/font there are only 2 fonts SoMAlight and SoMAregular if i change those won't it change all the fonts on my phone ? i only want to remove the clock
Well actually those fonts only can change the lockscreen font, that is what i realized... As i said before make a backup of your actually rom then change/delete those fonts.
Just try..
Sent from my X10i using xda premium
JeJupan said:
in assets/font there are only 2 fonts SoMAlight and SoMAregular if i change those won't it change all the fonts on my phone ? i only want to remove the clock
Click to expand...
Click to collapse
to remove the clock, go to res\layout-hdpi (i guess, can't remember from the top of my head, i'll check once i get home) and open the one and only xml file you find there. then delete semc.clockwidget or whatever it's name is. btw why you want to do that? if you upload the framework-res.apk for me, i'll do this for you at home (approx 3 hours from now), if that's okay.
Other option is the set the font color to transparent.
jackxx said:
i'm not sure but you should make a backup before try this:
1) entre to your framework-res.apk\assets\fonts
2) delete those fonts, so ready
3) reboot your device and watch your lockscreen
note: also you can change those fonts with the same names!!! to see other kinda fonts in your watch lockscreen... good look!!
((( sorry for my english )))
Click to expand...
Click to collapse
Could you upload the font folder you used or changed in the framework?
Sent from my X10 using xda premium
This is the font i'm using right now
Sent from my X10i using xda premium
here it is!
so here it comes, decompile the framework-res.apk with apk multitool. go to projects folder, find the folder called framework-res.apk. go inside, then go inside the res folder, then find layout-hdpi and inside that, you'll find only one file, called keyguard_screen_tab_unlock.xml. open that with notepad++. find the following code:
Code:
<TextView android:textSize="104.0dip" android:textColor="@color/white" android:id="@id/timeDisplay" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_centerHorizontal="true" />
<TextView android:textSize="18.0dip" android:textColor="#c0ffffff" android:id="@id/am_pm" android:paddingTop="35.0dip" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_marginLeft="-12.0dip" android:layout_toRightOf="@id/timeDisplay" android:layout_alignParentTop="true" />
change it to:
Code:
<TextView android:textSize="0.0dip" android:textColor="00ffffff" android:id="@id/timeDisplay" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_centerHorizontal="true" />
<TextView android:textSize="0.0dip" android:textColor="#00ffffff" android:id="@id/am_pm" android:paddingTop="35.0dip" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_margin
then find this:
Code:
<TextView android:textSize="18.0dip" android:textColor="#ccffffff" android:layout_gravity="center_horizontal" android:id="@id/date" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_marginTop="-28.0dip" android:layout_below="@id/timeRelativeLayout24h" android:layout_alignLeft="@id/timeDisplay" />
change it to this:
Code:
<TextView android:textSize="0.0dip" android:textColor="#00ffffff" android:layout_gravity="center_horizontal" android:id="@id/date" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_marginTop="-28.0dip" android:layout_below="@id/timeRelativeLayout24h" android:layout_alignLeft="@id/timeDisplay" />
then compile the apk, create a flashable zip and flash it via recovery.
this will change the font size to 0 of the time, the am/pm label (in case it's shown) and the date. plus it will change the textcolor to fully transparent.
it should work.
not even a single thanks? your welcome, mate!
jackxx said:
i'm not sure but you should make a backup before try this:
1) entre to your framework-res.apk\assets\fonts
2) delete those fonts, so ready
3) reboot your device and watch your lockscreen
note: also you can change those fonts with the same names!!! to see other kinda fonts in your watch lockscreen... good look!!
((( sorry for my english )))
Click to expand...
Click to collapse
How did you get " please dont touch my phone and " jack's " ? Looks cool
It is easy men, there is a app called "carrier name".. This app can change the operator name, you can download from market it is free.
"dont touch my phone" you can make by modify you framework-res.apk and sistem-ui.apk or something like that...
Sent from my X10i using xda premium
jackxx said:
i'm not sure but you should make a backup before try this:
1) entre to your framework-res.apk\assets\fonts
2) delete those fonts, so ready
3) reboot your device and watch your lockscreen
note: also you can change those fonts with the same names!!! to see other kinda fonts in your watch lockscreen... good look!!
((( sorry for my english )))
Click to expand...
Click to collapse
at the moment to replaces the original fonts of the framework-res.apk is necessary do it with two fonts files or you can just let one font file?
Sure bro... You have to change both ttf.. That's an obligation
Sent from my X10i using xda premium
ok, thanks.
Last question, how can i remove "please don't touch my phone" from the lock screen.
i try deleting the .png files of this message but when i intall the theme the phone not pass from boot animation.
should i just edit the .png files deleting the message?
Sent from my X10i using XDA

White SecSettings

EDIT I'm unsure if this is the original s4 white contacts the apk is half the size ???
As many people requested I'll share the white settings from the s4.
Credits for pictures goes to rorm2010
Credits goes to David770 for sharing it to me (he's not able to share it to anyone due to to low posts)
This is for deodexed roms Only
www.4shared.com/android/t3P9kY5R/SecSettings.html
Credits goes to @leeomendes
For flashable zip
Or this package (replaces following)
- Messaging
- Phone
- Contacts
- Settings
Download:
http://www.mediafire.com/?bmwt0x08dtm6j2u
Sent from my official GT-I9505 powered with qualcom
i will check the file after download
its the file from 4.2.2-I9505XXUBMEA . This file is enough for themers to port the theme. like copying pngs and editing xmls. Good job mate!
I guess following changes in styles.xml will bring the device to white theme!
from
<style name="Theme.CreateShortCut" parent="@*android:style/Theme.DeviceDefault.DialogWhenLarge" />
<style name="setup_wizard_theme" parent="@*android:style/Theme.DeviceDefault">
to
<style name="Theme.CreateShortCut" parent="@*android:style/Theme.DeviceDefault.Light.DialogWhenLarge" />
<style name="setup_wizard_theme" parent="@*android:style/Theme.DeviceDefault.Light">
LastStandingDroid said:
EDIT I'm unsure if this is the original s4 white contacts the apk is half the size ???
As many people requested I'll share the white settings from the s4.
Credits for pictures goes to rorm2010
Credits goes to David770 for sharing it to me (he's not able to share it to anyone due to to low posts)
This is for deodexed roms Only
www.4shared.com/android/t3P9kY5R/SecSettings.html
Sent from my official GT-I9505 powered with qualcom
Click to expand...
Click to collapse
Its Work !!!!! The SecSettings , thank you a lot !
But my files still in black .. My Software is I9505 XXUBMF2
dam was trying to invert the original white settings but i got stuck on changing the font color.I havent thought of using the method above will try to apply the above changes tonight an see what happens!!
Thanks man
Stavr0s91i said:
dam was trying to invert the original white settings but i got stuck on changing the font color.I havent thought of using the method above will try to apply the above changes tonight an see what happens!!
Thanks man
Click to expand...
Click to collapse
I am out or else I would have given a try, but I am sure it should work or else let me know where you facing the problem, so that I can extend my assistance...
Sent from my GT-I9500 using Tapatalk 4 Beta
grgsiocl said:
i will check the file after download
its the file from 4.2.2-I9505XXUBMEA . This file is enough for themers to port the theme. like copying pngs and editing xmls. Good job mate!
I guess following changes in styles.xml will bring the device to white theme!
from
<style name="Theme.CreateShortCut" parent="@*android:style/Theme.DeviceDefault.DialogWhenLarge" />
<style name="setup_wizard_theme" parent="@*android:style/Theme.DeviceDefault">
to
<style name="Theme.CreateShortCut" parent="@*android:style/Theme.DeviceDefault.Light.DialogWhenLarge" />
<style name="setup_wizard_theme" parent="@*android:style/Theme.DeviceDefault.Light">
Click to expand...
Click to collapse
Where did you find "styles.xml" ??
dong2007 said:
Where did you find "styles.xml" ??
Click to expand...
Click to collapse
After decompile navigate to res-values-styles.xml
Sent from my GT-I9500 using Tapatalk 4 Beta
I'm downloading the build that should have the white theme so don't worry I'll share it aswell !
I'm currently uploading the secsettings from the dump which has the white theme stay tuned !it won't work on this release!
Edit here it is
http://www.mediafire.com/?jfzeqb4gal4tu46 (framework)
http://www.mediafire.com/?p97p2sc8mczdt0g (secsettings)
http://www.mediafire.com/?votojs3nau3fs9q (
Touchwiz framework)
Sent from my official GT-I9505 powered with qualcom
Woop woop it's working however it's say wanamlite rom in about...
Sent from my GT-I9505 using Tapatalk 4 Beta
Which one worked @SALAH100 send picture ?
Sent from my official GT-I9505 powered with qualcom
The first one from ur link in original post
Sent from my GT-I9505 using Tapatalk 4 Beta
Oh well I use a odex that's why it didn't work :grin:
Sent from my official GT-I9505 powered with qualcom
Working with I9500 MF3 Wanam Lite Rom. Thanks a lot. Now I just want white keyboard.
Sent from my GT-I9500 using Tapatalk 2
LastStandingDroid said:
I'm downloading the build that should have the white theme so don't worry I'll share it aswell !
I'm currently uploading the secsettings from the dump which has the white theme stay tuned !it won't work on this release!
Edit here it is
http://www.mediafire.com/?jfzeqb4gal4tu46 (framework)
http://www.mediafire.com/?p97p2sc8mczdt0g (secsettings)
http://www.mediafire.com/?votojs3nau3fs9q (
Touchwiz framework)
Sent from my official GT-I9505 powered with qualcom
Click to expand...
Click to collapse
did any one tested it? how about flashable zip? and revert to stock flash zip?
What you can do is search for a working flashable zip wich flash something to your system app and just replace it with secsettings
Sent from my official GT-I9505 powered with qualcom
Working with Wanamlite 1.5, Crash ROM 1.3, Phoenix ROM 2.0, Omega 6.0...
All ROMS with New Firmware I9500UBUBMF3!!!
Thanks very good Job
Sent from my Octa using New Tapatalk 4
Which variant do these originate from?
Hi,
I have tested this on My S4 i9500 with Omega 6 works g8
I have just replaced the .apk file using solid file explorer to system /apps
Please find the video below
Note Dialer and contacts white i have got from other Thread
Thanks to Op / creator of this :good:
http://www.youtube.com/watch?v=6y1pAbcgcQM
@123hiten your video link is broken
Sent from my official GT-I9505 powered with qualcom
LastStandingDroid said:
@123hiten your video link is broken
Sent from my official GT-I9505 powered with qualcom
Click to expand...
Click to collapse
Hi
Its working just fine i m checking it right now i can use see from pc
but for XDA app i guess complete link is needed
http://www.youtube.com/watch?v=6y1pAbcgcQM
Updated and working Pls confirm

[MOD][CM10.1]Centered Clock (for now) [Currently Alpha 8]

[MOD][CM10.1]Centered Clock (for now) ​
How to Install?​
1.Put the file to your sdcard
2.boot into recovery
3.flash the file
4.done
note:if you don't like the mod just flash backup in universal flasher folder
Download
CM10.1 ALPHA 5
100% Tranparent Status Bar+Centered Clock+White Clock:
DropBox
CM10.1 ALPHA 6
(alpha 6 dhiru latest build)
100% Transparent Status Bar+Centered Clock+White Clock
DropBox
CM10.1 ALPHA 7
Centered Clock
as per request for now only centered clock for transparent status bar use Tweakbox for Xposed Framework
DropBox
CM10.1 ALPHA
Centered Clock
Thanks for @martin.la.gib
martin.la.gib said:
Center Clock for CM10.1 A8 : Centerclock CM10.1 A8 Blue ICS / Grey
ATTENTION : this MOD is not compatible with other MOD who used an other SystemUI.apk ("Task Manager in recent app" by TopDroid for exemple)
There are 2 colour : Blue ICS (SystemUI_center_clock.apk) and in grey (SystemUI_center_clock__grey.apk)
If you no happy, to return on default it's : SystemUI.apk
Installation :
- put the apk on your SD card
- with a ROOT explorer (Solid Explorer for exemple) go to : /system/app
- put the apk here (verify permissions :-rw-r--r--) and delete the older SystemUI.apk
- the phone reboot automatically
- Enjoy !!!
Click to expand...
Click to collapse
GUIDE:
If you want to change the colour of the clock
(For Centered Clock)
1.Open res/layout/status_bar.xml
find this line
Code:
<com.android.systemui.statusbar.policy.Clock android:textAppearance="@style/TextAppearance.StatusBar.Clock" android:textColor="#ffffff" android:gravity="center" android:id="@id/clock" android:paddingLeft="6.0dip" android:clickable="false" android:layout_width="wrap_content" android:layout_height="fill_parent" android:singleLine="true" />
2.Change this:
Code:
android:textColor="[B]#ffffff[/B]"
#ffffff : White
you can find hex code to change the colour of the clock
3.Done !
If you want to change the colour of the clock
(For Stock Clock)
1.Open res/Values/Styles.xml
find this code:
Code:
<style name="TextAppearance.StatusBar.Clock" parent="@*android:style/TextAppearance.StatusBar.Icon">
<item name="android:textSize">16.0dip</item>
<item name="android:textStyle">normal</item>
<item name="android:textColor">#ffffffff</item>
</style>
2.change this
Code:
<item name="android:textColor">#ffffffff</item>
#ffffff: white
@*android:color/holo_blue_light: stock colour (Blue)
3.Done!
​
Sent from my GT-I9003 using xda premium
Upload you framework-res.apk,systemui.apl,and androidpolicy.jar i think same as with another transparent mod
Sent from my GT-I9003 using xda premium
martin.la.gib said:
Yes, here they are : framework-res.apk ; SystemUI.apk ; android.policy.jar
Thank you
Click to expand...
Click to collapse
umm sorry sir,i always fail to recompilling it
martin.la.gib said:
do you know why ? :/
Click to expand...
Click to collapse
dunno :\ you are using alpha 6 latest build by dhiru ? if yes try in OP
martin.la.gib said:
Tes ok I'll try
---------- Post added at 09:48 AM ---------- Previous post was at 09:44 AM ----------
Link error ...
Click to expand...
Click to collapse
DropBox here you go:victory:
Yes i can,wait i'll do it for you
White clock or blue clock?
Sent from my GT-I9003 using xda premium
Thank you for this mod It cool :good:
And with the speed of the Internet 0.00kb/s. There is a modification?
If u guys open any app thats not coming with the rom, how does the statusbar look then? Like ugly weird grey/white or something?
Thanks I will try,
it looks nice
I have flashed and it looks very nice.
Is there a way to modify the transparency of the status bar? I mean, something similar such the clock changing color?
Thanks
Try module from xposed
Sent from my GT-I9003 using xda premium
@martin.la.gip hey friend i was make one for you Centered blue clock,if you want transparent use xposed module:good:
SORRY FOR LATE UPDATE cause i had an exam
ALPHA 8 by @martin.la.gib
i have whiship cm 10.1 ace plus how i know my rom alpha version
Different phone different rom ma friend
Sent from my GT-I9003 using xda app-developers app
The links doesn't work??
Re-upload may be please??

[MOD][GUIDE]Add CPU usage in notification panel

I never seen any guide how to add the cpu usage into notification panel to this is a guide how to do it!
Files need modification
Smali
\SystemUI\smali\com\android\systemui\statusbar\policy
XML's
status_bar_expanded_header.xml
id.xml
strings.xml
public.xml
1: Decompile the SystemUI.apk using apktool.
2: Now download the cpu_smali attachment and put the smalis inside the folder \SystemUI\smali\com\android\systemui\statusbar\policy
3: Open the file \SystemUI\res\values\id.xml and scroll down at the bottom and add these lines
Code:
<item type="id" name="cpu">false</item>
<item type="id" name="sys_id">false</item>
4: Open the file \SystemUI\res\values\strings.xml and scroll down at the bottom and add these lines
Code:
<string name="cpu_idle">idle</string>
<string name="cpu_text">CPU Usage</string>
5: Open the file \SystemUI\res\layout\status_bar_expanded_header.xml and look for the line
Code:
<com.android.systemui.statusbar.policy.ClockStock android:textAppearance="@style/TextAppearance.StatusBar.Expanded.Clock" android:textColor="@color/notification_header_clock_color" android:gravity="bottom" android:id="@id/clock" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_marginLeft="@dimen/notification_panel_header_clock_margin_left" android:singleLine="true" systemui:ampmSmall="true" />
<com.android.systemui.statusbar.policy.DateView android:textAppearance="@style/TextAppearance.StatusBar.Expanded.Date" android:textColor="@color/notification_header_date_color" android:gravity="bottom" android:id="@id/date" android:layout_width="wrap_content" android:layout_height="fill_parent" android:layout_marginLeft="@dimen/notification_panel_header_date_margin_left" android:layout_marginRight="@dimen/notification_panel_header_date_margin_right" android:layout_marginBottom="@dimen/notification_panel_header_date_margin_bottom" android:layout_toEndOf="@id/clock" />
Now we gonna comment out these codes just incase u want the date and clock back in the future so we need to do is replace with these codes
Code:
<!--
<com.android.systemui.statusbar.policy.ClockStock android:textAppearance="@style/TextAppearance.StatusBar.Expanded.Clock" android:textColor="@color/notification_header_clock_color" android:gravity="bottom" android:id="@id/clock" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_marginLeft="@dimen/notification_panel_header_clock_margin_left" android:singleLine="true" systemui:ampmSmall="true" />
<com.android.systemui.statusbar.policy.DateView android:textAppearance="@style/TextAppearance.StatusBar.Expanded.Date" android:textColor="@color/notification_header_date_color" android:gravity="bottom" android:id="@id/date" android:layout_width="wrap_content" android:layout_height="fill_parent" android:layout_marginLeft="@dimen/notification_panel_header_date_margin_left" android:layout_marginRight="@dimen/notification_panel_header_date_margin_right" android:layout_marginBottom="@dimen/notification_panel_header_date_margin_bottom" android:layout_toEndOf="@id/clock" />
-->
6: Now right under the lince we just comment out we will add these lines
Code:
<LinearLayout android:gravity="left" android:orientation="vertical" android:id="@id/cpu" android:background="#ff000000" android:layout_width="fill_parent" android:layout_height="fill_parent">
<TextView android:textSize="15.0dip" android:textColor="#ffffffff" android:id="@id/sys_id" android:paddingLeft="11.0dip" android:layout_width="wrap_content" android:layout_height="wrap_content" android:text="@string/cpu_text" android:layout_marginLeft="@dimen/status_bar_expanded_notification_margin" />
<com.android.systemui.statusbar.policy.CpuUsageView android:textSize="12.0dip" android:textColor="#ffffffff" android:paddingLeft="23.0px" android:layout_width="wrap_content" android:layout_height="wrap_content" />
</LinearLayout>
7: Now save everything and lets compile the SystemUI.apk and sign it.
8: Take the SystemUI.apk we just compiled and signed and decompile it again using apktool
9: Now we open the file public.xml and look for the line <public type="string" name="cpu_idle" id=" now all we needed is the id inside the id=""
10: Now we open the file \SystemUI\smali\com\android\systemui\statusbar\policy\CpuUsageView$1.smali and search for # virtual methods few lines below you will see const v9, 0x7f0a01ad and all we need to do is change the 0x7f0a01ad to the one we found in public.xml
11: Save everything Compile & Sign and push it inside your system\priv-app.
12: Enjoy
Do you need root for this?
Sent from my SM-N9005 using XDA Premium 4 mobile app
Does ram booster pro actually work??
Sent from my SM-N9005 using XDA Premium 4 mobile app
HaloTwenty3 said:
Do you need root for this?
Sent from my SM-N9005 using XDA Premium 4 mobile app
Click to expand...
Click to collapse
Yes
speedyjay said:
Does ram booster pro actually work??
Sent from my SM-N9005 using XDA Premium 4 mobile app
Click to expand...
Click to collapse
Yes i think been using it since i got my note 3
Awesome job
Hi meawww,
Is it possible to add CPU Freq value like "CPU Usage: @1600mHz"
What toggles are those? They look so nice..
kadiremrah said:
Hi meawww,
Is it possible to add CPU Freq value like "CPU Usage: @1600mHz"
Click to expand...
Click to collapse
Nope
DrawnToLife said:
What toggles are those? They look so nice..
Click to expand...
Click to collapse
Made those while ago and never been released
Can anyone make a vrtheme flashable zip with the modded .xml only please
Sent from my SM-N900A using XDA Premium 4 mobile app
Anyone???
Sent from my SM-N900A using XDA Premium 4 mobile app
---------- Post added at 11:45 PM ---------- Previous post was at 11:41 PM ----------
@dr.ketan pleasee
Why do you only want the xml?
Sent from my SM-G900F using Tapatalk
Goldie said:
Why do you only want the xml?
Sent from my SM-G900F using Tapatalk
Click to expand...
Click to collapse
I dont have a pc to do the modding so a flashable vrtheme with the modded .xml will work
I upload my systemui.apk so if anyone can modded it for me i will be thankfull
Sent from my SM-N900A using XDA Premium 4 mobile app
But then you will not have the smali files that do the actual mod and it will just fc
Sent from my SM-G900F using Tapatalk
carlospr21 said:
I dont have a pc to do the modding so a flashable vrtheme with the modded .xml will work
I upload my systemui.apk so if anyone can modded it for me i will be thankfull
Sent from my SM-N900A using XDA Premium 4 mobile app
Click to expand...
Click to collapse
Try this
meawww said:
Try this
Click to expand...
Click to collapse
Thank u sir
Sent from my SM-N900A using XDA Premium 4 mobile app
meawww said:
Try this
Click to expand...
Click to collapse
@meawww, once again great job...worked as advertised. One question, is it possible to show the clock/date with the CPU usage? I was thinking about playing with the size (dpi) to see what would happen...perhaps even removing the 'CPU Usage' header just to show the core usages as well.
Also, I think your screen dpi is slightly different than mine as well. I lose the last core reading, see pic
deuce_biggins said:
@meawww, once again great job...worked as advertised. One question, is it possible to show the clock/date with the CPU usage? I was thinking about playing with the size (dpi) to see what would happen...perhaps even removing the 'CPU Usage' header just to show the core usages as well.
Also, I think your screen dpi is slightly different than mine as well. I lose the last core reading, see pic
Click to expand...
Click to collapse
Yes you can add clock date back just edit the xml and my dpi is 320
meawww said:
Yes you can add clock date back just edit the xml and my dpi is 320
Click to expand...
Click to collapse
I never edited out my clock and date in the xml file. It just didn't show up (must be overlapping with the cpu usage). I'm wondering if I need to increase the size of my status bar header??
nice guide master..thank you
carlospr21 said:
I dont have a pc to do the modding so a flashable vrtheme with the modded .xml will work
I upload my systemui.apk so if anyone can modded it for me i will be thankfull
Sent from my SM-N900A using XDA Premium 4 mobile app
Click to expand...
Click to collapse
meawww said:
Try this
Click to expand...
Click to collapse
Would that theme work with Sprint NAC 4.42? Some themes don't because they don't include Wifi Calling, Hotspot, Mobile Data, Torch, etc... Thanks in advance.

Categories

Resources