[MODULE] Universal GMS Doze - Magisk

Universal GMS Doze
Overview
- Patches Google Play services app and certain processes/services to be able to use battery optimization
- Support API 23 or later
Download Links (Archives):
- GitHub Releases
- Mediafire
- MEGA
- SourceForge
- Telegram
Credits:
- @topjohnwu
Magisk - Magisk Module Template
- @MrCarb0n
Script / syntax helper
Extras:
- Donation: PayPal - LiberaPay - Ko-fi
- Source Code: GitHub

Troubleshooting
- Command-line for check optimization (with add-on installed):
Code:
> su
> gmsc
- Command-line for check optimization (general):
There's a line written Whitelist (except idle) system apps: and if com.google.android.gms line does not exist it means Google Play services is optimized.
Code:
> su
> dumpsys deviceidle
- Command-line for fix delayed incoming messages issue:
Code:
> su
> cd /data/data
> find . -type f -name '*gms*' -delete
- Command-line for disable Find My Device:
Code:
> su
> pm disable com.google.android.gms/
com.google.android.gms.mdm.receivers.MdmDeviceAdminReceiver
Change Log
- 1.9.0
Android 14 support
Fixed synchronization for Location Sharing and Play Games
- v1.8.8
A long-awaited hotfix
Addresses script that caused patching XML gone wrong
Raised Magisk Boot Service to 100 seconds
- v1.8.7
Android 13 support
Added GMS to battery optimization and disabled another components
Fixed broken API checking and Multi-User support
Moved to inbuilt (Magisk) BusyBox
Improved pre-boot conflict fixer and proper boot script execution
Improved superuser checking method and used cmd flag arguments
Improved XML patching logic
Minimized root path checking depth
Revived overall code quality and syntax
Rewrite GMS state checker bin
- v1.8.6
Added /system_ext detection support
Improved patching detections (Allow to revoke location permissions)
- v1.8.5
Added updateJson support
Improved patching detections (XML files)
v1.8.4
- Removed redundant script (GMS: Stay with disabling Find My Device only)
- v1.8.3
Android 12 support
Additional boot complete check
Multi-User support
Set ignore for GMS and IMS WRITE_SETTINGS
Minor improvements
- v1.8.2
Android 11 support
Improved installation (Magisk Live and Custom Recovery)
Improved patching detections (XML files and conflicting modules)
Integrated add-on (run 'gmsc' with superuser rights for check optimization status)
Set ignore for GMS and IMS BOOT_COMPLETED
Set ignore for GMS and IMS AUTO_START (custom permissions for Oxygen OS)
Updated template
- v1.8.1
Integrated custom recovery installation
Added boot logic for search and patch any conflicting modules (if present)
Whitelisted IMS and Turbo (this should fixed location crash issue in MIUI)
- v1.8.0
Initial re-release
100 seconds Magisk Boot Service

Hi.
I'm using Your doze for some time now and it's working quite good. Good work, thanks.

What does XiaomiDoze do, exactly and specifically?
Sent from my Xiaomi Redmi Note 5 using XDA Labs

What's the difference between universal gms doze NMF21F
Because it works great on OnePlus devices ,is the Oct version better than this

Known issue for Pie. I have frozen Find my Device via TiB.
Flashed module, but still unable to optimise play services.
Anyone else on Pie managed to get this to work?
Sent from my OnePlus 5 using XDA Labs

.
Sent from my OnePlus 5 using XDA Labs

L22EEW said:
Known issue for Pie. I have frozen Find my Device via TiB.
Flashed module, but still unable to optimise play services.
Anyone else on Pie managed to get this to work?
Click to expand...
Click to collapse
Not to freeze those Find My Device, I mean just Turning Off. Inside Settings > Security and location.
Sent from my Redmi 3 using XDA Labs

gloeyisk said:
Not to freeze those Find My Device, I mean just Turning Off. Inside Settings > Security and location.
Click to expand...
Click to collapse
Hmm. Tried that. Still no luck
I know this is still in experimental stage, I've been following this project. I can wait for more stable version ?
Sent from my OnePlus 5 using XDA Labs

What's the difference between device health service from Google and turbo app provided in zip, is it the same?
If it is the same could you make the module have an option to install or not, because some dev already included device health service in their roms.
Everytime I install this module and reboot, I got turbo crash first time my device booted up
Thanks in advance
Sorry for my broken English

Is this module usable near greenify aggressive doze?

ztoldy said:
Is this module usable near greenify aggressive doze?
Click to expand...
Click to collapse
No, Greenify has its own doze methods. But my module compatible with it. Turning On/Off Aggressive Doze inside Greenify will be better.
Sent from my Redmi 3 using XDA Labs

Hi thanks for this work . I installed this module . am on android pie unofficial X rom for nexus 6 .
However I got this when I try to open the battery from setting.
I attached a log file too .

mahir555 said:
Hi thanks for this work . I installed this module . am on android pie unofficial X rom for nexus 6 .
However I got this when I try to open the battery from setting.
I attached a log file too .
Click to expand...
Click to collapse
Thanks again for the report, which build of the module you've installed?
Sent from my Redmi 3 using XDA Labs

gloeyisk said:
Thanks again for the report, which build of the module you've installed?
Click to expand...
Click to collapse
The latest 1.2.3

mahir555 said:
The latest 1.2.3
Click to expand...
Click to collapse
Is it happened too with previous build?
Sent from my Redmi 3 using XDA Labs

gloeyisk said:
Is it happened too with previous build?
Click to expand...
Click to collapse
Ok give me some time ~20 min
.. Will report back
Yes . same behavior .. Even it appears when I try to open setting before clicking on battery .
I tried 1.2.2 & 1.2.0

I installed the magisk module. How can I see if it work?
I have also installed xxx rom limit with some Google play services wakelocks disabled through aroma installer . Any concern of conflicts?
I have OnePlus5.

Should I have to uninstall previous version of this module and reboot before install new one?

mahir555 said:
Ok give me some time ~20 min
.. Will report back
Yes . same behavior .. Even it appears when I try to open setting before clicking on battery .
I tried 1.2.2 & 1.2.0
Click to expand...
Click to collapse
Ohh well, I'll take a look for a new build when I have free time. You can check OP for Telegram group link, you can asking there also.
Sent from my Redmi 3 using XDA Labs

Related

Audio Compatibility Patch (Formerly Universal deep_buffer Remover) [MMTEx]

This fixes music and streaming apps (Spotify, Pandora, etc) that aren't processing audio effects for various equalizer applications through the modification of audio policy.
Starting with v1.6 USB_policy patcher (upp) and Notification_helper remover (nhr) have been combined with acp. upp is to be used for usb dacs for v4a/jdsp. nhr is to remove notification_helper from audio_effects or delete the libvolumelistener.so binary. this prevents the "ducking" of v4a when you recive a notification and that notification comes in while playing music and v4a unprocesses and the processes again after the notification causing the volume to be extra loud. this stops that.
The vol key options are as follows :
- " Do you want to skip audio_policy patching? (Original acp before became 3in1 module)" This is asking if you want to skip what acp was before the combining of modules. if you are installing acp for spotify to process with v4a or jdsp then you'll want to select no here.
- " Would you like to skip notification_helper remover?" If you dont mind the "ducking" v4a does or if it doesnt happen or your device then you'll want to select yes here.
- " Would you like to skip usb policy patching for usb dacs?" If you dont use a USB extrenal DAC and v4a then you can select yes here.
- " - Use lib workaround? -" If you arent having issues then you can select no here. Pixel 2's, 3's, and essential phones will have this selected as yes automatically.
Download
XDA:DevDB Information
Audio Compatibility Patch, Tool/Utility for the XDA Community Apps
Contributors
ahrion, zackptg5, JohnFawkes
Source Code: https://github.com/Magisk-Modules-Repo/acp
Version Information
Status: Stable
Current Stable Version: v2.3
Stable Release Date: 2020-11-10
Created 2017-03-21
Last Updated 2020-11-10
Update.
[UPDATE] Universal deep_buffer Remover <2.1>
v2.1:
- Updated to Audio Modification Library (Magisk) v1.1
This should fix the boot loop issues seen in only Magisk v11.6
Download: Link - Mirror
Previous Changelogs (Unified installer):
HTML:
v2.0:
- Initial Magisk release
- Audio Modification Library v1.0 is included
- Unified installer that will install mod for both Magisk and System
- Pixel support included
- Magisk Template v3 support
Prepare for a new update to AudModLib.
[UPDATED] Universal deep_buffer Remover
v2.2:
- Added audmodlib.sh post-fs-data.d script
- Install script fixes
- post-fs-data.d script fixes
- Push AudModLib v1.2 hotfixes
Download
Previous Changelogs (Universal deep_buffer Remover):
HTML:
v2.1:
- Updated to Audio Modification Library (Magisk) v1.1
This should fix the boot loop issues seen in only Magisk v11.6
v2.0:
- Initial Magisk release
- Audio Modification Library v1.0 is included
- Unified installer that will install mod for both Magisk and System
- Pixel support included
- Magisk Template v3 support
[UPDATED] Universal deep_buffer Restorer
Reverts the changes made from the Universal deep_buffer Remover.
v2.1:
- Script fixes
Download
Previous Changelogs (Universal deep_buffer Restorer):
HTML:
v2.0:
- Initial Magisk release
- Unified uninstaller that will uninstall the mod for both Magisk and System installs
- Pixel support included
- Magisk Template v3 support
Will this affect safteynet ?
SyCoREAPER said:
Will this affect safteynet ?
Click to expand...
Click to collapse
That's the point of it being a magisk module buddy...
SyCoREAPER said:
Will this affect safteynet ?
Click to expand...
Click to collapse
DroneDoom said:
That's the point of it being a magisk module buddy...
Click to expand...
Click to collapse
Lol.
Also it makes for easy module management and uninstall/install/updating.
ahrion said:
Lol.
Also it makes for easy module management and uninstall/install/updating.
Click to expand...
Click to collapse
I found that with v2.2, deep_buffer wasn't actually being removed for me.
Culprit:
Code:
sed -i '/deep_buffer {/,/}/d' $CFG
Should be:
Code:
sed -i '/deep_buffer {/,/}/ d' $CFG
I changed that in the update-binary and su.d script and deep buffer was then removed. I uploaded a copy with these changes. Thanks!
Zackptg5 said:
I found that with v2.2, deep_buffer wasn't actually being removed for me.
Culprit:
Should be:
I changed that in the update-binary and su.d script and deep buffer was then removed. I uploaded a copy with these changes. Thanks!
Click to expand...
Click to collapse
That's because whoever added the deep buffer section of your config had a typo.
These patches aren't 100% fool proof to incompetent coders or ROM developers.
Zackptg5 said:
I found that with v2.2, deep_buffer wasn't actually being removed for me.
Culprit:
Code:
sed -i '/deep_buffer {/,/}/d' $CFG
Should be:
Code:
sed -i '/deep_buffer {/,/}/ d' $CFG
I changed that in the update-binary and su.d script and deep buffer was then removed. I uploaded a copy with these changes. Thanks!
Click to expand...
Click to collapse
As I told you earlier, the space between "/ d" is an issue with your particular config file. This is not a sed issue or a typo in my scripts. sed is my specialty. This is the reason why it doesn't work.
I will not be changing it. However I thank you man for being proactive in trying to find alternative solutions.
How to uninstall ur module via recovery?
Hi bro i flashed ur module and after the reboot i cant find root... Even after flashing supersu systemless zip again.. Still no root. Bcoz of no root i cant uninstall ur module from magisk manager. Need ur help plz
umeshbluezzz said:
Hi bro i flashed ur module and after the reboot i cant find root... Even after flashing supersu systemless zip again.. Still no root. Bcoz of no root i cant uninstall ur module from magisk manager. Need ur help plz
Click to expand...
Click to collapse
Go here and scroll down to "Module causing issues":
https://forum.xda-developers.com/apps/magisk/magisk-magisk-hide-troubleshooting-tips-t3561828/
So I've used your module, and it works great now, but my safetynet failed. Is this supposed to happen?
S4G4R said:
So I've used your module, and it works great now, but my safetynet failed. Is this supposed to happen?
Click to expand...
Click to collapse
Sometimes Magisk Hide doesn't restart properly on a reboot, especially after installing a new module. Try toggling Hide off and on again in settings.
Didgeridoohan said:
Sometimes Magisk Hide doesn't restart properly on a reboot, especially after installing a new module. Try toggling Hide off and on again in settings.
Click to expand...
Click to collapse
Worked! Thanks.
Good news guys. I finally found a fix for AM3D and Dolby Atmos to work 100% in enforcing on both MagiskSU/SuperSU, Magisk OR System install.
This will be available in the AudModLib v1.3 update I will be pushing soon. I'll obviously fix any more bugs or make any other additions in the meantime.
where are the Deep buffer entries located at?
ahrion said:
Good news guys. I finally found a fix for AM3D and Dolby Atmos to work 100% in enforcing on both MagiskSU/SuperSU, Magisk OR System install.
This will be available in the AudModLib v1.3 update I will be pushing soon. I'll obviously fix any more bugs or make any other additions in the meantime.
Click to expand...
Click to collapse
Hey I love your Magisk modules. Do you have a Dolby Digital Plus Magisk Module too? Thanks.
ELoTRIX said:
Hey I love your Magisk modules. Do you have a Dolby Digital Plus Magisk Module too? Thanks.
Click to expand...
Click to collapse
Check out his collective dolby thread in his signature
Installing this module on OP3 stock 7.1.1 rom break data connection
Inviato dal mio ONEPLUS A3003 utilizzando Tapatalk

[UNOFFICIAL] [NEEDS HELP] List of modules which work with official Xposed for Nougat

Preface
I wanted to create this thread to replace the old, aging thread by @shrazy (https://forum.xda-developers.com/xposed/unofficial-list-modules-nougat-xposed-t3639615) and because some people wanted that, I decided to do that (But, this thread uses the old one as a template)
Please report here your tested modules, which work (or not) with official Xposed for Nougat (by @rovo89).
Links to official Xposed Nougat threads
Classic (system) version (by @rovo89): https://forum.xda-developers.com/showthread.php?t=3034811
Systemless (Magisk) version (by @topjohnwu) (v88.0+ only): https://forum.xda-developers.com/xposed/unofficial-systemless-xposed-t3388268
Here's some important stuff for one to read:
DISCLAIMER 1
You're not allowed to make reports here with Xposed Nougat releases not based on official rovo89's code (I mean the ones by PurifyOS team, abforce, topjohnwu (before v88.0) etc.).
DISCLAIMER 2
Don't report any modules, which you haven't tested yourself, as this can cause problems for other users.
DISCLAIMER 3
Please use the search function before asking, "Does (module) work?". If a module is not listed in this entire thread, please make a backup, try out the module and report back the detailed results.
DISCLAIMER 4
Xposed is in relatively early stages for Nougat, bugs are to be expected (sometimes) and will be there for sure.
Make a backup, even if this entire thread says that all of your modules are reported as working!
Note 1
I will try to keep this list updated as frequently as possible and I apologize if I miss your module(s).
Note 2
Please tell me (with a PM on XDA) about any improvements that I can make to this thread's OP
And finally, here's the module list:
Working
Legend: ???? - needs detailed results
- All My... (????)
- Always Correct
- Amplify (????)
- AppOpsXposed (????)
- App Settings (v1.15+, ????)
- Awesome Pop-up Video (????)
- Battery Shutdown Manager (????)
- BootManager (????)
- Cool Tool
- Download Redirection
- Exi for Swiftkey
- Flat Style Bar Indicators
- GravityBox [N]
- Greenify (beta, ????)
- MiniMinGuard (beta, ????)
- NSFW Gboard
- No Device Check
- One Tap Video Download (????)
- PerfectColorBar
- Play Store Changelog
- Power Nap (????)
- Statusbar Download Progress
- SoundCloud Downloader
- XCallRecordingSettings
- XInsta
- XInternalSD (????)
- Xposed edge
- YouTube AdAway
- YouTube Background Playback
- Youtube swipe to seek
- You tell me
Partially working
Legend: ???? - needs detailed results
- AdBlocker Reborn (????)
- Flat Style Colored Bars (with permissive SELinux, ????)
- InstallerOpt (https://forum.xda-developers.com/xp...modules-official-xposed-t3696881/post74406027)
- Lock screen clock mods (????)
- Lock screen widgets (????)
- Prevent Running (????)
- You tell me
Not working
Legend: ???? - needs detailed results
- You tell me
Greenify works
Statusbar download progress works.
Xinsta works.(FYI I'm not using the latest Instagram.)
tejasrao1996 said:
Greenify works
Statusbar download progress works.
Xinsta works.(FYI I'm not using the latest Instagram.)
Click to expand...
Click to collapse
Your modules have been added to the list
Sent from my Samsung Galaxy Trend Plus using XDA Labs
Sound Cloud Downloader, Youtube Ad Away, Awsome Popup Video and YouTube Swipe to seek are also working for me.
Moto G3 | LineageOS 14.1 | Xposed Framework 88.1 | Xposed apk 3.1.2
Amplify
BootManager
Greenify
Play Store Changelog
Prevent Running
Statusbar Download Progress
Gravity Box for nougat works (as evidenced by its name)
Sachin ET said:
Sound Cloud Downloader, Youtube Ad Away, Awsome Popup Video and YouTube Swipe to seek are also working for me.
Moto G3 | LineageOS 14.1 | Xposed Framework 88.1 | Xposed apk 3.1.2
Click to expand...
Click to collapse
kamilmirza said:
Amplify
BootManager
Greenify
Play Store Changelog
Prevent Running
Statusbar Download Progress
Click to expand...
Click to collapse
Nergal di Cuthah said:
Gravity Box for nougat works (as evidenced by its name)
Click to expand...
Click to collapse
All of your modules have been added to the list
Sent from my Samsung Galaxy Trend Plus using XDA Labs
Regarding Greenify, I recall the Play Store version (3.6.2) not working so well but the one from apkmirror (3.7.x) being fine.
If that's still the case, might have to mention that.
LG G3 D851, PAC-MAN LP ROM, MultiROM, Tapatalk 4.9.5
marcdw said:
Regarding Greenify, I recall the Play Store version (3.6.2) not working so well but the one from apkmirror (3.7.x) being fine.
If that's still the case, might have to mention that.
LG G3 D851, PAC-MAN LP ROM, MultiROM, Tapatalk 4.9.5
Click to expand...
Click to collapse
OK
Sent from my Samsung Galaxy Trend Plus using XDA Labs
Even if YouTube AdAway works with Xposed for Nougat, does it work with YouTube v12.42.59?
Sent from my Xiaomi Redmi Note 4 using XDA Labs
r.Ry4N.05 said:
Even if YouTube AdAway works with Xposed for Nougat, does it work with YouTube v12.42.59?
Click to expand...
Click to collapse
No, you must use the version of youtube listed in the ytadaway changelog currently 12.32.60
r.Ry4N.05 said:
Even if YouTube AdAway works with Xposed for Nougat, does it work with YouTube v12.42.59?
Click to expand...
Click to collapse
It works with version 12.41.55 (Updated 25th)! Have yet to receive your listed version.
If you can source it, 'Youtube Background Playback v2.0.4' is also working on nougat!
Also working for me are: -
XinternalSD 4.8
Xposed One Tap Video Download 5.4 (found on the playstore - youtube module not working on latest tube.)
MinMinGuard 2.0 beta5
Using LOS 14.1 on RN3 and Nexus 9 with Xposed 88.1, waiting till i update rom to use 88.2.
It would be interesting to know what modules also work on MIUI, reports of xposed installed and active but no modules working.
corkiejp said:
It works with version 12.41.55 (Updated 25th)! Have yet to receive your listed version.
If you can source it, 'Youtube Background Playback v2.0.4' is also working on nougat!
Also working for me are: -
XinternalSD 4.8
Xposed One Tap Video Download 5.4 (found on the playstore - youtube module not working on latest tube.)
MinMinGuard 2.0 beta5
Using LOS 14.1 on RN3 and Nexus 9 with Xposed 88.1, waiting till i update rom to use 88.2.
It would be interesting to know what modules also work on MIUI, reports of xposed installed and active but no modules working.
Click to expand...
Click to collapse
Your modules have been added to the list
Sent from my Samsung Galaxy Trend Plus using XDA Labs
Another thread : [UPDATED] List of modules which work with Nougat Xposed SDK25/SDK24
https://forum.xda-developers.com/xposed/modules/updated-list-modules-nougat-xposed-t3696927
chester.anjan said:
Another thread : [UPDATED] List of modules which work with Nougat Xposed SDK25/SDK24
https://forum.xda-developers.com/xposed/modules/updated-list-modules-nougat-xposed-t3696927
Click to expand...
Click to collapse
I know
Sent from my Samsung Galaxy Trend Plus using XDA Labs
Subscribed! Thanks for starting this much needed updated thread @DodoGTA
Here's a list of modules working for me on RR 7.1.2 Xposed 88.2 ARM (each of these worked perfectly on Xposed 88.1 as well) on my MotoG4+:
1. Appops Xposed v1.29 Beta
2. Powernap Alpha v0.8.1 (downloaded from play store)
3. Adblocker Reborn v1.8.1
4. Allmy... v0.7.4
5. Always Correct v1.0.5
6. Amplify (Donate) v4.0.1
7. AppSettings v1.15
8. Download Redirection v1.3.0.2
9. Exi for Swiftkey v1.2.0
10. NSFW Gboard v1.1
11. Starusbar Download Progress v3.4
12. Xposed Edge v4.2.3
13. Greenify (Donate) v3.8
Not sure about:
1. BubbleUPnP Pro (Audiocast) v2.8.13p1 : Doesn't show any errors either in setting up the xposed Audiocast feature or xposed log but can't get audio only to cast over Chromecast.
ALSO: Can't mirror screen over Chromecast with Xposed - not sure if it's just me. Could someone please confirm?
Frances91 said:
Not sure about:
1. BubbleUPnP Pro (Audiocast) v2.8.13p1 : Doesn't show any errors either in setting up the xposed Audiocast feature or xposed log but can't get audio only to cast over Chromecast.
ALSO: Can't mirror screen over Chromecast with Xposed - not sure if it's just me. Could someone please confirm?
Click to expand...
Click to collapse
Have BubbleUPnP, but don't use the audiocast feature. My music mainly kept on sdcard in phone (use bluetooth mainly).
Casting screen is working fine, except for displaying firefox beta (screen get's truncated on device)! [LOS 14.1 - xp 88.1]
Sorry for off-topic discussion!
Frances91 said:
...
Here's a list of modules working for me on RR 7.1.2 Xposed 88.2 ARM (each of these worked perfectly on Xposed 88.1 as well) on my MotoG4+:
1. Appops Xposed v1.29 Beta
2. Powernap Alpha v0.8.1 (downloaded from play store)
3. Adblocker Reborn v1.8.1
4. Allmy... v0.7.4
5. Always Correct v1.0.5
6. Amplify (Donate) v4.0.1
7. AppSettings v1.15
8. Download Redirection v1.3.0.2
9. Exi for Swiftkey v1.2.0
10. NSFW Gboard v1.1
11. Starusbar Download Progress v3.4
12. Xposed Edge v4.2.3
13. Greenify (Donate) v3.8
Not sure about:
1. BubbleUPnP Pro (Audiocast) v2.8.13p1 : Doesn't show any errors either in setting up the xposed Audiocast feature or xposed log but can't get audio only to cast over Chromecast.
ALSO: Can't mirror screen over Chromecast with Xposed - not sure if it's just me. Could someone please confirm?
Click to expand...
Click to collapse
Most of your modules have been added to the list
Sent from my Samsung Galaxy Trend Plus using XDA Labs
Cool tool and Flat Style Bar working fine.
OP5 OOS 4.5.13.
Zosk said:
Cool tool and Flat Style Bar working fine.
OP5 OOS 4.5.13.
Click to expand...
Click to collapse
All of your modules have been added to the list
Sent from my Samsung Galaxy Trend Plus using XDA Labs

[Z5/Z5C/Z5P][MOD][+GUIDES][N] Endurance Reborn Essentials v1.3 final - Upd 2018-02-26

ENDURANCE REBORN ESSENTIALS for Z5 Series
- This MOD will modify the system parameters of your Z5 for ONLY ONE PURPOSE: to increase BATTERY LIFE
- Only battery tweaks, only useful tweaks (tons of tweaks is not the good strategy...)
- No performance tweaks (most of time, performance tweaks result in decreasing battery life...)
- Marginal loss of performance, device still smooth and reactive
- Very significant gain of battery life
- +useful guides in posts 2 & 3
This mod has been developped, tested and optimized with @HaoZeke's crDroid (LOS based) rom, but it works perfectly on stock based roms (I use Kryptonian at the moment) and probably on any other roms.
Features:
- build.prop battery tweaks (without modifying build.prop file)
- VM battery tweaks
- Innovative and effective memory management (LMK settings)
- ROW I/O Scheduler (best ratio performance/battery drain)
- I/O tweaks
- disable some useless wakelocks
- FS-TRIM partitions at every reboot
- DeadPool interactive governor profile
Requirements:
- Root
- Busybox
- init.d rom support
Installation:
- First, REMOVE all other system mods/tweaks (clear /system/etc/init.d folder, restore your original build.prop, uninstall LSPEED) from your device or it will be a mess!!
- Download the attached Z5_Endurance_Reborn_Essentials_v1.zip
- Flash it in TWRP recovery
- Enjoy
Warning:
- init.d enabler Magisk modules sometimes don't work at all depending of the Magisk version, best thing to do is using the init.d enabler of Kernel Adiutor
Note:
- Wait a little before to draw any opinions on this mod
- Feedbacks and suggestions for future versions are strongly encouraged
Changelog:
- 26 fev 2018 - v1.3 final version: Heimdall v5 governor profile replaced by DeadPool governor profile
- 8 dec 2017 - v1.2: fixed big cores tunables not applying at boot
- 24 nov 2017 - v1.1: small scripts modifications to ensure that all the tweaks are effectively applied
- 11 nov 2017 - v1: initial release
Credits:
@xperator for his amazing governor profile
@.hEiMDaLL. for his amazing governor profile
@korom42 for his governor profile script
GUIDE 1
For an even better battery life:
1. Install the app Naptime and switch on "agressive doze"
You will still receive your GCM or FCM instant notifications when screen off.
Push reception will no longer work in your email client. So select scheduled sync (every 5 mn for instance). If it still doesn't work, use aquamail, it will work.
Some apps need to be doze whitelisted to continue to work when screen off.
2. Use Sony Power Optimizer
Install it as a regular app AND systemize it with Systemizer Magisk module or Link2SD and reboot.
Launch it and select the apps you want to optimize: they will be frozen and evicted from RAM when screen off.
As an alternative to Sony Power Optimizer, you can use Greenify.
3. If for some reason, idle drain with wifi on is greater than idle drain with wifi off and data on, go in settings - wifi - wifi configuration and select standby mode for wifi: never active or only if the device is plugged. In this way, wifi will be off when screen off and on when screen on.
GUIDE 2
For an even even better battery life, the following xposed modules are useful:
- Smart Network xposed module
I use it to automatically turn off location when screen off (and when screen on, location is automatically reactivated)
- Amplify xposed module
With this module, you can block or restrain wakelocks. But beware, some wakelocks are necessary and must not be blocked or restrained.
This is the list of the wakelocks I have restrained without any issue:
NlpWakeLock: allowed every 240 seconds
NlpCollectorWakeLock: 240s
NetworkStats: 800s
*net_scheduler*: 7200s
GCoreFlp: 7200s
Wakeful StateMachine: GeofencerStateMachine: 7200s
Icing: 7200s
NfcService:mRoutingWakeLock: 7200s
res
Hello Nreuge, for amplify, I have a nice post to optimized battery life ! Can I put the post on your topic ?
parydia said:
Hello Nreuge, for amplify, I have a nice post to optimized battery life ! Can I put the post on your topic ?
Click to expand...
Click to collapse
Yes, for sure ^^
https://forum.xda-developers.com/showpost.php?p=60429417&postcount=4
gonna give a shot.... nice work here buddy!!!
---------- Post added at 12:02 PM ---------- Previous post was at 11:02 AM ----------
can i used dis profile with tha mod?
thanks buddy....
nreuge said:
GUIDE 2
For an even even better battery life, the following xposed modules are useful:
- Smart Network xposed module
I use it to automatically turn off location when screen off (and when screen on, location is automatically reactivated)
- Amplify xposed module
With this module, you can block or restrain wakelocks. But beware, some wakelocks are necessary and must not be blocked or restrained.
This is the list of the wakelocks I have restrained without any issue:
NlpWakeLock: allowed every 240 seconds
NlpCollectorWakeLock: 240s
NetworkStats: 800s
*net_scheduler*: 7200s
GCoreFlp: 7200s
Wakeful StateMachine: GeofencerStateMachine: 7200s
Icing: 7200s
NfcService:mRoutingWakeLock: 7200s
Click to expand...
Click to collapse
I'll give it a shot with stock 7.1.1, I have a question, what version of xposed do you use and do you still can pass safetynet?
crisout said:
I'll give it a shot with stock 7.1.1, I have a question, what version of xposed do you use and do you still can pass safetynet?
Click to expand...
Click to collapse
I use Xposed v88.2, not the magisk version because I don't care of safetynet...
0755 permission is right for scripts as per your zip? I thought folders have 0755 and files use 0644. Please correct me if I misunderstood.
Thanks
Offtopic: Do you use Viper ? Is it works with speaker ? If so which version it is? As I cannot get speaker working with viper as it says processing no always but works with Headphones.
GryTEcHoG said:
0755 permission is right for scripts as per your zip? I thought folders have 0755 and files use 0644. Please correct me if I misunderstood.
Thanks
Offtopic: Do you use Viper ? Is it works with speaker ? If so which version it is? As I cannot get speaker working with viper as it says processing no always but works with Headphones.
Click to expand...
Click to collapse
Hey bro
init.d scripts need to have 755 permissions.
No, I don't use v4a.
With crDroid, I was using the DIVA soundmod and the JamesDSPManager.
Now, I use Kryptonian stock based rom, for the moment I use the DIVA soundmod and the Sony stock equalizer.
Hey..
Did you use universal init.d app?
Or is there another way to enable init.d ?
Im on stock 7.1.1 rooted
SAMURAI6969 said:
Hey..
Did you use universal init.d app?
Or is there another way to enable init.d ?
Im on stock 7.1.1 rooted
Click to expand...
Click to collapse
Creta the init.f foder if it doesn't exist (in/system/etc/)
Then, use the Magisk module init.d linker.
Unfortunately i dont use magisk (i don't like it )
I enabled init.d using the app on playstore but i cant make sure if your script is running (human nature you know) ?
Looks like this mod little increase battery, thank you!
Performance of device steel on good level.
Im using Lineage OS 14.1 on Z5c
Yesterday I got about 4 hours Sot with 13% left(8am to 11pm), when I used to get about 3 hours with the same usage, great work and thanks for your time!
crisout said:
Yesterday I got about 4 hours Sot with 13% left(8am to 11pm), when I used to get about 3 hours with the same usage, great work and thanks for your time!
Click to expand...
Click to collapse
Good to know, thx!!
Update v1.1
24 nov 2017 - v1.1: small scripts modifications to ensure that all the tweaks are effectively applied
We can just flash 1.1 over 1.0, correct? Love the mod, cheers.

[ROM][AROMA][A2017G/U/CN][B10 7.1.1.][stock] SL!M➄ DF!NR

FOR OUR DEDICATED STOCK USERS :good:
Made an new AROMA ROM based on the A2017G-N-B10 stock version. Like the other slim roms it’s just based on stock with some additions and option to debloat further.
I added the JOJOC Battery Tweak in options that focuses on improved battery performance. I first used it in my MiFavor5.0 rom and gave me and other users some pretty amazing SOT. So therefore i implemented it here too and it gave me an average of +7h SOT.
It’s fully functional and tested. Smooth, no bugs. Magisk/SuperSU fully running without issues.
Hope you’ll E N J O Y !!!
Based on :
A2017G N-B10 STOCK ROM
INSTALL : ( TWRP )
When you're on another ROM, stock (or even on B05-slim,B06-slim² or B08…) and you want a clean install just follow this procedure :
Other models like A2017 and A2017U can flash this too. Only use Universal BL & your specific MODEM ! : https://androidfilehost.com/?w=files&flid=148464
0. In case you want to reflash your own apps, backup your personal apps with f.e. TB, ZipMe... (or whatever)
1. Make a full backup of your current device in TWRP ! (use it to RESTORE if necessary) DON’T FORGET !
2. Wipe cache / dalvik / data / system
3a For G version flash : A2017G-N-B10-bootstack : https://androidfilehost.com/?fid=890129502657589611
3b For U and CN version flash Universal BL+your MODEM : https://androidfilehost.com/?w=files&flid=148464 ! Don't forget to flash twrp 3.1.1.0 or 3.2.1.0 afterwards !
4. Install : AROMA A2017(G/U/CN) SL!M➄ DF!NR : https://androidfilehost.com/?fid=818070582850499299
5. Choose your stuff to add or debloat, let it RUN and reboot, wait…a minute…or 2…
6. Done ! No more no less
AFTER INSTALL :
1. Go into Adaway/give root permission/download files etc. and update DONE!
2. Go into PlayStore/settings and check “no auto updates” ! Otherwise the Youtube app will update again to that TERRIBLE ANNOYING ADD state!
3. Check with f.e. Kernel Adiutor, when you added JoJoc Tweak, if it’s running ok and see if values are matching like here : https://forum.xda-developers.com/showpost.php?p=75431784&postcount=2
3a. When on SuperSU, the JoJoc Tweak is enabled by default. So no worries.
3b. When on Magisk, just reboot into TWRP and flash the JoJoc Magisk Module : https://forum.xda-developers.com/showpost.php?p=75631796&postcount=169 and reboot. Or flash it within Magisk/add new module and search for your downloaded module on intSD/extSD. Check values whether tweak is running but it will.
4. ...
INFO :
Stripped off :
Accuweather
Browser (ume)
Chrome
Email
Maps
Touchpal (+languages)
ZTE clock replaced by Google Clock
ZTE calendar replaced by Google Calendar
ZTE File mananger replaced by ES ( you can replace it in aroma )
….......
Baked into :
AdAway
Google Calender (you can remove this later if you want)
Google Clock (you can remove this later if you want)
Youtube Black themed addfree
Minor Modifications :
Boot :
• Init.d enabled
• Dm-verity disabled
Zip aligned apk’s
Build.prop tweaks : (remove them in system/build.prop if not needed)
• Improved performance
• Faster boot
• Phone rings immediately
• Wifi scan interval 180sec
• Better call voice quality
• Better network signal
Added sounds LOS
Faster UI (scaling 0.25)
AROMA Features to choose from :
• Debloat most remaining apps
• Choose SuperSU or Magisk
• Add Google Dialer
• Add Google Keyboard
• Center Clock
• JoJoc Battery Tweak
• ......
Hope you'll E N J O Y !!!
Contributors :
me, myself and I
Credits :
@amarullz
@SuperR.
@Ayush Singh
@nfsmw_gr (for our work together on his JoJoc tweak , thnx !)
@kenet (for his centerclock script i recompiled – Thnx !)
@ZaneZam (iYTB Thnx !)
@Chainfire
@topjohnwu
@jcadduono
ROM OS Version : 7.1.1 Nougat MiFavor 4.2
Source : ZTE stock-rom A2017GV1.2.0B10 / original ZTE upload/reuploaded : https://androidfilehost.com/?fid=746010030569960734
Kernel : stock
Version Information :
Status : Stable
Created : 2018-03-08
Uploaded : 2018-03-10
Android Security Patch Level : 2018-01-05
....
raystef66 said:
....
Click to expand...
Click to collapse
Good work!!!
Dear raystef66! Could you build this A2017G B10 firmware with MiFavor 5.0 UI and add the M8 weatherwriter with MIUI8 to the Accuweather site. And do not delete application data:
Chrome
Email address
Maps
Touchpal (+ languages)
ZTE clock
ZTE calendar
ZTE File mananger.
It is possible to make a choice in Aroma install, ZTE application or Google.
[ROM][AROMA][A2017G/U/CN][B10 7.1.1.][stock] SL!M➄ DF!NR by raystef66
Flashed this new rom and works like magic. I chose Supersu, cause it was either that or Magisk. Since I am used to Supersu I decided to stick with it. TB likes it too.
Many thanks for your work.
Hello, I have a problem my download of the rom systematically stops at 96% how to do? Thank you
GAO161 said:
Hello, I have a problem my download of the rom systematically stops at 96% how to do? Thank you
Click to expand...
Click to collapse
Me tooo 96% ?
GAO161 said:
Hello, I have a problem my download of the rom systematically stops at 96% how to do? Thank you
Click to expand...
Click to collapse
mario32 said:
Me tooo 96%
Click to expand...
Click to collapse
Better check your connection ....
100% within 5 min
Can someone please test the Android personal dictionary with this rom? Slim4 is hands down my favorite rom for my A2017U. I'm wondering if it is worth the upgrade.
i installed, coming from darkrom 14.1 my phone will not connect to cell network. it keeps disabling and stating my phone is in airplane mode when i call. i have a a2017u
"Could not remount /system". reboot disemmcwp doesnt work.
I'm using magisk and try to convert apps to system apps with "/system/app mover"
Also strange problem: apps asking for root after a reboot.
Some suggestions or so?
I had the same problem.
It's only working with superSU.
If SuperSu is a sure thing, i think i will switch to SU and maybe switch back to magisk, if i cant find similar xposed modules or apps which i'm using with magisk.
In my case it's working without problems.
Xposed v89 is installed and the phone is encrypted.
Gruß in die Hauptstadt.
Magisk 15.3 + Magisk Manager 5.5.5 = root settings for apps survived a reboot
Magisk 15.3 / 16.0 + Magisk Manager 5.6.x = settings dont survived a reboot
I'm not sure whats happening, If i update magisk manager now.
strange, but magisk 15.3/5.5.5 is fine for me.
Grüße zurück ;D
EDIT: tried SU 2.82 but still "Could not remount /system". Sucks -.-
I can confirm troubles with downloads, 96% an each server on afh...
try some download manager I had the same problem and downloaded this file
Spillunke said:
Magisk 15.3 + Magisk Manager 5.5.5 = root settings for apps survived a reboot
Magisk 15.3 / 16.0 + Magisk Manager 5.6.x = settings dont survived a reboot
Click to expand...
Click to collapse
Grüsse :highfive: - here too the case is the missing logd. magisk and magiskhide need this from version 15.4 on to work propper. Correct me if i'm wrong This issue is not based on @raystef66 's great work here (thanks a lot!) but a ZTE issue.
hi, i can't enter in recovery. After tux led blinks orange a couple of time then nothing happens. i'm using twrp nfound latest.
digiNZM said:
Grüsse :highfive: - here too the case is the missing logd. magisk and magiskhide need this from version 15.4 on to work propper. Correct me if i'm wrong This issue is not based on @raystef66 's great work here (thanks a lot!) but a ZTE issue.
Click to expand...
Click to collapse
Ah okay. So i need to update step by step? 15.3 -> 15.4 -> 16.0?
I mean that problem still exists with 15.3 and Manager v5.6.3.

[ROM][7.1.1][TW] STOCK SLIM NOUGAT V2.0 [VoLTE] J7 Prime SM-G610M / F Only

Disclamer
I know that many will say that it is an equal rom others posted, but this my rom she is differentiated. I've been looking for improvements and for it to be an excent version of a stock. I hope it is the first of many other roms not only for the J7 model but for other variants.
***Please as soon as you install the rom please a return because the opinion of yours is very important.***
**Preview**​​
https://www.youtube.com/watch?v=mek77Zss6UM
Code:
# This ROM is made for G610M and Variants F/Y
# Flash it at your own Risk!
# Your warranty is VOID Knox flags 0x1
# I'm not responsible for damage to equipment or loss of warranty!
!!FOLLOW THE INSTRUCTION HOW TO FLASH!!
STOCK SLIM NOUGAT SM-G610M / F V2.0
Based on G611FDDU1ARG4
Bootloader on G611FDDU1ARG4
Android security patch level 2017-08-01
PDA - G611FDDU1ARG4
CSC - G611FODD1ARG1
PORT J7 PRIME 2 G611F
Support for models G610M / F
FM Radio
init.d support in Kernel
Optional VoLTE exchange in configurations
Modded scritp for gaming experiance without battery draining
Deodexed
Zipaligned
Added Build.prop Tweaks
Added CSC Tweaks
Multiple languages
Optimized Battery for script
Stability and optimization for script
SELinux Enforcing
VoLTE support
Samsung Clouds (Removed, but can be added through the fix that will leave available).
Fast Charge
4g icon
Front Camera and Flash G610F OK (Fix for the G610M soon)
Rear Camera and Flash ok
Root Magisk 17.1 ( Ctsprofile: True / Basic Integrity: True).
STOCK SLIM NOUGAT V2.0 [VoLTE] J7 Prime SM-G610M / F Only - Media Fire / Google Driver
Fix Samsung Cloud / Samsung App
Fix Samsung Cloud V 1.0 - Media Fire / Google Driver
FIX WIFI DIRECT - PORTAL CAPTIVE - SIM TOOLKIT
FIX STOCK SLIM NOUGAT - WIFI DIRECT - PORTAL CAPTIVE - SIM TOOLKIT- Media Fire / Google Driver
BUG
If there is a bug, please report me ...
Attention​
[*]* Supports Oxygen kernel but by default it does not support init.d (Comes disabled in the kernel).
If you wanted to install xposed, rom is compatible with it, but as rom comes with Magisk installed, basicIntegrity goes from true to false.
Liked ? I need to raise funds to buy a better notebook to continue customizing rom for you.​
Donation: Click Here
HOW TO INSTALL
1. Install Recovery 3.2.2
3. Download the ROM and copy it to your pendriver and use an otg cable or copy the rom to the internal memory of the device when the device is in TWRP mode that allows the USB cable to access the internal memory of the device.
4. Mount system , data and cache
5. wipe dalvik-cache , cache , data and system
6. After that flash the ROM
7. Follow Aroma Installer
8. At the end of the installation of the autoreboot rom will not happen because it will present error 11, do not worry this will not affect the installation of the rom reboot manually.
9. Wait 2 to 5 minutes (First start of installation take a long boot).
​​
Version Information
Kernel 3.18.14
Android: 7.1.1
Status: Stable
Current Stable Version: 2.0
Stable Release Date: 2018-10-03
Credit :
Thanks to @samsung for firmware
Thanks to @amarullz for Aroma Installer
Screenshot
Changelogs:
2018/10/09
- FIX WIFI DIRECT
- PORTAL CAPTIVE
- SIM TOOLKIT
Changelogs:
2018/10/07
- Add Fix Samsung Cloud
Changelogs:
2018/10/03
- Samsung Cloud comes by default in the installation
- VoLTE advanced support
- Removed the UCMini browser and added Firefox
- Samsung Secure comes by default in the installation
- Enable Doze for GMS this by default in the system does not need to add module in masgik
- Added Bixby in conjunction with the camera
- The tools of Game Tune have been removed because the rom has script added for the improvement and performance of the games.
reserved
new fix add
Screencapture please?
do I need to install fix files?
barbarconan said:
do I need to install fix files?
Click to expand...
Click to collapse
Should you need the fixes? For I added the fixes for those that accuracy of services not available in rom.
usb (pc connect) not working
barbarconan said:
usb (pc connect) not working
Click to expand...
Click to collapse
Have you tried debug mode in developer mode? In some cases when it's debugging mode enabled some pc happens that it does not recognize. The rom is tested before being sent to XDA, and the fixes added here are to requests from users who need them, which in itself does not present any bug.
what about screencapture? the thing that i need for this rom, ill try to install pubg if it can handle the game on it.
icodix said:
what about screencapture? the thing that i need for this rom, ill try to install pubg if it can handle the game on it.
Click to expand...
Click to collapse
I'm already preparing an update for it. I'm adding and removing other things by testing it before posting it here. I want to let her 100% to avoid headache.
darkfalling said:
I'm already preparing an update for it. I'm adding and removing other things by testing it before posting it here. I want to let her 100% to avoid headache.
Click to expand...
Click to collapse
nice2. im using Y variant can't wait to use it again and also please add init.d support. Thank you very much!
Does this Rom work on J7 Prime 2 (G611F)?
Hichem Saadani said:
Does this Rom work on J7 Prime 2 (G611F)?
Click to expand...
Click to collapse
She is a port of J7 Prime 2 for J7 Prime M and F.
icodix said:
nice2. im using Y variant can't wait to use it again and also please add init.d support. Thank you very much!
Click to expand...
Click to collapse
All my roms support init.d by installing the Kernel Auditor you will see all the script I add
darkfalling said:
All my roms support init.d by installing the Kernel Auditor you will see all the script I add
Click to expand...
Click to collapse
Copy. Thanks! Cant wait for the release xD
add screen capture and dolby pls
barbarconan said:
add screen capture and dolby pls
Click to expand...
Click to collapse
Soon, new build.
darkfalling said:
Soon, new build.
Click to expand...
Click to collapse
I'm looking forward to
Is it perfect for the M version? Do you have an original bootanimation flash file?

Categories

Resources