GameTurbo, VideoToolbox, Context Menu in Launcher and Special Features - Redmi 9C Themes, Apps, and Mods

Here are modules that enable most important missing features to all Garden devices except Cattail.
All this modules are created by me. My username on 4PDA is redmi9c
Security 6.0.2: (GameTurbo with Voice Changer, VideoToolbox, Sidebar, Power Slider for battery, Night Charge, Battery Health)
MiuiHome 4.26: (Full Context Menu with Split Screen and Floating Windows, Recommend option in Recents enabled for China ROM as well, and Max Grid increased to 6x8)
Settings: (Special Features section, option to set Split Screen on hotkey and Navigation Line)
Delete long name folder inside "\data\system\package_cache\", uninstall Security and MiuiHome updates, than install modules and reboot phone.
Settings module is only for Miui 12.
Needed Magisk to install them.
If you want pictures I can post them but you can also find them on 4PDA forums.

Great work
Now my phone's feels me quite refreshing but why I am seeing this

After flashing settings module settings have been renamed to extend wifi coverage
How I can fix it

Delete long name folder inside "\data\system\package_cache\", than reboot phone. There is only one folder there, it has very long name consisted from numbers and letters and you need to delete it. There is only cache in there. When you delete it, restart will take a bit longer than usual so don't panic and let it boot normally.

Thanks this is perfect and gives my phone features from the flagships

I don't know how to find this folder.. please help me.. can give some screenshots please?

Heshan Dilhara said:
View attachment 5621371
I don't know how to find this folder.. please help me.. can give some screenshots please?
Click to expand...
Click to collapse
you need a root file manager.

Hello, I have MIUI 12.0.18 and modul Settings unlocked blocks me Options for developers (moznosti pre vyvojarov). It is bad. Why does doing it?

silveronux said:
Hello, I have MIUI 12.0.18 and modul Settings unlocked blocks me Options for developers (moznosti pre vyvojarov). It is bad. Why does doing it?
Click to expand...
Click to collapse
That's because Xiaomi started updating Settings.apk. You can enable it yourself. Locate Settings.apk in "system/product/priv-app/Settings/Settings.apk". Copy it to somewhere else. Download MT Manager app, and find where you copied Settings.apk with MT Manager. Click on it, then click View. After that click on Classes.dex then "Dex Editor Plus", then on OK. From there to Search than "Start New Search" and in "Text Field" type from example "angelica" that is Redmi 9C. It will find 2 files. There just change your phone codename to something different like (angelica to xangelica) or something in both files. Than just go back and it will ask you to save it. From there just click on moded apk to see if Signature value is "Verified failed" in red, that means that it is OK. From there just copy moded APK to "/data/adb/modules/Settings/system/product/priv-app/Settings/" and replace Settings.apk. Then reboot phone, and if you see some glitches delete that long name folder inside "/data/system/package_cache" and reboot. If you don't want to mess with this you could just disable Magisk module, delete that folder inside "/data/system/package_cache" and reboot, than change settings in "Developer options", and enable module again and delete that folder inside "/data/system/package_cache" again. If you mess it and get bootloop just in TWRP go to file manager and navigate to "/data/adb/modules/" and delete Settings folder and reboot and module will be removed.

Related

[GUIDE]Changing System Icons + MISC MODS

All mods are at the bottom of this post.
Here is a simple way to change system icons on your application drawer. I was looking for a guide to do this but I couldn't find any so I gave it a try and it worked. So I decided to post the method here for like minded people who wanted to change the system icons in their app drawer and not only on the homescreen.
I will show an example of changing the contacts icon. To change the icons of some other app you just have to pull the relevant apk. I know this looks long and tiresome but bear with me and the results will amaze you. After a few times it becomes really easyYou have to be rooted to do this
A couple of things to note
a. You can change icons in framework-res.apk, SystemUI.apk or any other apk this way too.
b. Please note that the icons you replace should be of the same dimensions.
c. The specific icons name inside the drawable_hdpi might change. Sometimes its icon.png. Sometimes its ic_launcher_XYZ. Just use your head and replace the correct png.
d. The files are located either in system/app or data/app depending on whether its a system file or a data file. System files have to be pushed. Data files have to be installed.
Changing Icons works for all ROMS
1. Download android-sdk from here http://developer.android.com/sdk/index.html
2. Install all libraries.
3. Install jdk from here http://www.oracle.com/technetwork/java/javase/downloads/index.html
Make sure you download jdk and not just jre.
4. Download apk manager from here http://forum.xda-developers.com/showthread.php?t=695701
5. extract apk manager inside platform-tools inside android-sdk folder. Should be something like this
C:/Android-sdk/windows/platform-tools/("extract apk manager here")
-----------------------------------------------------------------------------------------------------------------------------------
6. Open cmd
7. Navigate to the platform-tools folder. (Simple DOS commands)
8. Do "adb pull /system/app/HtcContacts.apk" (-Do this without the quotes. If you want to change the icon for, lets say the camera, then instead of HtcContacts.apk, type HTCCamera.apk. To see all the system files just navigate to system/app on your phone using es file explorer or root explorer or any other file explorer you fancy. You can see all the system apks and you can pull anyone you want)
9. Ok so now the HtcContacts.apk should be in the platform-tools folder. Paste it into the folder "place apk here for modding".
10. Start script.bat (apk manager) from the platform-tools folder.
11. Choose option 22 to select a project
12. Choose the number of the project. In this case it would be 1.
13. Choose one again on the next screen. This will extract the apk to the projects folder.
14. Now get to the folder res/drawable-hdpi/ on your windows explorer.
15. Replace people.png with the icon of your choice. Please remember that your new icon has to be of 72x72 dimension and should have the same name. You can also replace other pngs like dialer and stuff.
(Next step is only for system files)
-------------------------------------------------------------------------------------------------------------------------------------
16. Select option 3 on the apk manager cmd
17. Now select 8. This is a system apk and so we have to retain the system signature.
18. Enter the full path of the file ( system/app/HtcContacts.apk)
Follow these steps for data files
-------------------------------------------------------------------------------------------------------------------------------------
19. Select 7.
20. Wait for install.
Here are my mods. Please note that I have not made these icons and tweaks. I have just put them all together in one place. If you want to give any credit then please follow the developers.
These are designed for sense based Roms. Please DO NOT try with any other rom. Just download and push to system/framework/framework-res.apk. Please note : This is for the older sense (sense 2.0) Do not try with newer sense.
To get transparency you have to use this file -- Transparency Hack -- through metamorph. I will make this into a flashable zip once I understand how to do that.
App icons are from Tenuis theme - Images
My framework-res
Screenshot - http://img600.imageshack.us/img600/9167/snap20110125163003.png
Download
System Icons Zip
http://dl.dropbox.com/u/18171691/Mms.apk
Hello,i just use Bettercut.apk available from market .
Marcdu81 said:
Hello,i just use Bettercut.apk available from market .
Click to expand...
Click to collapse
Hi I dont use bettercut but does it let you change the system icons in the app drawer. you know the drawer that comes up when you press the menu on the launcher???
Edit: OK i just tried bettercut. Using this you cannot change system icons in the app drawer. You are only changing icons on the homescreen, basically shortcuts. You could do that with launcherpro, desktop visualizer and 10 other apps.
CREDITS
CREDITS
MultiCulti for giving me the idea to get the services.jar for transparency
Icons from MIUI framework
Icons from Gingerbread aosp ROM
sopL87 for his guide
he_stheone64 for his awesome transparency hack
Ps. tell me if I have forgotten to credit anyone and I will add your name here. Thanks to all of the above for inspiring and helping.
Good work
Check this out too:
http://forum.xda-developers.com/showthread.php?p=10157000
Simple Java app to edit .apk files with a nice GUI
You're Just Awesome THNX man !
Nice guide
Ninjamorph lets you edit and change out images within apk files right on your phone. Its a free app on the market.
Still a very nice guide though!
thanks .. i was just looking to put up something which you could use to edit any apk on your phone .. the thing with ninjamorph is that it wasn't working for me. And plus I prefer to do it this way. Gives me more area.
EDIT: Anyone wants to see an MIUI framework on your sense?? I am thinking about getting the exact MIUI framework over to our sense based ROMs. As you can see in my framework I have already copied some of the elements. I am thinking about getting the power toggles and removing the current apps from the notification pulldown.
hi could u help me to change the battery icon plzzzz
i know about kitchen. any thing else i have some pic of a battery icon but dont know how to make one..... htc desire hd rom runny 3.37
Can't extract file
I tried to put option 22 where project start. Then I enter the project name as 1 and following another option 1 to extract files. However, the CMD just close by itself and I opened the project file and still empty inside. Please help!!

Disable Xposed Lollipop 5.1

I am having problems with some evidence of modules and the phone will not start. What we need is that the corresponding zip climb to disable Xposed from recovery since the beta 2 version lollipop Disable-xposed-recovery.zip not create the file. Of course I appreciate any help.
Desde mi Super Note N7000
When I had problems with xposed, I just reboot phone, just after the boot logo appears, I press power button several times until at every power key press the device vibrates slightly. After 3 or 4 vibrations, I only wait for the device to boot normally or sometimes I made it power off and power it on.
Radamantys-N7000 said:
I am having problems with some evidence of modules and the phone will not start. What we need is that the corresponding zip climb to disable Xposed from recovery since the beta 2 version lollipop Disable-xposed-recovery.zip not create the file. Of course I appreciate any help.
Desde mi Super Note N7000
Click to expand...
Click to collapse
franzpimp87 said:
When I had problems with xposed, I just reboot phone, just after the boot logo appears, I press power button several times until at every power key press the device vibrates slightly. After 3 or 4 vibrations, I only wait for the device to boot normally or sometimes I made it power off and power it on.
Click to expand...
Click to collapse
You can also use your Recovery's file manager. Goto /data/data/de.robv.android.xposed.installer and create a new file called "disabled" (without quotes and no extension).
If you cant create a new file, try copying the modules.list file and then paste it somewhere, rename it "disabled" (without quotes) and put back into that folder.
Then your phone will boot up w/ xposed disabled and you can then uncheck the module that isn't compatible, and delete the "disabled" file you created.
(this looks complicated but its actually very simple)
Hope that helps
USHERROB said:
You can also use your Recovery's file manager. Goto /data/data/de.robv.android.xposed.installer and create a new file called "disabled" (without quotes and no extension).
If you cant create a new file, try copying the modules.list file and then paste it somewhere, rename it "disabled" (without quotes) and put back into that folder.
Then your phone will boot up w/ xposed disabled and you can then uncheck the module that isn't compatible, and delete the "disabled" file you created.
(this looks complicated but its actually very simple)
Hope that helps
Click to expand...
Click to collapse
What is being proposed to modify or create a file, it is impossible to do it from recovery since we have a file manager with which to work, so the idea is to have a flashable zip to disable or delete Xposed modules. From already thank you very much for the input!
Desde mi Super Note N7000
It's actually far from impossible. You can simply boot into TWRP, then 'adb shell' from your computer. From there, simply 'touch /data/data/de.robv.android.xposed.installer/disabled'. Then you can reboot.
USHERROB said:
You can also use your Recovery's file manager. Goto /data/data/de.robv.android.xposed.installer and create a new file called "disabled" (without quotes and no extension).
If you cant create a new file, try copying the modules.list file and then paste it somewhere, rename it "disabled" (without quotes) and put back into that folder.
Then your phone will boot up w/ xposed disabled and you can then uncheck the module that isn't compatible, and delete the "disabled" file you created.
(this looks complicated but its actually very simple)
Hope that helps
Click to expand...
Click to collapse
Radamantys-N7000 said:
What is being proposed to modify or create a file, it is impossible to do it from recovery since we have a file manager with which to work, so the idea is to have a flashable zip to disable or delete Xposed modules. From already thank you very much for the input!
Desde mi Super Note N7000
Click to expand...
Click to collapse
If you get a zip of aroma file manager you can use recovery to flash that, you can use it to manage files on your device. It has a terminal built-in too, and a much nicer keyboard IMO.
syndre said:
If you get a zip of aroma file manager you can use recovery to flash that, you can use it to manage files on your device. It has a terminal built-in too, and a much nicer keyboard IMO.
Click to expand...
Click to collapse
Yea thats exactly what i used. I probably shouldve mentioned that, i kinda just assumed. Oops! lol. But yes you are correct Download the latest aromafm zip and place in correct directory, then change settings in twrp to use aroma file manager.
EDIT: Latest that worked for me was v2.00 b6
https://github.com/amarullz/AROMA-Filemanager/releases/tag/2.00
Xposed Alpha 3/ disable-xposed.zip not generate the file in the proper place, that file you're talking about when they say they use Aroma? Thanks
Desde mi Super Note N7000
USHERROB said:
You can also use your Recovery's file manager. Goto /data/data/de.robv.android.xposed.installer and create a new file called "disabled" (without quotes and no extension).
If you cant create a new file, try copying the modules.list file and then paste it somewhere, rename it "disabled" (without quotes) and put back into that folder.
Then your phone will boot up w/ xposed disabled and you can then uncheck the module that isn't compatible, and delete the "disabled" file you created.
(this looks complicated but its actually very simple)
Hope that helps
Click to expand...
Click to collapse
Can i just create a file "disabled" and place it somewhere else while my phone is working fine and copy it to the xposed directory when I want to disable xposed? Does this really work?
Edit : Creating this file does not disable xposed.
motorolag said:
Can i just create a file "disabled" and place it somewhere else while my phone is working fine and copy it to the xposed directory when I want to disable xposed? Does this really work?
Edit : Creating this file does not disable xposed.
Click to expand...
Click to collapse
it should work, but you have to set the correct permissions after copying to xposed data directory
Problem installing xposed
Please refer to attachment i need help.
Mine is Z1 deodexed 5.1
firdyRAY said:
Please refer to attachment i need help.
Mine is Z1 deodexed 5.1
Click to expand...
Click to collapse
Xposed doesn't work on 5.1 yet unfortunately

[TUTORIAL]Icon Pack for Pixel Launcher

Hey everybody!
Today I'm gonna share something interesting I learned modding the Pixel Launcher Icons which is preloaded on the Pixel devices and has a few rounded icons applied to the Pixel Launcher.
For long the only solution for applying custom icons to a stock launcher, usually Google Launchers was Xposed. But all of that is over with the Pixel Launcher. See the launcher, when it sets up its SQLite databases, looks for icons that the OEM, in this case Google, wants to override. How does it do that? Well, Pixel Launcher Icons has a list of apps and drawables or icons assigned to them, and it sort of lets Pixel Launcher use them as icons for the apps. We're gonna do some modding and change it up a little. What you're gonna need is simple:
REQUIREMENTS:
1- A valid version of the Pixel Launcher Icons(com.google.android.nexusicons), since it supports android 7.1(API 25) only, but some devs managed to port it for android 5.0+, so please google that first
2- APKTOOL and its requirements
3- A set of icons, or in this case an icon pack which contains icons for all of your apps(There are a bunch of those online, doesn't matter which launcher or system it is for)
Now this can be done two ways, I'm gonna show you the best one, but a tricky one first, and then I'll post the second tutorial which is easier to do, but a bit unstable:
Tutorial 1:
First what you're gonna do is decompile the Pixel Launcher Icons apk you downloaded
Code:
apktool d PixelLauncherIcons.apk
Then navigate to PixelLauncherIcons folder which was generated afterwards and go to res
Delete all the mipmap-**** folders except for mipmap-xxxhdpi-v4 and then rename it to mipmap-nodpi, this essentially makes it way easier for you to add icons.
Then open the icon pack you downloaded with 7-Zip or any other archive viewer and go to res and find the directory with the largest size, which obviously is the only with the icons. Extract that directory and find the suitable icons you want for your apps and rename them to ic_*appname* , like ic_adm, or ic_facebook
The name of the icon file can be anything you want it to be, but it's neater to rename them this way. Then just copy the icons you found and renamed to mipmap-nodpi.
Then comes the tricky part.
You want to go to res/xml/ and open icons.xml
Then you see just a few lines of xml tags. Each tag represents an app which is shown by it's package name and launch-able activity name and it's drawable icon which is the same as the icon files.
You just have to write each line exactly like it is written for the rest of the apps and just replace the package name and drawable with the suitable ones. Like here's how I gave Greenify and IMDB each a good round icon:
Code:
<item component="com.oasisfeng.greenify/com.oasisfeng.greenify.GreenifyActivity" drawable="@mipmap/ic_greenify" />
<item component="com.imdb.mobile/com.imdb.mobile.HomeActivity" drawable="@mipmap/ic_imdb" />
The Package name is easy to figure out, just google them and if they're on play store, open up their play store page on your pc and you can see the Package Name in the url, or you could use quickshortcutmaker or MyAppSharer and some other Backup apps. The tricky part is finding the LAUNCHABLE activity name or the main activity from the package name. Like whichever way you go you can find out in seconds that IMDB's package name is com.imdb.mobile, but how do you figure out what imdb's Main activity name is? Use this command with ADB:
Code:
adb shell "cmd package resolve-activity --brief packagename | tail -n 1"
For example:
Code:
adb shell "cmd package resolve-activity --brief com.imdb.mobile | tail -n 1"
and it will show you:
Code:
.HomeActivity
which if like in this case, it types a dot first, and doesn't start with the package name, you should add the package name before the dot yourself and then place it in the zip.
After you do this, and I know, it can be really hard especially if you have a lot of apps installed and they're all "out of shape" , but if you want a kick-ass icon pack for your phone, or maybe even custom rom, this is the way.
After adding those stuff and saving icons.xml, you need to recompile
Code:
apktool b PixelLauncheIcons
BUT sign it yourself, and not with its original signature. So go ahead and google on how to manually sign an APK after recomipling it with APKTOOL.
Then just push it to /system/app/PixelLauncherIcons/PixelLauncherIcons.apk and set the correct permissions if you do it manually.
Reboot and then go to Settings and clear the app data for Pixel Launcher, and ENJOY!
NOTE that apps that target android 7.1 or higher meaning they are compiled with API 25 or more, if they're not round, they will never be, which means that in order to change them, you need to modify the pixel launcher. Check this article for more details:
https://sirhydarnes.com/projects/10-my-version-of-the-pixel-launcher
Screenshots are attached below.
Tutorial 2:
The first tutorial works for almost every app, but in my experience, it doesn't apply the new icons to some apps, like VNC Viewer, Google Allo, Snapseed, etc. That is because the Launcher fails to load those icons, but no matter how hard I tried, it always fails. So the key here is to change them in another way which requires ROOT and access to /data.
So first, go to the following path
Code:
/data/data/com.google.android.apps.nexuslauncher/databases/
and pull the file "app_icons.db"
copy it to your PC and install the application "DB Browser for SQLite"
Open DB Browser and use it to open app_icons.db and browse the table "icons".
There you can not only change the app icons, but the app names as well!!
First things first, sort the table by app name(label).
Then for each app that you need the icon changed, just click on its row, and then icon cell(value is BLOB) and on the right side, you can import a new icon(click apply each time you import).
And then just Write Changes to the file.
After that, copy the app_icon.db to your device(if it fails, use adb push) and then replace it with the one in
Code:
/data/data/com.google.android.apps.nexuslauncher/databases/
and set the permissions to rw-rw---- and go to settings, apps and force stop Pixel Launcher. Then just tap home and enjoy!
Edit- Procedure 2 Works fine. Thanks!!!!
Edit 3: ScreenShots Attached!! Perfect. You completed my last remaining wish :highfive::good::victory:
d3xt3r said:
Edit- Procedure 2 Works fine. Thanks!!!!
Edit 3: ScreenShots Attached!! Perfect. You completed my last remaining wish :highfive::good::victory:
Click to expand...
Click to collapse
Please post moaded apk file
Tutorial 2 Not Work for me
Hello, I've followed tutorial 2 steps but it still not working. I extract the file back and check by extracting the icon shows I changed it. But in launcher the icon remain same. Please help me.
I like the Pixel launcher (I have AmirZ's version running on my LG G6), but I would like icons a bit more unique, given the bigger than normal size of the icons.
Hi everyone one I found "com.google.android.nexusicons"
In data/data
But when I open the folder I can find "com.google.andeoid.nexusicons/databases", all what I found is two empty folders : "cache", "code_cache".
Can anyone one help please, and thanks for help!
mikesherry said:
same issue, please assist
Click to expand...
Click to collapse
I found a solution : the right path dude (hopefully) is "/data/data/com.google.android.apps.nexuslauncher"
@op any chance of updating your version of the Pixel Launcher and Round Icons to the newest version from 8.0 Oreo??
Using a moto z play for a while after my 6p battery poop. Looking up mods/Roms for my Pixel XL received as replacement returns a lot of posts about how dev isn't what it once was... This OP has thirty something likes??? The f()ck man. THATs the problem with Dev nowadays. Suppose I'm spoiled having the Dinc as my first Android...
About method 1 why not making an XML each user could download, edit adding its own and so on?
Sent from my OnePlus One using XDA Labs
SirHydarnes said:
and pull the file "app_icons.db"
copy it to your PC and install the application "DB Browser for SQLite"
Open DB Browser and use it to open app_icons.db and browse the table "icons".
There you can not only change the app icons, but the app names as well!!
First things first, sort the table by app name(label).
Then for each app that you need the icon changed, just click on its row, and then icon cell(value is BLOB) and on the right side, you can import a new icon(click apply each time you import).
Click to expand...
Click to collapse
Now you can edit icons using this new SQLite database editor directly from your phone. Just use SqlitePrime. It supports blob data up to 1 MB. You can view, delete, import and export icons.
vovasoft said:
Now you can edit icons using this new SQLite database editor directly from your phone. Just use SqlitePrime. It supports blob data up to 1 MB. You can view, delete, import and export icons.
Click to expand...
Click to collapse
To insert the new icon for the blob, would you click on the three dots and choose insert new blob?
There seems to be no option to import image like the attached picture in the OP.
Thanks
djide said:
To insert the new icon for the blob, would you click on the three dots and choose insert new blob?
There seems to be no option to import image like the attached picture in the OP.
Click to expand...
Click to collapse
Exactly, You click on the three dots and choose insert new blob. Then you select your icon.
The insert new blob option is generic, you can use it to insert any file. I didn't want to create a menu for every existing file type.
Let me know if it works for icons. I didn't have the chance to try it yet.
Tutoerial 2 Works but with flaws
Thanks for guide, Tutorial 2 is working fine on Xiaomi phones running miui 9 stable, but the problem which i faced was first setting permission to rw-rw---- dosen't change the icons, infact rw-rw-rw dose the trick. so anyone interseted can follow this trick.
The problem is once the app is updated it reverts to original icon. so i will go ahead with tutorial 1.
Anubandh said:
setting permission to rw-rw---- dosen't change the icons, infact rw-rw-rw dose the trick. so anyone interseted can follow this trick.
Click to expand...
Click to collapse
100% confirm this.
setting permissions to 666 [rw-rw-rw] does the trick.
own an OP2 with latest Pixel Experience 8.1 based.
(tutorial 1). I think it doesn't work for Pixel 2 launcher (8.1)
although, it's installed well but icon not changing!
is there a way to get it work on pixel 2 launcher??
xehed said:
(tutorial 1). I think it doesn't work for Pixel 2 launcher (8.1)
although, it's installed well but icon not changing!
is there a way to get it work on pixel 2 launcher??
Click to expand...
Click to collapse
Same here,Going to try on old pixel launcher.
Edit:
I tried with com.google.android.apps.nexuslauncher_7.1.1-3624681-150_minAPI21(nodpi).apk & com.google.android.apps.nexuslauncher_7.1.1-3862848-151_minAPI21(nodpi).apk and it partially worked. Just 2 icon changed i both cases (camera & inbox).

Building Your Own LG Themes

Introduction
This is going to be a long post! A few weeks ago I started thinking about making my own themes for my LG G5. I had installed some custom roms previously and used substratum a bit but I have always ended up going back to xpirt's Fulmics rom, which doesn't allow this. I started to think how I could do this and have today got to the first stage of being able to change the colours of my phone to precisely what I want, not only for the settings but in some of the stock apps. I thought I would share this with the community and provide some step by step instructions so you can try it yourself. This should work on LG G6, V10, V20 & V30 if you use an app made for these phones but I have no way of testing this so don't hold me to it. This has taken me about 5 full days to work this out and there is still more that I need to do.
I am not in anyway a developer or coder and have very little knowledge of Java so if anything goes wrong here it is likely that I will not be able to help you. I absolutely am a noob at this and do this only for a hobby, using just my common sense and our friend Google to overcome the problems I have come across. Saying that, I will try to offer assistance if I can.
I managed to make my theme from reverse engineering a free LG theme app that was readily available. If you do this method though please consider getting approval from the app developer first. There is a template on here posted by Raafat here. While this was helpful it was only basic and I could not work out exactly what to do. Reverse engineering an app was much easier. Here is how I did it with step by step instructions:
******DISCLAIMER******
I am in not responsible for what you do to your phone. If you decide to try and theme your phone make a backup first or be prepared to do a full reset if anything goes wrong. You do this at your own risk.
1. Programmes
The programmes/software needed for theming are:
• Notepad++
• Apktool
• Android Studio (I used version 2.3 as I was getting an error on re-signing with 3.0)
2. Installing Frameworks Using Apktool:
• Firstly, delete the files in your local temp directory. To do this open ‘Search’ and type in %temp% and delete all files in this folder. You may not be able to delete some of the files. This does not matter
• Next, extract the framework files from your rom/custom rom. For Fulmics 5.5 this was:
Frameworks-res.apk
lge-res.apk
• At a guess I would say that any rom will have these files named exactly as they are above, but I am not sure if these have been altered by xpirt for his rom so you may not be able to use them across other roms.
• Open a command prompt and navigate to the folder where the framework files are kept. This is easiest in a folder called C:/apktool so create a folder in your C:/ drive and place them there. You can of course name the folder or locate it where you want though.
• Use apktool to install the frameworks using this command in the command prompt in C:\apktool
apktool if framework-res.apk
apktool if lge-res.apk
• Once this is done you should find the following files Installed here: C:\Users\[your username]\AppData\Local\apktool\Framework
1.apk
2.apk
• If, like me, you get an error with apktool that says it cannot write to C:\Users\[your username]\AppData\Local\apktool\Framework and instead has placed them in the temp folder then go into the Local folder using the pathway above and create a folder called 'apktool' and then a subfolder called 'framework'. Try the commands again and it should then work.
• You should also find the following files in the C:\apktool folder (if that is the folder you are using). If they are not here you may have to copy and paste them from the apktool github download.
apktool.jar
apktool.bat
• If you have found these files then you are set to go with decoding the theme/app you have chosen as a basis to amend.
3. Decoding APKs Using Apktool
• Download the apk/app you want to use. I used Backup and Restore app from Play to get the app I wanted to use onto my PC. Once you have this on your PC place the main APK/app in the same folder as the apktool.bat and the apktool.jar (for me this this was C:\apktool)
• Point the command prompt at this place and type the following:
apktool d [app name]
• A folder with the name of the app you just decoded will appear in the directory that you use (in this case C:\apktool)
• In this folder you should find another folder called assets. There may be more sub APKs here in subfolders. This subfolder will likely be assets>overlays
• All the sub APKs in here will have to be decoded otherwise you will have different signing keys and the app, once compiled again, will not work. Decode all the sub APKs in this same folder. You will have to copy the following files to the folder you are decoding the sub APKs in. These are:
apktool.jar
apktool.bat
• Decode every sub apk using the command apktool d [sub_apkname]
• You should now have the same number of folders in the drive as the number of sub APKs, if you decoded them all.
4. Changing the Colours and other Themes from the Decoded APKs Using Notepad++
• Many theme APKs will have internal APKs, such as common, settings, phone, systemui, calendar etc, etc. This is what I have worked out so far:
Common: Changes the switches, brightness bar and the text headings in settings, changes swipe left panels in apps such as gallery, changes background, message icon & phone icon colour in contact/phone app, statusbar background, separating lines in settings (some themes do not have these), background bar of setting title (i.e. wireless network, device etc), settings text colour, secondary text (i.e. the text you see under Wifi and Bluetooth which shows you what you are connected to), the headings in apps such as clock where it shows 'Alarm' 'World Clock' 'Timer' etc
System UI: Changes the quick settings tiles & text and the non-heading text in settings
• To change the colour of these you have to amend the colors.xml located in one of the folders in the assets>overlays and then the folder of the overlay you want to change. I used Notepad++ to do this. Navigate to 'res' folder and then usually something like 'values-xxxhdpi-v4'. There is sometimes more than one color.xml file so you may need to look in more than one folder and amend all the color.xml files. The colours are at the end of the lines of text and will be standard Android colour coding, such as ffffffff (white) or 00000000 (black) or any other colours.
5. Building APKs & Signing with Android Studio
• If you are building the sub APKs from an app (these are the ones inside an APK such as common, systemui, phone etc) I found it best to use a different folder. For this I used C:\apktool builder
• Copy and paste the folder from the decoded APK (e.g. the [appname].LGE.common folder) that is in the asset>overlays folder to the apktool builder folder above
• Once you have made the colour amendments it is time to build the amended themes. To do this you will need Android Studio
• Open the splash screen of Android Studio and instead of the 'Open' command use the 'Import Project' command and navigate to the folder you want to import
• When opening Android Studio you have to configure the frameworks otherwise you will not be able to sign the app. This warning should come up automatically. THIS MUST BE DONE FOR IT TO WORK
• Navigate and find your APK in apktool builder and import it. If you do this more than once you will be prompted to overwrite the settings a few times.
• Go to ‘Build’ along the top and choose ‘Generate Signed APK’. If this is the first time it will ask for the Key Store Path. You will need to choose ‘Create New’. Select a place to store this key (I chose C:\apktool Builder) and input the passwords and the other data in the boxes. You must put a two-digit country code in the last box, for example US, UK etc). For ease I kept most of these very simple. For example, password was 'asdfgh'
• Once this has been completed and if there are no errors (warnings are ok) then it will generate a signed sub APK and save it to the location you are in (in this case C:\apktool builder). Copy and paste that sub APK over the one in the C:\apktool folder where the original sub APK was kept.
• Once you have done this then you need to sign the main app APK. Do the same as above and build in Android Studio. If there are no errors it will save it to your directory (in my case C:\apktool\[app name].
• Copy and paste this APK into your phone, apply the theme and it should work.
Everytime you amend a sub apk you will have to re-sign it through Android studio and then re-sign the main app apk. Once you get the hang of it though it is fairly straight forward.
6. Other Things
Nothing else in the app will change at this point. The name, wallpaper jpegs, screenshots and icons will all be the same. I am working on this at the moment but they don't actually need changing that much. The difficult thing for me is how to change the 9.png icon files and still get them to work. Once I have worked this out I will be able to finish it off.
7. Screenshots
Attached are some screenshots of how my phone now looks. I have made a few different apk's with different colours so I can now change this daily if I want a change (see post 2 for updated screenshots).
8. Thanks/Credits
@xpirt - Made it easy to get the framework files I needed for apktool and for a great custom rom!
@Raafat - for giving me the idea and the initial information
@iBotPeaches - for developing apktool.
.
Building Your Own LG Theme
I've been able to fine tune the themes over the past few weeks and have been able to colour the settings icons on the main settings page as well as putting a background behind it. I've also been able to theme the switches initially getting over a problem of the 'off' switch not showing. Here is some updated screenshots of a green/grey&blue theme.
I've also attached the updated blue & red theme from the initial post. I've not fully completed this yet though as I started to concentrate on the green/grey&blue theme as I preferred that.
Could someone make a stock theme just dark? I found one on play store but is not the best thing (it changes system sounds and other things that i don't like) I'd like a full stock theme but dark. Thanks in advance
Help
Can you help me? I tried changing package names in .json file and added new icons in the theme. I don't understand why it is failing on apply. It was running properly with only color change before doing this.
[email protected] said:
Can you help me? I tried changing package names in .json file and added new icons in the theme. I don't understand why it is failing on apply. It was running properly with only color change before doing this.
Click to expand...
Click to collapse
Here is the apk.
I probably won't be able to get round to this until the weekend due to work commitments but will have a look and let you know.
strikerman10 said:
I probably won't be able to get round to this until the weekend due to work commitments but will have a look and let you know.
Click to expand...
Click to collapse
Take your time, and thanks. ?
[email protected] said:
Take your time, and thanks. ?
Click to expand...
Click to collapse
In case you haven't checked the apk I provided earlier, I have found and fixed some package name errors but the result is still same. It get stuck at 90% and then fails. I have changed icons too, is there anything needed to do in public.xml ? New apk is attached below.
strikerman10 said:
I probably won't be able to get round to this until the weekend due to work commitments but will have a look and let you know.
Click to expand...
Click to collapse
Did you took a look at it?

[Guide] Enable EMUI fingerprint navigation gestures on Huawei P10 Lite

You must have root access on your device
I've used this feature in the custom ROM MorfuZ V4.0 with also the Navigation Gestures of XDA. great combo.
Now I'm on the stock ROM , and, since hidding the navbar cause a problem on the bottom of the lockscreen I've found this a good method to bypass the problem and keep again the fingerprint navigation.
Simply add to build.prop this two lines:
ro.config.hw_front_fp_navi=true
ro.config.hw_front_fp_trikey=1
Save and reboot
After navigate to settings > navigation key and select the top to enable the gestures.
Tested and working on WAS-LX1A running EMUI 8
Step by step:
1) Download and install root explorer on your phone.
2) Open the application and grant the root permissions.
3) Now, simply open go to /System/ and then you will be able to see Build.Prop file
4) Now, click on the option called as Mount R/O.
5) Long press on that files and you will get a pop-up of open with
6) Just hit open with text editor and then you are good to go
7) Copy the codes above and simply paste on your build.Prop
8) Click on the save changes and then reboot your Android device.
JowyOMac said:
I've used this feature in the custom ROM MorfuZ V4.0 with also the Navigation Gestures of XDA. great combo.
Now I'm on the stock ROM , and, since hidding the navbar cause a problem on the bottom of the lockscreen I've found this a good method to bypass the problem and keep again the fingerprint navigation.
Simply add to build.prop this two lines:
ro.config.hw_front_fp_navi=true
ro.config.hw_front_fp_trikey=1
Save and reboot
After navigate to settings > navigation key and select the top to enable the gestures.
Tested and working on WAS-LX1A running EMUI 8
Click to expand...
Click to collapse
but it works?
Luxifer2001 said:
but it works?
Click to expand...
Click to collapse
In my phone yes.
https://ibb.co/jGLD60X
https://ibb.co/fxLXYWz
JowyOMac said:
In my phone yes.
https://ibb.co/jGLD60X
https://ibb.co/fxLXYWz
Click to expand...
Click to collapse
okok
Luxifer2001 said:
can u upload some screen??
Click to expand...
Click to collapse
The two link inside the spoiler.
I'd like to experiment. You can explain where the build-prop folder is and how I can add the lines. Thanks and sorry but I do not understand much of these modifications.
noslen69 said:
I'd like to experiment. You can explain where the build-prop folder is and how I can add the lines. Thanks and sorry but I do not understand much of these modifications.
Click to expand...
Click to collapse
The build.prop is a file, you can do this:
1) Download and install root explorer (or Solid Explorer) on your phone
2) Open the application and grant the root permissions
3) Now, simply open go to /System/ and then you will be able to see Build.Prop file
4) Now, click on the option called as Mount R/O.
5) Long press on that files and you will get a pop-up of open with
6) Just hit open with text editor and then you are good to go
7) Copy the codes from above and simply paste on your build.Prop
8) Click on the save changes and then reboot your Android device.
I've updated the main post.
Its work!but you know how to only disable navigation bar??or the gestures navigation like emui or the rom siriuz 3.5???

Categories

Resources