[KERNEL][CWM][OC&UV] rj's custom kernel for Galaxy Player 5.0 INTL (YP-G70) r14

Search This thread

rumirand

Senior Member
rj's custom kernel for Galaxy Player 5 international
aka rumirand

Hi there.

Finally got my YP-G70 back to life, so I'm working on get a better kernel and take advantage of this device. This kernel is based on stock G70XXKPF firmware, but some users report it works on other firmwares.

If you have a G70 US (capacitive home button), use Entropy512's kernel. If you have a 4.0, use Steves kernel.

Features
  • 2.6.35.7 source for GingerBread.
  • Unsecure mode.
  • Swap support.
  • Overclock to 1.2Ghz and undervolt capabilities (use SetCPU or another software for UV).
  • Added lazy (default), interactive, interactiveX, smartassv2, ondemandX governors.
  • Added BFQ, V(R) and SIO (default) schedulers.
  • Init.d support.
  • Added statically linked busybox 1.19.3 (/sbin)*.
  • Modified adbd (pointing shell to /sbin/sh), so you can use adbd even if you don't have any partition working*.
  • ext4 support (ghetto lagfix).
  • ClockWorkMod (beta). Nandroid backup - restore works, mount/umount, format (formats to ext4).
  • You can boot in stock recovery placing /cache/.stock_recovery file (In terminal, just do 'touch /cache/.stock_recovery'), and reboot to recovery.
  • CIFS support.
  • jhash3.
  • SoD patch from netarchy/coolbho3k.
  • TinyRCU.
  • netarchy's conservative tuning patch.
  • Custom bootanimation support (/system/media/bootanimation.zip) from Entropy512's kernel.
  • Per-File fsync() disable - For info, look here.
  • Charginghacks from Entropy512.

*Useful for recovery/unbrick purposes. My device got bricked and got the partition table faulty. With this, you can rebuild your partition table using fdisk.

Changelog

Code:
r14
- Changed overclock patch (now Entropy512 based)
- BNEP enabled by kernel.

r13
- Add Charginghacks from Entropy512's kernel.

r12
- Overclock to 1.2 Ghz and UV capabilities.

r11
- Switch source code to YP-G70 US (this fixes the SoD patch issue).
- SoD patch reapplied.
- Custom bootanimation support thanks to Entropy512.

r10
- Battery drain fixed.
- Added latest patches/fixes from Entropy512's source code. Take a look at his Github.

r9
- Tentative fix for battery drain problem. Please provide some feedback.

r8
- Added V(R) scheduler.
- Added CIFS.ko.
- jhash3.
- TinyRCU.
- SoD patch.
- Conservative tuning patch.

r7
- Fixed backing up/restoring /dbdata.
- Added ability to backup/restore to internal storage and external sdcard.

r6
- Added ext4 support.
- Added CWM. Nandroid backup - restore works (/system, /data, /cache, kernel and recovery), mount/umount, format (formats to ext4).

r5
- Added ondemandX and interactiveX governors.
- Minor fixes on unsecure mode.

r4
- Added SIO scheduler (default).
- Added support for init.d scripts.
- Radio FM works now.
- Added statically linked busybox 1.19.3 (/sbin)*
- Modified adbd (pointing shell to /sbin/sh)*

r3
- Added cpufreq governors: interactive, smartassv2 and lazy (default).
- Added BFQ I/O scheduler -> to activate it, use some app like CPU Master.

r2
- 2.6.35.7 kernel from GB source.
- Unsecure mode.
- Swap support.
- Get config from /proc/config.gz
- Stock G70XXKPF ramdisk.

r1
- Initial upload -> doesn't work.

Download:

Kernel r14 (Odin) - Kernel r14 (CWM)
Kernel r13 (Odin) - Kernel r13 (CWM)
Kernel r12 (Odin) - Kernel r12 (CWM)
Kernel r11 (Odin) - Kernel r11 (CWM)
Kernel r10 (Odin) - Kernel r10 (CWM)
Kernel r9 - CWM beta
Kernel r8 - CWM beta
Kernel r7 - CWM beta
Kernel r6 - CWM beta
Kernel r5
Kernel r4
Kernel r3
Kernel r2 <- first working kernel.
Initial upload (r1) <- doesn't boot. So don't bother to flash it.

Installing:

Odin:
  • Download kernel from site.
  • Get your device in download mode (device turned off, press vol down key, plug the usb cable.
  • Open Odin3.
  • Select kernel file in PDA section.
  • Keep the rest Odin settings untouched (make sure re-partition, phone bootloader update and EFS clear aren't checked).
  • Start.

CWM:
  • Download kernel from site.
  • Place .zip file in /sdcard/external_sd/.
  • Reboot in recovery mode.
  • Choose install zip from sdcard.
  • Reboot.

Enable ghetto lagfix:
  • FIRST: MAKE SURE YOU HAVE AL LEAST 12MB OF FREE SPACE ON /SYSTEM PARTITION
  • Enter in recovery mode (CWM).
  • Do a full Nandroid backup.
  • Reboot your device.
  • Change .rfs.tar files in clockworkmod/backup/xx.xx.xx/ to .ext4.tar.
  • Edit nandroid.md5 to match .ext4.tar files.
  • Enter in recovery mode (CWM).
  • Do a full restore.
  • Reboot (you'll probably have some FCs, I got in GMaps and Market, just delete application's data/reinstall it).

If you want to go back to rfs, revert the steps.

Uninstalling:
  • Download stock XXKPF kernel here.
  • Flash it following the same instructions above.

Big thanks to Entropy512 for working in a CWM port for our devices and his kernel. This work is based on his job.

Source code available on my GitHub

Any suggestion/idea is welcome.

Do it at your own risk. I'm not responsible if any damage is done to your device.
 
Last edited:

WT Ho

Senior Member
Jul 4, 2011
238
94
Is this a Froyo or GB kernel? The kernel on my device has version 2.6.35.7 (GB 2.3.5). Apart from this, is there a way to backup the existing kernel before testing the development kernel. Thanks!
 
  • Like
Reactions: NullUser

rumirand

Senior Member
Is this a Froyo or GB kernel? The kernel on my device has version 2.6.35.7 (GB 2.3.5). Apart from this, is there a way to backup the existing kernel before testing the development kernel. Thanks!

Ok, first of all, I finally got my Galaxy Player working (thanks thanks for the dump you provided me)! So the next releases will be tested before uploading it.

For backup the kernel, the best to do is open the firmware .tar o .tar.md5 file and extract zImage file. Then, in linux, you can do:

Code:
tar cf zImage.tar <path-to-zImage>

You will get a .tar file containing only the kernel, flashable from odin3.

Don't bother testing the initial upload, it won't boot.
 

lardman

Senior Member
Oct 20, 2007
125
28
Bath
It looks to me like /dev/block/mmcblk0p11 and /dev/block/mmcblk0p12 contain the kernel and recovery kernel, therefore one could do the following to back up the partition:

Code:
dd if=/dev/block/mmcblk0p11 of=/sdcard/zImage-partition bs=4096
 

rumirand

Senior Member
It looks to me like /dev/block/mmcblk0p11 and /dev/block/mmcblk0p12 contain the kernel and recovery kernel, therefore one could do the following to back up the partition:

Code:
dd if=/dev/block/mmcblk0p11 of=/sdcard/zImage-partition bs=4096

You're right. That's an alternative mode to backup kernel and recovery. You can even flash directly a kernel by dumping a zImage file (unpacked) to mmcblk0p11. I haven't done this myself, but it should work.
 

rjsmith2007

Senior Member
Dec 27, 2010
92
13
Can you update the starting post with some information and make a note that the initial upload doesn't work.

Let us know what version of the kernel are you using.
 

WT Ho

Senior Member
Jul 4, 2011
238
94
Thanks a lot!

Just flashed it. No major issues so far, will continue to use and see if I found anything unusual. Here are the versions reported on my device

Model number: YP-G70
Firmware version: 2.3.5
Kernel version 2.6.35.7-G70XXKPF-CL562492 rj@rj #rj's
Build number GINGERBREAD.ZSKP8

It should be noted that I am not flash the kernel on XXKPF firmware but ZSKP8 but it still works.

See also the screenshot attached.
 

Attachments

  • shot_000011.jpg
    shot_000011.jpg
    29.7 KB · Views: 480

WT Ho

Senior Member
Jul 4, 2011
238
94
Yes. It's only changing some lines of the source code. Will test later today/tomorrow.

I'll upload it when it's done.

Tegrak Overclocking app can already overclock the stock kernel, will this introducing something not available in Tegrak? May be we can add a few more speed levels? Currently the stock kernel only has 1GHz, 800MHz, 400MHz, 200MHz and 100MHz.
 

rumirand

Senior Member
Tegrak Overclocking app can already overclock the stock kernel, will this introducing something not available in Tegrak? May be we can add a few more speed levels? Currently the stock kernel only has 1GHz, 800MHz, 400MHz, 200MHz and 100MHz.

Only we would gain more speed levels. Tegrak does well the job in overclocking/undervolting and I think it's a clean solution (every user can choose if only wants overclocking/undervolting and how far wants to go).

I've overclocked my device to 1.5ghz, only slight overvolt needed at that frequency. Did undervolting too. Runs stable.

I'll see if I can port voodoo lagfix on this device.
 

chen2008

Senior Member
Feb 5, 2009
87
10
Singapore
Thanks for posting this..would love to try out..

I am already on 2.6.35 by flashing the kernel posted in this forum..official one since mine came with Android 2.1

Is yours without all the Samsung features such as icon shape, interface etc? Can that be removed to use raw Gingerbread?
 

rumirand

Senior Member
Thanks for posting this..would love to try out..

I am already on 2.6.35 by flashing the kernel posted in this forum..official one since mine came with Android 2.1

Is yours without all the Samsung features such as icon shape, interface etc? Can that be removed to use raw Gingerbread?

This is only the kernel. The other things are in the rom. So, the icons, touchwiz UI aren't related to the kernel.
 

Rueben_

Senior Member
Aug 1, 2011
477
417
This kernel is great running smartassv2 and using Tegrak Overclocking app to over-clock to 1.3ghz and battery life is great and its very fast. thanks :)
 

Rueben_

Senior Member
Aug 1, 2011
477
417
How it does perform for you the lazy governor? For me seems to be more battery lifesaver that smartassv2 bit in performance I don't know.
I will run smartassv2 for a couple of hours then lazy and see if i notice a difference i will post again tonight. In uk its only 1:00pm lol :)

Edit: Used lazy now for about 2 hours and battery has gone done about 3% compared to smartassv2 6% doing more or less the same tasks thanks again. :)
 
Last edited:

COast94

Member
Aug 21, 2011
16
0
i have 2 questions..

1. does it come with camera/compass/sound fix?
2. is this upgradeable rom or wipe rom?

thanks in advance.
 

Top Liked Posts

  • There are no posts matching your filters.
  • 20
    rj's custom kernel for Galaxy Player 5 international
    aka rumirand

    Hi there.

    Finally got my YP-G70 back to life, so I'm working on get a better kernel and take advantage of this device. This kernel is based on stock G70XXKPF firmware, but some users report it works on other firmwares.

    If you have a G70 US (capacitive home button), use Entropy512's kernel. If you have a 4.0, use Steves kernel.

    Features
    • 2.6.35.7 source for GingerBread.
    • Unsecure mode.
    • Swap support.
    • Overclock to 1.2Ghz and undervolt capabilities (use SetCPU or another software for UV).
    • Added lazy (default), interactive, interactiveX, smartassv2, ondemandX governors.
    • Added BFQ, V(R) and SIO (default) schedulers.
    • Init.d support.
    • Added statically linked busybox 1.19.3 (/sbin)*.
    • Modified adbd (pointing shell to /sbin/sh), so you can use adbd even if you don't have any partition working*.
    • ext4 support (ghetto lagfix).
    • ClockWorkMod (beta). Nandroid backup - restore works, mount/umount, format (formats to ext4).
    • You can boot in stock recovery placing /cache/.stock_recovery file (In terminal, just do 'touch /cache/.stock_recovery'), and reboot to recovery.
    • CIFS support.
    • jhash3.
    • SoD patch from netarchy/coolbho3k.
    • TinyRCU.
    • netarchy's conservative tuning patch.
    • Custom bootanimation support (/system/media/bootanimation.zip) from Entropy512's kernel.
    • Per-File fsync() disable - For info, look here.
    • Charginghacks from Entropy512.

    *Useful for recovery/unbrick purposes. My device got bricked and got the partition table faulty. With this, you can rebuild your partition table using fdisk.

    Changelog

    Code:
    r14
    - Changed overclock patch (now Entropy512 based)
    - BNEP enabled by kernel.
    
    r13
    - Add Charginghacks from Entropy512's kernel.
    
    r12
    - Overclock to 1.2 Ghz and UV capabilities.
    
    r11
    - Switch source code to YP-G70 US (this fixes the SoD patch issue).
    - SoD patch reapplied.
    - Custom bootanimation support thanks to Entropy512.
    
    r10
    - Battery drain fixed.
    - Added latest patches/fixes from Entropy512's source code. Take a look at his Github.
    
    r9
    - Tentative fix for battery drain problem. Please provide some feedback.
    
    r8
    - Added V(R) scheduler.
    - Added CIFS.ko.
    - jhash3.
    - TinyRCU.
    - SoD patch.
    - Conservative tuning patch.
    
    r7
    - Fixed backing up/restoring /dbdata.
    - Added ability to backup/restore to internal storage and external sdcard.
    
    r6
    - Added ext4 support.
    - Added CWM. Nandroid backup - restore works (/system, /data, /cache, kernel and recovery), mount/umount, format (formats to ext4).
    
    r5
    - Added ondemandX and interactiveX governors.
    - Minor fixes on unsecure mode.
    
    r4
    - Added SIO scheduler (default).
    - Added support for init.d scripts.
    - Radio FM works now.
    - Added statically linked busybox 1.19.3 (/sbin)*
    - Modified adbd (pointing shell to /sbin/sh)*
    
    r3
    - Added cpufreq governors: interactive, smartassv2 and lazy (default).
    - Added BFQ I/O scheduler -> to activate it, use some app like CPU Master.
    
    r2
    - 2.6.35.7 kernel from GB source.
    - Unsecure mode.
    - Swap support.
    - Get config from /proc/config.gz
    - Stock G70XXKPF ramdisk.
    
    r1
    - Initial upload -> doesn't work.

    Download:

    Kernel r14 (Odin) - Kernel r14 (CWM)
    Kernel r13 (Odin) - Kernel r13 (CWM)
    Kernel r12 (Odin) - Kernel r12 (CWM)
    Kernel r11 (Odin) - Kernel r11 (CWM)
    Kernel r10 (Odin) - Kernel r10 (CWM)
    Kernel r9 - CWM beta
    Kernel r8 - CWM beta
    Kernel r7 - CWM beta
    Kernel r6 - CWM beta
    Kernel r5
    Kernel r4
    Kernel r3
    Kernel r2 <- first working kernel.
    Initial upload (r1) <- doesn't boot. So don't bother to flash it.

    Installing:

    Odin:
    • Download kernel from site.
    • Get your device in download mode (device turned off, press vol down key, plug the usb cable.
    • Open Odin3.
    • Select kernel file in PDA section.
    • Keep the rest Odin settings untouched (make sure re-partition, phone bootloader update and EFS clear aren't checked).
    • Start.

    CWM:
    • Download kernel from site.
    • Place .zip file in /sdcard/external_sd/.
    • Reboot in recovery mode.
    • Choose install zip from sdcard.
    • Reboot.

    Enable ghetto lagfix:
    • FIRST: MAKE SURE YOU HAVE AL LEAST 12MB OF FREE SPACE ON /SYSTEM PARTITION
    • Enter in recovery mode (CWM).
    • Do a full Nandroid backup.
    • Reboot your device.
    • Change .rfs.tar files in clockworkmod/backup/xx.xx.xx/ to .ext4.tar.
    • Edit nandroid.md5 to match .ext4.tar files.
    • Enter in recovery mode (CWM).
    • Do a full restore.
    • Reboot (you'll probably have some FCs, I got in GMaps and Market, just delete application's data/reinstall it).

    If you want to go back to rfs, revert the steps.

    Uninstalling:
    • Download stock XXKPF kernel here.
    • Flash it following the same instructions above.

    Big thanks to Entropy512 for working in a CWM port for our devices and his kernel. This work is based on his job.

    Source code available on my GitHub

    Any suggestion/idea is welcome.

    Do it at your own risk. I'm not responsible if any damage is done to your device.
    3
    Bump to r10.

    Changes:
    - Battery drain is gone (SoD patch removed FOR NOW).
    - Latest patches/fixes from Entropy512's source.

    Later will update my Github.
    2
    Do you have any plans to make an overclock kernel?

    Yes. It's only changing some lines of the source code. Will test later today/tomorrow.

    I'll upload it when it's done.
    1
    Is this a Froyo or GB kernel? The kernel on my device has version 2.6.35.7 (GB 2.3.5). Apart from this, is there a way to backup the existing kernel before testing the development kernel. Thanks!
    1
    The best option would be ofc moving to 4.2.2 and forgetting about 3mpx camera ;)
    About swap, bad idea.