lflint

Members
  • Content count

    12
  • Joined

  • Last visited


Community Reputation

6 Neutral

About lflint

  • Rank
    Newbie

lflint's Activity

  1. lflint added a post in a topic [Kernel] Stone custom kernel for PF2 OC/UV/etc   


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

    http://forum.xda-developers.com/showthread.php?p=40212776
    • 0
  2. lflint added a post in a topic [Kernel] Stone custom kernel for PF2 OC/UV/etc   


    Not sure exactly what that does. Had a quick look on the web, and it seems to need older versions of Android?
    • 1
  3. lflint added a post in a topic [Kernel] Stone custom kernel for PF2 OC/UV/etc   


    Yep. Put it in today, and tested ok with a USB flash drive. I'll upload the new version on the weekend.
    • 1
  4. lflint added a post in a topic [Kernel] Stone custom kernel for PF2 OC/UV/etc   

    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...
    • 1
  5. lflint added a post in a topic [Kernel] Stone custom kernel for PF2 OC/UV/etc   

    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
    • 1
  6. lflint added a topic in Asus Padfone 2   

    [Kernel] Stone custom kernel for PF2 OC/UV/etc
    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.
    • 13 replies
    • 6052 views
  7. lflint added a post in a topic [CWM] ClockWorkMod for Asus Padfone 2   

    Works fine for me. PF2 64gb, HK build.

    Test backup ran fine.


    In relation to TWRP vs CWM, they both provide similar functionality (TWRP seems to have a bit better interface, and greater control over backups). CWM Recovery is a good step towards getting CyanogenMod running on PF2, so great that there's movement.
    • 0
  8. lflint added a post in a topic [CWM] ClockWorkMod for Asus Padfone 2   

    The Dropbox link doesn't work. Seems to be a private link to your personal Dropbox, not a shared public link.
    • 0
  9. lflint added a post in a topic [CWM] ClockWorkMod for Asus Padfone 2   

    I was starting to work on that too, but since you've already done it, great!

    I think you forgot the attachment?
    • 0
  10. lflint added a post in a topic How to pack & boot a custom boot.img for PF2   

    Step towards running a custom kernel on the PadFone 2. This is my first time building a custom kernel, so struggling a little bit. Have managed to build a kernel, and can now successfully boot it on the phone, but having trouble with the WiFi driver, as the source for that doesn't seem to be included in the ASUS kernel source code.
    • 0
  11. lflint added a post in a topic How to pack & boot a custom boot.img for PF2   

    Ok, found the solution. 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;
    • 1
  12. lflint added a topic in Asus Padfone 2   

    How to pack & boot a custom boot.img for PF2
    EDIT: 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
    • 2315 views

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