[Guide][Mods] SystemUI - G2 Themes and Apps

Hello Everybody!
Just wanted to write a guide for the systemUI mods because I learnt it the hard way, but I really Don't want others to learn like that when it can be done in a much easier way.
The Food has to be eaten, no one cares how..
Ok so lets start.
Things Needed:
1) APK tool
2) Notepad ++
3) Brain-Time-Patience
4) Framework-res.apk & Lge-res.apk
Steps:
1) Install the Framework source files.
2) Decompile the LGsystemUI.apk.
3) Navigate to "res" folder after decompiling.
Brightness bar-
Remove it completely:
1) Go to res>layout>Statusbar_expanded.xml.
2) Find this
Code:
<ViewStub android:id="@id/brightnessslider_stub" android:layout="@layout/brightnessslider_layout" android:layout_width="fill_parent" android:layout_height="wrap content" />
to
Code:
<ViewStub android:id="@id/brightnessslider_stub" android:layout="@layout/brightnessslider_layout" android:layout_width="fill_parent" android:layout_height="0.0dip" />
then save it.
3) Go to res>layout>brightnessslider_layout.xml
4) Find this
Code:
<LinearLayout android:gravity="center_vertical" android:orientation="horizontal" android:id="@id/brightnessslider" android:background="@drawable/indi_noti_brightness_panel_bg" android:paddingLeft="@dimen/brightness_slider_padding" android:paddingRight="@dimen/brightness_slider_padding" android:layout_width="fill_parent" android:layout_height="fill_parent" android:layoutDirection="ltr"
xmlns:android="http://schemas.android.com/apk/res/android">
to
Code:
<LinearLayout android:gravity="center_vertical" android:orientation="horizontal" android:id="@id/brightnessslider" android:background="@drawable/indi_noti_brightness_panel_bg" android:paddingLeft="@dimen/brightness_slider_padding" android:paddingRight="@dimen/brightness_slider_padding" android:layout_width="fill_parent" android:layout_height="0.0dip" android:layoutDirection="ltr"
xmlns:android="http://schemas.android.com/apk/res/android">
save it and recompile the APK as system apk.
Remove Volume Slider:
1) Go to res>layout> Statusbar_expanded.xml .
Search for :
Code:
<ViewStub android:id="@id/volumeslider_stub" android:layout="@layout/volumeslider_layout" android:layout_width="fill_parent" android:layout_height="wrap_content" />
and change it to:
Code:
<ViewStub android:id="@id/volumeslider_stub" android:layout="@layout/volumeslider_layout" android:layout_width="fill_parent" android:layout_height="0.0dip" />
Save it and close it.
2) Go to res>layout>volumeslider_layout.xml.
Search for
Code:
<LinearLayout android:gravity="center_vertical" android:orientation="horizontal" android:id="@id/volumeslider" android:background="@drawable/indi_noti_volume_panel_bg" android:layout_width="fill_parent" android:layout_height="@dimen/volume_slider" android:layoutDirection="ltr"
and change it to :
Code:
<LinearLayout android:gravity="center_vertical" android:orientation="horizontal" android:id="@id/volumeslider" android:background="@drawable/indi_noti_volume_panel_bg" android:layout_width="fill_parent" android:layout_height="0.0dip" android:layoutDirection="ltr"
Save and Recompile.
Remove Quicksettings-
1) Go to res>Layout>quick_settings.xml.
Search for :
Code:
<com.android.systemui.statusbar.phone.SettingsPanelView android:id="@id/settings_panel" android:background="@drawable/notification_panel_bg" android:layout_width="fill_parent" android:layout_height="wrap_content"
change it to
Code:
<com.android.systemui.statusbar.phone.SettingsPanelView android:id="@id/settings_panel" android:background="@drawable/notification_panel_bg" android:layout_width="fill_parent" android:layout_height="0.0dip"
2) Save it.
3) Now go to res>layout>status_bar_expanded.xml.
Search for :
Code:
<ViewStub android:id="@id/quicksetting_stub" android:layout="@layout/quicksetting_layout" android:layout_width="fill_parent" android:layout_height="wrap_content" />
Change it to
Code:
<ViewStub android:id="@id/quicksetting_stub" android:layout="@layout/quicksetting_layout" android:layout_width="fill_parent" android:layout_height="0.0dip" />
4)Save & Recompile the xml. You are done.
Remove the Carrier Font
1)Go to res>Layout>carrier_label.xml
Search for
Code:
<com.android.systemui.statusbar.phone.CarrierLabel android:textAppearance="@style/TextAppearance.StatusBar.Expanded.Network" android:gravity="center" android:layout_gravity="bottom" android:id="@id/carrier_label" android:visibility="invisible" android:layout_width="fill_parent" android:layout_height="fill_parent" android:layout_marginBottom="@dimen/close_handle_height"
change it to
Code:
<com.android.systemui.statusbar.phone.CarrierLabel android:textAppearance="@style/TextAppearance.StatusBar.Expanded.Network" android:gravity="center" android:layout_gravity="bottom" android:id="@id/carrier_label" android:visibility="invisible" android:layout_width="fill_parent" android:layout_height="0.0dip" android:layout_marginBottom="@dimen/close_handle_height"
Save & Recompile the apk as system apk.
Transparent Status Bar with 3Rd party Launcher
1)Go to res>Values>drawables.xml
Everything in Red is changed value.
Everything In Blue is the name for which value has to be changed.
Search for
Code:
<item type="drawable" name="APKTOOL_DUMMY_04c7">false</item>
<item type="drawable" name="[COLOR="blue"]status_bar_background[/COLOR]">[COLOR="red"]#00000000[/COLOR]</item>
<item type="drawable" name="notification_number_text_color">#ffffffff</item>
<item type="drawable" name="ticker_background_color">#ff1d1d1d</item>
<item type="drawable" name="status_bar_recents_app_thumbnail_background">#88000000</item>
<item type="drawable" name="status_bar_notification_row_background_color">#ff090909</item>
<item type="drawable" name="recents_callout_line">#99ffffff</item>
<item type="drawable" name="notification_item_background_legacy_color">#ffaaaaaa</item>
<item type="drawable" name="intruder_bg_pressed">#ff33b5e5</item>
<item type="drawable" name="notification_header_bg">#ff000000</item>
<item type="drawable" name="[COLOR="Blue"]system_bar_background[/COLOR]">[COLOR="red"]#00000000[/COLOR]</item>
<item type="drawable" name="[COLOR="blue"]notification_icon_area_smoke[/COLOR]">[COLOR="Red"]#00000000[/COLOR]</item>
<item type="drawable" name="quicksettings_header_bg_color">#ffa9a9a9</item>
<item type="drawable" name="quicksettings_button_on_text_color">#ff03f0ff</item>
<item type="drawable" name="quicksettings_button_off_text_color">#ffffffff</item>
<item type="drawable" name="quicksettings_button_off_text_color_vzw">#ffababab</item>
<item type="drawable" name="quicksettings_drag_font_color">#ff000000</item>
<item type="drawable" name="quicksettings_after_drop_font_color">#ff000000</item>
<item type="drawable" name="notification_tracking_bg_att">#cc000000</item>
<item type="drawable" name="tp_select">#00000000</item>
<item type="drawable" name="operator_view_att_color">#ffffffff</item>
<item type="drawable" name="operator_view_skt_color">#fff0f0f0</item>
<item type="drawable" name="ir_control_gray">#ffababab</item>
<item type="drawable" name="ir_control_text_color">#ff3c3c3c</item>
Press Thanks & Many Many more coming!
Not continuing today because I have to visit the hospital early tomorrow.

# Reserved 1

You have a few redundant steps. You only need to set the vertical to 0.0dip in Statusbar_expanded.xml for brightness and volume stubs. You dont need to do anything else in any other files

Not Exactly.. Try it out, you will understand Why I have written! Obviously not a waste of time!

Recent apps button? Is it possible?

I know I ask this a lot throughout the threads, but do you foresee a way to remove the AM/PM through this method? Or would it be elsewhere? Or possible at all...

Hello!
I am trying to get rid of teh volume slider, but i cannot seem to find Statusbar_expanded.xml nor volumeslider_layout.xml.
i have checked in both framework-res.apk and lge-res.apk
framework-res.apk and lge-res.apk i pulled from /system/framework/...
What am i missing?

You are Missing the SystemUI.apk ! hehehe

Jishnu Sur said:
You are Missing the SystemUI.apk ! hehehe
Click to expand...
Click to collapse
There is no Statusbar_expanded.xml in the LGSystemUI.apk however there is a status_bar_expanded.xml
should that work?
I have i international version of the G2
Thank you in advance!
Edit:
It worked like a charm

You can merely flip the volume slider off in dimens.xml under values, FYI.
Sent from my LG-D800 using Tapatalk 2

burningembers said:
You can merely flip the volume slider off in dimens.xml under values, FYI.
Sent from my LG-D800 using Tapatalk 2
Click to expand...
Click to collapse
Sorry?
Sent from my LG-P990 using xda app-developers app

Jishnu Sur said:
Sorry?
Sent from my LG-P990 using xda app-developers app
Click to expand...
Click to collapse
My bad. I mean bools.xml in /values once you "apktool d" against SystemUI. There is a simple true/false boolean value to dictate the appearance of the slider.

Thats right.. but this is another method. As said in OP many different ways friend..
Sent from my LG-P990 using xda app-developers app

for transparent status bar ?

I'm slightly familiar with editing xmls, etc, having done some work with the S3. I was able to edit my SystemUI.apk to have the statusbar look completely AOSP (no Verizon 4GLTE, etc):
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
What would I need to do for the G2? I'm getting it on Wed. is it as easy as replacing the .pngs or are there smali edits.
Thanks!

See easiest way is what I prefer.. I shall post what to do..
Sent from mobile

You guys should really consider using Xposed.
This way any modifications you make on your currect G2 build, will probably still work on future versions of LG firmware as well.
I'm not a modder or developer, atleast not for android, but the power of Xposed is really compelling.

A little question about decompiling LGSYSTEMUI.APK
i've stock Korean version F320K11a that contains apk + odex files.
But when i try to decompile systemui.apk, don't work and in log i find a lot of errors.
So i can't decompile nothing.
Can someboby tell me why or help me ( i want to change the clock color in status bar )
Thanks in advance for your valuable help

devadip said:
A little question about decompiling LGSYSTEMUI.APK
i've stock Korean version F320K11a that contains apk + odex files.
But when i try to decompile systemui.apk, don't work and in log i find a lot of errors.
So i can't decompile nothing.
Can someboby tell me why or help me ( i want to change the clock color in status bar )
Thanks in advance for your valuable help
Click to expand...
Click to collapse
Please Get me the LOG.

Jishnu Sur said:
Please Get me the LOG.
Click to expand...
Click to collapse
Sorry.... Jishnu,
now i'm at work,
i will send you everythings this afternoon.
thanks a lot

Related

[23042011][Theme][Overcome1.6.x][GingerElegance]

Hi All,
This is the overcome in the taste of ginger.....
1 picture is worth than 1000 words....
apply via CWM recovery : -View attachment OverCom-1.6.X.GingerEleganceTheme.zip
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
,
,
,
,
,
Thanks to All,
Credit :-
Developers for XDA-Galaxy S themes :-
- _JKay_ for the nice Quick Panel icons
- ock for the GT-I9000 GB theme
Tab mates biopsn, kai_kiat88, natious, DistortedWisom, alterbridge86 & all...
Good luck..
That looks very neat!
You are the man
thanks alots
really apreciate your hard work
Nice work! Thanks for sharing.
Curious to see if it work with v. 1.4.5 but i doubt.
Sent from my GT-P1000 using XDA Premium App
af974 said:
Nice work! Thanks for sharing.
Curious to see if it work with v. 1.4.5 but i doubt.
Sent from my GT-P1000 using XDA Premium App
Click to expand...
Click to collapse
give it a chance after fw backup....
thnx
Galaxyer said:
give it a chance after fw backup....
thnx
Click to expand...
Click to collapse
i've tried applying a theme for overcome 1.4.5 on overcome 1.6.0 afew days back but boot-looped. i guess it won't work too if it's the other way round.
Galaxyer said:
give it a chance after fw backup....
thnx
Click to expand...
Click to collapse
Yeah, doesn't work. Boot loop but honestly i knew that cos i gave try with another theme here im forum, but as i said, nice work, i like it.
Sent from my GT-P1000 using XDA Premium App
Whaouuu soooo nice thanks a lot bro !!! Good work im just sad this theme will not work with BOYPPC rom
Sent from my GT-P1000
Great work, love the theme. Thanks.
Sent from my GT-P1000 using XDA App
its steel on overcome 145
ı put ıt on overcome 161 but the music player has no option of folder selection so i turn back to 145 again
Thanks
Very nice theme bro, thanks a lot !!!
P.S i flash overcom 1.6.1 just for this theme !!!
Good work !!
Hi bro Galaxyer,
Just a small request from you
Would you mind change the data icon on the status bar to the green one.. as it still appear as the default data icon
Thanks for the help.
Bit Of Help Please
Solved due to Galaxyer! Cheers
ElephantStone82 said:
Hi i was wondering if any one could help ive tried as much as possible to change the text colour on the pulldown
bar to white! for overcome 1.6.1
i tried apktool and followed many tutorials posted by the theme makers on this site! but no joy!
ive edited the! "status bar.xml, staus bar expanded.xml. staus bar latest event content.xml"
but all force close!!
I HAVE-
-decompiled, recompiled edited with notepad ++
-pulled out the the xml and edited them with and placed them in the orignal frame work.apk
ect................
Now im trying hex editor but not sure what text to change!
most sites say look for 08 00 00 1C but i cant find this code within some of the xmls Mainly "Staus bar latest
event content.xml"
i would love to make my "minimal theme" for Overcome 1.6.1 but this one thing is holding me back!
I would be greatful if someone could help me out!
or alternatively post one of the themes (VAGREEN 1.6.1/HONEYCOMB 1.6.1/GINGER ELEGANCE...)
with just the text changed to white (maybe brightness slider to grey would be great) so i can place and edit my png
into the framework.apk
Thank you so much!!!
Click to expand...
Click to collapse
Hi ElephantStone82;
This is what you're looking for:-
http://forum.xda-developers.com/showpost.php?p=9066440&postcount=1
hope to see your theme soon....
Thank You galaxyer!! my theme is on the section somewhere but after 200 views and no comments! doesnt fill me with confidence! its called Minimal Theme! just updated to 1.6.x
sorry to bring this up here but i can't seem to shrink the brightness panel like what you did.
i use apk manager.
after decompiling, editing the zzzz_quickpanel_brightness_settings.xml like below:
Code:
<?xml version="1.0" encoding="UTF-8"?>
<com.android.server.status.quickpanel.BrightnessSettingsView android:orientation="vertical" android:background="@drawable/zzzz_quickpanel_brightness_bg" android:layout_width="fill_parent" android:layout_height="fill_parent"
xmlns:android="http://schemas.android.com/apk/res/android">
<LinearLayout android:gravity="center_vertical" android:orientation="horizontal" android:paddingTop="1.0dip" android:layout_width="fill_parent" android:layout_height="wrap_content" android:layout_weight="1.0">
<ImageView android:gravity="center_vertical" android:id="@id/icon" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_marginLeft="10.0dip" android:src="@drawable/zzzz_quickpanel_brightness_icon" />
<TextView android:textSize="10.0dip" android:typeface="sans" android:textStyle="normal" android:textColor="@color/black" android:gravity="center_vertical" android:id="@id/title" android:background="@null" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_marginLeft="10.0dip" android:text="@string/brightness_settings_title" />
<SeekBar android:gravity="center_vertical" android:id="@id/brightness" android:paddingLeft="10.0dip" android:paddingTop="1.0dip" android:paddingRight="20.0dip" android:paddingBottom="1.0dip" android:layout_width="0.0dip" android:layout_height="wrap_content" android:layout_weight="1.0" />
<CheckBox android:textSize="10.0dip" android:typeface="sans" android:textColor="@color/black" android:gravity="right|center" android:id="@id/automatic" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_marginTop="1.0dip" android:layout_marginRight="10.0dip" android:text="@string/brightness_settings_automatic" />
</LinearLayout>
</com.android.server.status.quickpanel.BrightnessSettingsView>
i recompiled it but i get a long list of errors due to some public.xml
can you help me out please galaxyer ?
kay_kiat88 said:
sorry to bring this up here but i can't seem to shrink the brightness panel like what you did.
i use apk manager.
after decompiling, editing the zzzz_quickpanel_brightness_settings.xml like below:
Code:
<?xml version="1.0" encoding="UTF-8"?>
<com.android.server.status.quickpanel.BrightnessSettingsView android:orientation="vertical" android:background="@drawable/zzzz_quickpanel_brightness_bg" android:layout_width="fill_parent" android:layout_height="fill_parent"
xmlns:android="http://schemas.android.com/apk/res/android">
<LinearLayout android:gravity="center_vertical" android:orientation="horizontal" android:paddingTop="1.0dip" android:layout_width="fill_parent" android:layout_height="wrap_content" android:layout_weight="1.0">
<ImageView android:gravity="center_vertical" android:id="@id/icon" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_marginLeft="10.0dip" android:src="@drawable/zzzz_quickpanel_brightness_icon" />
<TextView android:textSize="10.0dip" android:typeface="sans" android:textStyle="normal" android:textColor="@color/black" android:gravity="center_vertical" android:id="@id/title" android:background="@null" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_marginLeft="10.0dip" android:text="@string/brightness_settings_title" />
<SeekBar android:gravity="center_vertical" android:id="@id/brightness" android:paddingLeft="10.0dip" android:paddingTop="1.0dip" android:paddingRight="20.0dip" android:paddingBottom="1.0dip" android:layout_width="0.0dip" android:layout_height="wrap_content" android:layout_weight="1.0" />
<CheckBox android:textSize="10.0dip" android:typeface="sans" android:textColor="@color/black" android:gravity="right|center" android:id="@id/automatic" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_marginTop="1.0dip" android:layout_marginRight="10.0dip" android:text="@string/brightness_settings_automatic" />
</LinearLayout>
</com.android.server.status.quickpanel.BrightnessSettingsView>
i recompiled it but i get a long list of errors due to some public.xml
can you help me out please galaxyer ?
Click to expand...
Click to collapse
Hi Kay_kiat88,,
It's my pleasure...You have to shrink the background png as well...
Code:
<com.android.server.status.quickpanel.BrightnessSettingsView android:orientation="vertical" android:background="@drawable/[COLOR="DarkRed"][U]zzzz_quickpanel_brightness_bg[/U][/COLOR]"
so you have to resize \res\drawable-hdpi-v4\zzzz_quickpanel_brightness_bg.png..
and thats all
Greetings
Galaxyer said:
Hi Kay_kiat88,,
It's my pleasure...You have to shrink the background png as well...
Code:
<com.android.server.status.quickpanel.BrightnessSettingsView android:orientation="vertical" android:background="@drawable/[COLOR="DarkRed"][U]zzzz_quickpanel_brightness_bg[/U][/COLOR]"
so you have to resize \res\drawable-hdpi-v4\zzzz_quickpanel_brightness_bg.png..
and thats all
Greetings
Click to expand...
Click to collapse
i did resized it but there were still errors when recompiling
kay_kiat88 said:
i did resized it but there were still errors when recompiling
Click to expand...
Click to collapse
can you post the log.txt from the apk_manager folder or just the last part of it...
may be due to miss-spell or some xml missing in layout folder.....
little help
since this theme seems to be one of the best and most edited
i was wondering if you could help me with you editing skills i would like to know what xml i need to edit to get rid of the text!
Thanks You!

Help Theming soft keys

So as the title suggests, Is there a way to theme the softkeys in CM or Stock roms. I need to theme the background of the status bar as i dont like black. Can some one help me??
As i know the easiest way is to use aokp rom work best if you have 3113 or 5113 their are already roms for both
Sent from my GT-P5100 using xda app-developers app
For stock. Decompile systemUI.apk and edit \res\drawable-sw600dp-mdpi\tw_status_bar_background.9 All of the other assoiciated images are in the same location. My location knowledge is based off of a 7" and the 10" is prolly in the drawable-sw800dp-mdpi folder.
good day.
Now as a side bar, I run a stock tw rom on my tab2 7 (I love the ir blaster so aosp is out for me ) but I do some personal tweaking for my taste. You can change the order and add a custom button with this quick breeze over.
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
I added a power button and changed order of recent and home buttons plus edited all of the pressed images (also de-touch wizzed the crap out of the notif panel and got rid of the text under toggles and made line indicator line smaller and found all the powder blue text colors via xml edits). But on to adding power button and changing order.
decompile systemUI.apk and navigate to \res\layout-sw600dp\tw_status_bar.xml
Code:
<com.android.systemui.statusbar.policy.KeyButtonView android:id="@id/back" android:layout_width="wrap_content" android:layout_height="fill_parent" android:src="@drawable/tw_ic_sysbar_back" android:contentDescription="@string/accessibility_back" systemui:keyCode="4" systemui:glowBackground="@drawable/ic_sysbar_highlight" />
<com.android.systemui.statusbar.policy.KeyButtonView android:id="@id/home" android:layout_width="wrap_content" android:layout_height="fill_parent" android:src="@drawable/tw_ic_sysbar_home" android:contentDescription="@string/accessibility_home" systemui:keyCode="3" systemui:glowBackground="@drawable/ic_sysbar_highlight" />
<com.android.systemui.statusbar.policy.KeyButtonView android:id="@id/recent_apps" android:layout_width="wrap_content" android:layout_height="fill_parent" android:src="@drawable/tw_ic_sysbar_recent" android:contentDescription="@string/accessibility_recent" systemui:glowBackground="@drawable/ic_sysbar_highlight" />
Above is the way the lines appear in the stock xml and you can simply reorder lines so that they will appear in set order. But I added a new line and changed order seen in code below.
Code:
<com.android.systemui.statusbar.policy.KeyButtonView android:id="@id/back" android:layout_width="wrap_content" android:layout_height="fill_parent" android:src="@drawable/tw_ic_sysbar_back" android:contentDescription="@string/accessibility_back" systemui:keyCode="4" systemui:glowBackground="@drawable/ic_sysbar_highlight" />
<com.android.systemui.statusbar.policy.KeyButtonView android:id="@id/home" android:layout_width="wrap_content" android:layout_height="fill_parent" android:src="@drawable/tw_ic_sysbar_power" android:contentDescription="@string/accessibility_home" systemui:keyCode="26" systemui:glowBackground="@drawable/ic_sysbar_highlight" />
<com.android.systemui.statusbar.policy.KeyButtonView android:id="@id/recent_apps" android:layout_width="wrap_content" android:layout_height="fill_parent" android:src="@drawable/tw_ic_sysbar_recent" android:contentDescription="@string/accessibility_recent" systemui:glowBackground="@drawable/ic_sysbar_highlight" />
<com.android.systemui.statusbar.policy.KeyButtonView android:id="@id/home" android:layout_width="wrap_content" android:layout_height="fill_parent" android:src="@drawable/tw_ic_sysbar_home" android:contentDescription="@string/accessibility_home" systemui:keyCode="3" systemui:glowBackground="@drawable/ic_sysbar_highlight" />
I added a new home line and changed the sytem key value to power from this reference http://developer.android.com/reference/android/view/KeyEvent.html and you also need to add new @drawable references as well. Next is creating 2 brand new images using gimp in \res\drawable-sw600dp-mdpi\ tw_ic_sysbar_power_normal.png and tw_ic_sysbar_power_press.png. It is also needed to create the "new" drawable xml for the 2 new images. In res\drawable\ create a new xml file named tw_ic_sysbar_power.xml with included content from below.
Code:
<?xml version="1.0" encoding="utf-8"?>
<selector
xmlns:android="http://schemas.android.com/apk/res/android">
<item android:state_pressed="true" android:drawable="@drawable/tw_ic_sysbar_power_press" />
<item android:drawable="@drawable/tw_ic_sysbar_power_normal" />
</selector>
<?xml version="1.0" encoding="utf-8"?>
<selector
xmlns:android="http://schemas.android.com/apk/res/android">
<item android:state_pressed="true" android:drawable="@drawable/tw_ic_sysbar_power_press" />
<item android:drawable="@drawable/tw_ic_sysbar_power_normal" />
</selector>
* edit * for some reason using the code paste it left off the last </selector> line as seen as a direct paste above.
compile apk and push to device.
Steps can be used to add any command. i.e. persistent play and skip media buttons.
good day.
:laugh: Thanks. Will try that and tell .
chopper the dog said:
Now as a side bar, I run a stock tw rom on my tab2 7 (I love the ir blaster so aosp is out for me ) but I do some personal tweaking for my taste. You can change the order and add a custom button with this quick breeze over.
Click to expand...
Click to collapse
Dont suppose you would happen to know about the actual navigation bar at all ? I'm under the impression that its in \framework-res\res\drawable-hdpi and named ab_bottom_solid_dark_holo.9.
I have decompiled it in VTS and extracted it and edited it. checked the 9 was ok with the 9patch tool and recompiled it . Pushed it back into my device and after a reboot nothing changes . wiped the cache and dalvik but no dice.
Also tried this one
Any ideas please ?
Thanks for the information on the softkeys , great tutorial ! :good:
Even i would love to have semi-transparent bar at bottom. With headset icon if possible
silentvisitor said:
Even i would love to have semi-transparent bar at bottom. With headset icon if possible
Click to expand...
Click to collapse
Thats what im hoping to do , just kinda stuck at the moment tho
Sean_Seany said:
Dont suppose you would happen to know about the actual navigation bar at all ? I'm under the impression that its in \framework-res\res\drawable-hdpi and named ab_bottom_solid_dark_holo.9.
I have decompiled it in VTS and extracted it and edited it. checked the 9 was ok with the 9patch tool and recompiled it . Pushed it back into my device and after a reboot nothing changes . wiped the cache and dalvik but no dice.
Any ideas please ?
Thanks for the information on the softkeys , great tutorial ! :good:
Click to expand...
Click to collapse
I dont have it decompiled atm but if you changed something and dont see a affect it prolly means theres another drawable folder its pulling it from. You can check the other drawables and see if you see the same file in them. Hell i change emm all most times lol
RomsWell said:
I dont have it decompiled atm but if you changed something and dont see a affect it prolly means theres another drawable folder its pulling it from. You can check the other drawables and see if you see the same file in them. Hell i change emm all most times lol
Click to expand...
Click to collapse
AHA i see , cool thanks for the tip :good: I will give it a shot.

[MOD/GUIDE]Jelly Bean style SystemUI For CM9/ICS ROM[UPDATE 15-10-2012]

I have managed to get CM10 style status bar in CM9 rom
A big thanks To ThilinaC for helping me
Now
what i want to do is to hide the statusbar
UPDATE 15-10-2012
statusbar close on/off pressed and unpressed(thanks To mr.faridcom)
Download link
http://www.mediafire.com/?66eni4a4ib59wyv
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
UPDATE 21-09-2012
-removed center clock
-statusbar hide problem
-some other allingments
DOWNLOAD LINK v2
http://www.mediafire.com/?bivyy24x690ahls
Testing only HDPI
http://www.mediafire.com/?3c1scc10q4nkp4y
Let me know it works or not
MY MODDED suystemui
http://www.mediafire.com/?y92cz70tgqchter
Now Its Perfect
By tarunagg at 2012-09-18
Uploaded with ImageShack.us
what i want to do is to hide the statusbar clock
DOCUMENTATION:-
What I Did Is
Assuming you know how to decompile and compile
in SystemUI.apk\res\layout\status_bar_expanded.xml
i modified so many things even i dont remeber exactly
if anyone need help in porting PM me
here's my status_bar_expanded.xml
Code:
<?xml version="1.0" encoding="utf-8"?>
<com.android.systemui.statusbar.phone.ExpandedView android:orientation="vertical" android:focusable="true" android:descendantFocusability="afterDescendants"
xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:systemui="http://schemas.android.com/apk/res/com.android.systemui">
<RelativeLayout android:background="@drawable/notification_header_bg" android:paddingTop="3.0dip" android:paddingRight="3.0dip" android:paddingBottom="5.0dip" android:layout_width="fill_parent" android:layout_height="52.0dip">
<com.android.systemui.statusbar.policy.Clock android:textAppearance="@style/TextAppearance.StatusBar.Expanded.Clock" android:id="@id/clock" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_marginLeft="8.0dip" android:singleLine="true" />
<com.android.systemui.statusbar.policy.DateView android:textAppearance="@style/TextAppearance.StatusBar.Date" android:gravity="left|center" android:id="@id/date" android:paddingLeft="5.0dip" android:paddingTop="2.0dip" android:layout_width="wrap_content" android:layout_height="fill_parent" android:singleLine="false" android:layout_toRightOf="@id/clock" />
<ImageView android:id="@id/settings_button" android:paddingLeft="250.0dip" android:layout_width="wrap_content" android:layout_height="fill_parent" android:src="@drawable/ic_notify_quicksettings" android:layout_alignParentLeft="true" android:contentDescription="@string/accessibility_settings_button" />
<ImageView android:id="@id/clear_all_button" android:paddingLeft="2.0dip" android:paddingRight="2.0dip" android:layout_width="wrap_content" android:layout_height="fill_parent" android:src="@drawable/ic_notify_clear" android:layout_toRightOf="@id/settings_button" android:contentDescription="@string/accessibility_clear_all" />
<Space android:layout_width="0.0dip" android:layout_height="0.0dip" android:layout_weight="1.0" />
</RelativeLayout>
<LinearLayout android:orientation="vertical" android:background="@drawable/notification_header_bg2" android:layout_width="fill_parent" android:layout_height="wrap_content">
<com.android.systemui.statusbar.powerwidget.PowerWidget android:id="@id/exp_power_stat" android:background="@drawable/notification_header_bg2" android:layout_width="fill_parent" android:layout_height="wrap_content" android:minHeight="@dimen/notification_panel_widget_height" />
</LinearLayout>
<View android:background="@drawable/status_bar_hr" android:layout_width="fill_parent" android:layout_height="2.0dip" />
<FrameLayout android:layout_width="fill_parent" android:layout_height="wrap_content" android:layout_weight="1.0">
<TextView android:textAppearance="@android:style/TextAppearance.Large" android:gravity="left" android:layout_gravity="top" android:id="@id/noNotificationsTitle" android:padding="8.0dip" android:layout_width="fill_parent" android:layout_height="wrap_content" android:text="@string/status_bar_no_notifications_title" />
<ScrollView android:id="@id/scroll" android:fadingEdge="none" android:layout_width="fill_parent" android:layout_height="fill_parent" android:overScrollMode="ifContentScrolls">
<LinearLayout android:orientation="vertical" android:layout_width="fill_parent" android:layout_height="wrap_content">
<com.android.systemui.statusbar.policy.NotificationRowLayout android:id="@id/latestItems" android:layout_width="fill_parent" android:layout_height="wrap_content" systemui:rowHeight="@dimen/notification_height" />
</LinearLayout>
</ScrollView>
<ImageView android:layout_width="fill_parent" android:layout_height="fill_parent" android:src="@drawable/title_bar_shadow" android:scaleType="fitXY" />
</FrameLayout>
</com.android.systemui.statusbar.phone.ExpandedView>
after that dont forget to add all png's from my systemui to yours
and in styles.xml
add
Code:
<style name="TextAppearance.StatusBar.Clock2" parent="@android:style/TextAppearance.StatusBar.Icon">
<item name="android:textSize">32.0dip</item>
<item name="android:textStyle">normal</item>
<item name="android:textColor">#ffffffff</item>
<item name="android:textAllCaps">true</item>
</style>
<style name="TextAppearance.StatusBar.Expanded" parent="@android:style/TextAppearance.Small.CalendarViewWeekDayView" />
<style name="TextAppearance.StatusBar.Expanded.Clock" parent="@style/TextAppearance.StatusBar.Expanded">
<item name="android:textSize">32.0dip</item>
<item name="android:textStyle">normal</item>
<item name="android:textColor">#ffffffff</item>
</style>
<style name="TextAppearance.StatusBar.Expanded.Date" parent="@style/TextAppearance.StatusBar.Expanded">
<item name="android:textSize">12.0dip</item>
<item name="android:textStyle">normal</item>
<item name="android:textColor">#ffcccccc</item>
<item name="android:textAllCaps">true</item>
</style>
and in Strings.xml
find "status_bar_date_formatter"
change it to exact
Code:
<string name="status_bar_date_formatter">"%1$s
%2$s"</string>
Thanks for this mod.
And wow .. you got a nice theme there. Share that one as well.
Hetalk said:
Thanks for this mod.
And wow .. you got a nice theme there. Share that one as well.
Click to expand...
Click to collapse
well if u are talking about the icon pack then here you go
http://forum.xda-developers.com/showthread.php?t=1759709
ok clock is fixed only clear button is left
^^ Can i use on cm10?
Never mind. I did install the apex theme and it looks super cool. Thanks man.
Hetalk said:
^^ Can i use on cm10?
Click to expand...
Click to collapse
yes u can use that on any rom but u need apex launcher for that
nitinvaid said:
ok clock is fixed only clear button is left
Click to expand...
Click to collapse
For clear button I think u can look here
http://forum.xda-developers.com/showthread.php?t=1876018
vishal24387 said:
For clear button I think u can look here
http://forum.xda-developers.com/showthread.php?t=1876018
Click to expand...
Click to collapse
it is only possible after removing the settings button
nitinvaid said:
it is only possible after removing the settings button
Click to expand...
Click to collapse
http://forum.xda-developers.com/showpost.php?p=30912200&postcount=104
I aapriciate ur efforts...
Good Job :thumbup:
Sent from my Galaxy SL using XDA Premium App !!
almost complete
Uploaded with ImageShack.us
COMPLETED
Now what i want is to hide the clock while statusbar expended is open
released for Testing
Testing only
1st mount /system in cwm
http://www.mediafire.com/?3c1scc10q4nkp4y
Let me know it works or not
nitinvaid said:
released for Testing
Testing only
1st mount /system in cwm
http://www.mediafire.com/?3c1scc10q4nkp4y
Let me know it works or not
Click to expand...
Click to collapse
Bootloop
Vasishta Reddy said:
Bootloop
Click to expand...
Click to collapse
which Rom
Updated check op
Hey... You got your SL back?
ammar786 said:
Hey... You got your SL back?
Click to expand...
Click to collapse
nope
XPERIA GX
Thanks a lot for the systemUI bro,here is my XPERIA GX STYLE .
Tested on my XPERIA X10 ,and it will work on all HDPI devices.
DOWNLOAD
SGS3 (RemJB style)
Should look like this, Haven't tested it but it should work.

GUIDE - [Tab SystemUI]

Good day devs, I have something new here not new but I think it is. It works in higher API than GB that I was running, So I willpost it here.
If there is a problem with this post, kindly PM me sir.
What we will be doing is somehow like this, the picture at the left is my modified UI, and the right picture will be our outcome.
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
As I was inspired by Sir [email protected]'s SystemUI, I want to make it tab also, as I cant decompile his UI and study the code, I thought about Sir b16h22 for his Multipanelflipper, but it was text so I made it on my own class and follow some trick from evox-4 x SystemUI by the use of custom views and sorta intents like what he did. Let we mod again.
Disclaimer: I and XDA are not responsible for the damage of your phone. Take necessary backup if you are indoubt. Thanks.
What we will be needed:
Patience
APK-Tool
Algorithm
Basic smali and xml
Your very own SystemUI
Know how to decompile APK
Instruction:
1. Download the zip file from the download link.
2. Decompile your very own SystemUI.
3. Extract the download link and paste it in your UI.
4. At the ids, add these before </resources> at ids.xml under values folder
Code:
<item type="id" name="tabbutton">false</item>
5. Now we will modify your expanded,
Below this code,
Code:
<com.android.systemui.statusbar.ExpandedView android:orientation="vertical" android:focusable="true" android:descendantFocusability="afterDescendants"
xmlns:android="http://schemas.android.com/apk/res/android">
Add this,
Code:
<com.pineapple.TabUI.TabButton android:layout_gravity="top" android:orientation="horizontal" android:background="#00000000" android:paddingTop="5.0dip" android:layout_width="fill_parent" android:layout_height="40.0dip" android:weightSum="3.0" android:layout_alignParentLeft="false" android:layout_alignParentRight="true" />
<com.pineapple.TabUI.TabsContent android:id="@id/tabbutton" android:background="#00000000" android:layout_width="fill_parent" android:layout_height="fill_parent">
6. And before this line
Code:
</com.android.systemui.statusbar.ExpandedView>
Add this,
Code:
</com.pineapple.TabUI.TabsContent>
7. Now this is the tricky part, as I am not familiar with the particular name of this (LinearLayout, RelativeLayout FrameLayout) ehh, you understand me what I am saying right sir?
Make the Expanded something like this,
Code:
<com.pineapple.TabUI.TabButton........../>
<com.pineapple.TabUI.TabButton...........>
<LinearLayout>First Layout</LinearLayout>
<LinearLayout>Second Layout</LinearLayout>
<LinearLayout>Third Layout</LinearLayout>
</com.pineapple.TabUI.TabsContent>
If you cant follow sirs, kindly compare it with my stock.
Code:
<com.pineapple.TabUI.TabButton android:layout_gravity="top" android:orientation="horizontal" android:background="#00000000" android:paddingTop="5.0dip" android:layout_width="140.0dip" android:layout_height="42.0dip" android:weightSum="3.0" android:layout_alignParentLeft="false" android:layout_alignParentRight="true" />
<com.pineapple.TabUI.TabsContent android:id="@id/flipper" android:background="#00000000" android:layout_width="fill_parent" android:layout_height="fill_parent">
<LinearLayout android:orientation="vertical" android:layout_width="fill_parent" android:layout_height="fill_parent">
<FrameLayout android:layout_width="fill_parent" android:layout_height="wrap_content" android:layout_weight="1.0">
<ScrollView android:id="@id/scroll" android:fadingEdge="none" android:layout_width="fill_parent" android:layout_height="wrap_content" android:overScrollMode="ifContentScrolls">
<com.android.systemui.statusbar.NotificationLinearLayout android:orientation="vertical" android:id="@id/notificationLinearLayout" android:layout_width="fill_parent" android:layout_height="wrap_content">
<TextView android:textSize="17.0sp" android:textStyle="normal" android:textColor="#ffffffff" android:id="@id/noNotificationsTitle" android:background="@drawable/quickpanel_title_background" android:paddingLeft="5.0dip" android:layout_width="fill_parent" android:layout_height="26.0dip" android:text="@string/status_bar_no_notifications_title" />
<TextView android:textSize="17.0sp" android:textStyle="normal" android:textColor="#ffffffff" android:id="@id/ongoingTitle" android:background="@drawable/quickpanel_title_background" android:paddingLeft="5.0dip" android:layout_width="fill_parent" android:layout_height="26.0dip" android:text="@string/status_bar_ongoing_events_title" />
<LinearLayout android:orientation="vertical" android:id="@id/ongoingItems" android:layout_width="fill_parent" android:layout_height="wrap_content" />
<TextView android:textSize="17.0sp" android:textStyle="normal" android:textColor="#ffffffff" android:id="@id/latestTitle" android:background="@drawable/quickpanel_title_background" android:paddingLeft="5.0dip" android:layout_width="fill_parent" android:layout_height="26.0dip" android:text="@string/status_bar_latest_events_title" />
<LinearLayout android:orientation="vertical" android:id="@id/latestItems" android:layout_width="fill_parent" android:layout_height="wrap_content" />
<Button android:textSize="13.0sp" android:layout_gravity="center" android:id="@id/clear_all_button" android:layout_width="85.0dip" android:layout_height="wrap_content" android:layout_marginTop="5.0dip" android:layout_marginRight="6.0dip" android:layout_marginBottom="3.0dip" android:text="Clear" android:layout_alignTop="@id/dateview" android:layout_alignParentRight="true" style="?android:attr/buttonStyleSmall" />
</com.android.systemui.statusbar.NotificationLinearLayout>
</ScrollView>
<ImageView android:layout_width="fill_parent" android:layout_height="fill_parent" android:src="@drawable/title_bar_shadow" android:scaleType="fitXY" />
</FrameLayout>
</LinearLayout>
<ScrollView android:scrollbars="none" android:fadingEdge="none" android:layout_width="fill_parent" android:layout_height="wrap_content" android:overScrollMode="never">
<include layout="@layout/expanded_content3" /> [B]<!-- SecondLayout -->[/B]
</ScrollView>
<ScrollView android:scrollbars="none" android:fadingEdge="none" android:layout_width="fill_parent" android:layout_height="wrap_content" android:overScrollMode="never">
<include layout="@layout/expanded_content3" /> [B]<!-- ThirdLayout -->[/B]
</ScrollView>
</com.pineapple.TabUI.TabsContent>
8. Save it, and recompile.
9. Decompile the APK again (We only did these because we register the added resources)
10. Go to public.xml and find these (the ids are bit different than yours,)
Code:
<public type="drawable" name="tab1" id="0x7f02009c" />
<public type="drawable" name="tab2" id="0x7f02009d" />
<public type="drawable" name="tab3" id="0x7f02009e" />
<public type="id" name="tabbutton" id="0x7f090029" />
11. Now here comes the smali part, Now go to smali/com/pineapple/TabUI/*
Find this smali file, TabsContent.smali
at the TabsContent.smali, find this
0x7f050001 and change it to the public id of your "<public type="id" name="tabbutton" id="0x7f090029" />" So in mine I will change 0x7f050001 to 0x7f090029
12. Open the smali file, TabButtons.smali and find this ids.
0x7f020001 and change it according to the ids of tab1, in my UI, the registered id of tab1 is 0x7f02009d so therefore, I will change 0x7f020001 to 0x7f02009c
0x7f020002 and change it according to the ids of tab2, in my UI, the registered id of tab1 is 0x7f02009d so therefore, I will change 0x7f020002 to 0x7f02009d
0x7f020003 and change it according to the ids of tab3, in my UI, the registered id of tab1 is 0x7f02009d so therefore, I will change 0x7f020003 to 0x7f02009e
13. Save everything and compile your SystemUI and push or flash it, I recommend flashing.
Download Link:
PINEAPPLEOWL
Note/Ads: Lenox V2.1 have this kind of UI.
Credits:
b16h22 for some comparison with his very own MultiPanelSwitcher
serajr for inspire for his awesome UI
LenoxDevs for there support
android.developers.com
Moderator, sorry. can you delete this post. because it has been duplicated. It dindt reload that time, something wrong with my coonection. Thanks a lot sir.
can you post a screenshot of what we get?
didn´t see the screenshots on top of page. :silly:
Maximus1a said:
can you post a screenshot of what we get?
didn´t see the screenshots on top of page. :silly:
Click to expand...
Click to collapse
https://fbcdn-sphotos-g-a.akamaihd.net/hphotos-ak-prn1/941806_601159553278742_1777791751_n.jpg
Very good job, thanks!
How can i do to use only two buttons? I tried to edit the smali files but when i click on any of the buttons i get force close (i don't understand much of smali). Could you explain me how to do?
Thanks again for your work
PineappleOwl said:
https://fbcdn-sphotos-g-a.akamaihd.net/hphotos-ak-prn1/941806_601159553278742_1777791751_n.jpg
Click to expand...
Click to collapse
content not found Attach a ss in attachment
dev.shinchan said:
content not found Attach a ss in attachment
Click to expand...
Click to collapse
Did you happen to notice that was posted 14th November 2013 ???? Perhaps that's why content not found......
dicksteele said:
Did you happen to notice that was posted 14th November 2013 ???? Perhaps that's why content not found......
Click to expand...
Click to collapse
Will you please update post for kk coz I am unable to find any suitable guide
dicksteele said:
Did you happen to notice that was posted 14th November 2013 ???? Perhaps that's why content not found......
Click to expand...
Click to collapse
:good:
https://forum.xda-developers.com/showthread.php?t=2799050
Here's a great link.
There may be something in there or something to give you an idea of how to do what you want.

(guide)How to add Owner pic in settings About Panel

Here is My guide how to add Owner pic in settings about Panel​
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Always backup any original file before modifying. If your phone doesn't boot push that backup to your phone.**
REQUIRED:
--Android SDK
--APK Tool
--WinZIP
--NOTEPAD
STEPS:-​-- Download the attached ZIPowner.zip
--Decompile your Setting.apk folder
​--and replace mine res folder with yours
Code:
<PreferenceCategory android:layout="@layout/preference_category" android:title=" INFO " />
<Preference android:focusable="false" android:clickable="false" android:layout="@layout/lenox_pic" />
Below this line
xmlns:android="http://schemas.android.com/apk/res/android">
Click to expand...
Click to collapse
IT will look like this
​
Open res/values/ids.xml and add these at the end
<item type="id" name="image">false</item>
<item type="id" name="owner">false</item>
<item type="id" name="linear_layout">false</item>
<item type="id" name="profile_pic">false</item>
<item type="id" name="layout1">false</item>
<item type="id" name="change_picture_text">false</item>
<item type="id" name="photo_picker">false</item>
<item type="id" name="linear_layout1">false</item>
<item type="id" name="layout2">false</item>
<item type="id" name="name_field">false</item>
<item type="id" name="name_edit">false</item>
<item type="id" name="profile">false</item>
<item type="id" name="profile_name">false</item
Click to expand...
Click to collapse
Open strings.xml and add these strings
<string name="change_pic">Change profile picture</string>
<string name="profile_pic">SET PROFILE PICTURE</string>
<string name="profile_name">CHANGE PROFILE NAME</string>
Click to expand...
Click to collapse
Now recompile the apk and decompile it again. Now open the public.xml and find these ids.These may not be the same in your apk
-- Now, Copy the "b16h22" folder to \smali\com\(here)
Below are the most imp. steps:
This step is for matching the codes found in public.xml with that in smali foder.
1. Open each Smali files one by one which you copied now.
2. Also open Open the PublicPre.xml provided by me and Public.xml of ur current ROM in which u had registered the ID's.
3. In your smali files, find the id codes like 0x.......
4.Search dis in PublicPre.xml.
5.Copy the Item name related to dis code and search dis in ur current Public.xml.
6. And finally copy the Id of that ITEM name and replace with that in your Smali file.
7. Do the above steps with each ID codes in each Smali..
Now open the res/xml/ settings.xml
and add this iconpreferencescreen.You can add it anywhere you want.I'm assuming you have basic knowledge about preference xmls.
<com.android.settings.IconPreferenceScreen android:title="Owner Profile" settings:icon="@drawable/ic_settings_owner">
<intent android:targetPackage="com.android.settings" android:action="android.intent.action.MAIN" android:targetClass="com.b16h22.Profile" />
</com.android.settings.IconPreferenceScreen>
Click to expand...
Click to collapse
Now open the res/xml/ Open AndroidManifest.xml and add this
[QUOTE]<activity android:label="@string/change_pic" android:name="com.b16h22.Profile">
<intent-filter>
<action android:name="android.intent.action.MAIN" />
</intent-filter>
</activity>
[/QUOTE]
10. Now you are done with modifications. Recompile and sign the settings.apk with kitchen​
Here is the last step
you have to disable signature check otherwise settings will not work
Here is My Guide
Decompile /system/framework/services.jar,
open com/android/server/packagemanagerservice.smali, look for
.method checkSignaturesLP([Landroid/content/pm/Signature;[Landroid/content/pm/SignatureI
.registers 10
.parameter "s1"
.parameter "s2"
.prologue
.line 1921
Click to expand...
Click to collapse
and add the red part
method checkSignaturesLP([Landroid/content/pm/Signature;[Landroid/content/pm/SignatureI
.registers 10
.parameter "s1"
.parameter "s2"
.prologue
.line 1921
const/4 v6, 0x0
return v6
Click to expand...
Click to collapse
Credit
b16h22
MARK
if u like my guide then press thanks button​
​
​
​
nice guide
thanks.. nice guide bro
Sent from my Micromax A57 using xda app-developers app
welcome Sir
very nice mod.... i will sure include this in my rom....& ofcourse ur & author's credit will be there...
Hi @SK(SurajKumar), will this work on 4.1.2 jelly bean as well ?
limyuyang said:
Hi @SK(SurajKumar), will this work on 4.1.2 jelly bean as well ?
Click to expand...
Click to collapse
sir did not try on 4.1 android and other high version!!
but you can try !!
and tell me result
and bro i am using 2.3.5:victory:
SK(SurajKumar) said:
sir did not try on 4.1 android and other high version!!
but you can try !!
and tell me result
and bro i am using 2.3.5:victory:
Click to expand...
Click to collapse
Hmm.....okay. I guess this mod will only work on GB because this code is only for GB, not for JB.
Code:
<com.android.settings.IconPreferenceScreen android:title="Owner Profile" settings:icon="@drawable/ic_settings_owner">
<intent android:targetPackage="com.android.settings" android:action="android.intent.action.MAIN" android:targetClass="com.b16h22.Profile" />
</com.android.settings.IconPreferenceScreen>
limyuyang said:
Hmm.....okay. I guess this mod will only work on GB because this code is only for GB, not for JB.
Code:
<com.android.settings.IconPreferenceScreen android:title="Owner Profile" settings:icon="@drawable/ic_settings_owner">
<intent android:targetPackage="com.android.settings" android:action="android.intent.action.MAIN" android:targetClass="com.b16h22.Profile" />
</com.android.settings.IconPreferenceScreen>
Click to expand...
Click to collapse
sir
may be it will work
Code:
<header android:icon="@drawable/ic_settings_owner" " android:title="Owner Profile" >
<intent android:targetPackage="com.android.settings" android:action="android.intent.action.MAIN" android:targetClass="com.b16h22.Profile" / />
</header>
Would it be worthwhile trying to create a collections of settings.apk files for various phones on various networks? Then the uninitiated, like myself, would be able to try this too
Is this an APK teardown of Hyperion?
CarlDeanCatabay said:
Is this an APK teardown of Hyperion?
Click to expand...
Click to collapse
Bro,I posted this guide long before him.I got this idea from your rom.
So,I gave you credits you can check my thread.
He just copied my thread.
I will report to the moderator.He didn't gave you credits and saying that he made this guide.
plz tell me, about guide multypanel settings for JB 4.1 Samsung Touchwiz
I hope you come out with an update guide fir kitkat. Thanks though as this is fabulous
dugeriss said:
plz tell me, about guide multypanel settings for JB 4.1 Samsung Touchwiz
Click to expand...
Click to collapse
TecknoFreak said:
I hope you come out with an update guide fir kitkat. Thanks though as this is fabulous
Click to expand...
Click to collapse
Check out my thread for 4.1 to 4.4.Check owner profile in about phone bro.
nightwalker said:
Check out my thread for 4.1 to 4.4.Check owner profile in about phone bro.
Click to expand...
Click to collapse
Ok i will once I'm on PC as i cant navigate into your threads from the xda app to get link
Thanks
This is nothing more than a copy and past thread that was stolen from @nightwalker
Please check out the original thread here
http://forum.xda-developers.com/showthread.php?t=2591100
Thread Closed

Categories

Resources