[Q] Change default values in settings for android rom - Android Q&A, Help & Troubleshooting

Hi Everyone!
I'm starting to make my own android roms and i was wondering if it was possible to change the default android settings you get when you flash a rom. For example, when you first boot, animations are already turned on and orientation is turned off (unchecked) by default.
I've got an .apk manager so i've had a feeble attempt at going through .xml files in the decompiled Settings.apk. "res/xml/sound_and_display_settings.xml" had the most potential but i couldn't see any "enable/disable" options.
Thanks to Everyone in advance. Any feedback is welcome, even if it's not the answer- it could still help!

Uuuuuuuuupppppppppppp?

Bump.
Bump.

bit of a delay with replying here but if you are still interested, you can use apk manager to unpack and decode the settings app, then go into the xml directory that appears (there will be quite a few but you just want the one called xml) and edit the xml files. Settings are there for you to tweak

Even i asked same question and no reply till now...
May be there are no devs left on xda or they ignore q/a section or ignore our questions because they don't know it or maybe they don't even read it as they think we are noob and they are god of Android development...
Damn..
Sent from my GT-S7500 using xda premium

If you are building from sources, then you can overlay these files :
Code:
packages/apps/Settings/res/values/strings.xml
frameworks/base/core/res/res/values/config.xml
These contains most default settings values afaik, hope it helps.
Good luck

How would I go about creating an overlay in the source please?

Little-Boy-Lost said:
How would I go about creating an overlay in the source please?
Click to expand...
Click to collapse
Here overlay means "change the values".
Here's an example, let's say you want to disable screen rotation by default.This is a sample from cm10's framework/base/core/res/res/values/config.xml :
Code:
<!-- If this is true, key chords can be used to take a screenshot on the device. -->
<bool name="config_enableScreenshotChord">true</bool>
<!-- If true, the screen can be rotated via the accelerometer in all 4
rotations as the default behavior. -->
<bool name="config_allowAllRotations">true</bool>
<!-- If true, the direction rotation is applied to get to an application's requested
orientation is reversed. Normally, the model is that landscape is
clockwise from portrait; thus on a portrait device an app requesting
landscape will cause a clockwise rotation, and on a landscape device an
app requesting portrait will cause a counter-clockwise rotation. Setting
true here reverses that logic. -->
<bool name="config_reverseDefaultRotation">false</bool>
<!-- The number of degrees to rotate the display when the keyboard is open.
A value of -1 means no change in orientation by default. -->
<integer name="config_lidOpenRotation">-1</integer>
So you're going to change this line's value to false :
Code:
<!-- If true, the screen can be rotated via the accelerometer in all 4
rotations as the default behavior. -->
<bool name="config_allowAllRotations">true</bool>
Like this :
Code:
<!-- If true, the screen can be rotated via the accelerometer in all 4
rotations as the default behavior. -->
<bool name="config_allowAllRotations">false</bool>
Then, when you will compile the sources, rotation will be enabled in all 4 ways by default in the resulting rom.

Thank
So I create framework/base/core/res/res/values/config.xml in the device overlay folder and it will change settings during build?
I tried altering some settings by modifying the original files and it didn't seem to have any effect. Maybe I needed the overlay version instead

Is the theme changer in there to so I can change the theme to the one I want in the rom..??
---------- Post added at 01:27 PM ---------- Previous post was at 01:22 PM ----------
Androguide.fr said:
Here overlay means "change the values".
Here's an example, let's say you want to disable screen rotation by default.This is a sample from cm10's framework/base/core/res/res/values/config.xml :
Code:
<!-- If this is true, key chords can be used to take a screenshot on the device. -->
<bool name="config_enableScreenshotChord">true</bool>
<!-- If true, the screen can be rotated via the accelerometer in all 4
rotations as the default behavior. -->
<bool name="config_allowAllRotations">true</bool>
<!-- If true, the direction rotation is applied to get to an application's requested
orientation is reversed. Normally, the model is that landscape is
clockwise from portrait; thus on a portrait device an app requesting
landscape will cause a clockwise rotation, and on a landscape device an
app requesting portrait will cause a counter-clockwise rotation. Setting
true here reverses that logic. -->
<bool name="config_reverseDefaultRotation">false</bool>
<!-- The number of degrees to rotate the display when the keyboard is open.
A value of -1 means no change in orientation by default. -->
<integer name="config_lidOpenRotation">-1</integer>
So you're going to change this line's value to false :
Code:
<!-- If true, the screen can be rotated via the accelerometer in all 4
rotations as the default behavior. -->
<bool name="config_allowAllRotations">true</bool>
Like this :
Code:
<!-- If true, the screen can be rotated via the accelerometer in all 4
rotations as the default behavior. -->
<bool name="config_allowAllRotations">false</bool>
Then, when you will compile the sources, rotation will be enabled in all 4 ways by default in the resulting rom.
Click to expand...
Click to collapse
When you unzip the apk file how do you zip it back up does it need a special app to do it with..?

What is the best editor to edit the xml file or any other file in the rom...how about Notepad++..?
Can someone please answer this ASAP..?

spannernick said:
What is the best editor to edit the xml file or any other file in the rom...how about Notepad++..?
Can someone please answer this ASAP..?
Click to expand...
Click to collapse
Note pad++ is the best
~~~~~~~~~~~~~~~~~~~~~
Samsung galaxy s2
Rom: Jedi knight 6
kernel: Jedi kernel 2
~~~~~~~~~~~~~~~~~~~~~
And you thought celebrities weren't smart! =P

spannernick said:
Is the theme changer in there to so I can change the theme to the one I want in the rom..??
When you unzip the apk file how do you zip it back up does it need a special app to do it with..?
Click to expand...
Click to collapse
You can edit the build.prop file and change the default theme chooser theme value it's one of the properties toward the bottom of the build.prop file. Make sure to copy the theme chooser theme apk you want to be default in the ROM's /system/app folder. You need to use an apk decompiler such as apktool to (http://code.google.com/p/android-apktool/) decompile the apk file, then after you make the changes you want to make recompile the apk using the same program you used to decompile the apk. If it's not a system app you will need to sign it with "Zip Signer" it works with apk files to (https://www.dropbox.com/s/mldk52ba1u1o6ty/zip signer.apk). If it is a system app I would recommend looking at this guide http://forum.xda-developers.com/showpost.php?p=24986373&postcount=9. Let me know if you still have questions .
Sent from my SCH-I535 using xda premium

shimp208 said:
You can edit the build.prop file and change the default theme chooser theme value it's one of the properties toward the bottom of the build.prop file. Make sure to copy the theme chooser theme apk you want to be default in the ROM's /system/app folder. You need to use an apk decompiler such as apktool to (http://code.google.com/p/android-apktool/) decompile the apk file, then after you make the changes you want to make recompile the apk using the same program you used to decompile the apk. If it's not a system app you will need to sign it with "Zip Signer" it works with apk files to (https://www.dropbox.com/s/mldk52ba1u1o6ty/zip signer.apk). If it is a system app I would recommend looking at this guide http://forum.xda-developers.com/showpost.php?p=24986373&postcount=9. Let me know if you still have questions .
Sent from my SCH-I535 using xda premium
Click to expand...
Click to collapse
I have looked in the build.prop file and I can't see anything about changing the theme,Do I need to add the line..?

spannernick said:
I have looked in the build.prop file and I can't see anything about changing the theme,Do I need to add the line..?
Click to expand...
Click to collapse
On older versions of Cyanogenmod there used to be these lines in the build.prop:
Code:
persist.sys.themeId=Cyanbread
persist.sys.themePackageName=com.tmobile.theme.Cyanbread
Where persist.sys.themeId is the name of the theme you want to set as default, and persist.sys.themePackageName is the package name of the theme you want to set as default. You could try adding those lines to the build.prop and see what happens, if that doesn't work you could always extract the image's from the theme chooser theme you want to use and then decompile the framework-res.apk and systemui.apk and replace the images in those two apk files with the ones from the theme chooser theme you want to use, then replace the modified framework-res.apk and systemui.apk files with the default framework-res.apk and systemui.apk files in the ROM. Now when the user uses your ROM for the first time they will see the modified theme you wanted rather then the previous default theme.

Can you copy the settings from your phone,after you changed them the way you want them(on cm10)..?

BUMP....???

spannernick said:
Can you copy the settings from your phone,after you changed them the way you want them(on cm10)..?
Click to expand...
Click to collapse
I have only done this on CM7 for CM10 you can try adding these lines on CM10 on CM7 here is what I changed in the build.prop:
From:
Code:
persist.sys.themeId=Cyanbread
persist.sys.themePackageName=com.tmobile.theme.Cyanbread
To:
Code:
persist.sys.themeId=Androidian
persist.sys.themePackageName=com.tmobile.theme.Androidian
Then I made sure that the Androidian.apk file was located in the system\app folder. This should work for CM10 as long as the lines "persist.sys.themeId=" and "persist.sys.themePackageName=" are added to the build.prop.

Related

[Q] On-The-Fly framework config

Question to all the devs out there...
inside of framework-res.apk there is the res/values/bools.xml file with has some true/false settings. Is there a known method of changing these settings from the OS post-boot, perhaps a command hook or API...
It's defined under http://www.androidjavadoc.com/2.3/com/android/internal/R.bool.html
Any thoughts?
aramova said:
Question to all the devs out there...
inside of framework-res.apk there is the res/values/bools.xml file with has some true/false settings. Is there a known method of changing these settings from the OS post-boot, perhaps a command hook or API...
It's defined under http://www.androidjavadoc.com/2.3/com/android/internal/R.bool.html
Any thoughts?
Click to expand...
Click to collapse
no changes on the fly can be made.

[ASK] change lidroid toogle to vertical

how to make Lidroid toggel vertical?
and
scrolling?
i just compare with 33D and i get but not vertical its still horizontal..
Thanks before :fingers-crossed:
up
Decompile systemui.apk with apk tool
Goto layout folder
Find the xml file that relates to what you want
Change the line of the orientation you want to change to vertical
Toggles xml file might be in framework-res.apk or nameofrom-res.apk
Do as above to find the right xml file in layout folder
Related to smali changes
Sent from my GT-I8150 using xda app-developers app
marcussmith2626 said:
Decompile systemui.apk with apk tool
Goto layout folder
Find the xml file that relates to what you want
Change the line of the orientation you want to change to vertical
Toggles xml file might be in framework-res.apk or nameofrom-res.apk
Do as above to find the right xml file in layout folder
Click to expand...
Click to collapse
this method not work, trust me
evanlocked said:
Related to smali changes
Sent from my GT-I8150 using xda app-developers app
Click to expand...
Click to collapse
yeah,...i found small code "HorizontalScrollView", nah this code maybe control scrolview vertical or horizontal in lidroid, i change HorizontalScrollView to VerticalScrollView, my statusbar gone

[Guide] [Mod] How to make any gingerbread or cm7/cm9 status bar transparent

How to make any gingerbread or cm7/cm9 status bar transparent
Check my signature for all my statusbars including pre-made stock cm7/cm9 and Aosp statusbars and guides​
There's three ways to make the statusbar bar Transparent and I'll post them all
One way works with any gingerbread rom (deodex & rooted) and one with cyanogen 7
I have not tried it on ics or jelly bean but you can try (for people who stumble across this thread who are not galaxy y users)
Please dont ask for support unless you are using a custom rom on galaxy y
Any other phones please goto your own phone forum for support
You also need a launcher that is capable of transparency
Adw works but you need to disable wallpaper hack in settings
holo launcher works
any other launcher if it doesn't work look in it's settings & try & disable wallpaper hack or manage internally
Method one for non cm (Stock Deodex Rom)
You need apk tool installed - if you don't know how to use it see my guide here
http://forum.xda-developers.com/showthread.php?t=2206938
Once you have decompiled SystemUI.apk using apk tool goto res/layout Open status_bar.xml in notepad
Find the following line
Code:
<com.android.systemui.statusbar.StatusBarView android:orientation="vertical" [COLOR="Red"]android:background="#ff000000"[/COLOR] android:focusable="true" android:descendantFocusability="afterDescendants"
Notice the part highlighted in red android:background is normally a hexadecimal value or it could be a drawable value
either way change the red part to the following
Code:
<com.android.systemui.statusbar.StatusBarView android:orientation="vertical" [COLOR="Red"]android:background="@drawable/nameofpng" [/COLOR]android:focusable="true" android:descendantFocusability="afterDescendants"
Notice that android:background is now a drawable value
Change nameofpng to the name of your transparent background image (just the name - do not include the file extension .png)
place this image with the same name as the drawable value in res/drawable-ldpi
(of course other devices might be in mdpi or hdpi)
Recompile and sign apk
Put in a flashable zip and flash with system mounted
You can download and use the pngs in the attachment (for ldpi like galaxy y) or create your own
To create a transparent status bar image just take a non Transparent one and edit it in a photo application to make it Transparent (make sure image dimensions stay the same and is for your phone resolution)
Method two for cm7
Note you will need apk tool installed and notepad++ installed
Download the patcher tool by Z25 in attachment
Unzip the contents to a folder
Place your SystemUI.apk and framework-res.apk in files_to_patch
Run patcher.bat
Select status bar tweaks and enable only transparent status bar
Edit the smali file as described in the text file that pops up
Select option build and sign
Select option to create zip files
You now have a zip file called patch.zip
unzip this and take out the SystemUI.apk - we will save this for later
Now we have to either make our own transparent theme or you can download a theme from the playstore for theme chooser that already contains status bar transparency
If you are downloading a theme from the playstore skip the part "To create your own theme" and go straight to the part "final steps"
To create your own theme
Goto uot kitchen http://uot.dakra.lt/kitchen
Take cyanbread.apk from the app folder of your cm7 rom & place on pc (or any other Theme Chooser Theme you wish to make transparent)
Rename it to what you want to call theme
Upload it to kitchen (under cm7 theme in file upload)
In status bar tweaks set background transparency to around 70% Transparent and any other settings you need like carrier or footer - don't forget to generate preview once done
Make sure you have selected ldpi in statusbar tweak settings and ldpi/mdpi for theme chooser preview in file upload (other devices may vary) and in file upload change update binary to galaxy
Then goto summary section
If everything is green create the theme
If not make sure you have clicked generate preview on status bar tweaks
Kitchen will then create theme for you
Download the zip file from kitchen and unzip it
Take out your theme apk
Final Steps
Sign both your theme apk and SystemUI.apk that you saved from earlier with a platform key using zipsigner (playstore)
Put both apks in a flashable zip and flash in cwm with system mounted
(note if you are using a theme from the playstore just do this for SystemUI.apk)
Once the phone has booted goto
ADWLauncher
System Preference
Disable Wallpaper Hack (untick the box)
Your status bar is now transparent
Method three for cm9
Once you have decompiled SystemUI.apk with apktool
Goto smali/com/android/systemui/statusbar/StatusBar.smali
Find the following line
Code:
invoke-direct/range {v11 .. v16}, Landroid/view/WindowManager$LayoutParams;-><init>(IIIII)V
Above this line change
Code:
const/16 v16, 0x4
To the following
Code:
const/16 v16, -0x3
Now in notepad++ open the following
res/values/drawables.xml
Find the following line
Code:
<item type="drawable" name="status_bar_background">#ff000000</item>
Change the hex value to the hex value of the colour/transparency you want
For example
Completely transparent:
Code:
<item type="drawable" name="status_bar_background">#00FFFFFF</item>
70% transparent
Code:
<item type="drawable" name="status_bar_background">#b3000000</item>
50% transparent:
Code:
<item type="drawable" name="status_bar_background">#7f000000</item>
Recompile
Sign with a platform key using zipsigner (playstore)
Put in a flashable zip and flash in cwm with system mounted
What is the name for the png to put in drawable-ldpi?
Re: [Guide] [Mod] How to make any gingerbread or cm7 status bar transparent
remo1995 said:
What is the name for the png to put in drawable-ldpi?
Click to expand...
Click to collapse
You can rename it to ur own like
Jst open statusbar.xml in layout folder and on 2nd line u will find an attribute android;background change the file u want to add next to drawable/xx folder and put that file in ur drawable ldpi folder
,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,
Reporting from incomplete blue theme
Status-paused
framework-working
remo1995 said:
What is the name for the png to put in drawable-ldpi?
Click to expand...
Click to collapse
Name it the name of the @drawable value
In my example it's nameofpng
Re: [Guide] [Mod] How to make any gingerbread or cm7 status bar transparent
Great guide :thumbup:
Sent from my GT-S5360 using xda app-developers app
Thank you, but when I go to recompile the file gives me error
remo1995 said:
Thank you, but when I go to recompile the file gives me error
Click to expand...
Click to collapse
what rom are you using?
decompile then recompile the apk without making any changes - if it compiles correctly you know you have edited the xml file wrong or not placed the corresponding png in the drawable folder
if it still gives errors without you making changes then either you are using apk tool wrong or the apk has other errors from the orig source
marcussmith2626 said:
what rom are you using?
decompile then recompile the apk without making any changes - if it compiles correctly you know you have edited the xml file wrong or not placed the corresponding png in the drawable folder
if it still gives errors without you making changes then either you are using apk tool wrong or the apk has other errors from the orig source
Click to expand...
Click to collapse
I use the cod rom and I'm trying to change the systemUI of marinalin85, the bar s3 style android 4.2.2
remo1995 said:
I use the cod rom and I'm trying to change the systemUI of marinalin85, the bar s3 style android 4.2.2
Click to expand...
Click to collapse
No reason why it shouldn't work - make sure you have loaded SystemUI.apk and framework-res.apk into apktool using the apktool if command
Make sure all your apk tool commands are correct I'll post a guide on it soon
marcussmith2626 said:
No reason why it shouldn't work - make sure you have loaded SystemUI.apk and framework-res.apk into apktool using the apktool if command
Make sure all your apk tool commands are correct I'll post a guide on it soon
Click to expand...
Click to collapse
to compile and decompile it does! the file does not work gives me forced closure! I made you those passages
Apk tool guide added see http://forum.xda-developers.com/showthread.php?t=2206938
remo1995 said:
to compile and decompile it does! the file does not work gives me forced closure! I made you those passages
Click to expand...
Click to collapse
Follow my apk tool guide I just posted - I can assure you if you follow all my guides correctly and Fully you will not get force closes - I have made many status bars using this method
Decompile my SystemUI.apk from my status bar thread so you can compare the line for the statusbar background in status_bar.xml with yours
If you get errors when you decompile the apk it means the apk was wrongly compiled to begin with and apk tool can't decompile it correctly - you will need to correct any errors that are in the original apk before you can recompile
how can i make launcher compatible with transparency like TW launcher?
Sent from my GT-S5360 using Tapatalk 2
iMaker said:
how can i make launcher compatible with transparency like TW launcher?
Sent from my GT-S5360 using Tapatalk 2
Click to expand...
Click to collapse
Some launchers do not support transparency
if it doesn't work and there is no option to disable wallpaper hack or manage internally in the launcher settings or something similar you will need to use a different launcher if you want transparency
even in go launcher it still wont have transparency
Sent from my GT-S5360 using Tapatalk 2
iMaker said:
even in go launcher it still wont have transparency
Sent from my GT-S5360 using Tapatalk 2
Click to expand...
Click to collapse
I don't think go launcher supports transparency
launchers that definitely do are
holo launcher
adw launcher (disable wallpaper hack in settings)
Added a zip of the full and semi transparent png images for people to use themselves with the guide
off topic question sir, how did you move the jellybean clock and date above toggle bar?
joelquerty said:
off topic question sir, how did you move the jellybean clock and date above toggle bar?
Click to expand...
Click to collapse
By placing <com.android.systemui.statusbar.policy.DigitalClock with the corresponding ids and smali files under the relative layout in status_bar_expanded.xml above the line for toggles
marcussmith2626 said:
By placing <com.android.systemui.statusbar.policy.DigitalClock with the corresponding ids and smali files under the relative layout in status_bar_expanded.xml above the line for toggles
Click to expand...
Click to collapse
can you plzz give me the link of tutorial. i searched in google and xda but i could'nt find it... thank you

[GUIDE] Enable more lock screen effects on G2 Mini

Searching for some stuff I found a nice guide made by @hoangnova about enabling all lock screen animations for G3. Using his method I managed to activate Ripple, Crystal and Particle effect on my G2 Mini (D620r), cause I saw in one .xml file that it could be possible.
First of all your phone has to be rooted to do this.
1. So get you LGLockScreenSettings.apk from system/app folder and decompile it (I prefer Android Multitool ).
2. Open res/values/arrays.xml with Notepad++
3. Find
Code:
<string-array name="effect_names">
...............
</string-array>
Replace it with
Code:
<string-array name="effect_names">
<item>@string/lockscreen_effect_particle</item>
<item>@string/lockscreen_effect_dewdrop</item>
<item>@string/lockscreen_effect_crystal</item>
<item>@string/lockscreen_effect_ripple</item>
<item>@string/lockscreen_effect_white_hole_alias</item>
</string-array>
4. Then find
Code:
<string-array name="effect_values">
....
</string-array>
and replace it with
Code:
<string-array name="effect_values">
<item>@string/effect_index_swipe_particle</item>
<item>@string/effect_index_swipe_dewdrop</item>
<item>@string/effect_index_swipe_crystal</item>
<item>@string/effect_index_swipe_ripple</item>
<item>@string/effect_index_swipe_white_hole</item>
</string-array>
5. Compile LGLockScreenSettings.apk and sign it.
6. Using some file manager that can manage system files replace stock LGLockScreenSettings.apk in system/app/ with the one you made
7. Give permission 644 to file - it looks like this
R W -
R - -
R - -
8. Reboot.
If you get some FCs you probably didn't change permissions to file, check it first and then if you still have problems clear data to Lock Screen Settings app.
I attached the file I edited (from V10g-EUR-XX for D620r), so if you're compatible you can try with this one.
Thank's to:
@hoangnova ([GUIDE] Enable all lockscreen effect on G3)
NOTE-IMPORTANT
Using Android Multitool you need to install both framework-res.apk and lge-res.apk to decompile and compile apps. Installing framework-res.apk only will give you problems compiling apps at the end resulting with no app compiled, plus I think that it doesn't decompile app in the right way without lge-res.apk installed.
Click to expand...
Click to collapse
However, I lost an option to change lockscreen wallpaper, so now I just use G2 Tweaks for Xposed to have these options.
nlooooo said:
However, I lost an option to change lockscreen wallpaper, so now I just use G2 Tweaks for Xposed to have these options.
Click to expand...
Click to collapse
Check in lockscreen settings if isnt there anymore, its way better to work with system files instead of xposed modules.
Enviado de meu LG-D625 usando Tapatalk

[Guide] Quick theme editing guide (24 May 20)

Since I'm no longer updating my themes (at least for now) and I've been asked a few times, I'll provide a quick guide to changing the accent colours.
https://forum.xda-developers.com/ma...ed-black-theme-accent-colour-options-t4051377
May do a full guide at some point in the future, but that would be quite long.
Huawei themes are just zip files but with ".hwt" file extension.
Apps I use:
*Note, you can use any similar apps that serve the same function, though I believe mixplorer is the best file manager especially for editing themes.
File Explorer (to edit the .hwt & .zip files).
https://play.google.com/store/apps/details?id=com.mixplorer.silver
*also note if you're using a different file manager you might have to add ".zip" to the theme.hwt e.g. theme.hwt.zip before you can open it, with mixplorer you don't.
Download:
iOmix-Temp.hwt
https://bit.ly/2M82lHT
Colour picker (to find the hex colour code of your choice).
https://play.google.com/store/apps/details?id=com.jahirfiquitiva.pals
Vector image editor (to create the .png files).
https://play.google.com/store/apps/details?id=com.shoebillsoftware.vectordraw
Download:
iOmix Theme Png Templates
https://bit.ly/2ZxJtdd
Includes .png & .svg use either as a template to create your own brightness & volume scrubbers these ideally should be the same accent colour that you use in the theme.xml
1. (Optional) Create a folder on your phone, call it whatever you want, I usually name it editing.
2. Copy the theme file (iOmix-Temp.hwt) to the folder.
3. Rename the theme file by adding ".zip" extension to the end "iOmix-Temp.hwt.zip"
*you can skip this if you're using mixplorer.
4. Open the zip and extract the following files to the editing folder:
com.android.contacts
com.android.systemui
framework-res-hwext
framework-res
5. Rename all files by adding ".zip" to the end
com.android.contacts.zip
com.android.systemui.zip
framework-res-hwext.zip
framework-res.zip
6. First we'll edit the theme.xml files in each of the files we extracted in step 5.
The process will be the same > replace 007DFE (this is a hex code without the #) with your own colour code (also without the #).
7. Editing theme.xml files
**Contacts.zip**
A. In the contacts zip open the theme.xml use the replace function to replace 007DFE with any other colour code *make sure [replace all] is selected.
B. Open framework-res-hwext folder > open theme.xml and repeat previous steps of replacing 007DFE with your preferred colour.
**Systemui.zip**
Edit the theme.xml in the following.
A. Main folder > theme.xml
B. Framework-res > theme.xml
C. Framework-res-hwext > theme.xml
**Framework-res-hwext.zip**
Edit the theme.xml in the following.
A. Main folder > theme.xml
B. Res > theme.xml
**Framework-res.zip**
Edit the theme.xml in the following.
A. Main folder > theme.xml
8. Replacing the main .png files.
**Contacts.zip**
A. Res > drawable-xxhdpi > fastscroll_label_phonebook_emui_null_icon.png (needs to be 152*152 pixels)
**Systemui.zip**
Edit the theme.xml in the following.
A. Framework-res-hwext > Res > drawable-xxhdpi > scrubber_control_normal_emui.png
(needs to be 98*98 pixels)
B. Res > drawable-xxhdpi > ic_seekbar_thumb.png
(needs to be 90*90 pixels)
**Framework-res-hwext.zip**
Edit the theme.xml in the following.
A. Res > drawable-xxhdpi > scrubber_control_normal_emui.png
(needs to be 98*98 pixels)
Finally you might want to rename the theme so you can find it in the Huawei theme manager app.
In the root of the theme zip there is a file called description.xml, open this file and change the title Theme title
Now remove the ".zip" from the files you renamed at the start:
com.android.contacts.zip
com.android.systemui.zip
framework-res-hwext.zip
framework-res.zip
Back to:
com.android.contacts
com.android.systemui
framework-res-hwext
framework-res
Copy the 4 files back into the theme.theme.hwt, If you used mixplorer then just copy the edited theme.theme.hwt back to your main themes folder
If you used a different file manager then remove the ".zip" extension from the theme.hwt then move to your main themes folder.
If you edited theme isn't showing in the Huawei themes manager, you might need to force stop it then reopen the app.
I hope this is clear enough.
Would be great if you share your edited theme here.
Let me know if there's any questions
***(This is a work in progress will be updated as time goes on)***
View attachment 5025795View attachment 5025797View attachment 5025801View attachment 5025803View attachment 5025805View attachment 5025807View attachment 5025809View attachment 5025811View attachment 5025813
Saved 1
Saved 2
Saved 3
Saved 4
Saved 5
How convert volumen bar to transparent?
Thx
Youtube_Ll0r3nt3 said:
How convert volumen bar to transparent?
Thx
Click to expand...
Click to collapse
The volume pop up has 3 sections, can you screen shot and annotate exactly what part you want to change.
Sent from my LYA-L09 using Tapatalk
kam333 said:
The volume pop up has 3 sections, can you screen shot and annotate exactly what part you want to change.
Sent from my LYA-L09 using Tapatalk
Click to expand...
Click to collapse
https://we.tl/t-6eYpgSaGFJ
Need transparent vol bar loeo to Ll0r3nt3
Youtube_Ll0r3nt3 said:
https://we.tl/t-6eYpgSaGFJ
Need transparent vol bar loeo to Ll0r3nt3
Click to expand...
Click to collapse
You didn't provide the info I asked for so I'll guess you're talking about the black part
Go to:
com.android.systemui>res>drawable-xxhdpi> volume_popup.9.png (edit this)
Sent from my LYA-L09 using Tapatalk
Instagram sharesheet color and black quick settings toggle and black notifications
Hi bro,
remember me? thank you so much for supporting us newbies on making emui themes.
Just wanted to ask where is the section to change instagram sharesheet background color and also where to change the quick setting tiles and make black notifications if i have a theme that is not yours.
Thanks in advance
---------- Post added at 04:06 PM ---------- Previous post was at 03:36 PM ----------
faisal.fmq said:
Hi bro,
remember me? thank you so much for supporting us newbies on making emui themes.
Just wanted to ask where is the section to change instagram sharesheet background color and also where to change the quick setting tiles and make black notifications if i have a theme that is not yours.
Thanks in advance
Click to expand...
Click to collapse
Also mixplorer is not saving the file after replacing the color code, its says not supported. How do you open the theme.xl file? code editor, text editor???
faisal.fmq said:
Hi bro,
remember me? thank you so much for supporting us newbies on making emui themes.
Just wanted to ask where is the section to change instagram sharesheet background color and also where to change the quick setting tiles and make black notifications if i have a theme that is not yours.
Thanks in advance
---------- Post added at 04:06 PM ---------- Previous post was at 03:36 PM ----------
Also mixplorer is not saving the file after replacing the color code, its says not supported. How do you open the theme.xl file? code editor, text editor???
Click to expand...
Click to collapse
Hi Faisal,
To change the share sheet colour:
framework-res > theme.xml >
<color name="GM2_grey_800">#ff161616</color> (change to preferred colour)
In mixplorer you can use the code or text editor (I prefer the code).
If your editing the theme.xml in framework-res (for example) you first need to extract it from the theme.hwt, then add .zip = framework-res.zip then edit the xml inside
As for the other theme you're best asking the theme creator of that, not all themers use the same structure and this thread is just a quick guide to changing the accent colour since a few people have asked.
Maybe I'll do a longer guide at some point in future but right now I don't want to spend too much time on this.
Sent from my LYA-L09 using Tapatalk
Thank u so much
kam333 said:
Hi Faisal,
To change the share sheet colour:
framework-res > theme.xml >
<color name="GM2_grey_800">#ff161616</color> (change to preferred colour)
In mixplorer you can use the code or text editor (I prefer the code).
If your editing the theme.xml in framework-res (for example) you first need to extract it from the theme.hwt, then add .zip = framework-res.zip then edit the xml inside
As for the other theme you're best asking the theme creator of that, not all themers use the same structure and this thread is just a quick guide to changing the accent colour since a few people have asked.
Maybe I'll do a longer guide at some point in future but right now I don't want to spend too much time on this.
Click to expand...
Click to collapse
kam333 said:
The volume pop up has 3 sections, can you screen shot and annotate exactly what part you want to change.
Sent from my LYA-L09 using Tapatalk
Click to expand...
Click to collapse
kam333 said:
You didn't provide the info I asked for so I'll guess you're talking about the black part
Go to:
com.android.systemui>res>drawable-xxhdpi> volume_popup.9.png (edit this)
Sent from my LYA-L09 using Tapatalk
Click to expand...
Click to collapse
There is no file to edit, can you check the topics that I send you?
Youtube_Ll0r3nt3 said:
There is no file to edit, can you check the topics that I send you?
Click to expand...
Click to collapse
https://forum.xda-developers.com/showthread.php?p=82700185
Sent from my LYA-L09 using Tapatalk
kam333 said:
Saved 1
Click to expand...
Click to collapse
Hello there.. Please can. U guide me. How do i know what part is called what in the theme. Xml file please. I cannot get it done and there is no guide for themeing emui settings app . God bless u brother

Categories

Resources