Hey there everyone! Thought i'd do a little knowledge dump and post up a bunch of guides and things that you can tweak in your rom. Probably will be most helpful for up and coming Devs, but could benefit anyone! I will update this guide with more mods as i get time
You will need knowledge of how to decompile apk's with apktool and knowledge of smali/baksmali. (I will not go over this) I also recommend notepad++ for editing.
These are currently based on the latest Verizon MD3 premium suite 4.1.2 update
With Said Lets get started!
]SecLauncher2.apk Mods
Enable Wallpaper Scrolling on Touchwiz Launcher
Decompile SecLauncher2.apk
Navigate to res/values/bool.xml
Find this line:
Code:
<bool name="config_fixedWallpaperOffset">true</bool>
Change to:
Code:
<bool name="config_fixedWallpaperOffset">false</bool>
Recompile the app and then you are done!
Framework-res.apk Mods
For all these mods you will need to decompile framework-res.apk
Enable Full 360 Degree rotation
Navigate to res/values/bools.xml
Find:
Code:
<bool name="config_allowAllRotations">false</bool>
Change To:
Code:
<bool name="config_allowAllRotations">true</bool>
Unplug doesnt turn on screen
Navigate to res/values/bools.xml
Find:
Code:
<bool name="config_unplugTurnsOnScreen">true</bool>
Change To:
Code:
<bool name="config_unplugTurnsOnScreen">false</bool>
Permantly Disable Help text on lockscreen
Navigate to res/values/bools.xml
Find:
Code:
<bool name="config_isHelpOverlayEnabled">true</bool>
Change To:
Code:
<bool name="config_isHelpOverlayEnabled">false</bool>
Change Low Battery Values
Navigate to res/values/integers.xml
Find:
Code:
<integer name="config_criticalBatteryWarningLevel">5</integer>
<integer name="config_lowBatteryWarningLevel">15</integer>
<integer name="config_lowBatteryCloseWarningLevel">20</integer>
Change To:
Code:
<integer name="config_criticalBatteryWarningLevel">1</integer>
<integer name="config_lowBatteryWarningLevel">5</integer>
<integer name="config_lowBatteryCloseWarningLevel">10</integer>
You can change these to whatever you want but this is what i have.
Change Help Text on Lockscreen
Navigate to res/values/strings.xml
Find:
Code:
<string name="lockscreen_unlock_guide_text">Swipe Screen to Unlock.</string>
Change To:
Code:
<string name="lockscreen_unlock_guide_text">HYPERDRIVE</string>
You can change this text to have it say whatever you want on the lockscreen
After editing and performing these mods then recompile and you are done!
Miscellaneous Mods
Hide any app from the app drawer
Decompile your apk you want to hide
Navigate to AndroidManifest.xml
Find this line:
Code:
<category android:name="android.intent.category.LAUNCHER" />
Change to:
Code:
<category android:name="android.intent.category.GADGET" />
Now recompile your app, and you have to do one other thing. Whenever editing the AndroidManifest you must resign your app or it will force close. You can use a program like APK-Multi Tool to do this if you want!
Enjoy and Hit the Thanks button if you like these!
Mine
I will update this guide with many more mods soon !
Enjoy everyone!
Awesome, thanks for sharing the knowledge bro
aj_2423 said:
Awesome, thanks for sharing the knowledge bro
Click to expand...
Click to collapse
No Problem bud, Hopefully they can help some people out!
How about a mod to center the all apps button on the touchwiz launcher?
Wow! How did I miss this before? This great! Thank you!
Tapatalk 4 sucks
{
"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"
}
RErick said:
Wow! How did I miss this before? This great! Thank you!
Tapatalk 4 sucks
Click to expand...
Click to collapse
Great bro
I hope they are useful to you. Check out my s4 guides too. Most of them should be compatable with s3 too
Sent from my SCH-I545 using xda premium
Related
Hi, i'm using the firmware 'Asia Retail' (MB865 - NOT AT&T)
Is there a way to change the lockscreen? I don't like the moto loockscreen, and, i don't wan't to install an app to do that, because, it drains the battery.
And i want to know if i can install de BB lockscreen or the AOSP lockscreen.
Btw: The firm is odex.
{
"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"
}
This is the locker that i want
PS: If someone has that wallpaper, i'll be glad too
brianmoyano said:
Hi, i'm using the firmware 'Asia Retail' (MB865 - NOT AT&T)
Is there a way to change the lockscreen? I don't like the moto loockscreen, and, i don't wan't to install an app to do that, because, it drains the battery.
And i want to know if i can install de BB lockscreen or the AOSP lockscreen.
Btw: The firm is odex.
This is the locker that i want
PS: If someone has that wallpaper, i'll be glad too
Click to expand...
Click to collapse
It takes a lot of code edits. I kind of already answered this here: http://forum.xda-developers.com/showpost.php?p=33782818&postcount=80.
But, the AOSP one is built-in already, it's just that Moto has overlayed their lockscreen on top of it - you would need to edit the zz_moto_keyguard_unlock_widget.xml in framework-res.apk/res/layout.. Erase everything in that stock xml and replace with this to get the AOSP one to show up:
Code:
<?xml version="1.0" encoding="utf-8"?>
<com.android.internal.widget.multiwaveview.MultiWaveView android:orientation="horizontal" android:id="@id/unlock_widget" android:layout_width="fill_parent" android:layout_height="fill_parent" android:layout_alignParentBottom="true" android:targetDescriptions="@array/lockscreen_target_descriptions_with_camera" android:directionDescriptions="@array/lockscreen_direction_descriptions" android:targetDrawables="@array/lockscreen_targets_with_camera" android:handleDrawable="@drawable/ic_lockscreen_handle" android:rightChevronDrawable="@drawable/ic_lockscreen_chevron_right" android:waveDrawable="@drawable/ic_lockscreen_outerring" android:outerRadius="@dimen/multiwaveview_target_placement_radius" android:hitRadius="@dimen/multiwaveview_hit_radius" android:vibrationDuration="20" android:snapMargin="@dimen/multiwaveview_snap_margin" android:feedbackCount="3" android:verticalOffset="0.0dip" android:horizontalOffset="0.0dip"
xmlns:android="http://schemas.android.com/apk/res/android" />
Then, to add a couple more widgets on the aosp lock widget, you would need to edit the smali code android.policy.jar, add some images to the drawable-hdpi folder and update the arrays.xml and strings.xml in /res/values, recompile the framework-res.apk, then decompile the newly modded one to get your new resource ids from the public.xml and put those in the android.policy java code.. and to change the layout of the locksreen completely, you would need to edit the keyguard_screen_tab_unlock.xml in framework-res.apk/res/layout.
So, in short, no - there is no easy way.
The tutorial that you gave me, it's for at&t. And i haven't the att version.
I'll try the hard method. Thx.
Sent from my MB865 using xda app-developers app
brianmoyano said:
The tutorial that you gave me, it's for at&t. And i haven't the att version.
I'll try the hard method. Thx.
Sent from my MB865 using xda app-developers app
Click to expand...
Click to collapse
I know that you don't have AT&T, and I suggested to take the AT&T one as an example to compare with your non-att files. Take the deodexed zip from the Numa thread, get your files all deodexed, then compare them all.. it's a pain, but possible.
thanks
alteredlikeness said:
It takes a lot of code edits. I kind of already answered this here: http://forum.xda-developers.com/showpost.php?p=33782818&postcount=80.
But, the AOSP one is built-in already, it's just that Moto has overlayed their lockscreen on top of it - you would need to edit the zz_moto_keyguard_unlock_widget.xml in framework-res.apk/res/layout.. Erase everything in that stock xml and replace with this to get the AOSP one to show up:
Code:
<?xml version="1.0" encoding="utf-8"?>
<com.android.internal.widget.multiwaveview.MultiWaveView android:orientation="horizontal" android:id="@id/unlock_widget" android:layout_width="fill_parent" android:layout_height="fill_parent" android:layout_alignParentBottom="true" android:targetDescriptions="@array/lockscreen_target_descriptions_with_camera" android:directionDescriptions="@array/lockscreen_direction_descriptions" android:targetDrawables="@array/lockscreen_targets_with_camera" android:handleDrawable="@drawable/ic_lockscreen_handle" android:rightChevronDrawable="@drawable/ic_lockscreen_chevron_right" android:waveDrawable="@drawable/ic_lockscreen_outerring" android:outerRadius="@dimen/multiwaveview_target_placement_radius" android:hitRadius="@dimen/multiwaveview_hit_radius" android:vibrationDuration="20" android:snapMargin="@dimen/multiwaveview_snap_margin" android:feedbackCount="3" android:verticalOffset="0.0dip" android:horizontalOffset="0.0dip"
xmlns:android="http://schemas.android.com/apk/res/android" />
Then, to add a couple more widgets on the aosp lock widget, you would need to edit the smali code android.policy.jar, add some images to the drawable-hdpi folder and update the arrays.xml and strings.xml in /res/values, recompile the framework-res.apk, then decompile the newly modded one to get your new resource ids from the public.xml and put those in the android.policy java code.. and to change the layout of the locksreen completely, you would need to edit the keyguard_screen_tab_unlock.xml in framework-res.apk/res/layout.
So, in short, no - there is no easy way.
Click to expand...
Click to collapse
thaks guy you are really something else
Hye. Did u change stock lockscreen mb865 non att 4.0.4? Can you upload the framework-res.apk? I want aosp lockscreen.
For Making This Thread, I took some parts from other's guide
What Materials You Need To Add This Rom Logo?
>Apktool
>Settings.apk
>Notepad++
Resolutions for Your Rom_logo For Your Device:-
LDPI:- 270 x 67 pixels
MDPI:- 320 x 80 pixels
HDPI:- 480 x 120 pixles
XHDPI:- 720 x 180 pixels
Click to expand...
Click to collapse
Let's Start:-
Firstly, Move your Settings.apk file to your "APKTOOL" Folder , And start the below steps
Code:
apktool if framework-res.apk
Code:
apktool if SemcGenericUxpRes.apk
NOTE- (The Above Code is <taframework>apk) So, Instead of "SemcGenericUxpRes.apk" you need to write your "<taframewokname>.apk"
Code:
apktool d Settings.apk
{
"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"
}
Download logo_row.xml file from HERE!! and put it in Settings/res/layout
Now go to xml folder.Search device_info_settings.xml and open it via Notepad++
Copy the Below code:-
Code:
<PreferenceScreen android:key="rom_logo" android:layout="@layout/logo_row" />
Below this Lines:-
Code:
<PreferenceScreen android:title="@string/about_settings"
xmlns:android="http://schemas.android.com/apk/res/android">
And Save the file and close it
After This, you need to have a romlogo in specific resolutions of your device,
Put the file into:- drawable-**** (**** means mdpi/hdpi/xhdpi, etc).
The Banner/logo should be named as "romlogo" {Without Double inverted commas- " ")
Now come back to apktool Folder.
Now, We need to Recompile apk , so type the Below Code in Command Prompt:-
Code:
apktool b (Folder name)
Now We Need To Sign Apk for that proceed to Next Step
Now with Winzip/WinRar/7-zip, Open Original Settings.apk and Copy "Meta-inf" folder and "AndroidManifest" file
to your Decompiled folder "or" Setting-new folder/build/apk Like the Below Screenshots
After This, Come back to apktool folder and type the below code to Recompile apk
Code:
Apktool b (Folder Name)
Now, Go to Your Decompiled apk folder or Settings-New folder and then "dist" Folder
And Copy that Settings.apk and replace it to System/apps And Set the Permsissions to RW-R-R
You Are Done
Reboot And Enjoy
Tested On :- Sony Xperia Miro , Samsung S Duos
Works On:-All Android Devices And All Roms
Credits:-
Me (NikunjKubadia)
Alberto97
Well,,,I think this is w wrong place to post this buddy.
Firstly,your guide works with all phones..so move it to android general discussion,so that it will get views from all devices..
Secondly ,even if you post it in our device thread,post in general section...
Forum rules say that development area is ment for kernels ,Roms and mods..
Not guides..
Sent from my C1604 using xda app-developers app
mathewsj114 said:
Well,,,I think this is w wrong place to post this buddy.
Firstly,your guide works with all phones..so move it to android general discussion,so that it will get views from all devices..
Secondly ,even if you post it in our device thread,post in general section...
Forum rules say that development area is ment for kernels ,Roms and mods..
Not guides..
Sent from my C1604 using xda app-developers app
Click to expand...
Click to collapse
I Know bro , therefore I have Said Forum Moderater TO Shift it
Nice tutorial. Rom cookers will love this.
Great tutorial bro, will help many aspirants
that was helpful!!
good work bro!!
cheers!!:angel:
Awesome guide man good job
Thanks for the guide bro ! Good job
delete me
the file is deleted please upload it again
MaxTheVin said:
the file is deleted please upload it again
Click to expand...
Click to collapse
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout android:gravity="center" android:layout_width="fill_parent" android:layout_height="wrap_content"
xmlns:android="http://schemas.android.com/apk/res/android">
<ImageView android:layout_width="fill_parent" android:layout_height="wrap_content" android:src="@drawable/romlogo" />
</LinearLayout>
How do I get framework-res apk and 2.apk?
read me first
tell me if i posting in wrong sub forum
Tested on my Galaxy Pocket GT-S5300 with GB 2.3.6 and JB 4.1
{
"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"
}
Click to expand...
Click to collapse
Required :
Knowledge about how to compiling apk
Framework-res.apk & framework.jar from ur system
Tools for compiling apk.
And this file
Tutorial :
Rename framework.jar to framework.apk.
Extract PNG&Smali.zip.
Decompile Framework-res.apk and framework.apk.
Copy everything in the folder framework.jar into framework.apk in the projects folder
Copy everything in the folder frmwork-res.apk into framework-res.apk.apk in the projects folder
Recompile framework-res.apk and make sure there are not errors.
Decompile again framework-res.apk.
Open framework-res.apk\res\values\public.xml
Open framework.apk\android\widget\AnalogClock.smali
Change the blue code as it is in public.xml of framework-res.apk
Code:
[COLOR="Blue"]0x1080215 [/COLOR] => public type="drawable" name="clock_dial"
[COLOR="Blue"]0x1080216 [/COLOR] => public type="drawable" name="clock_hand_hour"
[COLOR="Blue"]0x1080217 [/COLOR] => public type="drawable" name="clock_hand_minute"
[COLOR="Blue"]0x1080615 [/COLOR] => public type="drawable" name="clock_hand_second"
note : remove 0 after X. Example : 0x01080123 to 0x1080123
Click to expand...
Click to collapse
Compile framework.apk. and rename rename to framework.jar
Push. (DONT FORGET TO DO NANDROID BACKUP)
Done
credit : Febiantoro Pebot
thank you very much
cambiaso74 said:
thank you very much
Click to expand...
Click to collapse
read my signature, please
cleverior.ipul said:
read my signature, please
Click to expand...
Click to collapse
Goods guild! I done succec in OS 4.1
Thanks!
sonnguyenpg said:
Goods guild! I done succec in OS 4.1
Thanks!
Click to expand...
Click to collapse
u're welcome
cleverior.ipul said:
read me first
tell me if i posting in wrong sub forum
Tested on my Galaxy Pocket GT-S5300 with GB 2.3.6 and JB 4.1
Click to expand...
Click to collapse
Sir can it be implemented in status bar expanded? On the header? Thanks.
jasper~ said:
Sir can it be implemented in status bar expanded? On the header? Thanks.
Click to expand...
Click to collapse
i think yes
cleverior.ipul said:
i think yes
Click to expand...
Click to collapse
How?
cleverior.ipul said:
read me first
tell me if i posting in wrong sub forum
Tested on my Galaxy Pocket GT-S5300 with GB 2.3.6 and JB 4.1
Required :
Knowledge about how to compiling apk
Framework-res.apk & framework.jar from ur system
Tools for compiling apk.
And this file
Tutorial :
Rename framework.jar to framework.apk.
Extract PNG&Smali.zip.
Decompile Framework-res.apk and framework.apk.
Copy everything in the folder framework.jar into framework.apk in the projects folder
Copy everything in the folder frmwork-res.apk into framework-res.apk.apk in the projects folder
Recompile framework-res.apk and make sure there are not errors.
Decompile again framework-res.apk.
Open framework-res.apk\res\values\public.xml
Open framework.apk\android\widget\AnalogClock.smali
Change the blue code as it is in public.xml of framework-res.apk
Code:
[COLOR="Blue"]0x1080215 [/COLOR] => public type="drawable" name="clock_dial"
[COLOR="Blue"]0x1080216 [/COLOR] => public type="drawable" name="clock_hand_hour"
[COLOR="Blue"]0x1080217 [/COLOR] => public type="drawable" name="clock_hand_minute"
[COLOR="Blue"]0x1080615 [/COLOR] => public type="drawable" name="clock_hand_second"
Compile framework.apk. and rename rename to framework.jar
Push. (DONT FORGET TO DO NANDROID BACKUP)
Done
credit : Febiantoro Pebot
Click to expand...
Click to collapse
do you think it will work for jellybean 4.2.2?
mat320 said:
do you think it will work for jellybean 4.2.2?
Click to expand...
Click to collapse
i think yes
Introduction:-
Hey guys!!Wanna learn some basic Theming?? Here I present you my first guide.This guide is very simple and complete noob-friendly..You might also get some idea about theming System apps using this guide..
Alright..So what this guide is about? This guide will theme your Skin-picker app like Sony Kitkat Skin-core app..
Requirements:-
Apktool or some similar software (I prefer using Advanced Apktool by BDFreak)
Decompiling-Recompiling apk Knowledge
Notepad++ for Editing XMLs
Working brain and patience!!
Alright! So let's Start..
STEP-1: Theming Skin-picker.apk
Decompile Skin-picker.apk using apktool.
Go to res/values Open styles.xml.
Find this line-
PHP:
<style name="ListItem" parent="@android:style/Widget.DeviceDefault.TextView">
Change it to-
PHP:
<style name="ListItem" parent="@android:style/Theme.DeviceDefault.Light">
Find This line-
PHP:
<style name="BaseThemeNxt" parent="@android:style/Theme.DeviceDefault" />
Change it to-
PHP:
<style name="BaseThemeNxt" parent="@android:style/Theme.DeviceDefault.Light" />
Now lets Change the Radio button to Checkmark.
{
"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"
}
To This-
Now in styles.xml..In ListItem style Find this line-
PHP:
<item name="android:checkMark">?android:listChoiceIndicatorSingle</item>
Change it to this-
PHP:
<item name="android:checkMark">@drawable/btn_check_light</item>
Save the styles.xml.
Now Let's add the required resources. Download Resources.zip from the attachment. Extract it. Replace the Folders from existing Skin-picker.apk with the extracted folders.(drawable folder just copy and paste as it is not there in Decompiled Skin-picker.apk)
Now if you want to change the App name "Themes" to "Xperia™ Themes" Open strings.xml find this line-
PHP:
<string name="app_name">Themes</string>
Change it to-
PHP:
<string name="app_name">Xperia™ Themes</string>
Save strings.xml..Recompile Skin-picker.apk..Sign it..
STEP-1 DONE!!
DON'T FORGET TO HIT THANKS BUTTON!!:good::good:
STEP-2
STEP-2: Theming Skin-upholsterer.apk
First Decompile skin-upholsterer.apk using apktool. And Follow the steps given below.
Now Let's change this Dialog To White Dialog-
To do this, Go to res/values Open styles.xml. Find this line-
PHP:
<style name="BaseThemeAir" parent="@android:style/Theme.DeviceDefault.Light.Dialog.NoActionBar" />
Change it to This-
PHP:
<style name="BaseThemeAir" parent="@android:style/Theme.DeviceDefault.Light.Dialog" />
Also find this line-
PHP:
<style name="BaseThemeNxt" parent="@android:style/Theme.DeviceDefault.Dialog.NoActionBar" />
Change it to This-
PHP:
<style name="BaseThemeNxt" parent="@android:style/Theme.DeviceDefault.Light.Dialog" />
Save styles.xml.
Now We'll have to change the bullet color WHITE to BLACK.
To do this, Go to res/values Open colors.xml Find these lines-
PHP:
<color name="bullet_color_bright">#ff333333 </color>
PHP:
<color name="bullet_color_dark">#ffffffff </color>
Change these to-
PHP:
<color name="bullet_color_bright">#ff000000 </color>
PHP:
<color name="bullet_color_dark">#ff000000 </color>
Save colors.xml..Recompile skin-upholsterer.apk..Sign it..
STEP-2 DONE!!
Now Replace your skin-picker.apk and skin-upholsterer.apk in system/app with these newly recompiled skin-picker.apk and skin-upholsterer.apk..Reboot device!!Done!! Enjoy Purely Kitkat Themed Skin-picker!!
DON'T FORGET TO HIT THANKS BUTTON!!:good::good:
Screenshots
Screenshots:-
Before Theming-
After Theming-
DON'T FORGET TO HIT THANKS BUTTON!!:good::good:
thanks fr this awesome guide man,,,,superb work....:good:
Ghost Protocol~007 said:
thanks fr this awesome guide man,,,,superb work....:good:
Click to expand...
Click to collapse
Thanks a lot bro!! Keep supporting.. :good::highfive:
Wow ,thank you very much great guide .
Maybe it's a noob .
Can you in the future make a guide for how to make the setting white.(I have try many times but I couldn't)
n78 shadow said:
Wow ,thank you very much great guide .
Maybe it's a noob .
Can you in the future make a guide for how to make the setting white.(I have try many times but I couldn't)
Click to expand...
Click to collapse
You need to make changes in styles.xml..Change Theme.DeviceDefault to Theme.Devicedefault.Light..
Thank you very much I will try it as soon as I'm back to stock rom
Hi! I'm back for making a new guide for ya!
In this thread, i'll tell you how to Add Extra Informations that like TeslaROM based CyanogenMod!
Okay here we go!
Guide Add Extra Information di Settings.apk!
Recuirements:
- Apktool v1.5.2
- Knowing what is Compare
- Merge all files to its places
- Then add this in res/drawable/xml/DeviceInfoSettings.xml -->
Code:
<PreferenceScreen android:title="@string/teslaextrainfo" android:key="extrainfo" android:summary="@string/teslaextrainfo_summary">
<intent android:targetPackage="com.android.settings" android:action="android.intent.action.MAIN" android:targetClass="com.android.settings.tesla.extrainfo.MainActivity" />
</PreferenceScreen>
- Now add this in AndroidManifest.xml -->
Code:
<activity android:theme="@*android:style/Theme.Holo.Dialog.NoActionBar.MinWidth" android:name="com.android.settings.tesla.extrainfo.MainActivity">
<intent-filter>
<action android:name="android.intent.action.MAIN" />
</intent-filter>
</activity>
- Next add this in res/drawable/values/strings.xml -->
Code:
<string name="teslaextrainfo">Extra information</string>
<string name="teslaextrainfo_summary">Display extra info for cpu, display, etc</string>
- Recompile dan Sign
- Decompile your Settings.apk again
- In here we must compare the ID in Public.xml to smali for work!
- Open smali/com/android/settings/tesla/extrainfo/MainActivity.smali
- Search code with "0x7"
- 0x7f0400d6 --> extrainfo_layout.xml
(layout)
- 0x7f0802bc --> mainLinearLayout (id)
- Then compare dan paste that code to ID Public.xml to smali
- Next Recompile and Sign
- And push!
If this guide doens't work on your Device, pls make sure post the log in comments so i will know and try to fix it
Thanks to:
- Allah SWT
- Prophet Muhammad SAWW
- My GF
Download:
Settings Files
Mirror
Settings Files
Credits:
- Cyanogen Team (Big thanks for you for helping me!)
- TeslaROM
- AICP
- AOKP
- PAC-ROM
- GzROM
- ROM that based CyanogenMod!
- Jawaad Saeed for making original guide!
{
"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"
}
nice sir .
gonna try soon
qoejohn said:
nice sir .
gonna try soon
Click to expand...
Click to collapse
Ok sir
Give me feedback sir
Is it working with jb 4.1.2??
Working perfect sir
qoejohn said:
Working perfect sir
Click to expand...
Click to collapse
I'm not test it in JB 4.1.2 but you can try and give us the feedback sir
ShadeSK said:
Is it working with jb 4.1.2??
Click to expand...
Click to collapse
Good job bro
Looking so nice
Ttyyy bro...☺
via XDA Premium
jeswinjv said:
Ttyyy bro...☺
via XDA Premium
Click to expand...
Click to collapse
(Y)
Okay sir i will try another awesome mod by u
ShadeSK said:
Okay sir i will try another awesome mod by u
Click to expand...
Click to collapse
Report if works sir (Y)
Sir Good News It works
ShadeSK said:
Sir Good News It works
Click to expand...
Click to collapse
Great!
Can you give me your screenshot sir?