[Z5/Z5C/Z5P][MOD][+GUIDES][N] Endurance Reborn Essentials v1.3 final - Upd 2018-02-26 - Xperia Z5 Themes and Apps

ENDURANCE REBORN ESSENTIALS for Z5 Series
- This MOD will modify the system parameters of your Z5 for ONLY ONE PURPOSE: to increase BATTERY LIFE
- Only battery tweaks, only useful tweaks (tons of tweaks is not the good strategy...)
- No performance tweaks (most of time, performance tweaks result in decreasing battery life...)
- Marginal loss of performance, device still smooth and reactive
- Very significant gain of battery life
- +useful guides in posts 2 & 3
This mod has been developped, tested and optimized with @HaoZeke's crDroid (LOS based) rom, but it works perfectly on stock based roms (I use Kryptonian at the moment) and probably on any other roms.
Features:
- build.prop battery tweaks (without modifying build.prop file)
- VM battery tweaks
- Innovative and effective memory management (LMK settings)
- ROW I/O Scheduler (best ratio performance/battery drain)
- I/O tweaks
- disable some useless wakelocks
- FS-TRIM partitions at every reboot
- DeadPool interactive governor profile
Requirements:
- Root
- Busybox
- init.d rom support
Installation:
- First, REMOVE all other system mods/tweaks (clear /system/etc/init.d folder, restore your original build.prop, uninstall LSPEED) from your device or it will be a mess!!
- Download the attached Z5_Endurance_Reborn_Essentials_v1.zip
- Flash it in TWRP recovery
- Enjoy
Warning:
- init.d enabler Magisk modules sometimes don't work at all depending of the Magisk version, best thing to do is using the init.d enabler of Kernel Adiutor
Note:
- Wait a little before to draw any opinions on this mod
- Feedbacks and suggestions for future versions are strongly encouraged
Changelog:
- 26 fev 2018 - v1.3 final version: Heimdall v5 governor profile replaced by DeadPool governor profile
- 8 dec 2017 - v1.2: fixed big cores tunables not applying at boot
- 24 nov 2017 - v1.1: small scripts modifications to ensure that all the tweaks are effectively applied
- 11 nov 2017 - v1: initial release
Credits:
@xperator for his amazing governor profile
@.hEiMDaLL. for his amazing governor profile
@korom42 for his governor profile script

GUIDE 1
For an even better battery life:
1. Install the app Naptime and switch on "agressive doze"
You will still receive your GCM or FCM instant notifications when screen off.
Push reception will no longer work in your email client. So select scheduled sync (every 5 mn for instance). If it still doesn't work, use aquamail, it will work.
Some apps need to be doze whitelisted to continue to work when screen off.
2. Use Sony Power Optimizer
Install it as a regular app AND systemize it with Systemizer Magisk module or Link2SD and reboot.
Launch it and select the apps you want to optimize: they will be frozen and evicted from RAM when screen off.
As an alternative to Sony Power Optimizer, you can use Greenify.
3. If for some reason, idle drain with wifi on is greater than idle drain with wifi off and data on, go in settings - wifi - wifi configuration and select standby mode for wifi: never active or only if the device is plugged. In this way, wifi will be off when screen off and on when screen on.

GUIDE 2
For an even even better battery life, the following xposed modules are useful:
- Smart Network xposed module
I use it to automatically turn off location when screen off (and when screen on, location is automatically reactivated)
- Amplify xposed module
With this module, you can block or restrain wakelocks. But beware, some wakelocks are necessary and must not be blocked or restrained.
This is the list of the wakelocks I have restrained without any issue:
NlpWakeLock: allowed every 240 seconds
NlpCollectorWakeLock: 240s
NetworkStats: 800s
*net_scheduler*: 7200s
GCoreFlp: 7200s
Wakeful StateMachine: GeofencerStateMachine: 7200s
Icing: 7200s
NfcService:mRoutingWakeLock: 7200s

res

Hello Nreuge, for amplify, I have a nice post to optimized battery life ! Can I put the post on your topic ?

parydia said:
Hello Nreuge, for amplify, I have a nice post to optimized battery life ! Can I put the post on your topic ?
Click to expand...
Click to collapse
Yes, for sure ^^

https://forum.xda-developers.com/showpost.php?p=60429417&postcount=4

gonna give a shot.... nice work here buddy!!!
---------- Post added at 12:02 PM ---------- Previous post was at 11:02 AM ----------
can i used dis profile with tha mod?
thanks buddy....

nreuge said:
GUIDE 2
For an even even better battery life, the following xposed modules are useful:
- Smart Network xposed module
I use it to automatically turn off location when screen off (and when screen on, location is automatically reactivated)
- Amplify xposed module
With this module, you can block or restrain wakelocks. But beware, some wakelocks are necessary and must not be blocked or restrained.
This is the list of the wakelocks I have restrained without any issue:
NlpWakeLock: allowed every 240 seconds
NlpCollectorWakeLock: 240s
NetworkStats: 800s
*net_scheduler*: 7200s
GCoreFlp: 7200s
Wakeful StateMachine: GeofencerStateMachine: 7200s
Icing: 7200s
NfcService:mRoutingWakeLock: 7200s
Click to expand...
Click to collapse
I'll give it a shot with stock 7.1.1, I have a question, what version of xposed do you use and do you still can pass safetynet?

crisout said:
I'll give it a shot with stock 7.1.1, I have a question, what version of xposed do you use and do you still can pass safetynet?
Click to expand...
Click to collapse
I use Xposed v88.2, not the magisk version because I don't care of safetynet...

0755 permission is right for scripts as per your zip? I thought folders have 0755 and files use 0644. Please correct me if I misunderstood.
Thanks
Offtopic: Do you use Viper ? Is it works with speaker ? If so which version it is? As I cannot get speaker working with viper as it says processing no always but works with Headphones.

GryTEcHoG said:
0755 permission is right for scripts as per your zip? I thought folders have 0755 and files use 0644. Please correct me if I misunderstood.
Thanks
Offtopic: Do you use Viper ? Is it works with speaker ? If so which version it is? As I cannot get speaker working with viper as it says processing no always but works with Headphones.
Click to expand...
Click to collapse
Hey bro
init.d scripts need to have 755 permissions.
No, I don't use v4a.
With crDroid, I was using the DIVA soundmod and the JamesDSPManager.
Now, I use Kryptonian stock based rom, for the moment I use the DIVA soundmod and the Sony stock equalizer.

Hey..
Did you use universal init.d app?
Or is there another way to enable init.d ?
Im on stock 7.1.1 rooted

SAMURAI6969 said:
Hey..
Did you use universal init.d app?
Or is there another way to enable init.d ?
Im on stock 7.1.1 rooted
Click to expand...
Click to collapse
Creta the init.f foder if it doesn't exist (in/system/etc/)
Then, use the Magisk module init.d linker.

Unfortunately i dont use magisk (i don't like it )
I enabled init.d using the app on playstore but i cant make sure if your script is running (human nature you know) ?

Looks like this mod little increase battery, thank you!
Performance of device steel on good level.
Im using Lineage OS 14.1 on Z5c

Yesterday I got about 4 hours Sot with 13% left(8am to 11pm), when I used to get about 3 hours with the same usage, great work and thanks for your time!

crisout said:
Yesterday I got about 4 hours Sot with 13% left(8am to 11pm), when I used to get about 3 hours with the same usage, great work and thanks for your time!
Click to expand...
Click to collapse
Good to know, thx!!

Update v1.1
24 nov 2017 - v1.1: small scripts modifications to ensure that all the tweaks are effectively applied

We can just flash 1.1 over 1.0, correct? Love the mod, cheers.

Related

[ROM][STABLE][DEEP IDLE] Jonas Hendrickx' ROM

This is a ROM currently being tested for deep idle. I made it to make sure issues can only be caused by custom kernels. More features will come very soon. Just let me know how this ROM runs the Deep Idle mod from Ezekeel.
This ROM doesn't have any fancy things yet. But I tend to add more and more things as I see they are stable.
This ROM will guarantee Deep Idle to work on my settings! Feel free to overclock further if necessary
Features:
-Deodexed
-Rooted
-Zipaligned
-Tweaked
-Cleaned unnecessary applications which are downloadable in Android Market
-init.d support
-Busybox 1.19
-Stable deep idle support
Coming soon
- Ultra fast GPS (preset for European users, can be changed to other countries easily!)
News
- 72 hours and no crashes, freezes or reboots yet with deep idle enabled (posted at 9:00 am 8 December 2011)
Devices
-I9020T
-I9023
-I9020A
Installation
1. Boot into CWM
2. Install official stock GRK39F for best results with deep idle
3. Do not leave CWM
4. Install my ROM immediately over it
5. Install latest GLaDOS kernel, or any other deep idle kernel you like.
6. Wipe data/cache/dalvik
7. Boot your Nexus S
8. Download NSTools from Market
9. Deep idle should now run very stable
Enabling Deep Idle
Flash the kernel of your choice if you want deep idle. This ROM is guaranteed to have deep idle work on your device. If deep idle doesn't work then it is most likely a kernel issue or your device can't handle deep idle. If your phone was having problems with deep idle before on every ROM you tried. Try this one.
Always make sure that when you try deep idle first:
If your Nexus S is more idle than being used:
Freq range: 100-1000
Governor: lazy
Deep Idle: On
Maxfreq: On (Make sure this setting is turned on when using lazy, else your device will run unstable)
Unstable ROMs list for me
- NSCollab: Crashes, freezes and reboots on lockscreen with deep idle enabled when turning on the screen.
- MIUI.us: Giving me random reboots with deep idle and maxfreq enabled
Possible reasons why deep idle is unstable without screenoff_maxfrequency
When using lazy governor. The device stays idle at 100mhz (with its corresponding voltages) and will boost to 1000 mhz or something else when the device becomes active. When deep idle is enabled and the device is in deep idle mode. The device may seem to 'forget' or be 'slower' updating the voltages. When going 1000mhz at the voltage of 100mhz, this will result in a freeze and a reboot. When forcing max frequency with the screen off, this is also avoided. So the device might never freeze and reboot.
When using conservative governor. There may be reboots. But the conservative governor goes up in small steps: 100-200-400-...
So the conservative governor is possibly stable. I even believe 100 mhz and 200 mhz are using the same voltages.
Now this is just a theory I am having. Feel free to have your own.
Coffee fund/beer fund
Feel free to donate if you like my work. But remember I didn't do anything special YET here. More features will come soon! IF you are a developer and you wish to help me on some features, you are welcome. We are a community and should help each other.
Downloads
GRK39F-1 (Crocko)
Click to expand...
Click to collapse
GRK39F-1 (Deposit Files)
Click to expand...
Click to collapse
Screenshot shows a nice horizontal line. I am wondering if someone notices the small green activity during night. I went to the toilet at that point. And after that the color looks more brownish. Does that mean something ?
reserved for changelog
GRK39F-1
- Busybox
- Busybox run-parts
- Cleaned
- Deep Idle Ready
- Deodexed
- Init.d
- Rooted
- Zipaligned
- Removed Google Talk (Preventing Deep Idle)
djjonastybe said:
Howdo I enable init.d on nexus s ?
I start from GRK39F
From my experience with GT-S5660 was to do this in the install-recovery.sh
How is this done on our phone?
My ROM is ready for release in this thread. I only want init.d to work.
Click to expand...
Click to collapse
Put a text file named "something" to the /system/etc/init.d/ folder and done.
removing post
MYPaT said:
Put a text file named "something" to the /system/etc/init.d/ folder and done.
Click to expand...
Click to collapse
Do I have to do something special to get the init.d folder to work first? Or does it work right from the start?
I know I have to place a file in that folder to start the script automatically. I wonder how to get it to work on the Nexus S. For the Galaxy Gio I had to do a work around in the install-recovery.sh
The Busybox runparts must be enabled in the ramdisk, in the init.rc file. Use the dsixda Android kitchen for it.
djjonastybe said:
Do I have to do something special to get the init.d folder to work first? Or does it work right from the start?
I know I have to place a file in that folder to start the script automatically. I wonder how to get it to work on the Nexus S. For the Galaxy Gio I had to do a work around in the install-recovery.sh
Click to expand...
Click to collapse
Make file permissions like the other files in init.d folder and they always will work each boot. Ofcourse you have to use root explorer and you have to make the folder r/w with it.
service sysinit /system/bin/logwrapper /system/xbin/busybox run-parts /system/etc/init.d
disabled
oneshot
Click to expand...
Click to collapse
should i remove the word 'disabled' to get it work? I have these lines.
But I don't see my script working which worked in CM7 NSCollab
Boot.img = ramdisk + zImage
Apparently it was working.
Thanks everyone. Download link is coming.
Any suggestions are welcome.
Glad to see you got your ROM up!
Sent from my Nexus S using XDA App
Glad to see another ROM developer from Tienen or Leuven
Knap werk!
It's Tienen actually!
I believe deep idle is working perfectly. My bootscript logged no reboots.
I had reboots on every MIUI or CM7 based ROM.
This is my log for past 8 hours:
Glad to see you're moving along!
Google Nexus S

[Add-on][Tweaks/Mods/Apps]█ PIMP MY ROM █ v2.0 {Any Device // Any Rom}[AROMA][WIP]

[Add-on][Tweaks/Mods/Apps]█ PIMP MY ROM █ v2.0 {Any Device // Any Rom}[AROMA][WIP]
Firstly, I just want to say that this is not my creation, I take no credit, and I'm posting pretty much what it says on the original thread right here. If you wanna thank the dev, follow the link below. I'm posting here so more Nexus S owners can take a look.
UPDATE! Go to original thread for new changlogs and updates, I haven't the resources to consistently update this thread..[/U]
Original thread: http://forum.xda-developers.com/showthread.php?t=1908269
Pimp my Rom is an aroma-installer based script that will allow you to choose between a plethora of nice tweaks, mods, apps, themes and features to add to your current rom.
YOU CHOOSE which options and tweaks to apply, all this with a nice touchscreen interface, even if you're not running a touchscreen recovery, thanks to Aroma.
You can now run this script on any Android Device !!! (GB/HC/ICS/JB)
PmR was originally created for the Galaxy tab 7.7 (p68xx), but it has now evolved into a universally usable script !
Lifehacker article : http://lifehacker.com/5949000/pimp-m...way-imaginable
Quote:
Init.d Scripts :
- Faster internet browsing
- Better Battery consumption
- Touchscreen responsiveness tweaks
- Miscellanous kernel tweaks
- Ondemand governor tweaks
- Move dalvik-cache to /cache to increase the data storage
- Bind-mount Dalvik-cache so the device can boot without sdcard
- Dalvik VM tweaks
- Defragmentation of sqlite3 databases at each boot
- Disable android-logger
- Disable kernel Normalize Sleeper
- Use strict minfree handlers
- Flags blocks as non-rotational
- Enable data_writeback for ext4 partitions for better i/o
- Force GPU rendering on 2D operations
- Improve multitasking by tweaking system task-killer
- run Vacuum & Reindex at each boot to optimize sqlite
- Use Adblock hosts to block in-app advertising
- Improve External sdcard I/O performances
- Zipalign all apk at each boot
- Install Thunderbolt's s98system_tweaks
- Tweak CPU and GPU tuning values
- Tweak the behaviour of the Complete Fair Scheduler (cfs)
- Tweak TCP buffers for better internet speed
- Optimize all sqlite3 databases to increase speed of apps that use db
Build.prop Tweaks :
- Better jpg image quality
- Better camera recording quality
- Lock launcher in memory
- Battery savings
- Disable kernel error checking
- Dalvik VM tweaks
- Faster scrolling
- Better touch responsiveness
- Faster browsing and download speed
- Allow purgeable assets
- Reduce dialing time
- Misc 3G tweaks
- Deeper sleep
- Reduce black-screen time of proximity sensor after a call
- Smoother video streaming
- Faster wifi connect/disconnect
- Overall smoothness improvements
- Increase the size of VM heap
Quote:
Quote:
- Enable hardware video acceleration
- Disable Android logger
- Enable Android logger
- Enable gpu UI rendering
- Enable HSUPA
- Enable JIT (Just In Time) Compiler for Dalvik vm
- Disable Normalized Sleeper
- Disable Gentle Fair Sleepers
- Disable New Fair Sleepers
- Enable surface dithering
- Disable Boot-Animation (doesn't work on ics and +)
- Disable usage-data sending
- Disable volume buttons wake
- Disable adb notification icon
- Buttons backlight always enabled when screen on
- 16bit Transparency
Quote:
Quote:
- Install an alternative launcher : Apex Launcher & Nova Launcher
- Install latest Solid Explorer
- Install Adobe Flash Player for JB
- Install Rom Toolbox Lite
- Install Script Manager
- Install Hulu+ hacked to work on any device (Both portrait & landscape version)
- Install Smart Stay EX
Quote:
Quote:
- Add support for OpenVPN connections
- Install Awesome Beats Audio dsp manager for a greater sound experience
- Install Adrenaline Boost Script
- Install Sony Walkman suite : Music Player & Visualizer, Clearbass soundfx and Image Gallery & Editor
Quote:
Quote:
Choose between 4 levels of OOM (Out Of Memory) Groupings : Low//Mid//High//Very High
Choose between 4 levels of Minfree Low Memory Killer settings : Low // Mid // High // Very High
Choose between 2 levels of ZRAM Compression : 64mb // 128mb
Tweak your kernel to be adapted and stable on high multitasking conditions
Tweak your Dalvik Virtual Machine to be adapted and stable on high multitasking conditions
Quote:
Quote:
Choose between 79 countries + 5 continents of gps.conf files:
Having the right gps.conf file for your country is esssential for the accuracy and lock-speed of your gps)
Code:Quote:
Quote:
Security :
Protect yourself against SYN attacks and the DoS (Denial of Service) they cause by reinforcing your tcp/ip stacks
Block redirects
Block source-routing : source-routing allows one to fully trace the packets he sends, thus it can be used by blackhats to hack into your device
Stability and Speed :
Increase queue and buffer size of all tcp sockets to make it more stable in high broadband consumption conditions
Avoid TIME-WAIT state by re-using the Sockets in time-wait state. Reduces network memory-loading
Various IPv4 speed improvements
DNS tweaks for faster name resolution, thus faster connection to websites + ppp0 interface speed tweaks
Quote:
Quote:
You can flash this on top of any custom rom with init.d support
- Download the version of Pimp My Rom that corresponds to your device's screen resolution (Not sure what res your device is ? Here is a well-furnished list of android devices with their screen-res)
- Make sure you are running a custom recovery (CWM or TWRP)
- Make a nandroid backup of your current ROM, just in case
- Wipe cache and dalvik cache in recovery
- Flash PmR in recovery
- A wonderful touchscreen interface will pop-up
(devices need different touchscreen calibration, if the touchscreen doesn't work, use the menu button of your device, select "Calibration Tools" and follow the instructions)
- Follow the on-screen instructions, make your choices between all the different features to Pimp your Rom
- Select "Reboot my device" on last screen (or reboot from recovery) and enjoy
Encountering installation issues ?
Do the following to fix most errors you might get on some devices :
Open the zip of the rom you are running with winrar or 7zip or whatever (the .zip file that you flash in recovery)
Inside this zip, navigate to : META-INF/com/google/android
Extract the file called "update-binary" and rename it to "update-binary-installer" then close your rom's zip
Open Pimp my Rom's zip (i.e : PIMP_MY_ROM-v1.5.3-by-Androguide.fr.zip)
Do not unzip it, inside this zip, navigate to : META-INF/com/google/android and delete "updater-binary-installer"
Now copy the "update-binary-installer" file you extracted & renamed from your rom to Pimp My Rom's zip (still in META-INF/com/google/android). Simply drag and drop it into PmR's zip to add it.
Close the zip and flash it
a very usefull package!used yesterday on my n7 and a gnex.so far so good,no problem yet
sub, seems interesting
miui suitable?
downloading........... will check
Used this with Slim Bean,
One of the tweaks makes the Camera app appear to take a picture twice but only once. it Is VERY annoying. :/
xis123 said:
Used this with Slim Bean,
One of the tweaks makes the Camera app appear to take a picture twice but only once. it Is VERY annoying. :/
Click to expand...
Click to collapse
Hmm, I haven't run into this...
which tweak did that?
Trying with MIUI 2.9.29 (MIUI.us flavour) right now...will report back!
EDIT: It works, although I don't see much difference right now...will test more deeply in the next days.
Wow interesting set of tweaks
Sent from my Galaxy Nexus
Will try this on ParanoidAndroid
Mawtin said:
Will try this on ParanoidAndroid
Click to expand...
Click to collapse
works on all roms based of cm and aokp
How do i unpimp my rom if i want to go back to my original
Sent from my Nexus S using xda premium
peepee999 said:
How do i unpimp my rom if i want to go back to my original
Sent from my Nexus S using xda premium
Click to expand...
Click to collapse
u should have done a backup before
I didn't enable all tweaks since I feared conflict with ROM & kernel, but it's pretty cool.
S voice FC after the "tutorial" and doesn't want to do anything else now.
Thanks for this. My nexus is my preciouuus again.
Envoyé depuis mon Nexus S avec Tapatalk
peepee999 said:
How do i unpimp my rom if i want to go back to my original
Sent from my Nexus S using xda premium
Click to expand...
Click to collapse
Reflash your rom
Sent from my Galaxy Nexus
Interesting... Anyway very noob questions. What are the differences of DPI? What should I download? My NS model is I9023
TIA
BenHeng said:
I didn't enable all tweaks since I feared conflict with ROM & kernel, but it's pretty cool.
S voice FC after the "tutorial" and doesn't want to do anything else now.
Thanks for this. My nexus is my preciouuus again.
Envoyé depuis mon Nexus S avec Tapatalk
Click to expand...
Click to collapse
Follow this thread
http://forum.xda-developers.com/showthread.php?t=1664785
sic6sic said:
Interesting... Anyway very noob questions. What are the differences of DPI? What should I download? My NS model is I9023
TIA
Click to expand...
Click to collapse
got my answer from here...
http://blog.blundell-apps.com/list-of-android-devices-with-pixel-density-buckets/
xis123 said:
Used this with Slim Bean,
One of the tweaks makes the Camera app appear to take a picture twice but only once. it Is VERY annoying. :/
Click to expand...
Click to collapse
My version of Slim Bean does this also, so it is not the tweaks...
I have tryed pimp with my CNA 3.6.6 and mtp 4.8.2 kernel: in 6 hours(with nexus in stand by) i have total drain of battery with 62% of use in sistem ui.
I have used my nandroid backup and Turned back. For me not good

[Kernel] 4-17-2020-SI2,RG2,RH1-710,810,715,815

N4N (Neked 4 Nougat) SI2,RG2,RH1 Kernel for 710,810,715,815​I wanted this out today, since it's a special day of remembrance for me.
This is just a good ol' modified stock kernel. Enjoy
You flash this at your own risk. I'm am not responsible for anything that happens!!! There's the discaimer. ​
MAKE A FULL BACKUP IN TWRP!!!!!
These kernels modify your ROM. So you WILL NOT be able to FLASH/RESTORE the stock kernel only.
See post #2 for Synapse, WireGuard and other infos
Install instructions:
You MUST HAVE TWRP installed to flash this!!
MAKE A FULL BACKUP IN TWRP!!!!! YOU HAVE BEEN WARNED!!!!!!!!!
Flash Kernel- it'll wipe cache, dalvic automatically.
Flash Magisk -now works with 17.3, 18.0 and 18.1
or
Disreguard since V1.6 - Flash SU v2.82, https://s3-us-west-2.amazonaws.com/supersu/download/zip/SuperSU-v2.82-201705271822.zip
Reboot
Profit!!
As of V1.1 - SYNAPSE is still the best tuner for us. It's the ONLY tuner that will do EVERYTHING that's built in!!!!
Synapse Download here - https://www.androidfilehost.com/?fid=1322778262904006117 it's no longer on Playstore
What's special about it?!
V1.6.1
Added a better start for Synapse
Updated interactive gov
These are older, are not tunable and may not work. I prefer interactive
Added Govs - Alucard, Bioshock, ConservativeX, Lionheart, Impulse
Added Schedulers - fifo, sio, sioplus, tripndroid, vr, zen
V1.6 Somewhere in my testing, my Internal SD became unwritable. IT HAS NOT HAPPENED SINCE. I had to have hit a wrong button while testing NTFS and Synapse.
IF this happens to you,Just make a backup of ROM in TWRP, and save your internal SD files. Then, WIPE Cache, Dalvic, System, Data, AND INTERNAL SD. Format data where you have to type "YES". Then restore your ROM and Internal SD. This has not happened again in the last week of use and testing.
Updated WireGuard
Enabled NTFS - I'm pretty sure it's working. I was able to read and write to the Tab using a thump drive
Reworked and rewrote Synapse. Changed how it starts and PROBABLY is ONLY compatible with Magisk now. Now has profiles and kernel backups. Optimizations
V1.5 SHOULD Odin the appropriate SI2 before install as this is the SI2 Kernel
Updated to 2DSI2
Updated AIK to 3.6
Removed Battery charging from Synapse
V1.4.1
Wireguard updated to 20191120
Still works with all Magisk. It will show as a "Threat" in Device Maintanence. But it manually scans as clean
V1.4
Now compatible with Magisk 17.3 and up. 18.0 and 18.1 - see read this post for install/updating of Magisk https://forum.xda-developers.com/showpost.php?p=79164496&postcount=42
Had to go back to Google 4.8 toolchain for Magisk 17.3 and higher to work
V1.3.2
These are the kernels in RR and Experience-so just to keep things in line
WireGuard updated to 20190227
Reverted some tweaks for memory and battery
V1.3.1-never released
V1.3
WireGuard updated to current 20181018
Battery Charging control-See/read post #2 for more info - MAKE SURE YOU KNOW WHAT YOU'RE DOING IF YOU USE/ADJUST THIS!!!! IT CAN RUIN YOUR TABLET!!!
Some tweaks
V1.2
2DRH1 source merged in
Wireguard 20180918
A little tweak to the GPU to allow a higher (420) GPU clock while on max CPU - it'll use it if DVFS allows. No tuning necessary.
V1.1
UCI for Synapse added - Download Synapse from above. It's been removed from Playstore for some reason
GPU clock control
GPU voltage control
Possibly more
Of note: Synapse IS NOT required. The kernel will run on defaults I've set. But for the best control use Synapse Other will work, but won't do everything built into the kernel.
V1
Enabled all stock governors
OC and UV LITTLE CPU's 1.5Ghz-200Mhz
OC and UV big CPU's - 2.0Ghz-500Mhz
WireGuard 20180910
TCP Westwood DEFAULT now. HTCP built in also
Screen Mirror fix
Enabled CIFS
Enabled OTG
HMP tweaks
KSM with tweaks
Other tweaks I'm sure I forgot
Bugs ???
The first time you install this kernel, you will lose Wi-Fi. It's unavoidable. Just set them up again and all is good. It my take a couple reboots.
Source
https://github.com/engine95/Exynos-5433-S2-2DRG2
Downloads
V1.6.1
710 - https://www.androidfilehost.com/?fid=4349826312261774651
810 - https://www.androidfilehost.com/?fid=4349826312261774653
715 - https://www.androidfilehost.com/?fid=4349826312261774650
815 - https://www.androidfilehost.com/?fid=4349826312261774652
V1.6-SI2 Just to be safe....Backup ROM in TWRP and Internal SD to computer.
710 - https://www.androidfilehost.com/?fid=4349826312261764542
715 - https://www.androidfilehost.com/?fid=4349826312261764541
810 - https://www.androidfilehost.com/?fid=4349826312261764543
815 - https://www.androidfilehost.com/?fid=4349826312261764544
V1.5-SI2 You SHOULD Odin the appropriate SI2 first! This is what the kernel is built on
710 - https://www.androidfilehost.com/?fid=4349826312261653112
715 - https://www.androidfilehost.com/?fid=4349826312261653114
810 - https://www.androidfilehost.com/?fid=4349826312261653113
815 - https://www.androidfilehost.com/?fid=4349826312261653115
V1.4.1 Still works with all Magisk. It will show as a "Threat" in Device Maintanence. But it manually scans as clean
710 - https://www.androidfilehost.com/?fid=4349826312261640698
715 - https://www.androidfilehost.com/?fid=4349826312261640701
810 - https://www.androidfilehost.com/?fid=4349826312261640700
815 - https://www.androidfilehost.com/?fid=4349826312261640699
V1.4 See/Read this post for install of Magisk 17.3 and up https://forum.xda-developers.com/showpost.php?p=79164496&postcount=42
710 - https://www.androidfilehost.com/?fid=1395089523397921880
715 - https://www.androidfilehost.com/?fid=1395089523397921883
810 - https://www.androidfilehost.com/?fid=1395089523397921881
815 - https://www.androidfilehost.com/?fid=1395089523397921882
V1.3.2
710 - https://www.androidfilehost.com/?fid=1395089523397908358
715 - https://www.androidfilehost.com/?fid=1395089523397908361
810 - https://www.androidfilehost.com/?fid=1395089523397908360
815 - https://www.androidfilehost.com/?fid=1395089523397908359
v1.3 - MAKE SURE YOU KNOW WHAT YOU'RE DOING IF YOU USE/ADJUST BATTERY CHARGING!!!! IT CAN RUIN YOUR TABLET!!! - SEE/READ POST #2
710 - https://www.androidfilehost.com/?fid=11410932744536994092
715 - https://www.androidfilehost.com/?fid=11410932744536994091
810 - https://www.androidfilehost.com/?fid=11410932744536994089
815 - https://www.androidfilehost.com/?fid=11410932744536994090
V1.2
710 - https://www.androidfilehost.com/?fid=1322778262904011205
715 - https://www.androidfilehost.com/?fid=1322778262904011206
810 - https://www.androidfilehost.com/?fid=1322778262904011204
815 - https://www.androidfilehost.com/?fid=1322778262904011203
V1.1
710 - https://www.androidfilehost.com/?fid=1322778262904006114
715 - https://www.androidfilehost.com/?fid=1322778262904006116
810 - https://www.androidfilehost.com/?fid=1322778262904006115
815 - https://www.androidfilehost.com/?fid=1322778262904006118
V1
710 - https://www.androidfilehost.com/?fid=1322778262904003471
810 - https://www.androidfilehost.com/?fid=1322778262904003474
715 - https://www.androidfilehost.com/?fid=1322778262904003472
815 - https://www.androidfilehost.com/?fid=1322778262904003473
Synapse, Wireguard, Battery Charging Control and other infos
A couple little things for now:
The first time you install this kernel, you will lose Wi-Fi. It's unavoidable. Just set them up again and all is good. It my take a couple reboots.
and
SYNAPSE Kernel Tuner​
Well, because Synapse is built in now, here's some needed info on it:
Synapse is an awesome and custom built kernel tuner. It can do so much more than a lot of other tuners. And because we have Exynos processors, it's about the only one we can use. But it can create a lot of problems getting to work. Hence this post. :silly:
I decided to make this built in instead of a flashable add on. It's actually easier and less invasive to do it this way.
UCI, is what Synapse uses to work. It's built into the ramdisk. I've added a lot of tunables and may add more later.
Now for the fixes and problems you WILL run into:
If you have issues, make sure to check out these threads. As they will probably have better info about Synapse issues. https://forum.xda-developers.com/showthread.php?t=2736986 and https://forum.xda-developers.com/showthread.php?t=3558888
No UCI support detected These are the famous words you WILL run into.
When will this show up?
When Synapse is first installed
On reboot
When you've pushed your Tablet too far
The fixes:
On first install from the Playstore. You will need to go to Settings>Apps>Synapse>Storage. Then select "Clear Cache", THEN "Clear Data. In that order!!
You may have to backout to Settings and do it one or two more times. You want the numbers for cache and data at "0".
On reboot: This usually works unless you've messed up the settings or flash another kernel
On reboot select "Menu" and "Close all".
Open Synapse and hit "CANCEL" to have your last settings applied. (I know it's not normal but it works)
Close synapse, and reopen it to make sure of settings. (If "apply or cancel" don't show up at the top, you're good to go.)
Worst case scenario and for flashing new kernel:
You will need to go select the "MENU" button and Close all. Next go to Settings>Apps>Synapse. Select "Force stop". Select "Storage". Then select "Clear Cache", THEN "Clear Data. In that order!!
You may have to backout to Settings and do it one or two more times. You want the numbers for cache and data at "0".
If you follow the above, Synapse will work. It hasn't failed me in over 50 tests, probably more. :silly:
Battery Charging info - Removed on V1.5 These Tabs are starting to get old ​I've added Battery Charging Control to the Kernel and Synapse. MAKE SURE YOU KNOW WHAT YOU ARE DOING BEFORE CHANGING IT'S SETTINGS!!! IT CAN RUIN YOUR TABLET!!!
If you don't touch it or don't use a Tuner, then all is good
It has about every adjustment and charger possible. BUT...
1. Not all chargers can handle the load you may put on it
2. The Battery may not handle the load you may put on it
3. Just changing Cables or the Charger will change how your Tablet charges. With the stock charger, if you change the cable, it'll charge at a different rate. So be careful
4. Charging your Tablet too fast can overheat and possibly EXPLODE the Battery!!!!!
5. Samsung has made a lot of changes to the battery with the last few updates. So there may be some safety features beyond my control. Settings may not stick.
V1.6 NOTES and things to know:
Restarting Synapse will take about 5 secs. To make sure things settle.
You will need to restart Synapse to see saved kernels and profiles. Use the button to restart it.
If you use the "Optimize button", just leave your Tab alone for about 5min for it to settle. File Managers won't work until then.
That's all I can think of at the moment.
WireGuard VPN​Read about it here: https://www.wireguard.com/
XDA Thread here: https://forum.xda-developers.com/android/development/wireguard-rom-integration-t3711635
For install and use, read here: https://forum.xda-developers.com/android/general/guide-how-to-wireguard-android-ubuntu-t3723544
Download the "WireGuard" app from the Playstore.
I used Azirevpn. Just follow the link on the install above. Create your account. You'll get an email to confirm. Sign back in and select "WireGuard" for your config. Open WireGuard app, select the + and "create from file or archive" select the config from azire. Done
WireGuard IS NO LONGER FREE!!. And be aware that WireGuard is still under development.
why does it lose wifi ?? also i am about to flash stock RG2 rn but my question is should i wait for RH1?? T710 in case u forgot
If we have magisk already installed, do we need to run the magisk uninstaller prior to your flashing instructions or will dirty flashing cause issues with existing magisk installs?
Androbots said:
why does it lose wifi ?? also i am about to flash stock RG2 rn but my question is should i wait for RH1?? T710 in case u forgot
Click to expand...
Click to collapse
If I remember right, when I remove dm-verity, it does something to the WiFi along with other things.
But this only happens coming from stock. If you already have flashed one of my previous kernels, then no problem. The price we've had to pay since Lollipop.
Why wait? Flash it and then the update if there's any changes. You always have your backup to restore to. ?
8bitbang said:
If we have magisk already installed, do we need to run the magisk uninstaller prior to your flashing instructions or will dirty flashing cause issues with existing magisk installs?
Click to expand...
Click to collapse
I haven't needed to uninstall yet. I just flash the kernel, then Magisk and reboot. It may not be right, but it works for me. Even coming from RB1 V1.3.
If i flash RH1 (Netherlands, DBT for germany not available) do i keep german language, means can i set to german again? Thanks.
V1.1 is in the house!!!!!
Synapse support added. SEE READ the OP!!!!!!!
And I guess the bigger news is that full GPU control has been added. Clocks and voltages!!!!! I ported our existing r12 driver.
Again, SYNAPSE is the only tuner that will do everything built into the kernel. I spent a lot of time rewriting it. You'll need to DL it from the OP, as it's no longer available from the Playstore.
Enjoy
810 - V1.1 A-OK
Thanks again...
engine95 said:
V1.1 is in the house!!!!!
Synapse support added. SEE READ the OP!!!!!!!
And I guess the bigger news is that full GPU control has been added. Clocks and voltages!!!!! I ported our existing r12 driver.
Again, SYNAPSE is the only tuner that will do everything built into the kernel. I spent a lot of time rewriting it. You'll need to DL it from the OP, as it's no longer available from the Playstore.
Enjoy
Click to expand...
Click to collapse
U did it hurray!!!!
Bootloop
Hello, i've bootloop on samsung 810 with lineage os 14.1.. What am I doing wrong?
angus6969 said:
Hello, i've bootloop on samsung 810 with lineage os 14.1.. What am I doing wrong?
Click to expand...
Click to collapse
This is for stock based ROMs only. In this case, 2DRG2, 2DRH1.
I don't think there's any other kernel, except what's built in, for the Lineage based.
Is there anything I can provide for you to help to possibly support T817T (T-Mobile, 9.7 LTE)?
Thanks
Sent from my [device_name] using XDA-Developers Legacy app
8bitbang said:
Is there anything I can provide for you to help to possibly support T817T (T-Mobile, 9.7 LTE)?
Click to expand...
Click to collapse
The older 817 source was very different from these 4. I'll need to look again and compare. Just so I know, what bootloader. 2 or 3? It's the last 5 numbers of the build. The 3 had the most current source back then.
Edit: It looks like the 817 is being left out of updates, anymore. The most current is for Turkey and it's 2CRB1.
I can't say I won't, but it would be a while if I decided to build for it. I would need to build for it specifically and on it's own.
V1.2 is in OP!!!
Merged 2DRH1 source in for all. 710 will still be RG2 in name only
Wireguard updated 20180918
A little tweak to the GPU to allow a higher (420) GPU clock while on max CPU - it'll use it if DVFS allows. No tuning necessary.
Enjoy
V1.2 Thanks all efforts.
engine95 said:
V1.2 is in OP!!!
Merged 2DRH1 source in for all. 710 will still be RG2 in name only
Wireguard updated 20180918
A little tweak to the GPU to allow a higher (420) GPU clock while on max CPU - it'll use it if DVFS allows. No tuning necessary.
Enjoy
Click to expand...
Click to collapse
V1.2 - 810,SuperSU fine and dandy...
There was an error with auto brightness, it keeps turn on when I set it off. I don't know if this related to this kernel or with my rom.
agcyber4 said:
There was an error with auto brightness, it keeps turn on when I set it off. I don't know if this related to this kernel or with my rom.
Click to expand...
Click to collapse
I need more details. But my best guess is to turn the kernel settings down. This kernel cannot run at max everything. You need to finesse it. ?
Samsung's DVFS will disable auto brightness if things get too hot. It's my failsafe and why I won't disable it.
This problem occurs when the tablet is not in use, I always turn off the auto brightness feature. After a few hours of not being used then I turn on my tablet the auto brightness feature is always on.

[MODULE] Universal GMS Doze

Universal GMS Doze
Overview
- Patches Google Play services app and certain processes/services to be able to use battery optimization
- Support API 23 or later
Download Links (Archives):
- GitHub Releases
- Mediafire
- MEGA
- SourceForge
- Telegram
Credits:
- @topjohnwu
Magisk - Magisk Module Template
- @MrCarb0n
Script / syntax helper
Extras:
- Donation: PayPal - LiberaPay - Ko-fi
- Source Code: GitHub
Troubleshooting
- Command-line for check optimization (with add-on installed):
Code:
> su
> gmsc
- Command-line for check optimization (general):
There's a line written Whitelist (except idle) system apps: and if com.google.android.gms line does not exist it means Google Play services is optimized.
Code:
> su
> dumpsys deviceidle
- Command-line for fix delayed incoming messages issue:
Code:
> su
> cd /data/data
> find . -type f -name '*gms*' -delete
- Command-line for disable Find My Device:
Code:
> su
> pm disable com.google.android.gms/
com.google.android.gms.mdm.receivers.MdmDeviceAdminReceiver
Change Log
- 1.9.0
Android 14 support
Fixed synchronization for Location Sharing and Play Games
- v1.8.8
A long-awaited hotfix
Addresses script that caused patching XML gone wrong
Raised Magisk Boot Service to 100 seconds
- v1.8.7
Android 13 support
Added GMS to battery optimization and disabled another components
Fixed broken API checking and Multi-User support
Moved to inbuilt (Magisk) BusyBox
Improved pre-boot conflict fixer and proper boot script execution
Improved superuser checking method and used cmd flag arguments
Improved XML patching logic
Minimized root path checking depth
Revived overall code quality and syntax
Rewrite GMS state checker bin
- v1.8.6
Added /system_ext detection support
Improved patching detections (Allow to revoke location permissions)
- v1.8.5
Added updateJson support
Improved patching detections (XML files)
v1.8.4
- Removed redundant script (GMS: Stay with disabling Find My Device only)
- v1.8.3
Android 12 support
Additional boot complete check
Multi-User support
Set ignore for GMS and IMS WRITE_SETTINGS
Minor improvements
- v1.8.2
Android 11 support
Improved installation (Magisk Live and Custom Recovery)
Improved patching detections (XML files and conflicting modules)
Integrated add-on (run 'gmsc' with superuser rights for check optimization status)
Set ignore for GMS and IMS BOOT_COMPLETED
Set ignore for GMS and IMS AUTO_START (custom permissions for Oxygen OS)
Updated template
- v1.8.1
Integrated custom recovery installation
Added boot logic for search and patch any conflicting modules (if present)
Whitelisted IMS and Turbo (this should fixed location crash issue in MIUI)
- v1.8.0
Initial re-release
100 seconds Magisk Boot Service
Hi.
I'm using Your doze for some time now and it's working quite good. Good work, thanks.
What does XiaomiDoze do, exactly and specifically?
Sent from my Xiaomi Redmi Note 5 using XDA Labs
What's the difference between universal gms doze NMF21F
Because it works great on OnePlus devices ,is the Oct version better than this
Known issue for Pie. I have frozen Find my Device via TiB.
Flashed module, but still unable to optimise play services.
Anyone else on Pie managed to get this to work?
Sent from my OnePlus 5 using XDA Labs
.
Sent from my OnePlus 5 using XDA Labs
L22EEW said:
Known issue for Pie. I have frozen Find my Device via TiB.
Flashed module, but still unable to optimise play services.
Anyone else on Pie managed to get this to work?
Click to expand...
Click to collapse
Not to freeze those Find My Device, I mean just Turning Off. Inside Settings > Security and location.
Sent from my Redmi 3 using XDA Labs
gloeyisk said:
Not to freeze those Find My Device, I mean just Turning Off. Inside Settings > Security and location.
Click to expand...
Click to collapse
Hmm. Tried that. Still no luck
I know this is still in experimental stage, I've been following this project. I can wait for more stable version ?
Sent from my OnePlus 5 using XDA Labs
What's the difference between device health service from Google and turbo app provided in zip, is it the same?
If it is the same could you make the module have an option to install or not, because some dev already included device health service in their roms.
Everytime I install this module and reboot, I got turbo crash first time my device booted up
Thanks in advance
Sorry for my broken English
Is this module usable near greenify aggressive doze?
ztoldy said:
Is this module usable near greenify aggressive doze?
Click to expand...
Click to collapse
No, Greenify has its own doze methods. But my module compatible with it. Turning On/Off Aggressive Doze inside Greenify will be better.
Sent from my Redmi 3 using XDA Labs
Hi thanks for this work . I installed this module . am on android pie unofficial X rom for nexus 6 .
However I got this when I try to open the battery from setting.
I attached a log file too .
mahir555 said:
Hi thanks for this work . I installed this module . am on android pie unofficial X rom for nexus 6 .
However I got this when I try to open the battery from setting.
I attached a log file too .
Click to expand...
Click to collapse
Thanks again for the report, which build of the module you've installed?
Sent from my Redmi 3 using XDA Labs
gloeyisk said:
Thanks again for the report, which build of the module you've installed?
Click to expand...
Click to collapse
The latest 1.2.3
mahir555 said:
The latest 1.2.3
Click to expand...
Click to collapse
Is it happened too with previous build?
Sent from my Redmi 3 using XDA Labs
gloeyisk said:
Is it happened too with previous build?
Click to expand...
Click to collapse
Ok give me some time ~20 min
.. Will report back
Yes . same behavior .. Even it appears when I try to open setting before clicking on battery .
I tried 1.2.2 & 1.2.0
I installed the magisk module. How can I see if it work?
I have also installed xxx rom limit with some Google play services wakelocks disabled through aroma installer . Any concern of conflicts?
I have OnePlus5.
Should I have to uninstall previous version of this module and reboot before install new one?
mahir555 said:
Ok give me some time ~20 min
.. Will report back
Yes . same behavior .. Even it appears when I try to open setting before clicking on battery .
I tried 1.2.2 & 1.2.0
Click to expand...
Click to collapse
Ohh well, I'll take a look for a new build when I have free time. You can check OP for Telegram group link, you can asking there also.
Sent from my Redmi 3 using XDA Labs

[Kernel][10.06.2022][4.9.317][Android 12]Kirisakura_S 5.1.1 for Pixel 3/XL aka Bluecross

Kirisakura-Kernel for the Pixel 3 and Pixel 3 XL
Hello everyone,
To keep it short: Here is Kirisakura - Kernel for the Pixel 3 aka Blueline and the Pixel 3 XL aka Crosshatch, together Bluecross.
I would appreciate if everybody that flashes the kernel, reads at least once through this opening post and the following ones.
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 focus during testing! This includes Linux-Stable, CAF-Upstream and kernel/common.
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 845 that´s built into Pixel 3 and Pixel 3 XL.
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. OEMs usually stop updating the initial base after the phone is released.
This kernel focuses amongst the other features to provide the latest CAF-Updates merged 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 is heavily updated with changes from CAF, kernel/common and other improvements.
To have a read about our scheduler, which is called EAS, take a look here:
https://developer.arm.com/open-source/energy-aware-scheduling
Main Features:
- Based on latest kernel sources from Google, Kernel is made for Android 12 (Android S)!
- Linux-Stable-Upstream included to latest 4.9.317
- compiled with prebuilt Clang 13.0.1 from Google and built with -O3 optimizations
- ZRAM patched up to latest kernel/common state and use ZSTD LZ4 as default compression algorithm to improve memory managment (more info see this post regarding the earlier switch to ZSTD) and this post regarding the switch back to LZ4
- fixes the magisk freezes caused by f2fs-stable
- Safety Net patches are included -> Kernel passes Safety Net
- Wake Gestures from @flar2 included
- Flashing the kernel will keep root!
- Tested to work on custom ROMs
- Flashable via EXKM and FKM on a rooted system!
- AnyKernel3 powered by @osm0sis (big thanks!)
EAS related features:
- EAS implementation patched up to latest CAF state
- Schedutil is patched up with kernel/common and CAF patches to improve performance and efficiency!
- Memory Leaks inside EAS are fixed
- disable autogroups and use cgroups for more efficient task placement!
- Enable sched_min_task_util_for_boost_colocation feature from CAF
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
- improved Schedutil governor
- Add hold functionality to schedtune CPU boost
- WQ_HIGHPRI for the IO and crypt workqueues (replaces googles approach with a better upstream one)
- cpufreq/times vastly improved
File System related features:
- 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.)
- Set the bio REQ_NOENCRYPT flag (When lower layers such as dm-crypt observe the REQ_NOENCRYPT flag, it helps the I/O stack avoid redundant encryption, improving performance and power utilization. )
Usability related features:
- High Brightness Mode for increasing backlight level related to brightness accessible via EXKM app
- High Brightness Mode for just boosting display to max level accessible via EXKM app
- Vibration Intensity adjustable via EXKM app
- Backlight dimmer functionality included (adjustable via EXKM App)
GPU 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)
- Enabled NAP power saving state of Adreno 630
- improve GPU profiling for improved rendering performance (1,2 , 3 )
- Update GPU driver to latest CAF state
Network related features:
- Wireguard Support (Details)
Memory related features:
- Enable Userspace LMK/freak07/Kirisakura_bluecross/commit/aac453635549699c13a84ea1456d5b0e574ef855"]2[/URL])
- Patch up kernel LMK backend (PSI) with kernel common upstream
- ZRAM patched up to latest kernel/common state and ZSTD LZ4 as default algorithm. (information can be found in this post regarding the switch to ZSTD, which is now reverted) and this post regarding the switch back to LZ4
- possibility to use lzo-rle as default ZRAM compression algorithm (more information here and there )
- possibility to use zstd as default ZRAM compression algorithm!
- Speculative Page Faults (1. 2)
- Fix various memory leaks in different subsystems
- Reap memory of a task that receives sigkill
- various other changes from mainline
Sound related features:
- Adjust microphone gain via sound control in EXKM
- Adjust speaker gain via sound control in EXKM
Security related features:
- CFI and LTO both kept intact and are used to keep additional security Google implemented for us!
- Shadow Call Stack
- built with latest clang found on google repo
Misc Features:
IO-Schedulers:
- cfq
- maple
- deadline
- noop
- tripndroid
- fiops
TCP Congestion Algorithms:
- advanced algorithms enabled
- includes new bbr and sociopath tcps
Wakelock Blocker:
- advanced wakelock blocker with the ability to block any wakelocks (dangerous, use with caution)
- please read this for further info
Other features:
- enable some additional Sony and XBox controllers
- add support for steam and nintendo switch controller
- patches to loop device, xfrm and usb gagdet
- disable logging to make the kernel more lightweight in various places
- add support so you can enable faster charging for non pixel wireless charging stands (use at your own risk, disabled by default, how to enable here)
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
How to flash the Kernel:
1. Download the kernel.zip to your device. Make sure your device is rooted properly, with the magisk version suiting your current firmware version.
1a. Optional: While it may not be necessary all times, you may want to restore stock boot.img, reroot with magisk and optionally install twrp.zip if coming from another kernel. Before reporting issues make sure you do that! Thank you!
2. Flash the kernel.zip via either a kernel manager app capable of flashing kernels or TWRP if available. Make sure whatever method/app you decide to use, supports your current Android Firmware. Apps/Recoveries need to be possibly updated for firmware updates!
It´s your job to ensure compatability.
Flashing the kernel will preserve root.
3. Reboot and profit! Before reporting any issues make sure to read the Release-Post of Bluecross_Q_Release_1.0.0!
DOWNLOAD:
Download is located in these respective folders:
Android 9:
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/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 12:
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
Important: Read after Download
Please take a look at the second post after flashing the kernel!
Changelog:
Android 9 / Pie Kernels
1.0.0 Initial Release
1.5.0 https://forum.xda-developers.com/showpost.php?p=78151322&postcount=81
1.5.1 https://forum.xda-developers.com/showpost.php?p=78154423&postcount=112
1.7.0 https://forum.xda-developers.com/showpost.php?p=78196945&postcount=190
1.7.1 https://forum.xda-developers.com/showpost.php?p=78220526&postcount=227
1.7.2 https://forum.xda-developers.com/showpost.php?p=78221906&postcount=228
1.8.0 https://forum.xda-developers.com/showpost.php?p=78249473&postcount=267
1.8.1 https://forum.xda-developers.com/showpost.php?p=78280355&postcount=285
1.8.2 https://forum.xda-developers.com/showpost.php?p=78316038&postcount=345
1.8.3 https://forum.xda-developers.com/showpost.php?p=78330435&postcount=389
1.8.4 https://forum.xda-developers.com/showpost.php?p=78364541&postcount=451
1.8.5 https://forum.xda-developers.com/showpost.php?p=78377334&postcount=481
1.8.6 https://forum.xda-developers.com/showpost.php?p=78396058&postcount=538
1.8.7 https://forum.xda-developers.com/showpost.php?p=78420137&postcount=591
1.8.8 https://forum.xda-developers.com/showpost.php?p=78449511&postcount=621
1.8.9 https://forum.xda-developers.com/showpost.php?p=78496196&postcount=654
1.9.0 https://forum.xda-developers.com/showpost.php?p=78564181&postcount=701
1.9.1 https://forum.xda-developers.com/showpost.php?p=78637123&postcount=758
1.9.2 https://forum.xda-developers.com/showpost.php?p=78672005&postcount=775
Milestone 2.0.0 https://forum.xda-developers.com/showpost.php?p=78689028&postcount=782
2.0.2 https://forum.xda-developers.com/showpost.php?p=78761004&postcount=853
2.0.3 https://forum.xda-developers.com/showpost.php?p=78767857&postcount=867
2.0.4 https://forum.xda-developers.com/showpost.php?p=78805387&postcount=896
2.0.5 https://forum.xda-developers.com/showpost.php?p=78838240&postcount=928
2.0.6 https://forum.xda-developers.com/showpost.php?p=78840488&postcount=936
2.0.7 https://forum.xda-developers.com/showpost.php?p=78851682&postcount=953
2.0.8 https://forum.xda-developers.com/showpost.php?p=78898745&postcount=981
2.0.9 https://forum.xda-developers.com/showpost.php?p=78913421&postcount=991
2.0.10 https://forum.xda-developers.com/showpost.php?p=78950068&postcount=1007
2.0.11 https://forum.xda-developers.com/showpost.php?p=78975193&postcount=1025
2.0.12 https://forum.xda-developers.com/showpost.php?p=79009799&postcount=1041
2.0.13 https://forum.xda-developers.com/showpost.php?p=79043694&postcount=1067
2.0.14 https://forum.xda-developers.com/showpost.php?p=79050238&postcount=1103
2.1.0 https://forum.xda-developers.com/showpost.php?p=79136483&postcount=1182
2.1.1 https://forum.xda-developers.com/showpost.php?p=79159209&postcount=1221
2.1.2 https://forum.xda-developers.com/showpost.php?p=79190516&postcount=1261
2.1.3 https://forum.xda-developers.com/showpost.php?p=79214430&postcount=1279
2.2.0 https://forum.xda-developers.com/showpost.php?p=79291045&postcount=1372
2.2.1 https://forum.xda-developers.com/showpost.php?p=79332619&postcount=1452
2.2.2 https://forum.xda-developers.com/showpost.php?p=79425173&postcount=1531
2.3.0 https://forum.xda-developers.com/showpost.php?p=79463560&postcount=1569
2.4.0 + 2.4.1 https://forum.xda-developers.com/showpost.php?p=79505198&postcount=1623
3.0.0 https://forum.xda-developers.com/showpost.php?p=79533358&postcount=1641
3.1.0 https://forum.xda-developers.com/showpost.php?p=79570912&postcount=1685
3.1.1 https://forum.xda-developers.com/showpost.php?p=79575209&postcount=1698
3.1.2 https://forum.xda-developers.com/showpost.php?p=79578541&postcount=1722
3.1.3 https://forum.xda-developers.com/showpost.php?p=79612212&postcount=1743
3.2.0 https://forum.xda-developers.com/showpost.php?p=79658098&postcount=1774
3.3.0 https://forum.xda-developers.com/showpost.php?p=79696166&postcount=1807
3.3.1 https://forum.xda-developers.com/showpost.php?p=79736674&postcount=1829
3.3.4 https://forum.xda-developers.com/showpost.php?p=79791144&postcount=1857
3.4.0 https://forum.xda-developers.com/showpost.php?p=79919877&postcount=1929
3.4.5 https://forum.xda-developers.com/showpost.php?p=80023518&postcount=2064
Legacy Downloads for Pie Kernels: https://www.androidfilehost.com/?w=files&flid=285183
Android 10/ Q Kernels
1.0.0 https://forum.xda-developers.com/showpost.php?p=80269185&postcount=2132
1.1.3 https://forum.xda-developers.com/showpost.php?p=80324259&postcount=2199
1.2.0 https://forum.xda-developers.com/showpost.php?p=80533347&postcount=2291
1.2.2 https://forum.xda-developers.com/showpost.php?p=80809357&postcount=2325
1.3.0 https://forum.xda-developers.com/showpost.php?p=81115229&postcount=2451
1.4.0 https://forum.xda-developers.com/showpost.php?p=81418351&postcount=2519
1.4.1 https://forum.xda-developers.com/showpost.php?p=81421719&postcount=2529
1.5.0 https://forum.xda-developers.com/showpost.php?p=81684289&postcount=2582
1.5.1 https://forum.xda-developers.com/showpost.php?p=81947785&postcount=2607
1.5.2 https://forum.xda-developers.com/showpost.php?p=82213193&postcount=2635
1.5.3 https://forum.xda-developers.com/showpost.php?p=82484463&postcount=2642
1.5.4 https://forum.xda-developers.com/showpost.php?p=82742517&postcount=2688
1.5.5 https://forum.xda-developers.com/t/...ixel-3-xl-aka-bluecross.3864563/post-84424203
Android 11
2.0.0_R https://forum.xda-developers.com/showpost.php?p=83554503&postcount=2753
2.1.0_R https://forum.xda-developers.com/showpost.php?p=83649655&postcount=2808
3.0.2_R https://forum.xda-developers.com/showpost.php?p=84007163&postcount=2906
3.0.4_R https://forum.xda-developers.com/t/...ixel-3-xl-aka-bluecross.3864563/post-84230135
3.0.5_R https://forum.xda-developers.com/t/...ixel-3-xl-aka-bluecross.3864563/post-84605183
3.0.6_R https://forum.xda-developers.com/t/...ixel-3-xl-aka-bluecross.3864563/post-84812093
3.0.7_R https://forum.xda-developers.com/t/...ixel-3-xl-aka-bluecross.3864563/post-84975703
3.0.8_R https://forum.xda-developers.com/t/...ixel-3-xl-aka-bluecross.3864563/post-85166867
3.0.9_R https://forum.xda-developers.com/t/...ixel-3-xl-aka-bluecross.3864563/post-85298651
3.1.0_R https://forum.xda-developers.com/t/...ixel-3-xl-aka-bluecross.3864563/post-85432093
Android 12
4.0.0_S https://forum.xda-developers.com/t/...ixel-3-xl-aka-bluecross.3864563/post-85808391
4.1.0_S https://forum.xda-developers.com/t/...ixel-3-xl-aka-bluecross.3864563/post-86249089
5.0.0_S https://forum.xda-developers.com/t/...ixel-3-xl-aka-bluecross.3864563/post-86413291
5.1.0_S https://forum.xda-developers.com/t/...ixel-3-xl-aka-bluecross.3864563/post-86541411
5.1.1_S https://forum.xda-developers.com/t/...ixel-3-xl-aka-bluecross.3864563/post-87007931
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 helping me out
@flar2 for all his work
@joshuous for all the help he provided to me in the past!
@topjohnwu for magisk!
@Sultanxda for all of his work!
Contributors
Freak07
Source Code: https://github.com/freak07/Kirisakura_bluecross/
FAQ
Important: What to do if you face issues on Android 10/Q
You might face issues on Android 10 like non working sensors, edge sense not working properly or similar things.
Here´s a thread that has more info about it: https://forum.xda-developers.com/pixel-3-xl/how-to/android-10-sensors-bug-t3964904
This also caused seemingly in a random fashion issues with magisk modules not unpacking properly when you flash them via magisk manager.
I recommend everybody who faces symptoms of random issues, which they cannot explain, to completely nuke their device and flash a factory image with -w intact, as to complete set up the device from scratch.
This will wipe your whole phone, so backup videos, photos, music, apps and other stuff you don´t want to lose! 
 @jcmm11 and me were hunting this magisk bug for a week and it turned out it´s connected to the above mentioned issue, although it gets more prominent by the latest CAF - EAS changes, which are merged in my kernel. Probably due to the way tasks get handled a bit differently.
Please everybody keep this in mind, before reporting back.
Question: Upon flashing the kernel zip I got a message that there is an error with ramdisk. What to do?
Answer:
Procedure to fix the ramdisk issue:
The ramdisk error is now fixed. Please take a look at this post from @osm0sis for more information:
Big thanks to @osm0sis and @topjohnwu for everything at this point here! And everyone else that helped in the process!
Important:
What do you have to do to get finally rid of the ramdisk error?
1. Flash back a stock clean boot.img either for stock rom or the custom rom you´re on. (not a backup from some time ago, a clean stock boot.img)
Link to stock boot.img from Google´s december factory image for convenience
2. REDOWNLOAD(!) either magisk 18.0 or the latest canary directly from magisk manager and delete all old magisk zips on your device. (this is really important!)
3. Optional: Reinstall twrp.zip if you want to.
4. Flash the redownloaded magisk zip in TWRP
5. Flash my kernel either via TWRP, EXKM App or FKM App
6. Profit
Question: Is root preserved when flashing this kernel?
Answer: My kernel.zip keeps a device rooted by magisk rooted.
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
Gonna give this a go now. Thanks!
Sweet, thank you sir!
Sent from my Pixel 3 XL using Tapatalk
fsync toggle?
How much do the 3 and xl differ on kernel level?
Would this flash and work on the 3?
frewys said:
How much do the 3 and xl differ on kernel level?
Would this flash and work on the 3?
Click to expand...
Click to collapse
Working on mine
RE: " - Flashing the kernel will keep root ! "
Who had done the steps and ( then the pixel ) lived to see to see another happy day ?
( assuming magisk ( root ) is installed and and has been happy for days... )
turn security pin off, fastboot twrp_323 image, twrp the kernel zip, twrp the twrp_323 zip, reboot back into twrp, wipe the cache to see that the finger presses workie, boot to system, re-verify root is okay, buy the man a beer...
May I ask if you could add zram zstd from Pixel 2 XL ? It is a BIG improvement for ram management.
Gesendet von meinem Pixel 3 XL mit Tapatalk
frewys said:
How much do the 3 and xl differ on kernel level?
Would this flash and work on the 3?
Click to expand...
Click to collapse
Kernel is unified, the main difference is the display driver (ftm5 vs sec_touch)
virtyx said:
fsync toggle?
Click to expand...
Click to collapse
I can include it, but I recommend to leave it on. I know several people that suffered from corruption when something unexpected happened and their device shutting down.
I´ll include the toggle but leave fsync on by default, just like the wakelock blocker.
frewys said:
How much do the 3 and xl differ on kernel level?
Would this flash and work on the 3?
Click to expand...
Click to collapse
Chronzy said:
Working on mine
Click to expand...
Click to collapse
thanks for chiming in @frewys
also thanks for confirming it works on the regular pixel 3 too @Chronzy
old_fart said:
RE: " - Flashing the kernel will keep root ! "
Who had done the steps and ( then the pixel ) lived to see to see another happy day ?
( assuming magisk ( root ) is installed and and has been happy for days... )
turn security pin off, fastboot twrp_323 image, twrp the kernel zip, twrp the twrp_323 zip, reboot back into twrp, wipe the cache to see that the finger presses workie, boot to system, re-verify root is okay, buy the man a beer...
Click to expand...
Click to collapse
yeah it works I tested it.
In theory you can flash the kernel "on the go" without a computer and keep root via franco kernel manager. which is pretty handy.
although I only recommend to tinker with pixel phones when a computer is nearby and available. :good:
Komodoketavaran said:
May I ask if you could add zram zstd from Pixel 2 XL ? It is a BIG improvement for ram management.
Gesendet von meinem Pixel 3 XL mit Tapatalk
Click to expand...
Click to collapse
yes that´s one of the things I definitely wanted to try in the nearby future. it was my kernel that firstly introduced it on the pixel 2 xl but memory managment on my unit is not as bad as I saw in some reviews/videos.
Additionally I think the underlying cause, when Pixel 3 cannot hold more than 3 apps in background is a bit different than pixel 2 xl "just having 4gb of ram".
But I´m sure there is room for improvement. Just wanted to use the phone as it is to get a baseline of how it works before I start modifying all sort of stuff.
Freak07 said:
I can include it, but I recommend to leave it on. I know several people that suffered from corruption when something unexpected happened and their device shutting down.
I´ll include the toggle but leave fsync on by default, just like the wakelock blocker.
Click to expand...
Click to collapse
Thank you that'd be great
Freak07 said:
yeah it works I tested it.
In theory you can flash the kernel "on the go" without a computer and keep root via franco kernel manager. which is pretty handy.
although I only recommend to tinker with pixel phones when a computer is nearby and available. :good:
Click to expand...
Click to collapse
Can confirm it's working. I flashed with FK Kernel Manager. Root still intact, Magisk and all still installed.
Worked for me to flash try exkm
Root remainder. Was hoping the kernel would fix an issue with magisk not passing safety net whenever hit the check safety net. It asks me to download. I hit yes and then it fails immediately was like this on stock as well
That would be great. It is very bad on my unit.
On my P2XL there are nearly no redraws with your kernel
Freak07 said:
yes that´s one of the things I definitely wanted to try in the nearby future. it was my kernel that firstly introduced it on the pixel 2 xl but memory managment on my unit is not as bad as I saw in some reviews/videos.
Additionally I think the underlying cause, when Pixel 3 cannot hold more than 3 apps in background is a bit different than pixel 2 xl "just having 4gb of ram".
But I´m sure there is room for improvement. Just wanted to use the phone as it is to get a baseline of how it works before I start modifying all sort of stuff.
Click to expand...
Click to collapse
Gesendet von meinem Pixel 3 XL mit Tapatalk
old_fart said:
RE: " - Flashing the kernel will keep root ! "
Who had done the steps and ( then the pixel ) lived to see to see another happy day ?
( assuming magisk ( root ) is installed and and has been happy for days... )
turn security pin off, fastboot twrp_323 image, twrp the kernel zip, twrp the twrp_323 zip, reboot back into twrp, wipe the cache to see that the finger presses workie, boot to system, re-verify root is okay, buy the man a beer...
Click to expand...
Click to collapse
When I followed those steps my phone would only boot straight to twrp with no touch. Had to flash factory boot.img to get it back.

Categories

Resources