Night Light display red-only tweak - Google Pixel 4 XL Themes, Apps, and Mods

Night Light display red-only tweak
Using only the red channel for displays, such as done with CF.lumen, is important for when you want to preserve night vision (e.g., stargazing), or you want to minimize the effect of screen use on your sleep patterns. If CF.lumen ever does not work with your system, this would be an alternative approach to consider.
The below method tweaks one parameter to make Android’s built-in Night Light display use only the red channel. This use of Night Light should be combined with the also built-in Bedtime mode’s Grayscale setting to preserve display contrast.
Here are sample images with Night Light off, set to a bit more intense than normally possible, and red-only:
{
"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"
}
Night Light runs based on parameters stored in /system/framework/framework-res.apk. The runtime resource overlay (RRO) approach allows such parameters to be replaced at runtime by packages in locations such as /vendor/overlay/ and /product/overlay/. Placing an APK in one of these directories that sets the config_nightDisplayColorTemperatureMin resource sufficiently low allows Night Light to use only the red channel.
Note: If you do not use Grayscale with this modified Night Light, considerable contrast will be lost in some situations, such as white text on a red background.
These instructions are written for rooted Pixel 4 XL devices running Android 10 or 11, but a similar approach should work with other Android devices.
Create a folder on your computer that you will use to build a minimal APK, with a name referred to as [APK-name] below.
Within this folder, create the following subfolders and file:
[APK-name]/res/values/integers.xml
Click to expand...
Click to collapse
The integers.xml file should have the following contents:
XML:
<?xml version="1.0" encoding="utf-8"?><resources>
<integer name="config_nightDisplayColorTemperatureMin">0</integer>
</resources>
Note: 0 is sufficiently low to remove blue and green channels for Pixel 4 XL devices, but other devices may require negative values.
Add a manifest file to the [APK-name] folder. This will be labeled “AndroidManifest.xml” and have contents similar to the following:
XML:
<?xml version="1.0" encoding="utf-8"?><manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="com.example.RedNightLight">
<application android:hasCode="false"/>
<overlay android:isStatic="true" android:priority="2" android:targetPackage="android"/>
</manifest>
Modify the package and priority values as appropriate. The priority value sets precedence relationships with any other RROs that target package “android”. Higher values assign higher precedence.
Build the minimal APK. If using Android SDK Build Tools, copy with the [APK-name] folder and the framework-res.apk file from your device to the SDK folder. The original framework-res.apk file should be located in the device’s /system/framework/ folder. Ensure a /compiled/ folder exists in your SDK folder, or adjust the specified paths as desired. Enter the following commands within the SDK folder:
aapt2 compile --dir [APK-name]/res/ -o compiled/
Click to expand...
Click to collapse
aapt2 link -o [APK-name].apk -I framework-res.apk compiled/values_integers.arsc.flat --manifest [APK-name]/AndroidManifest.xml
Click to expand...
Click to collapse
The new APK is not signed, but does not need to be for this approach.
Pick an existing RRO APK on your device that is not critical for your use. Ensure your new APK’s filename matches that of this existing non-critical APK; it will replace that APK on your device. On the Pixel 4 XL, the AccentColorOrchidOverlay.apk file on the product partition can be a good choice, as it only changes how the orchid color is displayed. The existing overlay for AccentColorOrchid would be removed in this process, and only the default value for orchid would be used by the system.
Copy your new APK to your device such that the target file is overwritten. If you are using Magisk, create a module with the APK inserted into the appropriate file structure. Using the example of AccentColorOrchidOverlay.apk:
[module-name]/system/product/overlay/AccentColorOrchid/AccentColorOrchidOverlay.apk
Click to expand...
Click to collapse
Include a properly formatted module.prop file in the [module-name] folder. Place the module in the location expected by Magisk (/data/adb/modules/).
Reboot the device. Afterward, you should be able to set Night Light to maximum intensity and it will only use the red color channel.
(Optional) Rename the APK file in your Magisk module to a unique name, so that it no longer overwrites an existing APK, and reboot your device. The Android system might now permit both the originally-existing APK and the new APK to affect the system.
Alternatively, one can also decompile and rebuild an existing RRO APK that targets “android”, adding the same resource as above to integers.xml. Care should be taken, however, to make sure the APK is rebuilt precisely, particularly if the APK affects many resources, such as framework-res__auto_generated_rro_vendor.apk found under /vendor/overlay/. The device’s system can easily become unstable (e.g., boot loops, consistent app crashes) if your process or software, such as Apktool, is not up to date with your current version of Android.
In the event your new Magisk module prevents successfully booting into the system, this guide is helpful for recovering: https://www.thecustomdroid.com/uninstall-magisk-modules-in-twrp-recovery-guide/
The example Magisk module described above is uploaded here and can be used if your device has the target AccentColorOrchid overlay as part of its product partition.

do you have a screenshot?

Suavie103 said:
do you have a screenshot?
Click to expand...
Click to collapse
I have added a few images to the description.

I tried in Magisk v 22.
got an unzip error. I would like to try your mod out

Suavie103 said:
I tried in Magisk v 22.
got an unzip error. I would like to try your mod out
Click to expand...
Click to collapse
Sorry, the original attachment wasn't formatted for Magisk's install function. You can now use the attached ZIP file to install through Magisk.

animorum said:
Sorry, the original attachment wasn't formatted for Magisk's install function. You can now use the attached ZIP file to install through Magisk.
Click to expand...
Click to collapse
thank you, I'll try now

nice work bro it works. thank you

Suavie103 said:
nice work bro it works. thank you
Click to expand...
Click to collapse
Great, enjoy!

Tried this with Magisk 21.4 on my Mi A2 Lite (LineageOS 18.1 UNOFFICIAL) but it didn't work. I was looking for a way to just increase the intensity if the night light since it's too mild for my own taste. Could you help in any way?

Kevinmatrix said:
Tried this with Magisk 21.4 on my Mi A2 Lite (LineageOS 18.1 UNOFFICIAL) but it didn't work. I was looking for a way to just increase the intensity if the night light since it's too mild for my own taste. Could you help in any way?
Click to expand...
Click to collapse
I would guess that you are running into an issue with overwriting an existing RRO APK. The attached module targeting AccentColorOrchidOverlay.apk will only work with product partitions similar to that on Pixel 4 devices. If you created a custom module following the instructions, what APK on your device did you try to overwrite?

animorum said:
I would guess that you are running into an issue with overwriting an existing RRO APK. The attached module targeting AccentColorOrchidOverlay.apk will only work with product partitions similar to that on Pixel 4 devices. If you created a custom module following the instructions, what APK on your device did you try to overwrite?
Click to expand...
Click to collapse
To be honest I skipped to the module you provided since I'm quite inexperienced with APK building, but I failed miserably

Kevinmatrix said:
To be honest I skipped to the module you provided since I'm quite inexperienced with APK building, but I failed miserably
Click to expand...
Click to collapse
No guarantees, but you could try reusing the APK in the attached module, if you can build a module that would overwrite an inconsequential file already on your system. You might find, however, that you would need different priority or config_nightDisplayColorTemperatureMin values, which are in the APK itself.

animorum said:
No guarantees, but you could try reusing the APK in the attached module, if you can build a module that would overwrite an inconsequential file already on your system. You might find, however, that you would need different priority or config_nightDisplayColorTemperatureMin values, which are in the APK itself.
Click to expand...
Click to collapse
Thank you for your kind reply. I don't feel confident enough for now, but thanks for your support. I wish this kind of tweaking were more plug and play.

How can I implement your method to lower the night light intensity, meaning lower than in settings?

If I replace AccentColorOrchidOverlay.apk (not using a magisk module), How can I install AccentColorOrchidOverlay.apk if its not signed?

Hmmm. I cannot get this to work on Android 11 (LineageOS). I installed the zip through magisk. rebooted. magisk is mounting the file correctly. but night light is unchanged. If I run cmd overlay list in terminal emulator I do not see com.animorum.frameworkResOverlay or com.android.theme.color.orchid. Should I?

This mod can be used (unexpectedly) with ROMs having this feature to make night light less reddish (softer) even when the intensity is at its lowest level.
MaZED_UP said:
How can I implement your method to lower the night light intensity, meaning lower than in settings?
Click to expand...
Click to collapse
go to Night Light in Settings and you'll see that when you increase the intensity the screen will be so red toned, then blue and then green.
Now, your sweet spot will be between extreme red tint and the blue one, so fine tune in there based on your liking.
Please note this was only based on my personal experience.

I was finally able to get this working on LineageOS 18.1 on a Pixel 3xl. I created the overlay apk as you described. For some reason using a magisk module to replace AccentColorOrchidOverlay.apk didnt work for me. I would reboot and the com.example.RedNightLight was not in the overlay list. And neither was com.android.theme.color.orchid, so magisk appeared to be replacing the file.
EDIT: I discovered using Android:isStatic="true" enables the overlay but also prevents it from showing the overlay list (cmd overlay list). So I believe your module was in fact working. I just didnt realise it because I had to drastically change the values, as you can see below, to get this working right on the pixel 3xl.
I got it to work by adb pushing the apk to system/product/overlay/RedNightLight/RedNightLight.apk. After rebooting the overlay was installed. and enabled in the overlay list.
I had to play around with the settings but this is what worked the best on my pixel 3xl.
XML:
<?xml version="1.0" encoding="utf-8"?>
<resources>
<integer name="config_nightDisplayColorTemperatureDefault">-1250</integer>
<integer name="config_nightDisplayColorTemperatureMax">0</integer>
<integer name="config_nightDisplayColorTemperatureMin">-2500</integer>
</resources>
Thanks for the write up! I learned a lot getting this to work.

Related

[PC-APP] GalaxyS3 Mod Tool

I made this tool originally for SonyEricsson Xperia X10, but have now modified it to work for our Samsung Galaxy S3. I hope it will make life a little easier when modifying files on the device. It uses ADB to pull and push files, change file permissions and much more - so users don't need to remember long command prompt/terminal emulator commands! It also has a nifty little application manager, which allows for quick installation, backup, and removal of both pre and self -installed software. It has a LogCat function to read and save logs on the go when investigating errors, as well as functionality to decompile/recompile APK, JAR and ODEX files, sign and zipalign APKs, and decompile System images. ADB Shell will be released in v0.6.2.
{
"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"
}
Instructions:
1. Extract archive.
2. Install LinuxReader to GalaxyS3ModTool\tools\LinuxReader.*
3. Run GalaxyS3ModTool.jar
*This step is only needed for the Decompile System function in the ROM Manager.
Note: Make sure your phone is connected in debug mode, you have root privileges, and unsecured your device's shell. The application will try to unsecure your shell if you haven't already, but worst case scenario you might have to do this manually.
Also, the manage ROMs functionality is still experimental, and the Recompile System function is disabled. If you know how these processes can be automated, let me know and I will incorporate the functionality.
If you have problems, let me know and I will try to sort them out with you. Keep in mind that often when a modification goes wrong, you can simply push back the original files and reboot. So keep backups handy!
Reserved in case of future expansions.
Reserved in case of future expansions.
Thank you!
I'll finally be able to modify the ODEX files :victory:
Is it possible to recompile an ODEX file to .odex (not .jar)?
Great tool
Thanks!!!
Great tool. Looks very promising
Sent from my GT-I9300 using Tapatalk 2
Saleen NS said:
Thank you!
I'll finally be able to modify the ODEX files :victory:
Is it possible to recompile an ODEX file to .odex (not .jar)?
Click to expand...
Click to collapse
Yes modifying ODEX:ed filesystems has become a breeze Just remember to remove the original *.ODEX file from your system if you incorporate it into its associated APK or JAR.
As ODEX is a device-specific format, compiled to be most effective on specific hardware, recompiling with baksmali to *.DEX and renaming to *.ODEX is not enough. I don't know of any way to recompile to proper *.ODEX, but I mean it has to be possible, and if anyone knows how - please drop a line here or PM me. However the rule of thumb is to not decompile and incorporate the *.ODEX unless smali-code is being edited. This will allow you to keep the efficiency of the original *.ODEX file, and just replace the APK or JAR - i.e. having no negative effect on performance.
EDIT: Realized there is a way to recompile to *.ODEX on the device via the dexopt binary. Working on implementing the functionality.
Thanks for your work!
Warren87 said:
Thanks for your work!
Click to expand...
Click to collapse
shahed26 said:
Great tool. Looks very promising
Sent from my GT-I9300 using Tapatalk 2
Click to expand...
Click to collapse
SETdown said:
Great tool
Thanks!!!
Click to expand...
Click to collapse
Great to hear you guys like it!
I've got version 0.6.1 in testing now, with proper ODEX recompilation functionality incorporated. Will upload it soon.
Unable to run d App!
I downloaded d files & followed above instructions...but clicking on GalaxyS3ModTool.jar opens the archive! What am i doing wrong?
Very promising tool! I will test in weekend and give a feedback!:good:
Mr.Mefisto said:
Very promising tool! I will test in weekend and give a feedback!:good:
Click to expand...
Click to collapse
Good stuff! Looking forward to that.
harryS2 said:
I downloaded d files & followed above instructions...but clicking on GalaxyS3ModTool.jar opens the archive! What am i doing wrong?
Click to expand...
Click to collapse
Do you have Java installed?
harryS2 said:
I downloaded d files & followed above instructions...but clicking on GalaxyS3ModTool.jar opens the archive! What am i doing wrong?
Click to expand...
Click to collapse
Java must be installed on your PC and .jar files associated with java.
Sent from my GT-I9300 using xda premium
Thnx this is what i need.
Works great.
Version 0.6.1 is now uploaded in first post!
Updates:
I have implemented proper ODEX recompilation functionality. However, it requires the device to be connected as the operation has to be performed from within the system and then pulled back out. The tool will let you know when to connect your phone. For the process to be possible, a wrapper for the binary dexopt needs to be pushed to /system/bin - so this is also done programatically.
Some user prompts have been added to make human mistakes less likely. For example if you say you want to decompile an associated ODEX file, you must also specify the framework directory - or nothing will happen.
A fancy automagic script has been added for JAR-decompilation. It turns out since the dex-optimizing of ROMs, some JAR-files don't include a classes.dex file anymore, which makes baksmali.jar cough up errors. But recompiling the ODEX file as classes.dex and inserting it into the JAR makes it decompile properly - so this is what the script has automated when it recognizes the situation.
I have actually rewritten most of the decompilation/recompilation code to execute more efficiently. When time flies and inspiration runs amok, this sadly results in djungle-code. So I had to clear everything up into reusable functions so that nothing is repeated or unnecessary slow.
Happy modding folks!
ADB Shell has been implemented in the coming version. Screenshots updated in first post.
Wow, what a quite bunch
Version 0.6.2 is uploaded in first post.
Changelog:
ADB Shell functionality implemented
Some bug fixes
Fantastic work!
If anyone notices this tool working on another device - please post the device name here with any related problems. I'm looking into extending the device support for this tool.
This tool is very convenient .. I used it for the nexus 7 with firmware 4.1.2
too bad that does not work with 4.2, we look forward to updates
still great

[Q][THEME] Replacing PNG in system file

Hello.
I am running this ROM, and my lockscreen looks like this:
{
"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"
}
I want to replace the white circle around the icon (displayed when hovering the icon, before releasing the finger from the screen). It just needs to be transparrent.
The developer of the ROM wrote this to me:
final Drawable activeBack = mResources.getDrawable(com.android.internal.R.draw able.ic_lockscreen_target_activated);
...
So change icon ic_lockscreen_target_activated.png
Click to expand...
Click to collapse
The commit to the Git is here: https://github.com/IceColdJelly42/frameworks_base/commit/f1971285b709593873bf8c3effd144087b710104
Question: So far, i understand that i must replace the PNG in the system, but where would it reside? I dont think its in an APK as such, as its the system itself (though that could be apk's aswell...?). I was pointed to this tutorial that should have info on how to do it, but the guide refers to APK-filenames, and again, whats the APK filename? I have no APK in data/app or in system/app that matches "com.android.internal" - so im quite out of luck....?
Any advice on how to proceed is welcome. I have downloaded the PNGs attatched in the ZIP, from the source (git), those are the ones i want to replace with (they are all transparrent as they should be, for my project).
Kind Regards
TwinAdk
The image that you're looking for, is in "framework-res.apk\res\drawable-xhdpi.
When you have changed the image, push framework or copy/paste it in system\framework and reboot!
For security, make a nandroid backup
Okay, so framework-res.apk, and then follow the guide i linked to, and just mirror the structure of the folders in the apk (\res\drawable-xhdpi) - correct?
Or should i unpack the apk, replace pics, resign the apk and push instead?
Also, xhdpi, hdpi, etc.. Whats the difference except the size of the images (resolution)? Is it if i have a phone with lower res, i will need the lower res images?
Thanks so far!
EDIT: You made me laugh there sir..! ALWAYS a nandroid backup! Rather 10 useless backups, than one missing..! :victory:
TwinAdk said:
Okay, so framework-res.apk, and then follow the guide i linked to, and just mirror the structure of the folders in the apk (\res\drawable-xhdpi) - correct?
Or should i unpack the apk, replace pics, resign the apk and push instead?
Also, xhdpi, hdpi, etc.. Whats the difference except the size of the images (resolution)? Is it if i have a phone with lower res, i will need the lower res images?
Thanks so far!
Click to expand...
Click to collapse
With winrar or similar, open the apk, go to res\drawable-xhdpi and change image.
Now, you can push framework in rom and see results
I know that change only resolution of icons in that folder
Here you go. Push to /system/framework/ and set permissions.
Don't know if it will work 'cause I don't have ICJ flashed at the moment. Make a backup before trying it.
I had to compress it before uploading because the limit was 8mb.
Sv: [Q][THEME] Replacing PNG in system file
TToivanen said:
Here you go. Push to /system/framework/ and set permissions.
Don't know if it will work 'cause I don't have ICJ flashed at the moment. Make a backup before trying it.
I had to compress it before uploading because the limit was 8mb.
Click to expand...
Click to collapse
Wow, will try that! If it fails ill investigate tomorrow.
Kind Regards
TwinAdk
- Via the XDA app
Hello.
How can i push it to system/framework? I tried adb shell when in recovery, but i cannot access the framework folder.. /system/ nothing (only bin?)
Also, adb push gave this:
C:\fastboot>adb push framework-res.apk system/framework/framework-res.apk
failed to copy 'framework-res.apk' to 'system/framework/framework-res.apk': No s
uch file or directory
Click to expand...
Click to collapse
Output from shell, while in recovery (only place adb shell works, except from when the phone is booted, but i tried renaming the apk via a file explorer, the system crashed, lol).
~ # whoami
whoami
root
~ # df -h
df -h
Filesystem Size Used Available Use% Mounted on
tmpfs 488.2M 48.0K 488.1M 0% /dev
/dev/block/mmcblk0p13
315.0M 5.2M 309.7M 2% /cache
Click to expand...
Click to collapse
Any advice?
Put / in front of system. It should be /system/framework/
Sent from my One X
adb works in android, not in recovery
Guich said:
adb works in android, not in recovery
Click to expand...
Click to collapse
It does work in recovery too. You should try it.
Sent from my One X
TToivanen said:
It does work in recovery too. You should try it.
Sent from my One X
Click to expand...
Click to collapse
Ill try to add / in recovery. When i did so in android, i got an error that the filesystem was read only.. I am rooted.
Update: It pushed correctly, but i only see that one file..... After reboot the file was not modified.. Verified with solid explorer.
ls while in recovery:
/system/framework # ls -lah
ls -lah
drwxrwxr-x 2 root root 0 Jan 29 20:28 .
drwxr-xr-x 4 root root 0 Jan 29 20:28 ..
-rw-rw-rw- 1 root root 8.6M Jan 29 16:09 framework-res.apk
Oh well, moved the apk with solid explorer, from sd to system/framework (overwrite exsisting) - phone is rebooting now..
UPDATE: Didnt boot up.. Trying to clear cache and dalvik, then well se.. Think ill have to revert to my dear nandroid
Well, damn it. I replaced the pngs with the files you provided, built and signed without an error. It should be OK but as I said I don't have ICJ installed so troubleshooting is a bit difficult.
Try to do it yourself with apktool.
Sent from my One X
Sv: [Q][THEME] Replacing PNG in system file
Will do. Your apk was considerably smaller than my original, also it struck me that you cannot have guessed my version of the custom rom, and thus the correct apk to use as source. I guess it is modified on each version?
Kind Regards
TwinAdk
- Via the XDA app
Hello.
I tried recreating the APK, using my own framework-res.apk as source.
I also found out how to push to system from CWM - you need to mount /system - DOH!
But it fails.... The phone never boots, i even chmodded the apk with 644, so the permissions are the correct ones..
Back to nandroid backup, and drawing table....
Anyone have any clue as to why the new apk failed? Followed this guide, and loaded the sources to UIsystem,apk and framework-res.apk before editing the APK.
When building the APK i got this output, and it does however not match the output in the guide - the "Could not find sources" does worry me a bit, should it..?
Found the reason for the "could not find sources":
A framework-res.apk is itself the source of other apks( when you install it - apktool if...). So the message that you got is normal.
Click to expand...
Click to collapse
Ref: http://forum.xda-developers.com/showpost.php?p=31832660&postcount=12
The .apk I started with was from 1.5.9 and it was 12mb in size.
Apks tend to lose weight when they are de/recompiled and that's why the finished product was only 8mb.
If the apk method fails, you could build the whole ROM yourself on a linux PC.
Keep me posted!
Sent from my One X
Well, though i used unix before, i dont wish to put the effort into building from source It seems building in a VM fails for many, and it requires quite alot of space...
My apk also lost weight, 8 mb after rebuild.. If the image is there, it does not matter what bitdepth and other fancy settings it was saved with, right? Aslong as the apk was build correctly, and chmodded correctly, the phoen should boot, right (and display an ugly image, if it wants - but at least boot!)
Did you sign the package?
Sent from my One X
No, according to the guide i followed:
Now, final step is signing the apk file.
Remember don't sign the apk if it's a SYSTEM app, unless you have edited the AndroidManifest.xml.
Click to expand...
Click to collapse
I suppose its a system app, as it resides in /system/framework...?

[DEV RESOURCES][AMDL] P-ROM, Dump, Tools, Resources & Tips [5/18]

I have gathered pretty much all the things useful in modding our system.
I ask other developers to post their findings here also.
My aim is to allow people to learn how make their own edits and mods.
Happy modding,
As of now our only option for recovery from a screw up is flashing the stock image via Odin, so be careful.
Developer Tools:
AIO Tool Pack - The main tools I used in creating this deodexed package (Includes the following)
APK Manager with the compatible ApkTool and AAPT (Took me a while to find compatible versions of both due to strange qualifiers in resource APKs)
Dex2Jar with JD-Gui (Useful for checking out JavaCode in order to apply to ByteCode) (If you've got an extra Kilo-Dollar to spare check out Jeb)
Baksmali/Smali Manager for editting jar files
Odin 3.07 for flashing stock firmwares (available in dev thread)
Click to expand...
Click to collapse
Click to expand...
Click to collapse
Psuedo-ROM
Deodexed System Installer With Listed Mods
(Mirror) (MD5:108a5553c6ae82af9b0a3319ceffc8b8)
All Responsibility Are Belongs To You
Entire deodexed system with some mods already installed. Based on the AMDL ota update.
You must be rooted and updated to build number I337UCUAMDL.
I recommend a factory reset, fresh wipe via Odin, updating ota, rooting, then installing this package.
After installing it is recommended that you freeze the OTA apps in order to block OTA updates.
- LocalFOTA, AT&T Software Update, FWUpgrade
- Mod list:
5/18/13 -
Removed struck-out items from 5/8/13 change log for NottachXposed compatiblity
Integrated debloater into installer
Added extended power menu (scrosler)
Added init.d support (scrosler)
-Added zipAlign init.d script
Added 1% battery support for SystemUI
Click to expand...
Click to collapse
5/9/13 -
Tethering enabled via framework-res.apk, includes Bluetooth tethering (romracer)
Removed WiFi connected notification via SecSettings.apk
Enabled accessibility widgets via SecSettings.apk
Removed carrier label in status bar via SystemUI.apk
Removed full battery notification via SystemUI.apk
Removed loud volume warning via framework.jar
Option to unlock all AT&T APNs (In installer)
Unhid broadband APNs
Enabled scrolling wallpaper
Removed launcher help text
Removed multi-window help button
Removed boot sound
Redeodexed entire AMDL update
Fixed APKs for de/recompiling
More...
Click to expand...
Click to collapse
-Installation:
Copy "copy_to_sdcard" folder to internal sdcard
With USB debugging enabled run the Windows BAT file in the package.
Answer questions.
Profit...
Click to expand...
Click to collapse
Click to expand...
Click to collapse
Click to expand...
Click to collapse
Tutorials:
Framework installation using ApkTool
Modding using Apk Manager
Reading source using Dex2Jar
Click to expand...
Click to collapse
Click to expand...
Click to collapse
Tips & How-Tos:
Exposed framework installer - Use this version of the exposed installer which is compatible with the S4
More tips & mods
Click to expand...
Click to collapse
Click to expand...
Click to collapse
Extra Downloads:
Debloater bat file - Removes AT&T, Google, and Samsung bloat (Open in any text editor to inspect/edit the files that will be removed)
I337UCUAMDL_RAW_SYSTEM_DUMP - The base from which this deodexed installer is created from
Click to expand...
Click to collapse
Click to expand...
Click to collapse
Framework installation using ApkTool
In order to use Apk_Manager on System APKs you will first need to install the System Frameworks to your ApkTool.
Assuming you have downloaded both zips from the first post unzip the tools folder to a location of your choosing.
Next, extract the frameworks zip to your newly created Apk_Manager folder and place them in the 'other' folder so they are in scope of apktool.jar, also in the 'other' folder.
Now, with no files selected in the 'other' folder, Shift+RightClick an empty area of the folder and choose "Open command window here".
Do:
Code:
apktool if framework-res.apk
&&
Code:
apktool if twframework-res.apk
The frameworks should be installed as 1.apk and 2.apk respectively. Confirm by navigating to C:/Users/<YOU>/apktool/framework.
Example output:
{
"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"
}
You should see 1.apk and 2.apk, they will be a different file size of the res APK, this is because they only contain info pertaining to APKs that may utilize their resources.
Now you have your frameworks installed correctly and can continue using Apk-Manager to Mod your other, deodexed, APKs, such as SystemUI.apk.
I hope this will be helpful to some, if there are any additional steps I can add to make it clearer please let me know.
Modding using Apk Manager
Apk-Manager examples coming soon...
Reading source using Dex2Jar
Dex2Jar is a useful tool for generating Java source from APK/JAR dex files.
In order to use Dex2Jar first open your APK/JAR with WinRar or similar and extract the dex file to the Dex2Jar root directory.
Next drag-n-drop the dex file onto dex2jar.bat. This will create a jar archive in the same directory.
Next drag-n-drop that newly created jar onto jd-gui.exe.
This will open a tree view of the Java source.
Note that it is not always possible for Dex2Jar to reconstruct the source code and some classes may have errors.
Also, structure of the source may be in somewhat ByteCode format, still having gotos and labels...
For more information on Dalvik opcodes see here.
Another tool useful in reconstructing Java code is Virtuous Ten Studio.
Did you know?
A few additional places to look at are...
Disable WiFi Connected Notification -
http://forum.xda-developers.com/showpost.php?p=40865546&postcount=6
Click to expand...
Click to collapse
Disable Loud Volume Warnings -
http://forum.xda-developers.com/showpost.php?p=40970794&postcount=10
Click to expand...
Click to collapse
Enable "Find My Mobile" in Settings -
system/csc/feature.xml { CscFeature_Setting_DisableMenuFindMyMobile="false", CscFeature_Setting_FindMyMobile="true" }
Click to expand...
Click to collapse
Unhide 'broadband' APNs in Network Settings -
system/csc/feature.xml { CscFeature_Setting_HideApnList="" }
Click to expand...
Click to collapse
Enable APN edits -
SQL Editor - data/data/com.android.providers.telephony/databases/nwk_info.db_carriers - Δ editable to '1'
Click to expand...
Click to collapse
Nottach said:
A few additional places to look at are...
Click to expand...
Click to collapse
That tip about enabling Find My Mobile is quite nice. After changing that, the option does show up in Settings -> More Tab -> Security; however it doesn't appear to work correctly. The phone never shows up as registered on my Samsung Account. I even tried creating a new Samsung account to test with and by enabling remote control when over wifi and cell data.
captawsm said:
That tip about enabling Find My Mobile is quite nice. After changing that, the option does show up in Settings -> More Tab -> Security; however it doesn't appear to work correctly. The phone never shows up as registered on my Samsung Account. I even tried creating a new Samsung account to test with and by enabling remote control when over wifi and cell data.
Click to expand...
Click to collapse
Hmm, just checked it out and it seems they haven't added the S4 to the list of devices? Maybe in the future they will.
I saw that the S III shows up in the list of devices on the Samsung Dive website. I still have my "stock" rooted S III so I might check to see if this trick works on there and if it will register on the site. I can post results if anyone is interested which may let us know if we just need to wait till the S4 shows up on the site.
Edit: if anyone wanted to know: Tried on a stock rooted AT&T S3 w/ 4.1.1 and ran into same issue - I can enable remote controls but device never registers on the samsungdive.com website so maybe there is something more to getting Find My Phone working that just editing features.xml
If someone else tries this, I'd be interested in hearing if you run into the same problem.
I do a lot of decompiling/recompiling and minor smali/xml edits, I just want your general opinion here.. Do you or have you ever used Chainfires Fast AAPT?
http://forum.xda-developers.com/showthread.php?t=1907281
So I'm trying to disable the Media Volume Alert by modifying android\media\AudioManager of framework.jar, as shown below, and I'm unable to get the device to fully boot after replacing the original file. It just hangs on the AT&T logo. I can get ADB so I can replace the original and then it boots.
Does my mod look like it should break it? All I did was change the level at which the dialog appears to 16 (0x10) instead of 10 (0xa). I would think that would be OK. I don't get any error recompiling either. I've tried wiping dalvik-cache between replacements, no luck. I've also tried returning false at the beginning of the 'isEarProtectLimitOn' method, no luck. I'm stuck, any ideas?
line 483
Code:
# direct methods
.method static constructor <clinit>()V
.registers 1
.prologue
.line 60
const-string v0, "AudioManager"
sput-object v0, Landroid/media/AudioManager;->TAG:Ljava/lang/String;
.line 269
const/16 v0, 0xd
new-array v0, v0, [I
fill-array-data v0, :array_16
sput-object v0, Landroid/media/AudioManager;->DEFAULT_STREAM_VOLUME:[I
.line 2971
const/16 v0, 0x10
sput v0, Landroid/media/AudioManager;->EAR_PROTECT_LIMIT_INDEX_DISABLE:I
.line 2972
[COLOR="Red"]-- const/16 v0, 0xa[/COLOR]
[COLOR="Green"]++ const/16 v0, 0x11[/COLOR]
sput v0, Landroid/media/AudioManager;->EAR_PROTECT_LIMIT_INDEX_NORMAL:I
EDIT: This is the correct edit to disable the Loud Volume Notification. I guess my tools were out of date. After updating baksmali it worked.
Basically instead of at level 10 it triggers only at the max volume, which I think is triggered someplace else. I'll keep looking for the root.
EDIT2: In addition to the above edit the 'EAR_PROTECT_DEFAULT_INDEX' needs to be changed so it doesn't trigger at Max Volume.
Same file, line 109:
Code:
.field public static final EAR_PROTECT_DEFAULT_INDEX:I = [COLOR="Red"]0x11[/COLOR]
No moar Loudness warnings!!
Nottach said:
A few additional places to look at are...
Click to expand...
Click to collapse
Thanks for this!
This was my first time editing SQL db's, so I didn't want to do anything I wasn't sure about. After making the APN's editable, the APN protocol is still grayed out. Is there a way to change the default value of the APN protocol itself (specifically to "iPv4/iPv6") within the database?
Hey man i see ur postinf mods. I removed the ongoing wifi on s3 and same exact method works on s4 but needs to be using a deodex system which i will push this weekend however i can get u a guide if u wanna try?
sgh-i747(d2att)(sgs3) on latest cm10.1 or ultimatum
howtomen said:
Hey man i see ur postinf mods. I removed the ongoing wifi on s3 and same exact method works on s4 but needs to be using a deodex system which i will push this weekend however i can get u a guide if u wanna try?
sgh-i747(d2att)(sgs3) on latest cm10.1 or ultimatum
Click to expand...
Click to collapse
You mean the WiFi Connected notification?
I found this method. Is yours different?
Mine seems to work well but I'm curious as to what you found too.
Nottach said:
You mean the WiFi Connected notification?
I found this method. Is yours different?
Mine seems to work well but I'm curious as to what you found too.
Click to expand...
Click to collapse
in the s3 we used this method which still works and only requires the secsettings http://forum.xda-developers.com/showpost.php?p=29047026&postcount=1
howtomen said:
in the s3 we used this method which still works and only requires the secsettings http://forum.xda-developers.com/showpost.php?p=29047026&postcount=1
Click to expand...
Click to collapse
I see, I think my method never calls the NotificationManager because it returns doNotShowNotification while yours still creates the notification but never calls show() on it. which may lead to memory leaks. I think mines cleaner?
Nottach said:
I see, I think my method never calls the NotificationManager because it returns doNotShowNotification while yours still creates the notification but never calls show() on it. which may lead to memory leaks. I think mines cleaner?
Click to expand...
Click to collapse
i see makes good sense thanks for the work
@howtomen You have experience making all apps multi-window? I was abe to get the all to show in the drawer but their indexes are messed up and the wrong app gets added when dragging.
I think I have to fix or create the adapter?
Why not linking directly to the tools? dex2jar and smali are udpated often, and the current APKTool fails to properly decode some resources in stock firmware of this device.
Nottach said:
I have gathered pretty much all the things useful in modding our system.
I ask other developers to post their findings here also.
My aim is to allow people to learn how make their own edits and mods.
Let's fill this Thread with detailed how-tos instead of this Section with crappy themed ROMs.
Happy modding,
As of now our only option for recovery from a screw up is flashing the stock image via Odin, so be careful.
Downloads:
Tool Pack
APK Manager with the newest ApkTool and AAPT (Took me a while to find compatible versions of both due to strange qualifiers in resource APKs)
Dex2Jar with JD-Gui (Useful for checking out JavaCode in order to apply to ByteCode)
Baksmali/Samli Manager for editting jar files
Odin 3.07 for flashing stock firmwares (available in dev thread)
Frameworks Only
Framework files for ApkTool installation (Ready for installation to ApkTool)
Entire Deodexed System With Listed Mods
Entire deodexed system with some mods already installed for a common developer base.
Installable if you know how. Based off romracers deodexing.
- Mod list:
Instruction:
Framework installation using ApkTool
Modding using Apk Manager
Reading source using Dex2Jar
Tips & How-Tos:
http://forum.xda-developers.com/showpost.php?p=40914188&postcount=5
Click to expand...
Click to collapse
Nottach said:
@howtomen You have experience making all apps multi-window? I was abe to get the all to show in the drawer but their indexes are messed up and the wrong app gets added when dragging.
I think I have to fix or create the adapter?
Click to expand...
Click to collapse
Very excited to see this happen. Really miss this from my hacked S3.
Sent from my SAMSUNG-SGH-I337 using xda app-developers app
That download speed from devhost is PAINFUL! I'm working on porting over cm10.1's MMS.apk for our device once this is finished. I may try to find a you better mirror man lol.

viper4android on 8.1.0

has anyone figured out viper4android on 8.1?
i think we need to wait for the kernel sources to get released. I tried magisk + v4a magisk module + busybox + permissive mode - and still no dice
What Version of v4a did you try?
Yes, I have it working.
Install it as normal (2.5.0.5, ShadySquirrel) with magisk and reboot
Use a root file explorer (I use Solid) to move /magisk/viper4android/system/lib/ to /magisk/viper4android/vendor/lib. Copy this folder to /magisk/viper4android/system/vendor/lib (making folders as well)
Copy /system/lib/libstdc++.so to both of these folders
Reboot, viper won't complain about drivers now. Open Viper's settings and set it to compatibility mode, and disable selinux with the development settings. You have to disable selinux every reboot for it to keep working.
I'll repackage the module at some point but this is how it works
did anyone get this to work? i followed directions and its still propting me to install driver
slothdabski said:
did anyone get this to work? i followed directions and its still propting me to install driver
Click to expand...
Click to collapse
I'll give it a go... usually good with this stuff and I'll let you know!
---------- Post added at 12:33 PM ---------- Previous post was at 12:13 PM ----------
Following those steps I was able to at least get Viper to install the driver without the I/O error.. but after I reboot it still asks to install... still trying. I deleted the /magisk/viper4android/system/lib/ after moving everything to /magisk/viper4android/system/vendor/lib ... maybe that was wrong?
---------- Post added at 12:51 PM ---------- Previous post was at 12:33 PM ----------
Not working here.. just can't seem to get it configured properly. Was able to get rid of the I/O error but.. it's still not enabled no matter what I do with it...
---------- Post added at 01:19 PM ---------- Previous post was at 12:51 PM ----------
I'm relocking my device... nothing to do with the process I attempted here.. Just keep losing root randomly and other odd behaviors ... will wait for an updated Magisk and Viper. Cheers!
wasn't able to get past the drive i/o error
i wasn't able to get past v4a complaining about drivers. i even recursively chmod -R 755 everything in the /magisk/viper4android folder in a desperate attempt to sift out a permissions issue
can someone who got past the drivers issue run:
ls -l -R
in /magisk - and paste the screenshot or output here? i've been using adb shell with root btw to navigate around the filesystem.
thanks!
Quinny899 said:
Yes, I have it working.
Install it as normal (2.5.0.5, ShadySquirrel) with magisk and reboot
Use a root file explorer (I use Solid) to move /magisk/viper4android/system/lib/ to /magisk/viper4android/vendor/lib. Copy this folder to /magisk/viper4android/system/vendor/lib (making folders as well)
Copy /system/lib/libstdc++.so to both of these folders
Reboot, viper won't complain about drivers now. Open Viper's settings and set it to compatibility mode, and disable selinux with the development settings. You have to disable selinux every reboot for it to keep working.
I'll repackage the module at some point but this is how it works
Click to expand...
Click to collapse
Didn't seem to work for me on 8.1 DP2. Maybe i copied the files wrong? I copied the lib folder from /magisk/viper4android/system to /magisk/viper4android/vendor, so basically I just copied the lib folder to that location. Then i went to /system/lib and copied libstdc++.so to /magisk/viper4android/system/lib/ and /magisk/viper4android/vendor/lib. Switched to permissive mode and compatibility and still bugs me about drivers. Maybe I had to move the files and not copy? I really don't know and I'm going crazy here. Any idea what I should do?
joedajoester said:
Didn't seem to work for me on 8.1 DP2. Maybe i copied the files wrong? I copied the lib folder from /magisk/viper4android/system to /magisk/viper4android/vendor, so basically I just copied the lib folder to that location. Then i went to /system/lib and copied libstdc++.so to /magisk/viper4android/system/lib/ and /magisk/viper4android/vendor/lib. Switched to permissive mode and compatibility and still bugs me about drivers. Maybe I had to move the files and not copy? I really don't know and I'm going crazy here. Any idea what I should do?
Click to expand...
Click to collapse
I've attached the viper folder from my magisk directory. Replace yours with it and set any file's permissions (although that shouldn't be needed because magisk can handle it), reboot and see if that works:
https://drive.google.com/file/d/1oTTQbox31LvPzQCd2iDadNZJIXJDcdHp/view?usp=sharing
Note, the zip IS NOT flashable, IS NOT installable by magisk and SHOULD NOT be used on anything other than a Pixel 2 XL running the 8.1 preview.
Quinny899 said:
I've attached the viper folder from my magisk directory. Replace yours with it and set any file's permissions (although that shouldn't be needed because magisk can handle it), reboot and see if that works:
https://drive.google.com/file/d/1oTTQbox31LvPzQCd2iDadNZJIXJDcdHp/view?usp=sharing
Note, the zip IS NOT flashable, IS NOT installable by magisk and SHOULD NOT be used on anything other than a Pixel 2 XL running the 8.1 preview.
Click to expand...
Click to collapse
Worked for me. I'm running the 8.1 preview DP2.
Strangely enough, your install files contained extra files than mine. The audio_effects.xml file wasn't there for mine on any installation. How odd.
Thank you, though. I followed your instructions in an earlier post and it never once started to work.
I'm not using compatible mode either.
Ariac Konrel said:
Worked for me. I'm running the 8.1 preview DP2.
Strangely enough, your install files contained extra files than mine. The audio_effects.xml file wasn't there for mine on any installation. How odd.
Thank you, though. I followed your instructions in an earlier post and it never once started to work.
I'm not using compatible mode either.
Click to expand...
Click to collapse
I modified that file a while ago as a test, no idea if it makes a difference. It might do ¯\_(ツ)_/¯
Quinny899 said:
I've attached the viper folder from my magisk directory. Replace yours with it and set any file's permissions (although that shouldn't be needed because magisk can handle it), reboot and see if that works:
https://drive.google.com/file/d/1oTTQbox31LvPzQCd2iDadNZJIXJDcdHp/view?usp=sharing
Note, the zip IS NOT flashable, IS NOT installable by magisk and SHOULD NOT be used on anything other than a Pixel 2 XL running the 8.1 preview.
Click to expand...
Click to collapse
It works! Thank you so much. At first it made the viper app disappear so I started over. I installed the module from magisk, rebooted and then copied the files, set selinux to permissive and then I was in business. Seriously thank you so much. Without viper, my car won't play below 50hz and with viper I can make it play down to 30hz. I also made my own convolver file to add a high pass filter so that my speakers don't try to play below 30hz because then they distort at moderate volume. With the convolver, I am able to blast it. Makes it sound like a have a subwoofer and I am pushing my speakers almost to their limits, but boy do they sound great. Again, thank you!
joedajoester said:
It works! Thank you so much. At first it made the viper app disappear so I started over. I installed the module from magisk, rebooted and then copied the files, set selinux to permissive and then I was in business. Seriously thank you so much. Without viper, my car won't play below 50hz and with viper I can make it play down to 30hz. I also made my own convolver file to add a high pass filter so that my speakers don't try to play below 30hz because then they distort at moderate volume. With the convolver, I am able to blast it. Makes it sound like a have a subwoofer and I am pushing my speakers almost to their limits, but boy do they sound great. Again, thank you!
Click to expand...
Click to collapse
Oh yeah, I never install the viper app to the system because it doesn't load IR profiles correctly then. I always remove it from the module and install it as a user app, you can also use any themed version you want then, like the material one:
{
"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"
}
Quinny899 said:
I've attached the viper folder from my magisk directory. Replace yours with it and set any file's permissions (although that shouldn't be needed because magisk can handle it), reboot and see if that works:
https://drive.google.com/file/d/1oTTQbox31LvPzQCd2iDadNZJIXJDcdHp/view?usp=sharing
Note, the zip IS NOT flashable, IS NOT installable by magisk and SHOULD NOT be used on anything other than a Pixel 2 XL running the 8.1 preview.
Click to expand...
Click to collapse
It works for me for phone speaker but I can't get it to process Bluetooth.
Quinny899 said:
Oh yeah, I never install the viper app to the system because it doesn't load IR profiles correctly then. I always remove it from the module and install it as a user app, you can also use any themed version you want then, like the material one:
Click to expand...
Click to collapse
Would you mind sharing your convolver for the low pass filter and/or be able to combine it with sibilance correction in the 8khz range (or teach us how)? I'm trying to use Tracks master de-essed convolver. The problem I'm having is that in BSD_Geek Jake's IRS pack, *the convolvers aren't working*.
I extracted the IRS files directly to the Kernel folder in Viper4Android directory on sdcard. Viper is processing, and I know because if I toggle FET compressor, I hear the difference. However, choosing any convolver doesn't affect sound.
Quinny899 said:
I've attached the viper folder from my magisk directory. Replace yours with it and set any file's permissions (although that shouldn't be needed because magisk can handle it), reboot and see if that works:
https://drive.google.com/file/d/1oTTQbox31LvPzQCd2iDadNZJIXJDcdHp/view?usp=sharing
Note, the zip IS NOT flashable, IS NOT installable by magisk and SHOULD NOT be used on anything other than a Pixel 2 XL running the 8.1 preview.
Click to expand...
Click to collapse
it works! thanks alot Quinny899
davidisflash said:
Would you mind sharing your convolver for the low pass filter and/or be able to combine it with sibilance correction in the 8khz range (or teach us how)? I'm trying to use Tracks master de-essed convolver. The problem I'm having is that in BSD_Geek Jake's IRS pack, *the convolvers aren't working*.
I extracted the IRS files directly to the Kernel folder in Viper4Android directory on sdcard. Viper is processing, and I know because if I toggle FET compressor, I hear the difference. However, choosing any convolver doesn't affect sound.
Click to expand...
Click to collapse
Like I say, remove the app from the magisk module's system/priv-app, reboot and install it as you would any other APK. I don't know why module authors insist on having the APK in the system, it breaks things
Quinny899 said:
Like I say, remove the app from the magisk module's system/priv-app, reboot and install it as you would any other APK. I don't know why module authors insist on having the APK in the system, it breaks things
Click to expand...
Click to collapse
I didn't do anything with moving it from the system app and my convolver works. I have an irs response I made to slope off <30hz and it works. Not sure what is happening there :shrug:
My method still works on the 8.1 release it anyone is wondering
Working for me on 8.1.
Quinny899 said:
My method still works on the 8.1 release it anyone is wondering
Click to expand...
Click to collapse
Sorry, I'm having a little trouble understanding how to use your method with your zip file. Should I extract the contents and then place that folder in my data apps, reboot, then install the apk??

Custom Magisk Module Mod Maker-ADB and Zip Installers

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. 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.
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.
Android 11
The developer of Active edge gave me permission to use his base so that people would not have to make a choice between his and my mods. All credit for this goes to him. You must delete the active edge sense module and use one of my active edge modules. If it doesn't say active edge then it isn't active edge sense compatible. If there is an issue with edge sense after flashing, do not contact edge sense op with issues. He does not troubleshoot modified versions of his mod (and neither do I).
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.
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. FLASH ALL THE MODS YOU WANT. ONCE YOU DONE WITH EVERYTHING, FLASH THE "COMPLETE INSTALLATION" Option. This will create a Magisk Manager flashable zip in a folder on your sdcard called ozop. Flash that to install your selection of mods.
Root required
ADB Instructions.
1. Unzip ADB Mods Installer Files.zip on your PC
2. Run TulsadiverModsInstaller.bat (Give ADB Shell Root Permissions. If missed on first opportunity, turn on in magisk manager, superuser)
3. ADB debugging Enabled
4. Flash one of the SystemUI Bases First. They provide the necessary smali files and public ID's for everything to work
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 Swap
Remove NavBar
3 Minit Battery
Battery Bar Mod
One percent custom battery Mods-Several to choose from
One percent custom battery Text-only-Several to choose from
Colored Statusbar-Navbar Icons
Choose number of QS columns 3-7
Colored Statusbar Icons
Remove Carrier Text Options
Smaller LTE Icon
Animations
Fonts (including Lockscreen clock)
Change QS pulldown circle color
Change Status bar Data Icon to a "cell tower" looking icon (see below)
Change QS data icon to a cell tower icon
{
"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"
}
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. Big thanks to @wrongway213 for doing all the testing
and helping with the linux powershell installer.
Android 12 comes with a more narrow brightness-volume bar option.
This is a SystemUI mod. It's not compatible with other SystemUI mods.
There's just one base now. To change the QS pulldown colors, go to settings/display/device theme at the bottom. The black options change the settings background from gray to black.
---------------------
Zip Installer
Android 12.1
July update
Uploaded 7 -8-22
https://mega.nz/file/cdIFTBJa#Rvktpa0sU6URmGRse-T6LcEUoVDMItxhsHzump-L-f4
ADB installer
12.1
July update
Uploaded 7 -8-22
https://mega.nz/file/RJhCGJAD#BDu5ePwvQnvPYzdMhRo6V993kRJe9H7nr9MXnEacd_o
----------------------
Android 12 - January update
Uploaded 1-8-22
ADB Mod Installer FilesPixel4XL12.zip | by Tulsadiver for Pixel
Download GApps, Roms, Kernels, Themes, Firmware, and more. Free file hosting for all Android developers.
www.androidfilehost.com
---------------------------
Android 11
Uploaded 7-9-21
File on MEGA
mega.nz
ADB Mod Installer FilesPixel4XLJuly.zip | by Tulsadiver for Pixel
Download GApps, Roms, Kernels, Themes, Firmware, and more. Free file hosting for all Android developers.
www.androidfilehost.com
-------------------------------------------------
If I helped, hit the Thanks Button!
Feeling generous, send me a beer!
--------------------------------------------------
Android 10
ADB Module maker uploaded 8-6-20
https://www.androidfilehost.com/?fid=8889791610682907792
Zip Installer Instead of ADB Module maker
Unzip zip into a folder on your internal sdcard. The folder name cannot have spaces in it.
Boot TWRP, find your folder. Install base first. Install the mods you want, then flash complete installation zip. Reboot.
TWRP zip Installer
https://www.androidfilehost.com/?fid=8889791610682907810
--------------------------------------------------------------------------------------
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)
Android 12
ADB Pixel launcher Uploaded 12-18-21
NexusLauncherReleaseADBPixel12.zip | by Tulsadiver for Pixel
Download GApps, Roms, Kernels, Themes, Firmware, and more. Free file hosting for all Android developers.
www.androidfilehost.com
------------------------
Android 11
ADB Pixel Launcher Installer uploaded 7-9-21
NexusLauncherReleaseADBPixel4XLJuly.zip | by Tulsadiver for Pixel
Download GApps, Roms, Kernels, Themes, Firmware, and more. Free file hosting for all Android developers.
www.androidfilehost.com
-------------------------------
Android 10
ADB Pixel Launcher Installer uploaded 6-18-20
https://www.androidfilehost.com/?fid=8889791610682873110
Tulsadiver said:
snip
Click to expand...
Click to collapse
Thanks for this!
Will this have the Active Edge support built-in like your center clock mod?
ilal2ielli said:
Thanks for this!
Will this have the Active Edge support built-in like your center clock mod?
Click to expand...
Click to collapse
Yes, there are Active edge bases to choose from.
Tulsadiver said:
Yes, there are Active edge bases to choose from.
Click to expand...
Click to collapse
Just finished building a basic mod with Active Edge, center clock with day, and WiFi traffic. Everything works perfectly.
Thanks again!
Hi,
Thanks for this.
I managed to get a center clock , and swap the nav bar around. :good:
If I want to add more things , like changing text colors in qs for example , do I have to make an entire new mymagisk.zip?
I.E. run the base and framework again?
If I do , will I have to run the center clock and nav swap again?
And what happens to the mymagisk.zip?
Does it get replaced , or do I have to delete it before I start again?
Had another thought, will we need to rebuild the module when the monthly updates come like it was in the past?
malybru said:
Hi,
Thanks for this.
I managed to get a center clock , and swap the nav bar around. :good:
If I want to add more things , like changing text colors in qs for example , do I have to make an entire new mymagisk.zip?
I.E. run the base and framework again?
If I do , will I have to run the center clock and nav swap again?
And what happens to the mymagisk.zip?
Does it get replaced , or do I have to delete it before I start again?
Click to expand...
Click to collapse
Yes, you have to redo everything you did previously and add the new ones as well. Apks can only be modded once in magisk so it has to be done over. The module.prop remains the same. mymagisk.zip will be over-written and once flashed, the module will be replaced. No need to remove. What I do is rename my mymagisk.zip to something else and leave it in case I want to use it again. Again, the module prop is the same so it will over-write what is currently installed.
ilal2ielli said:
Had another thought, will we need to rebuild the module when the monthly updates come like it was in the past?
Click to expand...
Click to collapse
Depends on what changes. Lots of times the SystemUIGoogle.apk and framework-res.apk are left unchanged in updates. But if it changes, I'll have to build and upload another new updated ADB Installer.
Edit: that is why I try to put dates on my uploads.
Tulsadiver said:
Yes, you have to redo everything you did previously and add the new ones well. Apks can only be modded once in magisk so it has to be done over. The module.prop remains the same. mymagisk.zip will be over-written and the once flashed, the module will be replaced. No need to remove. What I do is rename my mymagisk.zip to something else and leave it in case I want to use it again. Again, the module prop is the same so it will over-write what is currently installed.
Click to expand...
Click to collapse
OK , thanks.
I actually find this method easier than faffing around in TWRP.
Good idea to keep the ready made "mymagisk.zips" for future re-use
malybru said:
OK , thanks.
I actually find this method easier than faffing around in TWRP.
Good idea to keep the ready made "mymagisk.zips" for future re-use
Click to expand...
Click to collapse
Yes and if someone likes your setup you can share your ready made zip with someone else. I make them for people all the time as this can be difficult for some people and also the ADB Installer is a large zip. Some people have poor internet connections.
Tulsadiver said:
Depends on what changes. Lots of times the SystemUIGoogle.apk and framework-res.apk are left unchanged in updates. But if it changes, I'll have to build and upload another new updated ADB Installer.
Edit: that is why I try to put dates on my uploads.
Click to expand...
Click to collapse
Got it. Thanks!
Sorry to double post, but have you @Tulsadiver heard anything about the Active Edge Magisk module support causing slow downs, freezes, and needing to hard reboot to get the phone responding again?
A post in Freak07's kernel thread theorizes that: https://forum.xda-developers.com/pi...aq-1-0-0-pixel-4-xl-aka-t3992213/post80749011
After removing the Active Edge support from your mods and moving to flar2's Button Remapper fixed the issue for me so far.
Any thoughts as to why the Active Edge modifications would cause issues for Pixel 4's?
ilal2ielli said:
Sorry to double post, but have you @Tulsadiver heard anything about the Active Edge Magisk module support causing slow downs, freezes, and needing to hard reboot to get the phone responding again?
A post in Freak07's kernel thread theorizes that: https://forum.xda-developers.com/pi...aq-1-0-0-pixel-4-xl-aka-t3992213/post80749011
After removing the Active Edge support from your mods and moving to flar2's Button Remapper fixed the issue for me so far.
Any thoughts as to why the Active Edge modifications would cause issues for Pixel 4's?
Click to expand...
Click to collapse
None. I've never used it before. I did have to get it in a weird way. He no longer puts the SystemUIGoogle.apk for each phone in the module but edits the apks on the fly. I had someone pull me a copy from the module after it was installed. Maybe the 4 xl is different enough to cause issues. He has a telegram thread. Try posting there.
Tulsadiver said:
None. I've never used it before. I did have to get it in a weird way. He no longer puts the SystemUIGoogle.apk for each phone in the module but edits the apks on the fly. I had someone pull me a copy from the module after it was installed. Maybe the 4 xl is different enough to cause issues. He has a telegram thread. Try posting there.
Click to expand...
Click to collapse
Thanks for the tip, I'll look for the telegram thread.
Tulsadiver said:
None. I've never used it before. I did have to get it in a weird way. He no longer puts the SystemUIGoogle.apk for each phone in the module but edits the apks on the fly. I had someone pull me a copy from the module after it was installed. Maybe the 4 xl is different enough to cause issues. He has a telegram thread. Try posting there.
Click to expand...
Click to collapse
@Tulsadiver you offer your mods for every available build?
10.0.0 (QD1A.190821.007, Oct 2019) Link 04b0499db27c14335dd01f5036225c1bb30132dfc786fbc1ee579af64e138351
10.0.0 (QD1A.190821.011, Oct 2019) Link f4d0cfd109d2ea5e4f3e807df5350edc26aede247ea2e0f5c2e338afd7a83c62
10.0.0 (QD1A.190821.011.C4, Oct 2019) Link dd397091f50f3196f39df636cf6cad53ef82fc5c066db3d39fbb7343f53d2045
etc?
Also all files are on the branch now. You can pull them from there: https://github.com/Magisk-Modules-Repo/active_edge_system_mod/tree/Files
j to the 4n said:
@Tulsadiver you offer your mods for every available build?
10.0.0 (QD1A.190821.007, Oct 2019) Link 04b0499db27c14335dd01f5036225c1bb30132dfc786fbc1ee579af64e138351
10.0.0 (QD1A.190821.011, Oct 2019) Link f4d0cfd109d2ea5e4f3e807df5350edc26aede247ea2e0f5c2e338afd7a83c62
10.0.0 (QD1A.190821.011.C4, Oct 2019) Link dd397091f50f3196f39df636cf6cad53ef82fc5c066db3d39fbb7343f53d2045
etc?
Also all files are on the branch now. You can pull them from there: https://github.com/Magisk-Modules-Repo/active_edge_system_mod/tree/Files
Click to expand...
Click to collapse
Cool! Yes sir, all capable Pixel builds. I swear I looked before but couldn't find them.
Uploaded new ADB Installers. Nov update.
Hi. Thanks for you good work
Q: If I use your installer to install some mods and want to edit or change the mods just i install ADB again without wipe anything?
And what if I want back to STOCK without wipe my data?
I want install your installer just for Swipe Navigation Old that coming with Pixel 3 or if you have time to make zip for me
Sorry for my English
Edit: Just i downloaded all files and i see everything is so easy [emoji16]
Sent from my Pixel 4 XL using Tapatalk
1- Flash SystemUI Bases Stock like
2- Flash Framework Bases - Stock like base
3- I choose what I want ( clock center - Navber swap - small LTE ) And from ADB launcher just remove weather Then I see the zip files ( mymagisk.zip - mymagisklauncher.zip ) in my phone in folder name: vrthemeADBmagisk I flashed vis Magisk Manager. Sure I reboot the phone but nothing changed?
Sent from my Pixel 4 XL using Tapatalk
DinarQ8 said:
1- Flash SystemUI Bases Stock like
2- Flash Framework Bases - Stock like base
3- I choose what I want ( clock center - Navber swap - small LTE ) And from ADB launcher just remove weather Then I see the zip files ( mymagisk.zip - mymagisklauncher.zip ) in my phone in folder name: vrthemeADBmagisk I flashed vis Magisk Manager. Sure I reboot the phone but nothing changed?
Click to expand...
Click to collapse
Did you run 30 - Complete Installation?
You should end up with the module zip in a folder name ozop. That's where mine end up.

Categories

Resources