(guide)How to add Owner pic in settings About Panel - Android Software/Hacking General [Developers Only]

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

Related

Themers. and Devs, Enable ink lockscreen in the sgs4. preconfigured

UNTESTED
so ink lockscreen comes pre configured in the sgs4, but all it needs is a place in the settings so..
all we have to do is
Decompile SecSettings.apk
Go to \res\xml folder and open lockscreen_settings.xml
Search for "CheckBoxPreference android:title="@string/ripple_effect"
then right below it replace the current inkeffect configuration cmds with these
Code:
<PreferenceScreen android:title="@string/ink_effect" android:key="ink_effect">
<intent android:targetPackage="com.android.settings" android:action="android.intent.action.MAIN" android:targetClass="com.android.settings.InkeffectPreview" />
</PreferenceScreen>
then save it and Compile *if you can*
the only problem is that most of these SGS4 4.2.2 apks are to hard to decompile and compile so i havent tested this yet, so if anyone is able to
succeed in testing this. please give back feedback for testing :highfive: :highfive: :good: :good:
@cabloomi Doesnt work. I tested both by selecting the rippleeffect and also light effect! i modifed the same at line 25
<PreferenceScreen android:title="@string/ink_effect" android:key="ink_effect">
<intent android:targetPackage="com.android.settings" android:action="android.intent.action.MAIN" android:targetClass="com.android.settings.InkeffectPreview" />
</PreferenceScreen>
I will have a look further in the smali files!
@grgsiocl , how are you able to decompile and compile it. i have many mods in mind that include the SecSettings.apk
but it wont go back and compile even if i dont touch or change anything. please zip your work space and send it to me. lol like the apktool and the framwork base's 1 and 2.
and i think it might be CSC activated like we figured out recently that the call recorder mod is also
cabloomi said:
@grgsiocl , how are you able to decompile and compile it. i have many mods in mind that include the SecSettings.apk
but it wont go back and compile even if i dont touch or change anything. please zip your work space and send it to me. lol like the apktool and the framwork base's 1 and 2.
and i think it might be CSC activated like we figured out recently that the call recorder mod is also
Click to expand...
Click to collapse
i can easily do it as i am using the newsest version apktool. I also pushed framewrok-res.apk, twframework-res.apk and ssytemui. I will upload the apktool for you in a minute!
Edit uploaded the tool here! Just push the corresponding frameworks after extracting the zip and you are good to go! I am also using the backsmali /smali versio 2.0 , that also will upload it!
i made centerclock for the s4, want it @grgsiocl
maybe you can make a black transparent bar
and thank you for the apktool. it worked perfectly
If you already done it, then share please. I always love to have missing features in phone
Sent from my GT-I9500 using Tapatalk 2
grgsiocl said:
If you already done it, then share please. I always love to have missing features in phone
Sent from my GT-I9500 using Tapatalk 2
Click to expand...
Click to collapse
the clock wont roll out the way for a notification. so.. help me. this is what i did to get it center
decompile SystemUI.apk
Navigate to res/layout/status_bar.xml
Look for a line that starts with
Code:
<com.android.systemui.statusbar.policy.Clock
and i deleted it.
then added these lines
Code:
<LinearLayout android:gravity="center" android:orientation="horizontal" android:layout_width="fill_parent" android:layout_height="fill_parent">
<com.android.systemui.statusbar.policy.Clock android:textAppearance="@style/TextAppearance.StatusBar.Clock" android:gravity="center" android:paddingTop="3.0px" android:layout_width="wrap_content" android:layout_height="fill_parent" android:singleLine="true" android:layout_weight="1.0" />
</LinearLayout>
under this line
Code:
xmlns:systemui="http://schemas.android.com/apk/res/com.android.systemui">
then i changed the clock from blue to white
from this line
Code:
<style name="TextAppearance.StatusBar.Clock" parent="@*android:style/TextAppearance.StatusBar.Icon">
<item name="android:textSize">16.0dip</item>
<item name="android:textStyle">normal</item>
<item name="android:textColor">@*android:color/holo_blue_light</item>
</style>
I change the
<item name="android:textColor">@*android:color/holo_blue_light</item>
to <item name="android:textColor">#ffffffff</item>
so now its center, but it wont roll out the way for a notification
any ideas @grgsiocl
never mind. got it working, but its kinda glitchy
Cabloomi,
If you did not code this, please provide a link and credit to the "original" author.
Thanks
Sent from my GT-I9500 using xda premium
and what do i do if i did code it??
nothing right. ?
cabloomi said:
and what do i do if i did code it??
nothing right. ?
Click to expand...
Click to collapse
There is lots of info on the net for this mod...... and been for a long time.
I was just asking, not accusing you, because you would have wasted your time otherwise
Sent from my GT-I9500 using xda premium
UpInTheAir said:
There is lots of info on the net for this mod...... and been for a long time.
I was just asking, not accusing you, because you would have wasted your time otherwise
Sent from my GT-I9500 using xda premium
Click to expand...
Click to collapse
Remember this from last year
{
"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"
}
lol. i still have that message in my inbox
cabloomi said:
Remember this from last year
lol. i still have that message in my inbox
Click to expand...
Click to collapse
Yeah, do remember and still stick by it mate.
I am not criticizing you. I still encourage you to keep at it, but please try and provide links and credits to any "original" work you may have borrowed to edit. That's all.
Cheers,
UITA
BTW off topic .... Noticed you have a ROM out. Nice work. You'll notice on my signature I've been cooking also for the P6810 & P6800. More to do soon as JB just released
Sent from my GT-I9500 using xda premium

[GUIDE] duplicate activity at settings.apk

hi guys I'll give you a way to create a apk like the creed parts.apk without creating file apk like on screenies:
{
"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"
}
File Required:
1. Settings.apk
2. Tools to compile/decompile
3. Brain
Tuts:
1. decompile then compile again your settings.apk to check if there is an error or not
2. after it, decompile again
3. go to folder \smali\com\android\settings
4. copy 2 file smali TestingSettings.smali, TestingSettingsBroadcastReceiver.smali
5. just copy it there will appear -copy.smali
6. then rename. for example: Octo1.smali, Octo2.smali
7. open octo1.smali, find and replace com/android/settings/TestingSettings to com/android/settings/Octo1
8. find TestingSettings.java, replace to Octo1.java
9. open Octo2.smali, find and replace com/android/settings/TestingSettingsBroadcastReceiver to com/android/settings/Octo2
10. find and replace com/android/settings/TestingSettings to com/android/settings/Octo1 then find TestingSettingsBroadcastReceiver.java rename to Octo2.java. save
11. open res/xml
12. copy and paste Testing_Settings.xml and there will appear -copy.xml
13. rename to octo1.xml
14. delete all on octo1.xml and then write this. for example i use DSP Manager
<?xml version="1.0" encoding="utf-8"?>
<PreferenceScreen android:title="@string/tittle"
xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:settings="http://schemas.android.com/apk/res/com.android.settings">
<com.android.settings.IconPreferenceScreen android:title="DSPManager" android:summary="Setting Sound Equalizer" settings:icon="@drawable/ic_settings_dsp">
<intent android:targetPackage="com.bel.android.dspmanager" android:action="android.intent.action.MAIN" android:targetClass="com.bel.android.dspmanager.activity.DSPManager" />
</com.android.settings.IconPreferenceScreen>
</PreferenceScreen>
Click to expand...
Click to collapse
15. then save
16. open public.xml
17. enter the name of the new xml that we make to the public. +1 of the largest on the xml id. for example
<public type="xml" name="tab_settings" id="0x7f04003c" />
<public type="xml" name="octo1" id="0x7f04003d" />
Click to expand...
Click to collapse
18. the new id of octo1 copy to octo1.smali
19. then, open androidmanifest. find "TestingSettings"
20. copy this 2 parts:
<activity android:label="@string/tittle" android:name="TestingSettings">
<intent-filter>
<action android:name="android.intent.action.MAIN" />
<category android:name="android.intent.category.DEFAULT" />
</intent-filter>
</activity>
<receiver android:name="TestingSettingsBroadcastReceiver">
<intent-filter>
<action android:name="android.provider.Telephony.SECRET_CODE" />
<data android:scheme="android_secret_code" android:host="4636" />
</intent-filter>
</receiver>
Click to expand...
Click to collapse
21. TestingSettings rename to Octo1, TestingSettingsBroadcastReceiver rename to Octo2, android:host="4636" rename to android:host="666"
22. final step, open settings.xml. paste this everywhere you want
<com.android.settings.IconPreferenceScreen android:title="@string/tittle" settings:icon="@drawable/ic_settings_octo">
<intent android:targetPackage="com.android.settings" android:action="android.intent.action.MAIN" android:targetClass="com.android.settings.IllegalSettings" />
</com.android.settings.IconPreferenceScreen>
Click to expand...
Click to collapse
23. android:targetClass="com.android.settings.IllegalSettings" replace to android:targetClass="com.android.settings.Octo1"
24. compile. make sure you don't get error
25. sign-in settings
26. flash
sorry if my english is bad. thanks
fully credit to Rata Bila Bagi
Gonna try this! Reserved!
Can i make 3 tabs using duplicating the octo1 again?
TheDemiGod said:
Gonna try this! Reserved!
Click to expand...
Click to collapse
good luck bro
3r41nl33n said:
Can i make 3 tabs using duplicating the octo1 again?
Click to expand...
Click to collapse
no. this tuts just to create a apk like creedparts without make apk. please see screenshot
ocoot said:
no. this tuts just to create a apk like creedparts without make apk. please see screenshot
Click to expand...
Click to collapse
Oh sorry. I thought it was. Because in the screenies at the left has a two tabs.
3r41nl33n said:
Oh sorry. I thought it was. Because in the screenies at the left has a two tabs.
Click to expand...
Click to collapse
no problem
up
ocoot said:
up
Click to expand...
Click to collapse
Hi, I found 2 com/android/settings/TestingSettings, are they both of them need to replace?
please follow the tuts
Awesome sir ocoot:thumbup:
22. final step, open settings.xml. paste this everywhere you want
23.android:targetClass="com.android.settings.IllegalSettings" replace to android:targetClass="com.android.settings.Octo1"
24. compile. make sure you don't get error
25. sign-in settings
26. flash
Im stuck at step 22.... I would like ask regarding the step 22..
I have not found any file with a filename settings.xml. Does it mean any of example xxxxx_settings.xml files i can paste your code? Please help.
Sent from my LT18i using xda premium
Not Working I am Getting Problem in apktool
shadman0 said:
Not Working I am Getting Problem in apktool
Click to expand...
Click to collapse
try using apk multitool
Pls update the SS
the_vanya1 said:
Pls update the SS
Click to expand...
Click to collapse
This guide is actually similar like this one http://forum.xda-developers.com/showthread.php?t=2166315 from @Didact74

[Guide][Mods] SystemUI

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

Mod Your Background On Default Theme in XL (HOW TO)

Firstly these method required compiling/decompiling an apk file that is themes file
What you need to do is add these line in res/values/public
Code:
[COLOR="Red"]<public type="drawable" name="semc_theme_lockscreen_wallpaper" id="0x7f020000" />
<public type="drawable" name="semc_bg_tile" id="0x7f020003" />
<public type="drawable" name="semc_bg_bright_tile" id="0x7f020004" />[/COLOR]
Code:
<?xml version="1.0" encoding="utf-8"?>
<resources>
[COLOR="red"]<public type="drawable" name="semc_theme_lockscreen_wallpaper" id="0x7f020000" />[/COLOR]
<public type="drawable" name="semc_theme_preview" id="0x7f020001" />
<public type="drawable" name="semc_theme_wallpaper" id="0x7f020002" />
[COLOR="red"]<public type="drawable" name="semc_bg_tile" id="0x7f020003" />
<public type="drawable" name="semc_bg_bright_tile" id="0x7f020004" />[/COLOR]
<public type="color" name="semc_theme_accent_color" id="0x7f030000" />
<public type="color" name="semc_theme_illumination_color" id="0x7f030001" />
<public type="string" name="semc_theme_title" id="0x7f040000" />
</resources>
as you can see, semc_bg_tile will integrated with all dark background and as for semc_bg_bright_tile is for the opposite background and semc_theme_lockscreen_wallpaper will add built-in lockscreen image
Now you need to add an image in drawable folder with what we already add to public.xml before
{
"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 prefer add 30% - 45% transparent white or black to the pictures so the text can be seen more clearly....
Now compile it back and push it to system/app...
This will override your default themes...
If you wanna add themes along with default..you can change the theme title name in strings.xml..can changed the theme accent color to whatever you wanted in color.xml...refer this for colors changing code.
And rename the apk to whatever you want after recompiling​
ps:/image shown was yellow theme frome Honami Pure
credit to ska67 for his based
Hi
Your method seems nice and easy to use but the thing is I cannot re-compile the project after making the modifications using APK manager, if I use other similar command based tools I get similar issues (errors), can you recommend a tool that works for this or tell me what I am doing wrong?
Can you check the log for me or you can just send the work file to me...I'll take a look just in case i'm missing something..
Thanks
faizalotai said:
Can you check the log for me or you can just send the work file to me...I'll take a look just in case i'm missing something..
Thanks
Click to expand...
Click to collapse
Hi
I have attached pictures of the error/log. If I decide to bypass them and carry on then it will recompile the original apk-so without the new background image and edited public file.
All I am trying to do is add the semc_bg image from Xperia Sola (same res) and modify the public file (as you mentioned), I am trying to do this for all 8 stock themes, e.g. blue theme has blue background, purple has purple background, black has white background (because black theme provides white wallpaper) etc...
Hi
Fixed the issue, turns out that out of the three strings OP said need to be added:
- First one was already present.
- You only add the second/third one depending on your image you will use, e.g. if you choose to name the image "semc_bg_tile" then you only need the string mentioning "semc_bg_tile" and same applies for the other ("semc_bg_bright_tile") string. Credit: MahaDEVELOPER.
Other than that the guide is great, Me and MahaDEVELOPER have already edited and made a thread regarding the themes, here. :victory:
ShinOrochiX said:
Hi
Fixed the issue, turns out that out of the three strings OP said need to be added:
- First one was already present.
- You only add the second/third one depending on your image you will use, e.g. if you choose to name the image "semc_bg_tile" then you only need the string mentioning "semc_bg_tile" and same applies for the other ("semc_bg_bright_tile") string. Credit: MahaDEVELOPER.
Other than that the guide is great, Me and MahaDEVELOPER have already edited and made a thread regarding the themes, here. :victory:
Click to expand...
Click to collapse
Yes,what we add in the public.xml must be same with image name:good:
very helpful ! good job!

[TUT]Developing SoftKeys Themes

I'm writing this TUT on @matthew0776 request. LG G3(as well as the G2 and many other LG phones) comes with a Softkey theme engine that has the following limitations:
1)You can't use themes with transparency on launcher
2)You can't use themes on some lg apps like gallery,video player,etc
3)You can't have themes working with immersive mode
4)You can't customize the custom glow background
You can avoid them installing G3 TweaksBox.
Attached you can find a theme example which is basically the black gradation theme that comes with the rom: the only difference is the Glow Background which is RED.(I also attached the eclipse template)
Follow these steps to create a theme:
1)Modify the package name:
Open the MANIFEST(AndroidManifest.xml) and change the package name. Don't touch anything else in the MANIFEST file.
Code:
<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="[COLOR="Red"]com.example.g3_softkey_theme_example[/COLOR]"
android:versionCode="1"
android:versionName="1.0" >
<uses-sdk
android:minSdkVersion="16"
android:targetSdkVersion="19" />
<application
android:allowBackup="true"
android:icon="@drawable/ic_launcher"
android:label="@string/app_name">
<activity
android:excludeFromRecents="true"
android:launchMode="singleInstance"
android:name="com.example.g3_softkey_theme_example.MainActivity"
android:label="@string/app_name" >
<intent-filter>
<action android:name="android.intent.action.MAIN"/>
<action android:name="com.lge.systemui.navigation.THEME"/>
<category android:name="android.intent.category.DEFAULT"/>
</intent-filter>
</activity>
</application>
</manifest>
2)Change theme and app Name:
Open the strings.xml file(res/values/) and change the theme and the app name
Code:
<?xml version="1.0" encoding="utf-8"?>
<resources>
<string name="app_name">[COLOR="Red"]SoftKey Theme Example[/COLOR]</string>
<string name="theme_name_blackgradation">[COLOR="Red"]Theme Example[/COLOR]</string>
</resources>
3)REPLACING RESOURCES:
Just replace your themed pngs in the xxx-hdpi folder(if you want to make the theme available also for other LG phones you should replace also the images in the xx-hdpi folder)
4)TIPS:
As you can see in the theme for each key there are 3 drawables
Code:
<?xml version="1.0" encoding="utf-8"?>
<selector
xmlns:android="http://schemas.android.com/apk/res/android">
<item android:state_enabled="true" android:state_pressed="false" android:drawable="@drawable/ic_sysbar_home_normal" />
<item android:state_enabled="true" android:state_pressed="true" android:drawable="@drawable/ic_sysbar_home_pressed" />
<item android:drawable="@drawable/ic_sysbar_home_disabled" />
</selector>
If you want to use the same drawable for all the three states just change selectors in the drawabl folder :
Code:
<?xml version="1.0" encoding="utf-8"?>
<selector
xmlns:android="http://schemas.android.com/apk/res/android">
<item android:state_enabled="true" android:state_pressed="false" android:drawable="@drawable/ic_sysbar_home_normal" />
<item android:state_enabled="true" android:state_pressed="true" android:drawable="@drawable/ic_sysbar_home_normal" />
<item android:drawable="@drawable/ic_sysbar_home_normal" />
</selector>
In this way copying only a drawable for each key(2 if you consider land) is enough
thanks bro..!!! much appreciated..!
Sent from my LGLS990 using Tapatalk
---------- Post added at 01:29 AM ---------- Previous post was at 01:25 AM ----------
question...if applied via TWEAKBOX would the exceptions still apply...? seems like there are a lot of expectations when applied this way....any way to do it and have them have stock characteristics...? and not the exceptions
Sent from my LGLS990 using Tapatalk
matthew0776 said:
thanks bro..!!! much appreciated..!
Sent from my LGLS990 using Tapatalk
---------- Post added at 01:29 AM ---------- Previous post was at 01:25 AM ----------
question...if applied via TWEAKBOX would the exceptions still apply...? seems like there are a lot of expectations when applied this way....any way to do it and have them have stock characteristics...? and not the exceptions
Sent from my LGLS990 using Tapatalk
Click to expand...
Click to collapse
I'm happy to help . I updated the project(i removed unused support lib). Simply installing G3 TweaksBox and enabling the navigation bar MOD will solve all the exceptions.
NICE...! Great job on this project man..! thanks again
Sent from my LGLS990 using Tapatalk
where is this file to edit..?
{
"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"
}
edit...ok so I think...it's for each drawable xml..? So I edit the e.i. for pressed if I wanna use just the normal png...I would just replace ic_sysbar_back_disabled to ic_sysbar_back_normal ...in the ic_sysbar_back_button.xml
Sent from my LGLS990 using Tapatalk
I posted to wrong thread...
SO I did get to working...thanks again for the template
Sent from my LGLS990 using Tapatalk
matthew0776 said:
where is this file to edit..?
edit...ok so I think...it's for each drawable xml..? So I edit the e.i. for pressed if I wanna use just the normal png...I would just replace ic_sysbar_back_disabled to ic_sysbar_back_normal ...in the ic_sysbar_back_button.xml
Sent from my LGLS990 using Tapatalk
Click to expand...
Click to collapse
Correct. You could also delete pressed and disabled pngs if you use the same drawable for all states.
matthew0776 said:
I posted to wrong thread...
SO I did get to working...thanks again for the template
Sent from my LGLS990 using Tapatalk
Click to expand...
Click to collapse
. Great work!

Categories

Resources