1. Are you ready for the Galaxy S20? Here is everything we know so far!

Kernel Kernel[1.8GHz](WIP) Module method also

Discussion in 'Android Devices' started by rbheromax, Jul 21, 2013.

  1. rbheromax

    rbheromax Android Expert
    Thread Starter

    Here's a little something I've been working on for about all of 10 minutes :D
    I just wanted to create something really quick. All I did was take the kernel config from a running Force (thanks MODACO) and pair it with the kernel source of the ZTE Avid and you get this awesome baby!!!! :cool:

    I basically pushed this phone to the max (without it blowing up).

    Source is @ https://github.com/newkid313/android_kernel_zte_aurora
    ^^not up yet^^

    Current working method:
    Download this first:

    https://www.dropbox.com/s/aps2fltk3ldbuki/zte_krait_oc.ko

    Then:
    Code:
    adb push thermald.conf /data/local
    adb shell
    su
    mount -o rw,remount /system
    cp /system/etc/thermald.conf /system/etc/thermald.conf.bak
    rm -r /system/etc/thermald.conf
    cp /data/local/thermald.conf /system/etc
    reboot
    Load the overclock (every time you reboot):
    1. Load the kernel module (replace pll_l_val and vdd_uv with your desired voltages and L value as explained above. It defaults to 67 and 1300000 if you don't give it any parameters):
    Code:
    adb shell
    su
    insmod /data/local/krait_oc.ko pll_l_val=67 vdd_uv=1300000
    2. Bring core 1 temporarily offline so it gets updated with the new max frequency:
    Code:
    echo 0 > /sys/devices/system/cpu/cpu1/online
    3. You'll now have an additional CPU frequency! SetCPU can configure your maximum frequency up to this speed. You can also choose to keep running at 1.5GHz at any time - this method doesn't eliminate any available frequencies. Set the max at 1.8GHz to verify it's stable here.
    4. Restart thermald by running "ps". Look for "thermald" in the list, and find thermald's pid (it's usually a number in the low hundreds, higher up in the list). Run "kill [thermald's PID]" in adb shell. The kernel does not currently have kernel-level temperature throttling turned on, so thermald is important for now.

    Remove the overclock by restoring your backup of thermald.conf:
    Code:
    adb shell
    su
    mount -o rw,remount /system
    rm -r /system/etc/thermald.conf
    cp /system/etc/thermald.conf.bak /system/etc/thermald.conf
    rm -r /system/etc/thermald.conf.bak
    reboot
    Rebooting clears any kernel modules that are loaded, so you're now clean. You can then delete anything left over in /data/local, but it doesn't matter.

    Right now its features are:
    - OC to 1.8 GHz
    - Custom boot splash

    This is the custom boot splash it uses:
    [​IMG]

    I will release as soon as it is tested and I have screenshots of a cpu control app showing the OC

     


  2. Best Answer:
    Post #67 by jamesvz, Dec 15, 2015 (1 points)

    1. Download the Forums for Android™ app!


      Download

       
  3. jimsmith80

    jimsmith80 Android Expert

    You get this up and running and I get the base rom up and running, and we will have one awesome start once we have the phone.
     
  4. rbheromax

    rbheromax Android Expert
    Thread Starter

    Exactly, superfast stock
    I dont think I'll be able to get init.d enabled tonight but I'll be done before Tuesday
    (Its easy, I just don't feel like decompiling boot, opening ramdisk, edit files, recompile 2x and hoping for the best)
     
  5. tgamble160

    tgamble160 Newbie

    will this help with init.d? says it will work on any rom any kernel.
    edit. just saw that is for a nexus 7


    http://forum.xda-developers.com/showthread.php?t=1912504
     
  6. tgamble160

    tgamble160 Newbie

  7. rbheromax

    rbheromax Android Expert
    Thread Starter

    I know how to do it, I just currently don't feel like doing it right now, but basically I will do that, and since jimsmith80 has a stock rom with busybox built in, it will be easier than ever to add init.d since I dont have to include any extra heavy binaries to my ramdisk
     
    tgamble160 likes this.
  8. tgamble160

    tgamble160 Newbie

    Yeah. I have no idea what any of that means. Lol just remembered seeing it so I searched for it again. Super excited for some development on this phone though. Thanks in advance
     
  9. rbheromax

    rbheromax Android Expert
    Thread Starter

    Lol well no problem. If all goes well, this kernel will be released today :D
     
    tgamble160 likes this.
  10. jimsmith80

    jimsmith80 Android Expert


    I've got a work around for init.d
     
  11. rbheromax

    rbheromax Android Expert
    Thread Starter

    What's that?
     
  12. jimsmith80

    jimsmith80 Android Expert

    A little scrip work in the installrecovery.sh. I'd have to look it up in one of my early builds for the warp.
     
  13. jimsmith80

    jimsmith80 Android Expert

    Here it is

    #!/system/bin/sh
    # init.d support
    busybox run-parts /system/etc/init.d/
     
  14. rbheromax

    rbheromax Android Expert
    Thread Starter

    Well add that to your ROM, i will make my kernel compatible
     
  15. AMOCO

    AMOCO The Computer Guy
    VIP Member

  16. rbheromax

    rbheromax Android Expert
    Thread Starter

    I ran into something, this phone has a locked bootloader /: As soon as I find a workaround (kinda already found 2) I can release.
     
  17. AMOCO

    AMOCO The Computer Guy
    VIP Member

    Ok,Sounds good.

    Sent from my N9100
     
  18. rbheromax

    rbheromax Android Expert
    Thread Starter

    Well.....one way failed...now to move to porting Loki.
     
  19. donjuro

    donjuro Android Expert

    Is it possible to keep the second core always on?
     
  20. rbheromax

    rbheromax Android Expert
    Thread Starter

    Yeah but I can't remember the app name atm, but why would u want to do that?
     
  21. altaran

    altaran Member

    I think the app is kernel tuner. Its mentioned in another thread.
     
  22. donjuro

    donjuro Android Expert

    No, meant without an app. Is it possible to add it to the kernel is what I'm asking. And because I find it to be faster if the second core is always ready instead of turning on and off all the time.
    Most of the time I feel like the second core doesn't even fire up when you start to need it.
     
  23. andrew.johnson

    andrew.johnson Well-Known Member

    Yup its kernel tuner. But I keep mine on while playing games to eliminate lag.
     
  24. rbheromax

    rbheromax Android Expert
    Thread Starter

    To keep the second core always on would require me to rewrite the cpu driver and take out all the cpu schedulers that hotplug the second core. Yes it's possible, but it'll take time.
     
  25. altaran

    altaran Member

    Hmmmm. Wasn't this yesterday??? Lol jk....keep it up I cant wait to test it.
     
  26. rbheromax

    rbheromax Android Expert
    Thread Starter

    I have come to believe that the Force has a locked bootloader. I'm reading the bootloaders calls right now to be sure. So far I don't see anything. This is odd because my kernel should work. :thinking:
     
  27. jamesvz

    jamesvz Lurker

    How do I install/flash kernel? I'm an Android noob in need of guidance. Do I just go to system/lib/modules and replace the current zte_krait_oc.ko with the download? Also, sorry for the bump lol. Also, I have a stock rom of ZTE Force; will this kernel work w/ it?
     

ZTE Force 4G LTE Forum

The ZTE Force 4G LTE release date was October 2017. Features and Specs include a 5.5" inch screen, 8MP camera, 2GB RAM, Snapdragon 427 processor, and 3000mAh battery.

October 2017
Release Date
0
Reviews
Loading...
Similar Threads - Kernel Kernel 8GHz
  1. Alexenferman
    Replies:
    0
    Views:
    1,286
  2. rootboy0110
    Replies:
    0
    Views:
    448
  3. noob404
    Replies:
    0
    Views:
    368
  4. skfl
    Replies:
    0
    Views:
    348
  5. Android News
    Replies:
    0
    Views:
    1,084
  6. Android News
    Replies:
    0
    Views:
    518
  7. svim
    Replies:
    3
    Views:
    475
  8. GameTheory
    Replies:
    6
    Views:
    1,202
  9. Eric Harper
    Replies:
    2
    Views:
    461
  10. Eric Harper
    Replies:
    0
    Views:
    715

Share This Page

Loading...