• If you are experiencing issues logging in, we moved to a new and more secure software and older account passwords were not able to be migrated. We recommend trying to reset your password, then contacting us if there are issues.
  • Nearly done! Migration cleanup is mostly done. There are a small number of issues left that we continue to work on, but all the heavy lifting is done. We still would love to hear feedback over at this thread and also check out the new XDA app! Thanks and we hope you enjoy the new forums, and thanks for your support of XDA <3

[ROM] JAGUAR PIE OFFICIAL NON-TREBLE V6, updated August 7

optimumpro

Senior Member
Jan 18, 2013
6,266
13,594
113
Here is Jaguar Pie. In addition to familiar Pie features (all of them), you have:

Official Telegram Link: https://t.me/jaguar_Rom_Official

The main thing: Non-treble! So, your vendor is located in system partition, which is NOT available to the entire world, like in treble roms.

1. Hardened/fortified bionic (over 150 commits) to prevent bad behavior by system and third party apps
2. Most runtime processes are read only, which means they can't be exploited to take over the device. I am trying to attack the cause, rather than the symptoms (a specific exploit)
3. Many kernel security features activated, such as 'configuration_integrity', randomization; hardened user copy, etc. Impulse governor added
4. Yama security in kernel
5. Working msm hotplug, which actually plugs/unplugs CPU based on load
6. Wakelock blocker, Alarm blocker etc
7. Gestures, Omni Theming
8. Smart pixels
9. Offline charging
10. Utouch
11. AOD
12. No response to 'type zero' SMS
13. Boot time on a fully settled rom is about 4-5 seconds after Zuk logo
14. Qualcomm's boost framework

Many more features, which I am tired to list.

This is beta, because I don't have the device - relied on @Dr.07 @The.Night.King and @benedict97 - thanks for testing


INSTRUCTIONS:

1. Format System/Vendor (if you have it)/Data/Dalvik/Cache. If you are encrypted in Oreo or encrypted with FBE, you also need a format with factory reset to get rid of encryption. ALSO: FORMAT FACTORY partition, otherwise, you will have 2 sets of vendor blobs, which would create a mess on boot
2. Flash the rom, flash Gapps, reboot and let the rom run, then
3. Back to TWRP to flash Magisk (18.1 is working)


Rom download V1: https://forum.xda-developers.com/devdb/project/dl/?id=31427

This is the initial release. All future updates will be in post #3, as usual.

Credit: MrHacker (I used his device tree as a base) and many others who work on device tree and kernel and obviously AOSP, OMNI, DU, CopperheadOS, Carbon Rom, Xtended and Benzo

Also, credit for a Jaguar bootanimation to @Ashish9 and @The.Night.King who made a logo and header icon


If anyone is interested in Afwall with administrative option restored (app can't be uninstalled, unless confirmed by you): https://forum.xda-developers.com/attachment.php?attachmentid=4739733&d=1554836212

XDA:DevDB Information
[ROM] JAGUAR PIE NON-TREBLE 3.18 KERNEL OFFICIAL, ROM for the Lenovo ZUK Z2 (Plus)

Contributors
optimumpro
Source Code: https://github.com/optimumpr/kernel_zuk_msm8996

Sources for new (May 29) kernel: https://github.com/optimumpr/android_kernel_zuk_msm8996-1

ROM OS Version: 9.x Pie
ROM Kernel: Linux 3.1.x
Based On: AOSP, DU, Lineage

Version Information
Status: Beta
Current Beta Version: V1
Beta Release Date: 2019-04-05

Created 2019-04-05
Last Updated 2019-08-07
 
Last edited:

optimumpro

Senior Member
Jan 18, 2013
6,266
13,594
113

optimumpro

Senior Member
Jan 18, 2013
6,266
13,594
113
Updates in this post

Those who are coming from treble roms: you need to format Factory partition too, otherwise, you will have 2 sets of vendor blobs, in other words, MESS

August 7. New release.

1. August security patches
2. Google r46
3. Camera should have level 3 now + more

Dirty flashing is fine, if on the previous release. Otherwise, clean flash - wipe Vendor/Factory/System/Data/Cache/Dalvik

Download rom V6: https://forum.xda-developers.com/devdb/project/dl/?id=31753

July 30: New release V5.2 with fixed installation problems:

You could try dirty flash, but I installed clean, then flashed Opengapps, and Firefox installed without any problems, while it didn't on V5.1.

Download rom V5.2: https://forum.xda-developers.com/devdb/project/dl/?id=31733

July 27. New release, v5.1.

This will fix encryption.

The reason it didn't work was the official TWRP. The maintainer (a known pro) put in the wrong size of userdata partition. So, if you ever formatted data on official TWRP, especially with factory reset, your data partition is screwed for the purposes of encryption (no place for crypto footer). I had to install another version of TWRP, and after I did format there, encryption worked. So, I am attaching both the rom and unofficial TWRP by handibuddy. This is also a signed version (as well as the rom itself), so you can re-lock bootloader on this rom: I have been doing this for ages and long before Lineage came up with the idea (you can check my signing guide in Oneplus 5 thread).

Download Rom V5.1: https://forum.xda-developers.com/devdb/project/dl/?id=31727
Download signed TWRP: https://forum.xda-developers.com/devdb/project/dl/?id=31728

Instructions: Rom could be flashed dirty over V5. TWRP could be flashed as image (to recovery) in your existing TWRP or via fastboot.
Just remember, if you want to relock bootloader, encrypt after locking.


July 25. New release, v5

1. July security patches
2. New Night Screen with configurable tint and brightness
3. Support for level 6-6.2 for AVC codecs
4. Option to disable proximity sensor during calls
5. In-CallUi is now themeable
6. Aggressive battery saving mode
7. Latest Lawnchair


Clean flash is required over V4 or if coming from a different rom, in which case you will also need to format vendor or factory partition.
DO NOT ENCRYPT YET!


Instructions:

1. Dirty flash, if already on Jaguar Pie
2. Clean flash, If coming from a different rom, also format vendor/factory/system/data/cache/dalvic
3. Flash the rom, flash GapDirty flash is fine, if on a previous release. Otherwise, clean flash.


Download rom V5: https://forum.xda-developers.com/devdb/project/dl/?id=31725

________________________________________________________________________________________________________
June 6. New release, V4:

1. June security patches
2. Pie r41


Dirty flash is fine, if on a previous release. Otherwise, clean flash.

Instructions:

1. Dirty flash, if already on Jaguar PieClean flash
2. If coming from a different rom, also format vendor/factory/system/data/cache/dalvic
3. Flash the rom, flash GapDirty flash is fine, if on a previous release. Otherwise, clean flash.

Instructions:

1. Dirty flash, if already on Jaguar PieClean flash
2. If coming from a different rom, also format vendor/factory/system/data/cache/dalvic
3. Flash the rom, flash Gapps, reboot, then back to TWRP to flash Magisk

ps, reboot, then back to TWRP to flash Magisk


Download rom V4: https://forum.xda-developers.com/devdb/project/dl/?id=31621

______________________________________________________________________________________________________________________
June 2. Lawnchair update to the latest. Flash in TWRP.

Download Lawnchair: https://forum.xda-developers.com/attachment.php?attachmentid=4770317&d=1559500522

May 31. Rom updated, V3:

1. Major kernel improvements - there is no reason to use my Oreo kernel or any other kernel
2. Flashlight works regardless of 'always on' or 'ambient display' (that required a clean flash)

Instructions:

1. Clean flash recommended - wipe system/data/cache/dalvik
2. If coming from a different rom, also format vendor/factory
3. Flash the rom, flash Gapps, reboot, then back to TWRP to flash Magisk


Download rom V3: https://forum.xda-developers.com/devdb/project/dl/?id=31612
_____________________________________________________________________________________________________________________

May 30. This is an updated version of the new kernel I posted earlier. This one contains my commits + reversed 'power saving' commits. Sometimes, you get things better by reversing.

Unzip, put on internal SD and flash either with TWRP (as image onto boot partition) or via fastboot.


Download new kernel: https://forum.xda-developers.com/attachment.php?attachmentid=4768179&d=1559177914

May 28. Lawnchair update. Flash in recovery:

Download Lawnchair: https://forum.xda-developers.com/attachment.php?attachmentid=4767269&d=1559060237

May 27. Updated release:

1. Fixed toggling flashlight in ambient display
2. Improvements in Qualcomm's boostframework
3. Contactsprovider updated (disappearing contacts)


Could be dirty flashed over V2. Otherwise, clean flash.

Download rom V2.1: https://forum.xda-developers.com/devdb/project/dl/?id=31602

May 25. New release, V2:

1. May security patches
2. Android Pie r37
3. Big changes in frameworks: exec spawning function is severely restricted to all apps, i.e., only one instance is allowed
4. Most resources preloading for exec spawning is disabled. As a result, boot time is shorter, fewer background resources are loaded in ram, which translates into an overall smoother experience.
5. Aggressive battery saving
6. Status bar burn protection
7. Media cover art filter (on lockscreen)
8. Switched to Bromite system webview V74
9. Redone auto-brightness and ambient display: ZukDoze removed, as Customdoze and Amibientdisplay are now builtin (Settings/Display)
10. Lawnchair upgraded: many fixes including Pie recents
11. MusicFX/Equalizer is now themeable
12. Zukparts removed, as spectrum profiles simply don't work, and KCAL could be done via Kernel Adiutor
13. Battery icon Q style
14. Wifi randomization working (Developer Settings)
15. Captive portal detection toggle (Settings/Wifi/Advanced - disable network connectivity check). You can now uninstall Captiveportal and have no 'x' in Wifi and Mobile icons


Instructions:

1. Clean flash required
2. Format system/vendor (or factory, depending on what you have)/data/dalvik/cache; if you were encrypted in Oreo or FBE in Pie, in addition, do factory reset
3. Flash the rom, flash Mind the Gapps or Nano Gaps, reboot. Then back to TWRP and flash Magisk


If your provider's APN is not on the list, set it up and enable. If data doesn't work, then change CDMA subscription in Mobile network to the alternative.

Download rom V2: https://forum.xda-developers.com/devdb/project/dl/?id=31591
__________________________________________________________________________________________________________________
April 9. New release. Lots of changes, mostly in kernel:

1. Inteli-thermal
2. Thermal-engine ported from Jaguar Oreo, so the rom runs about 3 degrees cooler
3. Substantially improved fluidity: according to testers, virtually no lag


Instructions:

1 If on a previous release, flash dirty and wipe dalvik/cache
2. if new, format system/vendor (or factory, depending on what you have)/data/dalvik/cache; if you were encrypted in Oreo or FBE in Pie, in addition, do factory reset
3. Flash the rom, flash Mind the Gapps, reboot. Then back to TWRP and flash Magisk

Download rom V1.1: https://forum.xda-developers.com/devdb/project/dl/?id=31467

_____________________________________________________________________________________________________________________
April 5. Here is the first update, kernel only. Speed improvement.
Just flash boot.img on top of the first release.


Download kernel: https://androidfilehost.com/?fid=1395089523397933955
 
Last edited:

Shubhi singhal

Senior Member
Sep 18, 2016
447
148
0
The 1st build is the one I'm using, right? The tweaked dalvik one, so should I flash only the kernel?
BTW can you add GPU driver 331 instead of 319? Since you're using 319 instead of 269, why not 313?
Hey brother... Can u help me. ..?
Currently on aex 6.4 and done all this to flash aex..
Now what do i do to go back to beast jaguar?
 

Attachments