yashsingh1/xdaforums huggingface dataset:
[OnePlus 6 ROMs, Kernels, Recoveries, & Other Devel] lm089:
Oh well, yes, that makes sense; I bet I forgot to reflash TWRP in one of those steps!. Alas: no magic ;)

Perfect - as you see I still keep looking back at your instructions

Good to hear that from an experianced dev - I never really got the real idea behind all that, apart of enabling a partial update of stock ROMs maybe (which I never really used as I unlocked the bootloader as soon as I had the device). Anyway, thanks once again. Quite a lot to learn here!
[OnePlus 6 ROMs, Kernels, Recoveries, & Other Devel] optimumpro:
Thanks for your donation!
[OnePlus 6 ROMs, Kernels, Recoveries, & Other Devel] Depressed T.Bear:
Just did it, I've chosen NikGapps Basic with some exceptions like the Dialer. Compared to your included Gapps in the full version, I've less google apps and services now - I'll report back after a couple of days if the soft-reboots happen again - thanks for your outstanding support so far!
[OnePlus 6 ROMs, Kernels, Recoveries, & Other Devel] lm089:
Small update on the "Deep Sleep" issue from a few days back, maybe helpful for others who are installing this great ROM from scratch:

After having done my 2nd clean installation yesterday (as something had gone wrong first time) this morning I had to find that again the phone had not entered deep sleep in past 10 hours. Again I hit the "reset" button in Jaguar settings then rebooted. Now Device again is happy to enter deep sleep again, saving lot of valuable amperes and volts...

I know that I had chosen exactly the same settings that I had before my 2nd installation, and I'm back there again. That leads me to the conclusion that it's a good idea to observe CPU statistics for a day or so after a fresh installation
[OnePlus 6 ROMs, Kernels, Recoveries, & Other Devel] Depressed T.Bear:
Over 24 hrs, not a single soft reboot. Even though I used my device heavily.

So, it either was the dirty flash (vanilla) or the included Gapps in full version. It's running flawlessly with my cut-down NikGapps Basic now :)

Edit: @optimumpro Is it possible to enable some sort of movement of the AOD to avaid burn-in on our AMOLED screens? :)

Edit 2: After changing around some Jaguar settings about the AOD, I got a soft-reboot in the middle of this night. I hope it's not back now. I'll keep observing
[OnePlus 6 ROMs, Kernels, Recoveries, & Other Devel] lm089:
Hi,

I'm sorry to report two issues. One is - again - the "Deep Sleep" issue (see my post above): looks like everytime I charge my phone something starts "hanging" again. I.e., after unplugging the charger the phone again is in a mode preventing the CPU going into deep sleep. Solution is again: a) reset Jaguar settings and b) reboot phone

UPDATE on this:

*everytime* after charging something prevents the CPU to go into deep sleep mode. I don't need to reset Jaguar settings, though: rebooting is "enough".

I don't have AOD or anything like that enabled, no "screensaver" etc.. I'll keep testing...

2nd issue is related to the device's screen cast feature: tried to show some photos on my smartTV, something I never had problems with in the past. Now everytime I try to connect to the TV the phone's screen cast service ("WFD service") crashes. This is constant behaviour also after reboots etc.

And finally: this morning I once again had one of those soft reboots, again after picking up the phone from the desk and trying to wake it up using the ON/OFF button

If logs are wanted let me know, if possible giving me a small hint which ones are needed, and how I can get to them (my old catlog app apparently isn't working any longer)

Cheers
[OnePlus 6 ROMs, Kernels, Recoveries, & Other Devel] kase2804:
@optimumpro Will there be a Jaguar A12 version? :)
[OnePlus 6 ROMs, Kernels, Recoveries, & Other Devel] Depressed T.Bear:
Second soft-reboot ... While in pocket. I'll do some logs, it seems that it only happens after the screen is off, roughly after 1-2 hours.

@kase2804 Not before June I guess, Google tends to release new Android versions in a kind of "beta" state. It takes ~6 months before they become stable. Since this ROM aims for security and stability, it might take some time :)
[OnePlus 6 ROMs, Kernels, Recoveries, & Other Devel] optimumpro:
April 27. New release V-19.1

1. Kernel wakelocks should be fixed

2. Jaguar version is now displayed in About phone

3. A bunch of other under the hood improvements

Download in post #3.
[OnePlus 6 ROMs, Kernels, Recoveries, & Other Devel] lm089:
Yes, *if* it happens then exactly after the phone has been in standby for a while.

Did a new dirty flash yesterday, this time flashed NikGapps afterwards. So far no soft reboot.

But still that weird "Deep Sleep" prevention thing: meanwhile I can pin it down to 2 things:

a) my email app ("Fair Email") is set "non-optimized battery"

b) "smart charging" is enabled in battery settings

If one of these (or both) are true, then the phone's CPU does not go into "deep sleep" after unplugging the charger until I reboot

I'll try today's update, hoping for a solution ;)

UPDATE:

dirty flashed V19.1, but this topic here is still unchanged. For the moment I'll prepare to reboot after every charging session
[OnePlus 6 ROMs, Kernels, Recoveries, & Other Devel] lm089:
Cannot get the VANILLA version, d/l always is stopped within the first second. FULL version works...

forget this, works trying different PC browser...
[OnePlus 6 ROMs, Kernels, Recoveries, & Other Devel] Depressed T.Bear:
It's advised to download in incognito mode, it will work then ;)

By the way: The update (dirty flash) worked fine. However, the first boot took about 5 min on my end. So don't panic, just leave the device if it happens to you.

Regarding your deep sleep issue, it might be fixed now (see changelog), I don't think that Marcel's Fair-Mail keeps the device awake, even if unoptimized. I don't know about smart charging, however, it's not a good behavior to charge phones overnight IMO. Hopefully the soft reboots are gone now, I still highly suspect some Wi-Fi related issue here.
[OnePlus 6 ROMs, Kernels, Recoveries, & Other Devel] lm089:
same here, and I DID panic :D. I.e, I forced the boot-up to stop, then did another dirty flash + NikGapps, after that it went quite fast

unfortunately not, see the update in my last post.

I've been using Fair-Mail since quite a few years, never had problems even going un-optimized. Same applies to "smart charging": on all my devices I use ACC (you might know it). And when I realized that deep-sleep-prevention was back I suspected this utility to be responsible maybe (although again I never had any trouble in all those years), so I disabled ACC and tried the built-in smart charging instead. And then found out what I described earlier: both is apparently able to cause what happens here, until I reboot.

BTW: I agree, charging overnight is not a good idea, but I don't use it for that: I usually keep my phones from charging over 80%, and it is great having a tool doing that for me. That way my well-aged Xperia tablet still has an very healthy and reliable battery even after 9 years in action. For my old Xperia phone (Z1c) I had to change the battery last weekend after over 8 years activity. I'm sure that the batteries live that long because I only rarely charge them to 100% (on ACC's github area there's a nice read-up on this)
[OnePlus 6 ROMs, Kernels, Recoveries, & Other Devel] optimumpro:
You might want to check your charger or cable. I have had my Oneplus 6 on for 24 hours with multiple charging connect/disconnect - no deep sleep interruption.

Try to disable smart charging.
[OnePlus 6 ROMs, Kernels, Recoveries, & Other Devel] lm089:
Understood. Dependung on where I am at the moment I am using different cables and chargers (including a PC USB 2.0 port) >> same everywhere. Esp with cables I agree that they always can break over time. I can try to purchase a new one soon.

With smart charging disabled AND Fair Email battery handling set to "optimized" OR after a reboot deep sleep is working as expected. So I'm quite sure that this must be something hidden somewhere in the ROM, or kernel or whatever because I never had this before (with original OOS)

I'm sure this can be very complicated to track down, and of course I cannot guarantee that the root cause doesn't lie somewhere else.

I kept a very basic Jaguar V19 setup as a Nandroid, without any additional apps etc. As soon as I find the time I can run some tests with that stripped down version.

Apart from that, if you're interested, and if you need any additional information from my side just let me know.
[OnePlus 6 ROMs, Kernels, Recoveries, & Other Devel] Depressed T.Bear:
I still have problems with soft reboots. In the meantime, I am relatively sure to have narrowed down the underlying cause. It seems to be related to the Wi-Fi. When the router reboots at night or the Wi-Fi reboots, the soft reboot occurs. When I leave the apartment in the morning and the device loses the Wi-Fi connection (and searches for the network), the soft reboot also occurs.

Also, when I disable and enable the WLAN via the quick settings, a soft reboot often occurs.

Something doesn't seem to be working correctly. I also noticed that the connection switches back and forth between LTE and LTE+ all the time. No matter where I am, I live in a metropolitan area with near perfect network coverage and strong signal strength. I never had the problems before on OOS.

However, I also had a soft reboot yesterday while simply recording a voice message in WhatsApp. I'm not sure how this is related.
[OnePlus 6 ROMs, Kernels, Recoveries, & Other Devel] xnruaa:
You could try to disable captive portal detection in wifi preferences. Mine would also reboot when switching from wifi to Mobile data. After I turned captive portal detection off, soft reboots are gone.
[OnePlus 6 ROMs, Kernels, Recoveries, & Other Devel] optimumpro:
Perhaps, it is Captive portal. I have no reboots regardless of Captiveportal. See video with wifi repeadly turned on and off.
[OnePlus 6 ROMs, Kernels, Recoveries, & Other Devel] Depressed T.Bear:
10/10! Since I switched it off, shortly after your post, no soft-reboot occurred! :) You're awesome!

Thanks for the video - It was not that it always soft-reboots when switching, maybe in 3 of 10 tries. However, deactivating captive portal detection seems to solve the issue for me.

Also, I noticed that your Wi-Fi connects nearly instant while on my end, it took about 20 seconds. After digging through the settings, I found that the option for random mac addresses was turned on. I switched it off for my home WI-FI, which now leads to an instant connection as well.

Hopefully the random soft-reboots are finally gone now. Many thanks for your help and awesome ROM.
[OnePlus 6 ROMs, Kernels, Recoveries, & Other Devel] Depressed T.Bear:
One more thing @optimumpro , do you have any idea why my security patch level is 9 month old? I tried reflashing (dirty) Jaguar, but won't update. Screenshots added below.

On you're Screenshot your device is up to date..

:unsure:
[OnePlus 6 ROMs, Kernels, Recoveries, & Other Devel] optimumpro:
Part of safetynet spoofing.

Edit: No device could pass hardware based attestation without a certificate from Google. So, the trick is for Safetynet to fall back to a legacy method. You can't have legacy with up-to-date security patches. So, various Magisk modules pick older dates. If you disable these modules and reboot, the phone will show the current dates.
[OnePlus 6 ROMs, Kernels, Recoveries, & Other Devel] Depressed T.Bear:
Alright, thanks! :)

Edit: Thanks for your further explanation. As long as it's only the visible strings which are changed, I'm totally fine with it. I fear the days when hardware based attestation gets enforced - which will unfortunately come sooner than I'd like.
[OnePlus 6 ROMs, Kernels, Recoveries, & Other Devel] xnruaa:
May I ask if you have put google play services and playstore to denylist in magisk? When I removed them from denylist, my security patch level was updated.
[OnePlus 6 ROMs, Kernels, Recoveries, & Other Devel] kase2804:
Thank you! It fixed my soft reboots as well
[OnePlus 6 ROMs, Kernels, Recoveries, & Other Devel] optimumpro:
May 6. New release V-20:

1. May security patches

2. Android r55

Download in post #3.
[OnePlus 6 ROMs, Kernels, Recoveries, & Other Devel] optimumpro:
Telegram chat group
[OnePlus 6 ROMs, Kernels, Recoveries, & Other Devel] kase2804:
Hi!

I'm struggling with that my device does not enter deep sleep during the night. It looses approximatly 25% every night.

I've tried wiping dalvik and force optimizing using "su -c "cmd package bg-dexopt-job""

Do you want logs?
[OnePlus 6 ROMs, Kernels, Recoveries, & Other Devel] optimumpro:
Wiping dalvik won't do anything on Android 10+. You can submit a logcat, but it won't show anything, because the wakelock is held by one of your applications. If you reboot the phone, unlock it and then put it to sleep, you'll have deep sleep. Once you open one or more of the suspect apps, even if you exit it by pressing 'back' button, the app would still remain in the background. Good apps release wakelocks before exiting.

Keep in mind, although, my device is Oneplus 8, I still keep my Oneplus 6 for development. I regularly flash updates and there is no deep sleep issues at all on the last 1-2 releases.
[OnePlus 6 ROMs, Kernels, Recoveries, & Other Devel] Depressed T.Bear:
Do you use any Gapps? Especially microG for apps like YouTube Vanced or similar?
[OnePlus 6 ROMs, Kernels, Recoveries, & Other Devel] lm089:
At least 2 users reported that in the past. In my case I could pin it down to a specific Jaguar setting plus my mail app. I never could solve it other but reboot after charging. See posts #448 and before
[OnePlus 6 ROMs, Kernels, Recoveries, & Other Devel] kase2804:
Yeah ! I use Nikgapps Full package, magisk 24 with universal safetynet fix and props config
[OnePlus 6 ROMs, Kernels, Recoveries, & Other Devel] Depressed T.Bear:
Nevermind, I'd have suggested to use just basic nikgapps since it worked for me. However, when I tried to take a Screenshot of my ~80% deep sleep which I used to get the last days, I noticed that it actually again is 0% now.

According to GSam, the most draining sources are kernel and 'Jaguar settings'.

When I reset Jaguar settings, the device enters deep sleep again. But it only works temporarily as far as I can tell :/

Edit:

Resetting Jaguar settings, reboot and letting the device laying around results in over 80% deep sleep again. Screenshot attached
[OnePlus 6 ROMs, Kernels, Recoveries, & Other Devel] kase2804:
I have the same problem. Resetting jaguar settings makes deep sleep come back, but only temporarly.

@optimumpro Can you test with gapps ? :)
[OnePlus 6 ROMs, Kernels, Recoveries, & Other Devel] Depressed T.Bear:
Yes, for me absolutely the same. And @optimumpro , even if I don't reboot and do anything: resetting the Jaguar settings brings back deep sleep (for a while). I'm totally unsure what exact setting is keeping the device awake non-stop.

According to gSam, "Kernel (Android OS)" is holding my device awake for 6 hrs 11 minutes so far, next entry is WhatsApp with 7 minutes.
[OnePlus 6 ROMs, Kernels, Recoveries, & Other Devel] optimumpro:
Try to disable pocket detection, which may be responsible for the wakelock. I will increase the time-out for detection in the next release. In the mean time, a simple reboot after full charge should do the trick. You don't need to reset Jaguar settings.
[OnePlus 6 ROMs, Kernels, Recoveries, & Other Devel] Depressed T.Bear:
My answer took a bit time because I wanted to test if it's really the reason and not some user app on my (/our) side. So I opened & used almost all apps I regularly use and either closed them or send them to the background.

In fact, disabling the pocket detection in Jaguar settings seems to do the trick! Deep sleep is now constantly around 80%!

I also noticed that there's an option under 'display' in the regular settings called 'prevent accidental wake-up' - does it the same thing as the jaguar setting?

Thank you for not letting us down! Once the deep sleep thingy is done, the Rom is a true 10/10 :)
[OnePlus 6 ROMs, Kernels, Recoveries, & Other Devel] optimumpro:
June 8. New release V-21:

1. Call recording bug introduced in V20 has been fixed (confirmed)

2. June security patches

3. Android r56

4. Automatic sleep/suspend mode (scheduled by a user) in Settings/Battery

5. 'Internet permission missing' issue with several apps fixed. Now, all apps including Googleplay, as well as third party apps, have no problems connecting to the internet (no F/C)

6. One shot auto brightness

7. In call volume increased

Download in post #3.
[OnePlus 6 ROMs, Kernels, Recoveries, & Other Devel] Depressed T.Bear:
This Update is awesome. I'm loving the scheduled sleep / suspend mode - not only to save battery, but it also replaces a complex Tasker script to limit the phones radiation at night.

So far, the few random FCs of two background apps are completely gone and the phone enters deep sleep without any problems!

The rom is now a 9.5/10! The only missing feature in my opinion is shifting font of the AOD to prevent screen burn-in of our AMOLED.

Awesome work - will donate to this project as soon as I can afford :)
[OnePlus 6 ROMs, Kernels, Recoveries, & Other Devel] eric93se:
No GPS here, anyone else?
[OnePlus 6 ROMs, Kernels, Recoveries, & Other Devel] optimumpro:
I have a Oneplus 6 for development: ran it for 24 hours - no issues with GPS even inside. Takes 2 seconds to connect.

Edit: if you are running some moded version of Sygic, you will encounter GPS problems, but that is the application problem.
[OnePlus 6 ROMs, Kernels, Recoveries, & Other Devel] eric93se:
Its odd, started working again.
[OnePlus 6 ROMs, Kernels, Recoveries, & Other Devel] Neil_Armstrong_:
Is Custom rom + locked bootloader still live ?
[OnePlus 6 ROMs, Kernels, Recoveries, & Other Devel] optimumpro:
July 8. New release V-22

1. July security patches

2. Android r57

3. Clear clipboard quick setting toggle

4. Metro audio player

5. Many under the hood improvements

Download in post #3.
[OnePlus 6 ROMs, Kernels, Recoveries, & Other Devel] eric93se:
OP, can you take a look at why Magisk app manager doesn't work (v25 and v25.1). Same issue with rom v21.
[OnePlus 6 ROMs, Kernels, Recoveries, & Other Devel] optimumpro:
Read on Telegram: not the rom problem.

P.S. Don't update development (without reading), where the dev has been bought by Google.
[OnePlus 6 ROMs, Kernels, Recoveries, & Other Devel] Depressed T.Bear:
Hi @optimumpro

I have pretty urgent problem with the latest release.

Here's what happened:

I had a sleepless night yesterday, my phone was on scheduled night mode which was recently implemented. So I turned on WIFI manually and checked for a new Jaguar version. I found 22 and downloaded it, installed it as usual and fell asleep.

When I woke up this morning, I noticed that the 'crossed heartbeat' symbol (when nightmode deactivates the sensors) was still there. Everything else (Wi-Fi, data, etc.) was toggeld back on. So I manually activated night mode and deactivated it - no change.

I reflashed the Rom, no change.

So, now I my sensors are turned off and I have no clue how to reactivate them! Is there any secret setting somewhere, or any terminal command I can run to get them back on?

Phone calls are a pain in the neck if the screen keeps on btw :D

For others: DON'T update the Rom while night mode is activated!
[OnePlus 6 ROMs, Kernels, Recoveries, & Other Devel] optimumpro:
I think resetting Jaguar settings to default in Rom control (small icon at the top right) should do the trick. Otherwise - clean flash.
[OnePlus 6 ROMs, Kernels, Recoveries, & Other Devel] Depressed T.Bear:
Resetting jaguar settings (and reboot) didn't work. I'm not home this weekend and the mic isnt working either... So there's no way of manually reactivating the sensors?
[OnePlus 6 ROMs, Kernels, Recoveries, & Other Devel] optimumpro:
I don't think this is related to 'suspend mode', especially that it does not affect microphones.
[OnePlus 6 ROMs, Kernels, Recoveries, & Other Devel] Depressed T.Bear:
Lession learned: don't flash in night mode :D

Swiftbackup saved me here, after a clean flash everything is working again and restored.
[OnePlus 6 ROMs, Kernels, Recoveries, & Other Devel] optimumpro:
July 13. New release

1. Fixes usb partial wakelock preventing the phone from sleeping

2. Updated webview

Download in post #3.
[OnePlus 6 ROMs, Kernels, Recoveries, & Other Devel] optimumpro:
The rom does have automatic call recording.
[OnePlus 6 ROMs, Kernels, Recoveries, & Other Devel] rocky184:
Installed this ROM earlier today coming free LOS19.

I followed the instructions exactly, downgraded to oos10 etc and mostly seems fine, except 2 issues:

With incoming call, there is no option to answer

Also I don't seem to be receiving texts.

Is there some setting I need to change.

BTW installed full version.
[OnePlus 6 ROMs, Kernels, Recoveries, & Other Devel] optimumpro:
Check your carrier apn settings. Don't use any other dialer... .
[OnePlus 6 ROMs, Kernels, Recoveries, & Other Devel] Sparksys:
@optimumpro I've flashed this ROM but when I reboot to system, it goes back to fastboot no matter what.

I only have access to fastboot and TWRP at this moment. How to boot to system?
[OnePlus 6 ROMs, Kernels, Recoveries, & Other Devel] optimumpro:
Please read install instructions.
[OnePlus 6 ROMs, Kernels, Recoveries, & Other Devel] Sparksys:
Alright thank you, I've installed the ROM and everything is amazing, thank you for your efforts on this amazing ROM!

I have one small question though, is there a problem with Location/GPS?

I can't seem to get Google Maps to work, it keeps getting stuck on "Finding best route" even though GPS is enabled.

Any idea why's that?
[OnePlus 6 ROMs, Kernels, Recoveries, & Other Devel] optimumpro:
No, there isn't any location problem in the rom. I use Sygic and it works perfectly: takes 1-3 seconds to get the signal.

Make sure you are using included Gapps (full version), as opposed to flashing other Gapps. If you flashed vanilla version, just reflash the full version on top (without wiping anything).
[OnePlus 6 ROMs, Kernels, Recoveries, & Other Devel] optimumpro:
1. August security patches

2. Android r58

Download in post #3.
[OnePlus 6 ROMs, Kernels, Recoveries, & Other Devel] Depressed T.Bear:
I asked around and got the following hint:

I'm not too familiar with baking roms, would it be possible to fix the code of 'gmscompat' of the GrapheneOS base or switch it to another, working, base?

The github answer can be found here: https://github.com/topjohnwu/Magisk/issues/5954#issuecomment-1151779493
[OnePlus 6 ROMs, Kernels, Recoveries, & Other Devel] optimumpro:
I don't use use gmscompat in Jaguar, because the scheme does NOT pass Safetynet, which defeats the purpose.

The logcat points to a java code error:

Caused by: java.lang.RuntimeException: Unable to instantiate Application():java.lang.RuntimeException:
Unable to instantiate application android.app.Application: java.lang.NullPointerException: Attempt to invoke
virtual method 'boolean java.lang.String.equals(java.lang.Object)' on a null object reference

This is a fairly common error associated with an application code, as opposed to a rom.
[OnePlus 6 ROMs, Kernels, Recoveries, & Other Devel] pndwal:
Just wondering if fixing this would allow Magisk 25.0+ Apps to run however(?)

Just guessing, but if other ROMs use gmscompat I assume they can pass S/N and PI... (I may be missing something obvious 😉) PW
[OnePlus 6 ROMs, Kernels, Recoveries, & Other Devel] optimumpro:
Fixing it: the error was introduced in Magisk 25 code.
[OnePlus 6 ROMs, Kernels, Recoveries, & Other Devel] pndwal:
Oh, ok ... Clearly I don't understand the problem properly, but I guess that issue should not have been closed with 'not our issue' label if that's the case... PW
[OnePlus 6 ROMs, Kernels, Recoveries, & Other Devel] optimumpro:
What is interesting is that logcat shows the same type of error with Magisk 24.3, but it loads and works fine. So, there must be something else... .
[OnePlus 6 ROMs, Kernels, Recoveries, & Other Devel] optimumpro:
September release will fix Magisk 25+, as well as LSPosed!