{
"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"
}
So friends and XDA devs, here is a quick and easy guide for changing OEM skins to AOSP vanilla while I only tested it on Touchwiz the main concept can be applied to different OEMs
PRE-REQUISITES
Patience
Mind
Computer to work with
Android Device running an OEM skin obviously
Root access(to change the apk)
Root Explorer(Optional)
Code:
/* #include
*
* Your phone's warranty is now void.
* You are flashing this on your device at your own peril.
* I am not responsible for hard bricks, damages to SD Cards, thermonuclear war,
* or you getting fired because the alarm app failed.
* I would definitely help you out if you are stuck somewhere, provided that you give
* me clear details of the mishap.
* Don't ask for ETA's cause there is a thing called "LIFE" outside XDA.
* [COLOR="Red"] Full knowledge of backup and restore of framework-res.apk should be acquainted first.[/COLOR]
*/
GUIDE
So Let's Start
1. Take framework-res.apk form your phone using root explorer, adb or any other method
2. Decompile it using Apktool
3. Go to [Your Directory]\framework-res\res\values
4. Open styles.xml using Notepad++
---Knowledge Part---
5. You'll find for example "Theme.Holo.Dialog" and its OEM equivalent "Theme.DeviceDefault.Dialog".You can't simply rename "DeviceDefault" with "Holo" you'll face public.xml problems. What you can do instead is remove the items within each DeviceDefault as long as the style includes a parent
6. Be wise and patient and don't delete every item .Alot of testing is needed to achieve perfect AOSP theme. There is a sample down there so take a look at it.
7. Also a sample-script is down there to put your modified styles.xml immediately
Code:
<style name="Theme.DeviceDefault" parent="@style/Theme.Holo">
<item name="textAppearance">@style/TextAppearance.DeviceDefault</item>
<item name="textAppearanceInverse">@style/TextAppearance.DeviceDefault.Inverse</item>
bla bla...
</style>
<style name="Theme.DeviceDefault.NoActionBar" parent="@style/Theme.DeviceDefault">
<item name="windowNoTitle">true</item>
<item name="windowActionBar">false</item>
</style>
<style name="Theme.DeviceDefault.NoActionBar.Fullscreen" parent="@style/Theme.DeviceDefault.NoActionBar">
<item name="windowContentOverlay">@null</item>
<item name="windowFullscreen">true</item>
</style>etc...
Code:
<style name="Theme.DeviceDefault" parent="@style/Theme.Holo">
</style>
<style name="Theme.DeviceDefault.NoActionBar" parent="@style/Theme.DeviceDefault">
</style>
<style name="Theme.DeviceDefault.NoActionBar.Fullscreen" parent="@style/Theme.DeviceDefault.NoActionBar">
</style>
CREDITS
Apktool - brut.all & iBotPeaches
Notepad++
XDA - For everything
All I need from you if it helped you then press the THANKS button
Related
Hi everyone..
In this tutorial, you will know how to change your recent apps windows like the screenshot below...
This mod is originally inspired by evilisto... please visit his thread and shot him some thanks.
{
"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"
}
So let's start our tutorial of today
For this mod, we will modify 2 files; SystemUI.apk and framework-res.apk
First download the resources from here.
A) SystemUI.apk
1. Decompile SystemUI.apk by APK-Multi Tool.
2. Inside Recent_Mod.zip there is three files; status_bar_recent_item.xml and status_bar_recent_panel.xml, copy them to SystemUI\res\layout-port folder; and nyandroid11.png move it to SystemUI\res\drawable-nodpi folder
3. Go to SystemUI\res\values\bools.xml and change:
Code:
<bool name="config_recents_thumbnail_image_fits_to_xy">[B][COLOR="Red"]false[/COLOR][/B]</bool>
to:
Code:
<bool name="config_recents_thumbnail_image_fits_to_xy">[B][COLOR="Blue"]true[/COLOR][/B]</bool>
4. Go to SystemUI\res\values\colors.xml and change:
Code:
<color name="status_bar_recents_app_label_color">[B][COLOR="Red"]#ffffffff[/COLOR][/B]</color>
to:
Code:
<color name="status_bar_recents_app_label_color">[B][COLOR="Blue"]#ff555555[/COLOR][/B]</color>
5. Go to SystemUI\res\values\drawables.xml and change:
Code:
<item type="drawable" name="status_bar_recents_app_thumbnail_background">[B][COLOR="Red"]#88000000[/COLOR][/B]</item>
to:
Code:
<item type="drawable" name="status_bar_recents_app_thumbnail_background">[B][COLOR="Blue"]#ffe0e0e0[/COLOR][/B]</item>
6. Recompile your finished SystemUI.apk
B) framework-res.apk
1. Decompile framework-res.apk by APK-Multi Tool
2. Go to framework-res\res\values\dimens.xml and change thumbnail height and width size to:
Code:
<dimen name="thumbnail_height">160.0dip</dimen>
Code:
<dimen name="thumbnail_width">240.0dip</dimen>
3. Recompile your finished framework-res.apk
and that's it :laugh: ... Enjoy
N.B: You can use your own Recent window, just name it nyandroid11 and copy it to SystemUI\res\drawable-nodpi
Click to expand...
Click to collapse
For people who want to install the pre-made mod, I made 2 flashable files according to where SystemUI is located inside your installed ROM
Download link:
| [system] Framed Recent app mod.zip |
(MD5Checksum: edfec47e818f6d9a01f81ba2cceb521d)
| [preload] Framed Recent app mod.zip |
(MD5Checksum: 7c3e1fbdd0137564151054698561610c)
N.B: These files in flashable zip are extracted from my GloryROM v4.5 which is based on ThaiDai multi-languge ROM from official JB ROMs (XXLSZ, DDLSC, JPLSB, DXLSE... etc). Wth this pre-made flashable files, you will have stock status bar and stock battery looking.. The only extra you will have is lock and recent apps button in notification panel.. So flash on your own risk
Click to expand...
Click to collapse
Thank u my friend.
I am glad to see Arabic man developing and thinking here in xda
So proud .
Good job
Sent from my GT-N7000 using xda premium
nice keep it up
{
"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"
}
Who want add extra info in your phone? If you want this it guide for it
REQUIREMENT:
- BRAIN
- Patient
- experience
- Know how to decompile/recompiling Apk file
- Know how to push/make flashable zip apk
- notepad++
- Tool for decompiling, : apkmanager/apktool/Virtous/apkmultitools/ or else
first of all you need installed framework before try this guide
for installed framework
Code:
apktool if framework-res.apk
for installed sony framework
Code:
apktool if semcgenericuxpres.apk
ok lets guide and make it easy
Decompiling setting.apk
Go to res/xml/ device_info_settings.xml
For title add this code
Code:
<PreferenceCategory android:title="@string/[COLOR="Red"]title_new[/COLOR]" />
This for extra info add this code
Code:
<Preference android:title="@string/[COLOR="Red"]myname[/COLOR]" android:summary="@string/[COLOR="Red"]myname_config[/COLOR]" style="?android:preferenceInformationStyle" />
<Preference android:title="@string/[COLOR="Red"]mydevicename[/COLOR]" android:summary="@string/[COLOR="Red"]mydevicename_config[/COLOR]" style="?android:preferenceInformationStyle" />
<Preference android:title="@string/[COLOR="Red"]mysignature[/COLOR]" android:summary="@string/[COLOR="Red"]mysignature_config[/COLOR]" style="?android:preferenceInformationStyle" />
For screenshot
Now goto res/values/strings.xml
Add this code
Code:
<string name="[COLOR="Red"]title_new[/COLOR]">[COLOR="Red"]Extra info[/COLOR]</string>
<string name="[COLOR="Red"]myname[/COLOR]">[COLOR="Red"]My name[/COLOR]</string>
<string name="[COLOR="Red"]myname_config[/COLOR]">[COLOR="Red"]Philiadi Agung Wicaksana[/COLOR]</string>
<string name="[COLOR="Red"]mydevicename[/COLOR]">[COLOR="Red"]My device name[/COLOR]</string>
<string name="[COLOR="Red"]mydevicename_config[/COLOR]">[COLOR="Red"]Taoshan[/COLOR]</string>
<string name="[COLOR="Red"]mysignature[/COLOR]">[COLOR="Red"]Signature[/COLOR]</string>
<string name="[COLOR="Red"]mysignature_config[/COLOR]">[COLOR="Red"]I love Indonesia[/COLOR]</string>
For screenshot
Done !! recompile settings.apk and sign apk and push into system/app
Note : for red code you can change it with anything you want and you can add much more info if you want
Click to expand...
Click to collapse
Click to expand...
Click to collapse
Please press thanks button if this thread useful for you all !!
Ashadin.com
reserved
Thanks gan...
I'll try it
Sent from my C2105 using xda app-developers app
pepen9 said:
Thanks gan...
I'll try it
Sent from my C2105 using xda app-developers app
Click to expand...
Click to collapse
sipp:good:
Maybe in post #2 you can show us how to add image on about phone and how to make setting background colour depend on selected theme
vanitea said:
Maybe in post #2 you can show us how to add image on about phone and how to make setting background colour depend on selected theme
Click to expand...
Click to collapse
yes i will make other guide soon
Thank you, very interesting.
It works perfect!!!!!!!
G.M.L._V2_IcSmoothness
http://pasakalis.blogspot.gr
good tutorial, permission to share this to my site
Nice work
Sent from my C2104 using XDA Free mobile app
***Here is a guide for making System Black background to Transparent background on Samsung ICS devices ***
This guide should work for JB also
Things you need:
Tool for decompiling/compiling work (I will not cover this, there are many guides for this)
Notepad++
Some common sense
Click to expand...
Click to collapse
Here, we will edit one file:
framework-res.apk
Here we start---
Decomiple framework-res.apk
Open res/values/styles.xml with Notepad++
Search-
Code:
[B]"Theme.Holo"[/B]
Under this style you will find:
Code:
"windowShowWallpaper">false
Change this to:
Code:
"windowShowWallpaper">true
Now Search
Code:
[B]"ime[/B]
Wherever you find items starting with-
Code:
"ime
Add this item below at the end of that items-
Code:
"windowShowWallpaper">false
For example-
Code:
@style/Animation.InputMethod
@drawable/input_method_fullscreen_background
@anim/input_method_extract_enter
@anim/input_method_extract_exit
[COLOR="Blue"]"windowShowWallpaper">false[/COLOR]
You added that blue item.
Save it.
Now go to res/drawable-nodpi folder and change background_holo_dark.png and tw_background_holo_dark to your any desired transparent image of size 480x800 px (hdpi - devices)
After this recompile framework-res.apk
Thats it :good:
Some screenshots:
{
"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"
}
These screenshots are from my Glass3 Theme
Enjoy
Dont forget to PRESS THANKS BUTTON
Mohitash said:
***Here is a guide for making System Black background to Transparent background on Samsung ICS devices ***
This guide should work for JB also
Here, we will edit one file:
framework-res.apk
Here we start---
Decomiple framework-res.apk
Open res/values/styles.xml with Notepad++
Search-
Code:
[B]"Theme.Holo"[/B]
Under this style you will find:
Code:
<item name="windowFullscreen">false</item>
Change this to:
Code:
<item name="windowFullscreen">true</item>
Now Search
Code:
[B]"ime[/B]
Wherever you find items starting with-
Code:
"ime
Add this item below at the end of that items-
Code:
<item name="windowShowWallpaper">false</item>
For example-
Code:
<style name="Theme.InputMethod" parent="@style/Theme.Panel">
<item name="windowAnimationStyle">@style/Animation.InputMethod</item>
<item name="imeFullscreenBackground">@drawable/input_method_fullscreen_background</item>
<item name="imeExtractEnterAnimation">@anim/input_method_extract_enter</item>
<item name="imeExtractExitAnimation">@anim/input_method_extract_exit</item>
[COLOR="Blue"]<item name="windowShowWallpaper">false</item>[/COLOR]
</style>
You added that blue item.
Save it.
Now go to res/drawable-nodpi folder and change background_holo_dark.png and tw_background_holo_dark to your any desired transparent image of size 480x800 px (hdpi - devices)
After this recompile framework-res.apk
Thats it :good:
Some screenshots:
These screenshots are from my Glass3 Theme
Enjoy
Dont forget to PRESS THANKS BUTTON
Click to expand...
Click to collapse
thnxx for new mod bro..... +1
:laugh:
@Mohitash please fix your guide,not complete code, i only see
Code:
"ime
dugeriss said:
@Mohitash please fix your guide,not complete code, i only see
Code:
"ime
Click to expand...
Click to collapse
Yes its right and complete... :good:
look at the example in OP for help.
Regards
Mohitash
I know this is common knowledge to most, but I thought I would post it here for the Verizon S5 users!!
This guide requires following things:
• APKtool
• Notepad++ (or AcroEdit, etc.)
To Enable Native Hotspot
1. Decompile Framework
2. Edit values/Arrays.xml
Find:
PHP:
<string-array name="config_mobile_hotspot_provision_app">
<item>com.samsung.spg</item>
<item>com.samsung.spg.NewSPGActivity</item>
</string-array>
And Change to:
PHP:
<array name="config_mobile_hotspot_provision_app" />
Should look like this when done:
PHP:
</string-array>
<array name="config_tether_dhcp_range" />
<array name="config_mobile_hotspot_provision_app" />
<integer-array name="config_tether_upstream_types">
<item>0</item>
<item>1</item>
<item>4</item>
<item>5</item>
<item>7</item>
Compile and you can now enjoy Native Hotspot with no Verizon Subscripton
This is not my code I am merely sharing with Verizon S5 users
Enjoy!
This is good but if you install xposed installer you can get the X tether mod and it enables the stock tethering without moving a muscle
razzrmaxx said:
This is good but if you install xposed installer you can get the X tether mod and it enables the stock tethering without moving a muscle
Click to expand...
Click to collapse
That's what I did and it was super simple.
Is this method possible with lollipop android 5.0
EMSpilot said:
I know this is common knowledge to most, but I thought I would post it here for the Verizon S5 users!!
This guide requires following things:
• APKtool
• Notepad++ (or AcroEdit, etc.)
To Enable Native Hotspot
1. Decompile Framework
2. Edit values/Arrays.xml
Find:
PHP:
<string-array name="config_mobile_hotspot_provision_app"> <item>com.samsung.spg</item> <item>com.samsung.spg.NewSPGActivity</item></string-array>
And Change to:
PHP:
<array name="config_mobile_hotspot_provision_app" />
Should look like this when done:
PHP:
</string-array> <array name="config_tether_dhcp_range" /> <array name="config_mobile_hotspot_provision_app" /> <integer-array name="config_tether_upstream_types"> <item>0</item> <item>1</item> <item>4</item> <item>5</item> <item>7</item>
Compile and you can now enjoy Native Hotspot with no Verizon Subscripton
This is not my code I am merely sharing with Verizon S5 users
Enjoy!
Click to expand...
Click to collapse
@EMSpilot
Do you know where this is called from?
{
"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'm making a debranded rom and this is the only Verizon verbiage left. Thanks in advance for any guidance.
Sent from my LGLS751 using Tapatalk
I have the Verizon s5 but my service is through MetroPCS will this still work for me
How does this work?
I know I am a bit late to this. How does this actually work without a paid carrier? Does this trick the device into receiving data?
{
"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 mod allows you view over 1070 battery type and counting from various users. With a single click the battery will download and set itself on to your status bar.
But as stated don't worry about you storage space being used by thousands of useless icons as they are all on my server and only downloads the type you use.
1.Install app.
2.Decompile SystemUI.apk and navigate to: res/layout/status_bar.xml
3. Look for:
Code:
<com.android.systemui.BatteryMeterView android:id="@id/battery" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_marginBottom="0.33000004dip" android:layout_marginStart="5.0dip" />
Change to:
Code:
<com.android.systemui.statusbar.policy.MinitBattery android:id="@id/battery" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_marginBottom="0.33000004dip" android:layout_marginStart="5.0dip" />
4.Download the mod files and place them in smali/com/android/systemui/statusbar/policy folder.
5.Recompile and set permissions.
You are free to use and bake this mod and app into your rom provided you give full and proper credits and you provide a link to this thread. Also you cannot alter in any way without permission from me first.
This is not a open source project and I share with you as is. All codes belong to and are copyright to me.
My wife and kids for giving up their time with me so I can do this. Love you guys.
@pas2001 for batterys, renaming icons and testing.
@*wii360* for renaming batterys and testing.
@xxmrgreenxx for renaming batterys.
@NadMaj for his battery archive.
Disclaimer: Download at your own risk. I am not responsible for any damage/data loss etc from flashing this framework.
XDA:DevDB Information
3Minit Battery Mod, App for the Samsung Galaxy S 4
Contributors
gharrington, pas2001
Version Information
Status: Beta
Current Beta Version: 0.1
Created 2014-07-02
Last Updated 2014-07-02
hi , how can i uninstall 3minit battery mod ( it is preinstalled in the rom i use ), i tried to uninstall it using system application remover , it was uninstalled , but when i rebooted my cellphone , the UI crashed and it kept restarting .... any idea ?
Samsung Note 3 SM-N900