yashsingh1/xdaforums huggingface dataset:
[Samsung Galaxy Player 4.0, 5.0] Entropy512:
Hmm... odd, I tried to use it and it gave me some odd errors I've never seen before (I forget what at the moment) and then put me into forced download mode. I know a pit-dump has some rather odd looking results. Maybe if I just try and flash a kernel it will work.

I'll try again later today, and edit the instructions if it works.

I have my Player shut off for most of today - I've been having strange battery drain problems on my GSII for the past week or so, only when at home - and it seems like it started when I got the Player. So I'm shutting it off to see if it actually is affecting my phone.

Edit: Heimdall still isn't working for me

Heimdall v1.3.1, Copyright (c) 2010-2011, Benjamin Dobell, Glass Echidna
http://www.glassechidna.com.au

This software is provided free of charge. Copying and redistribution is
encouraged.

If you appreciate this software and you would like to support future
development please consider donating:
http://www.glassechidna.com.au/donate/

Initialising connection...
Detecting device...
Claiming interface...
Attempt failed. Detaching driver...
Claiming interface again...
Setting up interface...

Checking if protocol is initialised...
Protocol is not initialised.
Initialising protocol...
Handshaking with Loke...

Beginning session...
Session begun with device of type: 0

Downloading device's PIT file...
PIT file download sucessful

Uploading KERNEL
100%
ERROR: Failed to confirm end of file transfer sequence!
KERNEL upload failed!
Ending session...
Rebooting device...
Re-attaching kernel driver...
[Samsung Galaxy Player 4.0, 5.0] azoller1:
After I flashed your kernel it won't let me connect to the market, my Wi-Fi is turned on and I connect to the browser just fine but not the market, help?
[Samsung Galaxy Player 4.0, 5.0] Entropy512:
That's strange - no problems with market connections here. (Edit: Just updated BetterBatteryStats...)

Try rebooting?

Or wait a bit - sometimes the Market just goes down.
[Samsung Galaxy Player 4.0, 5.0] klin1344:
Entropy512, I've been studying your github and how you enable ext4 support in the kernel. Could you explain how you did it? I know it has to do with editing "/ arch / arm / configs / yp_g70_usa_defconfig" but I can't find that file in samsung's source or on Steve'S github. And after you do that you just edit the mount points in init.rc, right? I'm asking because I'm gonna try to get ext4 (lagifx) for my 4.0! :D

Thanks.

P.S. sorry if I'm a noob
[Samsung Galaxy Player 4.0, 5.0] Entropy512:
yp_g70_usa_defconfig was copied from venturi_usa_defconfig prior to modifying it - I decided to start maintaining my own defconfig rather than overwriting the original one.

Galaxy Player 4.0 is palladio instead of venturi. SteveS also uses a renamed defconfig though - something like steves_blahblahblah_defconfig

To change things for a 4.0, it would be something like

make steves_blahblahblahwhateverthisis_defconfig
make menuconfig (enable ext4 support in the menus here)
cp .config arch/arm/configs/steves_blahblahblahwhateverthisis_defconfig
git add arch/arm/configs/steves_blahblahblahwhateverthisis_defconfig
git commit
[Samsung Galaxy Player 4.0, 5.0] klin1344:
Cool thanks! Will definitely try it out.
[Samsung Galaxy Player 4.0, 5.0] asheehanjr:
I went to go try this kernel yesterday, and when I flashed it, the phone rebooted then shut off completly! It will not turn on at all nor even be recognized by Windows! I flashed this on top of a Eryigit Rom, and now the thing wont turn on. lol. Is there any way to revive this brick or am I going to have to call Samsung. I just got this yesterday that's the funny part about it. New record for me! LOL.
[Samsung Galaxy Player 4.0, 5.0] exodus454:
I'm still getting random screen unresponsiveness..
[Samsung Galaxy Player 4.0, 5.0] DZonikg:
you probably do it wrong or have international version..so return in back while you can.
[Samsung Galaxy Player 4.0, 5.0] the playa!:
daily driver?

what is a daily driver and what does it do if you have in on your player?
[Samsung Galaxy Player 4.0, 5.0] Mevordel:
It just means the kernel is stable enough for daily use.
[Samsung Galaxy Player 4.0, 5.0] the playa!:
the 4.0 doesnt have any daily drivers?
[Samsung Galaxy Player 4.0, 5.0] EcHoFiiVe:
TerraSilent
[Samsung Galaxy Player 4.0, 5.0] getyroks:
What is the newest kernel here? There are several downloads but i don't know which is which.
[Samsung Galaxy Player 4.0, 5.0] Mevordel:
The filename is the date; 03/05/2012 is the newest.
[Samsung Galaxy Player 4.0, 5.0] Austin68:
Thanks Entropy!! I flashed this kernel and it works. but the only thing is, is that it only overclocks to 1GHz using setcpu. is there something else i need to do ??
[Samsung Galaxy Player 4.0, 5.0] chris1892006:
So is this a kernel recovery combo even know in the title its a kernel? Thanks
[Samsung Galaxy Player 4.0, 5.0] cramjammer:
Entropy512-

THANKS! I really appreciate your work... flashed with nan already! Thanks for making my GP even better.

Will be happy to donate to your hard work.

regards,

CJ
[Samsung Galaxy Player 4.0, 5.0] dirty.redz:
may be a noob question but will I loose my currently installed apps when flashing this kernel?
[Samsung Galaxy Player 4.0, 5.0] apapousek:
You shouldn't, I didn't lose mine. You may want to back them up using Astro or Titanium. Astro is pretty great for being free, but you may prefer Titanium's interface.
[Samsung Galaxy Player 4.0, 5.0] Entropy512:
You should not lose anything, nor should you need to wipe anything - not even dalvik cache.
[Samsung Galaxy Player 4.0, 5.0] dirty.redz:
Install went like clockwork (pun..lol) didn't lose anything, clockwork recovery works well, took a few to figure out button configuration for it, but successfully created a backup. thanx again and hope to see more updates soon.
[Samsung Galaxy Player 4.0, 5.0] dirty.redz:
"quickboot" application works well to boot into recovery mode
[Samsung Galaxy Player 4.0, 5.0] Entropy512:
Quickboot is OK - but instead of doing a graceful shutdown it immediately reboots the device. This can potentially lead to filesystem corruption.
[Samsung Galaxy Player 4.0, 5.0] Scott41373:
Thanks

Entropy, thanks for doing this, I have a GSII that I am using DailyDriver on, so I was pleased after getting this for a Christmas present to see you working on a Kernel and CWM. Next step, how about some themes or even Hellraising some roms? I'll be happy to test anything you want to throw at me. Regards, Scott
[Samsung Galaxy Player 4.0, 5.0] Entropy512:
I'm not much of a person for userland stuff.

For themes - I'm going to try a vrtheme this weekend to see how it goes.

Hellraising - not much to Hellraise other than WT Ho's international ROM - which I am going to try Hellraising as proof of concept. Should be easier than GSII even.
[Samsung Galaxy Player 4.0, 5.0] klin1344:
Entropy512, would it be possible for you to develop for the galaxy player 4.0 as well? I know there is Steves kernel but he is not an active xda member and who knows when he will add new features to his kernel, and if he ever does? Had I known that there would be more developers for the 5.0, I would have happily forked out the extra cash for it.

Sent from my Galaxy Player 4.0 (YP-G1)
[Samsung Galaxy Player 4.0, 5.0] azoller1:
it wont let me restore my rom i backed up it says md5 mismatch
[Samsung Galaxy Player 4.0, 5.0] Entropy512:
Slight possibility - I HATE blind development, but the source tree is the same. Main issue is the initramfs - making changes to the initramfs is a ***** without a device (too easy to break). It's too bad Steve couldn't handle being asked to comply with the forum rules.

Somehow your backup got corrupted.
[Samsung Galaxy Player 4.0, 5.0] azoller1:
do you know how to make it uncorrupted?
[Samsung Galaxy Player 4.0, 5.0] zaclimon:
Did you check your backup folder to see if there's the nandroid.md5?
[Samsung Galaxy Player 4.0, 5.0] marv_in_lbc:
First off, Thanks Entropy512. I already see the difference with my player (less sluggishness).

Now, I'm using Tegrak O/C and have my player set to 1.2ghz. If this question is n00bish, forgive me: Can I use Tegrak for O/C'ing AND use SetCPU only for screen off profile? Will the two apps will peacefully coexist with each other?

Again, thanks. :)
[Samsung Galaxy Player 4.0, 5.0] rumirand:
Yes. I'm using both here and I don't have problems.
[Samsung Galaxy Player 4.0, 5.0] Entropy512:
New release:

Pulls in a bunch of bugfixes and power management tweaks from other kernels. See github for details.

Add per-file fsync() disable - Be warned, this CAN cause data loss but can also greatly improve performance. I don't use it myself, but it's there for those that want to take the risk. It is off by default, see the "dangerous features" documentation for how to enable it.
[Samsung Galaxy Player 4.0, 5.0] exodus454:
Thanks a bunch!! Its so nice to finally have CWM on my player.

Kernel install was quick and easy. I haven't seen any bugs in the kernel yet. I was playing around with CWM for quite awhile too and everything seems kosher.

Two things though - would it be possible to get the SGP officially supported with rommanager now that it's been ported? And I'd love to see full ext4 support for internal storage and the sd card!

Thanks again for your work, I'll be following the thread closely!
[Samsung Galaxy Player 4.0, 5.0] Entropy512:
Considering that Koush doesn't answer emails or tweets, and every experience I've had with ROM Manager in the past has been negative, no.

ROM Manager would cause softbricks on any Infuse that had Voodoo Lagfix enabled, and just did all sorts of weird unpredictable **** on the AT&T GSII.
[Samsung Galaxy Player 4.0, 5.0] azoller1:
for some reason this probably isn't because of your kernel but when I flashed the newest one it worked and then I tried playing modern combat 3 and it didn't work very good it kept glitching but when I was on the initial release it worked good
[Samsung Galaxy Player 4.0, 5.0] Entropy512:
Try reverting... See if that changes anything.
[Samsung Galaxy Player 4.0, 5.0] Entropy512:
Bootanim support coming tonight. (In testing now)
[Samsung Galaxy Player 4.0, 5.0] Entropy512:
Bootanimation support posted. If you've used some sort of alternative animation mod, the results are potentially unpredictable.
[Samsung Galaxy Player 4.0, 5.0] :
Thanks man.. If you have installed Animod and are going to flash Entrophy's new kernel, using the Animod uninstaller first...

New kernel going into "Foreigner" soon.
[Samsung Galaxy Player 4.0, 5.0] abalakersky:
Help for a newb

Hey everyone.

Sorry for coming with a newb question but this is my first Android device. I have been Apple user for a while.

I have this rooted using SuperOneClick. So I should be able to use rooted device instructions, right? All I need is to copy the archive to sd card, unzip, run dd command and reboot. Is that correct?

Also, coming from Apple, one thing that always was helpful is the safety net of being able to restore current firmware. Is that possible with this device, and Android in general? In case something goes horribly wrong while I am typing all of the commands and overwriting the kernel?

Thanks for your help.
[Samsung Galaxy Player 4.0, 5.0] Entropy512:
Yes - Meticulus has posted a stock kernel and system image. As long as you don't clobber the bootloaders (following the instructions here won't), you can fix almost anything on a Samsung by flashing with Odin.

Just don't flash stuff with PIT files and don't flash anything containing files named boot.bin or Sbl.bin unless there is NO other option.

We're lucky that on this device - it's actually possible to unbrick even if you clobber your bootloaders, but it's a fairly technical process.
[Samsung Galaxy Player 4.0, 5.0] apapousek:
Gotta love that our device is virtually unbrickable.

Your updated kernel seems a lot more stable than the last release, at least for me.
[Samsung Galaxy Player 4.0, 5.0] Entropy512:
That's odd - shouldn't have been unstable in the first place...
[Samsung Galaxy Player 4.0, 5.0] heat361:
I installed the latest kernel and is the bootanimation suppose to be.zip or is it suppose to stay the same because mine did

Edit: I got it to say boot animation.zip after rebooting. To change the bootanimation should I use root explorer or the stock my files from samsung
[Samsung Galaxy Player 4.0, 5.0] abalakersky:
Thanks, this worked like a charm, I think :)

Device seems to be a bit snappier and kernel version displayed is 2.6.35.7-G70UEKI8-CL566269 adodd@quadmonkey #83
[Samsung Galaxy Player 4.0, 5.0] bdubs4200:
My home button is still un responsive :( /?\
[Samsung Galaxy Player 4.0, 5.0] Entropy512:
That's odd... No one else is having such a problem. You DO have a USA 5.0 (with all capacitive touchkeys), right?

There's a slight chance that if you're running an international ROM, the keymaps in /system might be wrong. I haven't had time to play with ROM porting yet. (Although Meticulus did some porting.)
[Samsung Galaxy Player 4.0, 5.0] bdubs4200:
To be honest I flashed his American rom, which led to no home button then flashed this for a fix and still no go :( I just posted it in the wrong thread. Anything I can do do keep this device alive I'm here to help. But no home key means no multi tasking. But yes I did flash the correct rom, foreigner for us... Any ideas?

Oh and yes I have the capacitive buttons. Is there two (2) yp-G70 versions??? One with and one without?
[Samsung Galaxy Player 4.0, 5.0] Entropy512:
International version has a mechanical home button.

Weird, the behavior you're getting is consistent with running an international kernel on a US device...
[Samsung Galaxy Player 4.0, 5.0] kiwijunglist:
Feature Request:

Swipe notification bar to adjust screen brightness

(or)

Screen brightness toggle / popup in notification area for brightness control

(in Addition to current options WiFi | BT | GPS | Sound | Rotation)
[Samsung Galaxy Player 4.0, 5.0] Entropy512:
Those are not kernel items. Those are in the system image (often called the "ROM")

I've tried to poke at these (with little success) - but I'm a kernel/C/hardware man, not a smali man. (Partly because smali is hell to read and hell to debug)
[Samsung Galaxy Player 4.0, 5.0] kiwijunglist:
Thanks for above, my mistake this is already working, you just have to long press notification bar prior to swyping.
[Samsung Galaxy Player 4.0, 5.0] Entropy512:
Oh? Odd, I had no success with that... Going to try again!!!!!
[Samsung Galaxy Player 4.0, 5.0] kiwijunglist:
I have international player with xxkpf and it definitely works. Does your US version have auto brightness control? If so make sure top turn that off before trying.

EDIT: For done weird reason I can currently only turn brightness up, but not down. I'm sure this was working in r8 prior to flashing r11. I will go back to r8 again.
[Samsung Galaxy Player 4.0, 5.0] :
I have test this on "Foreigner" and after first loading the rom, it doesn't seem to work right. You press and hold then swipe and it only goes to full brightness if it's not already at full brightness. Then if you wait awhile, 10 to 20 mins, it works.

Note: I may have something to do with whether it's plugged in or not; or reboots or playing with the brightness settings
[Samsung Galaxy Player 4.0, 5.0] rumirand:
It works but not always. I noticed it works on some applications, like browser. Using r11 now.
[Samsung Galaxy Player 4.0, 5.0] kiwijunglist:
Your right, it seems to be an intermittent bug. It is currently 100% working for me on r11 in adw home screen and all the apps I tried this morning.
[Samsung Galaxy Player 4.0, 5.0] Entropy512:
Uploaded charginghacks.

Note: When on a wall charger, your battery will never read higher than 80%. Samsung's state of charge estimate mechanism is completely bogus.
[Samsung Galaxy Player 4.0, 5.0] exodus454:
cool, just updated, thanks! that's awesome to see charging hacks since the stock profile would still allow the battery to discharge faster than it could charge - especially under heavy use (and overclocking!).

will the 800mah screw up the charger in any way? I think mines only rated for 700. and is there any danger with plugging it into a pc USB port and oversteessing it or does it still need to sense "ac mode" before trying to pull 800mah?

also, any chance you might be able to impliment voodoo sound too one of these days? :D
[Samsung Galaxy Player 4.0, 5.0] Entropy512:
800 mA is slightly over the charger's "official" 750 mA rating, but so far I've never seen a problem with it. I'm thinking of maybe putting in a sysfs enable/disable flag, and disabling by default.

charginghacks only activates when a wall charger is detected - it is disabled when on USB. I will always keep it this way, except POSSIBLY bumping up USB current one level. (I think there's one more step before hitting the 500 mA limit.)

Voodoo Sound is not possible on the 5.0 - we have the Yamaha MC1N2 instead of the Wolfson WM8994. (Same as the Galaxy S2 and Galaxy Note). (Just added this to the FAQ.)
[Samsung Galaxy Player 4.0, 5.0] dunca123:
First off I really like this Kernel, and thank you a lot for building it. Is there any way to make is so I can use Orbot? Before I used your Kernel, it was working fine. It can't seem to get the transparent proxy working properly. So far this is the only app. I have noticed to not work with this Kernel. Once again thank you soooo much for making this. I only use Orbot at school to bypass the security, but it causes some complication. I can use it through an add on for Firefox, but that is about the extent. Before I could have everything run through the proxy. Now just Firefox.
[Samsung Galaxy Player 4.0, 5.0] Entropy512:
Hmm, looks like Samsung's defconfig might be missing stuff that is in stock kernels. See if you can find Orbot's requirements kernel-wise - I know it requires tunnelling which I've already enabled, but it may need some other stuff.

Good chance it's just a defconfig change.
[Samsung Galaxy Player 4.0, 5.0] dunca123:
I installed BusyBox and everything seems to work properly now. :) I have also flashed a ROM that I really like. I could not have done this without your Kernel. Thank you soooo much, and I am looking forward to your new release. Other good news, CWM worked flawlessly when I ran a recovery from one I backed up via. External SD. Please keep up the great work!
[Samsung Galaxy Player 4.0, 5.0] exodus454:
chargehacks are working fantastically.. my battery has been charging faster and lasting substantially longer. full screen brightness used to eat it up pretty quickly but now I can use it all day easily. huge improvement to say the least!

also my indicator shows 100% both on and off the charger so I'm not sure what you were talking about earlier.

sucks voodoo sound is a no-go, I wish they'd just use the same chips in both players.
[Samsung Galaxy Player 4.0, 5.0] Entropy512:
Charginghacks shouldn't affect your life off-charger - some of my other power management fixes might have helped that, but that would've helped you with older releases too.

In fact, charginghacks will have a small (almost insignificant) negative effect on off-charger lifetime, since as part of offsetting the increased stress on the battery from higher charge current, I changed it to cut off the charger slightly earlier.

It seems like the battery compensation code is highly unreliable and unpredictable - sometimes it decides not to kick in, sometimes it gets "stuck on"...
[Samsung Galaxy Player 4.0, 5.0] Stale_bread:
oh my gosh, thank you so much.

i will test this out the instant i get to work monday.

i will finally be able to safely build roms and themes :)
[Samsung Galaxy Player 4.0, 5.0] Qwerty9736:
I am a complete noob at flashing ROMS, kernels, etc and i would like to know if there is a tutorial or if someone can give me detailed instructions. How do i use odin and which files do i use?
[Samsung Galaxy Player 4.0, 5.0] dunca123:
http://www.youtube.com/watch?v=0imhKnMtQ9A
[Samsung Galaxy Player 4.0, 5.0] Entropy512:
I was going to add overclocking this weekend, but wound up consuming some time over in I777-land.

I am not a fan of the approach rumirand picked up (someone used that approach on Infuse and had all sorts of weird problems), I'm going to go for netarchy-style OC when I do.
[Samsung Galaxy Player 4.0, 5.0] Qwerty9736:
do i have to download CWM recovery in order for this to work? how do i know if i flashed it?
[Samsung Galaxy Player 4.0, 5.0] dunca123:
Settings-About phone You will see what ROM and Kernel you are using. Should be @quadmokey"yourbuild#" To get to CWM, power down your device. Hold the volume up rocker and Pwr. once you see Samsung let go of the Pwr. keep on holding the volume up rocker. As soon as you see CWM let go. You are now at CWM. Good luck.
[Samsung Galaxy Player 4.0, 5.0] Entropy512:
No, it includes CWM. On Samsungs, the way to get CWM is to flash a kernel that includes it.

To know if you flashed it, use CPUSpy - it tells you more info about the kernel than Settings->About Phone will
[Samsung Galaxy Player 4.0, 5.0] :
I was looking over your post entitled "[REF] Useful init.d scripts" in the sgs2 forums and I was wondering if init.d scripts are implemented in the same way on YP-G70. I know that some of these scripts may be specific to the sgs2. I'm use to the way my dd-wrt router implements init.d and the filenames are like S##Nameofscript so that they can be executed in a specific order. Renaming the script K##Nameofscript disables it. So I guess my questions are:

1. Do init.d scripts work on YP-G70?

2. If so at what point in boot up do they run (eg after/before execution of system services)?

3. Is there a naming convention for them?

4. Is the implemenation of init.d even in the kernel?
[Samsung Galaxy Player 4.0, 5.0] Entropy512:
I'll go somewhere out of order here:

It's partially in the kernel and partially the system image. Most firmwares don't have the /system/etc/init.d directory so it has to be created. The remainder is in the initramfs, which is in the kernel on Samsung devices. I just realized I haven't put that into my initramfs yet, so I'll need to do that soon.

There isn't really a naming convention, other than the fact that run-parts runs in ascending alphanumeric order - 0-9 first then A-Z. So if you care about the order you need to put numbers before the names.

They run fairly early in the boot process, as they are kicked off by the initramfs.

As to which ones from the GS2 are applicable - Anything relating to idle modes (like AFTR) is not, some of the other stuff (like filesystem tuning) should work - in fact one of the I777 scripts came straight from the Infuse.
[Samsung Galaxy Player 4.0, 5.0] omega1alpha:
How would you go about returning to the stock kernel?

I searched for the stock kernel and download the file. However, Odin will not restore the stock .tar image file. It keeps failing. Can someone provide me with the correct file and quick instructions.

Thanks
[Samsung Galaxy Player 4.0, 5.0] slim_thumb:
ghetto lagfix

Hi. I wonder if anyone can help clarify something:

"Current features" of this kernel states:

"ext4 partition mounting support in kernel and initramfs thanks to rumirand - ghetto Lagfix baby!"

Does that mean you can enable ghetto lagfix in this kernel?

If so, do I follow the instruction posted in rumirand's "rj's custom kernel for Galaxy Player 5 international"?

"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 this is the correct way to enable ghetto lagfix, can someone explain the part about "edit nandroid.md5 to match .ext4.tar files"? Would the instruction below work?

"adb shell

# cd /sdcard/clockworkmod/backup/xx.xx.xx

# rm nandroid.md5

# md5sum *img > nandroid.md5"

( from http://xdaforums.com/showthread.php?t=714114 )

Thanks.
[Samsung Galaxy Player 4.0, 5.0] :
This will not work. You need to EDIT the nandroid.md5.(open with text editor)