Post Reply

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

OP rumirand

28th December 2011, 02:33 AM   |  #1  
OP Senior Member
Flag Santiago
Thanks Meter: 50
 
169 posts
Join Date:Joined: Oct 2011
Donate to Me
More
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 by rumirand; 6th April 2012 at 06:33 PM. Reason: r14
The Following 20 Users Say Thank You to rumirand For This Useful Post: [ View ]
30th December 2011, 12:24 PM   |  #2  
Senior Member
Thanks Meter: 91
 
238 posts
Join Date:Joined: Jul 2011
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!
The Following User Says Thank You to WT Ho For This Useful Post: [ View ]
30th December 2011, 05:05 PM   |  #3  
OP Senior Member
Flag Santiago
Thanks Meter: 50
 
169 posts
Join Date:Joined: Oct 2011
Donate to Me
More
Quote:
Originally Posted by WT Ho

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.
30th December 2011, 07:23 PM   |  #4  
Senior Member
Flag Bath
Thanks Meter: 28
 
124 posts
Join Date:Joined: Oct 2007
More
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
30th December 2011, 11:00 PM   |  #5  
OP Senior Member
Flag Santiago
Thanks Meter: 50
 
169 posts
Join Date:Joined: Oct 2011
Donate to Me
More
Quote:
Originally Posted by lardman

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.
30th December 2011, 11:57 PM   |  #6  
Senior Member
Thanks Meter: 91
 
238 posts
Join Date:Joined: Jul 2011
Quote:
Originally Posted by rumirand

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

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

That's a good start already. We will wait for the next one.
31st December 2011, 07:51 PM   |  #7  
Member
Thanks Meter: 12
 
79 posts
Join Date:Joined: Dec 2010
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.
7th January 2012, 02:44 AM   |  #8  
OP Senior Member
Flag Santiago
Thanks Meter: 50
 
169 posts
Join Date:Joined: Oct 2011
Donate to Me
More
Bump.

r2 is up and working.
7th January 2012, 04:48 PM   |  #9  
OP Senior Member
Flag Santiago
Thanks Meter: 50
 
169 posts
Join Date:Joined: Oct 2011
Donate to Me
More
Bump.

r3 is up and working. See changelog for details.
7th January 2012, 09:19 PM   |  #10  
Senior Member
Flag Mexico City
Thanks Meter: 41
 
124 posts
Join Date:Joined: Aug 2011
Do you have any plans to make an overclock kernel?

Post Reply Subscribe to Thread
Previous Thread Next Thread
Thread Tools
Display Modes


Top Threads in Galaxy Player 4.0, 5.0 Android Development by ThreadRank