lflint added a topic in Asus Padfone 2[Kernel] Stone custom kernel for PF2 OC/UV/etcPresenting the Stone Kernel for Padfone 2, a custom kernel designed to get a little more out of the phone.
DISCLAIMER: As per all custom kernel disclaimers, while I do test this kernel on my own device, I'm not responsible for you voiding your warranty, or any damage/bricking/weirdness that may occur to your Padfone. If you're not comfortable with this, do not proceed.
Latest version can be found at:
v0.6 available as of 2013/06/05.
Based on ASUS source code v10.4.15.1, compatible with Android 4.1.1 stock PadFone2 firmwares
Lowest CPU frequency set to 192mhz
CPU frequency locked to 192mhz-1512mhz during boot
Undervolted to save power & reduce heat
Undervolt interface (compatible with System Tuner, Kernel Tuner, etc)
Disabled "Monitor thermal state and limit CPU Frequency"
Additional CPU Governors: Wheatley, InteractiveX v2
Set InteractiveX v2 CPU Governor to default instead of Performance, to lower battery consumption, maintain snappy performance, and improve CPU freq config
GPU normal freq set to 128mhz to lower battery usage (will still scale upto 487mhz when busy)
Simple IO Scheduler (SIO) added, and set as default
Increased min/max read-ahead values from 16/128 to 32/1024
USB FastCharge (enable using Kernel Tuner, sysfs, etc)
Disabled Android Logger to reduce IO</end> and improve performance (temporarily reverted)
OC version: Overclocking upto 1.72ghz for a bit faster performance
OC version: GPU overclock to 487mhz
Currently two versions:
"Dual" = 2 max CPUs (reduced from 4 to save power, and improve overclocking stability)
"Quad" = 4 max CPUs (as per stock, but my tests indicate that the "Dual" version will provide better performance and stability)
"Standard voltage" - Only slightly lowered voltage, for those wanting a only-slightly-lowered voltage, close to stock. Usually more stable.
"Low voltage" - Tweaked voltages that are stable on my PF2. You may need to raise/lower slightly to achieve the best result on your phone.
"OC" = CPU OC to 1.72ghz, GPU OC to 487mhz. Lower CPU voltages.
"STD" = No OC. Only slightly lower CPU voltages than stock.
Replace Wifi modules with AOSP versions (needed due to the way the stock modules were compiled by ASUS)
Disabled "Compile the kernel with debug info"
Disabled Debug memory initialisation
Disabled Magic SysRq key
NTFS in kernel (instead of module)
Disabled "Use MSM_DCVS for CPU/GPU frequency control"
Stock kernel 10.4.12.24: https://docs.google....dit?usp=sharing
Stock kernel 10.4.15.1: https://docs.google....dit?usp=sharing
Stone kernel v0.3 "OC": https://docs.google....dit?usp=sharing
Stone kernel v0.3 "STD": https://docs.google....dit?usp=sharing
1. Copy StoneK_A68_v0.3_OC.zip or StoneK_A68_v0.3_STD.zip to /sdcard/ via USB.
2. Copy StockKern_A68_10.4.15.1.zip to /sdcard/ via USB, in case you have trouble booting, and need to uninstall.
3. Boot into TWRP or CWM Recovery.
4. Perform backup of at least your "Boot" partition.
5. Install zip from step 1.
1. Copy StockKern_A68_10.4.15.1.zip to /sdcard/ via USB.
2. Boot into TWRP or CWM Recovery.
3. Install zip from step 1.
- 13 replies
- 6258 views
lflint added a topic in Asus Padfone 2How to pack & boot a custom boot.img for PF2EDIT: SOLVED
I had to recompile mkbootimg.c (from the Android AOSP source) with suitable "ramdisk_offset" values for the PadFone2, as per below:
For recovery images: unsigned ramdisk_offset = 0x01600000;
For full kernel images: unsigned ramdisk_offset = 0x02000000;
Can someone please shed some light on how to make/pack a custom"boot.img" file specifically for the PF2? These are a sample of the steps I have tried:
(Using either Ubuntu 12 32bit or 64bit)
1. Unpack "recovery.modaco.r1.img" using either "split_bootimg.pl" or "unpackbootimg", to retrieve the command-line, pagefile size, and kernel & RAM disk files.
2. Without making any changes to the RAM disk file (or kernel file), repack the two files, using "mkbootimg", with the following command:
"./mkbootimg --cmdline 'console=ttyHSL0,115200,n8 androidboot.hardware=qcom user_debug=31 msm_rtb.filter=0x3F ehci-hcd.park=3' --kernel ./recovery.modaco.r1.img-zImage --ramdisk ./recovery.modaco.r1.img-ram.gz --base 80200000 --pagesize 2048 -o ./boot.img"/
3. Booting the resulting "boot.img" on my PF2 using "fastboot boot boot.img".
I have tried the above with the MoDaCo Recovery img, the stock Recovery img, and the MoDaCo Superboot img, but all yield the same results: Fastboot appears to work ok, and the phone reboots, but the screen stays black, and if the PF2 is connected to my PC, it mounts the PF2 as a drive, with a folder called "Image" (presumably containing the contents of the kernel image).
I'm following the instructions from various sources, appear to be doing things right, and am not seeing any errors, but I seem to be missing something. Clearly Paul O'Brien has managed to achieve success with the above for the PF2, so hopefully can see what I'm doing wrong.
- 11 replies
- 2366 views
MoDaCo is part of the MoDaCo.network, © Paul O'Brien 2002-2015. MoDaCo uses IntelliTxt technology.