Possible Nougat battery bug fix. - Nexus 6P Q&A, Help & Troubleshooting

This is for the people who have the Nougat Battery Bug.
Disclaimer:
By no means am I a developer. I not responsible for anything that may happen to your phone as a result of installing custom roms and/or kernels, mods. You do so at your own risk and take the responsibility upon yourself.
Just a little back story.
I bouncing around 2 MM ROMS. Pure Nexus and Resurrection Remix. Till MegaPixel6P came out in early December. Even though it was a N 7.1.1 build. I never experienced any of the N battery bugs. I ran with MegaPixel6P till i notice that it wasn't being updated. I found out that Lineage OS was available for the 6P. So I gave Lineage a try. I clean installed the rom, gapps & mods. Setup the phone as usual and downloaded/installed all the apps I use. The next few days I used the phone as I normally would. As I used the phone. I noticed the fast battery drain. Then I noticed the battery percentage going down either by 1% or 2%. Finally my battery when it's between 8-20% would automatically die. When i'd plug it in and start the phone the percentage wouldn't be at 1% but at the percentage it would die. I tried to doing another clean install, but the bug was still there. I then started reading up on the bug. On the web, reddit, xda.... I was fed up. So I went back to complete stock/rooted. Still same bug. During all this I would get around 5h 30m battery life. With 1h 50m of sot.
Currently I'm on Pure Nexus. For the past week I've experimented with battery life fixes, until I came up with my current configuration.
For this bug fix I want to thank the following Dev's:
@BeansTown106 - Pure Nexus Rom
@The Flash - [UNOFFICIAL] TWRP 3.0.3-x with F2FS SUPPORT, FLASH Kernel
@HTC_Phone - F2FS conversion procedure
@fapste - [KERNEL PROFILE] WINGOKU Interactive Governor Profile For Battery Life & Performance
@flar2 - EX Kernel Manager
@ravinder0003 - [Mod][6.x/7.x] Xthermal Mod -Fast Charging + Some CPU/GPU Tweaks
F2FS Conversion Procedure:
*Flash [UNOFFICIAL] TWRP 3.0.3-x with F2FS SUPPORT
*Flash PN (or any rom that supports F2FS), Gapps recommended by rom Dev, Xthermal Mod, SuperSU v2.79 SR3, f2fs compatible kernel (I used Flash Kernel)
*Boot ROM and go through initial setup
*Reboot to recovery, back up /data, move backup to computer or safe place
*Reboot recovery and use Flash's custom TWRP for f2fs
*Wipe/Format data and cache to f2fs
*Reboot recovery
*Move backup to phone
*Go to settings and check "Use rm -rf instead of formatting"
*Restore data backup
*Reboot recovery to make sure that the partitions are still f2fs
*Reboot system
*Download/Install EX Kernel Manager, open and grant root access
*Download WINGOKU Interactive Governor Profile, remove the .txt by renaming it
*Cut/copy file to sdcard> ElementalX> gov_profiles
*Open EX Kernel Manager, From the side panel go to CPU change both CPU governors Little/Big Cluster to Interactive, go into Governor options and load WINGOKU Profile
*Install/restore your apps
*Profit
Links:
[ROM][6P][7.1.1_r21]★ Pure Nexus ★ Substratum | Fi | WiFi Calling ★[02/15/17]
https://forum.xda-developers.com/nexus-6p/development/rom-pure-nexus-layers-fi-wifi-calling-t3244563
[UNOFFICIAL] TWRP 3.0.3-x with F2FS SUPPORT, FLASH Kernel
https://forum.xda-developers.com/nexus-6p/development/unofficial-twrp-3-0-3-x-f2fs-support-t3543450
http://nchancellor.net/Downloads/Kernels/
[KERNEL PROFILE] WINGOKU Interactive Governor Profile For Battery Life & Performance
https://forum.xda-developers.com/nexus-6p/general/kernel-profile-interactive-governor-t3550620
[Mod][6.x/7.x] Xthermal Mod -Fast Charging + Some CPU/GPU Tweaks
https://forum.xda-developers.com/ne...t/xthermal-mod-fast-charging-cpu-gpu-t3433784
After all said and done. All issues with the Nougat Battery Bug are resolved. No more fast draining battery, percentage dropping by 2%, and no more battery suddenly dropping to zero. now i'm getting nearly 6 hours of sot. This was achieved using Greenify and Servicely to prevent apps from waking. This has worked on my phone. I hope this works/helps all of you having this Nougat Battery Bug. Let me know if this has worked for someone else.
Thank You for your time.
raiden823
Again, I am in no way a dev.

Reserved 1

Reserved 2

Are you using a lot of social media apps? I tried almost everything to get great SOT, but I still want to use Instagram and Snapchat.
So if you use those apps and still get 6 hours of SOT I will try this. Let me know!

Tommebaas said:
Are you using a lot of social media apps? I tried almost everything to get great SOT, but I still want to use Instagram and Snapchat.
So if you use those apps and still get 6 hours of SOT I will try this. Let me know!
Click to expand...
Click to collapse
I did use social media before this fix, and after. This thread is meant for the people that have been having the dreaded Nougat battery bug. But, if you want to try it out to get better battery life. By all means try it out.
BTW, I'm only using two root apps to control apps from waking up. They are Greenify & Servicely.
Let me know your results. If you do decide to try this out.

Raiden823 said:
I did use social media before this fix, and after. This thread is meant for the people that have been having the dreaded Nougat battery bug. But, if you want to try it out to get better battery life. By all means try it out.
BTW, I'm only using two root apps to control apps from waking up. They are Greenify & Servicely.
Let me know your results. If you do decide to try this out.
Click to expand...
Click to collapse
Would you be up for listing the apps you Greenify and what services are limited? I'm down for reproducing your setup as closely as possible. Thanks for taking the time to write up this tutorial.
Sent from my Nexus 6P using XDA-Developers Legacy app

CyberpodS2 said:
Would you be up for listing the apps you Greenify and what services are limited? I'm down for reproducing your setup as closely as possible. Thanks for taking the time to write up this tutorial.
Click to expand...
Click to collapse
For greenify I hibernated the apps that are "running in the background" and "apps that may slow down the device." Then I'd hit the more apps and hibernate all the social media apps, and apps with the "gcm" next to them.
As for servicely I add all the apps that have the "may wake device" written in red underneath the app name. Also all social media apps.
That's about it.

Raiden823 said:
For greenify I hibernated the apps that are "running in the background" and "apps that may slow down the device." Then I'd hit the more apps and hibernate all the social media apps, and apps with the "gcm" next to them.
As for servicely I add all the apps that have the "may wake device" written in red underneath the app name. Also all social media apps.
That's about it.
Click to expand...
Click to collapse
Is there a fix for being on stock? I too get the Nougat battery bug where it dies between 20-30%.

explorer-10 said:
Is there a fix for being on stock? I too get the Nougat battery bug where it dies between 20-30%.
Click to expand...
Click to collapse
You may want to take a look at this thread. https://forum.xda-developers.com/nexus-6p/general/guide-set-forget-setup-easy-update-t3560052

Hi Raiden, I'm not too sure I have this bug, do you think I would benefit from your fix?
If you would be so kind to see my thread here: https://forum.xda-developers.com/nexus-6p/help/sudden-extreme-batterydrain-30-to-zero-t3616163

I think this is more of a workaround than a fix.

How is this going to fix the early shutdown issue and how would a TRWP version make a difference?

Related

A few questions

what's the consensus about stability, supprot development and battery life? It seems like CM7 offers the most battery life, CM10 is still unstable and CM9 has hardware acceleration but battery drain. I am on CM9 and wondering whether I should move forward to CM10 or just keep waiting for Qarx to release better releases?
Also is there a way, on my phone, to be notified of build releases?
What is the difference (I have a Bravo) between Kobe and Qarx builds? I have been using Kobe can I just flash to Qarx?
Also if I'm upgrading from CM9 to CM10 is there a way to keep my settings, files, homscreen icons and simply flash to CM10?
I am on the KOBE build, and wanted to know will I have things like HWA with the generic CM9 build...is there any advantage of the generic CM9 builds? Also will I be able to go to settings->:system updates and update using CM9's update service?
My battery life stinks on CM9!
zetsui said:
what's the consensus about stability, supprot development and battery life? It seems like CM7 offers the most battery life, CM10 is still unstable and CM9 has hardware acceleration but battery drain. I am on CM9 and wondering whether I should move forward to CM10 or just keep waiting for Qarx to release better releases?
Also is there a way, on my phone, to be notified of build releases?
What is the difference (I have a Bravo) between Kobe and Qarx builds? I have been using Kobe can I just flash to Qarx?
Also if I'm upgrading from CM9 to CM10 is there a way to keep my settings, files, homscreen icons and simply flash to CM10?
I am on the KOBE build, and wanted to know will I have things like HWA with the generic CM9 build...is there any advantage of the generic CM9 builds? Also will I be able to go to settings->:system updates and update using CM9's update service?
My battery life stinks on CM9!
Click to expand...
Click to collapse
Cm9 was alredy left in the past, there will be no more changes to fix battery drain, you should move alredy to cm10, the problem is present but it still has support from devs.
In the lastest build from quarx for bravo, bravo rom updater is working, but the app says defy rom updater and you just need to change some things inside config to make it work
josuearisty said:
Cm9 was alredy left in the past, there will be no more changes to fix battery drain, you should move alredy to cm10, the problem is present but it still has support from devs.
In the lastest build from quarx for bravo, bravo rom updater is working, but the app says defy rom updater and you just need to change some things inside config to make it work
Click to expand...
Click to collapse
For the rom updater do you have the thread for how to change the config file? I can't seem to find it on google.
Also no way to set the number of homescreens on cm10? Any other big changes they are looking forward to? That already seemed to slow down my bravo more than cm9.
Say I want to try to flash CM7 Kobe...could I simply do what I did for upgrading CM9->CM10..wipe the cache/davlik
So I'm on CM10 right now. Can I wipe the cache/davlik and flash the CM7 nightly/gapps?
There is no smartass profile on the bravo. Can I add it somehow?
I flashed CM10 fine with CWM. Only did a cache/davlik
Some people recommend a factory reset though? Why is that? I mean why go through the hassle of changing all your settings and reinstalling all your apps? I find it that I can't titanium restore my apps because the googleapps store from cm9 has a different account id than the current google apps installation on cm10.
Much slower startup too
zetsui said:
For the rom updater do you have the thread for how to change the config file? I can't seem to find it on google.
Also no way to set the number of homescreens on cm10? Any other big changes they are looking forward to? That already seemed to slow down my bravo more than cm9.
Say I want to try to flash CM7 Kobe...could I simply do what I did for upgrading CM9->CM10..wipe the cache/davlik
So I'm on CM10 right now. Can I wipe the cache/davlik and flash the CM7 nightly/gapps?
There is no smartass profile on the bravo. Can I add it somehow?
I flashed CM10 fine with CWM. Only did a cache/davlik
Some people recommend a factory reset though? Why is that? I mean why go through the hassle of changing all your settings and reinstalling all your apps? I find it that I can't titanium restore my apps because the googleapps store from cm9 has a different account id than the current google apps installation on cm10.
Much slower startup too
Click to expand...
Click to collapse
The easiest way to check for updates is to check up on the forums where updates/changelogs are being posted.
For homescreens in cm10, I don't use trebuchet. Alternatively, apex launcher and nova allow you to change the number of homescreens.
Personally, I wipe cache/dalvik and wipe data each time I flash roms. It just seems safer that way, even though it's a pain to restore. Can you explain the app id problem you're talking about?
Governors are found in the development section of bravo forums, posted by skeevy420.
Dr. Orange said:
The easiest way to check for updates is to check up on the forums where updates/changelogs are being posted.
For homescreens in cm10, I don't use trebuchet. Alternatively, apex launcher and nova allow you to change the number of homescreens.
Personally, I wipe cache/dalvik and wipe data each time I flash roms. It just seems safer that way, even though it's a pain to restore. Can you explain the app id problem you're talking about?
Governors are found in the development section of bravo forums, posted by skeevy420.
Click to expand...
Click to collapse
So I remember from stock->cm9 when I tried to restore my apps via titanium backup (and maybe in retrospect I erred when I tried to restore google store) there was some difference in the google store id off my old phone and my new phone's google store account on cm9...the difference in the store ids between my old apps and my new apps wouldn't allow me to authenticate all my applications. That and a lot of apps failed on startup because of it. Basically I dont think there is an easy way around reinstalling everything between cm9 and cm10
zetsui said:
So I remember from stock->cm9 when I tried to restore my apps via titanium backup (and maybe in retrospect I erred when I tried to restore google store) there was some difference in the google store id off my old phone and my new phone's google store account on cm9...the difference in the store ids between my old apps and my new apps wouldn't allow me to authenticate all my applications. That and a lot of apps failed on startup because of it. Basically I dont think there is an easy way around reinstalling everything between cm9 and cm10
Click to expand...
Click to collapse
Hmmm. The only issue I've had is trying to restore system apps/data between android 2.3.x and 4.0.x/4.1.x. Never had problems with restoring various other apps. That being said, you shouldn't have an issue restoring any apps from ics to jb.
Don't restore the google play store. That's a system app and I think that's why you've had problems. Just flash gapps when you flash roms. You can then do batch restore in titanium and it will restore your missing apps/data. I think that should fix the problems you've been having.
zetsui said:
For the rom updater do you have the thread for how to change the config file? I can't seem to find it on google.
Say I want to try to flash CM7 Kobe...could I simply do what I did for upgrading CM9->CM10..wipe the cache/davlik
So I'm on CM10 right now. Can I wipe the cache/davlik and flash the CM7 nightly/gapps?
There is no smartass profile on the bravo. Can I add it somehow?
I flashed CM10 fine with CWM. Only did a cache/davlik
Some people recommend a factory reset though? Why is that? I mean why go through the hassle of changing all your settings and reinstalling all your apps? I find it that I can't titanium restore my apps because the googleapps store from cm9 has a different account id than the current google apps installation on cm10.
Much slower startup too
Click to expand...
Click to collapse
Always factory reset when switching the rom base; eg. CM7 to CM9 or CM10. The reason is that the apps use the same filenames for sqlite databases, which don't have the same values from CM7\Miui\9\10\stock\MS2. That's where all the bugs come from when you don't wipe data\factory reset.
Google "fixed" Play to make it like that. If I remember correctly, there's an option in TB Pro that allows you to change the market id to your current rom's id. Under Batch\Market, if memory serves me well.
SmartassV2 is in the DX Gov pack. A trick is to just push it to /system/lib/modules/cpufreq_smartass.ko and overwrite the default smartass module with V2, since they use the same values to be tweaked you'll be able to configure V2 this way. This trick doesn't work with boostedass to overwrite boosted; only smartassV2 over smartass works.
Smartass sucks and is bugged by not using the 2nd vsel profile. Use SmartassV2 or Boosted. Oddly enough, I've found that if I use boosted\smartassV2 in combination with the vsel settings of [email protected]\[email protected]\[email protected] I get better battery life than when using [email protected]\[email protected]\[email protected] since 700mhz can handle more crap than 600 and doesn't need to jump up to vsel3 for greater processing power. Hell, I get 24 hrs easily like that and I use a Live Wallpaper (Galaxy Pack, its awesome so go buy it; Have Planet Pack from the same dev and its awesome as well).
You can speed up the startup by disabling the boot animation, removing unused system apps, using V6 properly, using F The Logs mod. Set the Governor to Ondemand\Performance\UserSpace (performance\userspace force it to use vsel3 exclusively) in the bootmenu for booting up and use something like NoFrills\CM Performance Menu\SetCpu to change to boosted\smartassV2 once you're fully booted and in the system. Another good tweak is to modify the sio scheduler scripts. I've done plenty of posts on how I mod bootmenu scripts to fix sio and to make it work better. The sio fix will give you much faster read times for the system memory (twice as fast for some apps, literally twice).
You can use the /system/bootmenu/scripts/overclock.sh and /system/bootmenu/config/overclock.conf from my latest CM7 Kang to apply the sio tweak. Just replace them before you flash the rom or adb push with 0777 permissions.
skeevy420 said:
Always factory reset when switching the rom base; eg. CM7 to CM9 or CM10. The reason is that the apps use the same filenames for sqlite databases, which don't have the same values from CM7\Miui\9\10\stock\MS2. That's where all the bugs come from when you don't wipe data\factory reset.
Google "fixed" Play to make it like that. If I remember correctly, there's an option in TB Pro that allows you to change the market id to your current rom's id. Under Batch\Market, if memory serves me well.
SmartassV2 is in the DX Gov pack. A trick is to just push it to /system/lib/modules/cpufreq_smartass.ko and overwrite the default smartass module with V2, since they use the same values to be tweaked you'll be able to configure V2 this way. This trick doesn't work with boostedass to overwrite boosted; only smartassV2 over smartass works.
Smartass sucks and is bugged by not using the 2nd vsel profile. Use SmartassV2 or Boosted. Oddly enough, I've found that if I use boosted\smartassV2 in combination with the vsel settings of [email protected]\[email protected]\[email protected] I get better battery life than when using [email protected]\[email protected]\[email protected] since 700mhz can handle more crap than 600 and doesn't need to jump up to vsel3 for greater processing power. Hell, I get 24 hrs easily like that and I use a Live Wallpaper (Galaxy Pack, its awesome so go buy it; Have Planet Pack from the same dev and its awesome as well).
You can speed up the startup by disabling the boot animation, removing unused system apps, using V6 properly, using F The Logs mod. Set the Governor to Ondemand\Performance\UserSpace (performance\userspace force it to use vsel3 exclusively) in the bootmenu for booting up and use something like NoFrills\CM Performance Menu\SetCpu to change to boosted\smartassV2 once you're fully booted and in the system. Another good tweak is to modify the sio scheduler scripts. I've done plenty of posts on how I mod bootmenu scripts to fix sio and to make it work better. The sio fix will give you much faster read times for the system memory (twice as fast for some apps, literally twice).
You can use the /system/bootmenu/scripts/overclock.sh and /system/bootmenu/config/overclock.conf from my latest CM7 Kang to apply the sio tweak. Just replace them before you flash the rom or adb push with 0777 permissions.
Click to expand...
Click to collapse
WOW That is amazing! Do you think that range between VSEL 2 and VSEL 3 with smartass is going to be consistent across different devices?
zetsui said:
WOW That is amazing! Do you think that range between VSEL 2 and VSEL 3 with smartass is going to be consistent across different devices?
Click to expand...
Click to collapse
Most devices have 4+ vsel slots. Moto phones are screwed by the bootloader\limited Moto Kernel features.
It should be. The thing with the bravo (when tweaking governors) is trying to find the magic values that use vsel2 more than vsel3 and still provide a smooth ui. The reason that a 700mhz vsel2 works good is that the Bravo comes with a stock vsel3 of 800mhz. CM7\9 work\use resources much better than our stock Froyo making that 700mhz perform like 800mhz on a stock rom.

CM 10.2 Issues

Now that CM10.2 nightlies are available for Nook HD and HD+, I am opening this thread as a place to discuss common issues people may face when migrating to 10.2.
I am watching a lot of people posing the same questions time and again on the development thread, so this thread will provide people to share issues and find solutions to their common problems.
I updated to CM 10.2 after a dirty install on 10.1. I immediately regretted the decision.
1) The market would fail to download or update any apps giving [RPC:S-5:AEC-0] error. This issue arises, I believe, because the identity of the device has changed. People have suggested that clearing the cache (setting>storage>cache) and removing and adding your Google Account solves this problem. In my case, at least, it did not solve the problem but I will not stop anyone from trying it, as it is much quicker than the solution to this problem.
2) Clock and Google Music would crash.
So here is what I suggest
CLEAN INSTALL CM10.2 to avoid any problems.
3) I have been using this version of GAPPS
http://forum.xda-developers.com/showthread.php?t=2378992
[courtesy of johje] and have not had any problems with it (except two clock icons in apps which I can live with)
4) Superuser still does not work with 4.3. You have to download this version from
http://forum.xda-developers.com/showthread.php?t=1538053&page=350
[Thanks Sherip for suggesting this solution]
before you could use adaway or Titanium back
5) [Resolved] Lock Screen slider positions does not work. Even if you add or remove shortcuts, your preferences will not be saved.[Edit: After a couple of restarts, now I can see a save button on top, Before that it only showed the reset button.]
6) Finally, for the first few hours after the install, the tablet was excruciatingly slow. so slow that I wanted to go back to 4.2. I think it was because of all the background Google processes and after the first few hours, the tablet is much more responsive now.
I will add more issues here once I found them. Please feel free to share, discuss and find solutions to your common CM10.2 issues.
---
Deafcyclist said:
Sorry if this is a noobish question but what can I do to make a 'clean' install? Just wipe data/factory reset? what other thing I can wipe to 'clean' it up further? Is it possible to completely remove the previous CM for a clean slate install?
thanks.
Click to expand...
Click to collapse
That's what I did. I spent around six hours trying to fix a dirty install over CM10.1. The dirty install preserves your apps and settings (if it works). However, I would suggest that you update your backup (using Titanium Backup or any backup app you use) and then wipe data/factory reset before installing CM10.2. I installed CM10.2 img, gapps and Superuser zip together and restored most of my apps and settings within the first hour.
Deafcyclist said:
Sorry if this is a noobish question but what can I do to make a 'clean' install? Just wipe data/factory reset? what other thing I can wipe to 'clean' it up further? Is it possible to completely remove the previous CM for a clean slate install?
thanks.
Click to expand...
Click to collapse
Make sure you also clear dalvik cache, battery stats and format internal sd. And please don't restore apps from Titanium Backup
---------- Post added at 05:38 PM ---------- Previous post was at 05:32 PM ----------
I installed 10.2 dirty but everything seems to work fine.
Try Greenify donated version it allows you to hibernate system apps to free up RAM
---
kareinanikko said:
Make sure you also clear dalvik cache, battery stats and format internal sd. And please don't restore apps from Titanium Backup
---------- Post added at 05:38 PM ---------- Previous post was at 05:32 PM ----------
I installed 10.2 dirty but everything seems to work fine.
Try Greenify donated version it allows you to hibernate system apps to free up RAM
Click to expand...
Click to collapse
I personally do not think that restoring user apps from Titanium backup will do any harm to your system. I know that it also backups system apps and settings which should not be transferred to CM10.2 but user apps, e.g., Facebook can safely be restored from backup. Just make sure that you have updated the latest version of your apps or else you may have to update them immediately in Play store. Even then, you retain all your settings which is important for me.
Though I have not yet installed 10.2
I really appreciate you starting this thread so I know what I'm in for when I do.
Thanks for the info. Since the only issue I have is some lag that is likely more hardware than software related and one game "Vice City" not working, I will pass for now. Can not be bothered starting from scratch with over 200 apps and about 17GB in total size. Not seeing the value-add in relation to current performance. Comics, video, browsing, emulators, games and Flash all perform fine. A little UI and app start lag seems the lesser of the "evils". Especially since I doubt software can compensate for a 4470 with 760mb of free ram and a older gpu pushing a 1080p display. The lower res Nook has none of the lag and is quite zippy. Only real difference is less than half the pixles to push.
Seems likely I could go through the effort and still have the lag. Added: I am tired of that word "lag". I prefer the "L" word.
rushless said:
Thanks for the info. Since the only issue I have is some lag that is likely more hardware than software related and one game "Vice City" not working, I will pass for now. Can not be bothered starting from scratch with over 200 apps and about 17GB in total size. Not seeing the value-add in relation to current performance. Comics, video, browsing, emulators, games and Flash all perform fine. A little UI and app start lag seems the lesser of the "evils". Especially since I doubt software can compensate for a 4470 with 760mb of free ram and a older gpu pushing a 1080p display. The lower res Nook has none of the lag and is quite zippy. Only real difference is less than half the pixles to push.
Seems likely I could go through the effort and still have the lag. Added: I am tired of that word "lag". I prefer the "L" word.
Click to expand...
Click to collapse
I would say this upgrade is worth the hassle to go through a fresh install. My main motivation to upgrade to 10.2 was the presence of TRIM support which both increase the responsiveness and life of emmc. I have read [Leapliner] the trim app some people installed in 10.1 bricked their tablets so upgrading was the only option. If you make an update of your user apps, a fresh install will take less than an hour. Also make sure to take a nandroid backup. Even if something goes wrong, you can have your old setup back in a flash.
Dirty Install
excalibar001 said:
Now that CM10.2 nightlies are available for Nook HD and HD+, I am opening this thread as a place to discuss common issues people may face when migrating to 10.2.
I am watching a lot of people posing the same questions time and again on the development thread, so this thread will provide people to share issues and find solutions to their common problems.
I updated to CM 10.2 after a dirty install on 10.1. I immediately regretted the decision.
Click to expand...
Click to collapse
I did a dirty update, but my results were largely different from yours.
1) Superuser works for me.
2) You used the old gapps (20130726), and I used the new (20130813) so I had no issues with the play store.
3) It was really laggy until I discovered that it only seems to like ( on my tablet anyway ) the ondemand governor with the cfq scheduler.
I have lost a few apps/widgets, but nothing that I miss so far ( stuff like 'Temp + Cpu v2 ), but it screwed up gl to sd until I manually edited its .xml file.
I update to 10.2 20130814 from 10.1 20130813, and it seems to be working but I have a lot more live testing to do...
RageAgain said:
I did a dirty update, but my results were largely different from yours.
1) Superuser works for me.
2) You used the old gapps (20130726), and I used the new (20130813) so I had no issues with the play store.
3) It was really laggy until I discovered that it only seems to like ( on my tablet anyway ) the ondemand governor with the cfq scheduler.
I have lost a few apps/widgets, but nothing that I miss so far ( stuff like 'Temp + Cpu v2 ), but it screwed up gl to sd until I manually edited its .xml file.
I update to 10.2 20130814 from 10.1 20130813, and it seems to be working but I have a lot more live testing to do...
Click to expand...
Click to collapse
That's good info to have. I'll try ondemand with cfq scheduler, and see if that helps. The only thing I noticed was that it was "slightly" slower than the 10.1 version. But not horribly so. I'll give this a try and see if it helps.
My stable pre 10.2 nightly salutes all of you folks that jumped in!
I will remain peaking out of a bunker, twenty fathoms below sea level until a common trend of opinion is it is worth it- not seeing that yet.
Unless lag free, I see no reason to take the six hours (really) to download and set-up everything again. 272 apps at 17GB total. So far, some state it is
actually slower and some say faster- net result though at this point seems a net wash.
bpaulien said:
That's good info to have. I'll try ondemand with cfq scheduler, and see if that helps. The only thing I noticed was that it was "slightly" slower than the 10.1 version. But not horribly so. I'll give this a try and see if it helps.
Click to expand...
Click to collapse
That is how I feel too. It is slower but not enough to make me migrate back.
rushless said:
My stable pre 10.2 nightly salutes all of you folks that jumped in!
I will remain peaking out of a bunker, twenty fathoms below sea level until a common trend of opinion is it is worth it- not seeing that yet.
Unless lag free, I see no reason to take the six hours (really) to download and set-up everything again. 272 apps at 17GB total. So far, some state it is
actually slower and some say faster- net result though at this point seems a net wash.
Click to expand...
Click to collapse
stable? you have a stable build? my 10.1 reboots at the worst times
The nightly just before 10.2 version has had zero reboots for me and very low battery bleed in standby. Not seeing how 10.2 is worth it ATM since for every person raving, another is either having issues, or a slightly slower device. This does not include folks that installed over 10.1 rather than start from scratch.
Looking forward to 10.2 with feedback that is more favorable for performance to offset my apathy for starting from scratch.
rushless said:
Looking forward to 10.2 with feedback that is more favorable for performance to offset my apathy for starting from scratch.
Click to expand...
Click to collapse
Understandable. I am not having the same slowdowns and lag that occurred with the 20130814 now that I have updated to the 20130815 of the 10.2. Much smoother and more responsive, as now it never doesn't wake up right away when I push the power button, and the lock screen responds immediately. I have had no spontaneous reboots, and my screen hasn't gone black momentarily at all. Hopefully this positive trend will continue. My only current issue is the apps that no longer work, or no longer work correctly. Still a far larger percentage work without incident than not, and the ones that don't are mostly Android 4.3 problems and not Nook HD(+) problems so they will be fixed eventually.
All in all, I would say that 4.3 isn't as bad as it was initially made out to be...
RageAgain said:
Understandable. I am not having the same slowdowns and lag that occurred with the 20130814 now that I have updated to the 20130815 of the 10.2. Much smoother and more responsive, as now it never doesn't wake up right away when I push the power button, and the lock screen responds immediately. I have had no spontaneous reboots, and my screen hasn't gone black momentarily at all. Hopefully this positive trend will continue. My only current issue is the apps that no longer work, or no longer work correctly. Still a far larger percentage work without incident than not, and the ones that don't are mostly Android 4.3 problems and not Nook HD(+) problems so they will be fixed eventually.
All in all, I would say that 4.3 isn't as bad as it was initially made out to be...
Click to expand...
Click to collapse
I agree. I'm one who said it was slightly slower than 10.1 initially, but after updating to the 0815 nightly version, it doesn't seem to be the case anymore.
Although, I also changed the governor to OnDemand, and scheduler to cfq, like I heard from somebody who got better results with that configuration, on another post somewhere... So I don't know if it was one or the other, or a combination of both. But I have no complaints with the current setup.
RageAgain said:
I did a dirty update, but my results were largely different from yours.
1) Superuser works for me.
2) You used the old gapps (20130726), and I used the new (20130813) so I had no issues with the play store.
3) It was really laggy until I discovered that it only seems to like ( on my tablet anyway ) the ondemand governor with the cfq scheduler.
I have lost a few apps/widgets, but nothing that I miss so far ( stuff like 'Temp + Cpu v2 ), but it screwed up gl to sd until I manually edited its .xml file.
I update to 10.2 20130814 from 10.1 20130813, and it seems to be working but I have a lot more live testing to do...
Click to expand...
Click to collapse
Could you please let us know what you did for the dirty update, I am planning to upgrade from CM10.1 to CM10.2 without loosing the Apps and User profiles(?) For normal updates in CM10.1, I just run the ROM update choosing the Update file (No cache clearing etc, it automatically update without going to CMW recovery mode, at least i dont have to choose any options in this kind of update). If this is not correct method of Upgrading to 10.2, could you please provide all the steps that i need to do. Thanks in advance.
sudheersagar said:
Could you please what you did for the dirty update, I am planning to upgrade from CM10.1 to CM10.2 without loosing the Apps and User profiles(?) For normal updates in CM10.1, I just run the ROM update choosing the Update file (No cache clearing etc, it automatically update without going to CMW recovery mode, at least i dont have to choose any options in this kind of update). If this is not correct method of Upgrading to 10.2, could you please provide all the steps that i need to do. Thanks in advance.
Click to expand...
Click to collapse
First, I am using the TWRP recovery and not the CMW, as I just wanted the touch...
The steps that I took were just, in TWRP choose both the update file and the gapps file and let it install both. Then I cleared the cache and dalvik cache, and rebooted. I usually wait until it settles down after the initial boot and then reboot.
So, in CMW, I guess that would be ( they way I used to do it in CMW anyway ):
1) Reboot into CMW
1a) When in doubt, do a backup
2) Install System update
3) Install Gapps ( 4.3 version latest that I used was the 20130813 )
4) Clear/wipe cache and dalvik cache
5) Reboot into Android and wait til it stops fiddling with itself
6) Reboot again
It is the method I have used since my Acer A500 days...
SU Still Mishandling Environment
Even with the SuperSU package linked in the first post, I'm still having issues with SU misbehaving in terms of how environmental variables are handled. In 10.1 I can pass pretty much whatever I want into the su session, and it behaves quite similarly to su running on a linux desktop. In 10.2, I can't pass anything, even with the --preserve-environment flag (which shouldn't even be necessary, since I'm not using -l.) SuperSU doesn't seem to improve the situation much, except for making su usable in the shell again. Has anyone else noticed this, or am I in the minority of people that wants to pass things like PATH and ZDOTDIR into my su session? Is this a security feature of Android 4.3, or just a quirk with SU at this point?
I've tried some test cases to illustrate this behavior:
CM 10.1 20130813
Code:
[[email protected] /]% su -v
13 com.android.settings
[[email protected] /]% export TESTVAR=1234
[[email protected] /]% su
[[email protected] /]# echo $TESTVAR
1234
CM 10.2 20130815 w/ SuperSU linked in OP
Code:
[email protected]:/ $ su -v
1.51:SUPERSU
[email protected]:/ $ export TESTVAR=12345
[email protected]:/ $ su
[email protected]:/ # echo $TESTVAR
[email protected]:/ # exit
3|[email protected]:/ $ su --preserve-environment
[email protected]:/ # echo $TESTAR
CM 10.2 20130815 without SuperSU had the same result, but had really broken output.
CM 10.2 20130817 has the same behavior as the previous nightly.

[script] [emui 4.0+] debloater for emui4

WHATS A DEBLOATER??
DEBLOATER is a script to delete unwanted stock apps from emui and make system lighter decreasing the ram consumption
currently debloated nearly about 20 apps (within system), more apps to be debloated soon,
DEBLOAT LIST
CALENDAR
CALCULATOR
LAUNCHER
HANGOUTS
FM RADIO
CLOCK
HW VOICE ASSISTANT
GOOGLE NEWS STAND
G+
YOUTUBE
EMAIL
NOTEPAD
EXCHANGE SERVICES
GALLERY
SYSTEM MANAGER
MEDIA CENTER
INDIAN CALENDAR
CHROME
AND MORE TO COME SOON
DOWNLOAD
DEBLOATER_HONOR_5X_EMUI4_V1.zip
INSTRUCTIONS
FLASH
WIPE CACHE/DALVIC
REBOOT (will take more than half an hour to boot)
suggestions/ requests to delete or add any app is welcome..
PS: FIRST BOOT WILL TAKE MORE THAN HALF AN HOUR.. DEPENDING UPON THE NUMBER OF APPS INSTALLED ON YOUR PHONE.. SO PLESE BE PATIENT
important
hit thanks :good: , lol:laugh:
​
#1
For rooted phone, I'm assuming?
alicarbovader said:
For rooted phone, I'm assuming?
Click to expand...
Click to collapse
well its a script. You don't need rooted for that . Just need TWRP to be installed to flash the script.
Just a few comments.
1. Why don't you just post the script? Perhaps people don't want you to delete their clock or FM radio. What you're providing just doesn't make any sense. If you wanna write a debloater, at least let people choose what they can delete.
REBOOT (will take more than half an hour to boot)
Click to expand...
Click to collapse
Not sure this is the reason for taking that long. I can install an entire ROM in 5 min. So I guess, it's a partially broken script causing it. E.g. there is no "unmount", it should be "umount".
Code:
run_program("/sbin/busybox","unmount","/data");
run_program("/sbin/busybox","unmount","/system");

[OPINION][GUIDE] My best ROM experience and my thoughts about it

Hello everyone!
I wanted to wright this post because it was kind of a surprise to me the outcome of my decision.
Since I bought my XT1068 back in April 2015, I constantly changed between custom ROM's and kernels, from Lollipop to Nougat, hoping to get the best out of my device, in terms of performance and also in terms of battery (as everyone else).
I faced a lot of great ROM's (CM 12.1, MinimalOS, Blisspop, TurboROM, RR, Radium, etc.) What I began to realise, was that I was still missing the bug free ROM experience I wanted, along with the performance and battery life that everyone wants.
Lately, I have been using @Danilo-Sanchez Unnofficial CM 12.1 (thanks a lot for all awesome the work man) who kept updating it with latest security patches, but I missed some of the MM features.
A couple of days ago, after reading some comments and seeing some reports I thought to my self why not go with stock (stock? omg ), and decided to install it and update it to latest version.
Along with Root, Xposed, Greenify and Amplify, I ended up with a blazing fast smooth ROM, with great performance, incredible battery life, and all the tweaks that xposed has to offer.
I now have a constant 400+Mb free RAM device with 5+hours of SoT with average usage (YouTube, browsing Chrome, Instagram, Messenger, SMS).
For those who want to know how I did it here is the guide:
There are two Stock Moto Marshmallow builds.
This is the first one, you will get everything stock, including recovery, and you will lose all data and root.
After flashing according to the link, you will receive after some minutes the second update. Install the update and then you can finally flash TWRP and then root your device.
https://forum.xda-developers.com/moto-g-2014/general/official-stock-firmware-t3018682
Here is the link for the TWRP and root thread. Remember to flash latest TWRP.
https://forum.xda-developers.com/moto-g-2…/…/xt1063-t3018818
I always have 450+ MB off free RAM and 5+hours of SoT. This achieved with xposed, greenify and amplify.
PS: I would like to remember that I dont have Facebook neither Snapchat apps, which take a lot of ram and battery. For Facebook I use Chrome shortcut.
Battery TIP:
Always try to plug in your phone to the charger between 5% and 10% and NEVER let your phone turn off itself because of no battery.
Also, if you can, always charge to 100% and try not to charge overnight, unplug when it reaches 100%.
Hope I was clear and if I helped you, hit thanks! :good:
I have to admit that I didn't use stock MM rom a lot.
I've just used stock LP 5.0.2 (which I hated because of that memory leak bug).
When update to MM came I was already using CM12.1 (later I updated to MM only to update the bootloader, but didn't use the ROM).
Was the stereo channels bug fixed on latest update?
Danilo-Sanchez said:
I have to admit that I didn't use stock MM rom a lot.
I've just used stock LP 5.0.2 (which I hated because of that memory leak bug).
When update to MM came I was already using CM12.1 (later I updated to MM only to update the bootloader, but didn't use the ROM).
Was the stereo channels bug fixed on latest update?
Click to expand...
Click to collapse
You should give it a try
Yes here stereo channels working as they should, not inverted.
After trying many ROMs on here, and ultimately not being satisfied (jumping from ROM to ROM). I found myself always going back to stock. And now seeing as how Cyanogen Inc. no longer supports CyanogenMod...not that I was ever really a fan on CM based ROMs in the first place (but apparently it was important to custom ROM development or something), ROM development for the phone has really gotten slow.
All I ever really wanted was a stable, bug free, as pure as possible AOSP ROM that's maintained and kept up-to-date with the following Apps...
G-Apps:
Google Play Store
Google Play Services
Google Now Launcher
Google Search App
Google Keyboard
And any other apps/libs required for those to work properly. Any other G-Apps that I may have needed could have been downloaded through Google Play.
Moto-Apps:
Stock Motorola Camera (fully working)
That's pretty much the only Motorola app I care about.
But no, I was unable to find such an AOSP ROM so now stock ROM is the only ROM I'll use till I part ways with my Moto G (Titan). Rooted of course, but no Xposed for me...I don't really care about customization and TBH I don't really care much for Nougat and Nougat based ROMs either. I was using stock Marshmallow for the longest while but recently decided to try stock Lollipop again. I had forgotten how responsive stock Lollipop was compared to Marshmallow, I personal never experienced any sort of memory leak on stock 5.0.2 Lollipop. Now I've decided to just stick with stock Lollipop till the end.
I've disabled the following Apps:
Android Live Wallpapers
Android System WebView
Android Work Assistant
Assist
Bubbles
Calendar
Calendar Storage
Clock
Cloud Print
com.android.wallpaper.holospiral
CQATest
Device Management
Drive
Email
Exchange Services
FM Radio
Gmail
Google Hindi Input
Google Korean Input
Google Pinyin Input
Google Play Games
Google Play Movies & TV
Google Play Music
Google Play Newstand
Google Text-to-speech Engine
Google+
Hangouts
Help
HP Print Service Plugin
iWnn IME
Maps
Motorola Alert
Motorola Boot Services
Motorola Checkin
Motorola Contextual Services
Motorola Migrate
Motorola Notification
Motorola One Time Init
Motorola Services
Motorola System Service
Music Visualization Wallpapers
Phase Beam
Photos
Preset
Print Spooler
Quickoffice
Setup
Street View
TalkBack
Translate
I use an app called Disable Service by WangQi to disable the following apps:
com.motorola.motgeofencesvc
MotoCare
MotoCareInt
Motorola Services Main
MotorolaOTA --a must disable for me, as it will try to check for updates then nag you to death to upgrade which will brick a downgraded phone.
NativeDropBoxAgent
(BlurServiceMother) Service from stock Gallery App --otherwise you'll keep getting errors in the gallery app due to NativeDropBoxAgent service being disabled.
Now I have better battery life than I did under Marshmallow and have up to 605 MBs of free RAM and a smooth responsive experience. Note that I also set animations to .5x under Developer Options and turned off touch sounds.
MobileHD said:
After trying many ROMs on here, and ultimately not being satisfied (jumping from ROM to ROM). I found myself always going back to stock. And now seeing as how Cyanogen Inc. no longer supports CyanogenMod...not that I was ever really a fan on CM based ROMs in the first place (but apparently it was important to custom ROM development or something), ROM development for the phone has really gotten slow.
All I ever really wanted was a stable, bug free, as pure as possible AOSP ROM that's maintained and kept up-to-date with the following Apps...
G-Apps:
Google Play Store
Google Play Services
Google Now Launcher
Google Search App
Google Keyboard
And any other apps/libs required for those to work properly. Any other G-Apps that I may have needed could have been downloaded through Google Play.
Moto-Apps:
Stock Motorola Camera (fully working)
That's pretty much the only Motorola app I care about.
But no, I was unable to find such an AOSP ROM so now stock ROM is the only ROM I'll use till I part ways with my Moto G (Titan). Rooted of course, but no Xposed for me...I don't really care about customization and TBH I don't really care much for Nougat and Nougat based ROMs either. I was using stock Marshmallow for the longest while but recently decided to try stock Lollipop again. I had forgotten how responsive stock Lollipop was compared to Marshmallow, I personal never experienced any sort of memory leak on stock 5.0.2 Lollipop. Now I've decided to just stick with stock Lollipop till the end.
I've disabled the following Apps:
Android Live Wallpapers
Android System WebView
Android Work Assistant
Assist
Bubbles
Calendar
Calendar Storage
Clock
Cloud Print
com.android.wallpaper.holospiral
CQATest
Device Management
Drive
Email
Exchange Services
FM Radio
Gmail
Google Hindi Input
Google Korean Input
Google Pinyin Input
Google Play Games
Google Play Movies & TV
Google Play Music
Google Play Newstand
Google Text-to-speech Engine
Google+
Hangouts
Help
HP Print Service Plugin
iWnn IME
Maps
Motorola Alert
Motorola Boot Services
Motorola Checkin
Motorola Contextual Services
Motorola Migrate
Motorola Notification
Motorola One Time Init
Motorola Services
Motorola System Service
Music Visualization Wallpapers
Phase Beam
Photos
Preset
Print Spooler
Quickoffice
Setup
Street View
TalkBack
Translate
I use an app called Disable Service by WangQi to disable the following apps:
com.motorola.motgeofencesvc
MotoCare
MotoCareInt
Motorola Services Main
MotorolaOTA --a must disable for me, as it will try to check for updates then nag you to death to upgrade which will brick a downgraded phone.
NativeDropBoxAgent
(BlurServiceMother) Service from stock Gallery App --otherwise you'll keep getting errors in the gallery app due to NativeDropBoxAgent service being disabled.
Now I have better battery life than I did under Marshmallow and have up to 605 MBs of free RAM and a smooth responsive experience. Note that I also set animations to .5x under Developer Options and turned off touch sounds.
Click to expand...
Click to collapse
Most of the apps you disabled I unninstalled myself, I prefer to free the space (although I dont really use it).
The main reason I use xposed is for amplify, greenify and for some small tweaks with gravity box, I dont like many apps messing with the phone.
Anyway, there were some features I missed from MM, that is why I switch from Lollipop.
Thanks for your comment!
The first link is not working, which is: https://forum.xda-developers.com/…/o...k-firmware-…
Please fix.
whatever7276 said:
The first link is not working, which is: https://forum.xda-developers.com/…/o...k-firmware-…
Please fix.
Click to expand...
Click to collapse
Fixed
@maximuns Since I am currently facing the dilemma (hold on for LineageOS 14.1 Snapshot or revert back to stock), I have some questions for you:
1) What apps have you disabled/uninstalled and with which app did you disable/uninstall them? Can you make a list of them as @MobileHD did with his/hers?
2) What custom ROM were you using prior to reverting to stock ROM? I've read posts mentioning some ugly hardbricking when reverting from custom ROM to stock ROM and that I should stick to custom ROM, if I have one installed. I am currently using LineageOS 14.1 200170126.
3) What kind of weekly or monthly maintenance do you perform to keep your phone bug/ram leak free? I myself wipe cache from recovery (TWRP) every 15 days and use sd maid once a month. But I cannot keep the phone from lagging and it really gets on my nerves.
4) How may apps do you have currently installed? I feel that keeping 77 apps is killing my phone's ram.
5) Do we really need to install TWRP? Can't we just use the command "fastboot boot twrp.img" and run the custom recovery just to install the root app?I ask this because we won't be able to install OTA updates after installing a custom recovery.
6) Did you make any changes to the default settings of Greenify or Amplify? What for do you use the Gravity Box app exactly? Care to mention what changes have you done to the default settings please?
Just a question. In stock roms, how you disable the ascending ringtone? I really dont like it.
Jimisballjohn said:
@maximuns Since I am currently facing the dilemma (hold on for LineageOS 14.1 Snapshot or revert back to stock), I have some questions for you:
2) What custom ROM were you using prior to reverting to stock ROM? I've read posts mentioning some ugly hardbricking when reverting from custom ROM to stock ROM and that I should stick to custom ROM, if I have one installed. I am currently using LineageOS 14.1 200170126.
5) Do we really need to install TWRP? Can't we just use the command "fastboot boot twrp.img" and run the custom recovery just to install the root app?I ask this because we won't be able to install OTA updates after installing a custom recovery.
Click to expand...
Click to collapse
You will brick your phone when you use default OTA and update it from older Android(or bootloader) version to newer.(I think its because of the bootloader) Just care!
Spieletips said:
You will brick your phone when you use default OTA and update it from older Android(or bootloader) version to newer.(I think its because of the bootloader) Just care!
Click to expand...
Click to collapse
You only brick your phone if you downgrade android with a higher bootloader to a lower (for example from 4887 - latest to 4886 - previous).
When in stock, you can update your android when the update arrives, as long as you have stock recovery, stock ROM and no ROOT. (not sure about the last one)
tasvar said:
Just a question. In stock roms, how you disable the ascending ringtone? I really dont like it.
Click to expand...
Click to collapse
I think there is no option for that and I think I don't have ascending ringtone, never noticed.
Jimisballjohn said:
@maximuns Since I am currently facing the dilemma (hold on for LineageOS 14.1 Snapshot or revert back to stock), I have some questions for you:
1) What apps have you disabled/uninstalled and with which app did you disable/uninstall them? Can you make a list of them as @MobileHD did with his/hers?
2) What custom ROM were you using prior to reverting to stock ROM? I've read posts mentioning some ugly hardbricking when reverting from custom ROM to stock ROM and that I should stick to custom ROM, if I have one installed. I am currently using LineageOS 14.1 200170126.
3) What kind of weekly or monthly maintenance do you perform to keep your phone bug/ram leak free? I myself wipe cache from recovery (TWRP) every 15 days and use sd maid once a month. But I cannot keep the phone from lagging and it really gets on my nerves.
4) How may apps do you have currently installed? I feel that keeping 77 apps is killing my phone's ram.
5) Do we really need to install TWRP? Can't we just use the command "fastboot boot twrp.img" and run the custom recovery just to install the root app?I ask this because we won't be able to install OTA updates after installing a custom recovery.
6) Did you make any changes to the default settings of Greenify or Amplify? What for do you use the Gravity Box app exactly? Care to mention what changes have you done to the default settings please?
Click to expand...
Click to collapse
Hey man, I will try to be as specific as I can:
1) What apps have you disabled/uninstalled and with which app did you disable/uninstall them?
These are all my installed apps, I don't remember the ones I uninstalled, so I will leave here all apps and you can see the ones you have that are not here (which will be the ones I uninstalled). The frozen apps are identified.
System Apps:
Android System;
Audio Effects;
Automatic SIM selection;
Basic Daydreams;
Bluetooth MIDI Service;
Bluetooth Share;
Bookmark Provider;
BrowserMessage;
Calculator;
Calendar storage;
Call Log Backup/Restore;
CaptivePortalLogin;
Certificate installer;
com.android.backupconfirm;
com.android.carrierconfig;
com.android.managedprovisioning;
com.android.providers.partnerbookmarks;
com.android.sharedstoragebackup;
com.android.wallpaper.holospiral;
com.android.wallpapercropper;
com.motorola.bug2go;
com.motorola.emaraphoneextns;
com.motorola.motgeofencesvc;
com.qualcomm.atfwd;
com.qualcomm.qcrilmsgtunnel;
com.qualcomm.timeservice;
ConfigUpdater;
Contacts;
Contacts storage;
CoreSettingsExtns;
CQATest;
Device Management (FROZEN);
DiagMdlog Settings;
DMService;
Documents;
Download Manager;
Downloads;
Emergency alerts (FROZEN);
Exchange Services;
External storage;
FMRadioService;
Fused Location;
Google Account Manager;
Google Backup Transport;
Google Contacts Sync;
Google Launcher Config;
Google One Time Init;
Google Partner Set Up;
Google Services Framework;
Help (FROZEN);
HTML Viewer;
Input devices;
Intent Filter Verification Service;
JavaTcmdHelper;
Key Chain;
LocationServices;
LocationServices;
Market Feedback Agent;
Media storage;
MmsService;
Modem Debug Settings;
MotoCare (FROZEN);
MotoCareInt (FROZEN);
Motorola AppDirectedSmsProxy Service;
Motorola bgapp1 (FROZEN);
Motorola Boot Services;
Motorola Checkin (FROZEN);
Motorola Contextual Services
Motorola Modem Service
Motorola notification (FROZEN);
Motorola One Time Init (FROZEN);
Motorola Services Main (FROZEN);
Motorola Update Services (FROZEN);
MotoSignatureApp (FROZEN);
NativeDropBoxAgent;
OMA client provisioning;
Package Access Helper;
Package installer;
PacProcessor;
Phone;
Phone and Messaging Storage;
Phone Call Management;
Phone Services;
Photos;
Preset;
Print Spooler;
ProxyHandler;
Rescue Add-On: Motorola;
SEPolicyUpdate;
Settings;
Settings storage;
Settings storage;
Setup;
Setup Wizard;
Shell;
SIM Toolkit;
Storage Optimiser;
System UI;
Trusted Face;
User Dictionary;
VpnDialogs.
Installed Apps:
Amplify (XPOSED);
Android System WebView;
Google Calendar;
Camera;
Google Chrome;
Clock;
Google Drive;
File Manager (from Moto G4);
FM Radio;
Gboard;
Google App;
Google Now Launcher;
Google PDF Viewer;
Google Play services;
Google Play Store;
GravityBox [MM] (XPOSED);
Instagram;
Google Keep;
Google Maps;
Facebook Messenger;
Google Messenger;
Naptime;
No Lock Home (XPOSED);
Microsoft Outlook;
Phonograph;
Google Photos;
SeriesGuide;
Google Translate;
Xposed Installer;
YouTube.
2) What custom ROM were you using prior to reverting to stock ROM? I've read posts mentioning some ugly hardbricking when reverting from custom ROM to stock ROM and that I should stick to custom ROM, if I have one installed.
I was on AOKP N (January 19th build). I don't know of such issues.
3) What kind of weekly or monthly maintenance do you perform to keep your phone bug/ram leak free?
I usually clean cache when it reaches around 500/600Mb and once a month I fstrim my device (there are many apps that do that). My device usually stays smooth.
4) How may apps do you have currently installed?
Currently 30 apps that I installed myself, I normally try to have only the essentials so my device keeps running smoothly.
5) Do we really need to install TWRP? Can't we just use the command "fastboot boot twrp.img" and run the custom recovery just to install the root app?I ask this because we won't be able to install OTA updates after installing a custom recovery.
I know that with the stock Lollipop build you could apply that command, but with marshammow I sincerely don't know if that can be done, sorry. Even so, I don't think that there will be more official OTA's for our device, so for me that is no problem at all.
6) Did you make any changes to the default settings of Greenify or Amplify? What for do you use the Gravity Box app exactly?
Greenify:
I now use Naptime from Francisco Franco instead of Greenify, it is more what I want. When I lock my device, it immediately enters Doze mode, so almost no battery is drained as soon as I turn the screen off. Also phone sensors are turned off.
I only don't apply it to Google Messenger app and phonograph because I wouldn't receive SMS/MMS neither would I be able to listen to music with screen off.
Amplify:
I leave everything as it is, all default.
Gravity Box:
I use Gravity Box app for some visual tweaks and funcionality.
Device unlocks automatically once I put the correct PIN code;
Long pressing power button when screen off turns on the flashlight;
Quick Settings tweaks (personal taste);
Turn on cursor control keys on navbar;
Advanced reboot menu;
Ram usage on recents menu;
Clear all button on recents menu.
I hope I was clear with everything, any questions feel free to ask!
Hit thanks if I helped you :good:
I think if you don't try to downgrade or mess around with the bootloader then you should be fine. For reference that's the motoboot.img file from stock ROMs. As a precaution I always rename that file to something like _motoboot.img and remove any reference to it from the EasyInstaller script I use to flash my ROM. I also do the same for gpt.bin, it seems to cause problems when you try to go back to an older partition table when downgrading. (it can cause issues with WiFi, Bluetooth, GPS, Data connections etc...)
I also use an app called Trimmer (fstrim) by AdminseHow which seems to keep my phone snappy.
These are the apps I have installed (bare in mind that I'm a very minimalist user):
{
"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"
}
And this is my memory usage:
MobileHD said:
I think if you don't try to downgrade or mess around with the bootloader then you should be fine. For reference that's the motoboot.img file from stock ROMs. As a precaution I always rename that file to something like _motoboot.img and remove any reference to it from the EasyInstaller script I use to flash my ROM. I also do the same for gpt.bin, it seems to cause problems when you try to go back to an older partition table when downgrading. (it can cause issues with WiFi, Bluetooth, GPS, Data connections etc...)
I also use an app called Trimmer (fstrim) by AdminseHow which seems to keep my phone snappy.
These are the apps I have installed (bare in mind that I'm a very minimalist user):
And this is my memory usage:
Click to expand...
Click to collapse
What rom are you using and which services have you disabled?
Edit: Nevermind, you already posted
maximuns said:
You only brick your phone if you downgrade android with a higher bootloader to a lower (for example from 4887 - latest to 4886 - previous).
When in stock, you can update your android when the update arrives, as long as you have stock recovery, stock ROM and no ROOT. (not sure about the last one)
Click to expand...
Click to collapse
Right now I am on LineageOS 14.1 20160702. My bootloader version is 48.86. So I guess it is safe to flash stock Marshmallow, since 48.86 is compatible with stock MM and I won't have to worry about possible hardbrick, right?
Furthermore, how do you keep system apps frozen? I guess that it's not the Servicely app that does the trick.
​
Jimisballjohn said:
Right now I am on LineageOS 14.1 20160702. My bootloader version is 48.86. So I guess it is safe to flash stock Marshmallow, since 48.86 is compatible with stock MM and I won't have to worry about possible hardbrick, right?
Furthermore, how do you keep system apps frozen? I guess that it's not the Servicely app that does the trick.
Click to expand...
Click to collapse
Yes you're right
I used Link2SD app
What are your thoughts on Radium Redefined? It's a stock rom which with some tweaks. I saw in your main post that you've used it but I would be interested to know your opinion on it.
am i the only dude happy with lineageos? i´m on 20160208 build and i have to say it´s pretty good...with about 50 apps and a 32gb sd it´s holding up. i bought a p9 a couple weeks ago but i still find myself comfortable with the g2 even with a crackled screen...my gf just moved on from the 1st gen moto g with cracked screen as well to a p9 lite...and guess what, i´m not jumping on the huawei boat cause LOS isn´t on the way yet...i´ve been a CM dude long time and can´t stand the bloatware on huawei phones..
NotFatMan said:
What are your thoughts on Radium Redefined? It's a stock rom which with some tweaks. I saw in your main post that you've used it but I would be interested to know your opinion on it.
Click to expand...
Click to collapse
It is a stock based rom, with a low memory consumption and really light, but the development has seized, so I prefer to stick with stock, the security patch is more recent and with root you can unninstall all the apps you don't want and tweak the rom as I did.
Anyway, it is an awesome choice also.
Keep in mind that it is stock based, so many of the kernels and mods are not compatible (just like stock)
Hope I helped

New MotoModBattery Service For LineageOS 15.1 (root required)

I created a Moto Mod Battery Service App that Implements the Efficiency Mode and Moto Mod battery status. It is also opensource.
This is much more efficient than the Automate way of doing this. Automate had to loop and keep waking up the device.
This service only does stuff if the battery tells it something has changed and if a charger has been plugged in or unplugged.
Release Info:
Moto Mod Battery service for LineageOS 15.1
Version 1.0.1
Fixed charge bug, where charging would not stop after charging over night
Change High Trigger wording
Version 1.0
Features:
Status Notification:
Displays Moto Mod battery capacity in %
Displays Moto Mod battery status
Icon: Shows capacity and short form of status
Efficiency Mode:
The ability to turn on and off efficiency mode
The ability to set when efficiency mode will trigger
The ability to set when to stop charging once the efficiency mode has been trigger
Self Start:
If running and package is reinstalled restart self
If Moto Mod battery has been ran once then on boot start up service
https://github.com/devilsclaw/MotoModBattery/releases/
Updated to Version 1.0.1
Thanks a lot. I've been using your APP with LineageOS for a few days and it seems to work pretty good. Great job. :good:
Can i ask you a few questions?
First of all. Why isn't this great APP integrated into the Lineage OS ROM?
Does the APP need root access all the time or just to change the settings? Each time the APP requests root access, an icon (#) is shown in the "status bar". Sometimes this happens about 50 times in a row. The symbol (#) then flickers constantly. Is that normal? Is it perhaps better to install the APP as a system APP?
One thing, but that has nothing to do with your APP. Every time I reboot the Moto Z with the Power Pack installed, the phone thinks the external battery is the internal battery. Do you understand what I mean? No internal battery. Only a reboot without Power Pack fixes the problem. Is it maybe possible to fix this with your APP or more a LineageOS problem?
Sorry for my bad English. I am not a native speaker. Just school englisch.
I for one do not know why a similar app is not built into the stock linage rom.
After a certain version of android apps started requiring root access for certain battery status info. also to make any modifications to the power pack settings require root. I personally turned off the root icon indicator for the reason you mentioned above.
I custom built my ROM and added a toggle switch for the SU root indicator and turned it off. there is a file that can be manually edited that can turn it off also, but I forget what file that is.
This works only in lineage os? Or works in any other rom?
If other ROMs have support to the moto mods and have the same directory paths as linage for accessing there settings then it should work.
It should also work with newer versions of linage. unknown about older versions.
chuletaz024 said:
This works only in lineage os? Or works in any other rom?
Click to expand...
Click to collapse
I forgot to mention i use LineageOS 16.
Thank you for your reply. I don't know if I want to deactivate the icon. I like to see if an App uses root but I think about it.
Yesterday I made a test and put your App in the system/app/ directory. In this case it turns into a System App. Right? I thought System Apps don't need root access because they are System Apps and system Apps have root anyway. I was wrong. My knowledge is to little .
But I have discovered some strange behavior. After changing your App into a System-App I could choose the "efficiency mode" in the original MotoMod App and I think there was more. I didn't tested it and now I'm a little bit annoyed about me, because the only thing i wanted yesterday was no root Icon and that didn't worked out. The rest I didn't care .
As a System App I had then problems to remove it. After deleting the directory in the system/app/ folder the Moto Z didn't recognized the PowerPack any more. I had to make a factory reset. My fault :crying:.
Is there a way to install it as a System App without the App asking for root? I want to integrate it in the LineageOS System.
Sorry for my ignorance/inexperience.
A system app can access certain information without root, but the app has to read and write to the /sys/kernel/debug sub system, the battery section does not need root but the moto mod section does, because the developers for the moto mod driver set the permission as such to require it. I made the app so that it would not need a custom linage build of the ROM with the permissions fixed.
I did make the program open source so you or anyone could modify it to not require root. I might have time to do it my self if it is possible as a system app to do.
Not sure if it's just me but the moto mod battery is charging phone no matter what setting... It's weird since even I turned off charge phone option in the original moto mod app in the lingeaos. It's still charging the phone ... It could be the system issue. I don't know. Any help is appreciated. Thanks!
Works really well for Moto Z Los 16. Thanks for the app.
No working
Not working efficiency mode in moto z2 force with lineageos 17.1 any solution?
I have been using this service installed on
lineage-15.1-20200211-UNOFFICIAL-albus.zip
lineage-17.1-20210224-UNOFFICIAL-albus.zip
with Magisk. The service runs fine on my on both ROMs.
However, since I used Magisk to give root access to the service, I now get a pop-up "Modo Mod Battery was granted Superused rights" every 60 second (I counted the interval) on the screen which is a bit annoying. I guess the service is called every 60 sec or so, and thus the root access is given every time?
Since the pop-up is from Magisk granting the Battery Mod Service the root access, I have just turned of all the notifications from the Magisk App, which works fine but maybe not the optimal way.
Any take on this?

Categories

Resources