[MODS] TWRP Flashable Magisk Module Maker-Aroma installer - Google Pixel Themes, Apps, and Mods

This is a Magisk Module Maker that converts various Mods of mine into TWRP flashable Magisk Modules.
Flash the Aroma installer in TWRP. Select and flash all the enclosed mods you want (after each selection is flashed and you want more, hit next, tick the check box at the top of the page, hit Finish and it takes you back to select more). When done, hit Finish. You will back in TWRP, hit the back button and go to Install. Find a folder on your sdcard called "Magisk". Inside there is a Magisk module called "Magisk.zip". Flash and reboot. These are the same mods from my other post but are for people using Magisk.
Now an Add-On selection in case you flash several mods but forgot or want to change some. It is the second selection. Flash it after you have flashed any additional mods. Afterwards, find and flash the Magisk.zip
Options
Internet speed - Up over Down- select position far left or to left of Icons on the right side, or center of statusbar. Indicators can be colored individually 6 different colors
Optional internet speed, single line. Strongest signal is shown. Left side, center, and by WiFi placements are available. Same color options.
Clock position - Center Clock not showing on Lockscreen
Dynamic Navbar, 8 sizes
Regular Navbar, 8 sizes
Battery text, with or without Battery Icon
Invisible screen-off Power Menu Button on far right hand side of status bar with option to remove.
Option of Invisible screen-off Power menu button on right side of Navbar in portrait mod and/or on the top side in Landscape mode.
Dpad left and right on the Navbar, poitrait and landscape options.
3Minit Battery
Settings Theme Colors
QS background Theme Colors
Colored Statusbar Icons - 6 to Choose From
Colored Navbar Icons - 6 to Choose From (Matches Statusbar)
Colored notification backgrounds
Colored notification text
Custom one percent battery mod enabler and 7 custom batteries to choose from.
Colored Halo Ring. You can match the other colors if you choose to.
Rainbow Battery
If you are going to install 3Minit Battery, you must install the 3Minit Resources apk, Prior to flashing that module.
I have flashed most of these myself but as always, have a backup. Signature disabling and Black Google bootanimation, loud effect ticks aren't working at this time. Flash at your own risk.
Credits:
topjohnwu for Magisk
https://forum.xda-developers.com/apps/magisk
aureljared for his enhanced VRthemer called Eviltheme
https://forum.xda-developers.com/showthread.php?t=2774436
djb77 for pairing the two together and making an "On the Fly" Module Maker
https://forum.xda-developers.com/apps/magisk/mod-magisk-module-template-eviltheme-t3590766
3 Minit Resources apk
https://www.androidfilehost.com/?fid=529152257862670024
Magisk Module Maker
https://www.androidfilehost.com/?fid=961840155545584994
Mega
https://mega.nz/#!NQJlXZxA!ZoOCKke5wPxPqi432ivDOiNWpYnb0f2ZnBGQAODRWiE

Hi!
Thanks for all your help in the other thread.
I am trying to figure out exactly what steps I need to take as this whole thing is pretty confusing. Lets just say all I want to do is have a day of the week show up in the status bar. What steps am I missing here?
1. decompile the framework framework-res.apk and install it
2. decompile the SystemUIGoogle.apk
3. go into the SystemUIGoogle.apk FOLDER and look for status_bar.xml
4. Change out the code
5. Save the status_bar.xml
6. Place the newly edited status_bar.xml in my eviltheme folder in /system/priv-app/SystemUIGoogle
Now obviously I am way wrong but I thought that was the whole point; that this thing just pulls the XML instead of messing with my APKs? Can you please help me with the steps that I am doing wrong? Or am I not understanding this program correctly?

daddylonglegs said:
Hi!
Thanks for all your help in the other thread.
I am trying to figure out exactly what steps I need to take as this whole thing is pretty confusing. Lets just say all I want to do is have a day of the week show up in the status bar. What steps am I missing here?
1. decompile the framework framework-res.apk and install it
2. decompile the SystemUIGoogle.apk
3. go into the SystemUIGoogle.apk FOLDER and look for status_bar.xml
4. Change out the code
5. Save the status_bar.xml
6. Place the newly edited status_bar.xml in my eviltheme folder in /system/priv-app/SystemUIGoogle
Now obviously I am way wrong but I thought that was the whole point; that this thing just pulls the XML instead of messing with my APKs? Can you please help me with the steps that I am doing wrong? Or am I not understanding this program correctly?
Click to expand...
Click to collapse
1. You do not have to decompile the framework-res.apk unless you want to mod it. Just install it.
2. Yes
3. When I was talking about folders I meant how things were put into the eviltheme folder. Same premise, though once it is decompiled, so yes.
4. Yes using notepad++ or something similar.
5. Yes
6. No, you must recompile your SystemUIGoogle.apk first. Then unzip it with 7zip, take out your status_bar.xml and put it in evilthheme folder like this: system/priv-app/SystemUIGoogle.apk/res/layout
Those are folder names, not your actual SystemUIGoogle.apk. you must tell it the exact pathway to where your modded file goes. Look at your SystemUIGoogle.apk after you decompile it. It is no longer a apk, now it is folders and files.
Flash my Aroma, however many mods you want. Then flash the very first one, the Magisk Module maker. You don't have to install it. Reboot system, in file explorer, go to the new folder on your sdcard called magisk, find the magisk.zip, unzip it and look at the folder structure.

Tulsadiver said:
6. No, you must recompile your SystemUIGoogle.apk first. Then unzip it with 7zip, take out your status_bar.xml and put it in evilthheme folder like this: system/priv-app/SystemUIGoogle.apk/res/layout
Click to expand...
Click to collapse
OK so I did this (my confusion came from the fact that I did not realize that the status_bar.xml was different when the APK is recompiled!)
However, I do not have an eviltheme folder anywhere on my Pixel. Was I supposed to install EvilTheme along with the zip you made for me? Or just your zip?

daddylonglegs said:
Hi!
Thanks for all your help in the other thread.
I am trying to figure out exactly what steps I need to take as this whole thing is pretty confusing. Lets just say all I want to do is have a day of the week show up in the status bar. What steps am I missing here?
1. decompile the framework framework-res.apk and install it
2. decompile the SystemUIGoogle.apk
3. go into the SystemUIGoogle.apk FOLDER and look for status_bar.xml
4. Change out the code
5. Save the status_bar.xml
6. Place the newly edited status_bar.xml in my eviltheme folder in /system/priv-app/SystemUIGoogle
Now obviously I am way wrong but I thought that was the whole point; that this thing just pulls the XML instead of messing with my APKs? Can you please help me with the steps that I am doing wrong? Or am I not understanding this program correctly?
Click to expand...
Click to collapse
Ok. Correct me if I'm wrong Tulsadiver...
But I believe what you want to do is:
1. Pull the required APKs from your phone.
2. Decompile them.
3. Mod them accordingly to what you wish.
4. Recompile them. (Do not push them to the phone)
5. Extract as .zip, find the files you modded, and now put folders accordingly in the eviltheme folder as is to the needs of your device. (For instance, /system/priv-app/SystemUIGoogle.apk/res/anim/your file here.xml(don't quote me on it, I'm guessing that's where things are)).
Don't ask me why it's nessessary to recompile them. Something to do with signature checking if I remember and understand right.
Correct me if I'm wrong Tulsadiver, just trying to help this lost soul with my own understanding.

daddylonglegs said:
OK so I did this (my confusion came from the fact that I did not realize that the status_bar.xml was different when the APK is recompiled!)
However, I do not have an eviltheme folder anywhere on my Pixel. Was I supposed to install EvilTheme along with the zip you made for me? Or just your zip?
Click to expand...
Click to collapse
The eviltheme folder is inside the magisk.zip I gave you. That is a magisk module template.

Truant_Luce said:
Ok. Correct me if I'm wrong Tulsadiver...
But I believe what you want to do is:
1. Pull the required APKs from your phone.
2. Decompile them.
3. Mod them accordingly to what you wish.
4. Recompile them. (Do not push them to the phone)
5. Extract as .zip, find the files you modded, and now put folders accordingly in the eviltheme folder as is to the needs of your device. (For instance, /system/priv-app/SystemUIGoogle.apk/res/anim/your file here.xml(don't quote me on it, I'm guessing that's where things are)).
Don't ask me why it's nessessary to recompile them. Something to do with signature checking if I remember and understand right.
Correct me if I'm wrong Tulsadiver, just trying to help this lost soul with my own understanding.
Click to expand...
Click to collapse
You have to recompile them because that is the way they are on your phone. What Apktool does is decodes the files so you can read them, kind of like decrypts them. They have to be back in their original form or your phone can't read them. The entire apk would need original signature but we are only talking about edited xml's here.

@Truant_Luce Thank you! Yes that is exactly what was confusing me. I thought he was telling me to recompile in order to push the apk back to the device! No wonder I was so confused My fault! I really appreciate your reply.
Tulsadiver said:
The eviltheme folder is inside the magisk.zip I gave you. That is a magisk module template.
Click to expand...
Click to collapse
OK so open the zip you gave me, put the xml file in the magisk folder, zip it up again, and then install the zip?

daddylonglegs said:
@Truant_Luce Thank you! Yes that is exactly what was confusing me. I thought he was telling me to recompile in order to push the apk back to the device! No wonder I was so confused My fault! I really appreciate your reply.
OK so open the zip you gave me, put the xml file in the magisk folder, zip it up again, and then install the zip?
Click to expand...
Click to collapse
Yes, put the xml in the folder order that was discussed. Zip up the contents of the magisk folder, not the folder itself. In other words, select common folder through config.sh, not magisk itself.
{
"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"
}

Tulsadiver said:
Yes, put the xml in the folder order that was discussed. Zip up the contents of the magisk folder, not the folder itself. In other words, select common folder through config.sh, not magisk itself.
View attachment 4215877
Click to expand...
Click to collapse
OK I did this. Unfortunately when I get to the home screen trying to load it has the default background (mine is removed) and says "Android is starting...." and never loads.
I tried to install the .zip you had uploaded that supposedly fixes the SystemUI if this happens but unfortunately it did not work.
Any advice to get this or my phone booting again would be appreciated. I am not sure how such a tiny modification to the clock could render my phone unusable.

daddylonglegs said:
OK I did this. Unfortunately when I get to the home screen trying to load it has the default background (mine is removed) and says "Android is starting...." and never loads.
I tried to install the .zip you had uploaded that supposedly fixes the SystemUI if this happens but unfortunately it did not work.
Any advice to get this or my phone booting again would be appreciated. I am not sure how such a tiny modification to the clock could render my phone unusable.
Click to expand...
Click to collapse
Upload your zip.
You might have to do a factory reset in twrp. You have to setup your phone like new but I have done it and have not lost data.

Tulsadiver said:
Yes, put the xml in the folder order that was discussed. Zip up the contents of the magisk folder, not the folder itself. In other words, select common folder through config.sh, not magisk itself.
View attachment 4215877
Click to expand...
Click to collapse
Tulsadiver said:
Upload your zip.
You might have to do a factory reset in twrp. You have to setup your phone like new but I have done it and have not lost data.
Click to expand...
Click to collapse
Here you go. I really hope I can manage to get this running without a factory reset. Thank you for helping me.

daddylonglegs said:
Here you go. I really hope I can manage to get this running without a factory reset. Thank you for helping me.
Click to expand...
Click to collapse
You can also fastboot flash your firmware again. First try uploading my Aroma. Select the nexus navbar rainbow battery (selection 64) a navbar height mod (say #28) so you get systemui and frameworks involved. Flash the magisk module. Exit the Aroma and while still in twrp, go back to install, find the magisk.zip in the magisk folder on your sdcard and flash it.

Tulsadiver said:
You can also fastboot flash your firmware again. First try uploading my Aroma. Select the nexus navbar rainbow battery (selection 64) a navbar height mod (say #28) so you get systemui and frameworks involved. Flash the magisk module. Exit the Aroma and while still in twrp, go back to install, find the magisk.zip in the magisk folder on your sdcard and flash it.
Click to expand...
Click to collapse
OK, flash which magisk.zip? xdahelpermagiskFINAL.zip?

daddylonglegs said:
OK, flash which magisk.zip? xdahelpermagiskFINAL.zip?
Click to expand...
Click to collapse
There will only be one called magisk.zip
I noticed in your xml that you took the stock clock completely off and replaced it with a text clock. What I do is leave the stock clock but put in 0.0dip for both the layout width and height so it doesn't show up. I believe you have to have it there though.
I fixed it if you want to try and flash it first.

Tulsadiver said:
You can also fastboot flash your firmware again. First try uploading my Aroma. Select the nexus navbar rainbow battery (selection 64) a navbar height mod (say #28) so you get systemui and frameworks involved. Flash the magisk module. Exit the Aroma and while still in twrp, go back to install, find the magisk.zip in the magisk folder on your sdcard and flash it.
Click to expand...
Click to collapse
I am in a thing that says "Mod options" and I see a bunch listed. None say "navbar rainbow battery". I even counted down 64 lines and 28 lines and they don't match up with what you are saying
---------- Post added at 09:43 PM ---------- Previous post was at 09:20 PM ----------
Never mind. I found the ones you probably meant. I get a "System UI has stopped" and can't do anything when i boot my phone.

daddylonglegs said:
I am in a thing that says "Mod options" and I see a bunch listed. None say "navbar rainbow battery". I even counted down 64 lines and 28 lines and they don't match up with what you are saying
---------- Post added at 09:43 PM ---------- Previous post was at 09:20 PM ----------
Never mind. I found the ones you probably meant. I get a "System UI has stopped" and can't do anything when i boot my phone.
Click to expand...
Click to collapse
Sorry, my Nexus 5X just died about an hour ago and I've been talking with Google about a replacement.
You will probably have to fastboot flash your system firmware again if you don't want to factory reset.

Tulsadiver said:
Sorry, my Nexus 5X just died about an hour ago and I've been talking with Google about a replacement.
You will probably have to fastboot flash your system firmware again if you don't want to factory reset.
Click to expand...
Click to collapse
OK.

So what exactly was the reason this would not work on my Pixel but it worked on yours? :CONFUSED:

daddylonglegs said:
So what exactly was the reason this would not work on my Pixel but it worked on yours? :CONFUSED:
Click to expand...
Click to collapse
It didn't. Just flashed it. I took another look at your status_bar.xml. You left off the original clock and your layout gravity was wrong. Should have been android:gravity not android:layout_gravity

Related

[Q!]Bootloop after changing framework-res.apk

Ok, so i modded about 6 png's that are for the notification bar.
However, when i add them to my used framework-res (no problems at all) my phone get's stuck in a bootloop.
After a quick question in the ROM threat, brady1uk mentioned the file size.
so i checked them, and before i modded them they were a total of 43kb, but now they are 143kb!
Could this be the problem of my bootloop, and if yes, how do i reduce the file size?
*added the status_bar png's*
I don't think it's the file size. Let me ask, when you "add them to your used framework-res" how do you do it? Did you extract the .apk then re-archive?
ephumuris said:
I don't think it's the file size. Let me ask, when you "add them to your used framework-res" how do you do it? Did you extract the .apk then re-archive?
Click to expand...
Click to collapse
I open the framework-res whit winrar, and i just drag and drop my custom files in there with out extracting it.
ok, so i replaced my new png's whit the old ones in the hope my phone would work again, but it didn't
Now i'm totaly clueless...
If someone could take a look at what i have combined and why it doesn't work it would love it (using lee droid 1.9A)
*sleeping*
dragonithe said:
ok, so i replaced my new png's whit the old ones in the hope my phone would work again, but it didn't
Now i'm totaly clueless...
If someone could take a look at what i have combined and why it doesn't work it would love it (using lee droid 1.9A)
*sleeping*
Click to expand...
Click to collapse
as all is failing i would suggest getting the original framework-res.apk - before u ever touched it (download leedroid rom again if you didnt back it up). And then use either APK Manager or Theme Pro to decompile the apk, then mod away and change everything you want then use APK Manager or Theme Pro to compile it back up. Thats how I do it. I think there is a chance using Winrar to just pull out the files and add them back in has currupted it somehow
brady1uk said:
as all is failing i would suggest getting the original framework-res.apk - before u ever touched it (download leedroid rom again if you didnt back it up). And then use either APK Manager or Theme Pro to decompile the apk, then mod away and change everything you want then use APK Manager or Theme Pro to compile it back up. Thats how I do it. I think there is a chance using Winrar to just pull out the files and add them back in has currupted it somehow
Click to expand...
Click to collapse
ok, so i did this, but now when i flash the .zip i get a error [ E:Failure at line 9: run_program PACKAGE:check_data_app instalation aborted.]
Ok, so after failing to create my own apk file i pulled it from my desire and added the 6 files to it.
adb push, reboot.
And it gets stuck in a bootloop...
So ok, that failed, but i had the pulled framework still on my computer, so i decided to push this file back to make it work again.
But now it's still stuck in a bootloop....
seems like my adb corupts the .apk or what could be the problem?
You shouldnt need to decompile it if your only making a few changes to the framework.
I use 7-zip to open the rom, navigate to the required apk, and open that archive then swap the images over, no need to delete the original, they will just get over written. Then press up or back within 7-zip. when you navigate out of the apk you were in 7-zip will say it has been changed, carry on, pressing back untill you are all the way out of the rom. Then resign the rom and flash it.
Ive never used apk tool to change images in the htc resources or the framework res and never had a problem.
dragonithe said:
ok, so i replaced my new png's whit the old ones in the hope my phone would work again, but it didn't
Now i'm totaly clueless...
If someone could take a look at what i have combined and why it doesn't work it would love it (using lee droid 1.9A)
*sleeping*
Click to expand...
Click to collapse
I pretty sure the framework in the zip you posted is not from Leedroid so theres your 1st problem. Unless you made more than just 6 png changes.
djmace said:
You shouldnt need to decompile it if your only making a few changes to the framework.
I use 7-zip to open the rom, navigate to the required apk, and open that archive then swap the images over, no need to delete the original, they will just get over written. Then press up or back within 7-zip. when you navigate out of the apk you were in 7-zip will say it has been changed, carry on, pressing back untill you are all the way out of the rom. Then resign the rom and flash it.
Ive never used apk tool to change images in the htc resources or the framework res and never had a problem.
Click to expand...
Click to collapse
I also sort of use your described methode, but istead of using 7-zip, i use winzip.
djmace said:
I pretty sure the framework in the zip you posted is not from Leedroid so theres your 1st problem. Unless you made more than just 6 png changes.
Click to expand...
Click to collapse
It could be that the base of the framework is from leedroid, but i added a theme to it (think it is NexTang-DJDroid).
used it for about a month w/o problems, then i changed 6 files in the framework. And nothing works anymore ._.
can you try flashing the stock leedroid fw-res.apk to see if you get out of the bootloop? if you can do that, then at least you have a fallback plan.
and instead of flashing it, try using:
Code:
adb mount
adb push framework-res.apk /system/framework/framework-res.apk
I have never had any problems doing it that way.
I had the same problems. But i tried to make a flashable zip file and this work very fine..
And remeber you can not just replace a 9.png file maybe this is your fault?
mista1982 said:
I had the same problems. But i tried to make a flashable zip file and this work very fine..
And remeber you can not just replace a 9.png file maybe this is your fault?
Click to expand...
Click to collapse
hmm,
could you tell me a bit more about that?
[GUIDE] how to make a flashable package (update.zip)
How to edit .9.pngs
nzdcoy said:
can you try flashing the stock leedroid fw-res.apk to see if you get out of the bootloop? if you can do that, then at least you have a fallback plan.
and instead of flashing it, try using:
Code:
adb mount
adb push framework-res.apk /system/framework/framework-res.apk
I have never had any problems doing it that way.
Click to expand...
Click to collapse
I have the same problem, could you tell me how to push the framework-res.apk step by step ( just press the power button --> ) . Sorry ....
dragonithe said:
Ok, so i modded about 6 png's that are for the notification bar.
However, when i add them to my used framework-res (no problems at all) my phone get's stuck in a bootloop.
After a quick question in the ROM threat, brady1uk mentioned the file size.
so i checked them, and before i modded them they were a total of 43kb, but now they are 143kb!
Could this be the problem of my bootloop, and if yes, how do i reduce the file size?
*added the status_bar png's*
Click to expand...
Click to collapse
Same thing happened to me!
I Wiped Cache, Dalvik Cache, but nothing happened!
I had to flash 2.3.6 Stock ROM via Odin, to make my phone work!

[Q] How to modify and replace framework-res.apk

Hello
I changed some png images with 7zip and copied back to system/framework/ but i got boot loop.
I would like to know how to modify and replace .apk that will work normal?
Thanks
How exactly did you replace the png's? Because the 'normal' proces of unzip-replace-rezip doesn't work.
The most easy way to changes png's:
1. Open framework-res.apk in 7-zip
2. Search for the files you want to change and copy them to your hard disk (do not unzip!!)
3. change the files. Make sure the name stays EXACT the same.
4. Open framework-res.apk and copy your new files in the desired place. By doing so, the original files will be replaced by your files. DO NOT USE ANY COMPRESSION (if asked select 'store').
5. Go into recovery, mount /system and replace the framework-res.apk by the new one. Reboot phone.
Take home message: never unzip
Hope it works now!
Erwin
i went to recovery and hit mount/system. But how can i replace it?
Thanks
urkotheone said:
i went to recovery and hit mount/system. But how can i replace it?
Thanks
Click to expand...
Click to collapse
You have to use adb to do is. I assume you know how to work with it. If not, you have to search for a little tutorial (can't link you right now because I'm using the xda app)
Put the new framework-res.apk in the same folder as adb.exe. Open the command prompt and brows to that same folder. Type in your command prompt:
Code:
adb shell mv system/framework/framework-res.apk system/framework/framework-res.old
adb push framework-res.apk system/framework
adb reboot
Due to the first command, you have a backup of your original framework-res.apk. To restore it, you have to boot in recovery, mount /system and again by the use of the command prompt, type:
Code:
adb shell rm system/framework/framework-res.apk
adb shell mv system/framework/framework-res.old system/framework/framework-res.apk
adb reboot
Erwin
Yeeeeey i did it
Thank you
One more problem
When discharging it's working, but when I charge phone i don't get no battery icon. I believe it's because in original framework i had 100 png animations for charging and now i have only 20. Is there a way to fix this?
urkotheone said:
One more problem
When discharging it's working, but when I charge phone i don't get no battery icon. I believe it's because in original framework i had 100 png animations for charging and now i have only 20. Is there a way to fix this?
Click to expand...
Click to collapse
Then it is going to be much more complicated than that. Perhaps I can explain you in more detail tomorrow, but you will have to look up some things for yourself.
First, you should decompile the framework-res.apk first using apktool. You will notice that it almost looks like it just dezips your apk, but when you look closely, you will see now that you can open and read the xml files.
Second, you have to open res\drawable\stat_sys_battery.xml (or something similar, perhaps it depends on your ROM). Try to understand what is written and make some changes (it is really not that hard) so that your system shows only 20 different images, in stead of 100.
Third, you have to recompile your modified framework-res.apk. Then pull stat_sys_battery.xml out of "your" framework-res.apk into the original framework-res.apk, but again, without unzipping one of them. Do, of course, the same thing with your images.
I must admit, I've been busy with the battery icons myself. It was my plan to do something similar like you did, but I didn't do it yet. So all the things I've written above where the things I was planing to do, but I don't know if it will work, as I never tried it myself. So please, keep me/us informed ;-)
Good luck!
EDIT: I used this site to know how to decompile apk's.
This is an old thread but I wanted to edit my systemUI.apk file with changing out a couple images... if I was to upload the file I edited (by just swapping out the images) to the UOT kitchen and use a mod, say the battery mod, would it make the file usable on my phone or would I get a bootloop or worse?
Basically what I did was opened up the SystemUI.apk file using 7zip and just swapped out the images I wanted (making sure I saved the original ones of course). I didn't unzip/zip anything.. I just opened it using 7zip and then closed it. It didn't ask me if I wanted to save anything though??
Sorry for the stupid question... but I thought it would be an idea as I want to use the UOT to make a mod to the theme I have anyways.
crazy_dragonlady said:
This is an old thread but I wanted to edit my systemUI.apk file with changing out a couple images... if I was to upload the file I edited (by just swapping out the images) to the UOT kitchen and use a mod, say the battery mod, would it make the file usable on my phone or would I get a bootloop or worse?
Basically what I did was opened up the SystemUI.apk file using 7zip and just swapped out the images I wanted (making sure I saved the original ones of course). I didn't unzip/zip anything.. I just opened it using 7zip and then closed it. It didn't ask me if I wanted to save anything though??
Sorry for the stupid question... but I thought it would be an idea as I want to use the UOT to make a mod to the theme I have anyways.
Click to expand...
Click to collapse
I don't know if I understand you fully, but I believe it would: only if the UOT changed the images that you have changed, you will not see the things you have changed.
What I did some time ago was upload my framework en systemui to the UOT, apply the battery mod and than change the battery images with my own. I did that just by opening the apk in WinRAR and adding my images, just like you did.
But if you only want to swapp some images, there is no need for uploading it to the UTO. Just continue as you did. Just make sure that you keep the original systemui.apk on your hdd. In case of a bootloop, you can easely revert.
Is that een answer to your question?
Erwin
Yes, it does.. and thanks. I ended up following the instructions on another thread I found on here... don't remember exactly which one but it basically omitted uploading the files to the UOT. It was a guide on how to theme your phone... sorry but I didn't save the link.
thanks again!
CDL.
urkotheone said:
Hello
I changed some png images with 7zip and copied back to system/framework/ but i got boot loop.
I would like to know how to modify and replace .apk that will work normal?
Thanks
Click to expand...
Click to collapse
Same thing happened to me!
I Wiped Cache, Dalvik Cache, but nothing happened!
I had to flash 2.3.6 Stock ROM via Odin, to make my phone work!
I always work with Winrar, and in there you have the option for compression, which is selected at "medium compression" by default, and that causes bootloops.
So make sure that you don't compress your apk when adding your new png, or it will not work.
Erwin
I change my framework-res.apk from another rom. the problem is when I push long power button, my device going to BOOTANIMATION with out I choose shutdown, restart n etc.. what's wrong with my device??
sorry for my bad eng..
The problem is its another roms framework so things are in different places and some things will be missing, put the framework-res.apk from your rom back and things should go back to normal, mind me asking what tweak or mod you are after using?
Sent from my HTC Wildfire using xda premium
first time I must say sorry, I know this not my device place on XDA, I use MB525.. but I see the same problem here..
I use Ms3ginger mod rom by walter, n I take framework-res.apk from 2.3.6_4.5.2-109 DHT25_themed MultiLanguage, I try to change battery sys-stat but I get bootloop..
once again sorry for my bad eng
If not possible try
Adb remount
First

[How to] Modify Onscreen Navbar Buttons in HTC 10 Leedroid Rom

I'm one of a few who prefer using Onscreen Navbar Buttons and as i'm using them in Leedroid Rom, i need to modify them to my liking.
And as i have seen others with the same question, how to do that, i make a short, quick tutorial, what you have to do!
Overview:
- Second post deals with changing the images of the buttons
- Third post shows you, what to do to change the behavior if you push the buttons (based on xposed)
Disclaimer:
This part is modifying SystemUI.apk. If you make it wrong, or if you flash an outdated apk, your System/Phone might get unusable!
Make a backup in recovery and from everything which is important to you,just in case of. Better save than sorry
So, let's start!
Just want to thank some guys before, for their suggestions and for their input which i learned a lot from:
- LeeDroid
- Mr Hofs
- ckpv5
- xpirt
- baadnewz
Changing the images of the buttons
You need:
- WinRar or 7zip
- SystemUI.apk (must be deodexed, the apk from Leedroids rom is)
- your new button images as .png
How to:
Copy your SystemUI.apk from System/priv-app/SystemUI folder to your computer. Now you can open it with WinRar or 7zip. Make sure you just open it, do not extract it! Go to \res\drawable-xxxhdpi-v4 folder, there you will find the files to replace. And these files are:
- navigation_icon_back
- navigation_icon_down
- navigation_icon_home
- navigation_icon_recent_apps
I want the buttons to look like on my M8, so i used the png files from it. These are in size 76x76 and look a bit small. The google images are 88x88. I used an online png converter to resize the png's without loosing quality to 90x90 which is a good size for my liking.
So make sure, that your png files are named correctly, then drag and drop them into the opened apk file, into the drawable-xxxhdpi-v4 folder. Close the open apk window, thats it. Now you should be able touse this file for your Leedroid Rom.
Notice:
If you want the same images as i use, you can use for the actually Leedroid Rom (v4.0.0 svn119) the zip file from attachment and flash it in recovery.
You can also take my zip from attachment and replace the SystemUI.apk in \system\priv-app\SystemUI with your modded apk file and flash it with recovery (do it the same way like we replace the png's, drag and drop the apk and it will replace my SystemUI.apk).
But be aware: if Lee changes things in SystemUI.apk the file may need to be modded again! Otherwise it can cause an unusable System! Keep that in mind please. If you use svn, you can check what files are modded.
So, that's all. Nothing new or serious groundbreaking, but as i have seen the question if it's possible a couple of times, i felt it is time to write some words about it.
Maybe i'll add some pictures later on.
Have fun!
Change the behavior if you push the buttons (based on xposed)
This part is not really modding, as we use existing solutions. But i asked myself a long time, if its possible to do on Sense Rom while i'm on Resurrection Remix (where this is an basic feature). And it wasn't that easy way, until xposed for Nougat was released. But now i know that it will work and maybe this will help others, thats why i'll write here what to do.
You need:
- XposedInstaller (latest right now is 3.1.4, https://forum.xda-developers.com/showthread.php?t=3034811)
- Xposed framework as in recovery flashable zip from here (at the moment, for Leedroid Rom sdk24/arm64/)
- GravityBox [N] for Nougat
- if you want to remove it, the xposed uninstaller
How to:
Flash the xposed framework with the zip file in recovery. Reboot (may take a while) and intall the XposedInstaller.apk and the GravityBox [N] modul.apk.
Open xposed, go to module and tick the checkbox for GravityBox [N] (or activate the module from statusbar directly after you have installed it). A reboot is needed.
Open GravityBox, go to Navigation bar tweaks, enable the "Master switch" and make sure the checkbox by "Enable navigation bar" is ticked. A reboot may be needed.
Go back, scroll down and enter Navigation keys actions. Here you can set the actions for each button (Home, Back, Recents and if you use Menu). Also Long-press or Double-tap actions. It is very self explanatory here. If you scroll down, you can also set speed or dely for some actions. As far as i remember, again a restart is necessary.
Thats it.
I hope that helps some people to find their way around!
xstansa lets you change on screen nav buttons without modifying systemui as well

[MOD] NavBar Gone

I get a lot of requests to remove the NavBar. I'm posting this mod at each phone's forum themes section. TWRP flashable zip. Restore zip will be created in a folder named ozop on your sdcard.
Pixel 8.0 November update
https://www.androidfilehost.com/?fid=673791459329061051
Pixel 8.1
https://www.androidfilehost.com/?fid=673791459329061778
Installation instructions for those of you that have root, but do not have TWRP. Busybox must be installed first.
1. Download the enclosed vrthemeADBversion zip and readme.txt for copying and pasting purposes.
2. Unzip the vrthemeADBversion zip to your sdcard. Rename folder to vrtheme
3. Put the readme.txt on your PC where you use adb.
4. Download appropriate NavBar Gone zip. Unzip and copy the system folder that is inside the vrtheme folder to the root of your sdcard.
5. On the root folder of your phone, find the data folder and create a folder inside it named tmp
6. Copy the vrtheme folder you earlier extracted to your sdcard to newly created data/tmp folder (/data/tmp/vrtheme)
7. On PC, with your phone connected and in file transfer mode, open CMD prompt and type "adb devices" without quotes. If your serial number comes up you can proceed.
8. Copy and paste the command lines from the readme.txt (include quotes)
adb shell su -c "mount -o rw,remount /system"
Hit enter
First time you will be promoted by SuperSU to give adb permission.
Copy and paste the second line in readme.txt
adb shell su -c sh /data/tmp/vrtheme/installtheme.sh
Wait until everything runs, after a pause of a few seconds your phone will reboot and your NavBar should be gone.
THANK YOU. works great (flashed zip in TWRP).
Are we going to need a monthly zip after every OTA update? Any tips on how to make this ourselves. Looks like this would make a great Magisk module.
poolemit said:
THANK YOU. works great (flashed zip in TWRP).
Are we going to need a monthly zip after every OTA update? Any tips on how to make this ourselves. Looks like this would make a great Magisk module.
Click to expand...
Click to collapse
Depends on the update. Most don't evolve the framework-res.apk and SystemUIGoogle.apk and that is what is modded. Once flashed, you have what you need to make a magisk module. Pull those two apks and there you go. This is device specific though.
How would I undo this?
shagbag913 said:
How would I undo this?
Click to expand...
Click to collapse
It should have created a restore zip called ozop in a folder called the same on your sdcard
Tulsadiver said:
It should have created a restore zip called ozop in a folder called the same on your sdcard
Click to expand...
Click to collapse
Oh ok. Thanks!
---------- Post added at 04:50 PM ---------- Previous post was at 04:28 PM ----------
Would it be possible to remove the navbar systemessly? I'm trying to still be able to accept ota's.
shagbag913 said:
Oh ok. Thanks!
---------- Post added at 04:50 PM ---------- Previous post was at 04:28 PM ----------
Would it be possible to remove the navbar systemessly? I'm trying to still be able to accept ota's.
Click to expand...
Click to collapse
My mod passes safety net so maybe you can still accept ota's.
Just thought I would let you know, I flashed this mod in twrp on Android 8.1 and it's working beautifully.
Does this work for Marlin?
krazekid7 said:
Does this work for Marlin?
Click to expand...
Click to collapse
I have a navbar gone thread on the Marlin forum.
I flashed this on the final 8.1 build and it bootlooped, but the ozop restore zip fixed it. Did they change something with the apk's?
If someone will upload SystemUIGoogle.apk and framework-res.apk from 8.1 Dec Final I'll make a NavBar Gone and some other mods as well.
Tulsadiver said:
If someone will upload SystemUIGoogle.apk and framework-res.apk from 8.1 Dec Final I'll make a NavBar Gone and some other mods as well.
Click to expand...
Click to collapse
Here are the files from 8.1 December. I've been unable to get apktool to work well with them, and making any mods to them lead to boot issues. They both had some undefined terms, and some 9.png issues.
I hope you are able to make it work. I specifically am hoping for the 30 dpi NavBar and more qs tiles.
https://www.dropbox.com/s/fj3j8tzndraw05k/framework-res.apk?dl=0
https://www.dropbox.com/s/4jax22gr00h6xq2/SystemUIGoogle.apk?dl=0
stranula said:
Here are the files from 8.1 December. I've been unable to get apktool to work well with them, and making any mods to them lead to boot issues. They both had some undefined terms, and some 9.png issues.
I hope you are able to make it work. I specifically am hoping for the 30 dpi NavBar and more qs tiles.
https://www.dropbox.com/s/fj3j8tzndraw05k/framework-res.apk?dl=0
https://www.dropbox.com/s/4jax22gr00h6xq2/SystemUIGoogle.apk?dl=0
Click to expand...
Click to collapse
More qs columns or tiles? I can do columns.....
Tulsadiver said:
More qs columns or tiles? I can do columns.....
Click to expand...
Click to collapse
Columns, my mistake
stranula said:
Columns, my mistake
Click to expand...
Click to collapse
Thank you for the files. I normally go down to 32 dip but I'll include a 30 dip as well. Please remind me if I forget. My aroma will include, 4 as stock, but 5, 6,and 7 column options.
Tulsadiver said:
Thank you for the files. I normally go down to 32 dip but I'll include a 30 dip as well. Please remind me if I forget. My aroma will include, 4 as stock, but 5, 6,and 7 column options.
Click to expand...
Click to collapse
Even 32 would be good. That sounds awesome. Thanks for putting it together, much appreciated.
stranula said:
Here are the files from 8.1 December. I've been unable to get apktool to work well with them, and making any mods to them lead to boot issues. They both had some undefined terms, and some 9.png issues.
I hope you are able to make it work. I specifically am hoping for the 30 dpi NavBar and more qs tiles.
https://www.dropbox.com/s/fj3j8tzndraw05k/framework-res.apk?dl=0
https://www.dropbox.com/s/4jax22gr00h6xq2/SystemUIGoogle.apk?dl=0
Click to expand...
Click to collapse
I have an Aroma for you to try. Install the base at the bottom first. There are NavBar height and column mods you can flash after that. I'm not on 8.1 so this has not been tested.
Aroma
https://www.androidfilehost.com/?fid=889964283620771508
Tulsadiver said:
I have an Aroma for you to try. Install the base at the bottom first. There are NavBar height and column mods you can flash after that. I'm not on 8.1 so this has not been tested.
Aroma
https://www.androidfilehost.com/?fid=889964283620771508
Click to expand...
Click to collapse
I installed the base, followed by 6qs columns, followed by 32 NavBar. No problems at all, everything flashed properly and is working properly. Thanks so much for putting it together, I really appreciate it.
Tulsadiver said:
I have an Aroma for you to try. Install the base at the bottom first. There are NavBar height and column mods you can flash after that. I'm not on 8.1 so this has not been tested.
Aroma
https://www.androidfilehost.com/?fid=889964283620771508
Click to expand...
Click to collapse
Some features of your normal aroma package are missing, of course. Most of the options seem to work, but the navbar icons are a bit messed up. I used the Lite Blue Navbar icons option. Picture attached.

[MOD] NavBar Gone. (Root)

I get a lot of requests to remove the NavBar. I'm posting this mod at each phone's forum themes section. TWRP flashable zip. Restore zip will be created in a folder named ozop on your sdcard.
8.1 March Update
https://www.androidfilehost.com/?fid=673956719939829462
8.0 November update
https://www.androidfilehost.com/?fid=817906626617946403
8.1 preview DP1
https://www.androidfilehost.com/?fid=817906626617947258
8.1 DP2
https://www.androidfilehost.com/?fid=745849072291691723
8.1 Dec Final
https://www.androidfilehost.com/?fid=745849072291694014
Installation instructions for those of you that have root, but do not have TWRP. Busybox must be installed first.
1. Download the enclosed vrthemeADBversion zip and readme.txt for copying and pasting purposes.
2. Unzip the vrthemeADBversion zip to your sdcard. Rename folder to vrtheme
3. Put the readme.txt on your PC where you use adb.
4. Download appropriate NavBar Gone zip. Unzip and copy the system folder that is inside the vrtheme folder to the root of your sdcard.
5. On the root folder of your phone, find the data folder and create a folder inside it named tmp
6. Copy the vrtheme folder you earlier extracted to your sdcard to newly created data/tmp folder (/data/tmp/vrtheme)
7. On PC, with your phone connected and in file transfer mode, open CMD prompt and type "adb devices" without quotes. If your serial number comes up you can proceed.
8. Copy and paste the command lines from the readme.txt (include quotes)
adb shell su -c "mount -o rw,remount /system"
Hit enter
First time you will be promoted by SuperSU to give adb permission.
Copy and paste the second line in readme.txt
adb shell su -c sh /data/tmp/vrtheme/installtheme.sh
(If you would rather run a bat file and are on Windows, extract the ModInstaller zip where you adb is and run it instead of typing or copying and pasting the commands from the readme.txt)
Wait until everything runs, after a pause of a few seconds your phone will reboot and your NavBar should be gone.
bumping this thread for relevancy.
Also.... what is everyone using for navigation replacements? I love LMT, but it crashes and often leaves me without a way to return home.
noidea24 said:
bumping this thread for relevancy.
Also.... what is everyone using for navigation replacements? I love LMT, but it crashes and often leaves me without a way to return home.
Click to expand...
Click to collapse
I'm using LMT. Never thought I'd like it but in order to get this mod right, I had to try it. Now I like it. Took some getting used to.
I could put a invisible home button on the left side of your statusbar.
I use Swipe Navigation and love it. After a recent update caused it to stop working, I downloaded an older apk from the XDA thread and keep that on my device for emergencies.
Edit.. Should mention that the developer, @Splder released another update the same day that fixed the problem I had.
I also use swipe navigation and it works great. I got scared a bit because I updated it and it didn't work but i just needed to turn it back on and grant permissions again but other than that it's the best app to use if you want to get rid of the nav bar. Simple swipe up gestures from the bottom left, middle and right make it a breeze to use.
Holy crap, thanks OP, was looking for something like this since Oreo release.
Is there any bug like Assistant force closing upon opening it or something like that?
ithehappy said:
Holy crap, thanks OP, was looking for something like this since Oreo release.
Is there any bug like Assistant force closing upon opening it or something like that?
Click to expand...
Click to collapse
Not that I am aware of. I'm not really a power user and just went navbarless a couple of days ago. This zip will make a restore zip in a folder called ozop.
Thank you for the great mod. It was a shame that the option to remove the navbar from stock rom was no longer possible. It was the only thing that drove me to custom roms. Immersive mode is not that practical. I've been using either lmt or the pie controls from gravity box since KitKat and going back to using the navbar was impossible.
Thank you for this! Out of curiosity this will break SafetyNet, correct?
AbuShabanov said:
Thank you for this! Out of curiosity this will break SafetyNet, correct?
Click to expand...
Click to collapse
Probably. It is a system flash though it leaves the original meta-inf and android-manifest intact.
I'm not sure if this zip is the same one you made for me last week in the Aroma Mod thread, but that one passes.
911jason said:
I'm not sure if this zip is the same one you made for me last week in the Aroma Mod thread, but that one passes.
Click to expand...
Click to collapse
I appreciate the input. It is almost the same. There were complaints that the LMT navbar didn't come up smooth enough so I added and changed a few things. Nothing that would trigger something that one didn't.
Tulsadiver said:
I'm using LMT. Never thought I'd like it but in order to get this mod right, I had to try it. Now I like it. Took some getting used to.
I could put a invisible home button on the left side of your statusbar.
Click to expand...
Click to collapse
I like the idea of the invisible home button in the status bar with the navbar removal...you think it could be flashed over that previous mod you made for me? Will this introduce lag like I experienced when I tried immersive mode? Im guessing not since it just removes it...
Oh and fwiw I still pass safetynet with the previous zip you made me
AP2FTW said:
I like the idea of the invisible home button in the status bar with the navbar removal...you think it could be flashed over that previous mod you made for me? Will this introduce lag like I experienced when I tried immersive mode? Im guessing not since it just removes it...
Oh and fwiw I still pass safetynet with the previous zip you made me
Click to expand...
Click to collapse
I've slept since then, what mod did I make for you?
Tulsadiver said:
I've slept since then, what mod did I make for you?
Click to expand...
Click to collapse
Lol my fault...here's a link to the post https://forum.xda-developers.com/showpost.php?p=74048596&postcount=118
It also does center clock (in smallest text) and carrier text removal
AP2FTW said:
Lol my fault...here's a link to the post https://forum.xda-developers.com/showpost.php?p=74048596&postcount=118
It also does center clock (in smallest text) and carrier text removal
Click to expand...
Click to collapse
You can try this. I had forgotten how convoluted my statusbar was so I'm not sure if the home button will work. Let me know.
https://www.androidfilehost.com/?fid=817906626617947200
Tulsadiver said:
You can try this. I had forgotten how convoluted my statusbar was so I'm not sure if the home button will work. Let me know.
https://www.androidfilehost.com/?fid=817906626617947200
Click to expand...
Click to collapse
I will try it soon as I can thanks very much :good:
AbuShabanov said:
Thank you for this! Out of curiosity this will break SafetyNet, correct?
Click to expand...
Click to collapse
I finally got around to flashing this and it does indeed pass SafetyNet. Thank you for this!
Tulsadiver said:
You can try this. I had forgotten how convoluted my statusbar was so I'm not sure if the home button will work. Let me know.
https://www.androidfilehost.com/?fid=817906626617947200
Click to expand...
Click to collapse
Worked perfectly and still passing safetynet. Thanks a million
Dear Sir
I uploaded the apk, If you are so kind to make the NaviBar Gone Mod for Pixel XL 8.1
Your mod is the best solution I found so far. Many many thanks to you!

Categories

Resources