Related
THIS KERNEL IS NOW OBSOLETE, DON'T USE IT.
Mine newest and stable kernel releases are now integrated into my version of CyanogenMod 7.2, please use only a kernel provided with that ROM, not this one.
Im leaving it for historical reason or for some geeks
The testing release of kernel for p350 based on kernel by drapalyuk - taken from kernel and rom + sources
I do not take any resposibility for bricked devices!
This kernel aims to optimize the performance, responsivity and battery life so please share your opinion about these factors and your ideas.
If you are experiencing any problems with WiFi or 3G try much less tweaked but more stable LITE version.
Instalation:
Download zip to your phone
Get the Custom Recovery for p350
Reboot into recovery
Backup your boot partition (if you like risk you can ommit this step )
Choose Flash zip menu
Turn off verification (as I dont signed my kernel yet)
Flash downloaded zip
Reboot and enjoy
Changelog(2.6.32.48 version):
[0.4]
Fixed black screen after wakeup issue
Added vr and sio I/O schedulers (SIO is default)
Added smartassv2 governor
VM_MAX_READAHEAD changed to 512
[0.3]
Kernel version updated to 2.6.32.48
BFS CPU Scheduler
Applied few tweaks from https://github.com/arco/buzz-kernel-2.6.32/
Some other small tweaks (List of applied patches is on github)
Compiled with newest Linaro toolchain with -Ofast flag and tuned to our architecture
LITE version:
For all guys having problems with internet connection on my kernel there is a LITE version.
It contains less tweaks thant normal version but should not have problems with internet. This version is much less tweaked so it should be more stable.
What is in lite version:
Kernel version 2.6.32.9 (not updated)
Smartass v2 governor
SIO and VR IO schedulers (SIO as default)
VM_MAX_READAHEAD changed to 512
Compiled with newest Linaro toolchain with -Ofast flag and tuned to our architecture
If you dont have any problems with 0.4 version I reccomend NOT to install Lite version
DOWNLOADS
version v0.4: http://hotfile.com/links/139705983/d792c47/kernel-pax-0-4.zip.html
version Lite: http://hotfile.com/links/139705851/518d0ef/pax0r-kernel-lite.zip.html
SOURCE: https://github.com/pax0r/pecan_kernel
Thx for:
drapalyuk - for biggest work for this device
All other devs for Android kernel - as I can learn so much from all of your work!
Debuging Info
or how to help make it better
If you have any problems with my kernel and you want to help in some way - here it is some info how you can.
Just after apearing of the problem please get logs from your device.
How to do it:
Info on CM wiki how to get Logcat
http://wiki.cyanogenmod.com/wiki/Logcat
Info about getting kmesg:
Open Terminal Emulator (or shell with ADB if you know how)
Write the following commands:
Code:
su
cat /proc/kmsg > /sdcard/kmsg.log
There should be new file kmsg.txt on your sdcard. Copy it to your PC.
info about last kmsg after sudden reboot/crash
Same as for normal kmesg but the command now should be:
Code:
su
cat /proc/last_kmsg > /sdcard/last_kmsg.txt
Created file will be named last_kmsg.txt
Attach all logs to your post (prefered way is to use http://pastebin.com/
Of course if you have any programming skills you can tinker with my sources as you wish and send patches to me
Hi Pax0r,
I will test the new kernel!
Great, file not found
Sent from my Optimus Me using XDA App
thanks from the Philippines bro..
downloading it now.. will let you know how it goes..
edit : just booted up and already like it.. i had a problem with drape's rc3 kernel because everytime my phone went to sleep and i would wake it up, the screen would just stay black and the buttons would light up and i would have to touch the screen for it to turn on.. now that problem is history!!! thanks paxor!!!!
SikatPimp said:
edit : just booted up and already like it.. i had a problem with drape's rc3 kernel because everytime my phone went to sleep and i would wake it up, the screen would just stay black and the buttons would light up and i would have to touch the screen for it to turn on.. now that problem is history!!! thanks paxor!!!!
Click to expand...
Click to collapse
i still experience that problem. well after the kernel's flashed, does that mean it will run the next time the phone's booted up?
downloading...
edit:screen stays black like before..
uploaded to mediafire
Daryll99 said:
Great, file not found
Sent from my Optimus Me using XDA App
Click to expand...
Click to collapse
here..i uploaded it to mediafire. enjoy
www . mediafire . com/ ?l5cqpdhvi8c8acw
ikazu said:
i still experience that problem. well after the kernel's flashed, does that mean it will run the next time the phone's booted up?
Click to expand...
Click to collapse
ok i just got excited. it seems i still get the touch screen problem but it happens less frequently now and right now i am also cruising at 825 mhz with no fc yet !!!
SikatPimp said:
ok i just got excited. it seems i still get the touch screen problem but it happens less frequently now and right now i am also cruising at 825 mhz with no fc yet !!!
Click to expand...
Click to collapse
tried playing games with 825 freq?
---------- Post added at 05:23 AM ---------- Previous post was at 05:21 AM ----------
on screen animation dsnt work either
Thx for feedback.
I also noticed the 'black screen issue' sometimes and working on it. Drapalyuk fixed it in CM but its not in his sources :/
What versions of ROM (CM, 2.2 etc) do you use?
only angry birds... can't tell any difference but still no fc
---------- Post added at 02:17 PM ---------- Previous post was at 02:08 PM ----------
I'm using drape's 20.10 rom... and before i would reflash to try and get that black screen took care of but in a couple days it would come back.. and it isnt so bad.. it doesn't really effect anything.. but after flashing your kernel i am getting them less now so thats a plus..
So you know How to compile the kernel
will you try to add more features ???
can you add these features
Code:
* shifted to TinyRCU kept it as default
* enabled support for various file systems
o EXT3
o EXT4
o JBD
o RFS
o JFS
o NTFS (with R/W)
* TUN/TAP now integrated into kernel
* enabled support for various network file systems
o NFS (client/server)
o CIFS
* optimized kernel for size
* enabled LZMA/GZ2/LZO compressing support for ramdisk
* bumped jHash to v3
* increased VM MAX READAHEAD to 512KB
* corrected "current kernel" string in CWM app & Tweaks app
* Universal CF-Root and CWM for I9003 Gingerbread by amit.bagaria
* CPU Governors
1. InteractiveX
2. Savaged-Zen
3. SmartAssV2
4. BrazilianWax
5. Smoothass
6. Lagfree
7. Smartass
8. Scary
9. MinMax
10. Interactive
* I/O Schedulers
1. BFQ-v2-rc1
2. V(R)
3. SIO
I flashed the kernel and now everytime i try to turn on the wifi its says error, it wont turn on. And please fix the blackscreen issue.
Daryll99 said:
I flashed the kernel and now everytime i try to turn on the wifi its says error, it wont turn on. And please fix the blackscreen issue.
Click to expand...
Click to collapse
Maybe try flash again.
If it would not work I will check on this issue later.
There must be some problem with loading wifi module for your phone...
vivekkalady said:
So you know How to compile the kernel
will you try to add more features ???
can you add these features
Code:
* shifted to TinyRCU kept it as default
* enabled support for various file systems
o EXT3
o EXT4
o JBD
o RFS
o JFS
o NTFS (with R/W)
* TUN/TAP now integrated into kernel
* enabled support for various network file systems
o NFS (client/server)
o CIFS
* optimized kernel for size
* enabled LZMA/GZ2/LZO compressing support for ramdisk
* bumped jHash to v3
* increased VM MAX READAHEAD to 512KB
* corrected "current kernel" string in CWM app & Tweaks app
* Universal CF-Root and CWM for I9003 Gingerbread by amit.bagaria
* CPU Governors
1. InteractiveX
2. Savaged-Zen
3. SmartAssV2
4. BrazilianWax
5. Smoothass
6. Lagfree
7. Smartass
8. Scary
9. MinMax
10. Interactive
* I/O Schedulers
1. BFQ-v2-rc1
2. V(R)
3. SIO
Click to expand...
Click to collapse
I will try do as much as I can - thx for some kind of list of 'thigs I should look at'. Few comments I have:
About governors - there will be smartass v2 for sure in next version - I just hadnt time to integrate it in this release (I tested it earlier at it really was smartass )
I/O Schedulers - deadline is quite enough for sd cards, but I will look into this SIO as it is based on deadline - thx for hint. I think rest of them is not needed.
File Systems - do we really need support for them? More supported format means bigger kernel.
"optimized kernel for size" - I prefer optimize for speed and it is done
Thanks again for this list - looks very interesting
Havent find the Governer in the cyanogen Mod ??
do I have to use external apps to select that governer??
edit : wifi working Fine
vivekkalady said:
Havent find the Governer in the cyanogen Mod ??
do I have to use external apps to select that governer??
edit : wifi working Fine
Click to expand...
Click to collapse
The governor does not come with the cyanogen mod ofLG p350. No you can't use external apps to install that governor,assuming it is smartass
Sent from my Optimus Me using XDA App
pax0r said:
File Systems - do we really need support for them? More supported format means bigger kernel.
Click to expand...
Click to collapse
It would be great if ntfs file system is supported as it is fast
Sent from my Optimus Me using XDA App
Daryll99 said:
The governor does not come with the cyanogen mod ofLG p350. No you can't use external apps to install that governor,assuming it is smartass
Sent from my Optimus Me using XDA App
Click to expand...
Click to collapse
I know that Dude
But we need external apps to select which Governer and I/O scheduler to be used even if it is in the boot.img. Not installing but selecting
no-frill app is used in my phone (i9003) it contains all the above items in the list i have specified earlier
Its from i9003 by doomload it contains all the things
https://github.com/DooMLoRD/SGS-SL-i9003
Hm... I can select governor from CM menu (performance -> CPU settings - not sure about english names ; ) but be aware of a fact that there is no smartass here (yet ), just standard ones (ondemand,usersapce,powersave,performance)
Sadly your kernel from i9003 is .35 one an here we have .32 so patches do not apply so easy...
But when I will have more time (Im in the middle of Bsc thesis ) I will try to port some .35 kernel for p350
Current release: Version 2.0 (stable) [09/06/2012]
SOURCE CODE: Available at GitHub
*WARNING PLEASE USE AT YOUR OWN RISK*
DISCLAIMER
FIRST OF ALL THIS IS NOT AN OFFICIAL KERNEL, IT IS NOT SUPPORTED BY OFFICIAL CM10 ROMS OR ANY PREVIEW ROMS.
ONCE YOU INSTALL THIS KERNEL YOU WILL NOT BE SUPPORTED IN THE CM10 / CM9 OFFICIAL/UNOFFICIAL DEVELOPMENT THREADS
OF ANY FORUM i.e XDA, SLATEDROID, etc.. THIS MEANS THAT YOU MUST NOT REPORT ANY ANDROID / CM BUGS TO THE ORIGINAL
COMMUNTIY THREADS FOR THE ROM YOU USE! YOU MAY HOWEVER REPORT ANY CM/ANDROID/KERNEL RELATED ISSUES TO THIS THREAD ONLY!
Click to expand...
Click to collapse
Features
CPU Overclocking up to 1500mHz (default is set at stock 1000mhz)
Stable GPU Overclock @ 450mhz (scales from 300 - 450)
Userspace CPU undervolting support
Brick prevention/precaution - disabled MMC_CAP_ERASE function from kernel
I/O Schedulers: BFQ, CFQ, SIO, DEADLINE, NOOP, V(R) (Default VR as of v1.3 - prior to 1.2 default = deadline)
Autogroup Scheduler patched to work with Android via User ID task grouping
CPU Governors: Lionheart, SavagedZen, Lazy, Scary, Intellidemand, LagFree, Wheatley, Lulzactive, SmartAssv2, Interactive, Ondemand, Powersave, Userspace, Performance (depending on ROM - interactive governor is usually set as default gov from userspace during init)
ARM libs from Linux 3.x (v2.0+)
Android Drivers from Linux 3.x (v2.0+)
Linux Security from Linux 3.x (v2.0+)
Cleancache + Zcache Support (v2.0+)
Working Zram - to enable see instructions below (v2.0+)
Fixed Video driver glitches (v1.4+)
Cleaned up tons dmesg errors and warnings (v2.0+)
Memory management fixes and patches from 3.x (v2.0+)
Alsa SoC Tiny HAL patch for better compatibility with Jelly Bean and ICS (reduces/eliminates popping sounds)
Plus various other improvements to kernel configuration and code.
Downloads: (if anyone experiences issues downloading from the androidfilehost mirrors please contact [email protected] to notify of outage as requested by afh admin, thanks!)
Current Stable:
Code:
[URL="http://goo.im/devs/godmachine81/a100_kernel/gm-a100-v2.0-signed.zip"]version 2.0[/URL]
Previous Releases:
Code:
[URL="http://beta.androidfilehost.com/?fid=9390062577138008066"]version 1.5[/URL]
[URL="https://github.com/downloads/godmachine81/Acer-A100-JellyBean-Custom-Kernel/godmachine-a100-kernel-v1.3a-signed.zip"]version 1.3a[/URL]
[URL="https://github.com/downloads/godmachine81/Acer-A100-JellyBean-Custom-Kernel/godmachine-a100-kernel-v1.2b-signed.zip"]version 1.2b[/URL]
[URL="https://github.com/downloads/godmachine81/Acer-A100-JellyBean-Custom-Kernel/godmachine-a100-kernel-autogroup-v1.1-signed.zip"]version 1.1[/URL]
[URL="https://github.com/downloads/godmachine81/Acer-A100-JellyBean-Custom-Kernel/godmachine-a100-kernel-autogroup-v1.0.1b-signed.zip"]version 1.0.1b[/URL]
[URL="https://github.com/downloads/godmachine81/Acer-A100-JellyBean-Custom-Kernel/godmachine-a100-kernel-autogroup-v1.0.1-signed.zip"]version 1.0.1[/URL]
[URL="https://github.com/downloads/godmachine81/Acer-A100-JellyBean-Custom-Kernel/godmachine-a100-kernel-autogroup-v1.0-signed.zip"]version 1.0-pre[/URL]
Tools:
Code:
[URL="https://github.com/downloads/godmachine81/Acer-A100-JellyBean-Custom-Kernel/toggle-ag.sh"]toggle-ag[/URL] Tool to Enable/Disable Autogroup and check the status.
'toggle-ag' now included with kernel zip as of 1.3a and is located at /system/xbin/toggle-ag - You may run from a terminal or create Script Manager widgets for each of the script arguments:
Code:
toggle-ag status
toggle-ag on
toggle-ag off
toggle-ag help
Please remember that this script has to be ran as root if you plan to enable/disable autogroup, however you may run as regular user to check the status or get the help dialog.
Important info on toggle-ag script usage (from the script comments):
#**Please note that toggling back and forth the scheduler will
#produce undesired effects, as it takes the system a few minutes
#to switch the process scheduler each time effectively. Imagine
#all processes that run in the backround are rearranged each time
#you switch the process scheduler. In other words you shouldn't
#toggle back and forth to make comparisons as they WILL NOT be
#effective immediately!!
Click to expand...
Click to collapse
Goo Manager Support (NEW!)
You can now download my custom kernels, recovery, tweaks, etc from Goo Manager, available on the Play Store. Goo Manager is similar to ROM Manager, except it works very well with my release of TWRP 2.2.2.0.
First time use instructions:
Set Download path to: /sdcard/goomanager/ in "Settings" (This is important as the location on Android and TWRP need to both be exact same!)
Go back to the main screen in Goo Manager and click Browse Compatible Roms
Choose 'godmachine81'
For kernels choose a100_kernel (you are welcome to look around in my other directories)
Choose the release you wish to download
Choose 'begin download'
You will see a notification for 'Download Finished' - Tap on it
It will prompt you to Select Zip(s) to flash, you may choose more than 1!
After you have selected all the zips you want to flash, go to the option 'Order and flash selected' or if you want to add a zip from a custom location, choose the 'Add zip from another location option'
Once in the Order and flash menu, it is important that you set the order to flash in the proper order, when you are sure it is right, then click Flash (First time you use Goo Manager, it will prompt you that an OpenRecovery is needed, choose that you already have one)
After You click flash, the system will reboot to TWRP, flash your .zip files, and reboot back to android without any user interaction.
ZRAM
What is it?
Zram was developed so that systems with a limited amount of physical ram may allocate a percentage of that to a system swap device using compression. By compressing the data that is in the swap space you can fit more data into the same amount of ram. For example App#1 is consuming 500mb of a total 725mb ram, this leaves you with 225mb free. If you have Zram enabled then App#1 may begin to swap to the zram device, when doing this you will have an advantage, because any amount of data from App#1 that gets swapped out to Zram will be compressed meaning it is actually using less physical ram. So instead of only 225mb free of 725mb you may now end up with something more like 400mb free because data from App#1 is compressed in Zram, in this example thanks to compression you cut the 500mb memory usage of App#1 to 325mb. Zram should have a minimal impact on performance while giving you the benefit of fitting more data into the amount of physical ram your device has.
HOWTO
This kernel includes functional ZRAM support, however to take advantage of it you must enable it from userspace (Android). Cyanogen Mod has an option in Settings > Performance > Memory to enable Zram, however it doesn't properly work - I'm not sure exactly how it is coded in the cm sources, but when you enable zram it doesn't create the zram swap device like it should. To work around this I wrote the following flashable .zip files that contain a script to automatically create the zram swap device at boot, please download and flash the size you wish to allocate to zram:
Zram - 100MB (14% ram)
Zram - 150MB (20% ram)
Zram - 200MB (28% ram)
Zram - 250MB (34% ram)
Zram - 300MB (41% ram)
Zram - 350MB (~50% ram)
To Disable/Remove Zram
In the event that you want to disable Zram then just remove the file(s) at:
/system/etc/init.d/50zram-*
After the 50zram- file has been removed, just reboot your device and you will no longer have Zram enabled. To re-enable just reflash one of the above files.
Flash Back stock kernel?
For those who wanted it: stock-kernel-signed.zip click here to download the stock ICS Kernel - This is the Stock CM kernel from The Android_Device_Acer_A100 Prebuilts on github.
To cut down on general discussion in this thread please note that I have been in the Freenode IRC Dev channel a lot lately. server: irc.freenode.net channel: #iconia-dev - My IRC handle is godmachine81 Join me there for general discussion if you don't mind. Thanks!
Video of Kernel in action on CM10 (appologize for audio and poor quality)
*All references to the Xtreme releases has been removed due lack of time needed to maintain it aside from the stable releases - will update the thread when I Xtreme development gets back underway
ChangeLog:
2.0
Backport several bits mainline code from Linux 3.5 - including Security, ARM Libs, MM, and Android specifics
Zcache + Cleancache added
Ability to concatenate kernel cmdline configuration to Bootloader's cmdline without breaking compatibility with any bootloaders ( needed for zcache/cleancache to work)
Zram patches and updates
Clean up dmesg logs
Deadline IO Sched tweak (1:1 ratio writes/fifo) - VR remains default IOsched
CONFIG: turn off some verbose logging/debugging to reduce overhead, enabled Load Lens Correction Data to smooth out camera operation
TweakIO init script included by default to optimize disk read/write performance
Several other small patches and tweaks to underlying sources
1.6
Minor patches to sources and configuration
1.5
GPU voltage and frequency updates
Interactive governor updated from N7 grouper
Adjust frequency scaling per core for new interactive gov.
1.4
This release was a testing Xtreme release which has recently been removed due to lack of development
1.3a
Script: toggle-ag now included in zip, installs to /system/xbin/toggle-ag
Default IO Scheduler V(R)
Default CPU Governor Lulzactive
1.2b
Bug Fix release for 1.2 - BFQ randomly causing "black screen" issue immediately after boot animation, preventing full boot - reboot resolved issue in most cases, but comes back at random on boot - Setting default I/O scheduler to NOOP until BFQ issue is resolved.
1.2
Autogroup per UID instead of TTY task (huge improvement to autogroup on android)
Set BFQ as default I/O Scheduler
Allocator: Switch to SLUB from SLAB
Remove verbose debugging symbols
Set proper firmware/calibration paths for WiFi in configuration
1.1
Add userspace support for undervolting
GPU OC (400mHZ) on CPU OC > 1000mHZ
Fix "Recent Apps" bug - The glitchy behavior when loading an app cached in the "Recent Apps" menu. Pointed out by DarkNight
Tune SmartassV2 for better behavior and ideal freq set at 760mHZ
Add the following CPU Governors: Lionheart, SavagedZen, Lazy, Scary, Intellidemand, LagFree, Wheatley
Deprecated the non-autogroup release also known as (default)
various other improvements to CPU, voltage, video.
1.0.1b
Add SmartAssv2 CPU Governor
Fix LOCALVERSION
1.0.1
Patched MMC_CAP_ERASE as precautionary to avoid hard brick
1.0-pre
V(R) I/O scheduler Added
SIO I/O scheduler Added
Zram sources backported from 3.0 resolved compile issue
Alpha (First public download)
Overclock added: Min Freq: 216 Max Freq: 1504
CPU Governors: Lulzactive, Ondemand, Interactive, Conservative, Userspace, Performance, Powersave
IO Schedulers: Noop, Deadline, CFQ, BFQ
Autogroup or Default Kernel available
Patch for Tiny HAL - resolves popping in audio on JB/ICS
Click to expand...
Click to collapse
If you would like to help out with the continuance of kernel development for your Acer Iconia Tab A100 please consider a small donation to help out with bills, baby formula, wipes, diapers, etc. All donations are very appreciated by my family and I! Thanks
This kernel is pretty slick, tested a previous version of it, nothing but good things to say of it, hit thanks on your way to flash this.
Tapatalked from my Galaxy S II.
pio_masaki said:
This kernel is pretty slick, tested a previous version of it, nothing but good things to say of it, hit thanks on your way to flash this.
Tapatalked from my Galaxy S II.
Click to expand...
Click to collapse
Same to all your projects pio_masaki! I always hit the "thanks" for you too buddy! BTW, the kernel you have been testing is the equivalent in the downloads section to the "default", you may want to take a stab at the "autogroup" kernel. I have been testing it with great responsiveness. Also added in SIO and tweaked some timings/voltages in the new downloads. Glad to hear you have had good results thus far
linuxsociety said:
Same to all your projects pio_masaki! I always hit the "thanks" for you too buddy! BTW, the kernel you have been testing is the equivalent in the downloads section to the "default", you may want to take a stab at the "autogroup" kernel. I have been testing it with great responsiveness. Also added in SIO and tweaked some timings/voltages in the new downloads. Glad to hear you have had good results thus far
Click to expand...
Click to collapse
Yup I have every intention of banging that new kernel, waiting a minute while I build yet another CM10 for further testing of the autobrightness levels, added a couple more slots into the array, should have it nailed this time.
pio_masaki said:
Yup I have every intention of banging that new kernel, waiting a minute while I build yet another CM10 for further testing of the autobrightness levels, added a couple more slots into the array, should have it nailed this time.
Click to expand...
Click to collapse
Was really curious to see how BFS performed with Jelly Bean /ICS either one, but i've not had any luck with getting BFS to run stable so I removed it from my kernel tree for the time being. If i can get a full port to the grouper tree with all our device sources, I'm pretty confident I can get a newer revision of BFS to working. From most of my experience with other devices and other x86 systems though, the BFS doesn't out perform Autogroup anyway, but its mostly just curiosity that makes me want to go through all the trouble of getting it working with tegra2. On another note, I'm not sure why but regardless of the kernel or configuration I use Jelly Bean seems to have a weaker performance in any benchmark than the same kernel/configuration used in ICS. I'm yet to figure out where the bottleneck is in JB. (testing with linpack, quadrant, antutu benchmark all produce lower scores than with ICS) The thing that is most important to me is the actual user experience and feel that you get and not some benchmark score.. I can say that JB is very smooth and the scores don't mean nothing if you don't look at them!!
Awesome kernel! Seems stable enough, audio also works
sent from my A1/500 Iconia slab of awsomeness
Every time I download the zip file and try to flash it I get a Failed message. I am using TWRP to flash with.
tidewaterns said:
Every time I download the zip file and try to flash it I get a Failed message. I am using TWRP to flash with.
Click to expand...
Click to collapse
download it again
tidewaterns said:
Every time I download the zip file and try to flash it I get a Failed message. I am using TWRP to flash with.
Click to expand...
Click to collapse
In TWRP do you have MD5 verification enabled? If you do then it should work after you turn that off, the zip file is signed with SignAPK.jar so it should work without any issues. I have personally flashed both to my device using TWRP. If you are using adb through TWRP to push the .zip then you shouldn't be pushing it to /sdcard/ in recovery the proper location for internal storage is /data/media/ so if you have pushed it to /sdcard/ in adb then it will exist in a directory where permissions aren't accurate for the loader. Push with adb to /data/media if in recovery, or push to /sdcard/ if pushing with adb while your tablet is booted to Android OS.
If for some reason the .zip files are corrupted on github for other users please let me know and I will recompile, recompress, resign, and reupload.. Thanks
Fransis88 said:
download it again
Click to expand...
Click to collapse
Francis88: I assume the zip files flashed ok for you? Anyone else having problems?
Mine works fine. Flashed with twrp. Of course, I cleared dalvik before I flashed. The rebooted. Works fine.
sent from my A1/500 Iconia slab of awsomeness
I really don't like flashing from internal, and twrp, at least 2.1.1, says sdcard for whatever one is mounted. Keep that in mind when flashing in twrp. I think 2.2 says sdc instead. Also in jellybean it goes to storage/sdcard0 for internal sdcard1 for external sdcards. You can probably still use the old paths but those are the correct paths for jellybean.
Tapatalked from my Galaxy S II.
I copy everything to my SD card. You can flash from it.
Actually, I've only ever flashed from internal once, it was jb gapps
sent from my A1/500 Iconia slab of awsomeness
das_webos_transformer said:
I copy everything to my SD card. You can flash from it.
Actually, I've only ever flashed from internal once, it was jb gapps
sent from my A1/500 Iconia slab of awsomeness
Click to expand...
Click to collapse
Well I'm not saying you can't its more of a personal call to never store stuff I don't want to lose on internal, especially since it gets wiped when I wipe for testing.
Tapatalked from my Galaxy S II.
I think there may be some confusion when I say "internal" and "/sdcard" Assuming that one doesn't have an external sdcard, then /sdcard would be internal storage while in android OS (meaning ICS, Gingerbread, Honeycomb, Jellybean, etc), and that same path would be /data/media while in TWRP/CWM (Recovery mode). I've never had my external sdcard (removable one) to mount at /sdcard or /mnt/sdcard on my a100 so I assumed it was safe to recommend flashing from there as I have never had any issues with it, but like I mentioned in the previous post, /sdcard is only your internal user storage while booted into Android OS and not while in Recovery, while in Recovery the symlink doesn't exist so the right location is /data/media..
If anyone isn't familiar with the hierarchical file system and the mount points for their device, then I strongly encourage them NOT to use experimental ROMS, Kernels, etc. including this one. The kernel is a very critical part of the software on the device, and without a working kernel, you WILL NOT have a working device. So if something happens that you don't have the original kernel backed up and a way to flash it, or a full backup that you can access from recovery, then testing experimental kernels is like playing with fire..
A soft brick is highly possible if you obtain: A) the wrong kernel for your device B) a corrupted download kernel -OR - C) An experimental kernel that may be misconfigured or contain "bad" source code. << All of these can be repaired easily from recovery if you have a known good version to restore from, but if you have trouble flashing one kernel that is known to flash successfully for others, then what happens when you get the Fail message when trying to restore your working kernel/system??
Hope nobody takes this the wrong way, just trying to look out for people before things go bad. Good luck..
pio_masaki said:
Well I'm not saying you can't its more of a personal call to never store stuff I don't want to lose on internal, especially since it gets wiped when I wipe for testing.
Tapatalked from my Galaxy S II.
Click to expand...
Click to collapse
I have never had to wipe the internal user storage AKA /data/media & /sdcard while testing any build, Of course it would be very easy to mess things up and accidentally wipe it from recovery, but I've never ran into any issues needing my internal SD wiped (so far).
Pio_masaki you could be talking about something else by internal storage though? Like /system or / or somewhere other than /data/media, /mnt/sdcard[0-] ?
linuxsociety said:
I have never had to wipe the internal user storage AKA /data/media & /sdcard while testing any build, Of course it would be very easy to mess things up and accidentally wipe it from recovery, but I've never ran into any issues needing my internal SD wiped (so far).
Pio_masaki you could be talking about something else by internal storage though? Like /system or / or somewhere other than /data/media, /mnt/sdcard[0-] ?
Click to expand...
Click to collapse
No I mean internal SD. I fully wipe /data including /data/media. Occasionally I dd zero them all too.
Tapatalked from my Galaxy S II.
linuxsociety said:
In TWRP do you have MD5 verification enabled? If you do then it should work after you turn that off, the zip file is signed with SignAPK.jar so it should work without any issues. I have personally flashed both to my device using TWRP. If you are using adb through TWRP to push the .zip then you shouldn't be pushing it to /sdcard/ in recovery the proper location for internal storage is /data/media/ so if you have pushed it to /sdcard/ in adb then it will exist in a directory where permissions aren't accurate for the loader. Push with adb to /data/media if in recovery, or push to /sdcard/ if pushing with adb while your tablet is booted to Android OS.
If for some reason the .zip files are corrupted on github for other users please let me know and I will recompile, recompress, resign, and reupload.. Thanks
Click to expand...
Click to collapse
I do not have MD5 verification enabled. Every time I try to flash it gets to the Verifying partition sizes then I get a failed in red on the screen.
tidewaterns said:
I do not have MD5 verification enabled. Every time I try to flash it gets to the Verifying partition sizes then I get a failed in red on the screen.
Click to expand...
Click to collapse
I would redownload, that's usually a cause if everything else is good. Any error message, like status 7?
Tapatalked from my Galaxy S II.
I finally got it installed and I overclocked it to 1504 mhz . Thanks for your help!
Sent from my A100 using xda premium
Disclaimer: I am not responsible for your broken phone , broken memory card, etc. All my kernels I test first on my own phones , and then upload here
If you like my works please do not forget donate to me(PayPal account you may find in my profile)
Very often people not read full description(then write me to email "device not start, help me" even in the middle of the night) therefore write here with giant words:
UNLOCKED BOOTLOADER REQUIRED OTHERWISE DEVICE CAN'T START WITH CUSTOM KERNEL (YOU GET USB LOGO PICTURE OR TO YOU THROW INTO RECOVERY OR BOOTLOADER)
I never add fake overclock and overclock, because for now(or forever) no method for real overclock and underclock
Random reboots for most users probably fixed in 16.04.2016 and higher
For max stability I recommend to use Interactive governor
Kernel features:
1) USB Mass Storage Support
2)
3) DT2W support (to activate it, you should install Zenmotion)
4) KVM support (Kernel Virtual machine for Intel)
5) Added support of init.d. scripts
6) Added support of exFAT file system for external sd card.
7) ZRAM is disabled for old versions, on version of December 6 and higher- ENABLED.
8) Added CD emulating feature
9) Added SWAP support(need create swap partition on sdcard)
10)
12) Add more governors and I/O schedulers
13) USB-HID mouse & keyboard function(required USB Keyboard app from GPhttps://play.google.com/store/apps/details?id=remote.hid.keyboard.client&hl=en)
14) Support joysticks (DragonRise, Inc ang others)
15) Add more TCP IPv4 congestion algorithms (May change via TricksterMod or Kernel Auditor apps)
16) Reduce min display backlight for autobrightness. For use min backlight level you should to use autobrightness and set it to the left
Deprecated features:
1. Overclock to 2000 Mhz (for A501CG only) and Overclock to 2400 Mhz (for A500CG only). Idea and work by @TheSSJ (it have been removed since 26.12.2015)
2. Based on Asus Zenfone 2 ZE551ML 2.20.40.44(more than 50%) + Asus Zenfone 6 3.24.40 sources
3. Underclock to 667 Mhz. Idea and work by @TheSSJ
4.Hotplug for all governors
5. Frandom Linux kernel generator
Note: This kernel will work on stock Lollipop firmware only like 3.24.40.87, 3.24.40.78 or 3.23.40.60 or 3.23.40.52
This kernel was created by BORETS24 So if you need more information you can pm to him.
How to flash this kernel:Method 1(via PC)Step 0:
Bootloader unlock is required for every custom rom. You can use this tool for unlock:
https://drive.google.com/file/d/0B-Fin8UxrD6PRU9MM1lQZkV0SG8/view
Step 1:
You should download files for flashing:
ADB v1.0.32: Download from Google Drive
Step2:
You should reboot your phone in the droidboot mode. (turn off you gadget then press Turn off button and volume + button)
Then go to the ADB folder and hold Shift + Right Mouse button and write this command:
Code:
fastboot flash boot new_bootXX.XX.img
,where XX.XX- numbers after words "new_boot"
Step3:
Reboot to Android.
Method 2(through CWM/TWRP, without PC)1. Download Flashable ZIP archive on phone
2. Go to recovery mode
3. Click Install ZIP and choose this archive
4. Then reboot
Archieves You make take from this post http://forum.xda-developers.com/showpost.php?p=64640638&postcount=364(Thanks to @Don No 1)
How to install Zenmotion:(it needed for DT2W)1) Download this file (asus.hardware.touchgesture.double_tap.xml) :
https://drive.google.com/file/d/0B-Fin8UxrD6PWWRBT1gwak16Tnc/view?usp=sharing
2) Put this file into system/etc/permissions
Set file permissions. It is a 0644 rw- r-- r--
3) Reboot the phone
4) Find Zenmotion in the Settings and activate it.
(It will work if you flash this kernel)
Changelog:
25.10.2016
I not remember that I removed, let's start that I changed and added
USB Mass Storage mode
Removed few unstable governors
I started to compile with use Zenfone 2 source code for Marshmallow
Existed governors from 6.0.1 source
Removed lz4- caused bugs, drain battery, very slow interface
Added bootboost feature into ramdisk such as Zenfone 2
Now drain battery less and interface speed is high
12.06.2016
Reduce min display backlight brightness to 5(no need to set to 2, no difference between 5 and 2- I checked).For use min backlight level you should to use autobrightness and set it to the left
ZRAM now turn on automatically only for 1 Gb RAM devices, for 2 Gb it disabled by default
Return to "1 core per modules" CPU mode
Return Interactive Pro and Intel governors
Remove InteractiveX and Hotplug governors(sometime caused problems)
Replace WI-FI from module into kernel
03.06.2016
Full NTFS support for SD card
NTFS OTG full support by sibling Asus File Manager(read/write), from others file managers you can to see OTG NTFS devices, may see OTG NTFS devices from file chooser but you can't edit data. But you can edit platform.xml via NextAPP SDfix and can write on NTFS OTG devices with any apps
14.05.2016
Full ExFAT SDcard support such as stock kernel(Now you can see ExFAT sdcard in file chooser, can modified data even without Next APP SDfix)
Remove UKSM and disable KSM
16.04.2016
Fixed: restore signal after long dissapear
Fixed: random reboots in phone calls
Standart processor mode "2 cpus per module"
Remove Intel, Lagfree governors and FIFO scheduler(caused reboots)
Compile with standart GCC 4.9, remove -O3 optimization(unuseless, placebo effect)
Add idle from Linux 4.6
17.03.2016
LZ4 kernel compress
LZ4 zram compress/decompress
Remove Hotplug(caused reboots, overheats) driver and return Hotplug governor
Speed-up interface
More less battery drain
Compile with SaberMod 4.9.3
Others optimizations
05.03.2016
Added again hotplug driver but modified, cores not jumping, not dancing, strongly CPU0+CPU1 always online
Approximately 90% sibling source 3.24.40
Hybrid ramdisk from 87+60 firmware
Some changes in dt2w code
Fixed CD emulation
14.02.2016
Based on Asus Zenfone 2 ZE551ML 2.20.40(more than 50%) + Asus Zenfone 6 3.24.40 sources, remove hotplug driver, return Hotplug governor
06.02.2016
Hotpluging for all governors via MSM hotplug driver(I set 2 cores always online by default, you may tuning this driver via Kernel Auditor, point CPU Hotplug), possible fix the impossibility of restoring the network signal after a long stay outside the network, remove Hotplug governor(is no longer needed)
31.01.2016
Add Hotplug governor and set it by default, without load on CPU 1,2 or 3 cores will go to offline https://www.youtube.com/watch?v=WBbCBahSgrM&feature=youtu.be
30.01.2016
Remove hotplugging from Interactive governor again, add InteractiveX V2 governor with adaptation for Quad core devices( 1 phisical core= 2 threads CPU go to offline, when screen off)
27.01.2016
Interactive governor from Asus ZenPad S 8.0 with adding hotplugging(2 threads=1 core go to offline, when screen off), underclock to 533 MHz, many code and drivers from source Asus Zenfone 2 ZE500CL, Ofast optimization
19.01.2016
Add and turn on Ultra kernel samepage merging(UKSM) technology a place of KSM, underclock to 450 MHz, may be fixed all random reboots besides during long phone calls, when dt2w is on(or fix? I don't know)
16.01.2016
Use new source code 3.24.40
Tweak Interactive governor: hispeed_freq and touchboost_freq down to 1333 Mhz
09.01.2016
May be, fix all random reboots
04.01.2016
Fixed freezes and reboots on third-party governors, when connection speed faster than 20 Mbit/s, return hotplugging to Interactive governor, return Intel and Yankactive governors, some bug fixes
02.01/2016
Compile without Ofast optimization, removed Hotplugging from Interactive governor, removed Yankactive governor, may be, this actions fix random reboots.
31.12.2015
Compile without Ofast optimization, processor works now in '1 core per modules' mode, now disable 3 core(3 threads), when screen off, on Interactive governors, try at random fix reboots on all version of devices
28.12.2015
Try to fix reboots on 1 Gb RAM modifications(return stock process drivers)
28.12.2015
a)Change toolchan from stock GCC to SaberMod 4.8.5
b) Add Hotpluging to Interactive governor, when screen off
c) Add F2FS support
d) Fix some warnings during compilations
25.12.2015
Attempt to fix screen freeze or reboots during long phone calls: change process.c driver on modifity driver from Zenfone 2. Read about it here https://github.com/kirananto/ZENFONE2/commit/044ad3da5263ba256a59b517e96a272b4e3f19f6, Fix almost all warnings in proximiry/lightsensor driver "ISO C90 forbids mixed declarations and code" during compiling, remove "fake" overclock
23.12.2015
Fix freeze and reboots of device, when chaging governors and/or schedulers, add more TCP IPv4 congestion algorithms and set Westwood by defauls in place of stock Cubic
Add some joysticks support, now may use device as keyboard and mouse for PC, move KVM from kernel to modules
15.12.2015
Underclock to 316 MHz, add Adaptive, Yankactive(with Hotplugging implementation by @TheSSJ] ) and conservativeX governors
12.12.2015
Add if.bin into kernel, to attempt fix screen freezing, push also if.bin to system/etc/firmware and reboot phone.
if.bin
11.12.2015
1. Add frandom Linux kernel generator
2. Add Bioshock, Lagfree, lionheart, Wheatley governors
3. Add BFQ, SIO, SIOplus, FIFO, FIOPS, VR I/O schedulers
06.12.15
Add ZRam support
10.11.15
1. Add SWAP support
2. Kernel build with Ofast optimization.
Now I will upload new versions on Yandex Disk
https://yadi.sk/d/tBN8eYlVr3mVZ
XDA:DevDB Information
Custom Lollipop kernel for Zenfone 5 & Zenfone 6 by BORETS24(Intel only), Kernel for all devices (see above for details)
Contributors
tank0412, BORETS24
Source Code: https://github.com/BORETS24/Kernel-fo-Zenfone-6-by-BORETS24
Kernel Special Features:
Version Information
Status: Stable
Current Beta Version: 1.0
Created 2015-11-02
Last Updated 2016-10-25
Bugs:
Some users reported that they have random reboots or screen freezes after call.
This issue have not solved yet.
Btw @tank0412 did u tried contacting borets if he can update this kernel for rr rom [emoji14]
Sent from my ASUS_T00J using Tapatalk
no_name said:
Btw @tank0412 did u tried contacting borets if he can update this kernel for rr rom [emoji14]
Click to expand...
Click to collapse
Yeah. I drop him a line on 4PDA. It looks like he stoped developing because he do not have device and he can not fix freezes after call + random reboots.
Actually in his kernel there's no freeze btw I think if he can release source then someone may work on it to make it compatible with rr rom ?
Sent from my ASUS_T00J using Tapatalk
no_name said:
Actually in his kernel there's no freeze btw I think if he can release source then someone may work on it to make it compatible with rr rom
Sent from my ASUS_T00J using Tapatalk
Click to expand...
Click to collapse
But he did this yesterday
https://github.com/BORETS24/Kernel-fo-Zenfone-6-by-BORETS24
Wow great ?
Sent from my ASUS_T00J using Tapatalk
What apps can i use to underclock overclock this kernel?
geepee410 said:
What apps can i use to underclock overclock this kernel?
Click to expand...
Click to collapse
Kernel auditor.
But this kernel has a default underclock/overclock. (400mhz/2000Mhz)
tank0412 said:
Bugs:
Some users reported that they have random reboots or screen freezes after call.
This issue have not solved yet.
Click to expand...
Click to collapse
Hi mate I am using this custom kernel and dt2w and its in ON state for three days now and I can confirm I don't have any freezes or reboots.... I had flashed internal data, system and cache before installing, and also had first installed. 44. Version KitKat..... During installing KitKat I relocked boot loader and flashed stock recovery. Then I installed. 54 version then lollipop. 60 and finally. 78 lollipop.. After this i unlocked bootloader and flashed twrp... Then flashed custom kernel and zen motion, no lags [emoji2]. Only my phone wakes everytime when I am on 2G data enabled and WiFi off..
Sent from my ASUS_T00F using Tapatalk
tank0412 said:
But he did this yesterday
https://github.com/BORETS24/Kernel-fo-Zenfone-6-by-BORETS24
Click to expand...
Click to collapse
U should share this to Quanqanh
kunalshah912 said:
Hi mate I am using this custom kernel and dt2w and its in ON state for three days now and I can confirm I don't have any freezes or reboots.... I had flashed internal data, system and cache before installing, and also had first installed. 44. Version KitKat..... During installing KitKat I relocked boot loader and flashed stock recovery. Then I installed. 54 version then lollipop. 60 and finally. 78 lollipop.. After this i unlocked bootloader and flashed twrp... Then flashed custom kernel and zen motion, no lags [emoji2]. Only my phone wakes everytime when I am on 2G data enabled and WiFi off..
Sent from my ASUS_T00F using Tapatalk
Click to expand...
Click to collapse
Hello there heheh i can see rr members here hahah
Yerp i am using it for 2 days, everything ok. Only screen freeze when temp high up to 42 degree.
Might be bootloader unlock. Later will try relock back and see wat will happen
Sent from my ASUS_T00J using XDA Forums
mshazrul82 said:
Hello there heheh i can see rr members here hahah
Yerp i am using it for 2 days, everything ok. Only screen freeze when temp high up to 42 degree.
Might be bootloader unlock. Later will try relock back and see wat will happen
Sent from my ASUS_T00J using XDA Forums
Click to expand...
Click to collapse
For relocking you need to install stock recovery
Sent from my ASUS_T00F using Tapatalk
@quanganh2627 if you interested in sources of borets kernel then you can see sources are released by him and one thing to tell you that in his kernel "no freeze after call" or any such type of bug,his kernel is supper smooth so maybe you can do something to make it work on our rr rom ?
Sent from my ASUS_T00J using Tapatalk
hey @tank0412 what new on update 2/11 ,sir ?
ChungVan said:
hey @tank0412 what new on update 2/11 ,sir ?
Click to expand...
Click to collapse
Nothing. i just created own topic for it on XDA.
Is this the same kernel that you post in the rr thread? @tank0412
myrul said:
Is this the same kernel that you post in the rr thread? @tank0412
Click to expand...
Click to collapse
Yeah, it is a same.
kunalshah912 said:
For relocking you need to install stock recovery
Sent from my ASUS_T00F using Tapatalk
Click to expand...
Click to collapse
R u using stock .78 with dt2w kernel, if yes then what type of settings r u using as my battery is draining very fast and r u also using power saver? Please reply.
Thanks
tank0412 said:
Bugs:
Some users reported that they have random reboots or screen freezes after call.
This issue have not solved yet.
Click to expand...
Click to collapse
with this kernel , no random reboots or screen freezes after call.
i think it have only one problem was limited 3 minutes when call . after 3 minutes , the call will auto end
Note: This kernel will work on stock firmware2.20.40.184, 2.20.40.183, 2.20.40.178, 2.20.174, 2.20.40.168, 2.20.40.165, 2.20.40.164 and may be lower, also working on some stock-based ROMs(EchoeROM V3,for example).
Disclaimer: I am not responsible for your broken phone , broken memory card, etc. All my kernels I test first on my own phones , and then upload here
If you like my works please do not forget donate to me(PayPal account you may find in my profile)
Bootloader unlock is required for every custom rom, custom kernel, custom recovery. Unlock Tool here:http://forum.xda-developers.com/zenfone2/general/tool-one-click-bootloader-unlock-root-t3155884
Changelog:
03.06.2016
Full NTFS support for SD card
NTFS OTG full support by sibling Asus File Manager(read/write), from others file managers you can to see OTG NTFS devices, may see OTG NTFS devices from file chooser but you can't edit data. But you can edit platform.xml via NextAPP SDfix and can write on NTFS OTG devices
14.05.2016
Migration to newest source code from Zenfone Zoom ZX551ML from 20 april 2016
Ramdisk from 183 firmware
Some optimization in code
17.04.2016
Full support exFAT SDcard format, now you may write/delete/rename by standart method of Android 5
16.04.2016
Great game performance
Remove Hotplug driver
Remove -Ofast optimization(loud words-not take effects, placebo)
Remove optimization flag -march=silvermont(loud words, did not work on 3.10 kernels)
Remove touchboost from Interactive governor
Modified Interactive, Interactive Pro, Intel, Cyan governors: CPU2 and CPU3 turn off when screen off
Idle from Linux kernel 4.6
Gpu governor simple_ondemand from Linux kernel 4.6
Based on source code from Zenfone Zoom ZX551 from march 17
zram and kernel compression is LZ4
04.03.2016
Rework MSM Hotplug, now only CPU0+CPU1 online, no dancing CPUs.
For humor and proof that overclock in others kernels is fake added "overclock" to 5GHz
28.02.2016
Re-work MSM Hotplug. Now if load more than 79 but lower than 99- only another 1 core go to online(CPU2 or CPU3)) and processor working on 3 cores online, if load more than 99- CPU3 and CPU2 go to online together and processor working on all 4 cores online DO NOT set fast lane 99 and higher!!!
Made 12 thermal states for video adapter a place of 3. If on 457 MHz have overheating- freq go to 400 MHz, if overheating on 400- go to 355, if hot on 355-go to 320 MHz and so on. In stock kernel if overheating on 457 MHz- processor goes in 200 MHz and was lags in games
25.02.2016
Compile with new march=silvermont optimizationmarch=silvermont(thanks to @Dan_Jacques )
Tuning MSM hotplug for Zenfone 2: now interface faster, smoother even when min cpus online = 2. And maybe drain battery less.
Unlocked almost all hidden GPU frequencies. Now available gpu frequencies 106, 133,160,177 MHz(I think this NOT fake underclock). I made Kernel Auditor version for our GPU PowerVR 6430 (see screnshots here http://i10.pixs.ru/storage/5/8/1/Bezimyanni_7545670_20843581.png ) https://drive.google.com/file/d/0BxVRXQGBg4DTaThjQUtoRFBrdms/view?usp=sharing
21.02.2016
Based on Asus Zenfone Zoom source code
Fixed hotplug driver and tuning(Now drain battery much less and fixed charging: now no overheating)
Added Cyan governor
Changed Interactive governor to Interactive from Asus Zenfone Zoom
18.02.2016
Now 2 different versions: for ZE551ML and for ZE550ML, Tuning MSM Hotplug(2 cores always online, Fast Lane up to 150), added Interactive Pro governor and set by default
04.02.2016
Interactive governor by default, realtime Hotplugging now on any governors, on Interactive too(Extra CPU cores disabled without load) Idea and work @mrg666 . You may to set parameters of hotplug driver via Kernel Auditor, point "CPU Hotplug"
Remove Hotplug governor(no longer needed)
Kernel Features:
1.Based on Zenfone Zoom ZX551ML source
2. Add zram support in LZ4 format(no need to turn on it, if no problem with multitasking and never no need to turn on for devices with 4GB RAM), kernel compression LZ4 too
3. Adaptation InteractiveX V2 governor for quad core devices, I make that 2 cores go to offline, when screen off
4. Processor work in "1 cpu per module" mode a place of "2 cores per module"(4 independent cpus, not pair)
5. Ofast and march=silvermont(thanks @Dan_Jacques optimization with GCC 4.9
6. Init.d support. You should install BusyBox in /xbin folder/
7. SELinux Permissive
8. KVM support (Kernel Virtual machine for Intel)
9. Added SWAP support
10. USB-HID mouse & keyboard functions(required USB Keyboard app from GPhttps://play.google.com/store/apps/details?id=remote.hid.keyboard.client&hl=en)
11. Ultra kernel samepage merging(UKSM) a place of KSM. Disabled by default, if you want you may turn on it via Kernel auditor
12. Full auto brightness. I removed minimal level 15, now level 5
13. More governovs and I/O schedulers
14.Zram disabled
15. More TCP algorithms, Westwood by default
16. Unlocked GPU frequencies 106, 133, 160, 177 MHz
17. NTFS support for SD card and OTG
Deprecated features:
1.Hotplug governor by default. Extra CPU cores disabled without load(it have been removed sinse 04/02/2016)
2. For correct work on ZE550ML you should change DPI to 320, for example via init.d script(root required).
1). Before flash kernel, you should install BusyBox in xbin folder, then create init.d folder in system/etc and set 755 permissions on it.
2) Download dpi320.zip, then extract dpi320 file and put it in system/etc/init.d folder, check that on it set 755 permissions
https://yadi.sk/d/6hg6bDDioCNbT
3). You may flash kernel.
3. Interactive governor from Asus ZenPad S 8.0 by default with some tuning(for example, hi_speed freq = 1583 MHz) and hotplugging additions( 2 cores go to offline, when screen off) Idea and work by @TheSSJ
4. Realtime hotplugging for all governors. You may to set parameters of hotplug driver via Kernel Auditor, point "CPU Hotplug"
5. Interactive governor from Asus Zenfone Zoom by default with some tuning(for example, hi_speed freq = 1750 MHz), InteractiveX and Interactive Pro have hispeed_freq 1750 MHz too.
Step 1:
You should download files for flashing:
ADB v1.0.32: Download from Google Drive
IMG file with kernel:
03.02.2016 https://yadi.sk/d/FuJhWqc9oCLZy
04.02.2016 https://yadi.sk/d/PcDiDaumoJMb7
All versions from 18.02.2016 and higher will be here: https://drive.google.com/folderview?id=0BxVRXQGBg4DTSVV5Q19mSVUxQk0&usp=sharing
Step2:
You should reboot your phone in the droidboot mode. (turn off you gadget then press Turn off button and volume + button)
Then go to the ADB folder and hold Shift + Right Mouse button and write this command:
Code:
fastboot flash boot bootXX.XX.img
,where XX.XX- numbers after word "boot"
Step3:
Reboot to Android.
Method 2( via TWRP, without PC)1. Download bootXX.XX.img
2. Go to recovery mode
3. Click Install, choose this bootXX.XX.img, choose boot partition and flash
4. Then reboot
Method 3(via Terminal Emulator, without PC)(root required)1. Download bootXX.XX.img and put it in root of internal memory
2. in command prompt write
Code:
su
dd if=/sdcard/bootXX.XX.img of=/dev/block/by-name/boot
reboot
And device started with custom boot.img
XDA:DevDB Information
Custom Lolipop Kernel for Asus Zenfone 2 ZE551ML/ZE550ML, Kernel for the Asus ZenFone 2
Contributors
BORETS24
Source Code: https://github.com/BORETS24/Kernel-for-Asus-Zenfone-2.git
Kernel Special Features:
Version Information
Status: Testing
Created 2016-02-02
Last Updated 2016-09-03
Nice work, especially the Hotplug features (maybe you should transfer your post under http://forum.xda-developers.com/zenfone2/development ?)
nazagan said:
maybe you should transfer your post under http://forum.xda-developers.com/zenfone2/development ?)
Click to expand...
Click to collapse
Maybe... How I can to do this?
Can you add flashable zip please? thank you.
serhangelgor said:
Can you add flashable zip please? thank you.
Click to expand...
Click to collapse
Why?
Method 2(through CWM/TWRP, without PC)
1. Download bootXX.XX.img
2. Go to recovery mode
3. Click Install, choose this bootXX.XX.img, choose boot partition
4. Then reboot
Or you can flash without PC and without custom revovery
Method 3(through Terminal Emulator, without PC)(root required)
1. Download bootXX.XX.img and put it in root of internal memory
2. in command prompt write
Code:
su
dd if=/sdcard/bootXX.XX.img of=/dev/block/by-name/boot
reboot
And device started with custom boot.img
BORETS24 said:
Why?
Method 2(through CWM/TWRP, without PC)
1. Download bootXX.XX.img
2. Go to recovery mode
3. Click Install, choose this bootXX.XX.img, choose boot partition
4. Then reboot
Or you can flash without PC and without custom revovery
Method 3(through Terminal Emulator, without PC)(root required)
1. Download bootXX.XX.img and put it in root of internal memory
2. in command prompt write
Code:
su
dd if=/sdcard/bootXX.XX.img of=/dev/block/by-name/boot
reboot
And device started with custom boot.img
Click to expand...
Click to collapse
hey bro, if you don't mind can I add up a few things for you?? it will reduce your work and since you are on kernel 3.10.20 you can try to use my direct jump patch to jump to kernel.org v3.10.94 here's the link https://github.com/Zenfone2-Dev/direct-kernel-patch
and nice work.
installed and opened only 1 core, its too good and battery life is amazing, thanks so much for this amazing work, can you add underclock feature? it will give more batterry life
serhangelgor said:
can you add underclock feature? it will give more batterry life
Click to expand...
Click to collapse
No, I don't want to add fake underclock. It give more interface freeze and nothing else besides placebo effect and boastfulness. I started to make kernel for zenfone 2 in july 2015 and using "underclock" some time- no different battery life between 500 and 250 MHz, I tried and 166 MHz and even 83 MHz- no effect besides slow and freeze interface.
say99 said:
hey bro, if you don't mind can I add up a few things for you?? it will reduce your work and since you are on kernel 3.10.20 you can try to use my direct jump patch to jump to kernel.org v3.10.94 here's the link https://github.com/Zenfone2-Dev/direct-kernel-patch
and nice work.
Click to expand...
Click to collapse
Thank you very much, may be apply this patch in future.
BORETS24 said:
Thank you very much, may be apply this patch in future.
Click to expand...
Click to collapse
made a pull request keep working and if you want you can switch to gcc 5.3.0 toolchain https://github.com/Zenfone2-Dev/x86_64-toolchain-GCC-5.3.0
BORETS24 said:
No, I don't want to add fake underclock. It give more interface freeze and nothing else besides placebo effect and boastfulness. I started to make kernel for zenfone 2 in july 2015 and using "underclock" some time- no different battery life between 500 and 250 MHz, I tried and 166 MHz and even 83 MHz- no effect besides slow and freeze interface.
Click to expand...
Click to collapse
BORETS24, can you add F2FS support? I feel the IO more smooth with it (in other phones there is a huge difference between ext4 and f2fs, like Moto G), but requires changes in kernel config file (easy) and a modified ramdisk with edited fstab (more complicated). There is an Project T version that includes a fstab with the needes changes [link=http://forum.xda-developers.com/zenfone2/development/project-t-custom-kernel-zenfone-2-t3150822/post64366155]here[/link] (but only boot with all /system /data / cache formatted in F2FS). With the correct lines, it's possible to make a mixed fstab, and supports both fs.
Changelog:
04.02.2016
Interactive governor by default, realtime Hotplugging now on any governors, on Interactive too(Extra CPU cores disabled without load), remove Hotplug governor(no longer needed)
BORETS24 said:
Changelog:
04.02.2016
Interactive governor by default, realtime Hotplugging now on any governors, on Interactive too(Extra CPU cores disabled without load), remove Hotplug governor(no longer needed)
Click to expand...
Click to collapse
hey bro, I can't find the commit for realtime hotplugging
Sent from my ASUS_Z00A using Tapatalk
Im using it, looks good, thanks
say99 said:
hey bro, I can't find the commit for realtime hotplugging
Sent from my ASUS_Z00A using Tapatalk
Click to expand...
Click to collapse
If will no critical bugs I will upload to Github, need time for test by users.
BORETS24 said:
If will no critical bugs I will upload to Github, need time for test by users.
Click to expand...
Click to collapse
just an advice : always upload up the commits and make two builds, test builds and stable builds, you can always revert the things you pushed to git
Sent from my ASUS_Z00A using Tapatalk
say99 said:
just an advice : always upload up the commits and make two builds, test builds and stable builds, you can always revert the things you pushed to git
Sent from my ASUS_Z00A using Tapatalk
Click to expand...
Click to collapse
I'm just recently start to use Github, for me easier delete changes from sources on PC Ubuntu than from github before changes,I keep stable source in zip archieves, old school And I can't to know which version of boot.img is stable which is not. Will make two unstable build? Alone I can't test everything, all hope on users. If you don't want to wait, I may to say that use Autosmp hotplug driver...
BORETS24 said:
I'm just recently start to use Github, for me easier delete changes from sources on PC Ubuntu than from github before changes,I keep stable source in zip archieves, old school And I can't to know which version of boot.img is stable which is not. Will make two unstable build? Alone I can't test everything, all hope on users. If you don't want to wait, I may to say that use Autosmp hotplug driver...
Click to expand...
Click to collapse
haha I can understand maybe that's y I added up the build script. A single command and you get a flashable zip without any need to manage them and that command is ./buildzf2
and yeah I have changed the defconfig in script and made a pull request so just get a hold on that
Sent from my ASUS_Z00A using Tapatalk
Add to description of kernel:
You may to set parameters of hotplug driver via Kernel Auditor, point "CPU Hotplug"
I really love your works. You made a big update for this cpu. Can you make a undervolt for this kernel, master ?
UPDATE: I really no longer have the time to update the custom kernels, I now work 16 hours days, 5-6 days weekly. With travelling time added, I barely have time to sleep.
Battery optimization is about choosing the right rom, tuning cpu governor interactive, disabling Google Play Services (use microG & tune GCM), forcing doze immediately, disabling ads, using black/white screen, app optimization (disable analytics, instant messaging), plus many other things.
Identify the rom, the base (aosp or lineage), can choose to use any of the kernels below if it is based on the same base. A backup of your original rom's kernel is in the rom.zip file, simply extract it and restore if encounter any problems.
I have created a guide here
(Please don't quote the original 1st post when replying, as everything is in progress, not written yet,
Please don't ask for ETAs, I'm only doing this in my limited spare time, thank you)
My kernels are NOT flash-and-forget, please READ through post #1, then CONFIGURE using Kernel Adiutor Mod (see post #2)
IMPORTANT DISCLAIMER
I bear no responsibility towards any malfunction of your device. Use my kernels at your own risk.
I do NOT own any of the devices below, so I could not flash/test any of the kernels
BACKUP YOUR PARTITIONS!!!
Before attempting to flash any kernel/rom, backup your critical partitions! It's meaningless to ask for help when disaster strikes. Follow the links below, root is required.
Partition Dump - Complete STEP 1
Partition Backup by wanam (save as both .img & tar.gz, plus the 1st 100MB - see 'spanner tool')
There's no need to backup the System or Data partition if you just want to backup the partitions only. But backup your SDCard if the rom got problems with it.
Credits & Thanks
abhishekr700 | source
kaankulahli | source
For Z00ED & Z00RD variants only, meaning these kernels are for Asus Zenfone 2 Laser models
- ZE500KG
- ZE500KL
Change Log (v06 SDCard fix)
v06
added SDCard Filesystem support
v05
added cpu hotplug: autosmp
v04
added USB Fast Charge, credits to @ENGstk
v03
removed CRC Check for 30% Performance Boost
v02
added SeLinux: Set to permissive
v01
added tcp-algorithm: westwood (default), bic, htcp, hstcp, hybla, vegas, scalable, lp, veno, yeah, illinois
added memory: samepage merging, frontswap, cleancache
added filesystem: ntfs
added config: kernel config.gz can be found at /proc
removed hotplug: msm performance
removed cpu: touch boost
v00
same as stock boot.img from rom
DOWNLOAD
Unzip, copy to phone, then flash kernel via TWRP (select BOOT partition), re-flash SuperSU if you use it, reboot directly.
(Note: if you need to revert to original kernel, either use :
v00 of my kernel - its the same as your stock rom boot.img,
or extract boot.img from the rom)
If you use Magisk, refer to this thread 1st post - Installation Instructions, section "If you're not rooted, or something went wrong and you need a clean start"
Nougat
LineageOS-based AICP-12.1 Nougat, latest kernel is v06 for ROM aicp_Z00ED_n-12.1-NIGHTLY-20170301.zip
Kernel Source
After flashing kernel, configure using Kernel Adiutor Mod
reserved 02
reserved 03
reserved 04
pokipokipxorn said:
After flashing kernel, configure using Kernel Adiutor Mod
Click to expand...
Click to collapse
There is no cpu hotplug section on kernel adiutor mod
AltMailey said:
There is no cpu hotplug section on kernel adiutor mod
Click to expand...
Click to collapse
cpu hotplug on my device is there,bro ,
maybe u try download other version apk again
Adhe_88 said:
maybe u try download other version apk again
Click to expand...
Click to collapse
Which version? I use V15 version but still doesnt appear
Even on playstore version too
My phone is Z00RD
Where cpu hotplug ? :laugh: or not work at Z00RD ?
Where's the download link?
..
rawstar11 said:
..
Click to expand...
Click to collapse
v06
There is no CPU Hotplug in settings
It's Work only with aicp_Z00ED_n-12.1-NIGHTLY-20170301.zip? @pokipokipxorn
For Z00UD plz?.. z00t I'm using rr nougat
hi there,
on aicp 20170804 sd card can be seen only on file manager but other programs and also on windows mount only internal memory shown or mounted. any related on kernel?
thnx
Have you abandoned Z00LD kernel??