yashsingh1/xdaforums huggingface dataset:
[OnePlus 3T Guides, News, & Discussion] athulda:
Rom - ASOP Extended V.5.8

Doze App - Nope

App Ops Settings - Yes, Everything is on(enabled) [Location, Haptic Feedback, Camera, Keep awake, Auto start]

Mod - Yes, Magisk's mods [App Systemizer, Busybox , Debloater, Energized Protection, Viper4Android FX, xmlpak, Youtube Vanced]

Buit in doze settings, Yes!!!

I've changed the Battery optimization option to "Not optimised" for Pokemon GO [PoGo]

I've tried padlocking and its working whenever screen is enabled, application is running behind in background, but when phone sleeps.. Yes Doze could be the culprit. How do I override the doze settings If its causing the issue.?!
[OnePlus 3T Guides, News, & Discussion] gFknQ:
Try disabling Energized protection. I see several things that could cause issues. Restrictions on Tracking, save data, etc. In the meantime, I will try to find out if there is a way to whitelist an app from regular doze settings. I may not be able to get back to you til tomorrow about it tho
[OnePlus 3T Guides, News, & Discussion] athulda:
Sure, I think It's already disabled because I'm getting adds Lol.

Never mind. I will remove the module itself.

No issues, take your time.

If you are able to find a way to whitelist in doze settings.. its awesome! or else I will try Oxygen OS since someone told me in xda that he were also trying to accomplish the same thing and it was only working in Oxygen OS!

Lets try our best. I will keep checking the thread, If I found something I will update it as well :good:
[OnePlus 3T Guides, News, & Discussion] gFknQ:
Can you send screenshot for type of doze your rom uses? Like I did below
[OnePlus 3T Guides, News, & Discussion] gFknQ:
Are these? Or different
[OnePlus 3T Guides, News, & Discussion] athulda:
[MENTION=8251855]gFknQ[/MENTION] I'm not sure how to get the doze settings in this rom, I tried looking around. But I failed

But I remember checking the change log, it had doze :eek:
[OnePlus 3T Guides, News, & Discussion] :
After one week using NOS Pie, I have to say this is my best experience till now.

Everything working without any issue, great battery life. Tried other kernels to feel/see the difference but at NOS I would recommend it's own kernel because it is simply the best.

With my setup overnight I have less then 1 percent drop every time, also with normal usage (for me ofcourse.... ;)) the drain is that good that it is possible to use my phone three days with one charge.

Enclosed a screenshot of battery overnight and the script I am using to remove some system apps after installing latest rom.

When you have some suggestions of other system apps which can be removed without loosing important basic functions please let me know.

#!/sbin/sh
#
# Script by Jan_L
# Last modified 21-09-2018

# NOTES
#
# 1. Only remove LatinIME when you have installed another keyboard!!
#
# 2. I know an array as dirlist without quotes is normally not desirable.
# Unfortunately only newer bash versions are supporting arrays so I had to...
#
# 3. USE AT YOUR OWN RISK, I CAN NOT BE BLAMED FOR SCREWED UP INSTALLATIONS OR DEVICES!!!
#
# 4. NO SUPPORT, YOU ARE ON YOUR OWN WHEN USING THIS SCRIPT.

dirlist="
/system/app/AntHalService
/system/app/BasicDreams
/system/app/BuiltInPrintService
/system/app/Calendar
/system/app/Camera2
/system/app/EasterEgg
/system/app/Email
/system/app/Gallery2
/system/app/HTMLViewer
/system/app/LatinIME
/system/app/LiveWallpapersPicker
/system/app/messaging
/system/app/NfcNci
/system/app/PhotoTable
/system/app/PrintRecommendationService
/system/app/SpareParts
/system/app/Stk
/system/app/Traceur
/system/priv-app/CallLogBackup
/system/priv-app/Contacts
/system/priv-app/DocumentsUI
/system/priv-app/InputDevices
/system/priv-app/Launcher3QuickStep
/system/priv-app/ManagedProvisioning
/system/priv-app/MusicFX
/system/priv-app/VpnDialogs
"
# /system/media/bootanimation.zip
# /system/bin/bootanimation

echo Nitrogen OS 9.x ROM DEBLOAT SCRIPT
echo -n "Do you want to start removing unneeded apps? (y/n)?"
read answer1

if [ "$answer1" != "${answer1#[Yy]}" ] ;then
for dirname in $dirlist
do
rm -rf $dirname
if [[ ! -e $dirname ]]; then
echo deleted $dirname
else
echo $dirname still there, check permissions!
fi
done

echo "Done, all unneeded apps removed!"
else
echo "Exited by user, no unneeded apps removed"
fi

# echo
# echo -n "Do you want to move Android to Android.old? (y/n)?"
# read answer2
#
# if [ "$answer2" != "${answer2#[Yy]}" ] ;then
# echo "Moving Android folder to Android.old"
# mv /sdcard/Android /sdcard/Android.old
# if [[ ! -e /sdcard/Android ]]; then
# echo "Done, Android folder moved to Android.old"
# else
# echo "Could not move /sdcard/Android, check permissions!"
# fi
# else
# echo "Exited by user, Android not moved to Android.old"
# fi

echo
echo -n "Do you want to trim SSD storage? (y/n)?"
read answer3

if [ "$answer3" != "${answer3#[Yy]}" ] ;then
echo "Trimming SSD storage....."
fstrim -v /data
fstrim -v /cache
fstrim -v /system
echo "Done, all SSD storage trimmed!"
else
echo "Exited by user, SSD storage not trimmed"
fi
[OnePlus 3T Guides, News, & Discussion] Abhi8897669398:
What is ur setup?

---------- Post added at 07:59 AM ---------- Previous post was at 07:52 AM ----------

How to apply this Nos.sh.txt
[OnePlus 3T Guides, News, & Discussion] :
When you don`t know about bash and running scripts I do not recommend using scripts like these. First search the internet and learn a little about bash, know what the script is doing, then start using it ??

I will share some more information about my setup tomorrow including which FOSS apps I am using etc.... ?
[OnePlus 3T Guides, News, & Discussion] athulda:
[MENTION=8251855]gFknQ[/MENTION], Update :

I tried switching the ROM to OOS 5.0.5 with a full zip but failed.

After flashing the ROM, it was showing no "OS found", felt bit weird tho.. I downloaded another version of OOS and it did the same!

[ May be the full zip which they are providing officially in oneplus.com is for the users who already have OOS ? But still I downloaded another version(full zip) from xda as well, didn't work!! ]

Moved on!

Now in Nitrogen OS[8.1] with FrancoKernel[r43] (feels more fluid, mostly because of latest firmware in OOS)

Testing : w/ settings "Not Optimised" & "padlocking" in PoGo! [ in-progress ]

Dose Settings : I couldn't find any in the system settings!
[OnePlus 3T Guides, News, & Discussion] shawek:
You need to mount system ,in twrp,then flash OOS.or opposite,unmount system,then flash oos...I'm not sure.

But,that's why you have no OOS flashed.

I can't remember clearly,I'm on custom ROMs for long time.

Don't forget to flash custom recovery twrp.IMG immediately after flashing OOS,ther reboot to twrp(then flash whatewer addon you want),or you will be left with stock recovery and no root.
[OnePlus 3T Guides, News, & Discussion] gFknQ:
I was given the suggestion that you may want to download a doze app such as force doze or naptime, and whitelist Pokémon go. It may override stock doze settings that way
[OnePlus 3T Guides, News, & Discussion] :
NOS does not have an option in the menu for Doze settings as far as I know, at least not in Pie ;)

When you do a fresh setup of Nitrogen I would recommend the Pie variant without custom kernel.

I did not follow the discussion but from what I have read there is a chance OmniDragon will release a Pie variant within a few days.

For playing games this could be an even better solution because of the great performance of Omni/ OmniDragon. I have used both Oreo variants and Omni was one of the fastest roms I have used ;)
[OnePlus 3T Guides, News, & Discussion] athulda:
I'm not sure too Lol, Never mind. Nitrogen feels more comfo for me :D

Thanks anyways, if at all I need to do some experiment. I will remember your advice.

I actually did If you meant that, I was in old Nitrogen build before I started experimenting and via Naptime I made PoGo as a whitelist application and it didn't do any good!

Btw it was a bit old, Like 3 months before and it had some weird issues with Magisk as well, hiding magisk manager was not happening in that nitrogen build :rolleyes:

Yup, that's right. We don't have the option, not even in NOS 8.1

Thanks for the feedback, but the experiment is not for the performance of gaming. It's for holding an application in the memory without killing its instance when phone is sleep mode! :fingers-crossed:
[OnePlus 3T Guides, News, & Discussion] athulda:
[MENTION=8251855]gFknQ[/MENTION] Experiment seems to be working! I did unlocked the screen in b/w just to check if the application restarted or not!!! But phone was in sleep around 2 hours . :)

Now I need to experiment it for more than 12 hours. Once the experiment is done, will update the results :cool:

Note : Settings still remains : Not optimized & padlocking! NOS 8.1.0 build with Franco kernel r43 :good:
[OnePlus 3T Guides, News, & Discussion] athulda:
Lol after this post the PoGo restarted, but the experiment seems to be progressing :cowboy:

I will install Naptime and whitelist the app and lets hope for the best :silly:
[OnePlus 3T Guides, News, & Discussion] gFknQ:
You may try force doze or appops x if naptime does not work, they seem more aggressive to me. OR just ask dev of rom. If you ask Nos dev, he probably say "idk, i don't like that ****". Don't take it personally. Thats his answer to everything he doesn't use, lol
[OnePlus 3T Guides, News, & Discussion] athulda:
Ok I will try Force doze, if it doesn't work then Appops. ! As I said before, that NOS build was old and buggy in some ways.. that's could be the potential reason why Naptime didn't work!!!

So should I go for Naptime first or Force doze? What do you say? :D
[OnePlus 3T Guides, News, & Discussion] gFknQ:
Naptime is easiest. If that doesn't work, try more aggressive.
[OnePlus 3T Guides, News, & Discussion] athulda:
After restarting the phone, I can see some bugs in NOS 8.1

- Battery icon doesn't seems to dynamic, It doesn't show the phone is plugged or not!

- Hiding of Magisk Manager seems to be working, but somehow other applications are able to detect the root, even though there is no privilege!

Should I try NOS Pie? [MENTION=8251855]gFknQ[/MENTION]
[OnePlus 3T Guides, News, & Discussion] Ihe87:
Thanks for this guide.

I'm trying to use only foss apps to. ;)

Try this text-to-speech:

https://xdaforums.com/showthread.php?t=2566795&page=3
[OnePlus 3T Guides, News, & Discussion] :
That text-to-speech is working great, thanks ;)
[OnePlus 3T Guides, News, & Discussion] gFknQ:
Xtended was released today. Very stable

Read nothing but good things about it. I'd give it a try. Or try newest Xtended Pie that should drop today
[OnePlus 3T Guides, News, & Discussion] athulda:
Finally Accomplished

[MENTION=8251855]gFknQ[/MENTION] I'm happy to say that my experiment went success! :cowboy:

Last night I was able to run PoGo in background for more than 8 hours without any hassle. :cool:

ROM : OOS 5.0.5

Kernel : FrancoKernel r43

Settings : Doze mode - ON , w/ pad locking + Battery optimization "Not optimized"

But while doing the experiment my phone got decrypted(my fault) and was able to do nothing but format :silly:

Thanks [MENTION=8251855]gFknQ[/MENTION] for the help & support :D:good:
[OnePlus 3T Guides, News, & Discussion] matti05:
I use Xtended Pie currently, but battery drain is horrible (~4-5% idle, ~15-20% active). Also, some apps crash all the time. So I would like to go back to stable Oreo ROM. What do you recommend in terms of battery life and features?
[OnePlus 3T Guides, News, & Discussion] gFknQ:
Try latest Mady's kernel x40https://xdaforums.com/oneplus-3/one...kernel-mady-s-xtended-kernel-t3739378/page177
[OnePlus 3T Guides, News, & Discussion] matti05:
Do you mean Xtended Pie with X40? Yesterday I installed Havoc Pie.

I wonder if it's not a hardware problem. It's my second battery, so probably it will be a motherboard problem.

Wysłane z mojego ONEPLUS A3003 przy użyciu Tapatalka
[OnePlus 3T Guides, News, & Discussion] gFknQ:
I was just speaking kernel for better battery. Should work fine for Havoc-OS or Xtended
[OnePlus 3T Guides, News, & Discussion] :
I would really suggest Nitrogen OS Pie in combination with latest Caesium kernel.

Awesome battery life, for me without Google Apps with my Oneplus 3(T) even more then three days....

Also tried latest MSM kernels but for Caesium is (much) better at the moment.

Nitrogen Pie is unbelievable stable; no issues at all. Very good work from [MENTION=5422618]xyyx[/MENTION]
[OnePlus 3T Guides, News, & Discussion] ianthemojo:
Latest Caesium even better than stock on NOS?
[OnePlus 3T Guides, News, & Discussion] :
Difficult to say because they both are very good.

No scientific testing but in daily usage I have 'the feeling' Caesium is even a little better then stock. There are some small differences in settings like lower GPU frequency & other governor. Small difference and therefore again difficult to say but could be Caesium is a little snappier with my setup.

Btw, I am not using kernel managers, all default.
[OnePlus 3T Guides, News, & Discussion] william_lie:
Hi [MENTION=8175708]Jan_L[/MENTION], i tried NOS w/o google, but my stats shows awake (screen off) is very high, even higher than deep sleep itself.

I checked deeper, the alarms is the culprit, DeviceIdleController.light & deep is awake all the time.

I tried disable force doze, reset the doze setting back to standard etc, still the same.

The idle drain also getting higher and higher everyday.

So i gave up & today i go back to Havoc (still w/o google), with great battery life & performance (well at least for me).

Kinda hate that we need to install google services so that we can run google camera, which is the best for OP3T currently.

But i can live without it by installing OnePlus camera which is not bad.
[OnePlus 3T Guides, News, & Discussion] william_lie:
Did you check in appops device tab if some apps are keeping it awake? Your results are so different compared to mine, it must be something related to apps I guess....[/QUOTE]

Checked everything, got nothing...

Change the settings here & there, still the same.

I suspect gbwhatsapp, since the alarm wakeup also quite high.

But if it is, why only happens in NOS?

In Havoc & PE, gbwhatsapp also quite high, but it doesn't effect much to the drain.
[OnePlus 3T Guides, News, & Discussion] Slectone:
Hey [MENTION=8175708]Jan_L[/MENTION],

I know you're currently on NOS and I'm planning to move to Android Pie myself. You seem to be the most well informed when it comes to Android Pie. I'm really not a fan of the heads up notification and prefer the older ticker notification. Does NOS have it? If not, which Pie ROM would you recommend?
[OnePlus 3T Guides, News, & Discussion] :
If you are using a custom rom you probably already know how to work with adb.

With adb it is very easy to remove the heads up as explained here:

https://android.gadgethacks.com/how-to/disable-heads-up-notifications-any-android-no-root-needed-0182247/

It sounds stupid, but I did not notice the heads-up in NOS, for me there seems nothing changed (still notifications in top area) so I believe this is the answer on your question.... :mad:

About Pie; because of what I read and hear about stability, drain etc... at this moment I really would recommend NOS.

Ofcourse you could also try Lineage, MSM or Havec, where my personal preference is from the left to the right.
[OnePlus 3T Guides, News, & Discussion] Ihe87:
Hi everyone!

Currently i'm testing Kernels for my self on Omnidragon (my choice: Luis Kernel/Franco/Caesium/HD Kernel).

My question is:

How long should i wait for let settle the kernel?

And can anybody give me a suggestion for a kernel for best battery without lags?

Thanks in advance.
[OnePlus 3T Guides, News, & Discussion] :
On 8.1 Oreo I would recommend the same kernels as you mention. Luis and Caesium the best for battery, Caesium best combi battery/ performance, HD best performance.

So for OmniDragon Caesium or HD would be my recommendation because of your question about lag ;)

Latest 'test' version of Caesium is more snappy btw, I think because the gpu freq is changed from 100 to 133MHz.

On 9.x Pie Luis or Franco are not usable at the moment but Caesium is a great choice.
[OnePlus 3T Guides, News, & Discussion] Siraccool:
what about madys??
[OnePlus 3T Guides, News, & Discussion] :
To be honoust I do not know....

My latest experience was not that good.

A lot of enthousiastic people about MSM, but as a daily driver, looking for a ROM/kernel with as strategy behind it, msm does not feel like the right choice for me. That is what I like about Omni, HD, NOS and for kernels caesium and luis: They have their own strategy in mind, follow this strategy and only implement what they think is neccessary to fullfill the job.

I am sure as lot of people do not agree with me at this point... ??

To finish my post; as I understand, latest msm Pie is satisfying a lot of users.
[OnePlus 3T Guides, News, & Discussion] Siraccool:
i do agree with you leaner is better
[OnePlus 3T Guides, News, & Discussion] ayanroy:
With which pie rom + kernel, pubg is running the smoothest in hd?
[OnePlus 3T Guides, News, & Discussion] Siraccool:
can't say cause pubg is not that optimised
[OnePlus 3T Guides, News, & Discussion] :
Fyi, NOS Pie does have signature spoofing integrated in latest rom.

Installed microG this morning for enabling Whatsapp push messages and is working fine without Google account or other special setup.

Curious what it will do with drain though because of keeping a background connection open, so will keep you guys informed.... :good:

[MENTION=8251855]gFknQ[/MENTION]; is it time to open a new Pie topic? ;)
[OnePlus 3T Guides, News, & Discussion] gFknQ:
Think I'm waiting for Oxygen pie to do rom and kernel testing. A lot of people asked on Oreo, but I wasn't ready to go back. I still personally think all pie roms are too unstable, somewhere. I had Xtended running with no volte_hack.zip, no sim notification etc. But other people were having problems getting any kind of usable phone **** off the same build that was perfect for me. I just waitin for stability across the board. Where I can say "this works universally, and I'm testing it", so that readers who use nos will understand even if I'm talking about Arrow and etc

Oh, and more kernels, of course
[OnePlus 3T Guides, News, & Discussion] henningsieh:
Hi, maybe off topic: does anyone know how to disable these wakelocks/alarms? I can't find any with these or similar names:

- Intent: job.* (delay, deadline)

- Intent: DeviceIdleController.* (deep, light)

- Intent: WiFiConnectivityManager * (various...)

Thank you in advance. :)
[OnePlus 3T Guides, News, & Discussion] gFknQ:
By removing all google services. That is actually not bad for 6 hours. I was having issues and installed open gapps pico from October 9th and greatly improved. And don't worry about being ot. I don't consider anything off topic on this thread anymore. As long as it is about oreo or pie, rom or kernel, it is fine. And kernel wakelocks and alarms are absolutely allowed
[OnePlus 3T Guides, News, & Discussion] gFknQ:
Latest Xtended Pie with Mady's X41. I am almost match your numbers [MENTION=8175708]Jan_L[/MENTION]
[OnePlus 3T Guides, News, & Discussion] henningsieh:
Thank you! Removing google services is no option, I need and like many of them, to be honest.

NanoGapps seem to be recommended on most custom ROMs... may I ask you, which functionalities do I loose or miss by downgrading to Pico?

PS: Do you prefer MSM Xtended or HAVOC on Pie? :o
[OnePlus 3T Guides, News, & Discussion] gFknQ:
Mostly just face unlock and google app. I haven't spent enough time on Havoc to compare the two honestly.

And I use gapps too, but having too many will cause drain and privacy concerns, so I use smallest possible. Hope gzr release Pie zero gapps eventually
[OnePlus 3T Guides, News, & Discussion] william_lie:
Hi [MENTION=8251855]gFknQ[/MENTION], what is your settings (in details) to reach this performance?

You have gapps installed, right?

Thanks.
[OnePlus 3T Guides, News, & Discussion] gFknQ:
This was just Mady's stock settings on x41. Open gapps pico. I was using an older gapps and idle drain was a little over 1%. Just switched to newer version of gapps, 10/9 (October 9th) and saw much improvement. Mady kept telling me it was a gapps issue, and I didn't believe him, until I switched. Turns out he was right. So if anyone is getting subpar drain, try different version of gapps. May not do anything. But may help a lot
[OnePlus 3T Guides, News, & Discussion] william_lie:
Nice. Will try, thanks
[OnePlus 3T Guides, News, & Discussion] gFknQ:
Oh. I wiped system, and caches and deleted android folder. Then flashed firmware, rom, gapps, magisk and Mady x41, btw. Not just new gapps
[OnePlus 3T Guides, News, & Discussion] william_lie:
I gave up with MSM, now running Sky Dragon.

Everything is good, still in testing without any tweaks.

My OP3T seems to loves Havoc for Pie, always get the best results with Havoc.
[OnePlus 3T Guides, News, & Discussion] _HaZaRD_:
Hi! I'm currently running OmniDragon with the latest Holy kernel. Is there any kernel that works better than the Rom's stock one in terms of performance and battery?
[OnePlus 3T Guides, News, & Discussion] william_lie:
Based on my experience using OD rom, i can say that HDK is the best one for it.
[OnePlus 3T Guides, News, & Discussion] _HaZaRD_:
Oh ok, 'cause I read that Caesium works good with it, so was wondering if that could've been better for the ROM.
[OnePlus 3T Guides, News, & Discussion] :
When you do a little searching on places where OD builds can be found, it is pretty easy to find the latest Pie test build of it.

That said, I have tried OD, MSM and NOS now and still NOS is giving the best experience on my OnePlus 3T by far.

Probably when we are some weeks further, more tastes will be out, everything will be more optimized, most issues are gone and differences in speed and drain will not be that noticeable anymore.

As [MENTION=8841529]william_lie[/MENTION] said; on OD the HDK kernel is very good, probably the best when you like speed in combination with low drain.

When you are looking for low drain only, Luiskernel is the best (only Oreo at the moment).

For NOS Pie, Caesium is even better then stock although the difference is small.

For Pie in general I would recommend Caesium or latest HDK.

I promised to come back with test results about microG on my NOS setup.

With microG installed, my push messages were working again on Whatsapp, but I noticed that some apps I am using and are working without Google Play Services although written to work with, had some issues with microG. For example a parking app and a bikers app simply are ending with an error message because I was using an old version of GPS (at least they thought I was....).

Drain was low (<1%) with microG core and push messages installed, have not tested Unified for location services.

At the end I have done a clean install of HolyDragon to test it (without microG) and after a day switched to a clean install of NOS again.

So, in my opinion microG can be a good alternative when the apps you are using can live with it. Unfortunately I had some issues so I decided to forget GPS and microG and continued my setup without push messages.
[OnePlus 3T Guides, News, & Discussion] gFknQ:
Latest Mady's with Xtended(test version with awesome new features, coming soon)