[MOD][GUIDE]Add CPU usage in notification panel - Galaxy Note 3 Themes and Apps

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.

Related

Stock lockscreen question

I have been searching around and have not had much luck with finding out a solution for this:
I want to remove the clock from the stock lockscreen. Does anyone know how to do this or anyone have a link to a thread or guide on how to do this?
Widgetlocker, in the Market
go into framework-res.apk/layouts
and take all the .xmls that have keyguard in it
look for and remove the following code
Code:
<com.android.internal.widget.DigitalClock android:id="@id/time" android:paddingBottom="8.0dip" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_marginLeft="20.0dip" android:layout_marginTop="52.0dip" android:layout_below="@id/carrier" android:layout_centerInParent="true">
<TextView android:textAppearance="?textAppearanceMedium" android:textSize="72.0sp" android:ellipsize="none" android:id="@id/timeDisplay" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_marginBottom="10.0dip" android:singleLine="true" android:shadowColor="#c0000000" android:shadowDx="0.0" android:shadowDy="0.0" android:shadowRadius="3.0" />
<TextView android:textAppearance="?textAppearanceMedium" android:textSize="22.0sp" android:ellipsize="none" android:id="@id/am_pm" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_marginLeft="8.0dip" android:singleLine="true" android:shadowColor="#c0000000" android:shadowDx="0.0" android:shadowDy="0.0" android:shadowRadius="3.0" android:layout_toRightOf="@id/timeDisplay" android:layout_alignBaseline="@id/timeDisplay" />
</com.android.internal.widget.DigitalClock>
recompile and enjoy
havent personally tried it, just a best guess
About xml editing, I downloaded a free xml editor (editiX - xmleditor) and when I try opening those xml files Im not seeing any codes along what you put. Do I need a different type of xml editor for the android xmls?
EDIT: Ok so I found the AXMLprinter2.jar method but it doesnt work on the keyguard files. Any assistance?
ohh... forgot to tell you to decompile huh....
when working with apks, its just easier to do it if you have decompiled it, use apk manager or something like that and you can find plenty of information about them in the forums(so im not going to repeat anything here because im lazy like that, lol)...
for editing i use notepad++
then once done, recompile 'em
Is there a seperate tool that recompiles the xmls back? cause i get an error using apk manager.
If you are recompiling a system apk within apkmanager there is an option (i think 10 to use dependency apk to decompile and use the moto-res.apk a as a dependency (if on stock moto rom) then make sure you recompile as a system apk. If you try to recompile as a regular apk it wont build correctly.
Hope this helps a little =)
DarkestSpawn said:
Is there a seperate tool that recompiles the xmls back? cause i get an error using apk manager.
Click to expand...
Click to collapse
Sent from my DROIDX using XDA App
NVM I got it. I rechecked my xmls i changed and found an error in the code. Thanks everyone for your help!

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

[GUIDE][UPDATE] tw30launcher support transparent statusbar + 5 icons drawer

i just create a simple tuts ho to make touchwiz30launcher support transparent statusbar, let's go to check this
Tools:
1. apk manager or other (must know the basic compile-decompile)
2. notepad++ or other
3. touchwiz30launcher deodex
4. ice cube (for people who are confused) hehe :fingers-crossed:
Instructions:
1. decompile touchwiz30launcher using apkmanager
2. go to res/xml-ldpi
3. open launcher_config.xml using notepad++
4. change
Code:
<?xml version="1.0" encoding="utf-8"?>
<config
xmlns:launcher="http://schemas.android.com/apk/res/com.sec.android.app.twlauncher ">
<columnno launcher:menuColumnCount="4" />
<itemno launcher:itemNumOfPage="12" />
<pageindicator launcher:useLargeDrawablesOnly="false" />
<launcher launcher:screenCount="7" launcher:defaultScreenCount="3" launcher:use16BitWindow="true" launcher:useImageMenu="false" />
<product launcher:modelFamily="S1" launcher:model="GT-I5800" />
</config>
to
Code:
<?xml version="1.0" encoding="utf-8"?>
<config
xmlns:launcher="http://schemas.android.com/apk/res/com.sec.android.app.twlauncher ">
<columnno launcher:menuColumnCount="4" />
<itemno launcher:itemNumOfPage="12" />
<pageindicator launcher:useLargeDrawablesOnly="false" />
<launcher launcher:screenCount="7" launcher:defaultScreenCount="3" launcher:use16BitWindow="false" launcher:useImageMenu="false" />
<product launcher:modelFamily="S1" launcher:model="GT-I5800" />
</config>
5. compile again and make sure the error does not occur when compile
6. push to system/app
touchwiz30launcher modded
update support 5 icon drawer​
and this is tuts for change 4 to 5 icons drawer. equipment the same as above, but how to apply is different
steps:
1. go to res/layout-ldpi
2. open launcher.xml with notepad++
3. search
HTML:
<com.sec.android.app.twlauncher.AppShortcutZone android:layout_gravity="bottom|center" android:id="@id/shortcut_zone" android:layout_width="fill_parent" android:layout_height="@dimen/menu_top_item_height" launcher:iconColumnCount="4" />
<com.sec.android.app.twlauncher.DeleteZone android:layout_gravity="bottom|center" android:id="@id/delete_zone" android:visibility="invisible" android:layout_width="fill_parent" android:layout_height="50.659973dip" launcher:applyIconHoverColorFilter="false" launcher:drawDeleteZoneBg="true" launcher:inOutAnimationTranslationRatio="1.0" launcher:inOutAnimationDuration="200">
<FrameLayout android:id="@id/remove_zone" android:layout_width="fill_parent" android:layout_height="fill_parent" android:layout_weight="1.0">
<TextView android:textSize="18.659973dip" android:textColor="#ffffffff" android:gravity="center" android:layout_gravity="center" android:layout_width="wrap_content" android:layout_height="wrap_content" android:text="@string/remove" android:singleLine="true" android:drawableLeft="@drawable/homescreen_remove_icon" android:drawablePadding="6.659973dip" />
</FrameLayout>
chage to
HTML:
<com.sec.android.app.twlauncher.AppShortcutZone android:layout_gravity="bottom|center" android:id="@id/shortcut_zone" android:layout_width="fill_parent" android:layout_height="@dimen/menu_top_item_height" launcher:iconColumnCount="5" />
<com.sec.android.app.twlauncher.DeleteZone android:layout_gravity="bottom|center" android:id="@id/delete_zone" android:visibility="invisible" android:layout_width="fill_parent" android:layout_height="50.659973dip" launcher:applyIconHoverColorFilter="false" launcher:drawDeleteZoneBg="true" launcher:inOutAnimationTranslationRatio="1.0" launcher:inOutAnimationDuration="200">
<FrameLayout android:id="@id/remove_zone" android:layout_width="fill_parent" android:layout_height="fill_parent" android:layout_weight="1.0">
<TextView android:textSize="18.659973dip" android:textColor="#ffffffff" android:gravity="center" android:layout_gravity="center" android:layout_width="wrap_content" android:layout_height="wrap_content" android:text="@string/remove" android:singleLine="true" android:drawableLeft="@drawable/homescreen_remove_icon" android:drawablePadding="6.659973dip" />
</FrameLayout>
4. then, go to smali/com/sec/android/app/twlauncher
5. open AppShortcutZone.smali
6. find text
HTML:
const/4 v8, 0x3
replace 0x3 with 0x4
7. done
touchwiz30launcher.apk
UPDATE​transparent menu
this
thanks to:
-Jono Rinugroho (tester)
-Anri Dicky's (screenshot)
-(Temporary) Official Grup gYoung Indonesia
-You
Press Thanks if Helped :victory:
long time no see you brotha :3
Thanx
Sent from my GT-S5360 using xda app-developers app
It works :S really awesome
But... Do you have touchwiz with 4x4 grid? :3 and folders support..? :3
I'm just asking because tw is really good but folders and grid is very important for me ;]
Thanks
Wysyłane z mojego GT-S5360 za pomocą Tapatalk 2
kurotsugi said:
long time no see you brotha :3
Click to expand...
Click to collapse
haha yes sir, work in the real world makes me too busy doing it so I rarely make it to appear out and now I have a problem that is enough to make me sad, my vga laptop that type vga on board were error this makes me very sad and confused what to do :crying: :crying: :crying:
yousef8824 said:
Thanx
Sent from my GT-S5360 using xda app-developers app
Click to expand...
Click to collapse
ur welcome bro :highfive:
Hrustus said:
It works :S really awesome
But... Do you have touchwiz with 4x4 grid? :3 and folders support..? :3
I'm just asking because tw is really good but folders and grid is very important for me ;]
Thanks
Wysyłane z mojego GT-S5360 za pomocą Tapatalk 2
Click to expand...
Click to collapse
thanks sir maybe will be added soon if i have free time
Someone already posted a tweak similar to the OP at the themes and apps section. Anyway, that tweak should have been posted here. So, thanks OP!
bumslayer said:
Someone already posted a tweak similar to the OP at the themes and apps section. Anyway, that tweak should have been posted here. So, thanks OP!
Click to expand...
Click to collapse
Are you seriously before someone has posted something like this? oh I'm so sorry, I did not even know before. sorry, I'm so sorry :crying:
that was just a discussion between chamath and another member in his thread about modified launcher. no specific thread about this topic in this forum until this thread was created.
kurotsugi said:
that was just a discussion between chamath and another member in his thread about modified launcher. no specific thread about this topic in this forum until this thread was created.
Click to expand...
Click to collapse
means am I wrong? If yes, I am very sorry for this
no...you're doing it right
kurotsugi said:
no...you're doing it right
Click to expand...
Click to collapse
thanks brotha, this makes me a better feeling :highfive:
Idea!
What about text in dock? :->
Have a nice day!
ocoot said:
i just create a simple tuts ho to make touchwiz30launcher support transparent statusbar, let's go to check this
Tools:
1. apk manager or other (must know the basic compile-decompile)
2. notepad++ or other
3. touchwiz30launcher deodex
4. ice cube (for people who are confused) hehe :fingers-crossed:
Instructions:
1. decompile touchwiz30launcher using apkmanager
2. go to res/xml-ldpi
3. open launcher_config.xml using notepad++
4. change
Code:
<?xml version="1.0" encoding="utf-8"?>
<config
xmlns:launcher="http://schemas.android.com/apk/res/com.sec.android.app.twlauncher ">
<columnno launcher:menuColumnCount="4" />
<itemno launcher:itemNumOfPage="12" />
<pageindicator launcher:useLargeDrawablesOnly="false" />
<launcher launcher:screenCount="7" launcher:defaultScreenCount="3" launcher:use16BitWindow="true" launcher:useImageMenu="false" />
<product launcher:modelFamily="S1" launcher:model="GT-I5800" />
</config>
to
Code:
<?xml version="1.0" encoding="utf-8"?>
<config
xmlns:launcher="http://schemas.android.com/apk/res/com.sec.android.app.twlauncher ">
<columnno launcher:menuColumnCount="4" />
<itemno launcher:itemNumOfPage="12" />
<pageindicator launcher:useLargeDrawablesOnly="false" />
<launcher launcher:screenCount="7" launcher:defaultScreenCount="3" launcher:use16BitWindow="false" launcher:useImageMenu="false" />
<product launcher:modelFamily="S1" launcher:model="GT-I5800" />
</config>
5. compile again and make sure the error does not occur when compile
6. push to system/app
thanks to:
-Jono Rinugroho (tester)
-Anri Dicky's (screenshot)
-(Temporary) Official Grup gYoung Indonesia
-You
Press Thanks if Helped :victory:
touchwiz30launcher modded
update support 5 icon drawer​
and this is tuts for change 4 to 5 icons drawer. equipment the same as above, but how to apply is different
steps:
1. go to res/layout-ldpi
2. open launcher.xml with notepad++
3. search
HTML:
<com.sec.android.app.twlauncher.AppShortcutZone android:layout_gravity="bottom|center" android:id="@id/shortcut_zone" android:layout_width="fill_parent" android:layout_height="@dimen/menu_top_item_height" launcher:iconColumnCount="4" />
<com.sec.android.app.twlauncher.DeleteZone android:layout_gravity="bottom|center" android:id="@id/delete_zone" android:visibility="invisible" android:layout_width="fill_parent" android:layout_height="50.659973dip" launcher:applyIconHoverColorFilter="false" launcher:drawDeleteZoneBg="true" launcher:inOutAnimationTranslationRatio="1.0" launcher:inOutAnimationDuration="200">
<FrameLayout android:id="@id/remove_zone" android:layout_width="fill_parent" android:layout_height="fill_parent" android:layout_weight="1.0">
<TextView android:textSize="18.659973dip" android:textColor="#ffffffff" android:gravity="center" android:layout_gravity="center" android:layout_width="wrap_content" android:layout_height="wrap_content" android:text="@string/remove" android:singleLine="true" android:drawableLeft="@drawable/homescreen_remove_icon" android:drawablePadding="6.659973dip" />
</FrameLayout>
chage to
HTML:
<com.sec.android.app.twlauncher.AppShortcutZone android:layout_gravity="bottom|center" android:id="@id/shortcut_zone" android:layout_width="fill_parent" android:layout_height="@dimen/menu_top_item_height" launcher:iconColumnCount="5" />
<com.sec.android.app.twlauncher.DeleteZone android:layout_gravity="bottom|center" android:id="@id/delete_zone" android:visibility="invisible" android:layout_width="fill_parent" android:layout_height="50.659973dip" launcher:applyIconHoverColorFilter="false" launcher:drawDeleteZoneBg="true" launcher:inOutAnimationTranslationRatio="1.0" launcher:inOutAnimationDuration="200">
<FrameLayout android:id="@id/remove_zone" android:layout_width="fill_parent" android:layout_height="fill_parent" android:layout_weight="1.0">
<TextView android:textSize="18.659973dip" android:textColor="#ffffffff" android:gravity="center" android:layout_gravity="center" android:layout_width="wrap_content" android:layout_height="wrap_content" android:text="@string/remove" android:singleLine="true" android:drawableLeft="@drawable/homescreen_remove_icon" android:drawablePadding="6.659973dip" />
</FrameLayout>
4. then, go to smali/com/sec/android/app/twlauncher
5. open AppShortcutZone.smali
6. find text
HTML:
const/4 v8, 0x3
replace 0x3 with 0x4
7. done
touchwiz30launcher.apk
Click to expand...
Click to collapse
Can you plz post more screen shot of your launcher
Sent from my GT-S5360 using xda premium
Noob Question
Hi very nice tut,i am a noob so question is,is there any of the launchers who already have the 5 drawer just to download and push it, i dont know anything of notepad+++ and compieling...
thank you
marinalin85 said:
What about text in dock? :->
Have a nice day!
Click to expand...
Click to collapse
what mean? change the color?
jerryn70 said:
Can you plz post more screen shot of your launcher
Sent from my GT-S5360 using xda premium
Click to expand...
Click to collapse
sorry, i'm use creeds rom and I do not think this rom can't show the launcher (don't know why) so when I'm done editing, I need a tester for test results
denniz05 said:
Hi very nice tut,i am a noob so question is,is there any of the launchers who already have the 5 drawer just to download and push it, i dont know anything of notepad+++ and compieling...
thank you
Click to expand...
Click to collapse
go launcher, adw ex, holo launcher already have the 5 icons drawer bro. whether here yet available keys to compile decompile?
ocoot said:
go launcher, adw ex, holo launcher already have the 5 icons drawer bro. whether here yet available keys to compile decompile?
Click to expand...
Click to collapse
that i know,but i want to keep the stock launcher,but with 5 icon drawer,i pushed number 2 of yours,not the modded one...and it is much faster but need the last icon that i dont know how too

[MOD][GUIDE]how to added recent apps soft keys to your statusbar

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

[DISCONTINUED][GUIDE]Adding Brightness Slider to ROM[GB][CM7]

Yo peeps, this is my first guide!! So if i am wrong anywhere please help me!!
Click to expand...
Click to collapse
Warning: This method is only working on GB roms, CM7 rom and not for CM9 , CM10 and CM10.1 roms
Click to expand...
Click to collapse
Requirements:​
-Notepad++
-Apktool
-Deodexed SystemUI.apk
-Statusbar Greeper Download Link
Credits:​
-npx123
-Xda
-Google
Instructions:​
-Decompile SystemUI.apk
-Navigate to res/layout/status_bar_expanded.xml
-Open it
Search for :
Code:
<FrameLayout android:layout_width="fill_parent" android:layout_height="wrap_content" android:layout_weight="1.0">
Above that add these:
Code:
<LinearLayout android:gravity="center_vertical" android:orientation="horizontal" android:paddingTop="20.0dip" android:layout_width="fill_parent" android:layout_height="wrap_content">
<in.jmkl.dcsms.statusbargreper.SlideBrightness android:layout_width="fill_parent" android:layout_height="wrap_content" />
</LinearLayout>
-Now add this file in ur smali folder
-Recompile SystemUI.apk
-Add StatusbarGreeper_1.8.apk to app folder of your rom and replace the SystemUI.apk with the new one.
Your done!!! All the best doing it!!!!
Yeah, thanks but could we see some screens ?
CroVeXx said:
Yeah, thanks but could we see some screens ?
Click to expand...
Click to collapse
i ll be posting a rom soon see in that bro
yeshwanthvshenoy said:
i ll be posting a rom soon see in that bro
Click to expand...
Click to collapse
OK thanks!

Categories

Resources