[ROM][11.0_r56]JAGUAR ONEPLUS 6 OFFICIAL V21 Updated June 8, 2022

Search This thread

optimumpro

Senior Member
Jan 18, 2013
7,414
14,768
OnePlus 8
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?
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.
 

lm089

Senior Member
Jun 26, 2011
652
207
Munich
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?
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
 
  • Like
Reactions: kase2804

Depressed T.Bear

Senior Member
Jun 3, 2013
901
710
Berlin
Yeah ! I use Nikgapps Full package, magisk 24 with universal safetynet fix and props config
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
 

Attachments

  • Screenshot_20220516-012114_Einstellungen_1.png
    Screenshot_20220516-012114_Einstellungen_1.png
    207 KB · Views: 52
Last edited:

kase2804

Member
Jul 23, 2015
28
2
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
I have the same problem. Resetting jaguar settings makes deep sleep come back, but only temporarly.
@optimumpro Can you test with gapps ? :)
 

Depressed T.Bear

Senior Member
Jun 3, 2013
901
710
Berlin
I have the same problem. Resetting jaguar settings makes deep sleep come back, but only temporarly.
@optimumpro Can you test with gapps ? :)

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.

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.
 

optimumpro

Senior Member
Jan 18, 2013
7,414
14,768
OnePlus 8
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.
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.
 

Depressed T.Bear

Senior Member
Jun 3, 2013
901
710
Berlin
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.
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 :)
 

optimumpro

Senior Member
Jan 18, 2013
7,414
14,768
OnePlus 8
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.
 

Depressed T.Bear

Senior Member
Jun 3, 2013
901
710
Berlin
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 :)
 
  • Like
Reactions: optimumpro

Top Liked Posts

  • There are no posts matching your filters.
  • 2
    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.
    1
    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 :)
  • 22
    TELEGRAM CHANNEL ADDED: HERE
    TELEGRAM CHAT GROUP: HERE

    SAFETYNET HAS BEEN FIXED WHEN USED WITH MAGISK 24.3

    You can actually use alarm when the phone is shut down. It would boot 2 minutes prior to scheduled time and trigger the alarm on time


    This is official build of Jaguar Rom.

    I have been building Android roms since 2012 for various devices including multiple Sonys, Lenovo Zuk, Oneplus 3, Oneplus 5 and Oneplus 6 (my current device). You can check the Oneplus 5 development thread here:
    Oneplus 5 thread or Oneplus 3 or browse my profile.

    Jaguar rom is focused on hardening of AndroidOS and kernel. As such, the rom has hardened bionic, art, framework and tightened security. Kernel has security features ported from linux kernel 4.14.


    The rom could be used on locked bootloader (donate feature) with no warning screen whatsoever, and with or without Magisk (your choice). It boots like OOS: Android logo and Boot animation. Plus, you get back DRM L1 driver.

    You get your DRM L1 certificate back and most of your banking apps will work regardless of Magisk tricks

    Otherwise, and in addition to hardening, the rom has all standard+ features that come with custom roms:

    1 Rom control with custom Power options, Statusbar, Buttons, Navbar, Quicksettings, Lockscreen, Notifications, Gestures, Themes etc. .

    2. Heavily modified Art, Bionic System/Vold and System/Security

    3. Telephony response to Type Zero sms ('silently acknowledged') disabled

    4. Toggle to disable Captive Portal logging.

    5. Speakerphone proximity sensor toggle - could be set to automatically switch to speaker when not at the ear

    6. IMEI and phone numbers hidden in About menu

    7. Call recording button now visible in Dialer

    8. All regular customizations

    The rom requires the latest stable OOS-10 (NOT 11) vendor in both slots!

    Instructions for Unlocked Bootloader


    See post #3 for detailed instructions including download links for OOS-10 and TWRP.

    The latest release is always in post #3 on the very top

    XDA:DevDB Information
    JAGUAR R, ROM for the OnePlus 6

    Contributors

    optimumpro

    Rebased Kernel Source: Rebased Kernel
    New Kernel Source: New Kernel
    Kernel Source Code: Kernel

    ROM OS Version:
    11.x R
    ROM Kernel:
    Linux 4.x
    ROM Firmware Required:
    Locked or Unlocked Bootloader and OOS vendor
    Based On:
    AOSP/Lineage/Crdroid

    Version Information
    Status:
    Stable
    Current Stable Version: See post #3
    Stable Release Date:
    2021-01-26

    Created: 2021-01-26
    Updated: 2022-06-08

    Credit: AOSP, Lineage, DU, Crdroid, GrapheneOS, Bromite webview
    11
    Some screenshots:
    10
    REMEMBER TO HAVE OOS-10 IN BOTH SLOTS. To make it easier for new users, see this post which contains detailed instructions and links on how to flash OOS-10 into both slots and install Jaguar.

    After that, you can optionally flash the firmware update, which will upgrade partitions to OOS-11, except for vendor and bootloader. Download Here

    ________________________________________________________________

    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

    Dirty flash on top of a previous release is fine

    Download rom V21-VANILLA: Here

    Download rom V21-FULL: Here


    May 6. New release V-20:

    1. May security patches
    2. Android r55

    Dirty flash is fine on a previous release

    Download rom V-20 VANILLA: Here

    Download rom V-20 FULL: Here


    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


    Dirty flashing is fine

    Download rom V-19.1-VANILLA: Here

    Download rom V-19.1-FULL: Here


    April 7 New release V-19

    Safetynet has been fixed as of Version 19. Confirmed by an Oneplus 8 user here with detailed explanation here


    1. April security patches
    2. Google r54
    3. AOSP webview 100.x
    4. Should work with Zgisk (confirmed)
    5. Seedvault is back
    6. Swipe gestures on AOD

    Dirty flashing is fine on a previous release

    Download rom V-19 VANILLA: Here

    Download rom V-19 FULL: Here



    March 9. New release V-18

    1. March security patches
    2. Android r53
    3. User build
    4. Options to choose between Bromite and Vanadium webivew
    5. Optional torch flashing on incoming calls
    6. Night display renamed into Display calibration

    Dirty flashing is fine on top of a previous release

    Download rom V-18 Full: Here

    Download rom V-18 Vanilla : Here


    February 8. New release, V-17

    1. February security patches
    2. Android r52
    3. Regular webview, as opposed to bromite, which might help Safetynet
    4. Toggle to hide statusbar clock when launcher is active

    Dirty flash on top of a previous release is fine

    Download rom V-17: HERE

    January 6, 2022. New release V-16:

    1. January security patches
    2. Android r51

    Dirty flash is fine on a previous release

    Download rom V-16: HERE

    December 9, New release V-15

    1. December security patches
    2. Android r50
    3. Toggle to disable fingerprint screen unlocking (fingerprint could still be used for apps, etc)
    4. Updated webview

    Could be flashed dirty on top of a previous release

    Download rom V-15:
    HERE

    November 4, New release V-14

    1. November security patches
    2. Android r49

    3. Snap camera replaced with Open Camera
    4. Updated webview

    Dirty flashing is fine on top of a previous release
    Remember, you need either OOS 10 firmware or, if you are on OOS 11, flash firmware above, which will downgrade your bootloader to OOS 10.

    Download rom V-14: HERE

    October 5. New Release V-13

    1. Google r48
    2. October security patches
    3. Internal firewall fully working again
    4. Redone doze

    Could be flashed dirty on top of a previous release

    Download rom V-13
    : HERE

    September 13. New Release V-12.1

    This is a small update which replaces

    1. Wrong CarrierConfig app, which accidentally disabled voicemail notifications for T-Mobile USA; and adds

    2. Vanadium webview, as an alternative. Now you have both Bromite and Vanadium (for anti-Google conscious) in Developer options. Select whatever you prefer.

    Dirty flashing is fine on top of previous releases

    Download rom V-12.1:
    HERE

    September 8, 2021. New Release V-12.0

    1. Android 11 r43
    2. September security patches
    3. Fully working PowerOn alarm (set it, turn off the phone, it would boot two minutes before and trigger the alarm on time
    4. Rebased kernel based on Oneplus r11
    5. TWRP by Nebrassy embedded in kernel. You don't need to flash TWRP installer, unless you want to change to a different TWRP
    6. Doze/AOD features moved to OneplusSettings
    7. Statusbar/Navbar burning protection
    8. Toggle to turn off fingerprint screen unlocking (does not affect apps)
    9. Dark mode by default
    10. Fixed camera crashes
    11. Bromite webivew is now default: no additional action required
    12. Most lockscreen clocks made bigger

    Dirty flashing is fine on top of previous releases


    Download rom V12.0: HERE


    August 11, 2021. New Release V-11.1

    1. Hide apps from recents
    2. Full user profiles and work mode
    3. Quicksearch removed (too noisy)
    4. Encrypted DNS providers added: Cloudflare (US); LibreDns (Germany); AdguardDns (Cyprus); and PowerDns (Netherlands)
    5. Visual Voicemail on T-Mobile USA now fully working without their app
    6. Battery saver profiles
    7. Gaming mode
    8. Internal firewall removed as broken
    9. Kill app button in notifications (on long press)
    10. Trust section in Settings/Privacy is now populated with various options, such as deny USB gadgets when locked, various security alerts, such as if the rom signature has changed, etc. ...

    Dirty flash is fine on top of a previous release


    Download rom V-11.1: HERE

    August 3, 2021. New Release V-11.0

    1. August security patches
    2. Android r40
    3. Options to disable dashboard conditions and suggestions
    4. Icon packs for system apps
    5. Edge gestures to allow various actions on gestural navigation
    6. Panel modes now accessible in OneplusSettings
    7. A bunch of new system-wide accent colors added
    8. Display rounded corners
    9. Kernel updated to .277
    10. Clang 12.x for kernel.

    Can be flashed dirty on top of a previous release

    Download rom V-11.0: Here

    July 20. New Release V-10.2

    1. Camera F/C fixed by reverting Lineage commit 'camera: support exposing aux camera to apps'
    2. Removed Livedisplay panel modes that were conflicting with Oneplus's panels. Panel modes are accessible via a QS tile
    3. Omni animation in offline charging
    4. Android S lockscreen clock added

    Dirty flashing on top of a previous release is fine

    Download rom V-10.2: HERE

    July 13. New Release V-10.1

    1. Bromite webview
    2. On-the-go (option to have it in Power Menu and Quick Tile)
    3. Smart charging fixed.

    Download rom V-10.1: HERE

    Dirty flash is fine on top of a previous release

    July 8. New Release V-10.0

    1. Android r39
    2. July security patches
    3. Option to put brightness slider at the bottom (in QS)
    4. QS tiles tinting with accent color
    5. Back gesture haptic feedback
    6. Clipboard access toggle
    7. Restored Android webview to fix Google account

    Could be flashed dirty on a previous release

    Download rom V-10.0: HERE


    June 18. New Release V-9.1

    1. Wakelock blocker (Settings/System)
    2. Alarm blocker (Settings/System)
    3. Modified user interface in Settings/System

    Could be flashed dirty on a previous release

    Download rom V-9.1: Here

    June 9. New Release V-9.0

    1. Android r38
    2. June security patches
    3. Latest kernel
    4. Settings to automatically reboot the phone, if it wasn't unlocked: for user-preset time (up to 72 hours)
    5. Settings for one-shot brigtness
    6. Vanadium webview to 91.x


    Could be flashed dirty

    Download rom V-9.0: Here

    May 4. New Release V-8.0

    1. Android r37
    2. May security patches
    3. Applock timeout
    4. Icon shapes
    5. LiveDisplay color mode preview
    6. Kernel updated to .267
    7. New display cutout: Normal, Small and Hide

    Could be flashed dirty.

    Download rom V-8.0: Here

    April 12, New Release, V-7.1

    1. App locker
    2. Toggle to turn off QS footer icons

    Could be flashed dirty on a previous release

    Download rom V-7.1:
    here

    April 6, New Release, V-7.0

    1. Android r35
    2. April security patches
    3. Option to forbid non-TLS (clear text) network communications (in Development)
    4. New kernel

    Could be flashed dirty on a previous release

    Download rom V-7.0: here


    March 7, New release, V-6.0

    1. Newer clang tool chain
    2. Smart battery charging
    3. Extreme battery saving
    4. Sound and vibration options on a fully charged battery
    5. Launcher 3 - support for icon packs and option to change icon size globally
    6. Improved fingerprint sensor
    7. Updated TriChrome Webview and Chromium browser to 89.x

    Dirty flashing is fine.

    Download rom V-6.0: here


    March 2, New release, V-5.0

    1. Android r33
    2. March security patches
    3. Extra features added in Oneplusdevice
    4. System icons colors unified for dark/light theming (all icons are dark + random color or white + random color)
    5. Updated kernel, art and bionic
    6. Fixed notch so that it is not overlayed with traffic speed numbers and volte/vofi icons

    Could be flashed dirty on top of previous releases

    Download rom V5-0
    : here
    ____________________________________________________________________________________________________________

    February 17. New release, V-4.0

    1. Phone ringtone settings for Multi Sim
    2. Deep sleep added in about phone
    3. Dashboard icons theming
    4. Jelly browser replaced with TriChrome Vanadium browser 88.x
    5. AOSP webview replaced with TriChrome Vanadium Systemwebview 88.x
    6. Per App access to sensors configuration
    7. Dalvik/Art built with O3 flag

    Could be flashed dirty on top of previous releases

    Download rom V4-0: here


    __________________________________________________________________________________________________________
    February 8. New release, V-3.0

    1. Live Display now fully works
    2. Settings - cool video effects entering sub-settings
    3. Support for MicroG
    4. Option to enable AOD on charge only
    5. Extend pulse to Ambient Display
    6. Access running services from Quick Settings (icon)

    Dirty flash on a previous release is fine.

    Download rom V-3.0: here

    ___________________________________________________________________________________________________________
    February 2. New release, V-2.0

    1. Android r30
    2. February security patches
    3. Call recording enabled for all
    4. Dialer now shows 'record call' button, instead of useless 'RTT' button

    Dirty flash on previous releases is fine


    Download rom V-2.0: here
    ____________________________________________________________________________________________________________

    January 30. New release:

    1. Fixed video not playing in Facebook/Whatsup and other 3rd party apps
    2. Updated Android sources
    3. Updated Kernel

    Dirty flash on top of V1 is fine:

    Download in attachment:
    9
    May 4. New Release V-8.0

    1. Android r37
    2. May security patches
    3. Applock timeout
    4. Icon shapes
    5. LiveDisplay color mode preview
    6. Kernel updated to .267
    7. New display cutout: Normal, Small and Hide

    Download in post #3.
    9
    Rom updated to V-4.0:

    1. Phone ringtone settings for Multi Sim
    2. Deep sleep added in about phone
    3. Dashboard icons theming
    4. Jelly browser replaced with TriChrome Vanadium browser 88.x
    5. AOSP webview replaced with TriChrome Vanadium Systemwebview 88.x
    6. Per App access to sensors configuration
    7. Dalvik/Art built with O3 flag

    Download in post #3.