Custom Magisk Module Mod Maker-ADB and Zip Installers

Search This thread

Tulsadiver

Recognized Contributor
Jul 11, 2013
9,551
7,109
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
June update
Uploaded 6-7-22

Zip Installer
Android 12.1
Uploaded 6-7-22
June 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

 
Last edited:

wgrant

Senior Member
Sep 23, 2011
1,518
513
Downloading now, work hates AFH sadly so going through data on cell phone. Will post back after and add a screenshot with my setup. Can't wait to get rid of the battery icon and carrier text!
@Tulsadiver
Removed previous mods and flashed newly created on.. Sitting at "Pixel is starting..." for a couple minutes now.
 
Last edited:

Tulsadiver

Recognized Contributor
Jul 11, 2013
9,551
7,109
Downloading now, work hates AFH sadly so going through data on cell phone. Will post back after and add a screenshot with my setup. Can't wait to get rid of the battery icon and carrier text!
@Tulsadiver
Removed previous mods and flashed newly created on.. Sitting at "Pixel is starting..." for a couple minutes now.

What did you flash?
 

wgrant

Senior Member
Sep 23, 2011
1,518
513
Funny enough, the phone is partially working, it just rang for a call but showed nothing except that message still lol. I installed the list below. I didn't see anywhere to select center clock in the build menus, is that the "small statusbar clocks" in Option 2?

Standard Base
Remove Battery Icon, Leave Percent
Remove Carrier Center Clock
QS 6 Column
Statusbar Data Icons Cell Tower 3
QS Data Icon Bar type 3
QS-Statusbar WiFi Icons 3
Waterfall Display

Gave it a few more minutes but ultimately removed modules with adb wait-for-device shell magisk --remove-modules. I'll give it another go if you think I missed something in the creator.
 
Last edited:

Tulsadiver

Recognized Contributor
Jul 11, 2013
9,551
7,109
Funny enough, the phone is partially working, it just rang for a call but showed nothing except that message still lol. I installed the list below. I didn't see anywhere to select center clock in the build menus, is that the "small statusbar clocks" in Option 2?

Standard Base
Remove Battery Icon, Leave Percent
Remove Carrier Center Clock
QS 6 Column
Statusbar Data Icons Cell Tower 3
QS Data Icon Bar type 3
QS-Statusbar WiFi Icons 3
Waterfall Display

Gave it a few more minutes but ultimately removed modules with adb wait-for-device shell magisk --remove-modules. I'll give it another go if you think I missed something in the creator.

Yes, if you install the waterfall cutout i would select a clock from the option 2, "small statusbar clocks". Otherwise your clock and/or notifications will be off.

Try baby steps. Install just a base and see if that works.

Did you use the .bat file or powershell?
 

wgrant

Senior Member
Sep 23, 2011
1,518
513
Yes, if you install the waterfall cutout i would select a clock from the option 2, "small statusbar clocks". Otherwise your clock and/or notifications will be off.

Try baby steps. Install just a base and see if that works.

Did you use the .bat file or powershell?

I used the bat file. Should I delete the previously created zip or will it overwrite?
 

wgrant

Senior Member
Sep 23, 2011
1,518
513

I see, there's a menu below option 2 in there. Might be handy to rename that to indicate there's another list instead of saying Install on it. I thought that was going to install a small clock instead lol.

Building now and will report back.

EDIT: Added the clock this time, left everything the same and had the same result. Wanted to see if the lack of center clock was throwing something off. I'll compile 1 part at a time and see which one is breaking it.

EDIT2: Rebuilt without battery icon removal and custom icons. Was able to boot but center clock didn't set, hoping I missed it. Carrier removal worked though. Recreating now WITH icon removal to see if it changes properly.

EDIT3: Rebuilt zip with remove battery icon and it wouldn't get beyond Pixel is starting again. I'm going to do another with just the base and remove battery icon to see if that is the cause.
 
Last edited:

Tulsadiver

Recognized Contributor
Jul 11, 2013
9,551
7,109
I see, there's a menu below option 2 in there. Might be handy to rename that to indicate there's another list instead of saying Install on it. I thought that was going to install a small clock instead lol.

Building now and will report back.

EDIT: Added the clock this time, left everything the same and had the same result. Wanted to see if the lack of center clock was throwing something off. I'll compile 1 part at a time and see which one is breaking it.

EDIT2: Rebuilt without battery icon removal and custom icons. Was able to boot but center clock didn't set, hoping I missed it. Carrier removal worked though. Recreating now WITH icon removal to see if it changes properly.

It's remove battery icon. I just found it was bad.

Go to the bats/Batteriesinstallerstock.bat. change the code if %selection%==1, call bats\batt\removebatticon.bat to removebatticonstock.bat

Then try again
 

wgrant

Senior Member
Sep 23, 2011
1,518
513
Found a bat file missing.

Unzip this and put these in the bats/batt folder

Was just typing a message about that. I figured I should check to see if those bats actually existed since the build happened in 2 second when I went to add it lol.

Downloaded, added and building again now.
@Tulsadiver
EDIT: Update on options used
Remove icon - only got rid of half of the icon on the status bar, it's fully there in the notification shade
Center clock - not working
Custom data/wifi icons - working
Small statusbar with waterfall - working
Carrier removal - working
 
Last edited:

Tulsadiver

Recognized Contributor
Jul 11, 2013
9,551
7,109
Was just typing a message about that. I figured I should check to see if those bats actually existed since the build happened in 2 second when I went to add it lol.

Downloaded, added and building again now.
@Tulsadiver
EDIT: Update on options used
Remove icon - only got rid of half of the icon on the status bar, it's fully there in the notification shade
Center clock - not working
Custom data/wifi icons - working
Small statusbar with waterfall - working
Carrier removal - working

Center clock did nothing or not centered, or something else?

Are you saying there is half of a battery on the statusbar or just that it's not on the statusbar but it is on the qs pulldown?
 

wgrant

Senior Member
Sep 23, 2011
1,518
513
Center clock did nothing or not centered, or something else?

Are you saying there is half of a battery on the statusbar or just that it's not on the statusbar but it is on the qs pulldown?

Screenshots attached so you can see. Center clock didn't center at all.

EDIT: Doing it again without the custom icons to see if it removes the icon properly for the batter and centers the clock.

EDIT2: No change without custom icons.
Built with right clock, small statusbar, no battery icon, custom icons for data and wifi (option 3 for 20/21/22), remove carrier (noticed there isn't an option to remove carrier for left small clock)
Right clock not working either

I won't be in front of a computer for a couple hours but can do more testing then if you have any thoughts or ideas. I'll compile and test just clocks then to see if it's something there.
 

Attachments

  • Screenshot_20201105-155149.jpg
    Screenshot_20201105-155149.jpg
    102.7 KB · Views: 188
  • Screenshot_20201105-155138.jpg
    Screenshot_20201105-155138.jpg
    73.3 KB · Views: 186
Last edited:

Tulsadiver

Recognized Contributor
Jul 11, 2013
9,551
7,109
Screenshots attached so you can see. Center clock didn't center at all.

EDIT: Doing it again without the custom icons to see if it removes the icon properly for the batter and centers the clock.

EDIT2: No change without custom icons.
Built with right clock, small statusbar, no battery icon, custom icons for data and wifi (option 3 for 20/21/22), remove carrier (noticed there isn't an option to remove carrier for left small clock)
Right clock not working either

I won't be in front of a computer for a couple hours but can do more testing then if you have any thoughts or ideas. I'll compile and test just clocks then to see if it's something there.

I found it. Holy cow! Mispelled statusbar.xml. Should be status_bar.xml. getting in too much of a hurry. This thing is pretty involved and I threw it together kind of quickly. Rerunning now. Battery icon remover should work also. ?
 

wgrant

Senior Member
Sep 23, 2011
1,518
513
I found it. Holy cow! Mispelled statusbar.xml. Should be status_bar.xml. getting in too much of a hurry. This thing is pretty involved and I threw it together kind of quickly. Rerunning now. Battery icon remover should work also. ?
Nice find. Stuff like this is pretty picky. I've spent the last month building a series of batch files to assist with tech responsibilities at work and while it's fun it can be super nerve-racking when you misspell something like that.

I'll give it a whirl once the kids are in bed.
 

Tulsadiver

Recognized Contributor
Jul 11, 2013
9,551
7,109
Nice find. Stuff like this is pretty picky. I've spent the last month building a series of batch files to assist with tech responsibilities at work and while it's fun it can be super nerve-racking when you misspell something like that.

I'll give it a whirl once the kids are in bed.

Thanks for helping and having an adventurous spirit.

Take this zip, completely replace the batt and clock folder.

Wrong one.....hang on
 
Last edited:

wgrant

Senior Member
Sep 23, 2011
1,518
513

Tulsadiver

Recognized Contributor
Jul 11, 2013
9,551
7,109
Not a problem. Glad to help where I can. I'll get those merged in and compile some new things to see. You think that'll fix the battery icon too?

Haha, no worries. Take your time. It'll be a few hours till I can test anyway.

Yes, should fix the battery icon as well.
 

Tulsadiver

Recognized Contributor
Jul 11, 2013
9,551
7,109

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
    June update
    Uploaded 6-7-22

    Zip Installer
    Android 12.1
    Uploaded 6-7-22
    June 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.