[Xperia Z1 Compact Original Android Development] optimumpro:
This is the Official Jaguar rom for Amami, which is based on AOSP with some flavors from Slim and Dirtyunicorn. The main difference from other roms is the emphasis on security and multiple features. With that in mind , let's see what Jaguar has to offer:

1. Hardened Kernel, modified M5 built with UBERTC 6.0; hardened rom built with HYPERTOOL 5.4

2. All ciphers enabled in kernel instead of just a few

3. Hardened/Fortified Bionic and Libs

4. Fstack protection strong to resist buffer overflows

5. Many System apps and processes are made read-only, to reduce elevation of privilege

6. Selinux replaced with Tomoyo Security, Yam security

7. Disc encryption, keymaster to 256 bit AES instead of 128

8. Latest TWRP with working brightness and ability to decrypt Data

9. Random number generation mixed hardware/software, as recommended by Linus Torwalds

10. Options to randomize host on every boot

11. Option to have a separate password for lock screen and boot

12. Qualcomm's Time Services disabled due to leaking on early boot (set time to automatic to get it from your carrier). Forget it. The rom now includes Sony TimeKeep that sets the time locally

13. WIFI Background Scanning disabled to prevent leaking

14. Internet disabled for both WIFI and Data until Afwall is set and activiated (Afwall included in download, install as regular app)

15. The phone is VOLTE ready and you have all network options available in Cell menu (not just LTE/WCDMA/GSM)

16. GRsecurity features, such as Sidechannel implemented

17. Some Pax Security Features

18. Option to deny USB connection: denied always; denied when locked; and allowed always

19. Hardened webview with Google and other "interesting" IPs removed

20. Prevention of bruteforcing screen pin: the phone will reboot upon 3 unsuccessful attempts

21. Perfect_Event_Paranoid ported from Grsecurity: now third party apps can't use other apps including system to elevate privileges

22. Camera hardware button works to focus, take pictures and start video recording

23. Option to disable writing to Tombstones (a lot of private info is dumped there if there is a crash)

24. Option to disable continuing writing of logcat

25. Option to disable device cameras: back; front, both or none

26. Always latest Google Security Patches

27. Always latest Code Aurora Security Patches

28. Changes ported directly from Google Android Gerrit, so most of those in MM and even N are in this rom

29. About 80% of kernel changes are ported into Jaguar kernel from 3.10 and 3.18 (not Sony AOSP 3.10 that has Down Syndrome, but Linux/Google/Code Aurora one)

30. Rom is odexed to significantly increase boot speed (under 30 seconds) and application start

31. Many more security features ported from Linux and Copperhead OS

32. Dns Crypt: a feature allowing to choose among many Dns providers (all encrypted)

33. Seccomp: secure computing enabled in kernel

Other features include: Layers Theme Engine; Native Call Recording with interface integrated in Dialer with no restrictions; Privacy Guard; Native Wakelock Blocker; Native Black List; Global Menu; Slim Recents; Traffic Indicators; Advanced Reboot; Slim Pie; CPU Info on Screen; Ram Bar in Recents; Supersu included and integrated in Settings; True Offline Charging with Screen Off; Kernel Adiutor included (unzip and install as a normal app) and integrated in Settings; FM Radio and Recording plus more

Things users need to know to have smooth experience:. These are not bugs, but rather an explanation of some features

1. If you want to do data encryption, keep in mind that unlike Android, Jaguar uses 256 bit encryption. If you were encrypted on other roms, you won't be able to decrypt. So, wipe encryption and then re-encrypt on Jaguar. Also, keep in mind that if you ever did factory reset on official TWRP 3+ for honami, your data partition is screwed and have to be resized to enable encryption. This has nothing to do with the rom, but rather with the official TWRP itself. Fastboot my unofficial TWRP 3.0.2, which, by the way has working brightness, as well as ability to decrypt and mount data

2. Jaguar contains a script running on early boot, which cuts the internet access to both WIFI and Data until Afwall is running. This is done to prevent leaking, as well as having all your internet traffic routed through some interesting number of servers, including this IP: 26.147.196.22. So, install Afwall and activate it, otherwise, no Internet for you

3. If your system language is different from English and you want to make changes in Phone/Cell Network settings, switch to English first, make the changes and then return to your language. The changes you made will hold. If you try to make the changes in your language, you will have com.android.phone crash. Localization takes time and is virtually impossible to implement in Jaguar, which is a one-person-rom

4. TimeKeep is ported from MM/N. Now time is set locally without the Internet or GSM signal. You need to set it once only and then TimeKeep will keep it current on each reboot, even if Airplane mode.

5. GAPPS: in order to escape f/c, you need to flash GAPPS right after the rom without reboot. If you reboot, you will have problems.

6. If you came from Kitkat directly to a custom LP (without having stock LP at least once), you might experience problems with hardware: gps/wifi irregularites. This applies to any custom rom above Kitkat. To remedy this, flash unmodified Sony stock LP 5.1.1, boot the phone and let it settle. Then you can reboot into fastboot and flash TWRP recovery. Then you can flash Jaguar

Download: All updates and change logs are in Post #3 now

Instructions:

1. You must have flashed and booted stock LP 5.1.1 once to upgrade your hardware (see explanation above)

2 Have TWRP (fastboot my unofficial version), unlocked bootloader and root

3. In TWRP, wipe data/factory reset, then wipe System/Data/Cache/Dalvik

4. Flash the rom

5. If you use xposed, flash the latest installer (As of October 2016 no longer works due to multiple implementations from Nougat)

6. Reboot, install Afwall and Kernel Adiutor as normal apps; activate Afwall to have Internet

7. Enjoy the rom, say thank you, donate or do both :)

Warning: If your device and/or anyone in the immediate vicinity dies, don't blame me: it is all China and Russia's fault. :laugh:

Credit: CM, AOSP, Slimroms, DU, Copperhead OS, Myself5 (kernel)

UPDATED KERNEL SOURCE: https://xdaforums.com/devdb/project/dl/?id=23107 . Don't flash. This is not kernel, but rather sources to compile kernel

Kernel Sources: https://github.com/AOSP-Argon/android_kernel_sony_msm8974

XDA:DevDB Information

Jaguar Amami LP 5.1.1 r37 Official, ROM for the Sony Xperia Z1 Compact

Contributors

optimumpro

ROM OS Version: 5.1.x Lollipop

ROM Kernel: Linux 3.4.x

ROM Firmware Required: Unlocked Bootloader

Based On: AOSP Slim DirtyUnicorn

Version Information

Status: Stable

Created 2016-06-11

Last Updated 2017-02-09