[Guide] How to change your Quick Settings Background Color and Alpha (EMUI5 + Root) - Huawei P9 Lite Guides, News, & Discussion

How to change your Quick Settings Background Color from Default Black to Translucent or Other (EMUI 5)​
Several people have asked how to change the color or transparency of the default black quick settings background in EMUI 5 for the P9 Lite. I was going to make an app to do this, but it is going to be quite time consuming and I am not sure enough people will use it. So instead, here is a tutorial. I hope it is noob friendly enough. Don't hesitate to ask questions in this thread!
First and foremost, you need to be rooted and to edit your local prop to lite_enabled = false (you will find that in /system/emui/lite/prop/local.prop)
Here are a couple of pictures to show what the mod does:
{
"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"
}
TUTORIAL
1. Get hold of a theme you like. If you want to use one of the stock themes, you will find them here: https://forum.xda-developers.com/huawei-p9lite/themes/huawei-p9-lite-themes-fix-icons-ota-t3409185
There are also good EMUI 5 themes here: http://emui.huawei.com/en/plugin/hwtheme/theme
2. Download and install this file archiver if you don't already have it: http://www.7-zip.org/
3. Right click on your theme, navigate to 7zip and choose "Open Archive" (first option)
4. If you see a file called com.android.systemui go straight to step 11. If not, got to 5.
5. Download and install Notepad++ if you don't already have it: https://notepad-plus-plus.org/
6. Open Notepad++
7. Add this to the blank file choosing your own hex color:
Code:
<?xml version="1.0" encoding="utf-8"?>
<resources>
<color name="qs_panel_background">#FFCE93D8</color>
</resources>
8. If you also want to change the color of your quick settings icons, add this, choosing your own hex colors:
Code:
<?xml version="1.0" encoding="utf-8"?>
<resources>
<color name="qs_panel_background">#FFCE93D8</color>
<color name="qs_tile_tint_on">#FFFFFFFF</color>
<color name="qs_tile_tint_off">#5b5555</color>
</resources>
9. Save your file as theme.xml
10. Create a folder called com.android.systemui and put theme.xml in it. Zip the file and rename to com.android.systemui (without .zip)
11. If you already had a com.android.systemui file, select and click on Extract. Extract to your desktop. Then right click on the file, navigate to 7zip and choose "Open Archive" (first option). Then select theme.xml and Extract to your desktop. Then open with Notepad++. Then add the required lines:
Code:
<color name="qs_panel_background">#FFCE93D8</color>
<color name="qs_tile_tint_on">#FFFFFFFF</color>
<color name="qs_tile_tint_off">#5b5555</color>
12. In your open Theme archive, drag and drop com.android.systemui
13. Close archive. Put in your HWThemes folder. Go to your Themes app. Apply. Voilà!
Note: You may need to clear to clear Themes cache and reboot.
CREDITS: @Coolyou for pointing out that this needs root.

@StrangerWeather
The problem is we have by default in /system/emui/lite/local.prop lite_enabled it need to be changed to false in order to have transparent notifications. But I want to achieve that without root, hence your tutorial works only for devices which have lite_enabled to false.
Is it possible to change lite_enabled with ADB SHELL command?

Coolyou said:
@StrangerWeather
The problem is we have by default in /system/emui/lite/local.prop lite_enabled it need to be changed to false in order to have transparent notifications. But I want to achieve that without root, hence your tutorial works only for devices which have lite_enabled to false.
Is it possible to change lite_enabled with ADB SHELL command?
Click to expand...
Click to collapse
No, this tutorial works with unrooted devices. It's got nothing to do with the local.prop. It's just plain theming.
Edit: @Coolyou is actually right, you need to be rooted and to edit your local.prop.

StrangerWeather said:
No, this tutorial works with unrooted devices. It's got nothing to do with the local.prop. It's just plain theming.
Click to expand...
Click to collapse
I tried with this theme https://forum.xda-developers.com/p9/themes/theme-simplyn-nougat-style-theme-emui-5-t3590068
it already has custom color for notifications, yet it changes icons on notifications but not the color or adding a transparent option, it's still black.

Please I need one ready to use
I dony have time to adit theme

radwan020 said:
Please I need one ready to use
I dony have time to adit theme
Click to expand...
Click to collapse
It doesn't works if you don't have lite_enabled to false

I tried with many themes but no chance
---------- Post added at 11:54 AM ---------- Previous post was at 11:52 AM ----------
Coolyou said:
It doesn't works if you don't have lite_enabled to false
Click to expand...
Click to collapse
Any plans to edit
---------- Post added at 11:58 AM ---------- Previous post was at 11:54 AM ----------
I don't like to root my phone

I tried with adb shell settings put system hw_emui_lite false via cmd but it doesn't work :/ If someone has experience with ADB write here
EDIT 1: adb shell settings put system hw_emui_lite.enable false - doesn't work as well.

Coolyou said:
@StrangerWeather
The problem is we have by default in /system/emui/lite/local.prop lite_enabled it need to be changed to false in order to have transparent notifications. But I want to achieve that without root, hence your tutorial works only for devices which have lite_enabled to false.
Is it possible to change lite_enabled with ADB SHELL command?
Click to expand...
Click to collapse
Ok, my mistake, you are absolutely right!
Unfortunately, you can't change a system file without root, even using adb shell.

radwan020 said:
Please I need one ready to use
I dony have time to adit theme
Click to expand...
Click to collapse
Are you rooted? If so I can make it for you.

No am not rooted
I search for without root
Thanks for replying

StrangerWeather said:
Ok, my mistake, you are absolutely right!
Unfortunately, you can't change a system file without root, even using adb shell.
Click to expand...
Click to collapse
Poof :< If that's not available with adb shell we will never have it without root. Even p10 lite have that lite enabled. FFS
Huawei sucks so much seriously.

Coolyou said:
Poof :< If that's not available with adb shell we will never have it without root. Even p10 lite have that lite enabled. FFS
Huawei sucks so much seriously.
Click to expand...
Click to collapse
To be precise, you can do it if you have TWRP, you don't need root. The only problem is finding a way of installing TWRP without unlocking your bootloader. It has been done before for various other devices...
But if your bootloader is unlocked, you can do it with TWRP. No need for root.

StrangerWeather said:
To be precise, you can do it if you have TWRP, you don't need root. The only problem is finding a way of installing TWRP without unlocking your bootloader. It has been done before for various other devices...
But if your bootloader is unlocked, you can do it with TWRP. No need for root.
Click to expand...
Click to collapse
And I guess it's impossible on huawei to do that without bootloader.

@StrangerWeather, can you tell me where to edit in EMUI 4?

does only the transparency/blur need the prop edit? or does changing the color also need it

Germano1980 said:
@StrangerWeather, can you tell me where to edit in EMUI 4?
Click to expand...
Click to collapse
It's quite different and I can't test because I don't have it. But here is a comprehensive guide which should work: http://emui.altervista.org/system-apps/com-android-systemui.html
mjz2cool said:
does only the transparency/blur need the prop edit? or does changing the color also need it
Click to expand...
Click to collapse
Unfortunately, changing color needs it too.

Thanks, work perfect on my P9 Lite. Greetings.
PD: In the same local.prop file, you can activate the App Clone function.

StrangerWeather said:
It's quite different and I can't test because I don't have it. But here is a comprehensive guide which should work: http://emui.altervista.org/system-apps/com-android-systemui.html
Unfortunately, changing color needs it too.
Click to expand...
Click to collapse
that explains why all those themes that show screenshots of the notificationpanel don't change it

Which setting or settings specifically control the transparency? I'm already on a custom theme.

Related

Gingerbread based theme for Ascend and MDPI & HDPI devices Update [1/10]

Update 1/10 Minor update to some, maybe major to others, I've made some changes to the status bar pull down for Ascend users, I've changed the main text to be black, I'm still not completely happy with it, so i'll keep tweaking... Also, I've added support for HDPI devices in the Gingerbread3.5.zip, in general the theme should work on a wider variety of devices.
{
"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 1/9 The theme is pretty much complete
In order for Ascend users to get the white clock you need to download buildprop and replace the one under your system folder with it. You'll have to be rooted and use a file manager or you could use adb shell or a terminal to replace your build.prop
Another change to the build.prop for the popups!!!
Special thanks to yuyuye for the information.
I've attached some screenshots of the theme in action. There are many more changes not visible in the screenshots, the majority of the framework-res have been updated to match the new theme.
UPDATE 12/16
I've attached the metamorph theme in case anyone wants to try it, i would say it's beta quality as it's not finished, but it's usable. Just load the v0.1.zip file on to your sdcard, download metamorph and install away. If you have any basic questions, feel free to ask but I won't be providing an major support yet because it's not finished. I would say it's 75% complete at the most. And as always, you shouldn't have any problems but USE AT YOUR OWN RISK!!
UPDATE 12/22
New version v0.3 with a change to the submenu, I changed the submenu to white so the text is legible until i can get the Ascend deodexed and properly change the color of the text...
The download labeled GingerbreadAscend3.zip is may specifically for the Ascend I don't recommend anyone apply it on any other phones
The download labeled Gingerbread3.zip is for any and all MDPI phones
Have fun!!!
screens
http://min.us/mvk9WPS
Insrtuctions for installation:This is a Metamorph theme, so download and install Metamorph. Put the theme on your sdcard. Make sure your phone is rooted, you have busbox downloaded and installed and that usb debugging is turned on
For Ascend users, download your appropriate build.prop file and use a program like root explorer or subfs to copy and paste it into the /system/ directory, if you don't want to purchase one of those programs, download this program from the market "Mount /system (rw / ro)" open it and mount the system as r/w then use adb shell or a terminal emulator to copy the file over
Code:
su
cp /sdcard/build.prop /system/build.prop
and the launcher i'm using in the screenshots is linked to here http://forum.xda-developers.com/showpost.php?p=10063058&postcount=69
and instructions for installing it http://forum.xda-developers.com/showpost.php?p=10069927&postcount=75
also make sure to grab the gingerbread keyboard http://forum.xda-developers.com/showthread.php?t=875202
Extra Launcherpro Icons by Fodoom http://forum.xda-developers.com/showpost.php?p=10464161&postcount=151
Widgets that I use and think are cool:
battstatt
Digital Clock
OneSeven
Tajm
Beautiful Weather
Power Widget
Ascend users checkout http://www.myascend.org for Ascend specific info and tutorials
Make sure to post screenshots if you load the theme!!!
METROPCS ASCEND USERS
Use this build.prop http://forum.xda-developers.com/showpost.php?p=10563819&postcount=239
Thanks BobZhome
UPDATE 1/21
If you are tired of the plain black gingerbread status bar make sure to give this status bar a try, styled by none other than Fodoom himself...
screenshot here http://forum.xda-developers.com/showpost.php?p=10797442&postcount=348
metamorph here http://www.filedropper.com/gingerbread35fodoom
UPDATE 2/3
I am no longer supporting this theme, I'm moving on to bigger and better. Happy themeing!!!!
Made a little progress using apk manager to decompile some of the xmls, got the date to show up white but still not the time and popup option menus(not sure what to call them). If anyone has any expertise, I could use the help....
Keep up the good work, I am looking fws to checking it out!
If you send me your framework-res.apk I can fix the code for the pop-up menu text.
Benny879 said:
If you send me your framework-res.apk I can fix the code for the pop-up menu text.
Click to expand...
Click to collapse
I'd really appreciate it... I've attached it in Metamorph form, if you don't mind, what xml is responsible for those properties?
joenathane said:
I'd really appreciate it... I've attached it in Metamorph form, if you don't mind, what xml is responsible for those properties?
Click to expand...
Click to collapse
For some reason ApkManager isnt allowing me to re-compile this framework. You can find the code changes you need here --> http://forum.xda-developers.com/showthread.php?t=864112&page=8
Post #77
Benny879 said:
For some reason ApkManager isnt allowing me to re-compile this framework. You can find the code changes you need here --> http://forum.xda-developers.com/showthread.php?t=864112&page=8
Post #77
Click to expand...
Click to collapse
Thanks, but problem is I don't have a "values" folder in my framework, much less an xml called "style" in any of the folders...
wait..
I'm an idiot... found it
It wasn't re-compiling the whole framework for me either, i had to to trick it to get it to re-compile the styles.xml by putting it in a different folder and renaming it... Flashed it to my phone.... and... no difference, pulled the framework back down and made sure the changes where present and they are... the Ascend doesn't seem to use those files at all... I'm pretty sure too because i accidentally deleted all the files in the values folder except the styles.xml and the phone works fine...
Thanks for your ideas Benny879, if you have any insight as to whats going on, I'd appreciate any help you could give, in the mean time i'm going to be pouring through these xml files, looking for any clues...
For anyone following the progress on this, the problem seems to be that this phone uses odex files instead of the more easily assessable jar or apks, so I'm looking into deodexing the necessary files... If anyone could offer assistance, I would appreciate it...
How would this theme be applied once its working?
Sent from my M860 using XDA App
xlarkascendingx said:
How would this theme be applied once its working?
Sent from my M860 using XDA App
Click to expand...
Click to collapse
Metamorph my good man, metamorph!
Will metamorph work with launcher pro?
Sent from my M860 using XDA App
xlarkascendingx said:
Will metamorph work with launcher pro?
Sent from my M860 using XDA App
Click to expand...
Click to collapse
The gingerbread metamorph theme I'm working on will change your lock screen sliders, your notification bar and slide down, your dialog confirmation buttons, market place tab button and a bunch of other misc graphics, your signal bars, battery, bluetooth, etc... The theme i'm working on doesn't touch the launcher. i personally use launcher pro, so this theme doesn't conflict with it, but if you want your launcher specifically to look like gingerbread's, you can find themes already made for launcher pro..
joenathane said:
For anyone following the progress on this, the problem seems to be that this phone uses odex files instead of the more easily assessable jar or apks, so I'm looking into deodexing the necessary files... If anyone could offer assistance, I would appreciate it...
Click to expand...
Click to collapse
Definately deodex your ROM first. It will make your life easier.
Sent from my Droid using Tapatalk
Benny879 said:
Definately deodex your ROM first. It will make your life easier.
Sent from my Droid using Tapatalk
Click to expand...
Click to collapse
Thanks for your feedback, sent you a PM...
Does this Rom include a custom kernel to up the Mhz past 600?
fame13 said:
Does this Rom include a custom kernel to up the Mhz past 600?
Click to expand...
Click to collapse
This is not a rom just a metamorph theme... One day we shall overclock, and that day we be a turning point for mankind, nothing will ever be the same after that day.
And how the hell do we deodex?
Sent from my M860 using XDA App
o duh lol mybad man but i will b usong the theme when complete!
Sent from my HUASCEND using Tapatalk
Ok noon question lol. What is a Gingerbread theme?
Sent from my Chill Huawei Ascend using XDA App

[APP] ROM OTA for Devs (v1 - Beta)

THIS IS STILL EXPERIMENTAL, I AM IN NEED OF SOME TESTERS.
See Post # 2 for Change log and Download links.
What is ROM OTA?
ROM OTA is a framework I am attempting to develop to allow ROM Devs to create a custom environment to download kernels, themes, fixes, updates, etc. to their ROMs.
Customizing ROM OTA
ROM OTA is made of 2 components, the client side application and server side xml. Each of these 2 components need to be configured.
Client Side App
Without any customization, ROM OTA the Main Menu of ROM OTA will contain generic links to various Captivate ROMS, Kernels, Modems, and GPS Fixes.
{
"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"
}
With some minor configuration, the Main Menu in ROM OTA can display different icons and links selected by the Dev. To customize the Main Menu in ROM OTA, you need to:
Edit a simple xml file (menu.xml) and place the xml and any custom icons in /sdcard/rom_ota (See ROM_OTA.zip for sample CWM Zip setup). The layout of the default menu.xml looks like:
Code:
<?xml version="1.0" encoding="utf-8"?>
<xmlmenu>
<menu count="4" name="Captivate Downloads" server="http://sgs.wilsongis.com/xml/" >
<field menu_item_name="Captivate ROMS" desc="Latest Captivate ROMs" xml="rom.xml" icon="N" icon_name=""/>
<field menu_item_name="Captivate Kernels" desc="Latest Captivate Kernels" xml="kernel.xml" icon="N" icon_name=""/>
<field menu_item_name="Captivate Modems" desc="Captivate Compatable Modems" xml="modems.xml" icon="N" icon_name=""/>
<field menu_item_name="Captivate GPS Fixes" desc="Captivate GPS Fixes" xml="gps.xml" icon="N" icon_name=""/>
</menu>
</xmlmenu>
The following lines need to be customized (Values to update in CAPS):
<menu count="# OF MENU ITEMS" name="Captivate Downloads" server="WEB URL OF SERVER SIDE XML" >
<field menu_item_name="MENU CAPTION" desc="MENU DESC, USED ON DOWNLOAD SCREEN" xml="SERVER-SIDE XML NAME" icon="USE ICON Y/N" icon_name="LEAVE BLANK FOR DEFAULT OR IMAGENAME.PNG TO USE"/>
Use "<field menu_item_name..." to add as many menu items as you want. Remember to place the edited menu.xml and custom icons (IMAGENAME.PNG, above) in /sdcard/rom_ota folder.
Server-Side XML
The layout for the Server-side xml looks like:
Code:
<?xml version="1.0" encoding="utf-8"?>
<rows>
<row>
<one>Captivate SGS Tools</one>
<two>wilsongis</two>
<three>Captivate_SGS_Tools.zip</three>
<four>http://sgs.wilsongis.com/rom_ota/Captivate_SGS_Tools.zip</four>
<five>http://forum.xda-developers.com/showthread.php?t=936727</five>
<image>http://forum.xda-developers.com/customavatars/avatar3014854_2.gif</image>
</row>
<row>
<one>FF Mods and Fixes</one>
<two>wilsongis</two>
<three>FF_Changer.zip</three>
<four>http://sgs.wilsongis.com/rom_ota/FF_Changer.zip</four>
<five>http://forum.xda-developers.com/showthread.php?t=968136</five>
<image>http://forum.xda-developers.com/customavatars/avatar1525116_4.gif</image>
</row>
</rows>
The following needs to be edited to customize the server-side xml (Values to update in CAPS):
<row>
<one>ITEM 1 TITLE</one>
<two>AUTHOR</two>
<three>ZIP FILE</three>
<four>ZIP URL</four>
<five>Changelog URL</five>
<image>URL TO CUSTOM ICON</image>
</row>
<row>
<one>ITEM 2 TITLE</one>
<two>AUTHOR</two>
<three>ZIP FILE</three>
<four>ZIP URL</four>
<five>Changelog URL</five>
<image>URL TO CUSTOM ICON</image>
</row>
</rows>
The text in CAPS need to be edited by the Dev and placed on a web server. Make note of the web address (See and edit WEB URL OF SERVER SIDE XML above). Basically, each item that you want in the Main Menu of the client side app requires it's own xml file.
I hope these instructions and the purpose of the app make sense. I look forward to your feedback.
Credits:
xtremekilla09
adamholden85
YOU USE THIS SOFTWARE AT YOUR OWN RISK, THE DEVELOPER OF THIS SOFTWARE IS NOT RESPONSIBLE FOR ANY DAMAGES CAUSED BY THIS APP.
Default ROM OTA APK
Sample CWM File Structure
Sample Server-Side XML
Change Log:
v1 - Beta
- Initial Release
This is gonna be huge.
I am just glad to have contributed. (Even if it was just a tiny bit)
Hopefully the devs are gonna use this like I have for FireFly.
Really makes it easier for the end-user
xtremekilla09 said:
This is gonna be huge.
I am just glad to have contributed. (Even if it was just a tiny bit)
Hopefully the devs are gonna use this like I have for FireFly.
Really makes it easier for the end-user
Click to expand...
Click to collapse
Crap I need to add credits. I appreciate all the help you gave me. I am hoping the app will work on any ROM regardless of the type of phone.
wilsongis said:
Crap I need to add credits. I appreciate all the help you gave me. I am hoping the app will work on any ROM regardless of the type of phone.
Click to expand...
Click to collapse
Credits not necessary. You did all the work.
The app should work regardless of phone type.
xtremekilla09 said:
Credits not necessary. You did all the work.
The app should work regardless of phone type.
Click to expand...
Click to collapse
You really did help.
I am hoping my instructions are clear but we will see. I think I am also going to start a separate thread for the Default app. Even without customization it should be totally usable.
Great work guys..
Black?
Anyway we could go to a black background with white text?
Also If we don't specify a icon can it just show text?
Awesome program easy to setup too! Thanks for your work on this!
Edit: I used a work around by making a transparent image.
ChanceM
Let me mess with the icons. I may also make the text and background dynamic.
ChanceM said:
Anyway we could go to a black background with white text?
Also If we don't specify a icon can it just show text?
Awesome program easy to setup too! Thanks for your work on this!
Edit: I used a work around by making a transparent image.
ChanceM
Click to expand...
Click to collapse
Sent from my SGH-I897 using XDA Premium App
Updated the default xml.
Sent from my SAMSUNG-SGH-I897 using XDA Premium App

[GUIDE]Theming your ROM on Phone(Editing framework-res.apk to change icons)

So friends, here is a quick and easy guide for changing the status bar icons of your s5830i(Actually any phone )
For those who don't know how to do it(for anyone actually :highfive
Theory
Android is the awesome platform which is easily configurable and is able of being edited very easily
The icons used in every app and Android framework are located as png images in apk of those respective apps in location:-
*.apk/res/drawable-mdpi (in our case, as our phone is mdpi)
So, we can change any icon of our status bar like battery, signal, (not clock[clock is to be configures in SystemUI.apk{will post how to change it shortly}]), etc by editing png's in framework-res.apk
Not even that, you can edit images of any app as I told you
There are several ways to decompile and compile apk in which we have made change
If we want full access of apk and want to change every thing like the xml's in it and smali content in jar files, then we would have to do it on computer by apktool or apkmanager
But, we are here to only change image, so we would not go in detail of apktool or apkmanager. For changing images, that can be very easily done even on the phone by an app NinjaMorph that is made for developers by our senior head and DEVELOPING LEGEND Stephen(Stericson)
But be careful as backing up the original file if you do something wrong
And as you all know any developer or even a newbie posting something interesting that you want to try WILL NOT BE RESPONSIBLE for your mobile blowing up, resting in peace, sleeping like a dead, behaving like a non-living BRICK, or anything whatsoever that may or may not happen to phone in this universe or any other universe known or unknown​
What to do if anything happened to my mobile
We have had a backup of your original file so we can restore it
But if while editing the system files like framework-res.apk
If you deleted some un-backed up apk's
Well you can always have backup of your ROM and that is why Koushik Datta has made clockworkmod Recovery
You can restore your ROM from there
Pre-Requisites
Patience
Mind
A GT-S5830i (A spare one if you brick your phone, just kidding)
Root access(to change the apk)
NinjaMorph(http://bit.ly/ninjamorph)
Root Explorer(Optional)(http://bit.ly/stericson)
GUIDE
So Let's Start
Download NinjaMorph. Install it and give it root access. It will prompt for starting checks. Click on start checks.
Now you would have three options, namely, New Project, Finish Project, Existing Project
Click on new project. Go to system/framework/ and click on framework-res.apk. It will start extracting files
Once it has extracted all the files, it will open to show you what is inside framework-res.apk.
Exit it and go to your file explorer.
Go to /sdcard/AndroidThemes/workspace/framework-resapk
This is what is inside apk. Go to res/drawable-mdpi folder
There you will see hundreds of icons of your menu, lockscreen, battery, signal, and everything
You can edit them and replace them as you want. But the name of the file you are replacing and size and dimension must be equal to the file you are replacing with(I recommend Googling and finding icons of battery, signal, and other things)[I have even used hdpi icons, there was no problem]
If you download a theme file which is to be flashed in recovery that is not for your phone, no problem, extract the zip and place its framework-res.apk in your sdcard and extract the apk with Ninjamorph. Replace your icons with its icons and TADA
After you have done replacing the icons and you are satisfied(I am never)
Go to NinjaMorph. Click on Fininsh Projects. Click on framework-resapk. It will recompile and ask to replace the original apk with modded one. Click OK
Then it will ask if you want to remove the completed project, Say No(As you would need it if something gets wrong)
Reboot your phone
Maximum chances are that your icons will be replaced. Rare cases have their status bar gone or no change, if so:-
Download(Buy) Root Explorer. Go to /sdcard/AndroidThemes/workspace,
There you will see framework-res.apk. Copy it and go to /system/framework
Mount as R/W
Paste the apk. If it asks that file already exists, overwrite it.
SET PERMISSIONS
Long click on framework-res.apk and click on permissions
You will see three columns
Read Write Execute
You have to set them in the following way
x means you have to tick it
blank means uncheck
Read Write Execute
.....x........x.................
.....x...........................
.....x...........................
Click OK
You will see it as rw-r--r--
Reboot
Do it over again if nothing happens
Enjoy
This way you can edit not only framework-res.apk but any apk
Treat
This section is different from the thread topic
I: Faking Up
Want to make your device show Jelly Bean in About Phone
Go to Root Explorer
Go to /system
Long click on build.prop
Click on Open in a Text Editor
Change the files as
ro.build.display.id=Jelly Bean
ro.build.version.release=4.1.4
Save Changes
Reboot
II: Easter Egg
You all must know that an image of GingerBread Zombie comes up when you repeatedly click on Android Version in Setting>About Phone
Wanna change it to look like Jelly Bean?
{
"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"
}
Extract framework-res.apk
Go to res/drawable-nodpi
You will see platlogo.jpg
Replace it with the file in attachment
Recompile
Reboot
Troubleshooting
Will find and update it
Tell me what problems are you having
How to make your status bar transparent
Quick Guide
Detailed one afterwards
Open SystemUI.apk/res/layout/status_bar.xml
Change android:background code from ff000000 to 7f000000 for 50% Transparency
For 100% code is 00000000
You forget about this http://www.java2s.com/Open-Source/A...ndroid/internal/app/PlatLogoActivity.java.htm
To change 'zombie art by Jack Larson' to yours text for example 'Android KING !!' to have a Fully changed Ginger Bread Easter Egg a'la Jelly Bean
How to:
-Decompile framework.jar
-Find PlatLogoActivity.xml in com/android/internal/app/
-Open with notepad++(Windows) or gedit(Linux)
-Find this line "Zombie art by Jack Larson"
-Change this text to yours
-Save and close file
-Recompile your framework.jar file
-Make an CWM package and install it
-Or replace it with Root Explorer or other app like MiFile and change permissions to 644(rw-r--r--) and restart your phone
-Enjoy
Ty 4 ur work but can u give me root explorer on media fire coz my own one from black mart is chinies n I really use it very hard
Sent from my GT-S5830i using xda premium
whisper_ said:
Ty 4 ur work but can u give me root explorer on media fire coz my own one from black mart is chinies n I really use it very hard
Sent from my GT-S5830i using xda premium
Click to expand...
Click to collapse
Try 4Shared, Don't Post Links.. Warez Not Allowed..
:laugh:
whisper_ said:
Ty 4 ur work but can u give me root explorer on media fire coz my own one from black mart is chinies n I really use it very hard
Sent from my GT-S5830i using xda premium
Click to expand...
Click to collapse
If you don't want to pay, get a free file explorer (Solid Explorer, FX File Explorer, ES File Explorer).
Boudz78 said:
Try 4Shared, Don't Post Links.. Warez Not Allowed..
:laugh:
Click to expand...
Click to collapse
I get it, you're lebanese, and we here pretty much never pay for any software. But warez discussion isn't allowed as well, so you broke the rules as well.
whisper_ said:
Ty 4 ur work but can u give me root explorer on media fire coz my own one from black mart is chinies n I really use it very hard
Sent from my GT-S5830i using xda premium
Click to expand...
Click to collapse
It is not allowed to post warez on xda forum
And I don't know why people don't Thank for useful posts but thank more on useless post
GermainZ said:
If you don't want to pay, get a free file explorer (Solid Explorer, FX File Explorer, ES File Explorer).
I get it, you're lebanese, and we here pretty much never pay for any software. But warez discussion isn't allowed as well, so you broke the rules as well.
Click to expand...
Click to collapse
Yeah lolllz
I ever want to know how to edit the icons...but i have two questions
1.-What is the name of the image that appears of background in the messages?..i want to changue the color of the messages that i send and received
2.-The room that i have installed has 6 toggles on screen and only want to appearss 5..what line of code i should to edit?
ErickBG said:
I ever want to know how to edit the icons...but i have two questions
1.-What is the name of the image that appears of background in the messages?..i want to changue the color of the messages that i send and received
2.-The room that i have installed has 6 toggles on screen and only want to appearss 5..what line of code i should to edit?
Click to expand...
Click to collapse
You should edit Mms.apk
I don't know as I never edited Mms.apk
For colour you should edit xml files
Which won't be accessed by this method
And the code you are asking for
You won't get the xml from this method
So you won't be able to edit it
I don't know why my thread was moved
Modifying ROM is in development section by XDA rules
iamareebjamal said:
I don't know why my thread was moved
Modifying ROM is in development section by XDA rules
Click to expand...
Click to collapse
Modifying - yes. Instructing how to modify - no.
Added
How to make your status bar transparent
I followed this guide for change the icons' color in lidroid's toggles. I descompile the lidroid-res.apk, replaced some png, then recompile. I made everything. But when I rebooted my fone, no change. This guide is to it? Help me, please.
Thanks....sorry my bad english.
Humberto.Ortega said:
I followed this guide for change the icons' color in lidroid's toggles. I descompile the lidroid-res.apk, replaced some png, then recompile. I made everything. But when I rebooted my fone, no change. This guide is to it? Help me, please.
Thanks....sorry my bad english.
Click to expand...
Click to collapse
Decompile systemui.apk and try to change icons there
And don't forget that icons should of same name as you are replacing
iamareebjamal said:
Decompile systemui.apk and try to change icons there
And don't forget that icons should of same name as you are replacing
Click to expand...
Click to collapse
But in the systemUI.apk don´t have the lidroid's icon. I only found them in lindroid-res.apk.
I tried change the color with ninjamorph, and it´s work. But if I replace an icon, it doesn´t work.
thanks
Edited: I was trying replace the png's with the ninjamorph. It was the problem.
Now I replaced the png's with root explorer and all work fine.
Thanks so much....sorry my bad english
iamareebjamal said:
Added
How to make your status bar transparent
Click to expand...
Click to collapse
where is guide on making status bar transperent ?
please provide the link
thanks in advance
Sent from my GT-S5830i using xda app-developers app
srt99 said:
where is guide on making status bar transperent ?
please provide the link
thanks in advance
Sent from my GT-S5830i using xda app-developers app
Click to expand...
Click to collapse
See 2nd post
Ok I am trying to edit my status bar to 50% transparent but when i open the file in root explorer all i get is a bunch of ?[]??????????? etc etc
Im running MincCr rom on a galaxy ace s5830i
PhaseCoder said:
Ok I am trying to edit my status bar to 50% transparent but when i open the file in root explorer all i get is a bunch of ?[]??????????? etc etc
Im running MincCr rom on a galaxy ace s5830i
Click to expand...
Click to collapse
You will not be able to do that until you read the first post CAREFULLLY

[Guide] MIUI Theme Editor user Guide in detail

This is a user guide for MIUI Latest Theme Editor Released on 2013.1.31
Some times you really like a theme but you don't like some parts of it then you can edit it very easily using MIUI theme editor or want to creat your own theme from scratch then this guide is for you.
For always upto date guide check this
Things you need
MIUI Theme Editor.
Working ADB Drivers on your PC.
Android Phone with MIUI on it.
Image Editor (GIMP,Photshop etc )
NinePatchEditor (Optional)
Aditional Material
V4_Templete
Setting up English Language.
Download the Theme Editor and Run it.
first time it may have the interface in chinese. So here is how to change it
Guide Screenshot 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"
}
Creating an New theme
Go to Fle > New Theme
and you will see the window below. In put the name of your theme and save it.
Guide Screenshot 2
Then you will see the following window. ( Description in screen shot )
Guide Screenshot 3
Buttons
All the buttons are self explanatory but i will add some description where needed
Save : This is to save the changes made to the projects.
Generate full MTZ : This is used to compress and make the mtz file of the theme project to be used in phone
Apply Recent Changes : For this and next option to work your phone must be connected to PC. this option apply the recent theme changes to your connected phone (Useful when testing a smal change).
Full apply: This option apply the Full theme to your Phone.
Reload: This option will discard unsaved changes and will load the theme from theme directory (added PNG's Will stay there, will be explained later)
Setting: Have only option to copress the font if you want.(Have'nt used it).
Differents Tabs and their Functions
Now Some information about diffrent Tabs and options on them.
Description Tab: Already explained in screen shot shown above.
Icons Tab: This tab is used to add icons to theme. When you click on the icon tab it have three further tabs, System icons, Default theme icons and Others. Before you proceed further Click on Sync button at the bottom of the icons. (Your phone must be connected in debug mode to the PC) This sync option will get all default icons from your phone including 3rd party apps. Now to change any Icons check below.
Guide Screenshot 4
on the default theme icons tab there are some default 3rd party icons avialable in theme editor and others tab have the icons repalcement option for apps installed in your phone. procedure is same for all three tabs
Note. you dont need to rename your icon, Progran will do it for you! just drop it to the proper place.
Thats it if you just want to creat new icon pack. Just click on create full MTZ button and copy the mtz file to your phone and import it to theme manager or just click complete apply to your theme. But if you want to theme your Apps and change text colors then read on
Modules tab: This tab is the most important tab for themeing MIUI.
Guide Screenshot 5
Creating New App Module
Here is how to create the App's theme module.
Guide Screenshot 6
As an example I have selected the Contacts module (only one module at a time). you will see screen shown below , if different then click "change edit mode" button.
Guide Screenshot 7
Now click on the first item in the folder view and follow the screen shot. again names of your png's doesnt matter. you have to go through all the view and find the red boxes, click on it and repalce the png's you want to change. If you want to keep the system default png just leave it blanck.
Guide Screenshot 8
For modifying PNG's you can use the V4_templete (link at top) png's as a refrence. you can edit them to your requirements and then use them.
Changing the text Color
To change the text colors of the module items, click on the "change edit mode" button while contacts module is stille open. see bellow.
Guide Screenshot 9
Guide Screenshot 10
Do the same procedure for all the Modules and PNG's and color's in it. Framework-miui-res and Framework-res are most important modules. Changes in Framework-miui-res effects all the MIUI applications, especially colors and Changes in Framework-res module can effect both MIUI apps and any other 3rd party app so be careful !!!! you might get white on white color problem.
Note: You dont need to recompile your 9.png's. just add contents and strech borders using the "NinePatchEditor" or sdk Draw9Tool. and thats it put it in the theme and compress the theme and it will do the rest.
Testing
Now its time to test your theme before release/share. You should test all the MIUI apps for proper theming as well as 3rd party apps for color problems. If you find any problem then just reopen or drag drop you theme directory on Theme Editor to reopen /edit your theme.
Credits:
Official MIUI Team for Theme Editor Tool and V4 Templete
NinePatchEditor Dont know the Auther (Will add when I know)
Questions and Suggestions are Welcome
Sooooo many thanks mate!!!!
Super!:good:
Glad you guys like it
hadron
Sent from my Xiaomi M2
MIUI V5 is going to be released tomorrow. I will update this for V5 the moment it get released the new Theme Editor
Just wonderful mate, exactly what I was looking for. Keep it going please!
Great job this looks amazing. Just installed, going to read up, and play. :good:
*bump*
Sent from my MI 2 using Tapatalk 2
thanks. i'm going to try it.
if it's not much to ask, can you upload a V5 template, only if it's exists.
otherwise no problem. thanks for the guide.
Is there a v5 template or will this one work for it?
awesome.. gonna try it.. im on my way to trying it ..
Raadius said:
Is there a v5 template or will this one work for it?
Click to expand...
Click to collapse
+1
Sent from my SGH-T889 using Xparent Skyblue Tapatalk 2
NVM, found the v5 theme editor.
Raadius said:
NVM, found the v5 theme editor.
Click to expand...
Click to collapse
could you post the link? thanks
picard666 said:
could you post the link? thanks
Click to expand...
Click to collapse
Here you go
http://en.miui.com/thread-2154-1-1.html
error:
Tiffany84 said:
Here you go
http://en.miui.com/thread-2154-1-1.html
Click to expand...
Click to collapse
when I try to run the miui theme editor.exe I get a message fromjava virtual machine launcher: Erroor: Unable to access jarfile_MIUIThemeEditor.jar Any ideas??? thanks in advance...
androidmechanic said:
when I try to run the miui theme editor.exe I get a message fromjava virtual machine launcher: Erroor: Unable to access jarfile_MIUIThemeEditor.jar Any ideas??? thanks in advance...
Click to expand...
Click to collapse
(EDIT)...nm I fingered it out...
sent from my galaxy note transformed into a nexus4
help
when i press sync show a message with ( you need click to install ) but after nothing happen don't loaded the icons of the phone in the MIUIThemeEditor
i only have to turn on debug mode or do something else?
cesar.villamizar said:
when i press sync show a message with ( you need click to install ) but after nothing happen don't loaded the icons of the phone in the MIUIThemeEditor
i only have to turn on debug mode or do something else?
Click to expand...
Click to collapse
+1
same thing happens
martinusbe said:
+1
same thing happens
Click to expand...
Click to collapse
Same here. Why is it doing this and how can it be fixed? Thanks in advance

[Theme/Guides/Mods] Various threads and posts- NO LONGER MAINTAINED.

I'm going to use this thread from now on to post any work, and link out to existing work so i don't take over the forum with new threads.
Index:
Post 2 -Themes/skins
Post 3 -Mods
Post 4 -Guides
Post 5 -Xposed
Rules:
A couple of simple rules to help me help you.
Use the search button/Google before posting, you'll probably get a quicker, more deatailed answer.
Please post in here and not in the existing threads I link to, leave them as a reference.
If you post bug reports, tell me how to duplicate the issue, and if possible post a screenshot.
When asking a question or for advice, it helps if you tell me exactly what you want to achieve, (where you are and where you want to go). Please post plenty of relevant information.
"I'm on Xperiment ROM 2.3, FW 4.1.2 and i would like to change my status bar to an image"
Click to expand...
Click to collapse
Thank you.
Themes and skins
Xtheme
• Simplicity:
Original post
• Simple theme add on's:
Original post
Xperia's
• Transparent semc overlay:
Original post
• Honami clock and on/off tools:
Original post
For Deodexed system's
• PhoneBook and SemcPhone dialer:
Original post
• SystemUI toggles:
Original post
• Codec Style LatinImeGoogle:
Original post
Xposed
• Battery themes:
Original post
•DTN (Data Traffic Notification) disabler:
Original post
Mods
•[Reg Edit] Right click ApkTool:
Original post
Guides
General
•Using XMLGenerator.jar + .bat script:
Original post
Basic theming:
•Includes how to use apkmanager, and .9.png guide:
Original post
THIS WAS CREATED FOR TOUCHWIZ DEVICES ON GB, BUT A LOT OF IT IS STILL RELEVANT.
PLEASE POST IN THIS THREAD!!.
Xposed
•Porting CM10/.1 themes to XTheme:
Original post
•Create your own Xposed battery theme Modules:
Original post
•Create your own Xposed battery theme Modules using UOT:
Original post
For Deodexed system's
•How to remove remove Xperia small apps and manger:
Original post
•How to change system background using UFT:
Original post
•How to invoke a status bar background image:
Original post
•How to add/edit extra Sony themes:
Original post
Xposed
Xposed Modules:
•Battery Replacement.
Original post
•DTN (Data Traffic Notification) disabler:
Original post
XThemeEngine:
Redirection xml's
•semc images in framework-res.apk.
Original post
•semc images in SemcGenericUxpRes.apk.
Original post
Here is a quick and simple way to change the system background for Sony based ROM's.
What you need:
5 minutes
A rooted device
7zip >>LINK<<
UFT.zip >>LINK<< THIS CONTAINS PRE-BUILT DIRECTORIES!
Backgrounds of your choice- 720x1280 maximum dimensions. Named "semc_bg_bright_tile"(light), and/or "semc_bg_tile"(dark).
Instructions:
Download and install 7zip
Download UFT.zip
Right click "UFT.zip" and select "7zip>Open archive"
In the new window navigate to "MORPH\system\framework\SemcGenericUxpRes.apk\res\drawable-xhdpi\". You will see an image named "REPLACE_THIS_IMAGE_720X1280_MAXIMUM.png", delete it!
Place your new background files in here by dragging and dropping. They must be called "semc_bg_bright_tile" and/or "semc_bg_tile".
Close the window and place on you sdcard for flashing
Note: Make sure signature verification is turned off!!
:good:
hey thanks it worked ! but i was also wanted to change the background for the phonedialer.apk, messaging app and the contacts.apk please help !
thanks
PAVNEET101 said:
hey thanks it worked ! but i was also wanted to change the background for the phonedialer.apk, messaging app and the contacts.apk please help !
thanks
Click to expand...
Click to collapse
:+1: when i transparency background in framework-res. Contacts, mess and phonedialer show black background. In Settings, it work
ReadReadz said:
:+1: when i transparency background in framework-res. Contacts, mess and phonedialer show black background. In Settings, it work
Click to expand...
Click to collapse
Is your default background black?
dully79 said:
Is your default background black?
Click to expand...
Click to collapse
Hey bro. I don't know where should I ask, How to change the background in settings to have the full black, not to change according to theme, to have just full black background?
djedjy said:
Hey bro. I don't know where should I ask, How to change the background in settings to have the full black, not to change according to theme, to have just full black background?
Click to expand...
Click to collapse
It depends what firmware your running.
dully79 said:
It depends what firmware your running.
Click to expand...
Click to collapse
I am using ICS 4.0.4 firmware with NXT moded FW.
Sent from my ST21i using xda premium
djedjy said:
I am using ICS 4.0.4 firmware with NXT moded FW.
Sent from my ST21i using xda premium
Click to expand...
Click to collapse
Sony, CM?
dully79 said:
Sony, CM?
Click to expand...
Click to collapse
Stock sony.
Sent from my ST21i using xda premium
djedjy said:
Stock sony.
Sent from my ST21i using xda premium
Click to expand...
Click to collapse
Read the OP
dully79 said:
Read the OP
Click to expand...
Click to collapse
But where I can find the two files, to be completely black like XZ.
Sent from my ST21i using xda premium
dully79 said:
Instructions:
Download and install 7zip
Download UFT.zip
Right click "UFT.zip" and select "7zip>Open archive"
In the new window navigate to "MORPH\system\framework\SemcGenericUxpRes.apk\res\drawable-xhdpi\". You will see an image named "REPLACE_THIS_IMAGE_720X1280_MAXIMUM.png", delete it!
Place your new background files in here by dragging and dropping. They must be called "semc_bg_bright_tile" and/or "semc_bg_tile".
Close the window and place on you sdcard for flashing
Note: Make sure signature verification is turned off!!
:good:
Click to expand...
Click to collapse
djedjy said:
But where I can find the two files, to be completely black like XZ.
Sent from my ST21i using xda premium
Click to expand...
Click to collapse
Read the OP!
dully79 said:
Read the OP!
Click to expand...
Click to collapse
I readed, but where can I find the two pngs that will make mz settings background completely black? Does it need to be 320x480 for MDPI?
Sent from my ST21i using xda premium
djedjy said:
I readed, but where can I find the two pngs that will make mz settings background completely black? Does it need to be 320x480 for MDPI?
Sent from my ST21i using xda premium
Click to expand...
Click to collapse
Obviously not as it tells you the location and names of the png's.
Of course im assuming your xperia tipo firmware is the same as the xperia T, if not then why are you posting here and not in your parent forum?
http://forum.xda-developers.com/forumdisplay.php?f=1982
You dont change 2 png's to change settings background, you change 1, the dark png as named in the OP.
And no you dont necessarily have to use whatever your screen resolution is, but it wont hurt. A lot of firmware that isnt riddled with Sony's messy overlay use "background_holo_dark" and "background_holo_light" at 512x512 pixels found in framework-res\res\drawable-nodpi to display the background
How to invoke a status bar background image.
The following was tried and tested on the SystemUI.apk from xperiment 2.3 JB but should work on others.
You do the following at your own risk.
What you need:
A basic understanding of apkmanager/apkmultitool.
Tools used:
apkmanager v5.0.2 for de/compilng.
UFT (universal flash tool) for pushing.
Image editor.
Draw9patch (sdk tools).
Step 1
decompile SystemUI.apk and open up "res/values/drawable.xml"
Step 2
Search for the line of code reads:
Code:
<item type="drawable" name="status_bar_background">[COLOR=Red]#ff000000[/COLOR]</item>
Then carry on with Step 3.
If it reads:
Code:
<item type="drawable" name="status_bar_background">[COLOR=Red]@drawable/***[/COLOR]</item>
move on to step 4
Step 3
We need to change:
Code:
<item type="drawable" name="status_bar_background">[COLOR=Red]#ff000000[/COLOR]</item>
To
Code:
<item type="drawable" name="status_bar_background">[COLOR=Red]@drawable/NAME_OF_.9.PNG_IN DRAWABLE_FOLDER[/COLOR]</item>
I used this:
Code:
<item type="drawable" name="status_bar_background">[COLOR=Red]@drawable/status_bar_bg[/COLOR]</item>
This will tell the system to display "status_bar_bg
Step 4
We need to add an image with the name of the drawable.
e.g.
Code:
<item type="drawable" name="status_bar_background">@drawable/status_bar_bg</item>
I would add a .9.png to res/drawable-xhdpi named status_bar_bg.9.png
The images MUST be a .9.png. I tried running standard png's and SystemUI stopped running.
Step 5
Delete "res/values/public.xml" and recompile.
When asked "is this a system apk?" choose yes.
When asked if you would like to "copy over" choose yes.
In the keep folder delete "resources.arsc" and continue.
If it compiled without errors you should have an apk named something like unsignedSystemUI.apk. rename it to SystemUI.apk and push it to your phone.
End result:
{
"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"
}
If you are unsure how to do any of the steps then use this tool:
http://tinyurl.com/cqvga
All the information is already available.

Categories

Resources