MoDaCo is undergoing planned maintenance. Site functionality may be reduced - follow @modaco or @paulobrien on Twitter for updates.

  • Announcements

    • Reminder - MoDaCo position on illegal content

      ILLEGAL CONTENT I'd like to just reaffirm MoDaCo's position regarding piracy and illegal content in the light of some recent questions / postings. Posts will be censored by myself or my moderation team if the contain or link to: Illegal / pirated / cracked software or sites that host such software
      Nintendo emulators / ROMs or sites hosting them (in light of Nintendo's legal stance)


      CUSTOM ROMS

      You may discuss and post links to custom device ROMs on MoDaCo, provided the following rules are adhered to: ROMs must not be hosted directly in topic via the MoDaCo attachment system
      ROMs must not contain any illegal 3rd party software (this includes trial versions included without permission)
      ROMs must give full credit to the original author
      This decision has been taken in light of the huge amount of interest in this area of device customisation within the community, and member feedback! Please note that custom ROM discussion should be kept in specific device sub-areas, (e.g. Kaiser.MoDaCo.com for Kaiser based devices). ISSUES If you have any issues with this policy, please contact me directly via PM. P
    • Support MoDaCo by signing up to a MoDaCo Silver or Gold membership

      To sign up to an annual MoDaCo Silver subscription which will eliminate all ads from the site (as well as giving you access to the MoDaCo Online Kitchens for Android) for only £9.99 using PayPal, Credit or Debit Card, ensure you are logged in to the site, and then click the link below, which will take you directly to the subscription store! You can also sign up to an annual MoDaCo Gold subscription for £29.99, which adds the benefits listed below! PURCHASE A MODACO SUBSCRIPTION - FREE Titanium Backup Mobile for Android worth $5.99! - FREE 1 year PrivateInternetAccess.com worth $39.95! - FREE 1 year LastPass Premium worth $12! - FREE CalcConvert for Pocket PC from Binaryfish worth $17.95! - FREE Calendar Bar for Pocket PC from OmegaOne worth $9.99! - FREE CamerAware for Pocket PC and Smartphone from MoDaCo worth £19.99 / $30! - FREE Chronos for Pocket PC from ActiveKitten worth $14.95! - FREE CodeWallet Pro for Smartphone and Pocket PC from DeveloperOne worth up to $24.95! - FREE Concentrix for Pocket PC from eSoft Interactive worth $9.95! - FREE FlexMail for Pocket PC and Smartphone from WebIS worth up to $59.90! - FREE FTouchSL for Pocket PC from Vekoff s.r.o. worth 10 euro / $12.50! - FREE Jewel Challenge for Pocket PC from eSoft Interactive worth $9.95! - FREE John Cody's Alerts Pro for Smartphone from Omnisoft worth $14.95! - FREE LingvoSoft Talking Dictionary 2008 English <-> Dutch for Pocket PC from Lingvosoft worth $49.95! - FREE LingvoSoft Talking Dictionary 2008 English <-> French for Pocket PC from Lingvosoft worth $49.95! - FREE LingvoSoft Talking Dictionary 2008 English <-> German for Pocket PC from Lingvosoft worth $49.95! - FREE LingvoSoft Talking Dictionary 2008 English <-> Italian for Pocket PC from Lingvosoft worth $49.95! - FREE LingvoSoft Talking Dictionary 2008 English <-> Spanish for Pocket PC from Lingvosoft worth $49.95! - FREE LingvoSoft Dictionary English <-> Dutch for Smartphone from Lingvosoft worth $49.95! - FREE LingvoSoft Dictionary English <-> French for Smartphone from Lingvosoft worth $49.95! - FREE LingvoSoft Dictionary English <-> German for Smartphone from Lingvosoft worth $49.95! - FREE LingvoSoft Dictionary English <-> Russian for Smartphone from Lingvosoft worth $49.95! - FREE LingvoSoft Dictionary English <-> Turkish for Smartphone from Lingvosoft worth $49.95! - FREE Note2Self for Pocket PC and Smartphone from WebIS worth up to $19.90! - FREE Opera 8.60 for Pocket PC and Smartphone from Opera Software worth up to $48! - FREE Pocket Informant for Pocket PC and Smartphone from WebIS worth up to $59.90! - FREE Pocket Launcher for Pocket PC and Smartphone from Conduits worth $9.95! - FREE PTab for Pocket PC and Smartphone from z4soft worth up to $60! - FREE Resco Explorer for Pocket PC and Smartphone from Resco worth up to $49.90! - FREE Safemode for Pocket PC from monocube worth $12.95 - FREE SplashPhoto for Pocket PC and Smartphone from SplashData worth up to $59.90! - FREE Sprite Backup for Pocket PC and Smartphone from Sprite Software worth $29.95! - FREE Teksoft Glyphs UI for Pocket PC and Smartphone from Teksoft €9.95! - FREE Teksoft HeadsetRemote for Pocket PC and Smartphone from Teksoft €4.95! - FREE Traffic Jam for Pocket PC from eSoft Interactive worth $9.95! - FREE unlock (1 per year) from imei-check.co.uk - DISCOUNT of 10% at MoDaCo FairDeal - DISCOUNT of 10% at Semsons.com - FORUM - AD FREE SITE - FORUM - custom rank / title - FORUM - double competition entries - FORUM - double post attachment space - FORUM - no search flood control - FORUM - priority event registration - FORUM - triple PM space
    • Reminder: Selling items on the forum directly is not allowed

      Please note that selling items on the forum directly is not allowed by the forum rules. There is a forum for eBay auctions whereby you can list the items on eBay and link to them there. This is the ONLY forum for this type of activity. You may also advertise links to the eBay forum in your signature. Please note that selling directly in contravention of these rules will result in a warning / suspensions / ban.

[Kernel] Stone custom kernel for PF2 OC/UV/etc

14 posts in this topic

Posted (edited) · Report post

Presenting 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:

http://forum.xda-dev....php?p=40212776

v0.6 available as of 2013/06/05.

v0.3

Main features:

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.

Minor tweaks:

Replace Wifi modules with AOSP versions (needed due to the way the stock modules were compiled by ASUS)

Disabled swap

Disabled "Compile the kernel with debug info"

Disabled Debug memory initialisation

Disabled Magic SysRq key

NTFS in kernel (instead of module)

FAT support

Disabled "Use MSM_DCVS for CPU/GPU frequency control"

Download:

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

Installation:

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.

6. Reboot.

Uninstallation:

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.

4. Reboot.

Edited by lflint
1

Share this post


Link to post
Share on other sites

Posted (edited) · Report post

Changelog

ToDo:

Possibly faster CPU & GPU overclocking, pending successful testing

Lower brightness to save power

Lower voltages for display

GPU undervolt

GPU freq sysfs interface

WiFi undervolt

Enable additional audio codecs: WMA, AAC, etc

BLN?

v0.3 - 2013/05/07

Based on ASUS source code v10.4.15.1

Two versions - OC & Standard

Switched compiler from GCC 4.6 to 4.7

Further voltage tweaking

Fixed CPU throttling

Added InteractiveX v2 Governor - very good for properly setting CPU freqs across all cores

Set default Governor to InteractiveX v2

GPU overclock to 487mhz - working

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, etc) - working

Removed Sysctl syscall support

Removed software controlled Adaptive Voltage Scaling (AVS)

Removed adaptive voltage scaling (AVS)

Removed Generic Dynamic Voltage and Frequency Scaling (DVFS) support

Removed CPU frequency translation statistics details

Reduced max CPU voltage back to 1.30v

Re-enabled "Monitor thermal state and limit CPU Frequency"

v0.2

Removed dual/quad versions - quad-core is running stably for me with revised voltages

Added standard/low voltage versions, for anyone having trouble booting, please try the standard version

Lowest CPU frequency set to 192mhz

Android Logger re-enabled temporarily, for USB FastCharge troubleshooting

CONFIG_SCHED_MC=n (not needed with HotPlugging CPU)

CONFIG_SCHED_SMT=n (not needed)

Disabled "Monitor thermal state and limit CPU Frequency"

Increased max CPU voltage from 1.30v to 1.45v (always monitor your temperature when increasing the voltage/frequency!!)

Further tuned CPU voltages

Added Wheatley Governor, and set to default

Disabled "Use MSM_DCVS for CPU/GPU frequency control"

GPU overclock to 487mhz - not verified yet - I think some kind of ASUS lock may still be preventing this

USB FastCharge (can be turned on with Kernel Tuner etc) - not verified yet - I think some kind of ASUS lock may still be preventing this

Edited by lflint
1

Share this post


Link to post
Share on other sites

Posted (edited) · Report post

FAQ

Q. My phone is running hot!

A. This is usually related to the voltage being too high. Try lower voltage, and try to determine which frequencies are running hot for you. You may need to also restrict your max CPU frequency with SetCPU, System Tuner, Kernel Tuner, etc, if the frequency won't run stably on your phone.

Q. CPU-intensive apps (particularly games) terminate abnormally after a bit of use.

A. This usually means the voltage is a little too low for that frequency. Try to raise the voltage (only 12.5mv at a time) until you find a stable voltage, and let the rest of us know what value is best for you.

Q. My phone won't even boot with this kernel.

A. Sounds like the voltages are too low for you. Try the "STD" version, which uses voltages only slightly lesser than stock.

Q. I want GPU overclocking, but I don't want CPU overclocking.

A. Use the "OC" version, and use SetCPU, System Tuner, Kernel Tuner, etc, to set the max CPU freq you want.

Q. Proximity sensor doesn't work during a call

A. Working on it...

Edited by lflint
1

Share this post


Link to post
Share on other sites

Posted · Report post

thanks for your work!!!

1

Share this post


Link to post
Share on other sites

Posted · Report post

Would love to try this out, when following download link, ending up in preview inside the zip... what am I doing wrong??? Trying from my padfone2 and chrome/stock webbrowser...

Thanks for your work!

:-)hplan:-)

1

Share this post


Link to post
Share on other sites

Posted · Report post

The Stock Kernel updated to 10.4.15.1-0 version. If it is alright for you to update the custom kernel. Thanks a lot!

1

Share this post


Link to post
Share on other sites

Posted (edited) · Report post

Can you make not OV version of kernel too?

And thx for you work =)

Edited by Biggreen
1

Share this post


Link to post
Share on other sites

Posted · Report post

Any chance you could look into PDroid-Integration? That would be awsome :)

1

Share this post


Link to post
Share on other sites

Posted · Report post

Do you think it will be easy to enable USB OTG on the phone side of the Padfone 2? At the moment, only the Padfone Station supports USB OTG, but could this be solved by patching the kernel?

1

Share this post


Link to post
Share on other sites

Posted · Report post

Do you think it will be easy to enable USB OTG on the phone side of the Padfone 2? At the moment, only the Padfone Station supports USB OTG, but could this be solved by patching the kernel?

Yep. Put it in today, and tested ok with a USB flash drive. I'll upload the new version on the weekend.

1

Share this post


Link to post
Share on other sites

Posted · Report post

Any chance you could look into PDroid-Integration? That would be awsome :)

Not sure exactly what that does. Had a quick look on the web, and it seems to need older versions of Android?

1

Share this post


Link to post
Share on other sites

Posted · Report post

Thanx for kernel, im testing it now. There have bug with proximity sensor - it not work on this kernel. With stock al OK, but after flash Stonev0.3 "STD" sensor not turn on in call. Can you fix it?

0

Share this post


Link to post
Share on other sites

Posted · Report post

Thanx for kernel, im testing it now. There have bug with proximity sensor - it not work on this kernel. With stock al OK, but after flash Stonev0.3 "STD" sensor not turn on in call. Can you fix it?

Was fixed in v0.4. Currently up to v0.6, can be found at:

http://forum.xda-developers.com/showthread.php?p=40212776

0

Share this post


Link to post
Share on other sites

Posted · Report post

oh, thanx ^_^" on xda bit hard find something, if no forum on device >_>

0

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!


Register a new account

Sign in

Already have an account? Sign in here.


Sign In Now

MoDaCo is part of the MoDaCo.network, © Paul O'Brien 2002-2015. MoDaCo uses IntelliTxt technology.