[GT-I9001][ROM] Customized LineageOS 11.0 (04.11.2018) - Galaxy S Plus I9001 Android Development

{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Hello everyone,
with this post i present you my Customized LineageOS 11.0 build (based on Android 4.4.4) for the Samsung Galaxy S Plus (GT-9001).
This Rom is based on the work from the ADC-Team and their CyanogenMod 11.0 ROM. The included Kernel is based on Christopher83's UV K^Kernel.
I made this Rom mostly for myself, because i still use this device as my daily driver.
Please take a look at the feature list to see if you like them or not. Also, please read the installation instructions carefully!
Disclaimer
Your warranty is now void.
We are not responsible for bricked devices, dead SD cards, thermonuclear war, or you getting fired because the alarm app failed.
Please do some research if you have any concerns about features included in this ROM before flashing it!
YOU are choosing to make these modifications, and if you point the finger at us for messing up your device, we will laugh at you.
Click to expand...
Click to collapse
Features
Latest LinageOS version with current security patch level
Kernel 3.4.113 compiled with latest Linaro 7.3.1 Toolchain
Rom compiled with latest UberTC 4.8.5 Toolchain
Build with optimization flags and added misc performance optimizations
F2FS support for Data and Cache
SDFAT driver for ExFAT and vFAT support
Hardened Kernel and ROM configuration
A lot of fixed security vulnerabilities (e.g. the spectre bug)
Debloated by removing some apps and more stuff (like the theme engine)
microG support
Build with NoAnalytics
Removed some of Google's proprietaries
Up to Date Fennec web browser
Some Vendor Blobs got replaced with open source alternatives (rmt_storage, libgemini and rild till now)
Some upstream updates (Font, tzdata, APN, ...)
Rom and APKs signed with private keys
a lot more...
Installation
If you are installing this Rom for the first time, please do a clean installation:
Download this Rom and the latest TWRP recovery from the ADC-Team with F2FS support (look inside the Download section)
Optional: Download a Gapps package, even tho i strongly suggest not to install them, because of possible performance issues and privacy concerns
Put all of the downloaded files on an external SD card (if you don't have one, you can copy the Rom (and Gapps) on the internal SD card via MTP after the wiping step)
Optional: Backup all of your data
Install the new recovery, then reboot into recovery again
Change the filesystem for the Data AND Cache partition to F2FS (Wipe -> Advanced Wipe -> Select Data -> Repair or Change File System -> Change File System -> F2FS -> Swipe -> Redo steps for Cache)
Wipe Dalvik Cache, Cache, System and Data partition
Install the ROM
Optional: Install Gapps
Reboot the system
If you want to update from the 03.08.2018 build or older to a newer version you have to flash a migration zip first.
Read more about it in the second post.
If you already installed this build, then you can just update it:
Download the new build and copy it to your device
Wipe Dalvik Cache and Cache
Optional: Wipe System (I do this step every time. Its usually not needed and will (hopefully) tell you if it's necessary)
If you are using Gapps you have to install them after the Rom update again
If you are using Adaway, you have to download your Hostfiles after this step again
Install the Rom update
Reboot the system
Changelogs
04.11.2018 build:
LineageOS
-september security bulletin
-added disclaimer to the security patch level
Kernel
-a few patches from lineageos' msm8974 kernel repo and jdc teams kernel repo
-more spectre patches
-changed default governor to interactive
-fixed a "few" compiler warnings
Rom
-update tzdata to 2018g
-update apns
-remove more debug programs
-speed up (scroll-)animations and shutdown
-moved gps hal to the device tree
-add rom informations to the updater script
Apps
-updated fennec to 63.0
Again: if you browser starts to crash after updating, you have to clean Fennec's data. I am sorry if that happens.
Click to expand...
Click to collapse
Old Changelogs:
10.09.2018 build:
LineageOS
-august security bulletin
Kernel
-misc security patches
-updated ancora defconfigs (because of a request)
-implemention of a quickwakeup driver
-use gzip instead of xz for compression
-overclock GPU to 275MHz (thanks to marcindevelopment)
-some more small things
Rom
-updated apns
-removed some debug programs
-removed recovery resources from the zip
-misc cleanups
-readded all the languages and fonts! (thats why the build is about 30mb larger)
-signed builds!
Apps
-updated fennec to 61.0.2
Again: if you browser starts to crash after updating, you have to clean Fennec's data. I am sorry if that happens.
ZIPs
-addonsu zip
-addonsu-remove zip
-migration zip
Click to expand...
Click to collapse
03.08.2018 build:
LineageOS
-july security bulletin
-added some missing September 2017 patches
Kernel
-added LineageOS' SDFAT driver, removed ExFAT driver
-added Spectre V1 and V2 patches
-some security patches from LineageOS' samsung_msm8974 kernel tree
-added some more hardened kernel configurations from AndroidHardeningArchive's Kernel tree
-use optimizations for the memory manager again
-updated android-alarm driver
-a lot of firmware loader updates
-reverted all of the latest binder updates
This fixes the broken touchkey backlight timeout option
-added some K^Kernel patches i somehow missed
-switched some I/O schedulers and governors
-added an interface that lets you disable the logger
-removed execution domain support
Rom
-renamed Rom from UNOFFICAL to customized
-reworked brightness fix, now it works for every brightness value
-whitelisted some OpenGL ES methods (Google Maps and some other Apps my run faster now)
-readded arabic language and font (because of a request)
-disabled LineageOS statistics by default, only relevant for a clean installation
-removed CM's recovery keys
-updated Wallpaper Picker
-updated APNs
Click to expand...
Click to collapse
13.07.2018 build:
Kernel
-Compile GPU driver and crypto modules with -O3 again
-Reverted a faulty commit
-Removed F2FS encryption support (not supported for Kernel 3.4)
-Implemented CPU boost (thanks to MarcinDevelopment)
-Small performance optimizations
-Fixed some compiler warnings
Rom
-Deleted one unnecessary vendor blob
-Disabled GPS by default, only relevant for a clean installation
-Updated APN's
-Use low-res bootanimation
-Boot with 1/4 of the maximum brightness
-Implemented the hacky maximum-brightness-after-boot workaround
-Small cleanups
Apps
Fennec
-Updated Fennec (they forgot to build some languages)
If you browser starts to crash after updating, you have to clean Fennec's data. I am sorry if that happens.
Click to expand...
Click to collapse
08.07.2018 build:
Kernel
-Kernel compiled with -Os flags instead of -O3
This should fix the hw button bug (thanks to outofmemory13)
-a lot of binder updates
-properly implemention of UID-based routing
-some more things from LineageOS' samsung_jf kernel tree
Click to expand...
Click to collapse
06.07.2018 build:
Since this Changelog would be too big to add every change that was made from the latest CyanogenMod Rom from the ADC-Team, this is more a of a mashup, I am sorry if I forgot something important.
Notable CyanogenMod/LinageOS changes
-rebranding to LineageOS
-new Bootanimation
-updated translations
-some layout fixes
-some fixed FCs
-updated APNs
-some security vulnerabilities got fixed (like Krack and Blueborne)
-implementation of the security patch level
Current version is June 2018
Kernel
-updated Kernel version to 3.4.113 (EOL)
-compiled with latest Linaro 7.3.1 Toolchain
-changes from the ADC-Teams cm-12.1 branch
-switched to the UV configuration per default (if you notice stability issues related to the undervolting, you can manually change the voltage tables)
-update BFQ scheduler and make it default, also removed some other schedulers
-switched to Lulzactive as the default governor, also removed some others
-misc performance optimizations (e.g. disabled CRC check, some disabled logs, stats and debugging, LZ4 compression, disabled LMK and more)
-updates for F2FS and ExFAT (1.2.9 -> 1.2.19)
-TCP changed to Westwood
-build with some optimization flags (O3 and Graphite optimizations)
-mark SD card as non removable
-included power efficient workqueues
-a lot of fixed vulnerabilities
-hardened build configurations/changed some configs, that were really bad for security (e.g. disabled devmem, disabled AIO, updated LSM_MMAP_MIN_ADDR value and more)
-raised default min CPU frequency (this fixes the audio stuttering in Apollo music player)
-lowered min display brightness
-disabled virtual terminal (this means 1MB more available RAM OMG!!!)
-a lot more
Rom
-synced with latest CM/LOS changes
-compiled with latest UberTC 4.8.5 Toolchain
-changes from the ADC-Teams cm-12.1 branch (the ones that are applicable for cm-11.0)
-compiled with Archidroid Optimizations V3 (I cleaned them up a bit)
-F2FS support for Cache and Data
-upstream changes to the media drivers (CAF media, audio and display driver)
-implemented ioprio for a more responsive phone (thats why i recommend to use BFQ)
-switched from Superuser to SU (you can enable root inside the developer options, there is also a new SU panel inside the advanced privacy guard)
-microG support (fake signature support can be enabled inside developer options)
-replaced Google Analytics with a self-compiled NoAnalytics version
-hardened SQLite (enabled secure delete)
-hardened WPA Supplicant
-updated APNs from the lineage-15.1 branch
-updated time zone data
-optimized GPS (with a security fix)
-some vendor blobs got replaced with open source alternatives (rmt_storage, libgemini and rild till now)
-more volume steps
-improved performance (e.g. by optimizing the scrolling cache, by showing simple dialog for optimizing apps, or disabling some debugging)
-sounds cleanup
-updated fonts and emojis
-you can now pull down the status bar when your device is locked
-smaller touch target for the emergency call button on a locked screen
-updated wallpaper
-misc hardening (e.g. by increasing the maximum password length)
-use Cloudflare DNS servers instead Google's
-remove some precompiled stuff (like old face recognition files)
-removed theme engine (even when not in use, it used about 5MB of RAM)
-removed some apps (like Terminal, SoundRecorder, STK, CMAccount, CMHome, VoiceDialer, VoicePlus, VideoRecorder, LiveWallpaper, CMUpdater, Email, PrintSpooler and even more)
-removed some languages
-added ASCII art and real-time installation infos
-added lockscreen rotation option
-speed up some animations
-some upstream fixes
-new power off charging animation
-a new bootsplash logo
-a lot more
Apps
Browser
-changed it to Fennec 61.0 from F-Droid
The security issues in the original browser and Kitkat's webview are too terrible.
CMFileManager
-removed the exit warning
Apollo music player
-fixed back button
-remind the last song that was played
LockClock
-fixed the interface for low font sizes
-removed Google proprietary
Trebuchet
-updated all apps icon
Settings
-updated icon
-updated battery/system icons (gingerbread is now dead!)
-updated german translations
-new contributors cloud
-removed theme options
-support for microG and SU
Click to expand...
Click to collapse
Downloads
04.11.2018 build
Old Downloads:
10.09.2018 build
03.08.2018 build
13.07.2018 build
08.07.2018 build
06.07.2018 build
Sources
LineageOS sources: https://github.com/LineageOS
My repositories: https://github.com/wangenau?tab=repositories
My manifest files: https://github.com/wangenau/android
Credits and Special Thanks
LineageOS/CyanogenMod
Mozilla
ADC-Team
JDC-Team
LegacyXperia
CopperheadOS/thestinger
Christopher83
sirmordred
coldwindofnowhere
DafabHoid
outofmemory13/MarcinDevelopment
ArchiDroid/JustArchi
XDA:DevDB Information
Customized LineageOS 11.0, ROM for the Samsung Galaxy S Plus I9001
Contributors
wangenau
ROM OS Version: 4.4.x KitKat
ROM Kernel: Linux 3.4.x
ROM Firmware Required: TWRP Recovery with F2FS support
Based On: LineageOS
Version Information
Status: Stable
Created 2018-07-07
Last Updated 2018-11-04

Additional Informations
Signed Builds
Starting with the 10.09.2018 i will start to sign my builds with my own private keys. That includes the Rom itself, but also the APKs inside of it (instead of precompiled apps i include, which is only fennec till now).
This means you (or someone else) can only update the Rom and the system APKs with files that are signed by me. With this noone should be able to install a bad system APK or a bad build on your device.
To update your device from an older build, you have to add those keys to your device first. I made a flashable zip for that purpose. So if you want to update from an build that is older than the 10.09.2018 you have to flash this zip first.
Download migration zip
You only have to do this procedure once. If you do a clean installation you don't even have to it.
But that also means you can't go back to an older build after going to signed builds. (If you really want to for whatever reason, edit the migration zip for that purpose, or ask me how to do it)
To check if one of my builds has the correct signature, simply use:
Code:
keytool -J-Duser.language=en -list -printcert -jarfile zip_name.zip
The resulting fingerprints of my builds (after the 03.08.2018) are listed as follows:
Code:
Certificate fingerprints:
MD5: A2:42:4C:F5:4E:DD:3A:A2:C8:20:3A:AF:A1:D6:B9:99
SHA1: F2:13:38:21:53:55:89:CD:30:96:18:99:DD:7B:6D:81:DF:18:79:5F
SHA256: 94:56:09:A6:38:84:CB:BD:82:A5:A9:30:2F:D7:7C:EC:95:AA:57:FE:88:3B:9B:16:79:61:64:B4:AC:79:53:CC
SU
This Rom comes with su preinstalled. This means you have the ability to use Apps that need root permissions. If you don't want this you can remove su with this flashable zip.
Download addonsu-remove zip
If you want to add su back after removing it, you can do that with this zip.
Download addonsu zip
Simply flash these zips inside your recovery and reboot your device afterwards.
Bugs
There are a few small bugs, that will probably never get fixed (if you know how to fix these write me how to do it )
Bugs that can be fixed with a reboot:
no mobile data connection
SD Card stops working
Other Bugs:
MX Player does not work (and it will also freeze your system)
apparently this applies to RAR and Solid Explorer too
a user reported FC's and slowdowns inside the app "Aliexpress" with the lulzactive governor

Tips and Tricks
To get access to the Performance and Developer options go inside About phone inside Settings and tap 7 times on the Build number.
The default governor is interactive. Personaly i use lulzactive. Switching the governor may give you better performance and/or batterylife. But using interactive should be more stable. You can change the governor in the Performance section inside.
Under Performance Settings you can also overclock the cpu. I would say it is pretty save to overlock the cpu, since i am running my device for 5 years at 1.82 GHz (unless you have a different hardware revision)
If you experience random shutdowns after overclocking, you should lower the maximum cpu speed or raise your cpu voltage.
Using this Rom without Gapps is recommended. If you need some Google services you can use MicroG instead. To use it activate Signature Spoofing under Developer options. Google Maps i use, in combination with MicroG and Mozilla's Unified Nlp Backend. Also i use a rather old Maps version (9.14.0). But if you don't need the newest features und just some Maps, this version performs really good, even on our old device.
If you are using Adaway (also a recommendation) don't forget to add mtalk.google.com to your whitelist.
If you want an open source app store i can recommend F-Droid.
These pages (including the following posts) also contain useful informations about Rom and Kernel:
ADC-Teams CM11 Thread
Christopher83's K^Kernel Thread

Hello everyone again,
i finally created this thread and uploaded my rom. I had this in mind for a long time and i use my own LineageOS version since quite some time (i made my first commit in November 2015 i guess) and now it is in time for the 7th birthday from this device . I tried to make this device more secure, while still providing good performance and battery life.
I hope you like this rom, but again: I made this mostly for myself. And since i am not a power user (which is quite impossible with this device ), there might be some things that are broken that i didn't noticed, or stuff got removed because i didn't needed it. If you notice something of this or you find some bugs or have a question, feel free to post about it and i will take a look at it.
You can see all of my sources in the first post and even my manifest to make the build as reproducible as possible.
You can also take a look at the changelog for more informations (creating this changelog really took some time), at the two screenshots i uploaded and most important at the installation instructions.
I guess i don't have more to say for now, so happy flashing!

wangenau said:
-compiled with latest Linaro 7.3.1 Toolchain
Click to expand...
Click to collapse
HW Keys bug exist because of linaro. Switch to other toolchain or remove O3 flag (change to Os)
I'll use rmt_storage from sources you provided. I've used rmtfs all time, but seems that there's better replacement. Thanks!

outofmemory13 said:
HW Keys bug exist because of linaro. Switch to other toolchain or remove O3 flag (change to Os)
I'll use rmt_storage from sources you provided. I've used rmtfs all time, but seems that there's better replacement. Thanks!
Click to expand...
Click to collapse
You are welcome
And thank you for the infos about the hw buttons, i will definitely test this out!

Update
Hey, here is a small update. It should fix the hw button bug. I also merged some other changes to the kernel, but nothing big.
Changelog:
Kernel
-Kernel compiled with -Os flags instead of -O3
This should fix the hw button bug (thanks to outofmemory13)
-a lot of binder updates
-proper implemention of UID-based routing
-some more things from LineageOS' samsung_jf kernel tree
Click to expand...
Click to collapse
Download 08.07.2018 build
md5sum: 759dc4d116a68888e5bdfbd929b607bb

Update
Hey, here is another small update. This one fixes the brightness bug after booting. I couldn't find the cause of this, but I used my high-class scripting skills *cough* to create a workaround. I think there are no more major bugs left, unless you find one
Changelog:
Kernel
-Compile GPU driver and crypto modules with -O3 again
-Reverted a faulty commit
-Removed F2FS encryption support (not supported for Kernel 3.4)
-Implemented CPU boost (thanks to MarcinDevelopment)
-Small performance optimizations
-Fixed some compiler warnings
Rom
-Deleted one unnecessary vendor blob
-Disabled GPS by default, only relevant for a clean installation
-Updated APN's
-Use low-res bootanimation
-Boot with 1/4 of the maximum brightness
-Implemented the hacky maximum-brightness-after-boot workaround
-Small cleanups
Apps
Fennec
-Updated Fennec (they forgot to build some languages)
If you browser starts to crash after updating, you have to clean Fennec's data. I am sorry if that happens.
Click to expand...
Click to collapse
Download 13.07.2018 build
md5sum: 175f19c16373524fa16a56389b5ecc31

thanks, I have this phone locked in the drawer, I'm installing the rom, I'll let you know how it goes, thanks for everything.
If you have time and desire can you make a ressurection remix?

pablonik79 said:
thanks, I have this phone locked in the drawer, I'm installing the rom, I'll let you know how it goes, thanks for everything.
If you have time and desire can you make a ressurection remix?
Click to expand...
Click to collapse
You are welcome!
I am excited to hear your feedback.
Sadly I don't think that I will spend my time on another rom for this device, just because I still use this phone as my daily driver and I don't want to experiment to much with it. And my internet connection is also not the fastest, so downloading a whole new source code takes really long for me.

Hi Wangenau, This is to let you know thatI am very happy with this ROM, it is snappy, secured and almost everything is working. It looks like mobile data is not working. Any chance that you look into this?

noltha said:
Hi Wangenau, This is to let you know thatI am very happy with this ROM, it is snappy, secured and almost everything is working. It looks like mobile data is not working. Any chance that you look into this?
Click to expand...
Click to collapse
I am glad you like it!
But it is strange that mobile data is not working for you, for me it is working fine. Sometimes there is a rare case where mobile data randomly(?) stops working. You could try to reboot the device, while making sure that Settings->Mobile network settings->Data enabled is marked, wait a bit and see if the problem persists.
Let me know if this will fix your problem :fingers-crossed:
Edit: Removed second option because it is not a good tip

Solve my phone problem
I hope to solve the problem of a phone when I install the ROM is installed and does not work please respond quickly

hhssa said:
I hope to solve the problem of a phone when I install the ROM is installed and does not work please respond quickly
Click to expand...
Click to collapse
Hey, I just saw your post. Sorry if I don't understand, but what is your problem exactly?

wangenau said:
I am glad you like it!
But it is strange that mobile data is not working for you, for me it is working fine. Sometimes there is a rare case where mobile data randomly(?) stops working. You could try to reboot the device, while making sure that Settings->Mobile network settings->Data enabled is marked, wait a bit and see if the problem persists.
If that won't help, you could try to download , move it inside the zip under system/bin/ to replace the existing rild file and flash the zip again (after wiping cache, dalvik cache and system).
Let me know if this will fix your problem :fingers-crossed:
Click to expand...
Click to collapse
Thanks for your suggestions, a simple reboot fixed everything! Many thanks for all your time and efforts you put into this rom, highly appreciated!

noltha said:
Thanks for your suggestions. So maybe I will need to do a re-flash of the rom. I live in the Netherlands, maybe a different band or so. Will try all suggestions and come back
Click to expand...
Click to collapse
A reboot fixed it, so now everything is working!
Really like this Rom!
Many thanks for all efforts!

wangenau said:
Hey, I just saw your post. Sorry if I don't understand, but what is your problem exactly?
Click to expand...
Click to collapse
My problem is after installing the rum does not work the phone

hhssa said:
My problem is after installing the rum does not work the phone
Click to expand...
Click to collapse
I really need more informations to help you. Here are some:
Are you able to boot the device or did the flashing process fail? If it failed, is there an error message in the recovery terminal?
Did you followed the installation guide from the first post exactly?
Did you make a clean Installation, installed the needed recovery version und formatted data and cache as f2fs?
Do you have the right device? (this rom only works in the Galaxy S Plus, not on the Galaxy S or others)

wangenau said:
I really need more informations to help you. Here are some:
Are you able to boot the device or did the flashing process fail? If it failed, is there an error message in the recovery terminal?
Did you followed the installation guide from the first post exactly?
Did you make a clean Installation, installed the needed recovery version und formatted data and cache as f2fs?
Do you have the right device? (this rom only works in the Galaxy S Plus, not on the Galaxy S or others)
Click to expand...
Click to collapse
I've done all the steps but the phone stays in the animation mode for a long time and the phone is not working

hhssa said:
I've done all the steps but the phone stays in the animation mode for a long time and the phone is not working
Click to expand...
Click to collapse
That is strange. Have you tried to redownload the build and reinstall it?
And what was your rom before updating?

Related

[Rom/Kernel][CM7/AOSP][2.3.7]CronMod-bravo/bravoc (Updated 09/19)

{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
New Kernel/Final GB build Coming soon
If you like it please click thanks on this post and give it a rating
Thanks to all users​
About:
CronMod is built form the latest CyanogenMod source code and made to be a fast and stable rom for everyday use. I will offer as much support as possible and updates will be released every 1-2 months depending on my schedule.
Screenshots, pDroid, and Changelogs Next Post
Features:
-Android 2.3.7
-CronModKernel
-CronMod INTEXT+ (choice during install)
(int2ext is not an apps2sd script instead it mounts /data directly to /sd-ext)
-Swap (choice during install)
-Choice to use some Miui apps instead of stock during install
-CM extras
-Gapps minimal preinstalled (with google play)
-Choice to remove uneeded apps during install
-Better Settings icons
-Better Fonts
-Custom APN Llst for CDMA
-720p hw playback
-Webkit hw acceleration
-UI hw rendering
-Improved gps
-Choice of file manager during install
-Latest Ril (GSM)
-All HBOOTS except "Oxygen r2" supported
-system partition minumum (depends on choice of apps)
Features to come
(complete status means it will be released in 1.0.7)
-Linaro Toolchain
-aroma installer
-beats audio
-ideas ? (send me a PM about it)
Prerequisites:
-Rooted Desire/Desire CDMA
-Newest radio for Desire "recommended" Find Here (GSM only)
-ClockWorkMod/4EXT Recovery
-Ext 2/3/4 partition if you wish to use INT2EXT
-No CMTD if you wish to use INT2EXT
-Swap partition if you wish to use swap
SD Card Partitioning for using INT2EXT
(4EXT Recovery will ask in this order)
- size you want for apps - Ext 2/3/4
-Skip
-256MB - Swap (recommended)
-Fat32 rest of my SD card
Install:
(Instructions based on ClockWorkMod recovery touch)
-Download Appropriate Rom Below
-Place on root of your sdcard
-Reboot Recovery
-Select "wipe data/factory reset"
-Select "mounts and storage" category
-Select "format /boot"
-Select "format /system"
-Return to main page
-Select "advanced" Category
-Select "wipe dalvik cache"
-Select "wipe battery stats"
-Return to main page
-Select "install zip from sdcard"
-Select "choose zip from sdcard"
-Select "CronMod-1.x.x-x-rc_signed.zip"
-Answer when promted
-Reboot
-Enjoy
(If you are using 4EXT recovery and become froze after answering questions just wait a minute and the remove battery then reboot it will work fine "this only happens with older 4EXT recovery")
Downloads:
"Please send me a private message if links go stale"
GSM
CronMod 1.0.7 for Bravo
if you have a boot issue try this
Old
CronMod 1.0.6 for Bravo
CDMA
CronMod 1.0.7 for Bravoc
Old
CronMod 1.0.6 for Bravoc
CronMod Kernel
GitHub Link
Features
-AXI -HW3D -BFS -HAVS -KSM -176mhz-1220mhz -CSW Hack -Updated LED Triggers
-Smarta*s, Smarta*sV2, Lagfree, InteractiveX, and SavagedZen Governors
-Compcache/Swap -2.6.35.14 -Battery Life -2WCR (How to use)
Features to come
(complete status means it will be released in 1.7)
-Linaro Toolchain
(these are not guaranteed.. these are goals.)
GSM
CronModKernel 1.6 RC
Old
CronModKernel 1.5 RC
CDMA
CronModKernel 1.6 RC
Old
CronModKernel 1.5 RC
Alternate Boot Animations:
(Flash via Recovery)
Android p*ss on apple and smash it
Nexus stock
CyanogenMod 7 stock
Extra:
GTalk app
Sim Unlock
Usb-Brick Fix Auto Method (Just flash this recovery from fastboot)
Usb-Brick Fix Manual Method
Stock CM7 Font
Bravo/Bravoc ICS thread
Sapphire thread
Dream thread
Scripts thread
Bugs:
Rom
-none
Kernel
-some GSM devices may not boot, tho most work
Credits
-Cyanogenmod "original rom source"
-Eviollet "original kernel source"
-Koush "original proprietary files"
-Yohshua "hacked yn binary/yoshi notification"
-Oxygen "original launcher2 source"
-Esk02k "bootanimation"
-BlazinReign (my girlfriend) "donating her old laptop to the cause, and putting up with my development work "
-Mr.Mefisto "Putting this thread in the bravo index"
-XDA "hosting the fourms"
Donators
-Tihimasmo
-Solid_Lynx
(if you make a donation and your name is not here send me a pm)
[URL="https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=RXYPT5A5ACJ7W"]
[/URL]
screenshots and pdroid patchs
Screen Shots​​​
Quadrant screenshots​​​
(taken using different governors)
pDroid Patchs
This will be left to the desire community to build as i am to busy with my roms and kernels to do this aswell.
To submit a patch you can send me a PM with the link and rom version it is for and i will post it with credit to you below
use these patchs at your own risk
GSM
pDroid Patch for CronMod 1.0.7
pDroid Restore Patch for CronMod 1.0.7
Old
pDroid Patch for CronMod 1.0.6
pDroid Restore Patch for CronMod 1.0.6
CDMA
None at this time
Credits for pDroid Patchs
ASG11 "1.0.7 GSM patchs"
Blackhawk_LA "1.0.6 GSM patchs"
Change Logs
Code:
==CronMod==
*CronMod was Built using CyanogenMod Source Code*
*Compiled By CronicCorey*
*Supported Devices*
"Bravo", "Bravoc", "Dream", "Sapphire 32A/B"
#Inital Release 1.0.1# :)
-various xml and source edits
#Release 1.0.2#
-pulled cyanogenmod source updates
-more xml edits
-removed choice of apps2sd script
-added choice to install data2ext "by: ownhere"
-added choice to install miui music, camera and gallery (Bravo/Bravoc)
-added choice to install email, dspmanager, spare parts and dev tools
-added chocie to install launcher2
-added choice to install swap partition
-reverted source to old lights.c and config (Bravo)
-updated to my kernel "cronmodkernel-1.0-rc" (Bravo)
#Release 1.0.3#
-pulled cyanogenmod source updates
-removed choice of launcher pro
-added custom launcher2 (Bravo/Bravoc)
-replaced data2ext
-reverted source to old lights.c and config (Bravoc)
-updated to my kernel "cronmodkernel-1.1-rc" (Bravo/Bravoc)
-removed live wallpapers
-removed cyanogenmod wallpapers
-lots of source edits
-fixed random animation in cronmod settings
-add 720p hw playback (Bravo/Bravoc)
-add webkit hw acceleration (Bravo/Bravoc)
-new gps.conf
-add choice of file manager
#Release 1.0.4#
-add support for htc dream/sapphire 32A/B
-updated kernel "cronmodkernel-1.2-rc" (Bravo/Bravoc)
-add kernel "s3-ezgb-v1.5.2" (Dream/Sapphire)
-added temp hotfix for usb transfer speed
-fixed a few typos in cmparts source
-removed a few uneeded init.d scripts from source
-tweaked data2ext script
#Release 1.0.5#
-pulled cyanogenmod source updates
-tweaked data2ext script to make mount command universal for EXT 2/3/4 file systems
-updated kernel "cronmodkernel-1.3-rc" (Bravo/Bravoc)
-updated to my kernel "banditkernel-1.0-rc" (Sapphire 32A-NR)
-modified device overlay for temporary fix of UMS function (Sapphire 32A-NR)
-updated google apps
-add 2D gallery as default and 3D gallery as choice (Dream/Sapphire)
-add full ringtone/notification packages (Dream/Sapphire)
#Release 1.0.6#
-pulled cyanogenmod source updates
-updated kernel "cronmodkernel-1.5-rc" (Bravo/Bravoc)
-updated to my kernel "chaoskernel-1.0-rc" (Sapphire 32A-NR)
-update any apps that were in need of it
-updated source to new lights.c and config (Bravo/Bravoc)
-new apn list (Bravoc)
-removed data2ext and added my int2ext+ script :)
#Release 1.0.7#
-pulled cyanogenmod source updates
-update any apps that were in need of it
-updated to kernel "cronmodkernel-1.6-rc" (Bravo/Bravoc)
-updated to my new kernel "chaoskernel-1.0-rc" (Sapphire/Trout 32A-OR-NR/32B)
-change default kernel to 2708+ (Sapphire/Trout 32A-OR/32B)
-updated int2ext+ to newest version
-remove SW rendering of UI (Bravo/Bravoc)
-improve touchscreen response
-add some new build.prop tweaks
-revert gps.conf to stock
Code:
==CronModKernel==
*By CronicCorey @xda*
*Supported Devices*
"Bravo", "Bravoc"
#Initial Release 1.0# :)
-Various source edits
#Release 1.1#
-Add support for CDMA
-Add savagedzen and interactivex governors
-Add AXI
-Add HW3D
#Release 1.2#
-Tweak/Configure all cpu governors
-Fix up the kernel configuration
#Release 1.3#
-Apply 2.6.35.14 patch set
-Add 1228MHz clock
-Add KSM
-Add CSW hack
-Adjust vm management tweaks
-Adjust SD cache size
-Edits to the CPU frequency drivers
-Add lagfree governor
#Release 1.4#
-Complete rewrite of the cpu frequency and voltage table
-Removed 128, 1190, and 1228MHz frequencies
-Add 176, 576, 1200, 1210, and 1220MHz frequencies
-Removed lazy governor
-Tweak/Configure cpu governors
#Release 1.5#
-Fix memory leak
-Tweak lowmemorykiller
-Increase the DMA consistent memory zone
-Adjust audio gain for phone and bluetooth
-Adjust SD cache size
-Add 768Mhz freq
-Change boot freq to 768Mhz
-Fix a faild hulk in the .14 patch
#Release 1.6#
-Rebased to ManU-2.0-Thalamus
-Fixed boot issues on some phones :)
-Add top-down allocation in DMA coherent region
-Update BFS to version 0.404
-Alot of fixs (see my git if you are interested in them)
Whats the difference between this and Cyanogenmod? (except built in apps2sd)
k3lcior said:
Whats the difference between this and Cyanogenmod? (except built in apps2sd)
Click to expand...
Click to collapse
flash it and see... please send me a pm for this kind of question next time thanks
and most differences are posted under features aside from xml and source edits...
downloads too slow, upload to different mirror ?
eg, http://www.mediafire.com/
ok i will thanks for the heads up
Downloaded the ROM. Removed ADW Launcher, the CM wallpapers, the live wallpapers and alot of ringtones and notifications. Got 15 MB extra with that
Might going to install it later today. Want to see some screenshots... please?
Sleehond said:
Downloaded the ROM. Removed ADW Launcher, the CM wallpapers, the live wallpapers and alot of ringtones and notifications. Got 15 MB extra with that
Might going to install it later today. Want to see some screenshots... please?
Click to expand...
Click to collapse
Reserved post is for screen shots I gotta upload them still sorry been busy will try to get them up later today also adwlauncher is removed automaticly if you choose launcher pro during install.
am i right in thinking this is an ultra lightweight ROM? it certainly seems to be, based off your feature list.
i'm wondering if this could be a replacement for the Oxygen series...
veehexx said:
am i right in thinking this is an ultra lightweight ROM? it certainly seems to be, based off your feature list.
i'm wondering if this could be a replacement for the Oxygen series...
Click to expand...
Click to collapse
well i wouldn't say that it needs a minimum system partition of 129 mb the rom it self is 128.04 i am hoping to get it smaller yet so i can support oxygen r2 hboot hopefully by my next release
will give this a go, thanks
Download now will give it a try
Nice to see a new developer here. Will try your ROM when I got time, seems it's a good job
Thanks for this rom ,
i hope you focus on GPU and CAMERA
our devise is become old and need more teaks for GPU and CAMERA so if those things woks perfect i thing your rom will be the best
i'm using CM 7.2 RC1 do i need to full wipe to install this rom ?
and thanks again ,,
ali8383 said:
Thanks for this rom ,
i hope you focus on GPU and CAMERA
our devise is become old and need more teaks for GPU and CAMERA so if those things woks perfect i thing your rom will be the best
i'm using CM 7.2 RC1 do i need to full wipe to install this rom ?
and thanks again ,,
Click to expand...
Click to collapse
Well first thanks for considering the rom and I would recommend a full wipe but u might be ok to just wipe cache and flash also try the alpha kernel I have tweaked 3d and quadrant is showing a good boost on my desire the kernel is stable but compcach is not working yet and if u flash a kernel be sure to wipe your battery status and also if you could send me a private message and tell me what u would like to see done with the camera I would appreciate it
weeei, new dev and new rom... welcome and thank you for sharing,
as a flash maniac...downloading and i will install asap.
my only question: does mp4 HD videos are working? i will flash it anyway... but just curios
---------- Post added at 11:27 AM ---------- Previous post was at 10:44 AM ----------
does this work on 4ext recovery?
it looks like it doesn't finish installing...
EDIT:
ok, i found the problem is here: "-Answer when promted". it's not made it for 4ext (doesn't contain 4ext syntax)...hmm... i recover my bk...until an update
marius.a said:
weeei, new dev and new rom... welcome and thank you for sharing,
as a flash maniac...downloading and i will install asap.
my only question: does mp4 HD videos are working? i will flash it anyway... but just curios
---------- Post added at 11:27 AM ---------- Previous post was at 10:44 AM ----------
does this work on 4ext recovery?
it looks like it doesn't finish installing...
EDIT:
ok, i found the problem is here: "-Answer when promted". it's not made it for 4ext (doesn't contain 4ext syntax)...hmm... i recover my bk...until an update
Click to expand...
Click to collapse
Thanks for heads up I do not use 4ext but I will be sure fix this in 1.0.2 or maybe sooner
croniccorey said:
Thanks for heads up I do not use 4ext but I will be sure fix this in 1.0.2 or maybe sooner
Click to expand...
Click to collapse
installed (errors appears in 4ext when install and you don't know when installation is finished and need to remove batt and power on)
looking good, moving fast, but a2sd is not installed even if i choose it in installation.
all my app's goes to internal instead ext4.
EDIT:
manually installed Darktremor A2SD, looking good now
EDITE 2:
links with removed applications say that invalid file or deleted, can you plz update it?
marius.a said:
installed (errors appears in 4ext when install and you don't know when installation is finished and need to remove batt and power on)
looking good, moving fast, but a2sd is not installed even if i choose it in installation.
all my app's goes to internal instead ext4.
EDIT:
manually installed Darktremor A2SD, looking good now
EDITE 2:
links with removed applications say that invalid file or deleted, can you plz update it?
Click to expand...
Click to collapse
ERRORS in yes no binary is do to hack so just ignore these, apps2sd will appear to install apps internally if you look in file manager but they are actually installed to sdext they are just simlinked to avoid problems with Google play, I have fixed 4ext recovery install and tested it with the latest 4ext touch recovery workin but freezes if not upto date, all links fixed.
croniccorey said:
ERRORS in yes no binary is do to hack so just ignore these, apps2sd will appear to install apps internally if you look in file manager but they are actually installed to sdext they are just simlinked to avoid problems with Google play, I have fixed 4ext recovery install and tested it with the latest 4ext touch recovery, all links fixed.
Click to expand...
Click to collapse
thanks, another question please...
mp4 HD (1280x720) are not playing in HW mode, it is possible a more advanced kernel for this ROM?

[GearCM][i9500][5.0.x] Optimized CyanogenMod 12 for Samsung Galaxy S4 [Fin. 20150731]

Use > this other thread < to ask questions or to discuss about something​
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
CyanogenMod is a free, community built, aftermarket firmware distribution of Android 5.0.x (Lollipop), which is designed to increase performance and reliability over stock Android for your device.
Code:
#include
/*
* Your warranty is now void.
*
* I am not responsible for bricked devices, dead SD cards,
* thermonuclear war, or you getting fired because the alarm app failed. Please
* do some research if you have any concerns about features included in this ROM
* before flashing it! YOU are choosing to make these modifications, and if
* you point the finger at me for messing up your device, I will laugh at you.
*/
CyanogenMod is based on the Android Open Source Project with extra contributions from many people within the Android community. It can be used without any need to have any Google application installed. Linked below is a package that has come from another Android project that restore the Google parts. CyanogenMod does still include various hardware-specific code, which is also slowly being open-sourced anyway.
All the source code for CyanogenMod is available in the CyanogenMod Github repo. And if you would like to contribute to CyanogenMod, please visit out Gerrit Code Review. You can also view the Changelog for a full list of changes & features.
ROM Downloads
<< Stable >>
20150731 Final Build: https://www.androidfilehost.com/?fid=24052804347784711
<< Misc. (Modem & Recovery) >>
GearRecovery (based on TWRP Recovery) 20150324: https://www.androidfilehost.com/?fid=95916177934545673 <= Recommended
I9500XXUHOD7 LL Modem: https://basketbuild.com/filedl/devs...s And Bootloaders/I9500-XXUHOD4-MODEM_CWM.zip <= Russian Modem, Recommended
I9500DDUHOA1 LL Modem: http://forum.xda-developers.com/attachment.php?attachmentid=3165311&d=1423927137 <= Indian Modem, use it if you're experiencing problems with Russian variant
Previous Releases:
<< Stable >>
20150506 Build: https://www.androidfilehost.com/?fid=23991606952598514
20150424 Build: https://www.androidfilehost.com/?fid=96042739161893123
20150403 Build: https://www.androidfilehost.com/?fid=95916177934550380
20150324 Build: https://www.androidfilehost.com/?fid=95916177934545672
20150228 Build: https://www.androidfilehost.com/?fid=95916177934535412
GearRecovery (based on TWRP Recovery) 20150228: https://www.androidfilehost.com/?fid=95916177934535416
20150214 Build: https://www.androidfilehost.com/?fid=95916177934529038
GearRecovery (based on CM Recovery) 20150207: https://www.androidfilehost.com/?fid=95916177934524927
20150207 Build: https://www.androidfilehost.com/?fid=95916177934524891
GearRecovery (based on CM Recovery) 20150119: https://www.androidfilehost.com/?fid=95897840722646145
20150120 Build: https://www.androidfilehost.com/?fid=95897840722646839
20150117 Build: https://www.androidfilehost.com/?fid=95897840722644860
20150105 Build: https://www.androidfilehost.com/?fid=95887005526786982
<< Beta >>
20141227 Build: https://www.androidfilehost.com/?fid=95864024717070984
20141224 Build: https://www.androidfilehost.com/?fid=95864024717069340
20141223 Build: https://www.androidfilehost.com/?fid=95864024717068584
20141216 Build: https://www.androidfilehost.com/?fid=95857557620393081
Google Apps (add-on)
http://opengapps.org/ <== Recommended <> Platform: arm | Android: 5.0 | Variant: nano
Installation
3-button-combo = "Volume Up/+" + "Home/Center" + "Power/Lock"
- First time flashing GearCM 12 to your Galaxy S4 (or coming from TouchWiz/Stock Based ROMs)?
Root your device and install latest GearCM Recovery.
Reboot into Recovery using 3-button-combo
Do a Nandroid Backup!
WIPE (wipe data/factory reset + wipe cache partition + format /system partition)
Install the ROM from internal/external sdcard using ClockworkMod Recovery
Optionally install Google Addon
Done! You can now reboot the phone to enjoy the rom
- Upgrading from Official CM10.2/CM11/CM12 or GearCM 11?
Reboot into Recovery using 3-button-combo
Do a Nandroid Backup!
Install latest latest GearCM Recovery.
Reboot into new Recovery using 3-button-combo (if needed)
WIPE (wipe data/factory reset + wipe cache partition + format /system partition)
Install the ROM from internal/external sdcard using ClockworkMod Recovery
Optionally install the Google Addon
Done! You can now reboot the phone to enjoy the rom
- Upgrading from another build of GearCM 12?
Reboot into Recovery using 3-button-combo
Do a Nandroid Backup!
Install latest latest GearCM Recovery.
Reboot into new Recovery using 3-button-combo (if needed)
Install the ROM from internal/external sdcard using ClockworkMod Recovery
WIPE Dalvik/ART Cache (wipe cache partition + wipe dalvik cache)
Done! You can now reboot the phone to enjoy the rom
Known Issues (regarding latest available Stable build)
Please do not report bugs if it is already listen in the list of known issues
Rarely, when you wake-up the device, touchscreen will have a noticeable input lag, easily fixable by turning off and on the display. (H/W or S/W bug?)
Wireless Display with some TVs could cause issues (AOSP bug related to HDCP, and Google doesn't provide a solution)
Video Stream through Screencast & Wireless Display will have inverted Red and Blue color channels due to BGR Pixel Format (actual Exynos sources don't allow to fix it)
Any Chinese (CHN, I9500XCUxxx codename) Baseband/Modem reduces Call Quality (due to forced AMR_WB, unsupported by CHN modems)
5GHz Wi-Fi Networks using Band B (52-140) and Band C (149-161) channels won't be listed (H/W or S/W bug?)
Reporting Bugs
You are allowed to report bugs only in this thread. Before reporting a bug, please make sure you are running as stock as possible. This means no custom kernel, no custom framework modification, etc. If you are using any of the above modifications, please flash the rom again to get rid of the modifications before reporting.
REPORT BUGS IN THIS THREAD ONLY
Grab a logcat right after the problem has occurred. (Please include at least a few pages of the log, not just the last few lines, unless you know what you're doing.)
If it is a random reboot, grab /proc/last_kmsg. (Do not bother getting a logcat unless you can get it just before the reboot. A logcat after a reboot is useless)
If the problem disappears after running "setenforce 0" from a root shell, grab /data/misc/audit/audit.log
Remember to provide as much info as possible. The more info you provide, the more likely that the bug will be solved. The following is a useful format to follow. Note: If you can provide the latest night/build that the bug didn't exist, it would greatly help in tracking down what caused it.
Code:
What is your--
Phone model:
Radio (baseband) version:
GearCM version:
GearCM download url:
Google Apps version:
Did you--
wipe data/factory reset:
restore with titanium backup:
reboot after having the issue:
Are you using--
a task killer:
a non-stock kernel:
CMSettings/Performance Settings (other than stock):
other modifications:
Provide any additional information (observations/frequency of problem/last version it worked on/etc) as needed:
Changelog
20150731:
Updated CM Sources
Follow CM12.1 Changelog, until 20150731 Build.
Previous Releases:
20150506:
Updated CM Sources
KERNEL: Optimized Memory Operations
KERNEL: Optimized big.LITTLE CPU utilization
KERNEL: Optimized TCP Congestion Method
KERNEL: Some net. & ARM fixes
20150424:
Updated CM Sources
Updated Audio Driver and Configuration
Removed Hardware MPEG2 Codec
Properly Fixed and Updated XMM Modem RIL
Fixed Manual Network Operator Search
Reduced EGL Cache Size to reduce RAM usage
Fixed in-call echo problem (definitely)
Reduced Speaker Volume (to reduce distortion)
Using latest LL Hardware OMX Codecs
Optimized Wi-Fi by using Stock Configurations
Fixed Video Recording (no more pixelated videos)
KERNEL: Optimized Vibrator Driver
20150403:
Updated CM Sources
Highly Optimized
Updated Audio Driver
Updated RIL Stuff
Stabler and better audio mixer values
Optimized RAM Management
RECOVERY: Updated TWRP sources
20150324:
Updated CM Sources
Restored USB Mass Storage support
Fixed LEDs while in offline charging mode
KSM Configured and Enabled by default
Restored battery percentage while in offline charging mode
Using latest LL proprietaries
RECOVERY: Updated TWRP sources
KERNEL: Switched to LL kernel sources
KERNEL: Reduced debug
KERNEL: Merged some updates from Android 5.1
20150228:
Updated CM Sources
Improved Battery Life
Optimized Bluetooth Audio (A2DP & SCO)
Increased Speaker Volume
Decreased Headset Mic. Volume
Fixed VOIP Apps (Skype and such...)
Fixed MTP without ADB Debugging
Added F2FS Support for Cache & Data partitions (use latest GearCM Recovery to change filesystem type)
Fixed slow Flashlight toggle
Enabled Noise Suppression
Enabled Call Recording
Re-Introduced non-PIE support
Fixed touch-on-notifications (Ambient Display)
Fixed lags on some games
Disabled Equalizer Visualizer on Music app by default (laggy)
Optimized Auto-Brightness values
Reduced battery safe temperature (before 60 degrees, now 55)
Using Nexus 5 MMS User Profile
Fixed USB OTG on Lollipop
Increased External Storage speed access
Disabled Wi-Fi background scan (no one uses it and if enabled it causes battery to drain on idle)
Added Advanced Display settings
KERNEL: Optimized performance
KERNEL: Increased compression to fit new TWRP recovery
KERNEL: Enable some required flags by LL
KERNEL: Added F2FS Driver
20150214:
Updated CM Sources
DRM tested and properly working
Stabler Bluetooth Audio Quality
Added TouchScreen hovering support (untested)
Updated fingerprint to latest LL Stock Release
Increased main mic volume everywhere
Updated proprietary blobs to latest LL ones (except sensors stuff)
20150207:
Updated CM Sources
Updated Audio Driver (with new mixer_paths, now working much better than before)
Optimized Input/Output Audio Levels (no more echo effect and much more...)
Fixed Bluetooth Audio bad quality
Optimized ART Runtime for Cortex-A15
Optimized Network Speed (Mobile & WiFi)
Added Blinking Led Support (charging light uses low-power now, low light level is normal)
Re-Enabled 3D TV Support through MHL HDMI
Re-Worked CM Performance Profiles (now Balanced as default)
Some Updates from I9500XXUHOA7 (usable ones without LL kernel sources)
KERNEL: Updated Audio Driver to latest available from Wolfson
KERNEL: VPN should work properly now for ALL users
20150120:
Updated CM Sources
Fixed all DRM-Dependent apps (tested and ultra-tested)
Added some updates from I9500ZCUJOA3 leak (GPS, Radio and other minor changes)
20150117:
Updated CM Sources
Disabled S3D (3D TV through HDMI) support, useless on a mobile device
Fixed all SystemUI (Recents Apps/Apps Switcher) lags
Fixed all RIL Wakelocks (again) related to unsupported Samsung's requests
Fixed SOS Calls (i know that someone will be happy for this )
Fixed USB Charging Only mode
DRM-Dependent apps should work correctly now
Reorganized phone initialization process (now cleaner than ever, even faster)
Optimized Auto-Brightness values
Optimized Mobile Data/Wi-Fi Internet speed
Speaker and Earpiece volume is now higher (as users request)
Disabled Block-Based OTA (this should fix all problems with ROM Flashing process, e.g. Status 1 Errors; Chinese PIT is now compatible)
Switched to new CM LL Boot Animation
AC & USB Charging Values are now the same (this means that you can charge your phone with USB or with AC at the same speed)
Some other optimizations and clean-up here and there
20150105:
Updated CM Sources
Enhanced Stability and Performance
Now switched from Beta to Stable
Disabled Audio Offload (unsupported)
Fixed Google Now Voice Input on Home Screen
Switched from old AwesomePlayer (KK) to NuPlayer (LL)
Enabled Ambient Display as user request
Clean-up Wi-Fi stuff
Enabled GPS LTO Support (http://www.broadcom.com/products/GPS/Location-Based-Services/LTO-AGPS)
Clean-up Framework overlays
Enabled CM Performance Profiles like on CM11
Correctly Configured Audio/Video Decoders
Fixed Flashlight/Torch (using a temp. workaround)
Properly fixed Root and USB at first boot
A2DP Calls should work fine for everyone now
You'll probably find many other fixes that i don't remember
EXTRA: Happy new Year
20141227:
Updated CM Sources
Properly fixed & enabled Bluetooth features
A2DP Calls should work fine now
Reduced Surface Buffers for smoother UI experience
Increased EGL Cache size to reduce lags
Fixed Audience ES325 audio effect name (now it should work fine everywhere)
Fixed Wi-Fi instabilities & Tethering
Added Screencast app
Properly enabled USB Ethernet support
Added CM Performance Profiles (for future usage)
Fixed & Optimized Offline Charging mode (now using less power than before) <= On Android L 4.2 bootloaders aren't supported anymore so offline charging may work only on 4.3 and newer ones. Let me know if works or not for you.
We are probably ready for a Stable release... ( or not? )
KERNEL: reduce surface buffers
KERNEL: clean-up PVR GPU driver
KERNEL: some optimizations here and there
20141224:
Updated CM Sources
Fixed GPS
Updated NFC config
Using PIE binaries for RIL
Probably fixed all ART instabilities (app not installed and blah blah blah)
KERNEL: reverted change that was causing chrome and other app to crash
KERNEL: re-enable Android LMK
KERNEL: removed all Samsung USB rubbish
KERNEL: added some FS optimizations
EXTRA: Happy Christmas
20141223:
Updated CM Sources
Fixed all buttons features
Do not start GPS Binary (will be fixed when Samsung releases official Lollipop for our device)
Clean-up here and there
Smoother then ever, probably smoother than GearCM 11
Fixed WiFi instabilities
Fixed all Widevine (DRM) stuff
Application not installed bug should be fixed
You'll probably find many other fixes that i don't remember
20141216:
First Release
The CyanogenMod team would like to thank everyone involved in helping with testing, coding, debugging & documenting! Enjoy!
XDA:DevDB Information
[GearCM][i9500][5.0.x] Optimized CyanogenMod 12 for Samsung Galaxy S4 [Final], ROM for the Samsung Galaxy S 4
Contributors
Alberto96, intervigil, codeworkx
Source Code: https://github.com/GearCM
ROM OS Version: 5.0.x Lollipop
ROM Kernel: Linux 3.4.x
Based On: CyanogenMod
Version Information
Status: No Longer Updated
Current Stable Version: 20150731
Stable Release Date: 2015-07-31
Current Beta Version: 20141227
Beta Release Date: 2014-12-27
Created 2014-12-16
Last Updated 2015-09-26
Read carefully.
Differences between GearCM (Optimized CyanogenMod) and Official CyanogenMod (NIGHTLY):​
Degrated Shadow said:
Enough of those dumb questions..
The official CM rom is maintained by @Alberto96 and @intervigil
He makes the very recent changes here relating to performance.. which are then in time pushed to CM official rom. The kernel is different because it has selinux disabled and few minor tweaks you might not even notice.. this gearcm rom will have more performance. But CM rom will have their updated base changes which are included here with each update.
What I mean is you probably wont even notice what's different in terms of user interface.. gearcm will have more performance. Official cm will have updated sources. But it will include gearcm's changes in time as @Alberto96 pushes them to CM
You can decide by a simple choice. more performance and not-nightly updated sources or similar performance (improving with nightly updates) with updated sources. I would choose gearcm because of the reasons I mentioned above. Do what you will.. and let this be a note to everybody who ask this again and again and again. Don't spam the thread with same question in every alternate page.. Because there are other people who might have different problems they need to ask. Read atleast 15 previous pages and the first post changelog before asking the question. Reading most of the times will give you a solution and if not most of the info you will read will help you anyway.
Click to expand...
Click to collapse
Reserved
FAQ (Frequently asked questions)​
Where are "Performance" and "Developer Options" categories?
To activate 'Performance' and 'Developer Options' categories in Settings you need to tap 7 times on 'Build number' located into Settings -> About Phone.
How can i solve problems with Hebrew language?
Go to "Developer Options" in Settings and check "Force RTL layout direction".
What can i do to reduce the "echo effect" while in-call?
Try to reduce in-call earpiece volume (if possible).
I'm having problems with battery life, what can i do?
1) Use "Greenify" to hibernate all apps with a "little cloud + 'Gcm' word inside" on the right of each app's name. Donation version is recommended because it allows deeper hibernation of apps
2) Disable "Location" or set it to mode "Battery Saving" (Settings -> Location)
3) Make sure that your 2G/3G mobile network signal level isn't always low or unstable
4) Deny "Wake Up" and "Keep Awake" permissions to Google and third-party apps. (Settings -> Privacy -> Privacy Guard -> Press menu button and check "Show built-in apps" -> Press menu button again and go to Advanced -> Horizontal Scroll to Device)
5) Disable "Sync" or sync only useful stuff like Contacts
6) Disable "Auto-rotate screen" (Settings -> Display & lights -> Rotation)
7) Use one of the latest Modem/Baseband listed on first post.
8) Disable Ambient Display
9) Install Xposed Framework and configure Amplify
If this isn't enough then replace your battery and/or reduce your phone usage. :silly:
Is GearCM OTA supported?
Yes (Since 20150707 Build)
Why is my phone over-heating while playing heavy-games or running heavy-apps?
Use a bit your brain to explain why. High CPU and GPU usage = high heat production. Your phone will automatically throttle CPU when needed so don't worry, it is safe and normal.
Can I use another kernel instead of the one included in the zip?
No. Only use the included kernel for 100% compatibility, bug reports with non-standard kernel will be ignored.
Can i disable S-View cover features (lock/unlock)?
Not yet.
*** IR Remote app isn't working anymore/was working on previous builds/causes my phone to crash, what can i do?
Contact *** IR Remote app developer.
Any question about "Can't connect to camera" issue
Do not "stress" camera on CM because we don't use yet a proper implementation. Open/Close Camera apps carefully without force-closing them.
fix stock camera try flash this zip https://www.dropbox.com/s/z2a7hegwzu9ft2c/Fix_Camera_Cmmct_5.0.zip?dl=0
Been using lollipop as a daily driver with awesome results. But still there's something that bugs me. Although GPS works fine I find that its accuracy is pretty low.
For instance I run in order to keep fit. I use adidas miCoach which calculates your speed and distance covered giving as result km speed (from Argentina). GPS has a hard time keeping up with this and every time I train I revert to TW and then back to Lollipop.
Will test this GPS and see if its better than team Cajinica
does this rom have working bluetooth calls over car stereo?
mhboooool said:
fix stock camera try flash this zip https://www.dropbox.com/s/z2a7hegwzu9ft2c/Fix_Camera_Cmmct_5.0.zip?dl=0
Click to expand...
Click to collapse
Not required here.
RoCorral said:
Been using lollipop as a daily driver with awesome results. But still there's something that bugs me. Although GPS works fine I find that its accuracy is pretty low.
For instance I run in order to keep fit. I use adidas miCoach which calculates your speed and distance covered giving as result km speed (from Argentina). GPS has a hard time keeping up with this and every time I train I revert to TW and then back to Lollipop.
Will test this GPS and see if its better than team Cajinica
Click to expand...
Click to collapse
Does it happens also on CM11?
AndresSanzH said:
does this rom have working bluetooth calls over car stereo?
Click to expand...
Click to collapse
It should.
.hackman. said:
Patiently waiting for the upload..
Click to expand...
Click to collapse
Gboss01 said:
Great work Alberto
Sent from my GT-I9500 using Tapatalk
Click to expand...
Click to collapse
Nalmaus said:
Great to see u working on this, i followed u when kitkat comes up and u made an amazing work, good luck with this!
Click to expand...
Click to collapse
Build finally uploaded.
Enjoy
Alberto96 said:
Not required here.
Does it happens also on CM11?
It should.
Build finally uploaded.
Enjoy
Click to expand...
Click to collapse
Great. Downloading now[emoji1]
"App not installed" if manually install an apk.
Is there any workaround?
@Alberto96 haven't test it on GearCM 11. I'll try and report back asap
Can't install apks.
Although pushing apks to system works. Titanium backup in not able to restore as well.
Edit: I guess Titanium Backup does work. Not with the default superuser though. I flashed supersu to get it working in frapeti's rom, strange.
RoCorral said:
@Alberto96 haven't test it on GearCM 11. I'll try and report back asap
Click to expand...
Click to collapse
With GearCM 11 latest build GPS is pretty accurate. Used Waze while driving and miCoach while walking and had good results.
Further testing done with the build posted (20141216) I can't access SD card to install apks that are not from playstore for example BBS, and getting the low memory message even if full wiped and fresh installed.
Can't install APK in this Build ...
Storage Issues
@Alberto96 Hey man there seems to be an issue with your Kernel please take a look at the changes u made as they seem to be the cause of peope not being able to install any APKS and Install from playstore as its complaining about the storage being low so what i did is compile with CM kernel and tested it and the GearCm works fine without any storage issues but if I compile it using ur GearCm Kernel thats where theres storage issues. Please take a look at it
Thanks for your time and dedication of this Alberto. Unfortunately I'm having a hard time with your CM12 Releases
With CM12-20141212v2 (I did a clear wipe) and no RIL Service. So I was not able to use it basically...
Today I gave it a second try CM12-20141216 . I was happy to see my 3G Connection. But when I started to download the app from Play Store. It was impossible. All APKS giving an error.
I will test Canjica Version. It's a pity but I will have to wait till we get to a stable version of Android 5.0.1 with GearCM12.
Despite of that, Thanks for your work on this! We wouldn't have this if it wasn't because of you
Heads Up
Brilliant to have 5.0 on our phones, look and feel is really cool.
Confirmed Working:
Calls, SMS, Internet (WIFI & 3G), Camera, Gallery
FC's:
Music, File manager, Play store (all google apps) & anything else which is on the SD card
Keep it up guys:good:
Application not installed?
thanks for update 12\21 @Alberto96 ...but issue with installing apk is here.
New build is coming with some fixed, especially performance related.
New build is up!
Enjoy

[JDCTeam][STABLE][5.1.1][RRO][17 September] The Android Open Source Project

{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
The Android Open Source Project
Brought to you by Jflte DevConnection Team​
Code:
#include <std_disclaimer.h>
/*
* Your warranty is now void.
*
* We're not responsible for bricked devices, dead SD cards,
* thermonuclear war, or you getting fired because the alarm app failed. Please
* do some research if you have any concerns about features included in this ROM
* before flashing it! YOU are choosing to make these modifications, and if
* you point the finger at us for messing up your device, we will laugh at you.
*
*/
What is AOSP?
AOSP is Android as Google publish without other modifications. More or less AOSP is the Nexus devices stock rom without gapps. Anyway to get a working system me and @-+BB+- added some changes from CyanogenMod. We added also some non-AOSP features like init.d support, @alucard_24 kernel for better performance and energy saving, STweaks for advanced kernel settings and support for Over-The-Air updates through a dedicated app (OTA Updates). Maybe something else from us might be added, but please do not ask for features to be added because we're not going to add more to keep this ROM small, fast and pure.
JDCTeam
In alphabetical order:
Diego Monaco - @alucard_24
Dimitris Katikaridis - @side
Franck Rohée - @franzyroy
Jim Silverlock - @Jimsilver73
Marco Zanin - @-+BB+-
Matthew Booth - @MattBooth
Mattia D'Alleva - @AntaresOne
Oliver - @angelcalibur
Paul Harris - @hawkerpaul
Paul Keith - @javelinanddart
Simeon Ivanov - @smstiv
Stefano Meroni - @smeroni68
Known issues
ANT+
A note about Android Pay: will Android Pay work here? The answer is no. According to Google infos it works only on factory-preinstalled and unrooted Android, do not blame us for this!
Download
ROM builds are hosted on RomHut
TWRP Recovery v2.8.7.0 with F2FS management support: AndroidFileHost
Installation
TWRP Recovery v2.8.7.0 is suggested for installation
Devices supported: I9505, I9507, I9508, I545, R970, I337, M919, L720. I9515 is not supported.
AT&T users: since your bootloader is locked, you must be on the UCUAMDB or UCUAMDL bootloader in order to use this ROM. Do getprop ro.bootloader in Terminal Emulator or through ADB shell to find out which bootloader you have
First time or clean install:
Download the ROM from the link above
Download GApps package for Lollipop 5.1
Put the zip files on your SDCard
Reboot in Recovery
Wipe Data / Factory Reset
Optional: convert to F2FS
Select "Install zip from SDCard"
Choose AOSP zip file
Choose GApps zip file
Reboot system
Update from a previous build:
Via OTA Updates:
Open OTA Updates app
Download the update
Press "Install"
Your device will automatically reboot and install the update.
Manual update with TWRP:
Download updated build from the link above
If you do not have the Gapps package, download Open GApps
Put the zip files on your SDCard
Reboot in TWRP Recovery
Wipe /cache and dalvik-cache
Select "Install zip from SDCard"
Choose AOSP zip file
Choose GApps zip file
Reboot system
We don't have a backup/restore GApps script yet. When you update /system is formatted, so you need to reflash GApps package too. In case you don't do it, Google Apps will fail in endless force closes after boot.
First boot after install/update takes a while, wait at least 5 minutes for it to boot.
To convert cache, data and system partitions to F2FS look in post below.
Sources
Kernel source here
ROM here
Social
Google+: JDCTeam Community
YouTube: JDCTeam TV
Credits
-+BB+- - Lead developer
JDCTeam
CyanogenMod
Google
OpenGApps
Special thanks:
RomHut
gkkovacs - JDCTeam-Build02
XDA:DevDB Information
AOSP 5.1.1 for Samsung Galaxy S4 (Qualcomm variants), ROM for the AT&T Samsung Galaxy S 4
Contributors
AntaresOne, -+BB+-, smeroni68, alucard_24, MattBooth, angelcalibur, franzyroy, hawkerpaul, javelinanddart, Jimsilver73, side, smstiv
Source Code: https://github.com/AOSP-JF
ROM OS Version: 5.1.x Lollipop
ROM Kernel: Linux 3.4.x
Based On: AOSP
Version Information
Status: Stable
Current Stable Version: v1 - 20150917
Stable Release Date: 2015-09-17
Created 2015-06-22
Last Updated 2015-09-20
Reporting issues
Please report issues in our issue tracker: https://github.com/AOSP-JF/issue_tracking_aosp/issues
Things like "this doesn't work", "this keeps FCing", "found a bug: *someapp* FC" etc. don't help. We need logs!!!!!!
Do not report bugs if you:
Flashed a different kernel
Installed or did mods from untrusted sources
Installed Xposed
Modified system files
Changelog
20150917 - Stable
MD5 - f57cea2839cf00db4f0a4c107d4d8e04
Kernel:
General code updates from Linux kernel 3.10
Added KMS and UKMS from Linux kernel 3.10
Added VENO TCP protocol
Changes on OOM control, less battery usage
IPC: ported code from 3.10 kernel
Optimized alucard, darkness, nightmare and ondemand CPU governors
ROM:
Android-5.1.1_r18
Added STK to build
Ported all the code from AOSP for SIM handling
Add ability to ignore interruptions while active media playback
Reverted some fixes on base
Fixed APN selection on CDMA phones (this time for real)
Removed not used code from init (auditd)
Fixed last Stagefright vulnerability (CVE-2015-3864)
Launcher3: Added stock wallpapers
Frameworks: add ability to choose a different wallpaper for lockscreen
Settings: Updated icons and colours
Fixes on base/av/build repos
Added WallpaperPicker to build
Base: added dismiss button to battery saver option
Base: improved recents tasks list
Device: fix MMS
Use chromium/icu repos from AOSP
Add SamsungServiceMode specific for our RIL
More fixes from M to base/av repos
libbt: support 1.5M baudrate
Fixed encryption for f2fs
Fixed ipv6 tethering
Telecomm/Telephony: ported a part of code from AOSP
libcore/art/core repos: tons of fixes and ported a part of code from M
Init: allow SElinux permissive in user builds
Reduced log level for all the builds
Toast: Show app icon with the message
PackageInstaller: show current & new version
frameworks/native: merged a lot of fixes from M
stagefright: added new Softavc/Softmpeg2 decoders from M/master branch
Built with GCC 4.9.4 (UBER)
Art: compiled with GCC 4.8.5 (UBER) due to segfaults caused by new GCC
Bluetooth: fixed compiling for latest GCC with -os flag
Audioflinger: fixed compiling for latest GCC with -os flag on ID3
Updated Archidroid optimizations to version 4.1
Updated translations for AOSP Custom Settings
Updated Sepolicy
Some updates on wifi code
Bionic: more optimisations for krait/a15 cpu
General code updates/fixes in base/core/av/native repos
Some small changes on telephony repos
Manifest: remove not used repos
Device: update media codecs & power management
Improved InCallUI speed when receiving a call
Bionic: a lot of improvements
Native/Base/Core/Extras: more fixes from m and cm
Updated APNs
Updated and improved RIL
Gallery2: materialized, updated code and fixed a lot of bugs
Ported support for oma-drm / OmaDrmEngine from cm
Ported all changes made by cm for BFQ IO scheduler
Core: improved UI responsiveness and reduced wakelocks when phone is on deep sleep
Small bugfixes and improvements for f2fs/ext4
Build: improved build enviroment and removed some unused/outdated packages
20150813
MD5 - 7ec092cebfd227343837e7cbe83ed269
Kernel:
General code updates
Updated mm from 3.10 kernel
ROM:
Android-5.1.1_r13
Camera: added options to save photos/videos on external storage
Fixed APNs for CDMA phones
Fixed carrier text on Keyguard
DreamManager/DozeMode: do not turn on the screen if s-view cover is closed
Materialized some icons
Some framework & telephony fixes
Stock Browser: completely reworked, materialized and fixed some FCs
System animations: added a new step (0.75) and set it as default
Use freetype 2.6.0 from m-preview, this solves some security issues in older versions of this library
Use our art and bionic repos tuned for cortex-A15/krait cpu
20150807
MD5 - eb4c36f964c5db3749bfb4a9d2694995
Kernel:
Added full support for i9507
Many code updates
More eMMC enhancements (performance mode)
Updated workqueue and Idr from 3.10 kernel
ROM:
Android-5.1.1_r9
Added option to force notification expansion by default
Added Samsung doze specific settings under AOSP Settings
Added softkey backlight control under AOSP settings
Bluetooth: added accept all files option
Fixed Stagefright, now all audio files works
Fixed Twitch
Improved boot time
Massive update on telephony repos, merged and adapted all cm fixes
More updates and fixes for libhardware legacy
Removed logspam from proprietary libraries
Switched to latest glib 2.15 from m-preview
Small audio fixes
Small framework fixes
Small RRO fixes
Updated APNs list
Updated LatinIME, more languages added and small fixes
20150727
MD5 - 6aa21cc578a37b510fdaf16306b11b83
ROM:
Added customizations for Quick Settings tiles
Added long press actions to tiles
Added long press actions to notification bar objects (clock, date, avatar, battery and settings, long press on Settings icon opens AOSP Settings)
Added missing softkeys manager
Keyguard: disable menu key unlock device
Fixed screenshots
Small Exchange services fixes
Updated translations for all languages
Various bootanimation improvements
Various framework fixes
Statusbar network cluster icons: show LTE instead of 4G, distinguish between UMTS and HSPA
WiFi: revert aggressive blacklist + other fixes
20150723
MD5 - 24a4098e04af0ccd6b6a81a22d3563c9
ROM:
A lot of optimizations in build environment
Added clear all button in recent apps panel
Fixed tethering & added IPv6 tethering
Fixed back/menu keys screen wakeup
Fixed OTA updates
Launcher3: optimizations and some materialization
Made "SD Card removed" notification dismissible
Updated Stagefright with latest CM changes
Updated translations for AOSP Settings and power menu
Various framework improvements
20150715
MD5 - 9bf1dd18b0119f0d7851d138103e1b48
ROM:
Fixed a NullPointerException on app selector
Removed VoiceDialer
20150714 - Beta #2
MD5 - 9a2152910fd98863ae6f79ef3857068a
Device:
IR: use old timing code (consumerIR i.e. "IR Blaster" fixed)
Switch to prebuilt Camera HAL (less interface crashes now)
Kernel:
Various code updates
ROM:
Codebase android-5.1.1_r8
AOSP Control:
Advanced Reboot menu
Changelog
Status bar Battery icon settings
Added 60FPS BootAnimation, big thanks to @guerreromanuel
Added dancing notification LED at boot
Added Google DNS
Added Launcher3 package to build
Added Layers Manager by BitSyko
Added Reverse Lookup
Added SuperSU by @Chainfire
Blacklisted some BT devices for better compatibility
Build dummy InCallUI with persistent attribute, this allow us to keep the process in memory and helps a lot when receiving a call and the device is busy
Camera: stop using gps when camera app is in background
Fixed Archidroid optimizations V4
Fixed Bluetooth audio stream (A2DP)
Fixed camera opening when flash is enabled (doesn't crash anymore)
Fixed data usage graph on settings
Fixed init.d not working properly
Fixed QCOM Time Daemon support
Fixed some crash on MediaProvider
Fixed support for all jf variants
Hopefully fixed audioflinger/mediaserver crash and audio stuttering when indexing media files
Many fixes in environment
More Materialize on framework
Other small UI style changes on Dialer/InCallUI (Materialize)
RRO Fully fixed
Small fixes on Telephony
Switch to Contacts, Dialer & InCallUI sources from AOSP
Tons of fixes on frameworks/base
Updated stagefright with latest CM changes and fixed & updated FFMPEG 2.7 compile
20150619 - Beta #1
MD5 - 51b35865265ad3bfbc478c0d214070f8
ArchiDroid optimizations v4
Added MultiROM compatibility
RRO added and partially working: Contacts, Dialer and Settings need some changes. Everything else is correctly themed
Fixed BT/WiFi coexistence, now can be turned ON at the same time
Fixed back/menu keys lights (timeout set at 5 seconds, user settings soon available in Settings app. For now, enable/disable by writing "softkeys" without quotes in Terminal Emulator (available on Play Store))
Fixed F2FS for /cache partition
Fixed "First boot doesn't have sound across all the system if the external SD card is not in FAT32"
Fixed MicroSD card, all filesystems are mounted well and working in r/w
Init: use our specific init
Temporarily fixed "No SIM" on Keyguard (removed Carrier text)
Various kernel code updates
Various updates on audio/camera code
Various updates on BT/WiFi code
20150602
MD5 - 6cc3db0a6257641aba4dfebda0e3fb30
Initial public release
Tips
To enable Developer options go in Settings->About device and press "Build number" for 7 consecutive times.
Using F2FS
What it is? Wikipedia
To use it you should first convert your EXT4 partitions through recovery, before installing this ROM.
On PhilZ:
Wipe and format options->custom format options->toggle ext4 f2fs migration
Format data and data/media->f2fs (Warning: internal storage is formatted, make a backup of your personal data before doing this!)
Format system->f2fs
On TWRP:
Download and install this TWRP version: https://www.androidfilehost.com/?fid=24052804347763625
Wipe->advanced wipe
Select data->change or repair file system->f2fs (Warning: internal storage is formatted, make a backup of your personal data before doing this!)
Select cache->change or repair file system->f2fs
Select system->change or repair file system->f2fs
Now you can install this ROM following installation steps in post above
Some screenshots
We mainly talk in the i9505 thread located here, head over for further details about development progress, bug fixing etc.
I'm curious why the OP doesn't mention the 5MB email attachment limit? how was this not tested?
Help
i have the Canadian SGH-I337M .. Running Baseband I337MVLUG0C4. the device is rooted and has cwm and the rom seems to install but when i hit the power button to either turn it on i lose the ability to do anything with touch. other than that really nice ROM but the no touch when you hit power button is annoying .. this happens with this ROM and the AOSP 6.0 ROM

[Kernel][21.08.2021][4.14.243][Android 11] Kirisakura 1.3.9_R for OP7/Pro aka Guacamole

Kirisakura-Kernel for the One Plus 7 Pro
Hello everyone,
Kirisakura - Kernel is designed to bring a handful of beneficial features to the device, while ensuring excellent performance and smoothness to get you safely through the day!
This project aims to keep most of the subsystems updated, way ahead of the stock kernel, thereby improving security and performance, while keeping stability as the foucs during testing! This includes Linux-Stable, CAF-Upstream and kernel/common.
Kernel Control Flow Integrity (Kernel-CFI), which is achieved by linking the kernel with LLD and Link Time Optimization (LTO), more precisely ThinLTO, are quite unique security features.
The only kernels made by OEMs offering this security feature by default are the ones for the Pixel 3, 4 and 5 devices.
The recently released Kirisakura-Kernel for the OnePlus 8 Pro was featured on the XDA-Portal due to the inclusion of CFI. The featured article explains CFI in great details, is easy to understand and definitely worth to read.
If possible the latest Kirisakura-Kernel releases for various devices aim to include CFI in enforcing mode so users can benefit from this security features.
Another security feature is Shadow Call Stack (SCS). Similar to CFI, only the Pixel 3, 4 and 5 kernels use this security feature.
SCS is another security patchset that is aimed at preventing attacks via return oriented programming (ROP).
ROP is a technique where the attacker gains control of the kernel stack to overwrite function return addresses and redirect execution to carefully selected parts of existing kernel code.
If you´re interested here are a few good links:
Google Security Blog explaining SCS.
LLVM doc about SCS
Android DOCs documenting SCS
If reading about upstream in the paragraph above got you curious,have a read about Linux-Stable and why it is important here. The stable-process is not the same for every subsystem, but the general idea, rule of thumb and benefits are applicable for other subsystems as well.
Quick explanation of CAF-Upstream. CAF is short for Codeaurora-Forums. This is the place where development from Qualcomm for their SoCs happens. This includes the Snapdragon 855/+ that´s built into the different SKUs of the OP7/T/Pro.
The kernel-bases available on the Codeaurora-Forums, are basically the foundations OEMs use, to build their own kernel additions on top for devices featuring Qualcomm SoCs.
The Qualcomm developers push regular updates to the bases of the different SoCs, a bit similar to how Linux-Upstream works. Most OEMs usually stop updating the initial base after the phone is released, and only cherry-pick certain commits to be in line with the android security bulletin.
This kernel focuses amongst the other features to merge CAF-Updates in a regular manner, to provide updates, improvements and enhancements for SoC specific drivers and subsystems! This might take a while, because a lot of device specific testing is done on my end to ensure stability.
The EAS implementation from 4.19 CAF (sd865/+) was ported to this kernel. There are several interesting mechanisms qcom worked on. The basic layout of the soc architecture ( 4xLittle- , 3xBig- and 1x Prime-Core(s)) has not changed from SD855 to SD865. That means instead of revolution there was a very nice evolution the scheduler underwent.
The kernel includes a lot of improvements and contributions from other developers as well. Without this kernel would not exist.
Many of the improvements originate from @arter97´s, @kdrag0n´s, @RenderBroken´s and @Sultanxda´s work. Many others contributed in some way or another to this kernel.
A big thanks to all of them at this place!
Now lets continue with a list of features in the next paragraph!
Main Features:
- Based on latest kernel sources from OnePlus for Android 11 primarily intended for use on OOS stock firmware
- Upstreamed against latest CAF
- Linux-Stable-Upstream included to latest 4.14.243
- compiled with Clang 13.0.1 prebuilt from Google
- built with -O3 speed optimizations
- Link-Time-Optimization (ThinLTO)
- Kernel Control-Flow-Integration (CFI)
- Shadow Call Stack (SCS) Security-Feature
- Use ThinLTO which was first used in the Pixel 4 XL Android R-Preview Kernel instead of full LTO for full program visibility (needed by CFI)
- fix CFI-Violations found in various subsystems like OnePlus/device specific drivers and qualcomm drivers
- Link the kernel with LLD and use RELR-Relocation
- include important fixes/improvements from kernel/common
- Flashing the kernel will keep root!
- Anykernel zip is based on the Anykernel3 repo from @osm0sis
- include vDSO 32 patches to improve 32-bit performance
- devfreq backports from 5.4 (sd 888 qcom kernel base)
- disable various debugging configs, that are not needed in a perf build kernel according to google.
- Removed RTB(interrupt) logging entirely
- disable selinux auditing (we don´t have to adress selinux denials running a stock rom)
- fix several coding issues detected by newer Clang-Toolchains
EAS related features:
- EAS scheduler backported from 4.19 CAF and 5.4 CAF / QCOM SOurce(SD865/SD888)
- adjust powerhal to account for scheduler backports
- disable autogroups and use cgroups for more efficient task placement!
- updates from kernel/common
- scheduler updates from Googles Pixel kernel
CPU related features:
- dynamic WALT-Windows based on FPS (more information here and here )
- Power saving workingqueues enabled by default (toggleable in EXKM)
have a read here: https://lwn.net/Articles/731052/
this complements EAS in general
- Change various drivers ( MM, audio) to user power efficient workingqueues. This should work well in conjunction with EAS
- include cpuidle patches from CAF
- improvements to cpufreq/times/stats
- improve memory allocations in binder driver
- vdso32 patches as found on Google Pixel devices (brief documentation here)
- arm64: lse: Prefetch operands to speed up atomic operations
- improve bluetooth performance
- improve /proc performance
- remove VLA-usage (info)
- option to disable touchboost in msm_performance
- disable coresight, enable coresight placeholder and add proper disabled clocks for sd 855
File System related features:
- improve memory allocations in sdcardfs
- improve memory allocations in kernfs
- writeback: hardcode dirty_expire_centisecs=3000 based on this commit
- ufs improvements from pixel 4/ pixel 5 kernel
- default IO scheduler to CFQ and readahead to 128
Usability related features:
- High Brightness Mode for increasing backlight level related to brightness accessible via EXKM app
- Vibration Intensity adjustable via EXKM app
- DC Dimming setting now fully functional
- add support for steam controller
- add support for nintendo switch controller
Display related features:
- KCAL to control the display
- KLAPSE integrated
- KCAL/KLAPSE: changes safety measures -> allow completely disabling two RGB values (this was requested to, for example, only have red values on night dimming)
- display tweaks to save power on statically rendered images (taken from samsung galaxy source, which uses a very similar panel)
- improve memory allocation
GPU related features:
- Ability to use the new 675mhz GPU step officially introduced by CAF (OP7/Pro is set to only use 585mhz as max)
more information and benches in the 1.2.0 release post
- add low_prio_worker thread for gpu driver (Improves performance when tearing down processes (eg, via LMK) and not blocking currently running UI from submitting work to the GPU
- remove debugging tracing from GPU driver
- improve memory allocation
Network related features:
- Wireguard Support (Details)
- advanced TCP algorithms enabled
- includes new bbr and bbrv2 (default to bbr as advised by @kdrag0n )
Memory related features:
- Memory Management patches from mainline kernel
- Speculative Page Faults (1. 2) (CAF-default)
- Fix various memory leaks in different subsystems
- allow ZRAM to use higher swappiness values than 100
- default ZRAM algorithm set to lz4 (fastest compression/decompression speeds)
- possibility to use lzo-rle as default ZRAM compression algorithm (more information here and there )
- possibility to use zstd as default ZRAM compression algorithm ( higher compression ratio, slightly lower compression decompression speed, more information and benchmarks here)
- free up memory by removing unused memory regions from dts
- improved performance for unity based games
- improved lz4 performance
Security related features:
- Control-Flow-Integration (CFI) and Link-Time-Optimization (LTO) ported from 4.19 kernel/common and Pixel 4/XL Kernel
- Use ThinLTO which was first used in the Pixel 4 XL Android R-Kernel instead of full LTO
- Shadow Call Stack (SCS) Security-Feature
- fix various CFI-Violations found in various subsystems like Asus/device specific drivers and qualcomm drivers
- enable init_on_alloc for even more security, more information can be found in the commit message
WLAN Driver:
- use CAF wlan driver and compile it inline, the only way to ensure working wlan with this kernel
- the kernel cannot even force load prebuild WLAN module as the kernel base is way to far from stock!
- do no longer rely on the pre compiled wlan driver module
- completely removed qcom_rx wakelock in the wlan driver
- removed debugging from wlan driver
- removed logging from wlan driver
Scheduler Setup and Kernel Settings:
- kernel setting get automatically applied at boot
- an AK3 helper module is automatically installed during flashing ( do not remove it in magisk manager)
Misc Features:
Wakelock Blocker:
- advanced wakelock blocker with the ability to block any wakelocks (dangerous, use with caution)
- please read [URL="https://arstechnica.com/gadgets/2018/08/p-is-for-power-how-google-tests-tracks-and-improves-android-battery-life/"]this for further info
- blocking a kernel wakelock should only be done in case of firmware incompatabilities (WiFi network at work (can´t be changed) causes deep sleep to not work on the phone.) That´s the only use case I see for this feature. The kernel does not features this to improve battery life!
Requirements
- unlocked Bootloader
- USB-Debugging in developer options enabled
- latest adb and fastboot binaries
- working adb and fastboot environment
- magisk root
- be aware kernel is primarily made for OOS, certain custom roms might not boot or have features broken
How to flash the Kernel:
1. Download the latest kernel.zip
1a. Optional: While it may not be necessary all times, you may want to restore stock boot.img, re-root with magisk and optionally install twrp.zip if coming from another kernel. Before reporting issues make sure you do that! Thank you!
1b. Optional: The stock kernel can be restored by either dirty flashing the firmware.zip or by restoring the stock dtbo.img as well as boot.img. Those can be extracted via payload extractor from the firmware.zip.
2. Make sure to use latest Magisk stable.
3. Flash the kernel.zip via latest EXKM or FKM app. Alternatively via TWRP if TWRP is working.
4. Reboot and profit. After flashing the kernel in magisk manager there will be a module called AK3 Helper Module, do not delete it.
DOWNLOAD:
Download is located always in this folder:
Android 11:
Downloads for : -Android- Generic Device/Other | AndroidFileHost.com | Download GApps, Roms, Kernels, Themes, Firmware and more. Free file hosting for all Android developers.
Download GApps, Roms, Kernels, Themes, Firmware, and more. Free file hosting for all Android developers.
www.androidfilehost.com
Android 10:
https://www.androidfilehost.com/?w=files&flid=300422
Android Pie:
https://www.androidfilehost.com/?w=files&flid=294636
Important: Read after Download
Please take a look at the second post after flashing the kernel!
Changelog:
Android 9/Pie
1.0.0 Initial Release
1.2.0 https://forum.xda-developers.com/showpost.php?p=79657888&postcount=133
1.3.0 https://forum.xda-developers.com/showpost.php?p=79681205&postcount=212
1.4.0 https://forum.xda-developers.com/showpost.php?p=79715609&postcount=266
1.5.0 https://forum.xda-developers.com/showpost.php?p=79759064&postcount=369
1.6.0 https://forum.xda-developers.com/showpost.php?p=79812896&postcount=533
1.7.0 https://forum.xda-developers.com/showpost.php?p=79870285&postcount=624
2.0.0 https://forum.xda-developers.com/showpost.php?p=79958105&postcount=732
2.3.0 https://forum.xda-developers.com/showpost.php?p=79994692&postcount=821
2.8.0 https://forum.xda-developers.com/showpost.php?p=80174759&postcount=1003
2.9.0 https://forum.xda-developers.com/showpost.php?p=80246585&postcount=1062
Android 10/Q:
1.0.0 https://forum.xda-developers.com/showpost.php?p=80519841&postcount=1164
1.0.1 https://forum.xda-developers.com/showpost.php?p=80533419&postcount=1186
1.2.0 https://forum.xda-developers.com/showpost.php?p=80606335&postcount=1275
1.3.0 https://forum.xda-developers.com/showpost.php?p=80789819&postcount=1381
1.4.0 https://forum.xda-developers.com/showpost.php?p=81033561&postcount=1472
1.6.0 https://forum.xda-developers.com/showpost.php?p=81399355&postcount=1574
1.7.0 https://forum.xda-developers.com/showpost.php?p=81684441&postcount=1675
1.9.1 https://forum.xda-developers.com/showpost.php?p=82120413&postcount=1737
1.9.7 https://forum.xda-developers.com/showpost.php?p=82743109&postcount=2002
2.0.0 https://forum.xda-developers.com/showpost.php?p=83555997&postcount=2163
Android 11/R
1.1.0_R https://forum.xda-developers.com/t/...r-op7-pro-aka-guacamole.3933916/post-84786595
1.1.1_R https://forum.xda-developers.com/t/...r-op7-pro-aka-guacamole.3933916/post-84793145
1.1.3_R https://forum.xda-developers.com/t/...r-op7-pro-aka-guacamole.3933916/post-84812661
1.1.4_R https://forum.xda-developers.com/t/...r-op7-pro-aka-guacamole.3933916/post-84853537
1.1.6_R https://forum.xda-developers.com/t/...r-op7-pro-aka-guacamole.3933916/post-84900619
1.3.9_R https://forum.xda-developers.com/t/...r-op7-pro-aka-guacamole.3933916/post-85510637
Donations:
Donations are not mandatory but very welcome!
If you want to support development or just buy me a coffee/tea to get development going: http://paypal.me/freak07
Credits:
@osm0sis for all his work, including the ak2 installer!
@tbalden for being the best HTC wingman!
@LeeDroid for his awesome roms!
@Captain_Throwback for all the mentoring and guidance!
@Eliminater74 for bringing me into the game and the Inspiration
@nathanchance for his upstream guidance and assistance
@RenderBroken for helping me out
@flar2 for all his work
@joshuous for all the help he provided to me in the past!
@arter97 for giving me advice
@kdrag0n for giving me advice
@topjohnwu for magisk!
@osm0sis for anykernel!
Contributors
Freak07
Source Code: https://github.com/freak07/Kirisakura_OP7Pro_A11
Kernel Special Features:
Version Information
Status: Stable
Created 2019-05-26
Last Updated 2020-09-26
Question: Is root preserved when flashing this kernel?
Answer: My kernel.zip keeps a device rooted by magisk rooted.
Question: How do I return back to stock kernel?
Answer: Flash boot.img as well as dtbo.img extracted from the full firmware zip.
Question: My WiFi is not working after flashing the kernel. I can´t toggle it on.
Answer: That means something happened to your device, that is causing some stuff to not get loaded properly when booting. I ran into the same issue once. Read through the thread to find the cause.
I wrote a guide in the linked thread, that explains step by step, how to return to a working condition without the need to wipe the phone completely.
Click the following link to find the post: post is linked here
Question: How to report bugs properly?
Answer: Have a look at post #3 in this thread. The linked guide is a pretty good starting point.
Before reporting any bug make sure you´re not using any mods, magisk modules, scripts or other modifications that alter various functions like sound mods etc.
Try to describe the issue as detailed as possible! Give your exact setup, like rom, magisk version, kernel version.
Is the issue reproducible? Does it happen frequently?
Provide logs, otherwise debugging is a lot harder. If you can already reproduce the issue and provide logs it greatly limits the amount of time I have to spent until I figure out how to reproduce it.
If the device force reboots/randomly reboots (that means you see the bootloader unlocked screen!) provide a ramoops file.
Easiest way is immediately after booting up, with a root explorer navigate to sys/fs/pstore. Copy the contents to your internal storage, zip it up and send it to me.
If the issue happens while the device is running provide a dmesg plus a logcat that you take while/shortly after the issue happens. This will log what´s running in the current session. Try to be as detailed as possible what´s happening when the issue appears. It will also help me in reading the log!
To easily get a logcat in case of a crash take a look at this post:
https://forum.xda-developers.com/showpost.php?p=79462002&postcount=1566
Big thanks to @jcmm11 for it
Here´s a tasker task to automatically copy /sys/fs/pstore on each boot to internal storage. Be advised these files get also created on correct reboots.
https://forum.xda-developers.com/showpost.php?p=79549126&postcount=1670
thanks @jsauder2 for this little trick
Useful Resources
How to report bugs:
It is incredibly useful if bug reports are done in a proper way. That saves everyones time and will ultimately lead to a faster bugfix (hopefully).
The following guide from @nathanchance is a very good guideline on how to properly report a bug!
https://github.com/nathanchance/Android-Tools/blob/master/Guides/Proper_Bug_Reporting.txt
How to convert your OP7 Pro to use f2fs on /data:
Do this only if you know what you´re doing. This guide works even on stock rom with stock kernel.
OP7 Pros Kernel as well as the fstab support f2fs by default.
If you´re using Kirisakura-Kernel starting with version 1.5.0 you will use the latest upstreamed f2fs implementation. Otherwise you´re running that´s a bit outdated and also a bit slower.
Google did put a lot of work in f2fs and that benefits here greatly too.
1. Backup your data and transfer it to an external storage device, because we will now erase everything on /data
2. Boot to TWRP
3. Go to Wipe - Advanced Wipe - Select "data" - Change file system - f2fs - confirm <- This will erase all userdata including your internal storage (pictures, videos, music etc)
4. Boot up and set up your device freshly.
5. Enjoy f2fs on your OP7 Pro
Androbench Results:
Stock EXT4 taken from XDA OP7 Pro Review:
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
F2FS on Kirisakura 1.5.0
Well, I wasn't planning on unlocking the bootloader in this phone.... Going to now that you're here! Thanks for your hard work
Dude,
So pumped to have you on the OP7Pro! This is shaping up to be a really well supported device!
Sent from my OnePlus7Pro using XDA Labs
So hey everyone
want to lose a few more words here. I spent quite a bit of time getting this up as quickly as possible. I never had an OP device until now. So I needed to get familiar with it and get the hang of it.
I spent quite some hours and most of my free time since thursday, in the hope of getting this up before the weekend ends. Some people I spent less time with, were not quite as happy about this decision, but so be it.
I had quite a bit of experience with the CAF merge from the Pixel 3 XL, that made things a bit more easier and smooth. Upstreaming to latest linux-stable was quite a pain, because there are several commits, which cause the device to boot straight into Qualcomm Crash Dump mode.
In the end I got to 4.14.122
It´s still early here on this forums. So far now use adb sideload to install the kernel. The magisk module needs to be flashed otherwise some things, like accessing battery settings isn´t working, because of selinux-denials. If you can live without it, I´m pretty sure you can run this kernel also unrooted. But for the things I mentioned magisk is required, because you need to flash the companion module.
Once TWRP data decryption works, we can flash the zip simply in TWRP. Once EXKM and FKM are updated, we should be able to flash the zip via the apps too
For now it´s this way
I have a few more plans for this kernel, like wireguard, adding maybe some (not to much) features to it, maybe use f2fs and bringing it to latest state. I´m pretty sure I find more stuff as well.
The kernel is way more snappy than the stock kernel for me. It uses some of the EAS improvements from my Pixel 3/XL kernel, which can be utilized on this newer kernel base as well.
I confirmed it with a few little tests/benchmarks and for me the difference is night and day.
I´m running the device always full resolution and 90fps
If somebody can confirm, this it would be really great
If you encounter bugs, please take a look at post #2 and #3
there is a bit more in the kernel than the pure OP. I´ll update it the next few days
I wish everybody a nice weekend.
Great to see you here on this device!
Welcome to the world of OnePlus! This is my second device from Oneplus and finding it an awesome device. Sad to see HTC go down the tubes.
great to see you here freak!
Great news. Just flashed all working well so far
Great to see you here freak & we all appreciate you giving up your time. I'm staying stock until Stable Twrp is released, but as soon as it is I'll be using your kernel.....
@Freak07,
Never thought there would be a day that we would both be on the same device again.. ( I technically haven't gotten the device yet.. waiting till next month),
But glad you are here man. Your work is awesome... Now I got someone to cherry pick from JK man.............
BTW< stop by Slack every once in a while man.
Looks promising, I'll flash it! Good job!
hey bud message me on telegram guess we meet again lol im working on my stuff now glad to see you here @Freak07 and eleminator
Wow it's so nice to see you here! Never thought I'd see the day haha
Freak07 said:
I have a few more plans for this kernel, like wireguard, adding maybe some (not to much) features to it, bringing f2fs to latest state and I´m pretty sure I find more stuff as well.
Click to expand...
Click to collapse
Hey buddy,
I would love to see WireGuard support as I use it all the time. I much prefer the kernel implementation as it doesn't consume any battery compared to the userspace version which does.
In terms of F2FS are you also going to update in line with how Arter97 does things and also implement his Rapid GC commit and subsequent changes?
https://github.com/arter97/android_...mmit/34a4ea7309f551150628603f7ef71abc25e6b68e
Regards,
Ravi
Sent from my OnePlus7Pro using XDA Labs
Just flashed the kernel and companion module from within ex kernel manager 5.03 without issue. No pc or twrp needed
DC Dimming function in Utility/Oneplus Lab is not working...
Works fine here.

[Kernel][28.05.2023][4.14.315][A12][A13] Kirisakura 9.1.6 for Pixel 4/XL aka FLORAL

Kirisakura-Kernel for the Pixel 4 and Pixel 4 XL
Hello everyone,
After rising to the most popular kernel on the Pixel 3/XL forums, here is Kirisakura-Kernel for the Pixel 4 (FLAME) and Pixel 4 XL (CORAL), together FLORAL.
Kirisakura - Kernel is designed to bring a handful of beneficial features to the device, while ensuring excellent performance and smoothness to get you safely through the day!
The kernel aims to keep most of the subsystems updated, way ahead of the stock kernel, thereby improving security, stability and performance!
This includes Linux-Stable, CAF-Upstream, F2FS-Mainline and kernel/common.
If that got you curious,have a read about linux-stable and why it is important here. The stable-process is not the same for every subsystem, but the general idea, rule of thumb and benefits are applicable for other subsystems as well.
Main Features:
- Based on latest kernel sources from Google, Kernel is made for Android 13
- Linux-Stable-Upstream included to latest 4.14.315
- CAF-Upstream usually based on one of the latest tags for sm8150
- include all important fixes/improvements from kernel/common
- compiled with latest Clang 16.0.2 from Google prebuilts and built with -O3 optimizations
- F2FS implementation updated to latest state of kernel/common and kernel.org maintained by Jaegeuk Kim.
- devfreq backports from 5.4 (sd 888 qcom kernel base)
- Safety Net patches are included -> Kernel passes Safety Net (hardware attestation is not related to these kernel patches)
- Flashing the kernel will keep root!
- Tested to work on custom ROMs
- Flashable via EXKM and FKM on a rooted system!
- remove extensive Memory Management logging from Google
- removed nolog usage, remove rtb logging from the kernel
- remove selinux auditing from kernel for lower overhead
- remove IPC logging from the kernel
- introduce kmalloc reclaimable caches for improved memory management
- AnyKernel3 powered by @osm0sis (big thanks!)
EAS related features:
- CleanSlate options to dynamically control freq boosting and sched boosting of powerhal
- small improvements to tasks placement
- fixes from kernel/common to EAS
- improvements from Pixel 5
CPU related features:
- Power saving workingqueues enabled by default (toggleable in EXKM)
have a read here: https://lwn.net/Articles/731052/
this complements EAS in general
- Change various drivers (WLAN, MM, audio, charger, power, thermal, glink etc) to user power efficient workingqueues. This should work well in conjunction with EAS
- include cpuidle patches from CAF
- s2idle-flow improvements from mainline
- improve efficiency while music playback
- arm64: lse: Prefetch operands to speed up atomic operations
- improve camera launch time
File System related features:
- Include latest f2fs changes found on f2fs stable git
- Include rapid GC by @arter97 ( best thing is to read the commit description linked here. I compared GC on stock google f2fs, upstreamed f2fs and f2fs with rapid GC. Rapid GC is the most effective, followed by upstreamed f2fs.)
GPU related features:
- KCAL to control various RGB related display configs (RGB, Hue, Saturation etc -> accessible via CleanSlate Config App)
- add ability to reduce minimum brightness
- add high-brightness-mode (HBM)
- Update GPU driver to latest CAF state
- improve GPU performance (overall smoother experience)
- reduce power consumption when rendering static images
- enable of usage of SD855+ GPU frequencies as optional feature
UI/UX/Usability related features from CleanSlate:
- CleanSlate features made by @tbalden
- Adjust all CleanSlate features with the CleanSlate-Apps found in the CleanSlate-Thread (if you profit from the CleanSlate features make sure to buy the premium versions on Play-Store to support
@tbalden
- CleanSlate options that require permissive selinux in any way are not included, as they can be easily achieved otherwise on a rooted environment and this kernel is not intended to be used rootless (adblocking, props spoofing etc.)
- Flashlight Notification/Call blinking
- Vibrating Notification Reminder
- Sweep to Sleep touchscreen gesture - highly customizable
- DoubleTap on Sweep2Sleep's area gestures - new way to pull down android Notification Area
- Face down screen off - new gesture, e.g. conveniently use together with 'flip to shh' to turn screen off
Network related features:
- Wireguard Support (Details)
Memory related features:
- updated PSI monitor with latest changes
- improved mm with patches from latest mainline
- various other changes from mainline
- included zstd and lz0-rle as options for ZRAM-algorithm (lz4 is probably the best all around, so only change it if you know why and what you are doing)
- allow swappiness up to a value of 200
- Backport to enable CONFIG_HAVE_MOVE_PMD (see here)
- Backport to enable CONFIG_HAVE_MOVE_PUD (see here) (reverted for now as it breaks audio driver)
- improvements to ZRAM writeback (thanks @arter97 )
- disable per cgroup tracking via psi to reduce overhead
Security related features:
- CFI and LTO both kept intact and are used to keep additional security Google implemented for us!
- ThinLTO used as of 3.9.0
- Shadow Call Stack
Tuned PowerHal
- allow kernel to idle on lowest frequencies when no interaction is happening
- increase swappiness during periods without interaction to favor swapping memory, relax swappiness otherwise
- scheduler camera processes to the big cluster and prime core when faceunlock is used
- adjust powerhal behaviour when the camera is used
Misc Features:
TCP Congestion Algorithms:
- advanced algorithms enabled
- includes new bbr2
Wakelock Blocker:
- advanced wakelock blocker with the ability to block any wakelocks (dangerous, use with caution)
- please read [URL="https://arstechnica.com/gadgets/2018/08/p-is-for-power-how-google-tests-tracks-and-improves-android-battery-life/"]this for further info
Other features:
- disable logging to make the kernel more lightweight in various places (includes mm, vma, gpu, ipa etc)
- remove VLAs from the kernel (more info)
- add support for steam controller
- add support for nintendo switch controller
- merge upstream solution for PM/Wakeup driver, which reduces unnecessary logspam and also improves sleeping behaviour
- merge freezer v2 backport from google gerrit (required for developer option ""suspend execution for cached apps"")
Feature section for the "non visible" but perceptible improvements:
- updated binder section (responsible for interprocess communication)
- updated sdcardfs ; have a read about it here:
Requirements
- unlocked Bootloader
- USB-Debugging in developer options enabled
- latest adb and fastboot binaries
- working adb and fastboot environment
- working magisk environment
- latest stock rom (custom roms can have issue, several users reported success when rooted with magisk 24.3 instead of latest)
How to flash the Kernel:
1. Download the kernel.zip to your device
1a. While it may not be necessary all times when coming from another custom kernel: You may want to restore stock boot.img as well as stock dtbo.img, which can both be found in the factory image. If you´re on a custom rom, simply dirty flash your ROM. Reroot with magisk and optionally install twrp.zip (if existing). Before reporting issues make sure you do that! Thank you!
1b. If you used the SQLITE3 Magisk Module and the GPay Fix Magisk Module in the past look at this post: click me
You only need to do either 2a OR 2b
2a. If TWRP is available for this device and specific android version, boot to TWRP and flash my kernel.zip. Root will be preserved!
or
2b. Flash kernel zip in EX Kernel Manager or FKM app. Root will be preserved! If a kernel manager is not yet updated to work on a specific Android Version, you need to wait until it is updated or use another one.
4. Reboot and profit!
DOWNLOAD:
Download is located always in this folder or attached to the release post in case it´s now in AFH.
https://www.androidfilehost.com/?w=files&flid=301179
Please also check the release posts for download links or attched files. AFH is often down recently.
Important: Read after Download
Please take a look at the second post after flashing the kernel!
Changelog:
Android 10/ Q Kernels
1.0.0 Initial Release
1.0.1 https://forum.xda-developers.com/showpost.php?p=80712545&postcount=51
1.0.3 https://forum.xda-developers.com/showpost.php?p=80791393&postcount=181
2.0.0 https://forum.xda-developers.com/showpost.php?p=81069625&postcount=341
2.1.0 https://forum.xda-developers.com/showpost.php?p=81168297&postcount=424
2.3.0 https://forum.xda-developers.com/showpost.php?p=81244627&postcount=491
2.3.4 https://forum.xda-developers.com/showpost.php?p=81311861&postcount=561
2.6.0 https://forum.xda-developers.com/showpost.php?p=81408591&postcount=611
2.9.0 https://forum.xda-developers.com/showpost.php?p=81527369&postcount=692
2.9.2 https://forum.xda-developers.com/showpost.php?p=81575075&postcount=702
3.1.0 https://forum.xda-developers.com/showpost.php?p=81625099&postcount=725
3.2.0 https://forum.xda-developers.com/showpost.php?p=81679343&postcount=761
3.9.0 https://forum.xda-developers.com/showpost.php?p=81926617&postcount=802
3.9.1 https://forum.xda-developers.com/showpost.php?p=81943269&postcount=824
4.2.0 https://forum.xda-developers.com/showpost.php?p=82189985&postcount=851
4.5.0 https://forum.xda-developers.com/showpost.php?p=82485339&postcount=892
4.5.6 https://forum.xda-developers.com/showpost.php?p=82562029&postcount=941
4.7.5 https://forum.xda-developers.com/showpost.php?p=82725499&postcount=986
5.0.0 https://forum.xda-developers.com/showpost.php?p=83019609&postcount=1022
5.2.2 https://forum.xda-developers.com/showpost.php?p=83206123&postcount=1066
5.2.6 https://forum.xda-developers.com/showpost.php?p=83387505&postcount=1078
Android 11/ R Kernels
6.0.0 https://forum.xda-developers.com/showpost.php?p=83476821&postcount=1092
6.1.3 https://forum.xda-developers.com/showpost.php?p=83649491&postcount=1131
6.2.4 https://forum.xda-developers.com/showpost.php?p=83849179&postcount=1143
6.6.0 https://forum.xda-developers.com/t/...r-pixel-4-xl-aka-floral.3992213/post-84068177
6.6.6 https://forum.xda-developers.com/t/...r-pixel-4-xl-aka-floral.3992213/post-84227741
6.8.2 https://forum.xda-developers.com/t/...r-pixel-4-xl-aka-floral.3992213/post-84408147
7.1.0 https://forum.xda-developers.com/t/...r-pixel-4-xl-aka-floral.3992213/post-84588667
7.1.1 https://forum.xda-developers.com/t/...r-pixel-4-xl-aka-floral.3992213/post-84603881
7.2.3 https://forum.xda-developers.com/t/...r-pixel-4-xl-aka-floral.3992213/post-84747379
7.4.0 https://forum.xda-developers.com/t/...r-pixel-4-xl-aka-floral.3992213/post-84900715
7.4.1 https://forum.xda-developers.com/t/...r-pixel-4-xl-aka-floral.3992213/post-84951399
7.4.2 https://forum.xda-developers.com/t/...r-pixel-4-xl-aka-floral.3992213/post-85000553
7.4.3 https://forum.xda-developers.com/t/...r-pixel-4-xl-aka-floral.3992213/post-85079523
7.4.4 https://forum.xda-developers.com/t/...r-pixel-4-xl-aka-floral.3992213/post-85155405
7.9.0 https://forum.xda-developers.com/t/...r-pixel-4-xl-aka-floral.3992213/post-85298631
7.9.1 https://forum.xda-developers.com/t/...r-pixel-4-xl-aka-floral.3992213/post-85424575
7.9.2 https://forum.xda-developers.com/t/...r-pixel-4-xl-aka-floral.3992213/post-85473277
7.9.3 https://forum.xda-developers.com/t/...r-pixel-4-xl-aka-floral.3992213/post-85674963
Android 12
8.0.0 https://forum.xda-developers.com/t/...r-pixel-4-xl-aka-floral.3992213/post-86063673
8.0.3 https://forum.xda-developers.com/t/...r-pixel-4-xl-aka-floral.3992213/post-86236075
8.0.4 https://forum.xda-developers.com/t/...r-pixel-4-xl-aka-floral.3992213/post-86413329
8.0.5 https://forum.xda-developers.com/t/...r-pixel-4-xl-aka-floral.3992213/post-86550055
8.2.0 https://forum.xda-developers.com/t/...r-pixel-4-xl-aka-floral.3992213/post-86843221
8.2.2 https://forum.xda-developers.com/t/...r-pixel-4-xl-aka-floral.3992213/post-87006201
Android 13
9.0.0 https://forum.xda-developers.com/t/...r-pixel-4-xl-aka-floral.3992213/post-87295655
9.0.2 https://forum.xda-developers.com/t/...r-pixel-4-xl-aka-floral.3992213/post-87532941
9.1.0 https://forum.xda-developers.com/t/...r-pixel-4-xl-aka-floral.3992213/post-87760941
9.1.1 https://forum.xda-developers.com/t/...r-pixel-4-xl-aka-floral.3992213/post-87868847
9.1.4 https://forum.xda-developers.com/t/...r-pixel-4-xl-aka-floral.3992213/post-88332237
9.1.6 https://forum.xda-developers.com/t/...r-pixel-4-xl-aka-floral.3992213/post-88583047
Donations:
Donations are not mandatory but very welcome if you want to support development or just buy me a coffee
If you like my work: http://paypal.me/freak07
Credits:
@osm0sis for all his work, including the ak3 installer!
@tbalden for being the best HTC wingman!
@LeeDroid for his awesome roms!
@Captain_Throwback for all the mentoring and guidance!
@Eliminater74 for bringing me into the game and the Inspiration
@nathanchance for his upstream guidance and assistance
@RenderBroken for all of his work and the stuff I could learn from him
@flar2 for all his work
@joshuous for all the help he provided to me in the past!
@topjohnwu for magisk!
@arter97 , @kdrag0n for helping me out several times!
XDA:DevDB Information
Kirisakura Kernel, Kernel for the Google Pixel 4 XL
Contributors
Freak07
Source Code: https://github.com/freak07/FLORAL
Kernel Special Features:
Version Information
Status: Stable
Created 2019-10-27
Last Updated 2020-11-03
F.A.Q:
Question: Is root preserved when flashing this kernel?
Answer: Yes the Anykernel Zip will detect root and keep it.
Question: How do I return back to stock or another kernel.
Answer: Extract boot.img and dtbo.img from the factory image and flash them via fastboot.
Question: How to report bugs properly?
Answer: Have a look at post #3 in this thread. The linked guide is a pretty good starting point.
Before reporting any bug make sure you´re not using any mods, magisk modules, scripts or other modifications that alter various functions like sound mods, data traffic etc.
Try to describe the issue as detailed as possible! Give your exact setup, like rom, magisk version, kernel version.
Is the issue reproducible? Does it happen frequently?
Provide logs, otherwise debugging is a lot harder. If you can already reproduce the issue and provide logs it greatly limits the amount of time I have to spent until I figure out how to reproduce it.
If the device force reboots/randomly reboots (that means you see the bootloader unlocked screen!) provide a ramoops file.
Easiest way is immediately after booting up, with a root explorer navigate to sys/fs/pstore. Copy the contents to your internal storage, zip it up and send it to me.
If the issue happens while the device is running provide a dmesg plus a logcat that you take while/shortly after the issue happens. This will log what´s running in the current session. Try to be as detailed as possible what´s happening when the issue appears. It will also help me in reading the log!
Useful Resources
How to report bugs:
It is incredibly useful if bug reports are done in a proper way. That saves everyones time and will ultimately lead to a faster bugfix (hopefully).
The following guide from @nathanchance is a very good guideline on how to properly report a bug!
https://github.com/nathanchance/Android-Tools/blob/master/Guides/Proper_Bug_Reporting.txt
SQLite3 and GPay Fix Magisk Module:
The combination of these two modules and F2FS-Upstream patches included in the 1.0.x release kernels, caused the device to freeze sporadically after rebooting.
2.0.0 does not include F2FS-Upstream so these two modules can be used again.
To remove the modifications done by these modules and start clean again on Release 2.0.0 and the following releases do the following:
1. Remove the SQLite 3 Module and the GPay Fix Magisk Module by following instructions
2. Do a full reboot
3. Wait a few minutes after successfully booting
4. Clear data and cache for Google Play Services, Google Play Store and Google Pay
5. Wait a few minutes so all deleted stuff gets rebuilt properly and reboot again
6. I´d prefer to use the following method to enable GPAY functionality instead of the modules: https://forum.xda-developers.com/showpost.php?p=80763371&postcount=11
7. If you really have to, install both modules and make sure you´re on Kirisakura 2.0.0 or greater
Oh snap! The fun has begun boys! Good to see your kernel here!
Glad to see dev progress so quickly. Will check this out. Kudos
That was awfully quick! So glad to see you here.
Thank you @Freak07. Flashed without a problem with EX KM. Nice work.
That was quick! Thank you so much. :good:
I am unbelievably excited to see you here! I'm glad to see an amazing DEV working so hard, and quick, to bring an amazing kernel to the 4xl!
So very happy @Freak07 maintaining a kernel for the OP7/7pro and now the P4/P4XL. Thanks for all you do man!!
Anyone has an alternate download link? Because androidfilehost is extremely slow and terminate the connection after about 15-30 minutes
You got the 4 XL, awesome! Happy to see you here
Getting my 4 XL tomorrow, will be flashing this as soon as it's delivered
Ok the download worked finally. Such a crap, had a lot of similar problems with this lousy hoster in the past
Dies anyone know If it is possible to get 4k at 60 fps? On other Smartphones it was possible in the past but i don't know if it will be possible with our Pixel 4.
any big difference between exkm and fkm?
glad to see you here...
PS: Ignore my PM lol
Good to go!
CyberpodS2 said:
Good to go!
Click to expand...
Click to collapse
Nice! Flashed with EXKM or FKM? Or good old fashioned fastboot flash boot?
Edit: Flashed with FKM and no issues with flashing.
I do notice that charge speed is about 1500mA slower than with stock kernel. Although I do remember with my Pixel 2 XL similar behavior occurred with a slower reported mA, but overall charge time was basically the same as stock kernel.
Edit 2: And of course I jumped the gun. Just checked again and charging is back to stock speed, approximately 3200mA.
xdeslitx said:
any big difference between exkm and fkm?
Click to expand...
Click to collapse
For flashing no. Both flash the same way.
I Feel compelled to remind people dont ask for features or ETA's especially the day a kernel gets released. I already see that in the first page.
That being said:
The developer here wants feedback about how the kernel works on the device not a bunch of off topic comments /questions this is a development forum.
We do have a q/a and general section for this device feel free to create a proper thread.

Categories

Resources