[Tutorial][How-to][Guide] StatusBar Mods [CORNER OPTION - TRAFFIC - MORE] - Sony Xperia S, Acro S, Ion

StatusBar Mods For All Xperia Devices​
Requirements​
ApkTool
SystemUI.apk
Knowledge to Decompiling and Compiling APKs
Notepad++
Add Corner Options on StatusBar
Decompile with APKTool SystemUI.apk
Go to res/layout/status_bar.xml
Add this Line ( <com.android.systemui.statusbar.policy.KeyButtonView android:layout_gravity="right" android:id="@id/home" android:layout_width="wrap_content" android:layout_height="fill_parent" android:src="@drawable/screen_lock" android:layout_toRightOf="@id/recent_apps" android:contentDescription="@string/accessibility_back" systemui:keyCode="26" systemui:keyRepeat="false" systemui:glowBackground="@drawable/ic_sysbar_highlight" androidrientation="vertical" /> ) between this " </LinearLayout> " and this " <ImageView android:layout_gravity="top|left|center" android:id="@id/rounded_corner_ul" android:layout_width="wrap_content" android:layout_height="wrap_content" android:src="@drawable/rounded_corner_ul" /> "
Than Make a Transparent Image 20x35 with Photoshop in .PNG , rename it in ( screen_lock ) and copy in" res/drawable-xhdpi "
Compilng and Done
Add Traffic Meter to StatusBar
Decompile systemUI.apk
Go to res/layout and open status_bar.xml
Add this line ( <com.android.systemui.statusbar.policy.Traffic android:textAppearance="@style/TextAppearance.StatusBar.Traffic" android:gravity="left|center" android:id="@id/traffic" android:layout_width="wrap_content" android:layout_height="fill_parent" android:singleLine="true" /> ) two line above the line " <include android:id="@id/signal_cluster" android:layout_width="wrap_content" android:layout_height="wrap_content" layout="@layout/signal_cluster_view" /> "
now go to res/values and open ids.xml and add this line at the end " <include android:id="@id/signal_cluster" android:layout_width="wrap_content" android:layout_height="wrap_content" layout="@layout/signal_cluster_view" /> "
Now go to res/values and open styles.xml and copy this code at the end "
<style name="TextAppearance.StatusBar.Traffic" parent="@style/TextAppearance.StatusBar.Clock">
<item name="android:textSize">14.0dip</item>
<item name="android:textStyle">normal</item>
<item name="android:textColor">#ffffffff</item>
<item name="android:textAllCaps">false</item>
</style> "
Now download this Package and extract it to smali/com/android/systemui/statusbar/policy/HERE
Compile and Done
Change Color StatusBar
Decompiling SystemUI.apk
Go to res/values , open drawables.xml
Change in <item type="drawable" name="status_bar_background">#ff14374f</item> the #ff14374f in ur prefered colour , to choose color i suggest to open Photoshop and in colors pick up ur colour code and paste with this " 14374f " in Drawables.xml file.
Compiling and Done
More Mods Soon​

Appreciate your work but these mods can already be done using Xposed framework without any flashing.

PünchUp said:
Appreciate your work but these mods can already be done using Xposed framework without any flashing.
Click to expand...
Click to collapse
And for who dont want xposed?!? Hahah
Sent from my LT26ii using XDA Premium 4 mobile app

savergiggio said:
And for who dont want xposed?!? Hahah
Sent from my LT26ii using XDA Premium 4 mobile app
Click to expand...
Click to collapse
That's why I said I appreciate your work

PünchUp said:
That's why I said I appreciate your work
Click to expand...
Click to collapse
nice!!

Can u post screenshots of end-effect of edited statusbar?

Thanks master @savergiggio
Sent from my LT26w using XDA Premium 4 mobile app

Great tutorial mate! I really appriciate it ?
EDIT: how about tutorial on putting close all button on taskswitcher?

Why don't you never give credits? You haven't made up these mods... you should give credits to whoever you have copied the code from.

rockernaxo said:
Why don't you never give credits? You haven't made up these mods... you should give credits to whoever you have copied the code from.
Click to expand...
Click to collapse
i didnt copy these codes

HitFan said:
Can u post screenshots of end-effect of edited statusbar?
Click to expand...
Click to collapse
i will

rockernaxo said:
Why don't you never give credits? You haven't made up these mods... you should give credits to whoever you have copied the code from.
Click to expand...
Click to collapse
savergiggio said:
i didnt copy these codes
Click to expand...
Click to collapse
Oh Really?
Same as this link : http://forum.xda-developers.com/showthread.php?t=2241739
And you give TRAFFIC.zip on this thread.
You Reported "freeloader" !!

savergiggio said:
i didnt copy these codes
Click to expand...
Click to collapse
Are you kidding? Who are you trying to decieve?
I don't say you can't post "your guide" here, but at least give credits to those who have really done this stuff.
These mods are the result of hours of hardwork and not of your hardwork. Give credits man, that's not the spirit of xda.

Hi , i guess that OP never use searh button. 

Dzol Cp said:
Hi , i guess that OP never use searh button. 
Click to expand...
Click to collapse
But he uses well Ctrl-C and Ctrl-P
Btw thanks you for this tuturial...

rockernaxo said:
Are you kidding? Who are you trying to decieve?
I don't say you can't post "your guide" here, but at least give credits to those who have really done this stuff.
These mods are the result of hours of hardwork and not of your hardwork. Give credits man, that's not the spirit of xda.
Click to expand...
Click to collapse
bro u are right but i pick up these codes from different source i can't give credit to only one person... i serched for them in others site too .... different from XDA...

savergiggio said:
bro u are right but i pick up these codes from different source i can't give credit to only one person... i serched for them in others site too .... different from XDA...
Click to expand...
Click to collapse
Simple, you can start giving credits to RC @Dzol Cp.
The same I'd recommend with your ROM

savergiggio said:
i didnt copy these codes
Click to expand...
Click to collapse
@rockernaxo is right, i think u get the tutorial on adding traffic meter on statusbar here: http://forum.xda-developers.com/showthread.php?t=2241739 right?

savergiggio said:
bro u are right but i pick up these codes from different source i can't give credit to only one person... i serched for them in others site too .... different from XDA...
Click to expand...
Click to collapse
You're not successful on lying as hijack. I gave the source thread (which you take(hijack) TRAFFIC.zip) You must give Dzol Cp to credits.
This is not your work, and you're saying i didint take the codes, they are my made. So Sorry for you!

savergiggio said:
bro u are right but i pick up these codes from different source i can't give credit to only one person... i serched for them in others site too .... different from XDA...
Click to expand...
Click to collapse
I check your zip file and all the smali code is belong to me and my group project! what are you gonna say? still refuse to add real link and credits?
then your thread has still not report to FORUM MODERATOR.. i give you chance by today.. and if still nothing on progress. then you will know.
Regards
Dz

Related

(>HOW TO<)Centre clock/clock colour blue

Guide:
Center Clock Mod
Decompile SystemUI.apk
Systemui/res/layout/tw_status_bar.xml
Delete:
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" />
Then find this line and create a blank under it:
Code:
xmlns:systemui="http://schemas.android.com/apk/res/com.android.systemui">
And enter these lines into the space:
Code:
<LinearLayout android:gravity="center" 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:paddingTop="3.0px" android:layout_width="wrap_content" android:layout_height="fill_parent" android:singleLine="true" android:layout_weight="1.0" />
</LinearLayout>
Blue clock
SystemUI/res/values/styles.xml
search for
Code:
<style name="TextAppearance.StatusBar.Clock" parent="@android:style/TextAppearance.StatusBar.Icon">
<item name="android:textSize">18.0dip</item>
<item name="android:textStyle">normal</item>
<item name="android:textColor">@android:color/[COLOR="Magenta"]holo_blue_light</item>[/COLOR]
and change to
Code:
<style name="TextAppearance.StatusBar.Clock" parent="@android:style/TextAppearance.StatusBar.Icon">
<item name="android:textSize">20.0dip</item>
<item name="android:textStyle">normal</item>
<item name="android:textColor">@android:color/[COLOR="Red"]holo_blue_dark</item>[/COLOR]
Recompile SystemUI
Is it possible to make a flashable zip ? for both blue clock and centered clock ?
can explain center clock more brifly nt geting itt
Sent from my GT-I9300 using xda premium
saveferris said:
Is it possible to make a flashable zip ? for both blue clock and centered clock ?
Click to expand...
Click to collapse
Systemui changes on every theme on every rom. Its something best done by the individual
Sent from my GT-I9300 using Tapatalk 2
What are you guys using to decompile/recompile... I'm having issues compiling with apktool..
Can someone write up a quick guide ?
It seems I can decompile, can't compile with out errors tho.
yea,can someone make a flashible zip? Thanks
hello a suggestion. I personally do not like the operator's name in the status bar. I would put in the bottom of the curtain. Thank you.
Enviado desde mi GT-I9300 usando Tapatalk 2
vegerfrancois said:
yea,can someone make a flashible zip? Thanks
Click to expand...
Click to collapse
Not possible. Did you read my post?
this should work on both odexed and deodexed roms, ye?
maxq1 said:
this should work on both odexed and deodexed roms, ye?
Click to expand...
Click to collapse
Yes it works on both!!!!
Did you use Notepad to make the changes?
Sent from my GT-I9300 using xda premium
slonn said:
Did you use Notepad to make the changes?
Sent from my GT-I9300 using xda premium
Click to expand...
Click to collapse
yes notepad++
Sent from my GT-I9300 using xda premium
Could you turn this into an installable app?
I dont want to root my phone yet, but really wanted to have that clock centered :-/
This method is working, thanks ... but how to make the center clock disappear in lock-screen?
center data
Hello friends, I followed the guide to center the clock :good:, now I want to center the data and move under the name of the manager, how can I do? thanks for your time.
Roby
mine looks all crazy in notepad++, how do I get it to read as all text?
Skyler2Dope said:
mine looks all crazy in notepad++, how do I get it to read as all text?
Click to expand...
Click to collapse
you have to decompiele it with apktool
Sent from my GT-I9300 using xda premium
Andrewtst said:
This method is working, thanks ... but how to make the center clock disappear in lock-screen?
Click to expand...
Click to collapse
+1, would like to know too, if possible.
I think it's a LinearLayout placement problem, should be placed elsewhere, not sure thought.
Does this mod work also on Android 4.1 Jelly Bean? I tried it on my GS3 with CM10, but it didn't work for me.
yeah!
zotac1907 said:
Does this mod work also on Android 4.1 Jelly Bean? I tried it on my GS3 with CM10, but it didn't work for me.
Click to expand...
Click to collapse
It's work fine thanks you very much:good::highfive:

remove carrier logo from the statusbar?

anyone know how to remove that at&t logo from the statusbar? i know its a xml edit in the systemui but i cannot figure it out.
somebody please answer this man
I don't know, maybe, possibly, someone with better skills than I on modding could chime in
Ø LGSystemUI.apk /res/layout/Status_bar.xml
<com.lge.systemui.OperatorTextView
android:textStyle="bold" android:gravity="center_vertical" android:id="@id/operator_text" android:tag="NO_R2L" androidaddingLeft="0.0dip" androidaddingRight="0.0dip" android:layout_width="0.0dip" android:layout_height="0.0dip" android:singleLine="true" />
Change like this.
I did not find it out. From tnsqo1126
Edit: is : p
Link: http://m.cafe.naver.com/ArticleRead.nhn?clubid=25821799&articleid=1220&page=&menuid=26
reider123 said:
Ø LGSystemUI.apk /res/layout/Status_bar.xml
<com.lge.systemui.OperatorTextView
android:textStyle="bold" android:gravity="center_vertical" android:id="@id/operator_text" android:tag="NO_R2L" androidaddingLeft="0.0dip" androidaddingRight="0.0dip" android:layout_width="0.0dip" android:layout_height="0.0dip" android:singleLine="true" />
Change like this.
I did not find it out. From tnsqo1126
Edit: is : p
Link: http://m.cafe.naver.com/ArticleRead.nhn?clubid=25821799&articleid=1220&page=&menuid=26
Click to expand...
Click to collapse
Anyone try this?
reider123 said:
Ø LGSystemUI.apk /res/layout/Status_bar.xml
<com.lge.systemui.OperatorTextView
android:textStyle="bold" android:gravity="center_vertical" android:id="@id/operator_text" android:tag="NO_R2L" androidaddingLeft="0.0dip" androidaddingRight="0.0dip" android:layout_width="0.0dip" android:layout_height="0.0dip" android:singleLine="true" />
Change like this.
I did not find it out. From tnsqo1126
Edit: is : p
Link: http://m.cafe.naver.com/ArticleRead.nhn?clubid=25821799&articleid=1220&page=&menuid=26
Click to expand...
Click to collapse
if i upload my systemui can you do this mod? i cant apktool to work right.
i can confirm it works, i removed the carrier text and changed all of the stausbar text to holo blue.
reider123 said:
Ø LGSystemUI.apk /res/layout/Status_bar.xml
<com.lge.systemui.OperatorTextView
android:textStyle="bold" android:gravity="center_vertical" android:id="@id/operator_text" android:tag="NO_R2L" androidaddingLeft="0.0dip" androidaddingRight="0.0dip" android:layout_width="0.0dip" android:layout_height="0.0dip" android:singleLine="true" />
Change like this.
I did not find it out. From tnsqo1126
Edit: is : p
Link: http://m.cafe.naver.com/ArticleRead.nhn?clubid=25821799&articleid=1220&page=&menuid=26
Click to expand...
Click to collapse
I'm dumb as bricks, what I use to enter all this?
Funk2641 said:
I'm dumb as bricks, what I use to enter all this?
Click to expand...
Click to collapse
Its complicated. You need both java and the android SDK installed on your PC. Then you need apktools to decomplie and recompile the lgsystemUI. Not for the faint of heart but its fun learning.
fix-this! said:
Its complicated. You need both java and the android SDK installed on your PC. Then you need apktools to decomplie and recompile the lgsystemUI. Not for the faint of heart but its fun learning.
Click to expand...
Click to collapse
great....its a start for sure...the g pro is all new, its already a giant leap done!!:good:
reider123 said:
Ø LGSystemUI.apk /res/layout/Status_bar.xml
<com.lge.systemui.OperatorTextView
android:textStyle="bold" android:gravity="center_vertical" android:id="@id/operator_text" android:tag="NO_R2L" androidaddingLeft="0.0dip" androidaddingRight="0.0dip" android:layout_width="0.0dip" android:layout_height="0.0dip" android:singleLine="true" />
Change like this.
I did not find it out. From tnsqo1126
Edit: is : p
Link: http://m.cafe.naver.com/ArticleRead.nhn?clubid=25821799&articleid=1220&page=&menuid=26
Click to expand...
Click to collapse
this worked great for me. do you know how to remove the brightness slider too? i assume its in the lgsystemui somewhere?
fix-this! said:
this worked great for me. do you know how to remove the brightness slider too? i assume its in the lgsystemui somewhere?
Click to expand...
Click to collapse
it would be nice to have a "debloated" at&t rom.....like the optimus g have on xda here...:good:
zxaz said:
it would be nice to have a "debloated" at&t rom.....like the optimus g have on xda here...:good:
Click to expand...
Click to collapse
we will in time, its a brand new device.
Anyone make a cwm flashable zip for this?
idle0095 said:
Anyone make a cwm flashable zip for this?
Click to expand...
Click to collapse
Not yet.....but should very soon.....
Looking for CWM flashable zip with the carrier logo ..the brigtness slider and the Qslide removed...
Teardrop45 said:
Looking for CWM flashable zip with the carrier logo ..the brigtness slider and the Qslide removed...
Click to expand...
Click to collapse
There is already one for removing QSlide: http://forum.xda-developers.com/showthread.php?t=2284429
Probably best to keep them separate, for flexibility. I actually like the brightness slider and would want to keep it, but I don't mind ditching the AT&T logo. It's useless and it's not like I don't know what carrier I'm on.
npaladin2000 said:
There is already one for removing QSlide: http://forum.xda-developers.com/showthread.php?t=2284429
Probably best to keep them separate, for flexibility. I actually like the brightness slider and would want to keep it, but I don't mind ditching the AT&T logo. It's useless and it's not like I don't know what carrier I'm on.
Click to expand...
Click to collapse
Yes im already using that one...But if i find a zip that takes care of all 3 it would be amazing..
fix-this! said:
i can confirm it works, i removed the carrier text and changed all of the stausbar text to holo blue.
Click to expand...
Click to collapse
Help me out here... to do this, what did you do? A text editor and add the listed code? If so how? And what file?
Sent from my LG-E980 using xda premium
Bumping this, can anyone post a walkthrough for doing this?

[GUIDE] Proximity Sensor to Lockscreen (UPDATE! less battery consumption)

Lock your Galaxy Young Like a Boss
​
THREAD UPDATED
I manager to do this (and think of this) when I type *#*#0588#*#* on dialer.
It gives me an idea to go to lockscreen using our proximity sensor. This will also
avoid you to use the power button frequently, because power button is easy to
be broken
Update:​Less battery consumption! hehe. How? I catch intents if the screen was off or on,
if the screen is off, it unregisters the proximity so it will not drain your batt
when your phone is on your pocket, or any tiny place that will always
use the proximity sensor. It just activates when screen is on.
Watch this video on how this thing work:
https://www.youtube.com/watch?v=OH3j44UUTgM
WARNING! :
Doing this guide makes your battery to drain
faster than before. (Because Sensor is always active).​
Click to expand...
Click to collapse
​
Steps:
1.) Decompile SystemUI.apk
2.) Extract ProximityLock.zip on smali folder.
3.) Go to res/layout/status_bar.xml and add this code below line with an @id/icons:
Code:
<com.tenten.SensorLock android:layout_height="0.0dip" android:layout_width="0.0dip" />
4.) Recompile SystemUI.apk.
5.) Install CustomizableParts.apk to enable/disable it.
6.) Flash and Do some action like a boss. (Dont forget to jump high xD) if not working, please post a logcat!
Java source: (OUTDATED)https://github.com/tentenponce/Proximity_and_Shake/tree/Gingerbread
Credits
StackOverflow.com
*#*#0588#*#* Samsung Code xD
LenoxDevs
PotatoInc​
Reserve for more actions
EDIT: Actions were canceled.
Play/Pause: Proximity detects two times, so it just pause then play again music and vice versa. (It f*cks me).
STILL feel free to suggest what kind of action on proximity except going to lockscreen. Make sure it will be good/useful (And also make sure i can do it, because im not a magician and will just magic it for you xD)
wow! gonna try it
EDIT: works great! thanks..
waiting for the next update
This is too awesome
Thanks sir :good:
tentenponce said:
Lock your Galaxy Young Like a Boss
​Watch this video on how this thing work: https://www.youtube.com/watch?v=OH3j44UUTgM
How I made it: Type *#*#0588#*#*. This thing inspires me to do this xD
Steps:
1.) Decompile SystemUI.apk
2.) Extract ProximityLock.zip on smali folder.
3.) Go to res/layout/status_bar.xml and add this code below line with an @id/icons:
Code:
<com.tenten.SensorLock android:layout_height="0.0dip" android:layout_width="0.0dip" />
4.) Recompile SystemUI.apk.
5.) Install CustomizableParts.apk to enable/disable it.
6.) Flash and Do some action like a boss. (Dont forget to jump high xD) tell me if not working.
Credits
StackOverflow.com
*#*#0588#*#* Samsung Code xD
LenoxDevs
PotatoInc​
Click to expand...
Click to collapse
Freaking awesome man! Could you please make a single app ? For this mod? I MEAN, without the other options of the other mods of yours I hope you can. THANKS FOR THIS MOD. (Y)
Thx. it`s work for my LG P713 4.1.2
Pls make app for this mod without the other options of the other mods of yours
And can you make Proximity Unlock?
RikudouSennin said:
Freaking awesome man! Could you please make a single app ? For this mod? I MEAN, without the other options of the other mods of yours I hope you can. THANKS FOR THIS MOD. (Y)
Click to expand...
Click to collapse
Just transfer the checkbox preference to your settings, or just uninstall it because it will still work
tentenponce said:
Just transfer the checkbox preference to your settings, or just uninstall it because it will still work
Click to expand...
Click to collapse
Sorry for this question here, but, can you make a guide for this (put a preference of an app in settings)?
I already tried using smalis, ids, values, res, of original app to implement in a new activity of settings but i never can recompile again because give "short id" or others unknown (unknown to me xD) errors in smali's...
Sorry again for question, but i always wanted to learn this.
Thanks.
RBDoMGaM said:
Sorry for this question here, but, can you make a guide for this (put a preference of an app in settings)?
I already tried using smalis, ids, values, res, of original app to implement in a new activity of settings but i never can recompile again because give "short id" or others unknown (unknown to me xD) errors in smali's...
Sorry again for question, but i always wanted to learn this.
Thanks.
Click to expand...
Click to collapse
Decompile CustomizableParts.apk and get the smali and the res/xml/main, recompile then get the public id of the main.xml, go to tenten.smali find this line and replace it to your public id:
Code:
0x7f04
to:
Code:
(yourpublicid)
then go to res/xml/settings.apk and add this code BEFORE </PreferenceScreen>:
Code:
<com.android.settings.IconPreferenceScreen android:title="Proximity Settings" settings:icon="@drawable/ic_settings_about">
<intent android:targetPackage="com.tenten" android:action="android.intent.action.MAIN" android:targetClass="com.tenten.tenten" />
</com.android.settings.IconPreferenceScreen>
go again to res/xml/main and remove the preference you dont want.
It will make a shortcut to your settings.apk to customizableparts.
tentenponce said:
Decompile CustomizableParts.apk and get the smali and the res/xml/main, recompile then get the public id of the main.xml, go to tenten.smali find this line and replace it to your public id:
Code:
0x7f04
to:
Code:
(yourpublicid)
then go to res/xml/settings.apk and add this code BEFORE </PreferenceScreen>:
Code:
<com.android.settings.IconPreferenceScreen android:title="Proximity Settings" settings:icon="@drawable/ic_settings_about">
<intent android:targetPackage="com.tenten" android:action="android.intent.action.MAIN" android:targetClass="com.tenten.tenten" />
</com.android.settings.IconPreferenceScreen>
go again to res/xml/main and remove the preference you dont want.
It will make a shortcut to your settings.apk to customizableparts.
Click to expand...
Click to collapse
Can we make it without install Customizableparts.apk ? So preference in Customizableparts.apk moved to settings.apk
GSculerlor said:
Can we make it without install Customizableparts.apk ? So preference in Customizableparts.apk moved to settings.apk
Click to expand...
Click to collapse
Follow it and you dont need to install customizableparts.apk.
tentenponce said:
Decompile CustomizableParts.apk and get the smali and the res/xml/main, recompile then get the public id of the main.xml, go to tenten.smali find this line and replace it to your public id:
Code:
0x7f04
to:
Code:
(yourpublicid)
then go to res/xml/settings.apk and add this code BEFORE </PreferenceScreen>:
Code:
<com.android.settings.IconPreferenceScreen android:title="Proximity Settings" settings:icon="@drawable/ic_settings_about">
<intent android:targetPackage="com.tenten" android:action="android.intent.action.MAIN" android:targetClass="com.tenten.tenten" />
</com.android.settings.IconPreferenceScreen>
go again to res/xml/main and remove the preference you dont want.
It will make a shortcut to your settings.apk to customizableparts.
Click to expand...
Click to collapse
Decompile CustomizableParts.apk and get the smali and the res/xml/main, recompile then get the public id of the main.xml, go to tenten.smali find this line and replace it to your public id: -- Sorry sir but i dont really get it Can you please explain further sir ? Im so slow
very cool,i try for sure.great work.thx hitted!!!!
tentenponce said:
Lock your Galaxy Young Like a Boss
​Watch this video on how this thing work: https://www.youtube.com/watch?v=OH3j44UUTgM
How I made it: Type *#*#0588#*#*. This thing inspires me to do this xD
Steps:
1.) Decompile SystemUI.apk
2.) Extract ProximityLock.zip on smali folder.
3.) Go to res/layout/status_bar.xml and add this code below line with an @id/icons:
Code:
<com.tenten.SensorLock android:layout_height="0.0dip" android:layout_width="0.0dip" />
4.) Recompile SystemUI.apk.
5.) Install CustomizableParts.apk to enable/disable it.
6.) Flash and Do some action like a boss. (Dont forget to jump high xD) tell me if not working.
Credits
StackOverflow.com
*#*#0588#*#* Samsung Code xD
LenoxDevs
PotatoInc​
Click to expand...
Click to collapse
can you make a video step by step to do this ? i don't have any idea. decompile bla bla. please tell me how to do this step by step process. thanks in advanced. Good Job.
ChristianMonteon said:
can you make a video step by step to do this ? i don't have any idea. decompile bla bla. please tell me how to do this step by step process. thanks in advanced. Good Job.
Click to expand...
Click to collapse
Sorry
, but all i can make is a guide, before doing this, you need basic knowledge about decompiling/using apktool and a little xml thing.
RikudouSennin said:
Decompile CustomizableParts.apk and get the smali and the res/xml/main, recompile then get the public id of the main.xml, go to tenten.smali find this line and replace it to your public id: -- Sorry sir but i dont really get it Can you please explain further sir ? Im so slow
Click to expand...
Click to collapse
Learn first how to decompile using apktool, then after that, decompile customizableparts.apk, get the smali and transfer it on settings.apk, (you must also decompile settings.apk) then also the main.xml that will be found on customizableparts/res/xml/main.xml to settings.apk also. then follow the above instructions. I know there's a guide on how to add extra activity on settings.
Pls make app for this mod without the other options of the other mods of yours
And can you make Proximity Unlock?
the_vanya1 said:
Pls make app for this mod without the other options of the other mods of yours
And can you make Proximity Unlock?
Click to expand...
Click to collapse
try to follow the guide that i quote on rikudousennin. If i will put proximity unlock, it will be bug maybe if you put your phone on you pocket, facedown on something, etc.. because it will unlock, lock, unlock, lock , infinite. xD but still finding a solution, but for now, it will be impossible
-CALIBAN666- said:
very cool,i try for sure.great work.thx hitted!!!!
Click to expand...
Click to collapse
Thanks sir xD just got the idea on *#*#0588#*#* xD thanks to samsung xD
i know it, but it can be on or off, and you can upgrade this function later

[Guide] Add OGBatteryMod to your ROM

I found this guide here and this is what I did differently from it to make this work for us. You can use the linked file to click an app to change the icon or you can add it into settings in your rom. For those that don't know what this does this probably isn't the thread for you. Just wait until you see it popping up in the roms you use. This should work universally for ND8 builds.
http://forum.xda-developers.com/showthread.php?t=2730108
Now instead of following all of his steps and not finding what you're searching for I will simplify this some to make it quicker. You will want to search for this and replace it throughout the smali file in your decompiled systemui.apk (\SystemUI\smali\com\android\systemui\statusbar\ph one\PhoneStatusBar.smali)
Find all instances of
Code:
Lcom/android/systemui/statusbar/policy/BatteryController;
and replace with
Code:
Lcom/ghareeb/BatteryMod/BatteryController;
Then open (\SystemUI\res\layout\status_bar.xml) and find [This may already be changed if you used tdunham's 1% battery mod]
Code:
<com.android.systemui.BatteryMeterView android:id="@id/battery" android:layout_width="12.0dip" android:layout_height="18.0dip" android:layout_marginBottom="0.33000004dip" android:layout_marginStart="5.0dip" />
and replace it with
Code:
<ImageView android:gravity="center" android:id="@id/battery" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_marginBottom="0.0dip" android:layout_marginStart="2.0dip" />
Now most importantly you need to add these smali files to your systemui so they're in (systemui/smali/com/ghareeb/BatteryMod)
http://forum.xda-developers.com/attachment.php?attachmentid=2706746&stc=1&d=1398368939
Then add the OGBatterymod.apk of your choice to system/app. I didn't provide one in this guide sorry but maybe I will upload one eventually. You can easily look for one to add, all the old ones should work.
To add it to secsettings under display
Decompile secsettings.apk and open (\SecSettings\res\xml\display_settings.xml)
Find
Code:
<PreferenceScreen android:title="@string/notification_panel_title" android:key="notification_panel_edit" android:fragment="com.android.settings.NotificationPanelMenu" />
Add this under that line
Code:
<PreferenceScreen android:title="@string/battery_mod" android:summary="@string/battery_mod_desc">
<intent android:targetPackage="com.ghareeb.battery" android:action="android.intent.action.MAIN" android:targetClass="com.ghareeb.battery.Settings" />
</PreferenceScreen>
Now open (\SecSettings\res\values\string.xml) and add this
Code:
<string name="battery_mod">OGBattery Mod</string>
<string name="battery_mod_desc">Change battery icon and charging animation.</string>
For those who don't want to add this to settings for some reason you can find one with the icon so you can just open the app here: http://forum.xda-developers.com/showthread.php?t=2758088
Thanks to @OsamaGhareeb and @meawww also @axel06 for his that I linked with the icon instead of having to have it in settings if anyone would like to do it this way.
Dude you are awesome! I can't wait to get on this. Have to wait till the weekend though.
BTW this works great! Thanks again.
talkingmonkeys said:
I found this guide here and this is what I did differently from it to make this work for us. You can use the linked file to click an app to change the icon or you can add it into settings in your rom. For those that don't know what this does this probably isn't the thread for you. Just wait until you see it popping up in the roms you use. This should work universally for ND8 builds.
http://forum.xda-developers.com/showthread.php?t=2730108
Now instead of following all of his steps and not finding what you're searching for I will simplify this some to make it quicker. You will want to search for this and replace it throughout the smali file in your decompiled systemui.apk (\SystemUI\smali\com\android\systemui\statusbar\ph one\PhoneStatusBar.smali)
Find all instances of
Code:
Lcom/android/systemui/statusbar/policy/BatteryController;
and replace with
Code:
Lcom/ghareeb/BatteryMod/BatteryController;
Then open (\SystemUI\res\layout\status_bar.xml) and find [This may already be changed if you used tdunham's 1% battery mod]
Code:
<com.android.systemui.BatteryMeterView android:id="@id/battery" android:layout_width="12.0dip" android:layout_height="18.0dip" android:layout_marginBottom="0.33000004dip" android:layout_marginStart="5.0dip" />
and replace it with
Code:
<ImageView android:gravity="center" android:id="@id/battery" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_marginBottom="0.0dip" android:layout_marginStart="2.0dip" />
Now most importantly you need to add these smali files to your systemui so they're in (systemui/smali/com/ghareeb/BatteryMod)
http://forum.xda-developers.com/attachment.php?attachmentid=2706746&stc=1&d=1398368939
Then add the OGBatterymod.apk of your choice to system/app. I didn't provide one in this guide sorry but maybe I will upload one eventually. You can easily look for one to add, all the old ones should work.
To add it to secsettings under display
Decompile secsettings.apk and open (\SecSettings\res\xml\display_settings.xml)
Find
Code:
<PreferenceScreen android:title="@string/notification_panel_title" android:key="notification_panel_edit" android:fragment="com.android.settings.NotificationPanelMenu" />
Add this under that line
Code:
<PreferenceScreen android:title="@string/battery_mod" android:summary="@string/battery_mod_desc">
<intent android:targetPackage="com.ghareeb.battery" android:action="android.intent.action.MAIN" android:targetClass="com.ghareeb.battery.Settings" />
</PreferenceScreen>
Now open (\SecSettings\res\values\string.xml) and add this
Code:
<string name="battery_mod">OGBattery Mod</string>
<string name="battery_mod_desc">Change battery icon and charging animation.</string>
For those who don't want to add this to settings for some reason you can find one with the icon so you can just open the app here: http://forum.xda-developers.com/showthread.php?t=2758088
Thanks to @OsamaGhareeb and @meawww also @axel06 for his that I linked with the icon instead of having to have it in settings if anyone would like to do it this way.
Click to expand...
Click to collapse
Great guide man. I've been trying to get this mod going using some of the other guides out there, but no luck. Glad I found this. A couple of questions; I don't see a \ph one\ folder in my statusbar smali. Is that typo? Should it be: \SystemUI\smali\com\android\systemui\statusbar\PhoneStatusBar.smali. If so, I followed all steps but I get the following error when trying to recompile. Is it a syntax error?
Edit: Sorry about the path question. Dummy me. As for the recompile error, I think it has something to do with one of the smali files in the Ghareeb zip?
nyfl2004 said:
Great guide man. I've been trying to get this mod going using some of the other guides out there, but no luck. Glad I found this. A couple of questions; I don't see a \ph one\ folder in my statusbar smali. Is that typo? Should it be: \SystemUI\smali\com\android\systemui\statusbar\PhoneStatusBar.smali. If so, I followed all steps but I get the following error when trying to recompile. Is it a syntax error?
Edit: Sorry about the path question. Dummy me. As for the recompile error, I think it has something to do with one of the smali files in the Ghareeb zip?
Click to expand...
Click to collapse
Try using a different apktool. I think I used 2 beta. The different apk tools use different parameters and I can't remember exactly what you need to change it to for it to recompile just this minute
talkingmonkeys said:
Try using a different apktool. I think I used 2 beta. The different apk tools use different parameters and I can't remember exactly what you need to change it to for it to recompile just this minute
Click to expand...
Click to collapse
Thanks man. I can recompile your edits with no problem. I can't recompile once I add the Ghareeb smali files. I'll keep trying. Thanks again..
nyfl2004 said:
Thanks man. I can recompile your edits with no problem. I can't recompile once I add the Ghareeb smali files. I'll keep trying. Thanks again..
Click to expand...
Click to collapse
Try tickle my android. Chad suggested it to me and it worked. You can send me the file too and I'll have a look. Might not have a chance until Thursday to look at it but I think I know whats wrong its just explaining it drunk isn't too easy
talkingmonkeys said:
Try tickle my android. Chad suggested it to me and it worked. You can send me the file too and I'll have a look. Might not have a chance until Thursday to look at it but I think I know whats wrong its just explaining it drunk isn't too easy
Click to expand...
Click to collapse
Thanks man. I'll give Trickle my Android a shot later after work. If I can't manage, I'll send you the file. I really appreciate your help!

nothing

nothing here
edited by me
Tut and result
Removed by me
Result
Removed by me
brov is it possible to make tha clock in status bar expanded screen digital?
thanks for yur great tuts.... @venkat kamesh
Great Tut.Bro.:good::fingers-crossed:
Great work bro ^^
Bro good tutorial as always. No need feel pressured to put it tutorials??
Sent from my D6653 using Tapatalk
I click the "weather" in settings, will display "AOKP Weather Settings FC" !!
My device: Z3 5.1.1
whalesplaho said:
brov is it possible to make tha clock in status bar expanded screen digital?
thanks for yur great tuts.... @venkat kamesh
Click to expand...
Click to collapse
could you be more specific bro ?
taammanhoi said:
I click the "weather" in settings, will display "AOKP Weather Settings FC" !!
My device: Z3 5.1.1
Click to expand...
Click to collapse
if so you get force closes
check the tut on what wrong you did bro
else i had posted stock weather app with no mod of mine (stock aosp app with no sony theme engine ) try it
venkat kamesh said:
if so you get force closes
check the tut on what wrong you did bro
else i had posted stock weather app with no mod of mine (stock aosp app with no sony theme engine ) try it
Click to expand...
Click to collapse
I think I know the reason now
I try to turn on the GPS, all work fine!
Thx bro!
venkat kamesh said:
So as i said its simple
even its simple, you need to have thinking brain
1. Decompile SystemUI.apk
2. Download this View attachment 3580098
3. Merge the code to your systemui.apk
4.Now open SystemUI.apk/res/layout/status_bar_expanded_header.xml
Look for this below code
Code:
<Button android:textAppearance="@style/TextAppearance.StatusBar.Expanded.Date" android:textColor="#64ffffff" android:id="@id/alarm_status" android:background="?android:selectableItemBackground" android:paddingTop="16.0dip" android:paddingBottom="16.0dip" android:visibility="gone" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_marginBottom="4.0dip" android:drawablePadding="6.0dip" android:layout_alignParentBottom="true" android:drawableStart="@drawable/ic_access_alarms_small" android:paddingStart="6.0dip" android:paddingEnd="6.0dip" android:layout_toEndOf="@id/date_group" />
Below that Add this code
Code:
<LinearLayout android:layout_gravity="center_vertical" android:orientation="vertical" android:id="@+id/weather_container" android:background="@drawable/ripple_drawable" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_marginBottom="@dimen/clock_collapsed_bottom_margin" android:layout_alignParentBottom="true" android:layout_alignParentEnd="true">
<include layout="@layout/weather_panel" />
<com.rock.weather.a.WeatherText android:id="@+id/weather_text" android:layout_width="fill_parent" android:layout_height="wrap_content" />
</LinearLayout>
5. Now open SystemUI.apk/res/layout/keyguard_status_view.xml
Look For this code
Code:
<include layout="@layout/keyguard_status_area" />
Below That Add this code
Code:
<include layout="@layout/kamesh_weather_panel" />
6. Done Recompile and sign and replace the systemui
7. Now Decompile Settings.apk
Add this code as you like settings ( i had added to rstatusbar.xml which is my customized ) you can add in Dispaly_settings.xml or as you wish
Code:
<PreferenceScreen android:title="Weather" android:key="proxy">
<intent android:targetPackage="com.syukur.aokp" android:action="android.intent.action.MAIN" android:targetClass="com.syukur.aokp.SettingsWeather" />
</PreferenceScreen>
8. Now recompile the settings.apk and replace
9. Finally Download this View attachment 3580099 and install
ohh! god
you finally did.. you can check settings in your settings
Have fun
Note: I had Included Xperia Theme Support... so it changes according to the Xperia theme ( about theme )
Note: If you need the weather on Lockscreen you need to select the 2nd digital sony clock
Note: If you try of out of sony device or any force closes with weather app.. Try installing this View attachment 3580716 ( no mod and no sony theme engine to it )
Note:Make sure you should Turn on Gps and Geo locating service ( this helps you not to get foce closes )
If you use my tuts or guides just tag me.. that feels me so good
Good luck
Thanks to AOSP and aleksandr20180
Click to expand...
Click to collapse
where.s credit for the author of that weather bro??? that.s belong to my friends .he create that weather ..his name is muhammad abdussy syukur and maxdev is his team name
kingdj said:
where.s credit for the author of that weather bro??? that.s belong to my friends .he create that weather ..his name is muhammad abdussy syukur and maxdev is his team name
Click to expand...
Click to collapse
+1
kingdj said:
where.s credit for the author of that weather bro??? that.s belong to my friends .he create that weather ..his name is muhammad abdussy syukur and maxdev is his team name
Click to expand...
Click to collapse
+2
kingdj said:
where.s credit for the author of that weather bro??? that.s belong to my friends .he create that weather ..his name is muhammad abdussy syukur and maxdev is his team name
Click to expand...
Click to collapse
Edit :- every one is friend to other
There in nothing like your friends to be added or not bro
He is dev developed app for aosp. Since I wrote aosp prop
Nothing but a credit was already given in name of aosp dear....
qoejohn said:
+1
Click to expand...
Click to collapse
Ciptraandoni said:
+2
Click to expand...
Click to collapse
+3 lol
thanks for remembering me [emoji14]
added
kingdj said:
where.s credit for the author of that weather bro??? that.s belong to my friends .he create that weather ..his name is muhammad abdussy syukur and maxdev is his team name
Click to expand...
Click to collapse
You need to quote the entire OP for that ? -__-"
“Sent From MWE V8.0.0 On My Z3”
venkat kamesh said:
could you be more specific bro ?
if so you get force closes
check the tut on what wrong you did bro
else i had posted stock weather app with no mod of mine (stock aosp app with no sony theme engine ) try it
Click to expand...
Click to collapse
no reply brov.....
venkat kamesh said:
Edit :- every one is friend to other
There in nothing like your friends to be added or not bro
He is dev developed app for aosp. Since I wrote aosp prop
Nothing but a credit was already given in name of aosp dear....
+3 lol
thanks for remembering me [emoji14]
added
Click to expand...
Click to collapse
he build it from source you know that mean???
we already use that weather more than a years ago, let me ask you..where did you get that weather mod?? i can report this thread as that smali,layout,and smali folder was been renamed from the original ,originaly the smali folder name is com.aokp.maxdev ,and the layout name is maxdev weather, who.s idea to renaming to venkat layout?? and who.s alexander so he get credit beside aosp??
kingdj said:
he build it from source you know that mean???
we already use that weather more than a years ago, let me ask you..where did you get that weather mod?? i can report this thread as that smali,layout,and smali folder was been renamed from the original ,originaly the smali folder name is com.aokp.maxdev ,and the layout name is maxdev weather, who.s idea to renaming to venkat layout?? and who.s alexander so he get credit beside aosp??
Click to expand...
Click to collapse
Well said I obey
Alexander is From 4pda else I would be tagging him
I had already added credits
By the way yes irenamed smali just because I had some modifications.
It was open source
If so from years why can't you add that to lollipop mate
What ever
I respect developers I had added credits ages ago and said thanks to you for info ( cause the source I got from person had not noted any credits)
But I had added Alexander cause he posted a tut for kk I gathered then and rewrote to lp (not big difference) if you you start compare
If you are ready to complain on this thread
I am ready for that
edit: Cause I had proof.
Cause u had proof.
Click to expand...
Click to collapse
Good luck brother
And remember I still respect developers
I know what to work and how to and how tuff it was...
Finally a small suggestion for you
The first line you wrote
“he built it from sources do you know that mean..”
Please there are no dumps here
If you want to ask something like that...
Please mind on how to talk to other person. Don't underestimate.....
DELETED
DELETED

Categories

Resources