Custom Magisk Module Mod Maker-ADB and Zip Installers

Search This thread

Tulsadiver

Recognized Contributor
Jul 11, 2013
9,603
7,174
Tried the March update, I use it for two things
- Navbar remover
- Remove battery icon, leave percent

Navbar remover works but the removal of the battery icon, leaving percent results in a bootloop!

I'm thinking maybe the March update needs a bit more refinement? Either way I'm happy to at least have the Nav bar removed in the March patch, thanks for your work!
Can you try something for me if you have notepad++? Go to the bats folder. Open BatteriesInstallerstock.bat
Where it says "if %selection%==1 call bats/removebatticonstock
Change it to removebatticon (in other words, remove "stock"
Then try again.
Edit: or drop this in the bats folder replacing the one that is there now.
Just take the .zip off. It's not actually zipped.

Edit2: I uploaded a whole new one on the op if you'd rather not mess with modifying the one you have.

 

Attachments

  • BatteriesInstallerstock.bat.zip
    793 bytes · Views: 14
Last edited:
  • Like
Reactions: rickysidhu_

motes

Senior Member
Dec 20, 2010
433
65
Hello, i have a problem, maybe someone can help me... I flashed a modified magisk boot image, and then a few magisk modules, when i reboot the phone get stoked on the big G... I try the adb comand for delete the magisk modules, but it reboot to fastboot mode, and i flash the original boot. Now i can't boot the phone with the magisk boot flashed even if i uninstall magisk manager... How can i restore all magisk modules to boot with a modified boot partition?? Thanks!
 

Tulsadiver

Recognized Contributor
Jul 11, 2013
9,603
7,174
Hello, i have a problem, maybe someone can help me... I flashed a modified magisk boot image, and then a few magisk modules, when i reboot the phone get stoked on the big G... I try the adb comand for delete the magisk modules, but it reboot to fastboot mode, and i flash the original boot. Now i can't boot the phone with the magisk boot flashed even if i uninstall magisk manager... How can i restore all magisk modules to boot with a modified boot partition?? Thanks!
Try this.
Reinstall Magisk app.
Boot into safe mode
Boot into bootloader
Fastboot magisk patched image
You should boot back inti safe mode with root.
Uninstall all modules and reboot.

Might be too late since you uninstalled magisk app already.
 

motes

Senior Member
Dec 20, 2010
433
65
Try this.
Reinstall Magisk app.
Boot into safe mode
Boot into bootloader
Fastboot magisk patched image
You should boot back inti safe mode with root.
Uninstall all modules and reboot.

Might be too late since you uninstalled magisk app already.
Finaly i must factory reset to make it work...😭 Btw i tryed to make a mod with 36dpi center clock and no navbar and don't boot...
 

motes

Senior Member
Dec 20, 2010
433
65
Can you try something for me if you have notepad++? Go to the bats folder. Open BatteriesInstallerstock.bat
Where it says "if %selection%==1 call bats/removebatticonstock
Change it to removebatticon (in other words, remove "stock"
Then try again.
Edit: or drop this in the bats folder replacing the one that is there now.
Just take the .zip off. It's not actually zipped.

Edit2: I uploaded a whole new one on the op if you'd rather not mess with modifying the one you have.

Tried to make a module removing battery leaving % with this modification and i get a bootloop...
 

motes

Senior Member
Dec 20, 2010
433
65
Just for try i made a mod only with 36dpi status bar and allso don't boot...
 

rickysidhu_

Senior Member
Apr 1, 2016
1,894
834
Vancouver
Can you try something for me if you have notepad++? Go to the bats folder. Open BatteriesInstallerstock.bat
Where it says "if %selection%==1 call bats/removebatticonstock
Change it to removebatticon (in other words, remove "stock"
Then try again.
Edit: or drop this in the bats folder replacing the one that is there now.
Just take the .zip off. It's not actually zipped.

Edit2: I uploaded a whole new one on the op if you'd rather not mess with modifying the one you have.

Hey, extremely sorry for the super late response. Been really busy this past little while.

I should have some time later today so I'll try the new mod out and report back!

Also thank you for gradually updating this, even though I would have been happy to edit the script in notepad++! Really appreciate it.

Edit:
Just tested and works perfectly! Thank you a ton! And once again sorry for getting back to late.
 
Last edited:

hsmith1514

Member
Jun 16, 2010
43
15
The only thing I wanted to do was remove the search bar. I extracted NexusLauncherReleaseADBPixel4XL.zip, ran TulsadiverlauncherModsInstaller.bat, selected 1 for base, then 5 for Base NOsearch Medium Hotspot. Then 8 to exit base, 9 to complete installation. It didn't create an ozop folder on my sdcard, but it created a vrthemeADBmagisk folder, and within that folder was a mymagisklauncher.zip file. I installed that through Magisk, rebooted, but the search bar was still there. Did I miss a step along the way?
 

Tulsadiver

Recognized Contributor
Jul 11, 2013
9,603
7,174
The only thing I wanted to do was remove the search bar. I extracted NexusLauncherReleaseADBPixel4XL.zip, ran TulsadiverlauncherModsInstaller.bat, selected 1 for base, then 5 for Base NOsearch Medium Hotspot. Then 8 to exit base, 9 to complete installation. It didn't create an ozop folder on my sdcard, but it created a vrthemeADBmagisk folder, and within that folder was a mymagisklauncher.zip file. I installed that through Magisk, rebooted, but the search bar was still there. Did I miss a step along the way?
Check magisk to see if you gave shell root permission. If you hadn't, do it and start over.
 

Top Liked Posts

  • There are no posts matching your filters.
  • 6
    Any news about use this method in the december update??
    December update has been uploaded.
    5
    Most of my mods are SystemUI mods and so if more than one is flashed, only the first one works. This ADB mod was created so a person could pick and choose what he wants and have it all in one module. That being said, I don't have this phone and this particular mod has not been tested by me (though I have similar mods on several other Pixel phone forums). You need root and of course you need to be attached to your PC. On first installation of systemui base, a pop-up asking to give ADB shell root permission will show. Please do so. THIS ONLY HAPPENS ONCE. If you miss the popup you will have to go into Magisk manager and give shell root permission there.

    The purpose of this installer is to generate for you a custom module that you can flash in Magisk Manager. It will have all the mods that you have selected from the installer menu.

    Zip installer is installed from your phone, not your pc. You will install the mods through Magisk app. Unzip the Zip Installer onto your internal sdcard. Like ADB installer, start with a SystemUI base. Do not reboot between selections as Magisk as shows after flashing selections (options are found inside the numbered folders). Hit the back button to make your next selection. Do not reboot thru Magisk until after you are done with your selections and have flashed the "Complete Installation" zip.

    Custom clocks (date, etc) and internet speed indicators do not change colors due to light-dark background colors like the statusbar icons do.

    I'm also including my Pixel Launcher mod. Also a ADB Installer. You can change app drawer background-text color (separately for light mode and dark mode), remove weather from Launcher. Change the number of hot seat icons on home page (and size) as well as change the number of columns in the app drawer. There is already a Pixel Launcher mod here but this is here fir those that don't want to use substratum.

    ADB Installer Instructions-Root is required

    1. Flash one of the SystemUI Bases First. They provide the necessary smali files and public ID's for everything to work.
    2. Starting from the top (usually best), select the mods you are interested in. Once completed, select the "Finish building module" Option. This will create a Magisk Manager flashable zip (mymagisk.zip) in a folder on your sdcard called ozop. Flash that to install your custom module.

    Root required
    ADB Instructions.
    1. Unzip the enclosed zip file onto your PC
    2. ADB debugging in developers Enabled
    3. Run TulsadiverModsInstallerStock.bat (Give ADB Shell Root Permissions. If missed on first opportunity, turn on in magisk manager, superuser)
    4. Flash one of the SystemUI Bases First. They provide the necessary smali files and public ID's for everything to work. The only difference between the two bases is that you can change the color of the QS pulldown circle colors on the "color" base. Plus the "off" circle color isn't grey but instead the same as the "on" color only darker/dimmer.
    5. Go through the other options selecting what all mods you want. It is generally best to start at the top and work your way down.
    6. Once finished with selections, run "Complete Installation" at the bottom. This will generate your mymagisk.zip module in a folder called "ozop" on your sdcard.

    Root required
    ZIP Instructions.
    1. Unzip Zip Installer onto your internal sdcard
    2. Flash thru Magisk app. Flash the SystemUI Base First. It provides the necessary smali files and public ID's for everything to work
    (Do not reboot between selections as Magisk shows after flashing selections. Hit the back button to make your next selection)
    3. Go through the other options selecting the mods you want. It is generally best to start at the top and work your way down.
    4. Once finished with selections, flash "Complete Installation" at the top. This will install your selections as a Magisk module.


    List of MODS Available
    Clock Format and Position Mods
    Internet Traffic Speed Single Indicator (changes from upload-download) otherwise signals are over/under
    Choose Traffic Speed Indicator Up-Down Icon Colors (default is white)
    Navbar Height Options
    Navbar Swap
    Remove NavBar
    3 Minit Battery
    Battery Bar Mod
    Remove Battery icon, leave percentage
    One percent custom battery Text-only-Several to choose from
    Colored Statusbar-Navbar Icons
    Choose number of QS columns 4-7, 3 is stock
    Colored Statusbar Icons
    Remove Carrier Text Options
    Smaller LTE Icon
    Change QS pulldown circle color (for "colored" base)
    Smaller Statusbar
    Remove white gestures home_handle bar

    Note Added a couple of wifi and data signal options.
    WiFi 1 and Cell Tower 1
    WiFi 2 Cell Tower 2
    WiFi 3 data 3

    Includes a batch (.bat), and powershell installers, one for windows, one for linux. I don't have a linux computer so the linux Installer could have bugs.

    If you chose "Small Statusbar", you are not done yet You have to go to settings system/developer options/Display Cutouts and choose the last option, "waterfall cutout" in order for your mod to look right.

    **This is a SystemUI mod and might not be compatible with any other SystemUI Mods you may have installed.**

    --------------------------------
    ADB Installer
    Android 12.1
    July update
    Uploaded 7-8-22

    Zip Installer
    Android 12.1
    Uploaded 7-8-22
    July update

    ----------------------------

    Android 12
    Uploaded 1-7-22

    -------------------------------------------------
    If I helped, hit the Thanks Button!
    Feeling generous, send me a beer!
    --------------------------------------------------

    Pixel Launcher Mod
    Start by picking a base. Bases come with, or without, a search bar and Hotseat heights The larger number of rows you pick, the lower your hotseat drops on your home screen. If your hotseat comes out too low, try again with a higher base.

    Remove Search Bar
    App Drawer background color (Light and Dark Mode)
    App Drawer Text Color or remove (Light and Dark Mode)
    Home screen App Text Color
    Smart-screen Text color
    App Icon Sizes 45-50-56 dip (56 is stock)
    Columns (5-6-7)
    Rows (5 through 11)

    ADB Pixel Launcher Installer
    Android 12.1
    uploaded 5-6-22

    5
    is there any chance this will work on January update or they always need to be updated to work?
    I've reports that December works on January (I know they do on my Pixel 4 XL).
    3
    I don't have this phone but current mods still working on February patch for Pixel 4 XL.
    3
    March update has been uploaded.