[Samsung Galaxy Player 4.0, 5.0] rumirand:
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

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.