Branch 4.x only for Sammy ROMS 4.1.2 (CWM and TWRP)
Branch 5.x only for AOSP 4.2.2 (CWM & TWRP)
Branch 6.x only for AOSP 4.3.x (TWRP)
Branch 7.x only for AOSP 4.4.x (TWRP)
Branch 8.x only for AOSP 5..x (TWRP)
DEVELOPMENT STOPPED . APOLO WON'T WORK IN LATEST LP ROMS . MORE INFO
Apolo Configurator -> will be available in Google Play THIS
Apolo 8.0 Beta9
Beta 9
-initramfs updates
-zRam disabled
Beta 8:
- initramfs updated
- TWRP 2.8.5.0
Beta 7/7b:
- zRam enabled
- initramfs updated
Beta6:
- App2SD Fixed
- Wifi Toggle issues fixed
- Network issues fixed
Beta5:
- CM wifi issue fixed
- same initramfs for cm and omni (same kernel for all roms)
- charging animation fixed
- zzmoove updated to 1.0beta5
Beta4:
- Recovery TWRP updated to 2.8.5.0
- Updated initramfs to latest CM & OMNI
Beta3:
- Recovery TWRP updated to 2.8.3.0
- Governor zzmoove updated to 1.0 Beta4
- Fuse bug fix by @zeitferne (thanks to @Lanchon too)
- Charging Animation fixed (thanks to @Lysergic Acid)
Download Link
MIRROR
Apolo 7.3 (final version for kitkat)
- Governor zzmoove updated 1.0 Beta5 (thanks ZaneZam)
- TWRP Recovery 2.8.6.0 ("Reboot Bootloader" button fixed)
- SPEEDUP KEYRESUME (Faster wake up at power button and incoming call)
- Fixed fuse bug (thanks to @Lanchon)
Apolo 4.15b for SAMMY JB ROMS (Removed vibration interface compared with 4.15)
- Governor zzmoove updated to 1.0 beta 4
- Speedup keyresume (faster wake up)
- Governor Neox has come back (not included in beta )
- FPBug fix by @zeitferne & @Lanchon)
Download links in the usual section in this OPChangelog old Versions in Post #2
Features:
This kernel is mainly based in hardcore work (thank you to Hardcore :victory: for his great contributions). I have added undervolting (kind of phenomenal) and some additional features.
- CWM and TWRP recovery in Samsung. In AOSP I will use only TWRP in the future.
- No logs, no extra debugging
- install su, supersu in samsung. Support init.d and cifs
- Ondemand Tweaked by Hardcore
- Added some governors (specially tweaked slp and zzmoove)
- Scheduler changing enabled
- BLN enable (Since Apolo 4.5 BLNWW too)
- CRT-OFF enable
- Effective Underclock (max frequency limited)
- UV Interface for ARM (you can change voltages in ARM with external aplications)
- Kernel Includes frandom for using with CrossBreeder (I really recomend it, Thx idcrisis)
- No Overclock and no different CPU-GPU steps from stock (please don't ask me more about that, I won't add it)
Update Supersu (only sammy kernel, AOSP doesn't have supersu)
Choose normal update (not the other with CWM/TWRP). In case you chose the wrong option, you'll have a bootloop. Read the bootloop section in this OP to recover your system.
Undervolting
UV cannot damage your mobile phone, but it can make your device unsteady. It is important that you choose the right version for your mobile.
There are some Apolo versions depending on the UV used:
- Light (stock voltages)
- Regular (-50mV in ARM, internals)
- Extreme (3 versions, you can try to see what versión is better for your battery life): in JB system chooses among the different steps available inside the kernel (in internal and ARM), so depending what step is chosen, final voltages applied are different.
Regular and extreme has -50mv UV in GPU (others UV like bus, memory, video controller too). Light has stock voltages in GPU
I recommend you try regular version first. If there are no problems in two days (reboots or frozen screens) you can try extreme V0.
System changes voltages in some devices (new in JB). Android chooses among voltages included in kernel (8 steps in every frequency). I recommend not to change them in extrem versions.
More information and Voltages values:
Depending on the device, system changes voltages (in JB), choosing among voltages defined in the kernel source. It seems, system tries to choose the ideal ones for every device (taking into consideration internal and ARM voltages).
For each frequency, there are 8 posible voltages in the code (I call them steps). In ICS, system always chose 4th step for every frequency, but in JB it doesn't sometimes.
It happends with ARM voltages (you can see them in the configurator) and with internal voltages, so there are many possibilities
You can see ARM and Internal voltages in this pdf (it is in Spanish but I think you can understand it) :
VOLTAGES
So, it is not strange that configurator shows different values in two different devices with the same Apolo version. It simple, system has chosen different voltages steps. I recommend you don't pay too much attention to this, it is not important, indeed system try to be stable choosing different values.
Tips
- TWRP and CWM Backups are not compatibles between them, so you need the suitable version to restore your backups.
- I recommend OBackup. Great application for making backups in Android itself (it supports TWRP and CWM).
- Not always less voltages means better battery life, it depends on your device. The only way is testing every version and please start with Regular or Light version
- Deep Sleep problems sometimes is caused by undervolting. If your system doesn't enter in deep sleep and it is not because of any application , install regular or light version.
- It is not the same, lower ARM voltages with an external APP (for example Apolo Configurator) and change Apolo version (V2,V1,V0 or regular) because there are more voltajes involved (not only ARM)
- If you want to turn off the leds always (when you touch tactile buttons), you have to use Apolo Configurator, otherwise (if you use only Samsung settings) your leds will turn on when you turn on the screen.
- If your system doesn't boot due to wrong Voltages, flash this in recovery : download zip
- Acess to internal sd in TWRP recovery :
(Up a level )
then go to
"emmc"
that's your internal sd
- Recommended wipe Cache and Dalvik after changing any kernel (it is not mandatory but it is a good custom)
- To increase sound volume use mods like Viper or appications like Alsa Mixer or Vodoo louder in play store
Enable logs in TWRP and v7 : Create a file in "/data" named ".enable_logs" and reboot.
¿In kit kat, should I use CM version or Omni version?
Just see if your ROM has superuser included (I mean if you can gain root just enabling it in developer options). In that case you should use CM version. If your ROM needs supersu to manage the root, install omni version.
Bugs
- Battery Animation doesn't work when phoes is off
There is a workaround. Thanks to @It_ler : http://forum.xda-developers.com/showpost.php?p=43244090&postcount=1250
- S2W doesn't work after rebooting.
It's because this S2W bug: "When the phone is booting, if the screen is off in the exactly moment the script is changing the S2W setting, the screen will not respond any longer and you have to reboot."
To avoid it, increase the screen timeout. Another solution is to keep the screen on, while the phone is starting until android had started completely and you can be sure that the script has been applied (more than a minute because the script has 60 seconds of delay).
- If BLN y/o WIFI doesn't work in kit kat ROMS (maybe it can help in other bases too)
If test button works in Apolo Configurator check if in your Android Settings- Display there's something related to notifications led or Notifications light
or review
Rom settings (name depends on the ROM) - Active display must be disabled, otherwise BLN won´t work
If BLN test or wifi doesn't work, try this:
- Remove Apolo folder in /system (if folder exists)
- Go to Recovery
- Wipe Cache
- Flash Apolo
- Wipe cache again
- Reboot
- Avast doesn't work with Apolo, if you can't live without it, use other kernel, sorry
- Bootloops: it doesn't happend very often but it can happend in JB if there is something corrupt in partitions. Posible solutions:
1) Try to enter to recovery. Press vol up, Home button and Power button at the same time until the device enters into recovery (system can restart 2 or 3 times, but don't release buttons). Then wipe cache and dalvik and reboot.
2a) if 1) didn't work, enter into download mode and flash light TWRP version if you had CWM. Wipe cache and Dalvik and reinstall CWM if you wish.
2b) if TWRP didn't work or you had TWRP version already, flash last PhilZ kernel (thx to Phil3759), enter into Philz recovery and wipe cache and Dalvik. Then reinstall Apolo.
3) if nothing worked, try to reinstall your ROM without wipe data and wipe cache and Dalvik
4) wipe data (you will loose all your application and configurations)
5) reinstall with odin stock ROM WITH repartition (pit file). Then install Apolo and reinstall your custom ROM.
- Sometimes when you reboot your device, your battery seems to drop a lot (it is not real).
To recover your old battery percentage, plug in your device and reboot into recovery. Check your battery level in the recovery, if it is correct, reboot (solved).
If it is not, reboot into recovery again (in CWM advanced - reboot into recovery, in TWRP reboot - recovery). It should be solved.
This issue never happens if you reboot your device while is charging, so I recommend you plug in your device before rebooting (if you can do it)
If you can't plug in your device, don't reboot if you can avoid it
- AOSP: Recommended installation procedure for 4.3 ROMS (stuck in the second boot) Read post 3
- AOSP: Restoring backups changing ROM base (stuck in the second reboot), Read post 3
Download Kernel
Mirror
Installation (you can install Apolo through CWM or TWRP recovery, it doesn't matter)
- Use a kernel cleaning script before installing (for instance Gs2KernelWipe thanks to hawkerpaul, but you can use other)
- .zip : install in custom recovery
- .tar : install in PC with odin (windows) or heimdall (linux)
Apolo Configurator (Available in Google Play again HERE)
I've developed a multilanguage application (Spanish, English, Italian, Catalan, Gallego, Russian and Turkish).You can change governor and scheduler, set ARM undervolting, configure BLN, BLNWW and S2W and set brightness curve:
I extremely recommend you read the Apolo Configurator Manual : Apolo Configurator Manual
My recommendation about scheduler/governor (it's only my opinion, maybe yours can be different)
- You can find 3 defined profiles in Apolo Configurator (performance, balanced and battery saving) based in noop/slp. I have changed parameters to achive the profile goals.
- Another good combination is noop/zzmoove
THANKS
- Hardcore for his fabulous kernel speedmod
- Thx to great :goodhil3759 (he helped me to build the CWM recovery and let me use his recovery in the new Apolo versions) Please, visit his great job here
- Thx to jeboo for his great kernel and for let me use his TWRP recovery :good:
- Thx gokhanmoral , great master. Most advanced features come from him
- Thx dorimanx for his great kernel and sources
- fenomeno83 for his idea and help when I started
- Thx mialwe for his great "smoove" governor (base of zzmoove) and ZaneZam for keeping it alive with the zzmoove.
- Chainfire for CF-Root, CWM Manager, etc, etc
- Thx sk8erwitskil, myfluxi, Talustus for recovery sources
- Thx to Devil_1210 for his help building the ICS kernel
- Thx to my betas for their help and ideas and much more: Broquen, Garrapatero123, Palleiro, Doomper, partisano, 666roi666 , Gordon320, nrg86
- Many thanks to @daga69 for giving me a S2 and keep this kernel alive
- Thanks to @rrgrrg for the Configurator icon.
(for sure I forgot more people, I hope they forgive me)
Donors: :laugh:
Axel 11, manuelmagix, K-a-M-u-Z-u, elbanzai,Zytrel, bkraptor,Shadowrun1,rogers11,LarsX,Andreas75k,espirito-livre, dsp26, gumsle, karpfenhai,
Andreas75k (Yes again ), metalgearhathaway
Thanksssss a lot ¡¡ :highfive::victory::good:
If you see something that you cannot understand or it is not correct (my English is far away from perfect ) please let me know
If you want to translate the Apolo Configurator to other lenguages, please tell me
Thanks to @lejarton, @Maxximo88, @stelistcristi,@Gordon320, @nrg86, @Palleiro, @Partisano, @Broquen and @nhmanasfor their translations
Enjoy ¡¡
Apolo source code
CHANGELOG OLD VERSIONS
Apolo 7.1 (for kitkat ROMS, 4.4.x)
- Recovery TWRP updated to 2.7.1.0
- Mali drivers updated
- zzmoove updated to 0.9beta3 (thanks to ZaneZam)
- rebuilt cypress (maybe helps with BLN errors in some devices)
----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
Apolo 7.0b for kit kat, 6.3 for 4.3.x ROMS (TWRP recoverys) and Apolo 4.14 for stock ROMS (CWM & TWRP recoverys)
Changelog All bases (7.0b & 4.14 & 6.3):
- New zzmoove 0.8 (thx ZaneZam Link )
For kitkat (Apolo 7.0b & 6.3 TWRP):
- Fixed second core bug that affected some governors
- Pac-Rom support
- TWRP updated to 2.7.0.0 (it doesn't work fine in stock roms 4.1.2 (bootloops issue), so if you want to go back to sammy roms from kitkat, install first 4.14 and reboot in recovery and install from Apolo 4.14 recovery)
Remember that 6.3 comes with new mali drivers. If you see your screen off when you start your system, you must flash this through recovery.
----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
Apolo 4.13 (SAMMY) & 6.2b (AOSP 4.3.1)
Both (SAMMY and AOSP):
- Linux updated to 3.0.101
- Updated row scheduler
- Added bfq scheduler
- Removed MDNIE Sharpness by Hardcore (no mor problems with mdnie scenarios)
- Initramfs improved
6.2b ONLY:
- GPU an Screen drivers updated (r3p2+s3cfb)
- Wifi drivers updated to 1.61.58
WARNING: 6.2b version only with mali r3p2+s3cfb.
If your ROM is mali v2 (old drivers) you have to update some libs (otherwise, black screen). You can do it with this zip (flash in recovery):
https://copy.com/reo37Z4KqLVhU1S2
The zip will change some libs in ROM, so if you want to go back, you'll have to flash the ROM again without wipes
----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
Apolo beta kitkat (Android 4.4 CM and OMNI-SlimKat)
- Beta 3 ONLY for OMNI ROMs: Solves the issue installing some application in latest nightlies
- Beta 2/2b for CM ROMs:
Only with mali v3. Works with new CM bases (4.4.2) .Thanks Karpfenhai for your help testing it
- Fixed battery settings
- CWM stock recovery (restores fine)
- Last changes (like 6.2)
If you suffer issues with the battery indicator, please change to beta2 or beta2b (depending on what kernel had the issue)
- For Omni ROMS there is a beta2 (same changelog) with TWRP recovery
For SLIMKAT 4.4.2 ROMs you should use Apolo beta2b for CM.
If you use omni version in CM ROMS (don't recommended because you will loose root) don't forget to download supersu and update binary BEFORE flashing Apolo kernel (otherwise you'll have a bootloop).Thanks to @Shahan_mik3 and @EricCartmanez for the information.
-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
Apolo Beta 3 FOR CM KITKAT (4.4.2) ROMS
- Solves the issue in (FC in phone) in latests nightlies
- Fix the bug moving big files to external sd (CREDITS TO GUSTAVO)
It was a lot of work, headaches, and semibricksssss so ENJOY IT¡¡
----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
Apolo versions 4.12, 5.1, 6.1
For all bases:
- Reverted the stupid android_secure change I did in last kernel
- Added new governor Neox
- Added MyFluxi sound interface (to control it you'll need to use the new Apolo configurator 5.0)
- Fixed mdnie in the camera with mdnie sharpness disabled
Only For 5.1:
- Fixed vibration control
Only For 6.1:
- Added support for framework-2.jar
- Fixed com.android.phone FC in latest releases
---------------------------------------------------------------------------------------------------------------------------------------------
Apolo 5.0 & 6.0 (AOSP ROMS)
5.0 (AOSP ROMS 4.2.2):
- TWRP version fixed (bluetooth) and updated to 2.6.3
6.0 (AOSP ROMS 4.3 and 4.3.1):
- Initramfs improved
- Fixed booting for latest Pacman ROMS (4.3.1)
- TWRP version fixed (bluetooth) and updated to 2.6.3
- Vibration Control enabled
----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------Apolo 4.11 (Sammy only)
- zzmoove updated to 0.7d
- Backup and restore Android_secure fixed
----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
Apolo 5.0 & 6.0 (AOSPs Version)
- Base: smdk4412 by cyanogenmod
- Same tweaks as Apolo JB 4.x
- zzmoove updated to 0.7d
- Backup and Restore of Android_secure solved (thx dorimanx)
- Fully compatible with Apolo Configurator
----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
Apolo 4.10 (Sammy ROMS)
- Added brightness curve interface (credits to gokhanmoral) It will be necessary to use new Apolo Configurator 4.0 to configure the brightness curve (available in Google Play).
- Exfat support in kernel and recoverys (CWM and TWRP)
- TWRP recovery updated to 2.6.1 (thx to the TWRP team)
- zzmoove updated to version 0.7c.(thx ZaneZam)
- su and supersu updated (thx chainfire)
----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
Apolo JB 4.9
- Slightly change in brightness levels (automatic brightness higher than 4.8)
- Wifi drivers updated (latest S4) thx dorimanx
- Pegasusq , sampling time set to 50000, instead 100000 (improvement listening music with bluetooth)
- Try to solve issue of charging animation with phone off (will see if it works)
- zzmoove updated to 0.6 and tweaked thx ZaneZam
- sio scheduler updated
- su, supersu updated
- Revert USB charging values to 450 mA by default (safety measure). Added charging interface, so since Apolo configurator 3.8b you will be able to change it.
----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
Apolo JB 4.8
- Bilingual CWM recovery(Spanish-English). Default: English (you can change language in Extras Apolo)
- Fixed toggle ctr-off in CWM recovery
- Default backup format set to tar in CWM
- Updated TWRP recovery to version 2.5 (Thx Jeboo for sources). Added Preload support.
- Two new minimum brightness levels in manual mode (lower than stock)
- Fixed init.d. Now kernel considers all scripts in /system/etc/init.d
- Fixed BLN test in Configurator
- Current for USB charging to 650 mA (same as wall charger)
----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
Apolo JB 4.7
- New Wifi Drivers from S4 (Thx dorimanx and codeworks)
- Added I/O Scheduler row (Thx Jeboo)
----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
Apolo JB 4.6
- Revert Linaro toolchain compiler to GCC 4.6.3
- New governor interactivex (thx dorimanx)
- New governor zzmoove tweaked by pedestre (I recommend this governor, it's great)
- Fixed bug flashing from recovery updates with Assert instruction (for instance modem zips)
- Updated su and supersu
- Fix Touchscreen Choppy using MXT224E chip(thx kgp700)
- New Apolo Configurator 3.2 (useful for activating and scheduling BLN and BLNWW, selecting governors and schedulers and much more ...). You can find it free in Google Play
----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
Apolo JB 4.5
- New interface with BLNWW, leds timeout and brightness and Slide to Wake (All the credits for gokhanmoral)
- New governor Intellidemand (thx dorimanx)
- New Apolo Configurator 3.0 (useful for activating BLN and BLNWW and much more ...). You can find it in Google Play free
INSTALLATION PROCEDURE FOR 4.3 / WIPING DATA ( if you are going to wipe data, skip 4,5 and 6)
In 4.4 is not necessary if you are using beta2,beta2b or beta3 (Omni or CM)
I don't know what the problem is (update: the problem is recovery) but if you follow this procedure (fresh install) you won't have any problem. If you install the rom right with Apolo, you may be stuck in the second reboot ?¿?¿
1- Install CM recovery (it is better install ROM with CM recovery). You can download it here
2- Advanced - Reboot in recovery (you will reboot in CM recovery , it is no a touch recovery, sorry)
3- Wipe data (and format system if you are going to install a new ROM)
4- Install ROM
5- Install gapps
6- Wipe data again
7- Boot system
7- Do the initial guided setup (wifi, gmail, etc) and install a couple of your apps
8- Reboot (it takes to boot a little longer than usual, even a couple of minutes)
9- After a successful second reboot, you can change the kernel to Apolo and you won't have any issue. It will always boot normally.
RESTORE ROMS IN AOSP ROMS (moving from 4.3 to 4.4 or from 4.4 to 4.3)
This issue only happends (AFAIK) when you change your base restoring the backup, for instance if you are in 4.4 and restoring a 4.3.1 backup. In my experience if you are in the same base, it works right.
You won't have any issue restoring roms in firs reboot, but you may be suffered the same issue (stuck in samsung logo) in second reboot, after restoring your backup. You can do your backups with Apolo, the issue is restoring, but I recommend you do your backups with OBackup App, because you don't need to reboot in recovery (you can do it in Android without rebooting)
If you want to restore your backups successfully I recommend you first change the kernel to CM kernel and then restore your backup:
SAFE PROCEDURE TO RESTORE BACKUPS
1- Reboot in recovery
2- Install CM recovery download
3- Advanced- Reboot in recovery
4- In CM recovery : Restore your backup
5- Reboot and everything will be fine
And more
Greetings!!!
YES! Finally Apolo by Pedestre here!!!
WELCOME :victory:
Kernel rocks
And CWM in english now?
Ooooh goood
I follow your kernel on an Italian forum, and it's quite popular.. just because your kernel is waaaaay good :thumbup:
Welcome to Xda mate! I hope a lot of people will enjoy your work
WarcoLLapsE said:
YES! Finally Apolo by Pedestre here!!!
WELCOME :victory:
Kernel rocks
And CWM in english now?
Click to expand...
Click to collapse
Thanks ¡¡
No plans , too much work translating and maintaining two CWM recoverys, but I wouldn't mind to include any English CWM recovery if somebody let me use it (as I did with TWRP from Jeboo)
finally on xda!!
Thank you for having implemented the zzmoove:thumbup:
my results with this amazing kernel .....
only wifi - no games/no 3G/no BLN/no Slide2wake, Tapatalk, internet browser, youtube + 2h to music on headphones....
Spoiler
{
"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"
}
Spoiler
Phone: SGS2
Inviato da: Tapatalk 2
Rom: NeatROM 4.7 LITE XWLSS
Kernel:Apolo 4.6 v0 ←testing-
Modem: XXMS2
Battery: Stock 1650mAh
SD Ext. : 32Gb class 10
Inviato dal mio supermuletto :tank:
Thank you very much for your work Pedestre. Glad to see you here too. Good Luck. Regards
Enviado desde mi GT-I9100 usando Tapatalk 2
vitalianoleone said:
finally on xda!!
Click to expand...
Click to collapse
+1
Just added this kernel thread to my kernels-to-test list of my kernel test thread.
Hope that latest light version will run stable on my phone, as I had some FCs and SODs on previous regular version.
Thanks pedestre! Great kernel and best person. :thumbup:
It_ler said:
+1
Just added this kernel thread to my kernels-to-test list of my kernel test thread.
Hope that latest light version will run stable on my phone, as I had some FCs and SODs on previous regular version.
Click to expand...
Click to collapse
FCs and SODs are tipical undervolting issues. Light version has stock voltages, I hope you don't have any problem
Your mobile must be delicate with undervolting; most devices don't experience any issue with regular version.
Thanks for added Apolo to your kernel list. Great job testing ¡¡
My results
Spoiler
Phone: SGS2
Inviato da: Tapatalk 2
Rom: NeatROM 4.7 LITE XWLSS
Kernel: Apolo 4.6 v0 ←testing-
Modem: XXMS2
Battery: Stock 1650mAh
SD Ext. : 32Gb class 10
Inviato dal mio supermuletto :tank:
Thanks !!
Let's try 4.6
Nice to see you here pedestre, tnx a lot for your work!
What a tremendous job man!! Works great with AllianceROM!! Thx
Welcome master. Great job. Best kernel ever.
Yeah! Finally on xda! I'm sure that philz will let you use his recovery!
Inviato dal mio GT-I9100 con Tapatalk 2
Glad to see you around here
I will help you as much as I can
Related
First,a huge thanks to Gokhan Moral for giving me permission to use his initramfs.
{
"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"
}
(current version SpeedWizz kernel ICS 4.2 stable)
WARNING: FROM THE LATEST VERSION 4.1 BETA2 IT SHOULD WORK WITH MORE PLATFORM, PLEASE READ CHANGELOGS IN SECOND POST FOR DETAILS
Compiled with Linaro toolchain 4.7 (08-2012)
Samsung opensource based update7
Dual boot (and still only between samsung rom) by gokhan moral
Linux version 3.0.40
rooted with supersu (chainfire), if the rom is already rooted kernel will not overwrite your application Superuser
Busybox 1.20.2 cm full
SpeedMod patch K3-31 (partially used)
NO BUG MMC_CAP_ERASE - it's safe to perform all wipe operations from recovery
Tunderbolt Tweaks
Automatic backup of your EFS partition
stable
All logs off for greater rapidity
Undervolting (use Voltage control or similar)
overclocking
Step frequency 100-1400 MHz
Default 200-1200 MHz
BLN - the kernel will automatically install the appropriate libraries
CWM manager apk
Voodoo louder support
DVFS disabled
Available governors: ondemand, pegasusq (default), lionheart, interactive, smartass, conservstive, performance, powersave, userspace
init.d support: fixed bug DVFS script on boot
I / O schedulers: CFQ (default), noop, Deadline
governor pegasusq optimized for dual core (by gokhanmoral)
ondemand governor tweaks (by hardcore)
bootanimation support (system / media or data / local)
touch recovery based on CWM 6.0.1.2 of Siyah (by gokhanmoral)
touch sensivity fix
recovery fstab fix
lowers the voltage of some devices to improve battery life (AMOLED screen, touch panel, gpu)
insecure kernel
ZRAM and SWAP support
Click to expand...
Click to collapse
ZRAM USAGE:
As stated in changelogs since the 4.2 stable version this driver is activated by default. To see how it's running you can use adb or terminal emulator: type
Code:
free
and you'll see swap paging.
To deactivate at next boot: you need a root explorer (i suggest ES File manager, free on playstore) and create a new file called ".noswap" in system folder, reboot and zram will not longer work. To reactivate delete the file above and reboot again.
Click to expand...
Click to collapse
Speedwizz kernel Source code on GitHUB
Click to expand...
Click to collapse
Speedwizz KERNEL ICS 4.2 stable
Note: Users of SpeedWizz II (if anyone left ) can use the app to download the OTA content.
Click to expand...
Click to collapse
The kernel can be installed from recovery CWM or by using Odin.
If you download the zip version of CWM reboot into recovery and select install zip from sd card. Reboot and enjoy!
If you download the Tar archive, reboot your device in download mode. Start Odin as administrator (if you use Winblows 7 or Vista) and select PDA. Choose the tar archive and connect the device. Click on start and wait the magic, then remove the cable when the device restarts. Now you can enjoy ..
Click to expand...
Click to collapse
I am not responsible for damage caused by flash the kernel or to damage caused by YOUR negligence in performing editing operations of the terminal.
This kernel, although based on the samsung official sources, it is not an official binary and as such will be recognized by bootloader: that means by installing it you have lost your warranty.
We are adults and vaccinated and are conscious of what we do, if you're not or you have any doubt, DO NOT flashate do this nor any other kernel.
Click to expand...
Click to collapse
- Gokhanmoral
- Hardcore
- myfluxxy
- Tungstwenty
- Phil3750
- DarhamManiar (bln)
- Simone201
- Sakuamilk (github)
- Fenomeno83
- Malo2000
- Jacocaj
- Mondman
- Enigmisth
- XDA
- Androidiani
Click to expand...
Click to collapse
That is the history of speedwizz kernel, as well as to help out because reading a changelog is always good thing, in this case serves as a reminder to me ...
I started with a good base kernel (SpeedMod for the hardcore) but virtually stripped of all the features we are used to, even the most simple (eg bootanimation) .
I can guarantee that for a noob like me has been (and will continue to be) a tough battle ....... Huge thanks to all the developers, i am learning so much from you.
Changelog Latest version 4.2 stable build
(from version 4.1 beta2)
- New configuration file: speedwizz_defconfig
totally abandoned def_config derived from SpeedMod, the kernel continues on its path already since several versions before this
- Updated the cross-compiler to Linaro Toolchain 4.7 (08-2012)
The result is a general optimization of the code which results in less consumption of resources and greater stability.
Seeing is believing.
- This build fixes several compilation warnings and for several I mean about thirty
the warning message is a message from the compiler, it is not a fatal error (in fact, the compilation went fine) and if it's about an uninitialized function can sometimes affect the stability of a program (the kernel is a set of programs written mostly in C language) .
Most of the warnings that have at compile time are caused by variables or functions not used.
Obviously, the biggest advantage in NOT have this kind of warnings is that less code "dead" is inside a kernel than fewer resources will use the kernel to perform their tasks and the kernel will be more powerful in terms of fluidity and stability.
In any case i will consider a warning as a bug (generally speaking) even if minor, or even if it is not perceptible by the user.
- Added NSTools
You can use this app to configure all the parameters that are managed by the user, OC, UV, BLN, startup scripts, etc. ..
- Improved support to init.d
Now you will create a special folder init.d if it is not present in the rom (as in the case of the stock rom), if it exists this will not be touched and will be activated only support to run parts.
- Cleaned up some scripts in the initramfs
many things were unnecessary and linked to the use of extweaks (since the initramfs kernel are derived from Siyah kernel), which as you know is not supported by the kernel
- Added support to form Zram and Swaps
Enabled by default but can be disabled by the user through simple instructions.
The use of zram is to use a portion of RAM allocated compressed in a single device, in the specific case of this kernel with a capacity of 300mb and allocated in the ram itself, with a compression ratio of about 50%, for a total of about a gig of ram total between real and tablet.
The main advantage consists in maintaining applications in cache (non-active) for a period longer than normal, with a consequent advantage in the experience multitasking.
Click to expand...
Click to collapse
Changelog Latest version 4.1 beta2
(from version 4.0)
- Improved support for the following categories of Rom (this list includes only those in which the kernel has been tested for a long time, I suggest you proceed with caution, however, since it is a beta version)
1. ICS 4.0.4 Samsung
2. ICS 4.0.4 AOSP (CyanogenMod 9 - AOKP)
3. ICS 4.0.4 MIUI
4. JellyBean 4.1.1
All credits for this to Gokhanmoral, without his initramfs this was not possible!
- Fixed the autorotation bug on AOSP roms
- Modified (and fixed) the install script that caused trouble (severe) at boot: the ROM AOSP did not install the root of it (fortunately do not need it), it cwm manager.apk and even libraries for the BLN
- Fixed the driver cypress-touchkey.c for the proper functioning key illumination touch with AOSP rom and its function BLN.
- Fixed some warnings from the cross compiler
Click to expand...
Click to collapse
Changelog SpeedWizz Kernel ICS version 4.0
(from version 3.2)
- Dual Boot (by gokhanmoral) but only using samsung rom 4.0.4
- More frequency steps now 100-200-500-800-1000-1200-1300-1400 mhz
- Default frequency 200 (min) - 1200 (max)
- Added BLN support
- New initramfs (from siyah 4.1.5)
- Touch recovery from Siyah 6.0.1.2 (by gokhanmoral)
- Tunderbolts scirpt tweaks (credits for the script to the autor, but the way i used is from siyah initramfs)
- Fixed some compiler warnings
- Updated busybox (1.20.2 cm version)
- Added CWM manager apk (fixed some incompatibility issues)
- Automatically backup of efs partition (from siyah initramfs)
Click to expand...
Click to collapse
Changelog SpeedWizz Kernel ICS 3.2
(from version 3.1)
- Added Overclock
- Added Undervolt Module (use Voltage Control)
- Touch recovery 5.8.1.5
- DVFS disable
- Fixed init.d support
- Frequency steps 200 - 1400 mhz
- Pegasusq governor tweaked (by Gokhan Moral)
Click to expand...
Click to collapse
Changelog SpeedWizz Kernel ICS 3.1
(from version 2.3)
- Reorganized the work directory to get a job to clean up
- Implemented the new patch of Hardcore (SpeedMod from K3-31)
- Minor bug fixes and minor tweaks
- Obviously kept the features added so far
- Removed all Undervolt to restore stability to the kernel and make it accessible from all devices
- (3.0 => 3.1) update the version of Linux kernel 3.0.15 to 3.0.40_rc1: the main change lies in optimizing file system dell'ext4
Click to expand...
Click to collapse
Changelog SpeedWizz Kernel ICS 2.3
(from version 2.2)
- Added full support to the bootanimation, it can be placed either in data / local and in system / media
- After reviewing all Undervolt of all sectors, in an attempt to make the kernel accessible to all devices and not only to some
- Fixed a minor problem with the root, which in some cases led to bootloop with some rom
Click to expand...
Click to collapse
Changelog SpeedWizz Kernel ICS 2.2
(from version 2.1)
- Undervolted many parts of the drivers
1. cPU internal
2. internal bus
3. Mali 400 voltages
4. screen voltages
5. touch panel
- Added compatibility with the CWM app manager Default.prop
from now on you can use it to its full potential.
- Switch set to the kernel ro.secure = 0 (adb shell commands as root) default.prop
The Undervolt when we say we are average (not aggressive) and everything works like a charm!
Click to expand...
Click to collapse
Changelog SpeedWizz Kernel ICS 2.1
(from version 2.0)
- Fixed the recovery__swapped partitions to prevent the recovery exchanges the internal with the external sd
- The following governors
1. pegasusQ
2. adaptive
3. interactive
4. conservative
5. userspace
6. powersave
7. ondemand
8. performance
- Maintained as the default ondemand governor
Click to expand...
Click to collapse
Changelog SpeedWizz Kernel ICS 2.0
(from version 1.0)
- Added support for Android 4.0.4
- Movhisty fix
- Patched _removed mmc cap erase KERNEL IS SAFE
- Implemented the patch of hardcore - root with superuser
- Cwm 5.0 for the time
- Voodoo louder working
- FM radio working
Click to expand...
Click to collapse
DOWNLOAD KERNEL 4.0.3
SpeedWizz Kernel ICS 1.0
Click to expand...
Click to collapse
Initial Release
Reserved too...
Mmmmhhh are you going to add aosp compatibility?
GhiGo65 said:
Mmmmhhh are you going to add aosp compatibility?
Click to expand...
Click to collapse
Yes... I am working on it.
Inviato dal mio GT-I9100 con Tapatalk 2
What's about battery
a0007 said:
What's about battery
Click to expand...
Click to collapse
Good life... I'm testing now
I like it!
Sent from my GT-I9100 using Tapatalk 2
He returns from the dead, hahahah
Too good this new kernel.
Performing the test since launch, super stable and battery consumption above average.
I just have a question, what is the best program to control compatible kernel.
I used Voltage control, but would like to use some other better if any??
Thanks Umberto
setimo said:
He returns from the dead, hahahah
Too good this new kernel.
Performing the test since launch, super stable and battery consumption above average.
I just have a question, what is the best program to control compatible kernel.
I used Voltage control, but would like to use some other better if any??
Thanks Umberto
Click to expand...
Click to collapse
OMG! I have started to cry reading this post, FINALLY someone brave enough to give this kernel a shot! Well done bro! Enjoy....
Ehm, seriusly, if you want you can use Nstools as well (and better): can control all the parameters that kernel provide plus it is a good alternative to BLN pro (to set the lost call service when enabled BLN)
Try and report, please
Ps.: you are welcome, my friend..
umberto1978 said:
OMG! I have started to cry reading this post, FINALLY someone brave enough to give this kernel a shot! Well done bro! Enjoy....
Ehm, seriusly, if you want you can use Nstools as well (and better): can control all the parameters that kernel provide plus it is a good alternative to BLN pro (to set the lost call service when enabled BLN)
Try and report, please
Ps.: you are welcome, my friend..
Click to expand...
Click to collapse
I'll test as soon as possible and already put the result and the final considerations, rsr.
Umberto, I noticed something in your kernel, it is not compatible with the application Away Triangle, because I tried to use the application with the same Kernel and does not work.
Now I do not know if it's the version of the kernel, or the Triangle Away works only with Syah Kernel.
I'm going to this friend, I need to get back to business, I need to have a meeting with my team.
EDIT:
Although not as experienced as the settings and use the Kernel, the app is very good NSTOOL with the kernel.
A friend here in Brazil told me about Rom Toolbox, I will also try and see what happens, lol.
hugs
Ur kernel is best. I love it!
Sent from my GT-I9100 using Tapatalk 2
setimo said:
I'll test as soon as possible and already put the result and the final considerations, rsr.
Umberto, I noticed something in your kernel, it is not compatible with the application Away Triangle, because I tried to use the application with the same Kernel and does not work.
Now I do not know if it's the version of the kernel, or the Triangle Away works only with Syah Kernel.
I'm going to this friend, I need to get back to business, I need to have a meeting with my team.
hugs
Click to expand...
Click to collapse
Mmmmhhhh... Strange.
Kernel should support TA. If not this mean that some of the most recent
Changes have breaked some thing.
I will investigate and repair asap.
For now you can use a compatible kernel like siyah, remove the triangle then if you want can flash speedwizz kernel using recovery, without increment counter and triangle.
Good life.
Inviato dal mio GT-I9100 con Tapatalk 2
umberto1978 said:
Mmmmhhhh... Strange.
Kernel should support TA. If not this mean that some of the most recent
Changes have breaked some thing.
I will investigate and repair asap.
For now you can use a compatible kernel like siyah, remove the triangle then if you want can flash speedwizz kernel using recovery, without increment counter and triangle.
Good life.
Inviato dal mio GT-I9100 con Tapatalk 2
Click to expand...
Click to collapse
Just as I did, I put Syah, removed the triangle and went back to Speed kernel 4.0, because I'm loving the performance of this new kernel.
I enjoyed seeing you again on your project developed, even if not with the whole of your time, but I was happy.
hugs brother
A new version is available for test, kernel now support multi rom, but DOESN'T BOOT WITH JB 4.1.2 (due to new mali driver).
For details before you use it see the first page or my blog.
Enjoy.
I'll update.
Enviado de meu GT-I9100 usando o Tapatalk 2
Ok, after a few days i can say this kernel is very Good... No lag, no bug and dual works perfectly.
:thumbup:
^
... i will wait for the final version.
:fingers-crossed:
Umberto, as passed halloween??
I had some small problems after they installed their latest version of the kernel, but do not know if that has something related.
My kid wont play Monster Life in Mobile, and soon after I installed the latest version of Kernel, I have noticed that the game crashes, having to turn off the phone and reconnects it, it has something to do with the kernel??
If helps, now make cleaning cache and davik too, and still have this problem sometimes
Hugs and great weekend.
setimo said:
Umberto, as passed halloween??
I had some small problems after they installed their latest version of the kernel, but do not know if that has something related.
My kid wont play Monster Life in Mobile, and soon after I installed the latest version of Kernel, I have noticed that the game crashes, having to turn off the phone and reconnects it, it has something to do with the kernel??
If helps, now make cleaning cache and davik too, and still have this problem sometimes
Hugs and great weekend.
Click to expand...
Click to collapse
If your problem is only with monster life I can tell you it is not kernel related: I've noticed that the crashes are reported as well in market comments.
Just if you are in doubt try with some other kernel and report, I can't try because I don't have a WiFi connection to download and play with it (around 115 mb if I am right).
Inviato dal mio GT-I9100 con Tapatalk 2
NEXT Kernel 1.0.0:
STOP! This kernel supports Custom KitKat Roms (e.g. OmniROM, SlimKat, CM 11.0), Custom JB 4.3.x Roms (e.g. CM 10.2) and Stock / Stockbased Roms!
It won't work on any AOSP Android 4.1.x or 4.2.x Custom Roms for now!
FOR NOW I FORBID ANYONE ELSE REUSE THIS STILL IN DEVELOPMENT DUAL BOOT PROJECT FOR HIS/HER OWN GALAXY S3 MINI PROJECT!
Sources:
https://github.com/andi34/android_kernel_samsung_golden
Dual-Boot Solution by @ketut.kumajaya, well known from Samsung Galaxy Tab 2 and Samsung Galaxy Tab 3 8.0
I/O Scheduler : noop | deadline | cfq | sio | sioplus | row | zen
Governor : Abyssplug | Ondemand | Interactive | Powersave | Performance | SmartassV2 | Sakuractive
based on latest Samsung OSRC for Samsung Golden (JB_Update2)
Linux kernel 3.0.101 version
Compiled with GCC 4.7
Open source Samsung exFAT included (v. 1.2.7)
Static BusyBox v1.21.1 in /sbin, android_reboot applet added (a quick but clean port from Android toolbox), swapon applet with priority option. Thanks to @ketut.kumajaya
"magic busybox" for Stock (based) 4.1 Roms: Ramdisk Busybox will overwrite busybox binary in
/system/bin or /system/xbin and save it as busybox.backup
Auto root on Stock (based) 4.1, but please download SuperSU from Google Play to update
Early boot scripts support
(/system/etc/init.d, /data/local/userinit.sh, and /data/local/userinit.d)
symlink /system/etc/wifi/bcmdhd_sta.bin_b2 to /system/etc/wifi/bcmdhd_sta.bin
to fix broken Wifi on Stock(based) Roms
SElinux Support
Known Problems:
Bootmenu
- Reboot into Recovery from main Bootmenu does not work
- Reboot into Bootloader from main Bootmenu only reboots normal
StockRom
- USB connection not working, charging works
- Wifi-Tethering not working on Stock / Stockbased Rom
Known fully working Roms
SlimKat by Android-Andi
OmniROM by golden-guy
VanirAOSP by Unjustified Dev
enox Stockbased Rom
Stock Light
Virginity v14
Selfcompiled CM 10.2.1 (based on CM 10.2.1 Stable Source)
Novafusion CM 11 & PAC (ext4 formatted!)
Novafusion CM 10.2 & PAC
Thanks To:
ketut.kumajaya - without you this would never be possible <3
gokhanmoral, Chainfire
@LuuchoRocha
@cocafe
OliverG96
DerTeufel1980
This part will be expanded. Most of the patches I applied are coded by someone else. Please remind me if I forget to give credits to anybody...
I am still learning each day, i learnd most stuff from our great Developer Ketut P. Kumajaya
- i think HE deserves a Beer instead donating to me ATM. If you like you can spend Ketut a beer using PayPal
Screenshots
{
"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"
}
XDA:DevDB Information
[golden] NEXT kernel, Kernel for the Samsung Galaxy S III Mini
Contributors
Android-Andi, ketut.kumajaya
Kernel Special Features:
Version Information
Status: Beta
Created 2014-08-12
Last Updated 2014-10-11
Downloads
All files attached
- NEXT Tool 0.2 to create a 2nd System Partition (system.img) - also included inside PhilZ Touch Blackhawk Recovery
- PhilZ Touch Blackhawk Recovery for Dual-Boot-Support
- NEXT Kernel
Since NEXT Kernel 1.5.4: download latest NEXT Kernel here
Older files for history still here attached!
Changelog
Code:
[U]11.10.2014[/U]
1.5.6 -> 1.6.0
- Utilized blkid further
- Autogenerated fstab adapted from NEXT Kernel for Samsung Galaxy Tab 3
- Initial F2FS Support (experimental)
[U]19.09.2014[/U]
Update dual boot tool 0.3
- Create 1.5 GB dynamic growth sparse image
- Ext4 formatting fix
- Free space calculation fix
1.5.5 -> 1.5.6
- fixes a warning in dmesg (sysfs: cannot create duplicate filename '/devices/virtual/switch/usb_audio')
[U]17.09.2014[/U]
1.5.4 -> 1.5.5
- get rid of DVFS limit without breaking Stock 4.1 or Android 4.3 / Android 4.4
thanks [user=5562153]@LuuchoRocha[/user] and [user=4832589]@cocafe[/user]
[U]16.09.2014[/U]
1.5.3 -> 1.5.4
- Android 4.3: added PAC Support
- Nintendo Wii Remote support (experimental, untested)
- cpufreq: turn all CPUs online when governor gets changed
[U]04.09.2014[/U]
1.5.1 -> 1.5.3
- "magic busybox" for Stock (based) 4.1 Roms: Ramdisk Busybox will overwrite busybox binary in
/system/bin or /system/xbin and save it as busybox.backup
- Auto root on Stock (based) 4.1, but please download SuperSU from Google Play to update
- Early boot scripts support
(/system/etc/init.d, /data/local/userinit.sh, and /data/local/userinit.d)
- symlink /system/etc/wifi/bcmdhd_sta.bin_b2 to /system/etc/wifi/bcmdhd_sta.bin
to fix broken Wifi on Stock(based) Roms
[u]01.09.2014[/u]
1.5.0 -> 1.5.1
fix broken Dual-Boot (because missing "tmp" folder inside ramdisk? also some file permissions fixed inside ramdisk)
1.4.0 -> 1.5.0
Upstream Kernel Changes to 3.0.101 - thanks a lot to @Fred6681 for fixing some know Problems after Upstream!
Build Xpad module (not tested if it is working)
Enabled DVFS Limit to make the Kernel boot on Stock and AOSP Roms
New Charger-Animation - thanks a lot to @daywalk3r666
[u]25.08.2014[/u]
1.3.1 -> 1.4.0
Initial CM 10.2 support
[u]22.08.2014[/u]
1.3.0 -> 1.3.1
Fix 800mhz bug, thanks to @Fred6681
1.2.0 -> 1.3.0
Updated Android 4.4 ramdisk: this will fix broken Wifi on Novafusion Roms / Roms based on Novafusion source
Build exFat as module
[u]20.08.2014[/u]
1.1.0 -> 1.2.0
Added Stock / Stock based 4.1 Support
More i/o scheduler: Added sioplus | row | zen
Compiled using GCC 4.7 again for better compatibility
Update LZO compression
arm/vfp: Makefile optimization
and some more....
1.0.5 -> 1.1.0
Fixed bootmenu flickering / blackscreen :) now the bootmenu is 100% visible
(Reboot-Recovery option from bootmenu not working, ends in kernel-panic,
reboot bootloader not working, it will normal reboot)
partially restore initial cm11 ramdisk
cleanup cm11 ramdisk
[U]19.08.2014[/U]
1.0.4 -> 1.0.5
Update permissions inside init.samsunggolden.rc,
set SELinux to permissive for now,
lzma compressed ramdisk
1.0.3 -> 1.0.4
Use Linaro 4.8 Toolchain
[U]18.08.2014[/U]
1.0.2 -> 1.0.3
Use Linaro 4.7-2013-04 Toolchain
[U]12.08.2014[/U]
1.0.1 -> 1.0.2
- fix an Superuser issue, added back init.superuser.rc
1.0.0 -> 1.0.1:
- fix "com.android.phone" crashed on Vanir Rom
1.0.0:
- initial release
How-To
Flash PhilZ Touch Blackhawk Recovery
Reboot into PhilZ Touch Blackhawk
Flash NEXT Kernel
Advanced Functions -> Run Aroma Dual Boot Tool
Create a 2nd System.img (choose 1 GB)
Reboot your recovery
Choose the 2nd Bootoption (it is flickering, black screen, just press the volume down key one time and press the power button).
Now the navigation buttons inside PhilZ Touch are RED
Flash a 2nd Rom (i tested my own SlimKat and @golden-guys OmniROM because they don't use F2FS)
Flash NEXT Kernel again
Reboot
Now you will see a Bootmenu (flicckering & blackscreen), you will see it short if you press the volume key,
first option = boot 1st Rom, second option = boot 2nd Rom
USE ON YOUR OWN RISK! MAKE A BACKUP BEFORE TRYING!
Reserved
Dual Boot FAQs
Adapted from @ketut.kumajaya s Dual-Boot FAQ,
original adapted from droidphile's "Dual Boot FAQs".
1. "Why would I wanna dual-boot?"
A. You don't have to.
You need one testing system and don't want to break your daylie Rom.
You can not decide between different Roms - use both
2. "What if I don't need dual booting?"
A. No issues. Kernel won't force to setup 2 roms. You can single boot as before.
3. "Will dual booting change my bootloader or do any dangerous stuff like setting my phone on fire?"
A. NO. Changes are at kernel and ramfs level only. Some space in your internal sd card is used, and also the unused hidden partition mmcblk0p24 is used to store cache of second rom. Dual booting doesn't repartition the filesystem or perform anything scary.
4. "I want to setup dual booting."
A. There are four situations:-
Prerequisites for any setup is
a) Flash latest blackhawk's NEXT kernel.
b) Flash latest Extended PhilZ Touch recovery: http://forum.xda-developers.com/showpost.php?p=54772218&postcount=2
c) Atleast 90% battery left.
d) 3 GB free on internal SD.
e) Some spare time
1) Present AOSP, setup AOSP as secondary:-
i) Reboot into recovery
ii) Select "Run Aroma Dual Boot Tool" in Advaced Menu, create system.img for CM/CM based ROM and then close it
iii) Reboot into secondary recovery (red on screen navigation buttons)
iv) Flash AOSP ROM as 2nd ROM
v) Flash blackhawk's NEXT kernel again
2) Present AOSP, setup aosp as primary:-
i) Reboot into recovery
ii) Nandroid backup your current sammy ROM
iii) Select "Run Aroma Dual Boot Tool" in Advaced Menu, create a 2nd system.img and then close it
iv) Reboot into secondary recovery (red on screen navigation buttons)
v) Nandroid restore your AOSP ROM as 2nd ROM
vi) Flash blackhawk's NEXT kernel again
vii) Reboot into primary recovery
viii) Flash AOSP ROM as 1st ROM
ix) Flash blackhawk's NEXT kernel again
5. "What things should I be taking care off while dealing with dual booting?"
A. - Make sure where you are: in primary or secondary recovery.
6. "How to boot into primary rom?"
A. AROMA based boot menu will help you on every boot.
7. "How to boot into secondary rom?"
A. AROMA based boot menu will help you on every boot.
8. "Is kernel partition shared?"
A. Yes. Same kernel boots both roms.
9. "If I flash another kernel (that doesn't support db) do I lose dual booting?"
A. Yes
10. "I lost dualbooting after flashing another kernel. I didn't do anything to second rom files in sdcard/.secondrom. How can I get db back?"
A. Just flash the latest blackhawk's NEXT kernel
11. "Will there be any performance degradation on the rom used as secondary compared to primary?"
A. NO
12. "Will my phone run slow overall because of db?"
A. NO
13. "How to flash a newer version of 1st rom?"
A. As usual, just flash it from primary recovery. Flash blackhawk's NEXT kernel again
14. "How to flash newer version of 2nd rom?"
A. Just flash it from secondary recovery. Flash blackhawk's NEXT kernel again
15. "Would upgrading 1st or second rom cause other rom to fail on boot?"
A. No. Partitions of other rom are not touched during upgrading.
16. "I miss the recovery I used before, so much.."
A. PhilZ Touch not bad at all.
17. "User apps of 1st rom are automatically available for second rom?"
A. NO. However, if you had backed them up using Titanium Backup or similar apps, just restore apps while on second rom.
18. "I wanna keep separate backup for apps in both the Roms, since I use one Rom for say entertainment and other productivity."
A. Setup different backup directory in Titanium Backup in 1st and 2nd rom.
19. "Do I need to anything special before flashing a newer blackhawk's NEXT kernel?"
A. NO. Just flash kernel in recovery - whichever you used to do. Kernel image is copied to the unified kernel partition
20. "How do I remove everything related to DB and run single boot again?"
A. In primary recovery, flash blackhawk's NEXT tool or "Run Aroma Dual Boot Tool" in Advaced Menu from PhilZ Touch Blackhawk and delete 2nd ROM system image. OR delete .secondrom directory in /data/media while on 1st Rom.
21. "If secondrom files are kept in /data/media, will wiping data in recovery erase second rom files?"
A. NO. /data/media is skipped in CWM recovery.
22. "I read somewhere that both rom data partition use the same space. Doesn't that mean my apps are shared across roms?"
A. NO. It just means they uses same partition. They're still different directories.
1st rom data = /data
2nd rom data = /data/media/.secondrom/data
23. "Will hitting "Boot into Secondary Recovery" in recovery boot menu change my recovery?"
A. NO. It just runs (not flash) an alternate recovery so that you can configure dualboot settings.
24. "How do I backup 1st Rom and 2nd Rom?"
A. To backup 1st Rom, do what you did to backup rom while you were single booting a while ago.
To backup 2nd Rom, use the secondary recovery.
25. "Is there an easier way for dual-boot?"
A. Yes, send your device to me.
26. "DB architecture?"
A. Like you know, every rom has a /data, /system, /cache partition and a kernel to boot.
For primary rom, it's
mmcblk0p25 = /data
mmcblk0p22 = /system
mmcblk0p23 = /cache
And these won't change whether you're single booting or dual booting.
For secondary rom, data and system is stored in internal sd, cache in hidden partition.
Note that internal sd in our device is mounted to /data/media.
We have data as a directory, System as an image in data/media/.secondrom.
Cache in mmcblk0p24 which is hidden partition and not used otherwise.
- When second rom is booting, second rom data is bind mounted to mmcblk0p25 as /data/
- data/media/.secondrom/system.img partition is mounted as /system.
- dev/block/mmcblk0p24 is mounted as /cache.
How to get important Logs
tonyp said:
The three most important log types are:
logcat: the logoutput of the Android system
radio logcat: the log outpur ot your System / BB / RIL communication
kernel log (kmsg / dmesg): the kernel messages
Additionally there's the last_kmsg which is a dump of the kernel log until the last shutdown.
Normal Logcat:
Code:
adb logcat -v time -d > logcat.log
Radio Logcat:
Code:
adb logcat -b radio -v time -d > logcat_radio.log
Note: Cyanogenmod (based) ROMs require the following setting to export kernel logs via adb:
Settings - Developer Options - Root access - choose: "Apps and ADB"
Kernel Log:
Code:
adb shell su -c dmesg > dmesg.log
Last_kmsg:
Code:
adb shell su -c "cat /proc/last_kmsg" > last_kmsg.log
Click to expand...
Click to collapse
More FAQs will be added and the list will be updated as DB is improved.
Wow!
another milestone in the S3 Mini history!
Keep it up bro :good:
Incredible!!
This will bring my two favorite ROMs on one device!! Unbelievable Till now, I thought it is possible only with linux lubuntu and ROM, like on my tab...
Thank you!
m.
This is amazing! Can we use roms like debloated stock with your roms?
Sent from my GT-I8190/Novafusion CM11
Don't you read the OP?!? Not for stock ROMs! And 4.4.x only!
m.
meduza2 said:
Don't you read the OP?!? Not for stock ROMs! And 4.4.x only!
m.
Click to expand...
Click to collapse
Ah missed that part! Thanks for pointing out.
Sent from my GT-I8190/Novafusion CM11
No worries
m.
heithered said:
This is amazing! Can we use roms like debloated stock with your roms?
Sent from my GT-I8190/Novafusion CM11
Click to expand...
Click to collapse
Will try to add Stock 4.1.2 support sometimes later.
Send from OnePlus One using Tapatalk
Android-Andi said:
Will try to add Stock 4.1.2 support sometimes later.
Send from OnePlus One using Tapatalk
Click to expand...
Click to collapse
Hey, this is a big deal. It is still awesome with or without stock support! Thanks for your awesome work!
Sent from my GT-I8190/Novafusion CM11
Well, just to leave an "Amazing work" as always:good:
great work.....dual boot with slimkat and omnirom works perfect.with vanir "com.android.phone" crashed
Top Job and faster as Nova!!!!
especially for you
@Android-Andi,
because of the world first dual boot for our s3mini, we created extra an info banner for you
Please have a look: Weltpremiere bei hubo.in
meduza, bodo_1, daywalksr666, kingg
Wow, you did it! That's so cool! Thanks a lot for this! ?
Simply awesome
It is incredible what AA made for our device.
But what is the sense of this mod?
I can use only one ROM at the same time.
Or am I wrong?
I am happy for explanations
The only idea i have:
First ROM for daily use
Second ROM for testing and replacing with different ROMs...
m.
moonryder said:
It is incredible what AA made for our device.
But what is the sense of this mod?
I can use only one ROM at the same time.
Or am I wrong?
I am happy for explanations
m.
Click to expand...
Click to collapse
you can load two roms to your phone.
at start up,you can choose either of 2 roms.
may be from recovery mode I think.
this is all what I know. hope I helped.
waiting for correction if I was wrong.
thanks and great work and much appreciation to Android Andi bro
@moonryder,
you could quickly boot one of your favorite ROMs or use the second boot partition for test ROMs....
m.
{
"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"
}
Unofficial DorimanX builds by Saber (formerly gsstudios)
Development has ended.
The Background:
DorimanX development has stopped for a while now. I've been a long term dorimanx user, but I felt that a lot of features need to be implemented into the kernel. As of a result, I decided to make my own personal builds! Please note that I'm no way as good as the master himself, Dorimanx, but I try to implement features to the best of my abilities. Also, I'm not going to be a proper maintainer of dorimanx kernel, this is just what I've done in my spare time.
If you have problems or if anything goes wrong, you need to reflash your current ROM to revert kernel.
The Mission:
To continue giving support for the much loved kernel. New features and additions will be added to improve flexibility and speed to the already amazing kernel. My goal is to improve DorimanX kernel as much as I can, without sacrificing stability.
DISCLAIMER:
ONLY FOR AOSP BASED ROMS
I'm not responsible for bricked devices or wrong version flashing
You are using this kernel at your own responsibility
——— !!!!!!!! YOU HAVE BEEN WARNED !!!!!!!! ———
FEATURES:
This kernel includes the following additional features over stock dorimanX kernel:
- CPU Governors: HYPER, Ondemand, pegasusQ, Intellidemand, neoX, darkness, nightmare, zzmoove, sleepy, conservative (Default: HYPER)
- IO Schedulers: ROW, Tripndroid, FIOPS, SIOPlus, BFQ, CFQ, Noop, ZEN, Deadline (Default: ZEN)
- TCP Algorithms: Cubic, Reno, BIC, Westwood, Highspeed, Hybla, HTCP, Vegas, Veno, Scalable, Lp, Yeah, Illinois (Default: Westwood)
- Built with Latest Linaro 4.9/UBER 6.1 Toolchains
- Built-in Stweaks profiles updated (All profiles suit needs for most people now)
- Trim support (Be careful if you have brickbug affected chip!)
- Updated FPBug/Musicbug fix is already included in this kernel!
- BLN and BLNWW support
- Updated Linux Kernel version to 3.15.0 stable!
- Freezefix is already included in this kernel!
- Isorec support
- Low Latency Audio bugfix is included in this kernel
- MDNIE mode and scenario tuning
- F2FS support
THINGS TO DO:
- Provide an actual fix for device off battery charging animation
- Allow users to dirty flash ROM to restore original kernel
- Fix cache partition wipe on Resurrection Remix ROM
THINGS I WILL NOT ADD:
- LZ4 Compression (Our Boot partition is way too small to support this)
- Useless CPU governors such as Userspace
- Colour tuning support (Unless someone helps me with this)
- Recovery version (Will only consider doing this if working on LP kernel)
- Higher thermal limits (We all know what happens if we do this)
- Higher overclocking/Lower underclocking capabilities (So you want less stability and more SODs?)
- Synapse support (Stweaks is the only app that can fully support this kernel)
- Linux Kernel version updates (My skills need to improve first before taking on something this big)
CREDITS:
Dorimanx (the real master of the kernel)
Gokhanmoral (Siyah Kernel)
Voku1987(This Kernel)
Alucard_24(This Kernel)
STANTRC(This Kernel)
Entropy512 (CyanogenMod)
Tungstwenty (On screen gestures addon)
Torvalds (Kernel 3.6.Y maintainer)
Computoncio (This Kernel)
cybernetus (This Kernel)
stelistcristi (Contents of this post)
chhapil (For helping me with all of the issues, thanks man)
Chet Kener (For UBER toolchain)
Christopher83 (For Linaro custom toolchain)
Lanchon (For TRIM fix and Isorec for Dorimanx)
Zeitferne (For FP Bug/Music Bug fix and freezefix)
Lysergic Acid (For CM12.1, source and fixes)
Realex-fire (Marshmallow support and kernel fixes)
DOWNLOAD:
Refer to third post
CHANGELOG:
Refer to second post
KERNEL SOURCE:
Source code of the kernel can be found here:
https://github.com/gsstudios/Dorimanx-SG2-I9100-Kernel
https://github.com/gsstudios/initramfs3
ISSUES:
- Users can not dirty flash ROM to restore original kernel
- Resurrection Remix users can not wipe cache partition as it will cause bootloops
- MM support limited to CM13 based roms
- LP support limited to CM12.1 based roms (Doesn't work with Slimsaber, SlimLP, Omni, Paranoid Android yet)
- If you reboot your phone, you may experience a large battery percentage drop.
- All dorimanx bugs
WHAT ROMS WORK WITH THE KERNEL:
So far, the kernel works with:
- Cyanogenmod 13
- Cyanogenmod 12.1
USEFUL LINKS
CPU Governor and I/O Scheduler Guide
DorimanX tuning guide
TCP Algorithm guide
HAVING PROBLEMS?
Read post 4 before posting questions!
GOT QUESTIONS?
Click here for Q&A Thread
HOW TO FLASH?
Check the troubleshooting guide
XDA:DevDB Information
DorimanX kernel for LP and MM by Saber, Kernel for the Samsung Galaxy S II
Contributors
gsstudios
Source Code: https://github.com/gsstudios/Dorimanx-SG2-I9100-Kernel
Kernel Special Features: See post #1
Version Information
Status: No Longer Updated
Current Stable Version: 12.0b013
Stable Release Date: 2017-01-14
Current Beta Version: 12.0b011
Beta Release Date: 2016-08-07
Created 2015-06-29
Last Updated 2017-01-13
Changelogs:
--UNRELEASED VERSIONS (KERNEL UNDER TEST) --
For live changelogs, see my github: Github Link
Code:
[FONT="Arial"][COLOR="Red"]Development has been stopped. No more builds.[/COLOR]
[/FONT]
--RELEASED VERSIONS (GENERAL AVAILABILITY) --
Code:
[FONT="Arial"][B]DorimanX 12.0 b013 (STABLE)[/B]
- Additional security updates from LineageOS kernel source
- Updated stweaks descriptions from previous commits
- Re-enabled Software CRCs. DorimanX kernel does experience corruption issues so it is better to keep this enabled.
[B]DorimanX 12.0 b012 (STABLE)[/B]
- Security updates from LineageOS (formerly Cyanogenmod) kernel source
- Change default I/O scheduler to ZEN - CFQ better for hard disks, ZEN is good for flash storage
- Set swappiness to 60 - Should help with low memory problems
- Remove UKSM - The kernel needs to be more in-line with the linux kernel
- Remove Adaptive LMK - Drains more battery without making much of a difference to memory savings
- Remove toggle for Software CRCs and disable by default - Tested safe by other devs so why not?
- Remove power saving workqueues control - Had little to no effect
- Remove Powersave and Performance governors - I don't keep garbage :)
[B]DorimanX 12.0 b011 (BETA)[/B]
- Synced MM and LMK updates from Dorimanx's LG G2 kernel
- Adaptive LMK and tuning support in stweaks
[B]DorimanX 12.0 b010 (BETA)[/B]
- Reverted nr_requests to 64 to reduce RAM usage on I/O load
- Fixed md5 generation on nandroid backups
- Bring back relaxed LMK profiles to allow better selection between aggressive and non-aggressive RAM management
- UBER toolchain updated
[B]DorimanX 12.0 b009 (BETA)[/B]
- Fifo batch tuned for sioplus and tripndroid
- nr_requests increased to 128 for better throughput - The downside is that we have less RAM to work with when I/O requests are full
- Hack to get power off charging animation working - Thanks Realex-fire. This is only a temporary solution.
- More cleanup to initramfs
- UBER toolchain updated
[B]DorimanX 12.0 b008 (BETA)[/B]
- Merged net updates
- UKSM support and initial UKSM tuning support in stweaks - UKSM can help free more RAM but at the cost of extra battery drainage. UKSM is off by default.
- General performance improvements and stability fixes
- Profiles will be reset after flashing this build
[B]DorimanX 12.0 b007 (BETA)[/B]
- Added back IPV6 toggle
- Synced sched, LZ4 and LZO updates from Linux 3.16
- Merged a wifi security fix
- Reverted back to aggressive LMK profiles - Phone felts smoother with more aggressive LMK
[B]DorimanX 12.0 b006 (BETA)[/B]
- Fixed mounting of F2FS partitions
- Many bug fixes and small cleanup to initramfs
- Partitions check and fix function for F2FS is now working properly
- Reverted LMK profiles back to CM defaults. Optimized profile is now the old default profile - This should bring better battery life
- Linaro and UBER toolchain updated
[B]DorimanX 12.0 b005 (BETA)[/B]
- Fixed partition error boot popup when /data or /cache was formatted as F2FS
- Fixed wifi hotspot - Thanks to Realex-fire
- Change default I/O scheduler to CFQ
[B]DorimanX 12.0 b004 (BETA)[/B]
- Fixed mass storage mount on LP
- Full support for F2FS partitions - error log still may show on boot, but can be safely ignored
- Updated exfat modules from Dorimanx's source
- Added and enabled temperature export for zzmoove
- Changed the default hotplug method for zzmoove to Alucard. Force native zzmoove hotplug disabled - Intelliplug doesn't hotplug for zzmoove, only Alucard works.
[B]DorimanX 12.0 b003 (BETA)[/B]
- More ZRAM tweaks have been added for better ZRAM performance - max_comp_streams=2 and force LZ4 algorithm
- Disabled panic and reboot on oops bugs. According to Dorimanx, the kernel will recover 99% of the time when kernel encounters a problem.
If not, kernel will hang making it possible to diagnose random reboots
- Merged many f2fs fixes and improvements from mainline linux kernel - F2FS is functional, but there are some problems we need to fix
- Minor selinux fixes
- Removed broken features from stweaks - Root options and kernel update check
- Fixed mass storage USB mount mode
- General performance improvements and stability fixes
[B]DorimanX 12.0 b002 (BETA)[/B]
[B]Starting from this build, kernel will support CM12.1 and CM13 at the same time![/B]
- CM13 Support - Many thanks again to realex-fire for his hard work
- Selinux is now enabled and set to permissive by default
- Wifi driver updated to version 1.141.44
- VPN fixed
- General performance improvements and stability fixes
- UBER toolchain updated
[B]DorimanX 12.0 b001 (BETA)[/B]
[COLOR="Red"]CM13 is not supported yet, only CM12.1 support for now![/COLOR]
[B]Most of the changes were done by realex-fire. Big thanks for his contribution[/B]
- Many changes from CM have been merged
- Major rework of init and ramdisk - Bugs fixes, a lot of unused code deleted. Kernel size reduced!
- Mali driver updated (CM12.1 will still work)
- General fixes and performance improvements
- UBER toolchain updated
[B]DorimanX 11.0 b042 (BETA)[/B]
- Merged several broadcom wifi security fixes
[B]DorimanX 11.0 b041 (BETA)[/B]
- Switched to self-built Cortex-A9 optimized Linaro 4.9 toolchain from Cl3Kener's sources - Includes latest fixes and changes from Linaro. Linaro 4.9 is the sweet spot for our device :)
- Add TRIM function to stweaks and other TRIM related fixes from @chhapil's initramfs
- VM parameters have been tuned again - Now it matches Dori G2 LP values for better balance between performance and stability
- Increased swappiness to 40% - This should help prevent RAM drain under heavy load
- Updated UBER toolchain with latest changes
- Full tuneup to LMK profiles synced with Dori's G2 kernel. New optimized profile. Low profile removed - RAM management is now very aggressive and will not allow kernel to have less than 200MB of RAM
- Fixed incorrect file permissions for lowmemorykiller minfree and adj files
- Entropy tuned for better performance. Kernel will now tune entropy on boot.
- General stability fixes
- Your profiles will be reset after flashing this build!
[B]DorimanX 11.0 b040 (BETA)[/B]
- Re-enabled mmc software CRCs - We should value data integrity over performance
- Allow users to enable or disable mmc software CRCs via sysfs. Added software CRCs toggle in stweaks - If you do feel that having it disabled is better, I will let you do so.
- Fixed workqueue control not running in cortexbrain service
- Re-enabled CONFIG_ANDROID_LOW_MEMORY_KILLER_AUTODETECT_OOM_ADJ_VALUES
- Updated UBER toolchain with latest changes
[B]DorimanX 11.0 b039 (BETA)[/B]
- Fixes to zzmoove profiles
- Merged a few of missing and recent updates from CM13
- Changed config_hz to 300 (from 250) - This should give a small boost in interactivity with no cost in battery life
- sched.h: Changed LOAD_FREQ calculation
- UBER builds are now being built with latest UBER 6.1 with Cortex-A9 optimizations - I forgot to change the UBER version string from 6.0.0 to 6.1.0, but you can just look at GCC version for proof :)
[B]DorimanX 11.0 b038 (BETA)[/B]
- OOM and LMK fixes thanks to realex-fire
- HYPER cpu gov synced with latest changes from Dorimanx's G2 kernel
- Changed the default I/O scheduler to BFQ - After some testing, I have found BFQ to be slightly more responsive compared to CFQ
[B]DorimanX 11.0 b037 (BETA)[/B]
- Reverted o3 flags - This fixes the high power consumption from the last build and large kernel size
- We will no longer see UBER 5.3 builds.
- Reverted more VM tweaks
- General stability fixes
[B]DorimanX 11.0 b036 (BETA)[/B]
- Default I/O scheduler changed back to CFQ
- Compiler optimisations thanks to @chhapil - Dori kernel was missing a lot of optimisation flags after kernel was updated past 3.12 linux kernel. Now we finally get them back :)
- The kernel is now compiled with the -o3 optimization flag - Increased kernel size, better performance
[B]DorimanX 11.0 b035 (STABLE)[/B]
- Various security updates and stability fixes pulled from CM13 kernel
- LMK will now kill system and protected (root) apps and services to prevent kernel crash - This fixes Launcher FC bug and poor RAM performance
- Stweaks updated with material design thanks to @Skyline!
[B]DorimanX 11.0 b034 (BETA)[/B]
- Added support for GCC 6.0 toolchains. We will see how UBER 6.0 experimental builds go
- Default I/O scheduler changed to ZEN
- lowmemreserve ratio changed back to default values
[B]DorimanX 11.0 b033 (BETA)[/B]
[COLOR="Red"]Your stweaks profile will be reset automatically once you flash this build[/COLOR]
- Restored aggressive LMK changes (After reverting the LMK changes, phone felt noticeably more laggy and system would lock up more frequently)
- Reduced swappiness back to 20% to reduce CPU usage and to improve performance
- Reverted VM changes (VFS cache pressure, dirty background ratio) - This might restore stability and performance
- Merged a few updates from CM - Minor stability fixes and security fixes
- Updated UBER toolchain
[B]DorimanX 11.0 b032 (BETA)[/B]
[COLOR="Red"]It is recommended to reset your stweaks profiles to ensure you get the best stability [/COLOR]
- Fixed lots of stweaks descriptions. Matched all non-matching default value descriptions
- Removed relaxed lowmem_reserve_ratio option. Our device doesn't have more than 600MB of free RAM :)
- Merged many changes from CM13 kernel
- Reverted LMK profile and made it less aggressive. We'll see if this helps with Launcher FCs. Note: It is not recommended to decrease swappiness!
- Increased swappiness to 50. We need LMK to do less work otherwise apps will just suddenly close. - Slightly less battery life, better multitasking
- UBER 5.3 Toolchain updated to March build
- zzmoove will now use intelliplug as the default hotplug method
[B]DorimanX 11.0 b031 (BETA)[/B]
- Added MDNIE override toggle. If your settings don't apply, just re-enable this toggle and make changes again.
- hyper gov updated with DorimanX LG G2 LP thanks to realex-fire - Better balance between performance and battery life.
[B]DorimanX 11.0 b030 (BETA)[/B]
- Updated sio to sioplus iosched - Thanks to DorimanX. Now it is working as it should and stweaks doesn't freeze anymore! :) - Better performance and multitasking
- Merged many changes to zzmoove. Thanks to @zanezam - Bug fixes, performance/battery life improvements
- A few other minor kernel changes were merged from linux mainline kernel - Bug fixes, stability improvements
- MDNIE mode and scenario changing support added to stweaks. Note: This will override the ROMs values. Also, other scripts will be able to override this as well.
[B]DorimanX 11.0 b029 (BETA)[/B]
- Match stweaks descriptions with actual default values
- Merged updates to CFQ io scheduler - Better performance
- Disabled MMC CRC check - Better I/O performance
- Deleted all zipalign functions! it's no longer supported with ART in LP. - Fixed possible nasty bug that would have deleted all app symlinks in /data/app. Before zipalign was enabled by default for performance profiles! Now all good :)
- Stweaks profile will be reset!
- Remove all fix permissions functions. It is old and broken. Lollipop is much more advanced compared to jellybean 4.3 so there is much less chance of apps breaking after a ROM update.
- CORTEX: move OOM fix to cortex to set on each wakeup. Thanks to DorimanX. Before this, the default ROM OOM values were being used after boot, the kernel was not always overriding ROM values and causing slower performance. This fixes this issue.
[B]DorimanX 11.0 b028 (STABLE)[/B]
- Merged a few kernel updates from CM13
- Removed ability to tune vfs_cache_pressure. This is required for cortexbrain to function properly. If you tune it, the kernel script will not run!
- Adaptive vfs_cache_pressure values synced with DorimanX LG G2 LP values. - Better performance, more free RAM, slightly less battery life
[B]DorimanX 11.0 b027 (STABLE)[/B]
- Updated OOM profiles to better match CM Marshmallow and DorimanX LG G2 LP values
- UBER 5.3 Toolchain updated to 01/02/16 build
- Added HOTPLUG tab to stweaks. All hotplug config is now grouped together, minor fixes to spelling
[B]DorimanX 11.0 b026 (BETA)[/B]
- Merged many workqueue updates from linux mainline kernel - Improvements to stability, performance and battery life
- Merged updates to tcp_yeah
- Disabled auditd service to remove selinux related logspam
- Low latency audio fix will be applied on boot. DorimanX doesn't support low latency audio which causes games using recent unity versions to sound horrible. Thanks to @dualjoe. If you want to re-enable low latency audio, reflash rom and use different kernel!
[B]DorimanX 11.0 b025 (BETA) - LAST BUILD FOR NON-TRIM AND UBER 4.9[/B]
- Synced chhapil's zram updates
- LZ4 is set as the default algorithm for zram. I have properly checked now and it is all good. You can see this under /sys/block/zram0/comp_algorithm, where the algorithm inside the brackets is the active one.
[COLOR="Red"]- This will be the last build for NON-TRIM and UBER 4.9. TRIM should be used by everyone and UBER 4.9 is just unnecessary extra toolchain.
[/COLOR]- Changed default I/O scheduler to CFQ. This was Samsung's default choice and it was a good choice. LP needs as much I/O performance we can get, so simpler schedulers are not that great :)
- Merged many zram updates up to what the kernel can allow. This is the max zram can update to before causing build errors.
- UBER 5.3 builds will be moved to the UBER main folder. Not experimental anymore :)
[B]DorimanX 11.0 b024 (BETA)[/B]
- BLN is properly fixed now without having to modify install script thanks to realex-fire
- Fixed stweaks not installing on kernel install thanks to realex-fire
- Many other changes to kernel init system thanks to realex-fire
- LZ4 support on the ZRAM thanks to @chhapil. Changed default compression to LZ4. Before we were using LZO which was slower but gave slightly better compression. LZ4 is much faster but gives slightly worse compression. TL;DR, better performance :) Edit: Wasn't sure if it was really enabled by default because there was no way to check.
[B]DorimanX 11.0 b023 (BETA)[/B]
- BLN is now working!!! I simply updated the updater-script to delete old lights.exynos4.so from ROM and add new one to /system/lib/hw. Thanks @charlie8104 and @arnab If BLN doesn't work, reflash the kernel and make sure to reapply BLN after boot. This should fix BLN for most people :)
- sched: Set MC (multi-core) sched domain's busy_factor attribute to 1. This will increase CPU performance.
- fixed compilations warnings thanks to @chhapil
[B]DorimanX 11.0 b022 (BETA)[/B]
- Changed swappiness drop down to slider. Allow users to select a more precise percentage.
- Limit boot booster frequency to a max of 1.4Ghz. Anything higher will cause many devices not to boot :) Plus there are very few CPUs out there that can run higher than this config.
- Added lowmem_reserved_ratio tuning to stweaks thanks to @dorimanX. A higher ratio will give you more free RAM if you see that your free RAM is always loaded and device LAG, but it's also uses more battery to gain more free RAM with loaded system. Please don't use the relaxed setting as you will run out of RAM very easily.
- Isorec recovery support. Many thanks to lanchon who has been working with me for the past few days. If you require to dualboot, don't use isorec recovery. I have linked the isorec disabler for people who want dualboot/dorimanx recovery. Also, TWRP can't mount USB storage so you won't be able to transfer files between PC, go back to CWM to fix this. We have isorec on DorimanX :) However this is still a WIP.
[B]DorimanX 11.0 b021 (BETA)[/B]
- Synced missing cortexbrain changes and typo fixes from KK initramfs
- zzmoove will now use alucard as the default hotplugging driver.
- Add toggle for power efficient workqueues. Enable to save power, disable for performance. Fixed parameter permissions. If you disable this, Cortexbrain will automatically switch on this during sleep state to save battery. Avoid using Kernel Adiutor to set this value as stweaks can do this properly.
[B]DorimanX 11.0 b020 (STABLE)[/B]
- Full update to 2016 January CM12.1 Ramdisk - Stability improved, smoother operation and better experience. Thanks realex-fire!
- Bugs fixes and dorimanx features fixed from previous ramdisk updates
[B]DorimanX 11.0 b019 (BETA)[/B]
- GCC 5.x support. Starting from this build, we will see UBER 5.3 experimental builds for those who want the best performance they can get. Thanks @chhapil
- Toolchain GCC Version is also included now in zip file name so we don't get confused
- Ramdisk updated once again to CM12.1 October 15th build
- Remove root installer and remover from stweaks to prevent people from breaking root
[B]DorimanX 11.0 b018 (STABLE)[/B]
- Many changes to the LMK/OOM management. Synced values with DorimanX LG G2 and CM12.1. Now much more aggressive than before. Prior to this was the reason why we had such bad RAM management.
- All profiles are now set to default OOM settings. Default is now the same as the settings found in stock CM12.1.
[B]DorimanX 11.0 b017 (BETA)[/B]
- Fixed all issues found in previous build
- Bring back SIO scheduler, deleted SIOPlus (Doesn't work on DorimanX)
[B]DorimanX 11.0 b016 (BETA) - BUGGED AND REMOVED[/B]
- Synced missing futex updates from Linux 3.15 stable
- Reduced swappiness from 40 to 20 (ZRam will only be used under heavy load, rather than in medium loads)
- UBER toolchain updated to 2016-01-11 build
- This build will be built with Linaro and UBER (From now on, I will be naming builds with the selected toolchain)
- Updated SIO to SIOPlus
- tick: Fix a bug which impacts CPU frequency scaling
[B]DorimanX 11.0 b015 (BETA)[/B]
- Reduced swappiness from 60 to 40 (Will only swap when under heavier loads, before it was too aggressive)
- Includes latest LP freeze fix patch from Zeitferne (Note: This is not the final fix, this is an attempt to solve current freeze issues. If you want to help debug, use the proper kernel given by Zeitferne!)
- This build will be built with Linaro and UBER
[B]DorimanX 11.0 b014 (BETA)[/B]
- Enabled zram and set zram to 300MB by default
- Synced all net, TCP Cubic, ipv4, ipv6 and mutex updates from KK branch
- Change the VM_MAX_READAHEAD value to 512KB for best throughput
- Upstreamed kernel version to 3.15.0 stable! Lots and lots of fixes for various parts of the kernel, once again, thanks to realex-fire for contributing! ;)
[B]DorimanX 11.0 b013 (BETA) - Linaro[/B]
- This build is built with latest Linaro 4.9 from Christopher83
- Comes with all changes from original b013 release
[B]DorimanX 11.0 b013 (BETA)[/B]
- Synced missing changes from KK branch thanks to @Realex-fire
- Reverted initramfs changes from CM12.1 (Not required to get CM12.1 running smooth, I think this introduced issues)
- Updated UBER toolchain to 20151031 build
- Fixed derp in Samsung WL Bug patch (Doesn't make a difference since our phone is not affected anyway. Looks like I will have to recreate the patch files again :) )
- Reverted I/O scheduler updates
- Tuned I/O scheduler fifo batch and other tweaks
- Changed OOM behavior so it is more aggressive, this would be a big advantage for people with lots of apps running!
- Last release built with UBER toolchain
[B]DorimanX 11.0 b012 (BETA)[/B]
[B]This is a long awaited update that should make cyanogenmod experience better again!!![/B]
- Changed toolchain back to UBER 4.9 and updated to latest version
- Updated Cyanogenmod ramdisk to October 15th
- Fixed all zzmoove tunables in stweaks. I'm not adding more tunables for zzmoove since it will cause stability issues.
- proper zzmoove profile switching has been added (previous solution was more of a workaround).
- Allow tunable mode for zzmoove (It's just no profile set, this is required if you want to manually adjust zzmoove values)
[B]DorimanX 11.0 b011 (BETA)[/B]
- Revert Custom profiles 1, 2 and 3 and related fixes
- Revert GPU changes
- Updated default profile
- Revert Partitions and Root tab
- Updated UBER 4.8 toolchain to latest
[B]DorimanX 11.0 b010 (BETA)[/B]
- We're moving back to UBER 4.8 toolchain (should be more battery friendly than linaro)
[B]DorimanX 11.0 b009 (BETA)[/B]
- zzmoove updated to 1.0 beta 8
[B]DorimanX 11.0 b008 (BETA)[/B]
- Restore Linaro 4.9 toolchain
[B]DorimanX 11.0 b007 (BETA)[/B]
- Reverted WiFi driver
- Reverted Linaro toolchain to 4.8 for the time being
- Deleted sharpness tweak again (I forgot to delete the tweak in the previous build)
[B]DorimanX 11.0 b006 (BETA)[/B]
- More work on Wifi-driver to get Ad-hoc networks working (Still not working yet)
- Many minor changes to stweaks descriptions
- Updated kernel update check function (Doesn't work yet, I think it's because there is 2 'v' in the kernel version and build version, in other words it is a WIP!)
- We're moving back to Linaro 4.9 (Less bugs, more performance!)
[B]DorimanX 11.0 b005 (BETA)[/B]
- Wifi drivers updated to 1.141.44 thanks to @stelistcristi
- Updated to latest UBER toolchain
- Switched to UBER 4.9 toolchain instead of 4.8
- Revert: "allowed IO Read Ahead up to 4096KB"
- Allow mod of vfs cache pressure - This is used by cortex background service, don't modify if you don't know what you are doing
[B]DorimanX 11.0 b004 (BETA)[/B] - Tweak your GPU beyond belief :)
- More overclocking of GPU! (All steps can have higher or lower frequencies and voltages)
- Revert boot boost limits
- Fixed file permissions
[B]DorimanX 11.0 b003 (BETA)[/B]
- Separated root actions into own tab in stweaks
- Added zzmoove 1.0beta7a to replace zzmanX! Profile switching is included!
- Added back powersave governor
- Temporary workaround for root check (will not say if root is enabled or not)
[B]DorimanX 11.0 b002 (BETA)[/B]
- Optimize default profile for LP
- I will build trim and non trim builds for now on
- Remove sharpness tweak temporarily to prevent bootloop
- Still only supports CM12.1 based roms
- Fixes to custom profile reset
- Re-add missing performance governor in stweaks
- Allow users to debug stweaks again
- Separated CRON tasks into own tab , separated partitions fixes into own tab
[B]DorimanX 11.0 b001 - TRIM (BETA)[/B]
- Initial lollipop support thanks to lysergic acid
- All features from my dorimanx kk builds[/FONT]
Downloads
--STOP!!! IMPORTANT, PLEASE READ--
It is important that you make a backup before flashing this kernel. If you want to restore the original kernel found in your ROM, you need to restore from a backup or clean flash your ROM.
MAKE SURE YOU'RE DOWNLOADING THE RIGHT KERNEL. OTHERWISE YOU COULD BRICK YOUR DEVICE!
For TRIM users:
To use TRIM, you can download an app on the app store called trimmer or use terminal commands as directed in the troubleshooting guide.
Isorec (Isolated Recovery)
Starting from build b022, I have introduced isorec into DorimanX kernel. You can use either TWRP or CWM. It is important to note that the default CWM recovery has kernel specific options within the menus, so if you require to use them, be sure to flash the isorec disabler.
Download for isorec recoveries:
https://www.androidfilehost.com/?w=files&flid=47550
If you have a dualboot setup or if you want to set up dualboot, you should stay on StanTRC recovery. If you want to return to StanTRC recovery, flash the isorec disabler:
https://www.androidfilehost.com/?fid=24369303960682947
Forgot to download backup/older kernel/isorec disabler after flashing TWRP?
Go to download mode and flash a kernel .tar file OR wait until OS boots and copy required files to your phone
Which build should I use?
Linaro 4.9: Use this build for best stability. Battery life is better than UBER 6.1 and is the smoothest. Most users should use these builds.
UBER 6.1: Use this build for best performance. UBER 6.1 contains bleeding edge optimizations that may not be fully reliable yet, so this toolchain is better suited for advanced users.
Go with the build that is the best for you. You are the one that is making the changes so you are responsible for choosing what experience you want with the kernel! If you are still not sure which build to choose, use the Linaro 4.9 build first.
Main download link:
https://www.androidfilehost.com/?w=files&flid=43490
Mirror download link:
https://github.com/gsstudios/Dorimanx-SG2-I9100-Kernel/releases
Beta builds and stable builds will only be uploaded on AFH and github.
In order to tweak the kernel properly, you need to install stweaks from the play store, or from the apk linked here, or from the XDA downloads page, or from the apk in the attachments below:
Troubleshooting
For general help, please use the Q&A thread
http://forum.xda-developers.com/galaxy-s2/help/qa-dorimanx-lp-5-x-x-t3161661
Q: Why flash your kernel? - For new users of DorimanX kernel
DorimanX kernel is an aftermarket kernel (or custom kernel) that is designed to allow users to tweak their phone at the kernel or near-hardware level side of things. In other words, users get more fine-grained control over their phone, this includes overclocking, underclocking, changing behavior of CPU/GPU etc. Adjusting such settings isn't for the faint-hearted since there is many things to understand, but you aren't required to understand all of the settings. Ultimately, if you want to improve your phone experience, try DorimanX kernel!
Q:How do I flash your kernel?
A: You flash kernels like flashing ROMs, except you don't have to factory reset your phone. However, if you are official CM12.1 nightly, you will have to flash the kernel differently (if you want to flash my old unsigned builds).
Method A: If you get signature verification errors, you need to sign the zip with a program like Sign-em or Sign+.
Method B: To flash this kernel on official CM12.1 nightly, you first need to flash Philz recovery on your phone via ODIN. Here is the link to the for philz recovery: Philz Touch Recovery After that, you can flash the kernel like normal.
Method C: Another way is to create a kernel .tar file by extracting the zimage file located in /boot folder of the kernel zip then create a .tar archive. Then flash it in ODIN. Here is the guide to create your own kernel tar file: http://forum.xda-developers.com/galaxy-s2/development-derivatives/convert-kernel-zip-to-tar-t2994381 For your convenience, I've create a tar file of build b002 in the guide linked.
Q: Which kernel version build should I flash?
A: Flash the latest stable version if you want the most stable experience. Beta builds will always have the latest features and should be fine to use as a daily driver. Stable builds have been thoroughly tested for issues, but are usually older than current builds. Either way, it's up to you which one you want to flash. Read the changelog for any important changes that might have occurred in a particular build.
Q: Which app should I use to tweak the kernel?
You should only use stweaks to tune DorimanX kernel.
Q: Can I use isorec recovery on DorimanX kernel?
A: Yes you can. All important information was covered in the OP already!
Q: Why should I flash your builds when the last 'real' unofficial build was v008?
A: If you don't want to enjoy awesome features that improve the experience of dorimanx kernel, then it doesn't worry me. Real or not, I don't build kernels to have bad battery life, bad stability and etc. This is my personal build of dorimanx kernel!
Q: Wifi doesn't work after I flash this kernel
A: There are several possible causes to this issue, there could be a problem with your:
- Partitions OR
- Permissions OR
- Gapps OR
- ROM OR
- Compatibility with your wifi hardware
Don't use a pit with modded preload! It will just cause issues with ROMs and Kernels. Use stock pit or use a pit with unmodded preload. Sometimes, the gapps package you flash somehow breaks compatibility with the kernel. You can fix this by flashing a different gapps (making sure to clean cache and dalvik). If you have permissions problem, you can fix this by repartitioning your internal sd card or by reflashing back to stock rom. Sometimes, the ROM doesn't fully support the wireless drivers in the kernel, this can be solved by flashing a different ROM or different kernel. But if your wifi hardware is not compatible (a way to tell this is when you have tried everything and failed), there is nothing you can do but reflash the rom or flash a different kernel.
Q: I came from a different custom kernel that used Stweaks, now the app has issues
A: Every time you come from a different custom kernel with stweaks support, make sure to wipe cache and dalvik cache after install dorimanx kernel
Q: My battery life sucks after flashing this kernel!
A: Download and install Betterbatterystats and see what is the culprit to your problem. If it is kernel related, have you made sure you have wipe cache and dalvik and reset stweaks settings? If yes, it would be nice if you posted a logcat.
Q: How do I get a logcat for the kernel?
A: In stweaks, go to BUG-REPORT and tap on KERNEL-BUG.
Q: Why do I get bootloops with this kernel?
A: If you were on a working version on dorimanx before, there is probably something wrong with the installation. Sometimes, bootloops can occur due to corruption of the kernel zip file (usually from bad download) or from corrupted partitions.
Q: What do all of the settings mean? They are all confusing!
A: Please note that DorimanX kernel isn't for users who have just rooted their device. Before jumping into the custom kernel world, try playing around with other kernels first. Once you think you have some experience, read the stweaks beginners guide I made and then attempt to tweak the kernel using stweaks.
Q: How do I trim my partitions?
BEWARE: Make sure you have read all of the precautions before attempting to trim your partitions!
A: install the trimmer app from the playstore. App link . Check for all 3 partitions, and tap on run. grant root access. the 3 fstrim operations should be successful ("partition was trimmed" means success).
alternatively, instead of using trimmer you can run one of these commands (these are better because they also trim /preload):
# on the phone in the terminal app:
su -c "fstrim -v /system; fstrim -v /data; fstrim -v /cache; fstrim -v /preload"
# on your PC if you are connected to the phone via adb:
adb shell su -c "fstrim -v /system; fstrim -v /data; fstrim -v /cache; fstrim -v /preload"
reboot.
Click to expand...
Click to collapse
Q: My device is (hard) bricked after flashing your kernel!
A: Have you read all of the precautions before installing the kernel? You made the decision to flash the kernel and now you've stuffed up your phone.
Q: I get constant FCs after flashing your kernel!
A: Have you wiped your cache partition, dalvik cache and reset stweaks settings? If you've done all of these already, a logcat would be nice
Q: How do I use dual boot?
A: There are many guides on how to dual boot roms using dorimanx kernel. Just use the search function on XDA or GOOGLE it!
Q: What's a good combination for CPU governor and I/O scheduler?
A: Have a look at the default settings, they are optimised for our phone
However, here are some settings I recommend:
CPU Governor: HYPER/zzmoove/Darkness
I/O Scheduler: CFQ/BFQ/ZEN/Deadline/SIO
Q: Why does the screen turn blank after the dorimanx logo appears during the boot process?
A: If your kernel doesn't bootloop, but the screen remains blank, there is a good chance that the ROM that you've used uses an older version of GPU drivers (Mali). This kernel only support ROMs with Maliv3 support. If you flash this kernel on MaliV2 or MaliV1 only roms, you will get a blank screen after flashing. To fix this, flash to the kernel the corresponds to your mali driver version and you should get your display back.
Q: What is a TCP algorithm?
A: Congestion control strategies (or algorithms) are used by TCP, the data transmission protocol used by many Internet applications. The main goal of a TCP algorithm is to avoid sending more data than the network is capable of transmitting, that is, to avoid causing network congestion.
Q: What is a toolchain?
In software, a toolchain is the set of programming tools that are used to create a product (typically another computer program or system of programs). The tools may be used in a chain, so that the output of each tool becomes the input for the next, but the term is used widely to refer to any set of linked development tools.
A simple software development toolchain consists of a compiler and linker to transform the source code into an executable program, libraries to provide interfaces to the operating system, and a debugger. A complex product such as a video game needs tools for preparing sound effects, music, textures, 3-dimensional models, and animations, and further tools for combining these resources into the finished product.
Click to expand...
Click to collapse
Q: What is UBER?
A: After years of using different custom toolchains like Linaro and SaberMod, I found there were things I liked about both of them but also things that didn't sit quite as well with me. SaberMod always seemed to have UI lag (especially in scrolling) but opened apps well and Linaro always seemed to be buttery smooth but had terrible app opening speed. Linaro battery was also worse for me than SaberMod. After going back and forth between toolchains I finally had this epiphany! Why not just take all of the best parts of all toolchains and merge them into one? So I began bringing up my own toolchain from gnu.org. At first I patched in all of the AOSP toolchain pactches (much like how SaberMod did it originally however it is important that you realize that No! I did not copy and paste SaberMod into my source I'm simply stating that I used their idea of merging aosp into gnu.org) to my source. Then I went through and added all of the linaro patches that I could to the source. I also made sure that I had the very latest of every toolchain component. I then made very minimal changes to the aosp toolchain build folder to allow for building with these newer toolchain components and UBERTC was born!!! (Note: both Linaro and SaberMod both made lots of modifications to the toolchain build folder, UBERTC is the closest to the aosp build process)
Click to expand...
Click to collapse
Q: What is Linaro?
Linaro is the place where engineers from the world's leading technology companies define the future of Linux on ARM. The company is a not-for-profit engineering organization with over 120 engineers working on consolidating and optimizing open source software for the ARM architecture, including the GCC toolchain, the Linux kernel, ARM power management, graphics and multimedia interfaces.
Click to expand...
Click to collapse
let me try your kernel, btw where is download link ?
haris1976 said:
let me try your kernel, btw where is download link ?
Click to expand...
Click to collapse
I'm still building it right now. Will upload soon, will have my features from my personal builds on top of lysergic acids fixes.
First build up. Can't test since I'm on kitkat rom right now. Will update to LP when I have the chance to.
Ah man...... Here It is, great can you make a non trim version, pretty plsí*½í¸Š
NoctisBlade said:
Ah man...... Here It is, great can you make a non trim version, pretty plsí*½í¸Š
Click to expand...
Click to collapse
I'm not on my PC right now. Probably will upload new build tomorrow (running out of space in my build machine). Would be great if someone reports the issues they encounter and what's working.
Great to see a dedicated thread for Dorimanx Kernel for S2's lollipop support.....Subscribed and will be testing whenever I get time....Great job man....Good luck....
I tried it so far both on SlimLP and Omni and failed to boot on both. Bootloop on SlimLP and stuck on boot on Omni. Gonna keep on testing though.
Edit: Managed to boot on CM12.1 finally. Let's see how it goes.
kostelo said:
I tried it so far both on SlimLP and Omni and failed to boot on both. Bootloop on SlimLP and stuck on boot on Omni. Gonna keep on testing though.
Edit: Managed to boot on CM12.1 finally. Let's see how it goes.
Click to expand...
Click to collapse
Only cm12.1 ramdisk was merged. I'm working with lysergic acid and hopefully warrior to get it working on more roms.
little report about dualboot
Hi all, i quoted myself and about what i have done.
maybe that can help for more test, i found one rom that dualbooted, didnt test another for now.
And , i forgot to add yesterday that sdcard (int card) wasnt mounted when i ran 2nd LP rom.
thanks.
Troubadour666 said:
Hi @Lysergic Acid, sory for OT, little report about DUALBOOT i gave a try about it right now
i was on SlimLP build#12 from @warrior1208, runing Apolo 8 beta9 EXTv2.
i backuped SlimLP and formatted cache/dalvik/data
then i flashed pac_i9100_LP-MR1.Beta-2.Unofficial_20150628-122342 , new release from @phenomarc.
i rebooted the rom with his stock kernel and let it run 15min.
then, reboot recovery and i flashed your DORIMANX LP version and rebbot, the pac_i9100_LP-MR1.Beta-2 booted fine.
then , i rebooted again recovery (STANtrc) and restored the previous build from @phenomarc with my TBO black modified i have , on 2nd rom space i have kept with old SPIRIT 4.4.4, and rebooted .
At boot, this time i choose 2nd rom , and 2nd rom booted !
Thanks , You save dualboot for US , Man , ITS ENORMOUS
Click to expand...
Click to collapse
Lysergic Acid said:
Good to know that feature is already working mate, I had no clue about that honestly, cause the ramdisk for that needs two inits, two fstabs, etc
Click to expand...
Click to collapse
Troubadour666 said:
Hi all, i quoted myself and about what i have done.
maybe that can help for more test, i found one rom that dualbooted, didnt test another for now.
And , i forgot to add yesterday that sdcard (int card) wasnt mounted when i ran 2nd LP rom.
thanks.
Click to expand...
Click to collapse
@Troubadour666 can u give me link ROM from PAC_I9100_LP-mr1
haris1976 said:
@Troubadour666 can u give me link ROM from PAC_I9100_LP-mr1
Click to expand...
Click to collapse
http://www.darksideteam.com/threads/2010-5-0-2-UNOFFICIAL-SABERMOD-PAC-MAN-ROM-5-0-la-ROM-definitiva
No idea which language it is.
Dori for LP on S2, didn't see that coming, but will test asap with Slimsaber LP, and check if it works. Pedestre stopped apolo development and gustavo's kernel is also kinda dead so it's the only one left.
Don't drop it please!
Facuu said:
Dori for LP on S2, didn't see that coming, but will test asap with Slimsaber LP, and check if it works. Pedestre stopped apolo development and gustavo's kernel is also kinda dead so it's the only one left.
Don't drop it please!
Click to expand...
Click to collapse
It won't boot on Slimsaber LP at the moment, only CM12.1 based ROM, ramdisk incompatibility.
Edit : Apolo 8 beta 9 Omni boots slimsaber fine by the way, sorry didn't mean to speak of another kernel here.
Sorry for stupid question... Is this twrp based?
Or is that complete other?
Works for AOSP roms, right?
I9100 Tapatalk, DU AOSP 5.1.1 Lollipop
089man said:
Sorry for stupid question... Is this twrp based?
Or is that complete other?
Works for AOSP roms, right?
I9100 Tapatalk, DU AOSP 5.1.1 Lollipop
Click to expand...
Click to collapse
CWM 6.0.4.8
CM12.1 roms (RR,bliss....)
089man said:
Sorry for stupid question... Is this twrp based?
Or is that complete other?
Works for AOSP roms, right?
Click to expand...
Click to collapse
It's indeed for AOSP ROMs It's CWM based. I'm currently using it with CM12.1 by @Lysergic Acid.
EDIT: Oops, you beat me to it, @NoctisBlade. Perhaps what I can add is that so far I've been having great stability and battery life.
{
"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"
}
Unofficial DorimanX builds by Saber (formerly gsstudios)
The Background:
DorimanX development has stopped for a while now. I've been a long term dorimanx user, but I felt that a lot of features need to be implemented into the kernel. As of a result, I decided to make my own personal builds! Please note that I'm no way as good as the master himself, Dorimanx, but I try to implement features to the best of my abilities. Also, I'm not going to be a proper maintainer of dorimanx kernel, this is just what I've done in my spare time.
If you have problems or if anything goes wrong, you need to reflash your current ROM to revert kernel.
The Mission:
To continue giving support for the much loved kernel. New features and additions will be added to improve flexibility and speed to the already amazing kernel. My goal is to improve DorimanX kernel as much as I can, without sacrificing stability.
DISCLAIMER:
ONLY FOR LOS14.1 BASED ROMS
I'm not responsible for bricked devices or wrong version flashing
You are using this kernel at your own responsibility
——— !!!!!!!! YOU HAVE BEEN WARNED !!!!!!!! ———
FEATURES:
This kernel includes the following additional features over stock dorimanX kernel:
- CPU Governors: HYPER, Ondemand, pegasusQ, Intellidemand, neoX, darkness, nightmare, zzmoove, sleepy, conservative (Default: HYPER)
- IO Schedulers: ROW, Tripndroid, FIOPS, SIOPlus, BFQ, CFQ, Noop, ZEN, Deadline (Default: ZEN)
- TCP Algorithms: Cubic, Reno, BIC, Westwood, Highspeed, Hybla, HTCP, Vegas, Veno, Scalable, Lp, Yeah, Illinois (Default: Westwood)
- Built with optimised Linaro 4.9 Toolchain
- Built-in Stweaks profiles updated (All profiles suit needs for most people now)
- Trim support (Be careful if you have brickbug affected chip!)
- Updated FPBug/Musicbug fix is already included in this kernel!
- BLN and BLNWW support
- Updated Linux Kernel version to 3.15.0 stable!
- Freezefix is already included in this kernel!
- Isorec support
- MDNIE mode and scenario tuning
- F2FS support
THINGS TO DO:
- Allow users to revert kernel back to stock with everything working
THINGS I WILL NOT ADD:
- LZ4 Compression (Our Boot partition is way too small to support this)
- Useless CPU governors (such as Userspace)
- Colour tuning support (Unless someone helps me with this)
- Higher thermal limits (We all know what happens if we do this)
- Higher overclocking/Lower underclocking capabilities (So you want less stability and more SODs?)
- Synapse support (Stweaks is the only app that can fully support this kernel)
- Linux Kernel version updates (My skills need to improve first before taking on something this big)
CREDITS:
Dorimanx (the real master of the kernel)
Gokhanmoral (Siyah Kernel)
Voku1987(This Kernel)
Alucard_24(This Kernel)
STANTRC(This Kernel)
Entropy512 (CyanogenMod)
Tungstwenty (On screen gestures addon)
Torvalds (Linux Kernel maintainer)
Computoncio (This Kernel)
cybernetus (This Kernel)
stelistcristi (Contents of this post, updates)
chhapil (Kernel build support, updates)
Chet Kener (Linaro/UBER toolchain)
Lanchon (TRIM fix and Isorec for Dorimanx)
Zeitferne (FP Bug/Music Bug fix and freezefix)
Lysergic Acid (LOS14.1)
rINanDO (LOS14.1)
serenitys (LOS14.1)
Realex-fire (Marshmallow/Nougat support and kernel fixes)
Skyline (Material Stweaks and testing)
DOWNLOAD:
Refer to third post
CHANGELOG:
Refer to second post
KERNEL SOURCE:
Source code of the kernel can be found here:
https://github.com/gsstudios/Dorimanx-SG2-I9100-Kernel
https://github.com/gsstudios/initramfs3
ISSUES:
- Users will lose a lot of functionality if they dirty flash ROM to restore kernel
- If you reboot your phone, you may experience a large battery percentage drop
- All dorimanx bugs
WHAT ROMS DO I SUPPORT?
You should only flash this kernel on top of:
- LineageOS 14.1
USEFUL LINKS
CPU Governor and I/O Scheduler Guide
DorimanX tuning guide
TCP Algorithm guide
XDA:DevDB Information
DorimanX kernel for LOS14.1 by Saber, Kernel for the Samsung Galaxy S II
Contributors
Saber, dorimanx, Realex-fire
Source Code: https://github.com/gsstudios/Dorimanx-SG2-I9100-Kernel
Kernel Special Features: See post #1
Version Information
Status: No Longer Updated
Created 2017-07-25
Last Updated 2017-09-19
Changelogs:
--UNRELEASED VERSIONS (KERNEL UNDER TEST) --
For live changelogs, see my github:
Kernel: Github Link
Initramfs (Ramdisk): Github Link
--RELEASED VERSIONS (GENERAL AVAILABILITY) --
Code:
[B]DorimanX 13.0 b005[/B]
- Pulled updates for tcp, net, uksm, binder and many more from DorimanX OP3T kernel, all thanks to @Realex-fire
- Minor build script improvements
- TCP fast open control added to Stweaks
- HYPER is now the default sleep governor
- Updated busybox from Dorimanx source - Again thanks to @Realex-fire
- Minor fixes to ROM init script
[B]DorimanX 13.0 b004[/B]
- Synced scheduler and block changes from linux 3.16
- Synced security/keys and selinux changes from linux 3.16
- Synced kernel/fork, lmk and other changes from dorimanx
- Temporarily disable playready DRM to fix package manager corruption issues
- Remove powerHAL introduced in lineageOS to remove governor setting conflicts
- Various script improvements thanks to @Realex-fire
[B]DorimanX 13.0 b003[/B]
- Reverted default governor back to HYPER
- Synced ext4 updates from mainline - Thanks to @Realex-fire
- Partition checking will only check for bad blocks now
- Lower cortexbrain auto read ahead values and add 3072KB option
- Stweaks settings will be reset after flashing this build!
[B]DorimanX 13.0 b002[/B]
- Updated exfat from Dorimanx sources
- Reverted the kernel's internal tick rate back to 250
- Changed default governor to Nightmare
- Stweaks profile updates
- Enable adb autostart and insecure adb for debugging purposes
[B]DorimanX 13.0 b001[/B]
- Initial LOS14.1 Support
- Re-added Adaptive LMK and UKMS - Better for RAM usage at the cost of some CPU time
- LZO is now being used as the default compression method for ZRAM - Much better compression, worse decompression. Better for our ZRAM size limitations.
- Synced recent zzmoove updates - New profile, stability updates, some code only for SD devices
- ZEN I/O scheduler updates from Dorimanx
Downloads
--STOP!!! IMPORTANT, PLEASE READ--
It is important that you make a backup before flashing this kernel. If you want to restore the original kernel found in your ROM, you need to restore from a backup or clean flash your ROM.
MAKE SURE YOU'RE DOWNLOADING THE RIGHT KERNEL. OTHERWISE YOU COULD BRICK YOUR DEVICE!
Flashing instructions:
1. Download latest kernel build
2. Reboot to recovery
3. Flash kernel zip
4. Reboot
For TRIM users:
To use TRIM, you can download an app on the app store called trimmer or use terminal commands as directed in the troubleshooting guide.
Isorec (Isolated Recovery)
You can use either TWRP or CWM. It is important to note that the default CWM recovery has kernel specific options within the menus, so if you require to use them, be sure to flash the isorec disabler.
Download for isorec recoveries:
https://www.androidfilehost.com/?w=files&flid=47550
If you have a dualboot setup or if you want to set up dualboot, you should stay on StanTRC recovery. If you want to return to StanTRC recovery, flash the isorec disabler:
https://www.androidfilehost.com/?fid=24369303960682947
Forgot to download backup/older kernel/isorec disabler after flashing TWRP?
Go to download mode and flash a kernel .tar file OR wait until OS boots and copy required files to your phone
Main download link:
https://www.androidfilehost.com/?w=files&flid=201577
Mirror download link:
https://github.com/gsstudios/Dorimanx-SG2-I9100-Kernel/releases
In order to tweak the kernel properly, you need to install stweaks from the apk linked here, or from the XDA downloads page
Troubleshooting
Q: Why flash your kernel? - For new users of DorimanX kernel
DorimanX kernel is an aftermarket kernel (or custom kernel) that is designed to allow users to tweak their phone at the kernel or near-hardware level side of things. In other words, users get more fine-grained control over their phone, this includes overclocking, underclocking, changing behavior of CPU/GPU etc. Adjusting such settings isn't for the faint-hearted since there is many things to understand, but you aren't required to understand all of the settings. Ultimately, if you want to improve your phone experience, try DorimanX kernel!
Q: Which kernel version build should I flash?
A: Flash the latest stable version if you want the most stable experience. Beta builds will always have the latest features and should be fine to use as a daily driver. Stable builds have been thoroughly tested for issues, but are usually older than current builds. Either way, it's up to you which one you want to flash. Read the changelog for any important changes that might have occurred in a particular build.
Q: Which app should I use to tweak the kernel?
You should only use stweaks to tune DorimanX kernel.
Q: Can I use isorec recovery on DorimanX kernel?
A: Yes you can. All important information was covered in the OP already!
Q: Why should I flash your builds when the last 'real' unofficial build was v008?
A: If you don't want to enjoy awesome features that improve the experience of dorimanx kernel, then it doesn't worry me. Real or not, I don't build kernels to have bad battery life, bad stability and etc. This is my personal build of dorimanx kernel!
Q: Wifi doesn't work after I flash this kernel
A: There are several possible causes to this issue, there could be a problem with your:
- Partitions OR
- Permissions OR
- Gapps OR
- ROM OR
- Compatibility with your wifi hardware
Don't use a pit with modded preload! It will just cause issues with ROMs and Kernels. Use stock pit or use a pit with unmodded preload. Sometimes, the gapps package you flash somehow breaks compatibility with the kernel. You can fix this by flashing a different gapps (making sure to clean cache and dalvik). If you have permissions problem, you can fix this by repartitioning your internal sd card or by reflashing back to stock rom. Sometimes, the ROM doesn't fully support the wireless drivers in the kernel, this can be solved by flashing a different ROM or different kernel. But if your wifi hardware is not compatible (a way to tell this is when you have tried everything and failed), there is nothing you can do but reflash the rom or flash a different kernel.
Q: I came from a different custom kernel that used Stweaks, now the app has issues
A: Every time you come from a different custom kernel with stweaks support, make sure to wipe cache and dalvik cache after install dorimanx kernel
Q: My battery life sucks after flashing this kernel!
A: Download and install Betterbatterystats and see what is the culprit to your problem. If it is kernel related, have you made sure you have wipe cache and dalvik and reset stweaks settings? If yes, it would be nice if you posted a logcat.
Q: How do I get a logcat for the kernel?
A: In stweaks, go to BUG-REPORT and tap on KERNEL-BUG.
Q: Why do I get bootloops with this kernel?
A: If you were on a working version on dorimanx before, there is probably something wrong with the installation. Sometimes, bootloops can occur due to corruption of the kernel zip file (usually from bad download) or from corrupted partitions.
Q: What do all of the settings mean? They are all confusing!
A: Please note that DorimanX kernel isn't for users who have just rooted their device. Before jumping into the custom kernel world, try playing around with other kernels first. Once you think you have some experience, read the stweaks beginners guide I made and then attempt to tweak the kernel using stweaks.
Q: How do I trim my partitions?
BEWARE: Make sure you have read all of the precautions before attempting to trim your partitions!
A: install the trimmer app from the playstore. App link . Check for all 3 partitions, and tap on run. grant root access. the 3 fstrim operations should be successful ("partition was trimmed" means success).
alternatively, instead of using trimmer you can run one of these commands (these are better because they also trim /preload):
# on the phone in the terminal app:
su -c "fstrim -v /system; fstrim -v /data; fstrim -v /cache; fstrim -v /preload"
# on your PC if you are connected to the phone via adb:
adb shell su -c "fstrim -v /system; fstrim -v /data; fstrim -v /cache; fstrim -v /preload"
reboot.
Click to expand...
Click to collapse
Q: My device is (hard) bricked after flashing your kernel!
A: Have you read all of the precautions before installing the kernel? You made the decision to flash the kernel and now you've stuffed up your phone.
Q: I get constant FCs after flashing your kernel!
A: Have you wiped your cache partition, dalvik cache and reset stweaks settings? If you've done all of these already, a logcat would be nice
Q: How do I use dual boot?
A: There are many guides on how to dual boot roms using dorimanx kernel. Just use the search function on XDA or GOOGLE it!
Q: What's a good combination for CPU governor and I/O scheduler?
A: Have a look at the default settings, they are optimised for our phone
However, here are some settings I recommend:
CPU Governor: HYPER/zzmoove/Darkness
I/O Scheduler: CFQ/BFQ/ZEN/Deadline/SIO
Q: Why does the screen turn blank after the dorimanx logo appears during the boot process?
A: If your kernel doesn't bootloop, but the screen remains blank, there is a good chance that the ROM that you've used uses an older version of GPU drivers (Mali). This kernel only support ROMs with Maliv3 support. If you flash this kernel on MaliV2 or MaliV1 only roms, you will get a blank screen after flashing. To fix this, flash to the kernel the corresponds to your mali driver version and you should get your display back.
Q: What is a TCP algorithm?
A: Congestion control strategies (or algorithms) are used by TCP, the data transmission protocol used by many Internet applications. The main goal of a TCP algorithm is to avoid sending more data than the network is capable of transmitting, that is, to avoid causing network congestion.
Q: What is a toolchain?
In software, a toolchain is the set of programming tools that are used to create a product (typically another computer program or system of programs). The tools may be used in a chain, so that the output of each tool becomes the input for the next, but the term is used widely to refer to any set of linked development tools.
A simple software development toolchain consists of a compiler and linker to transform the source code into an executable program, libraries to provide interfaces to the operating system, and a debugger. A complex product such as a video game needs tools for preparing sound effects, music, textures, 3-dimensional models, and animations, and further tools for combining these resources into the finished product.
Click to expand...
Click to collapse
Q: What is Linaro?
Linaro is the place where engineers from the world's leading technology companies define the future of Linux on ARM. The company is a not-for-profit engineering organization with over 120 engineers working on consolidating and optimizing open source software for the ARM architecture, including the GCC toolchain, the Linux kernel, ARM power management, graphics and multimedia interfaces.
Click to expand...
Click to collapse
Q: Why not use XYZ toolchain?
Linaro toolchain is the only one I'm going to use. If you believe that XYZ toolchain is better, then you'd have to build my kernel yourself. I chose the toolchain that I like the most, and I've had positive experiences using Linaro.
Click to expand...
Click to collapse
First kernel build for LOS14.1 is up on AFH and github. Enjoy.
Firstly, sorry for the dupe threads. Internet was acting out and now I'll have to get the mods onto it
Also, expect bugs with this release. This is a really early build and I'm doing blind builds now.
Don't flash on any other ROM than LOS otherwise you will not receive support. This kernel is only designed for LOS.
No new features will be added because I don't use the S2 as daily driver, so I won't be able to test changes thoroughly.
Regards, Saber
Nice.
Hi @Saber
Thanks a lot for spending your spare time to work on this kernel.
I wish you the best!
Sent from my STAIRWAY using XDA-Developers Legacy app
Welcome back @Saber
EDIT: I am not able to get it work on latest LOS 14.1 build. May be something wrong on my side. Phone going back to galaxy s2 logo from dori kernel logo. This is happening in loop. Anyone???
Yeah this is cool. Maybe we can make S2 N-builds even better. :laugh:
Skyline said:
Welcome back @Saber
EDIT: I am not able to get it work on latest LOS 14.1 build. May be something wrong on my side. Phone going back to galaxy s2 logo from dori kernel logo. This is happening in loop. Anyone???
Click to expand...
Click to collapse
Can you please detail your flashing procedure? Did you try reflashing the kernel?
Saber said:
Can you please detail your flashing procedure? Did you try reflashing the kernel?
Click to expand...
Click to collapse
I get it to work after too many tries and now again I am not able to boot.
*Wiped everything other than ext sdcard
*flashed rom and gapps
*flashed kernel zip
Also tried without gapps. Weird thing is that whenever I flash gapps it gives me alot of force closes. I tried 2 gapps packages and AICP but same problem occurs(without flashing kernel) that's why I thought may be something wrong on my side
Edit: I am using I9100g display panel can it be reason for my problem?? Anyways I attached dmesg.
Nice
Nice Kernel,Works fine on los14.1 and I also have overclocked up to 1.6 MHz but would not like to add 2.0 MHz in future updates?
And is it possible to add support to the kernel dt2w ?
Sorry if I'm not writing correctly, I'm not an Englishman :laugh:
X_Svyatoslav_X said:
Nice Kernel,Works fine on los14.1 and I also have overclocked up to 1.6 MHz but would not like to add 2.0 MHz in future updates?
And is it possible to add support to the kernel dt2w ?
Sorry if I'm not writing correctly, I'm not an Englishman :laugh:
Click to expand...
Click to collapse
If you mean 2,0GHz I doubt it.
I tried F2FS and it seems cache is okay but data makes android.phone process crash all the time. Not sure if it is LOS or kernel's fault.
X_Svyatoslav_X said:
Nice Kernel,Works fine on los14.1 and I also have overclocked up to 1.6 MHz but would not like to add 2.0 MHz in future updates?
And is it possible to add support to the kernel dt2w ?
Sorry if I'm not writing correctly, I'm not an Englishman :laugh:
Click to expand...
Click to collapse
What?? 2.0 Ghz is too much and also not safe. Even overclocking more than 1.4 Ghz is not good for our old device. I think we should limit cpu clock to 1.4Ghz max on this kernel for safety @saber.
Syaani said:
I tried F2FS and it seems cache is okay but data makes android.phone process crash all the time. Not sure if it is LOS or kernel's fault.
Click to expand...
Click to collapse
This issue is actually kernel's fault as it also exists on my CM13 kernel. A reboot is a possible solution to solve this issue and it shouldn't reappear. I might pull some F2FS updates from the linux git to increase stability, however the only filesystem I recommend is ext4 for internal partitions.
Edit: I was thinking before about a kernel issue where after first flashing the kernel over stock LOS kernel, the phone process would crash where it can be solved by rebooting. Need more reports to see if its just F2FS or if its regardless of fs used.
X_Svyatoslav_X said:
Nice Kernel,Works fine on los14.1 and I also have overclocked up to 1.6 MHz but would not like to add 2.0 MHz in future updates?
And is it possible to add support to the kernel dt2w ?
Sorry if I'm not writing correctly, I'm not an Englishman :laugh:
Click to expand...
Click to collapse
2.0GHz? Not possible with our SOC. 1.6GHz is about the limits and only a lucky few are able to use this frequency. Any more and I'd suspect our tiny SOC go poof along with some bad electronic smoke.
dt2w is not optimised for our touch panel and as of a result, significant battery drainage will occur. It's the same story with sweep to wake, these features weren't even supposed to be possible with our device.
Skyline said:
I am using I9100g display panel can it be reason for my problem?? Anyways I attached dmesg.
Click to expand...
Click to collapse
I've had a quick skim over the dmesg and couldn't find anything too substantial to be the root cause of the issue (may need to go through with a fine comb). Maybe logcat? How about marshmallow? Does the same behaviour occur there?
Saber said:
I've had a quick skim over the dmesg and couldn't find anything too substantial to be the root cause of the issue (may need to go through with a fine comb). Maybe logcat? How about marshmallow? Does the same behaviour occur there?
Click to expand...
Click to collapse
If I comment last lines in init.rc then rom boots fine
EDIT: @Saber, How can I take logs during s2 bootlogo to dorimanx kernel logo? I tried to take logcat using command 'adb logcat > log.txt' on linux but device is not getting detected.
X_Svyatoslav_X said:
Nice Kernel,Works fine on los14.1 and I also have overclocked up to 1.6 MHz but would not like to add 2.0 MHz in future updates?
Click to expand...
Click to collapse
With 2.0 GHz the CPU will explode
X_Svyatoslav_X said:
Nice Kernel,Works fine on los14.1 and I also have overclocked up to 1.6 MHz but would not like to add 2.0 MHz in future updates?
And is it possible to add support to the kernel dt2w ?
Sorry if I'm not writing correctly, I'm not an Englishman :laugh:
Click to expand...
Click to collapse
{
"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"
}
WARNING :
This kernel is for Oneplus 5T (dumpling)
Code:
You will NOT void your warranty after flashing this kernel.
Be sure to make all necessary backups first before processing to installation.
I'am not responsible of any damage caused to your device or data lost after flashing this kernel.
Of course, these are only basic warnings ! but generally you'll not get any problem :)[/COLOR][/FONT]
Some reading..
Welcome to SimpleGX kernel ! a kernel that aims for simplicity, stability, better performance, smoothness and battery life over a pure stock kernel.
This kernel is designed for people who are (like me) bored to flash kernels which integrate tons of unneeded things.
Main goals of it is to stay MUCH closer to stock than every kernels shared here and almost not to be a “custom kernel” on its own. So beware, no exotic stuffs here !
No need for any third app or whatever to control this kernel. Just "flash-n-joy" ! this is how I always liked thing.
Keep in mind that this kernel has been designed for my daily use first.
As always, I'm enjoying sharing my contribution here on XDA for free, which taking me a lot of (my free) time to test before releasing. So, if you can offer me a little beer, it will be really appreciated!
This kernel must be only flashed over an official Oneplus 5T OxygenOS (OOS) ROM !
Feel free to include my kernel to your ROMs / threads but please don't forget to inform/ask first via PM and credit me properly in your original thread. It's always appreciated.
★ WHAT TO EXPECT ★ :
(over a pure stock kernel) :
Slightly better battery life
Slightly better performance
Include only efficient (but definitely not experimental) tweaks
Stay as close as possible from pure stock source
★ FEATURES (up-to-date) ★ :
Base :
Always directly based from latest available "android_kernel_oneplus_msm8998" Android Nougat/Oreo/Pie source from Oneplus5T OxygenOS (for clean work)
Compiled with stock Google (4.9.x / aarch64-linux-android) toolchain (for best stability)
Featuring AnyKernel3 (for all ramdisk compatibility)
Stock Linux
Main :
Kernel logger disabled
Very few fixes/optimizations patches for stock interactive governor
Completely optimized stock 'cfq' I/O scheduler
All TCP congestion control modules activated with Westwood currently as default
mmc/core: disabled CRC check
Disabled CC_OPTIMIZE_FOR_SIZE
tcp_output: set initial TCP window size to 64K
fs: default to noatime
Decrease BCL low battery threshold to 5%
WireGuard support (thanks to @zx2c4)
Xbox controller (and other USB pads) support
Dash Charge support
Removed verify and forced encryption + patched SafetyNet flags to pass CTS
Disabled suspicious OnePlus services and logging
Some miscellaneous tweaks, fixes, patches and security patches
Various tweaks :
Full changes to be discovered directly in my Github source below
Features that will NEVER be included in this kernel :
adding any other governor/IO schedulers than those stock
root/busybox auto-installation
CPU/GPU overclocking/undervolting
KCAL
adreno idler
state_notifier
any upstream of Linux kernel
dual-boot
etc
★ PREREQUISITE ★ :
An unlocked Bootloader
An Android Nougat/Oreo/Pie firmware (based on OxygenOS)
A custom recovery (TWRP recommanded), to flash the kernel
Optional : to control some kernel tweaks, you can install Kernel Adiutor)
★ SOURCE (up-to-date) ★ :
SimpleGX (normal version)
SimpleGX (ALS version)
★ INSTALLATION PROCEDURE ★ :
Backup everything you need (internal & external)
Unlock your bootloader
Flash your favorite TWRP recovery
Reboot to TWRP
Wipe both cache & dalvik partitions
Flash your full usual ROM/firmware (optional if you did not flashed any other custom kernel)
Flash SimpleGX kernel
Flash root (Magisk recommended but should work with SuperSU also)
Reboot and enjoy !
★ Frequently Asked Questions (FAQ) ★ :
How can I update my SimpleGX kernel version ?
- Nougat: Just make a dirty flash over it. If there is a special thing to do, then it will be precised directly into the announce.
- Oreo/Pie: flash kernel and root right after (otherwise your device won't boot).
How can I go back to stock kernel ?
Just flash back your full usual rom/firmware back (flashing stock kernel is not enough since it does not brings stock modules back to the rom/firmware).
Is there a LineageOS (LOS) version of you kernel ?
No, and there won’t be any this time on OP5T.
Is your Oreo/Pie version compatible with custom ROM's (8.1.x) ?
No, only official OOS Oreo/Pie.
My battery is draining like hell, what's wrong ?
As @nathanchance perfectly said for his kernel: "The kernel doesn't drain any battery, use an app like BetterBatteryStats to figure out what app is screwing with your phone".
Also, generally, I remarked that wiping cache+dalvik between updates may drain a lot for the percentage left and the first cycle. Anyway, be sure to make at least two full cycles (from 100% to 0%) before judging battery life for any kernel.
How to recover excellent battery life ?
Check my personal tips HERE.
★ for OnePlus 5T ★
/!\ PLEASE DO NOT MIRROR MY DOWNLOADS /!\
Need supports ? all kind of questions must be posted on this thread directly. Be sure to read at least completely this first post before asking any question.
If you enjoy this kernel, don't forget to rate this thread
stars, and clicking the 'thanks' button (right below). It's always appreciated to keep this thread maintained
LIKE MY WORK ?
OFFER ME A
:good::highfive::good:
CHANGELOG
★ CHANGELOG ★ :
13.08.2019 : v6.4 released.
Synchronize codes for OxygenOS 9.0.8 (Android Pie / 9)
26.07.2019 : v6.3 released.
Synchronize codes for OxygenOS 9.0.7 (Android Pie / 9)
Updated Anykernel3 to latest version
Updated WireGuard to latest version (20190702)
11.06.2019 : v6.2 released.
Synchronize codes for OxygenOS 9.0.6 (Android Pie / 9)
Upgrade from AnyKernel2 to AnyKernel3
Updated WireGuard to latest version (20190601)
22.05.2019 : v6.1 released.
Synchronize codes for OxygenOS 9.0.5 (Android Pie / 9)
Updated Anykernel2 to latest version
Updated WireGuard to latest version (20190406)
(slightly ) updated Google GCC 4.9 toolchain
06.01.2019 : v6.0 released.
Synchronize codes for OxygenOS 9.0.1 (Android Pie / 9)
Updated Google GCC 4.9 toolchain
Updated Anykernel2 to latest version
Updated WireGuard to latest version (20181218)
Reverted to built-in proprietary wifi module instead of opensource OOS drivers (not shared to public for now)
All modules are now internal (instead of external) (smaller kernel size)
Kernel logger is now disabled forever
25.10.2018 : v5.6 released.
Synchronize codes for OxygenOS 5.1.6
Updated WireGuard to latest version (20181018)
Updated Anykernel2 to latest version
Compiled with latest updated Google GCC 4.9 toolchain
23.08.2018 : v5.5 released.
Synchronize codes for OxygenOS 5.1.5
Updated WireGuard to latest version (20180809)
Updated Anykernel2 to latest version
28.07.2018 : v5.4 released.
Synchronize codes for OxygenOS 5.1.4
Updated WireGuard to latest version (20180718)
Updated Anykernel2 to latest version
ak2: add a warning to not forget to flash Magisk right after flashing kernel (in order to boot)
27.05.2018 : v5.3 released.
Synchronize codes for OxygenOS 5.1.2
Updated WireGuard to latest version (20180524)
Updated Anykernel2 to latest version
17.05.2018 : v5.2 released.
WiFi: migrated from OOS proprietary module to OOS opensource
Fixed (again) delayed notifications issue
Updated WireGuard to latest version (20180514)
Updated Anykernel2 to latest version
Compiled with latest updated Google GCC 4.9 toolchain
26.04.2018 : v5.1 released.
Synchronize codes for OxygenOS 5.1.1
Updated WiFi proprietary module from OOS 5.1.1
Updated WireGuard to latest version (20180420)
Important note: due to added wifi proprietary module, it is highly recommanded to be flashed only on OOS 5.1.1 (please do not complain if wifi is not working if you are on any another OOS version from this). It is also recommanded to flash full stock OOS firmware before flashing kernel and finish by Magisk (otherwise you may face infinite boot at oneplus logo).
19.04.2018 : v5.0 released.
Directly based from latest available 5.1.0 Oreo (8.1) OOS kernel source from OnePlus
Updated WiFi proprietary module from OOS 5.1.0
Updated simplegx_defconfig to match latest 5.1.0 OOS needs
Updated WireGuard to latest version (20180413)
Removed fixed notifications delay tips from joshuous (useless on 8.1)
Important note: due to added wifi proprietary module, it is highly recommanded to be flashed only on OOS 5.1.0 (please do not complain if wifi is not working if you are on any another OOS version from this). It is also recommanded to flash full stock OOS firmware before flashing kernel and finish by Magisk (otherwise you may face infinite boot at oneplus logo).
Previous releases changelog...
08.04.2018 : v4.2 (ALS) updated.
Linux-stable updated to 4.4.127
Updated Anykernel2 to latest version
Compiled with latest updated Google GCC 4.9 toolchain
04.03.2018 : v4.2 (ALS) updated.
Linux-stable updated to 4.4.120
02.03.2018 : v4.2 (ALS) released.
Introducing ALS (Android Linux Stable) version (same as original v4.2 with linux-stable merged in) - big thanks to @nathanchance
Linux-stable updated to 4.4.119
28.02.2018 : v4.2 released.
Synchronize codes for OxygenOS 5.0.4
Update WiFi proprietary module from OOS 5.0.4
Updated WireGuard to latest version (20180218)
Updated Anykernel2 to latest version
13.02.2018 : v4.1 released.
Fixed notifications delay (credits @joshuous)
Disabled suspicious OnePlus services and logging (credits @joshuous)
07.02.2018 : v4.0 released.
Directly based from latest available 5.0.3 Oreo OOS kernel source from OnePlus.
Compiled with latest updated Google GCC 4.9 toolchain
Updated Anykernel2 to match latest version available
Exact same features from Nougat version excepted the following:
- Updated WiFi proprietary module from OOS 5.0.3
- Stock Oreo defconfig merged with SimpleGX needs
My github will now feat 2 branchs for both respective Nougat and Oreo versions.
Nougat versions will always now be 3.xx and Oreo 4.xx.
Important note: due to added wifi proprietary module, it is highly recommanded to be flashed only on OOS 5.0.3 (please do not complain if wifi is not working if you are on any another OOS version from this). It is also recommanded to flash full stock OOS firmware before flashing kernel and finish by Magisk (otherwise you may face infinite boot at oneplus logo).
19.01.2018 : v3.2 released.
Fixed a little mistake from myself from v3.1 about trying to update WireGuard (thanks to @nathanchance & @zx2c4 for their precious helps)
Updated Anykernel2 to match latest version available
18.01.2018 : v3.1 released.
Updated WireGuard to match latest version available
Updated Anykernel2 to match latest version available
Update build script
16.01.2018 : v3.0 released.
Updated Anykernel2 to match latest version available
Kernel completely rebuilded from zero (again)
Removed all added arm64, cpuidle, etc commits. This version is now even more close from stock than ever (check github for changes or first post for actual features)
Also removed the following:
- Wakelocks control support
- MAPLE I/O scheduler added (and set as default)
- Very few compilation optimizations
10.01.2018 : v2.4 released.
Added some new arm64 patches
Updated Anykernel2 to match latest version available
04.01.2018 : v2.3 released.
Enable back stock Adaptive LowMemoryKiller
03.01.2018 : v2.2 released.
Add some new optimizations/fixes interesting commits (check github for changes)
01.01.2018 : v2.1 released.
Add WireGuard support
31.12.2017 : v2.0 released.
Kernel completely rebuilded from scratch (cleaner github separate commits also)
Completely thinked and reworked from zero (many commits removed, to keep only efficient ones and be more close to stock than ever)
Add some new optimizations/fixes interesting commits (arm64, cpuidle, etc)
Synchronize codes for OxygenOS 4.7.6
Updated Anykernel2 to match latest version available
Removed franciscofranco wakelocks implementation to move up to Boeffla one (only safe wakelocks are now blocked by default)
Removed old github wifi OP5 OOS implementation to now include stock proprietary OOS OP5T wifi module, and load it correctly
Switch back to stock 'O2' optimizations (instead of 'Ofast')
13.12.2017 : v1.7 released.
Revert "sched: Disable gentle fair sleepers"
DTS: Decrease BCL low battery threshold to 5%
11.12.2017 : v1.6 released.
Makefile: enable 'Ofast' optimizations
sched: Disable gentle fair sleepers
Updated Anykernel2 to match latest version available
Compiled with latest updated Google GCC 4.9 toolchain
08.12.2017 : v1.5 released.
Synchronize codes for OxygenOS 4.7.4
01.12.2017 : v1.4 released.
defconfig: Disable SEEMP support
Revert "Correctly unregister usb_psy"
Revert "kgsl: convert some workqueues to use kthreads"
Revert "kgsl: Increase priority of RT thread"
29.11.2017 : v1.3 released.
Correctly unregister usb_psy
Updated Anykernel2 to match latest version available
Revert "cpufreq: interactive: fix to come out of hysteresis mode"
Remove (broken) USB Fast Charge implenetation, for now
27.11.2017 : v1.2 released.
kgsl: Increase priority of RT thread
kgsl: convert some workqueues to use kthreads
cpufreq: interactive: fix to come out of hysteresis mode (ported from OP5 to OP5T by me)
power: qpnp-fg-gen3: queue work on system_power_efficient_wq (ported from OP5 to OP5T by me)
kernel version: add android codename version (as a future Oreo build will be made, it will be easier to discern kernel versions in infos)
25.11.2017 : v1.1 released.
Fixed brightness problem which wasn't really going to 100% (but was stuck at 30% approx).
Removed backlight dimmer useless option
25.11.2017 : v1.0 released.
Initial release (check actual features)
Thanks & greetings
★ THANKS & GREETINGS ★ :
(by alphabetic order)
Lord Boeffla
osm0sis
. . . and of course to all talented devs credited in my commits!
DONATIONS
★ DONATIONS ★ :
Many thanks @morback :good:
Many thanks Henry P. :good:
Many thanks @marko94 :good:
Many thanks @kgs1992 :good:
Many thanks @MrPepperino :good:
Many thanks @xrelic7 :good:
Many thanks @Robustuck :good:
Thank you to support my work ! :highfive:
RESERVED
Reserved.
Thanks will try it once the phone arrives. Love to see development starting
Thanks for this, I always prefer the near-stock experience with some much-needed tweaks. Flashed it on 4.7.2, boots fine, looks very smooth for now!
Keep up the good work!
Welcome to the party sir..! Look forward to your subtle and simple kernels builds..!
Welcome :highfive: i am happy to say that the most stable kernel was yours (op5) and great battery life thanx
Nice to see a new Kernel.
Thanks for your hard work!
Did you include any additional wake-up gestures?
Bug so far: Wifi disabled
Fixed
Not sure if I'm the only one or not, but it seems that I'm no longer able to adjust the brightness after installing your kernel. Other then that, everything else looks to be running pretty good.
xocomaox said:
Did you include any additional wake-up gestures?
Click to expand...
Click to collapse
Nope, sorry. I would like to stay as stock as possible, I prefer to let this kind of functions to real custom kernels
DocRambone said:
Bug so far: Wifi disabled
Click to expand...
Click to collapse
Strange, no problem of WiFi here, just tried to turn ON and connect to my home wifi and connected with success, internet test = OK :good:
Do you directly comes from another kernel ? (I would say blu_spark since we are only 2 for now on OP5T). I recommand you to revert back to stock kernel before flashing mine, and then re-test.
thephoenixvampire said:
Not sure if I'm the only one or not, but it seems that I'm no longer able to adjust the brightness after installing your kernel. Other then that, everything else looks to be running pretty good.
Click to expand...
Click to collapse
No problem also, just tried to slide from min to max and all is fine (progressive), tried with automatic brightness ON and OFF. Same as above, can you try to flash stock kernel/firmware back and then flash my kernel ? :highfive:
AndroidGX said:
Strange, no problem of WiFi here, just tried to turn ON and connect to my home wifi and connected with success, internet test = OK :good:
Do you directly comes from another kernel ? (I would say blu_spark since we are only 2 for now on OP5T). I recommand you to revert back to stock kernel before flashing mine, and then re-test.
Click to expand...
Click to collapse
Yes, restored stock kernel and installed yours after an reboot fixed the bug
Tried to flash this kernel over oos and freedom room and keep getting error 1. What am I doing wrong?
NickMidd91 said:
Tried to flash this kernel over oos and freedom room and keep getting error 1. What am I doing wrong?
Click to expand...
Click to collapse
Probably a bad download, check MD5 to be sure that it corresponds before flashing :good:
AndroidGX said:
Nope, sorry. I would like to stay as stock as possible, I prefer to let this kind of functions to real custom kernels
Strange, no problem of WiFi here, just tried to turn ON and connect to my home wifi and connected with success, internet test = OK :good:
Do you directly comes from another kernel ? (I would say blu_spark since we are only 2 for now on OP5T). I recommand you to revert back to stock kernel before flashing mine, and then re-test.
No problem also, just tried to slide from min to max and all is fine (progressive), tried with automatic brightness ON and OFF. Same as above, can you try to flash stock kernel/firmware back and then flash my kernel ? :highfive:
Click to expand...
Click to collapse
Your kernel was installed within 20 minutes of pulling my op5t out of the box, unlocking, and installing TWRP. I'll go ahead and do another full wipe/data format, see how that goes.
AndroidGX said:
Probably a bad download, check MD5 to be sure that it corresponds before flashing :good:
Click to expand...
Click to collapse
I tried it twice man and I'm flashing it on twrp like I would have on the op5 but only on the op5t. I even downloaded it twice.
Up and running smoothly. Great work!
Edit: No Wifi issues, but I have noticed that the brightness is the same from 25-100% and does not change.