yashsingh1/xdaforums huggingface dataset:
[Samsung Galaxy Player 4.0, 5.0] oisis:
I just done repo sync with CM9, then i downloaded tdm files: vendor, device and kernel and put like that:

android_vendor_samsung_ypg1 - cm9/vendor/samsung/ypg1

android_device_samsung_ypg1 - cm9/device/samsung/ypg1

Galaxy-Player-4.0-Kernel - cm9/kernel/samsung/ypg1

then i typed:

that is it.

My paths for compiler:
[Samsung Galaxy Player 4.0, 5.0] hanthesolo:
YEAH! Thanks a million Oisis, now I need to go compile and calm myself down ;). Fingers crossed, I KNEW something was missing :). BY the looks of it, my bashrc config was pretty messed up as well.

EDIT: ALright, I cloned everything into the right place, took a deep breath, and started compiling. One thing though: your middle CM9_ypg1_userdbug command didn't go through (probably just a minor thing, but neither did otapackage, so I am just going to brunch).
[Samsung Galaxy Player 4.0, 5.0] oisis:
Ok, no problem. In middle time i moded Wiki page, few days ago. Thanks for that, we will have all informations in one place.

One more hint:

I think, not sure now, that GPU drivers for ICS can be different that this from GB. It is worth to check. We can use /system/lib/egl from i9000 and not sure but swap this one from kernel. There is i9000 ICS working on 2.6.38.X so will be easy to port drivers to our kernel if it will be needed.
[Samsung Galaxy Player 4.0, 5.0] zaclimon:
Mother of god, because CM9 don't use his compiler by default?:confused: Alright then, let's see if it's work.

---------- Post added at 05:54 PM ---------- Previous post was at 05:50 PM ----------

Can I see the link, could be very helpful. :p
[Samsung Galaxy Player 4.0, 5.0] oisis:
If you are asking about GSP 4.0 Wiki. Is in first post.

EDIT1:

New build will come soon. No changes with recovery so installation will be complicated like before :(.

EDIT2:

Could somebody check GPU drivers version:

should be command like that. Check on GB and ICS if it is possible. Thanks.

EDIT3:

Here is download link: YPG1-CM9-OiSiS-build-03.zip

EDIT4:

Interesting link:

- Build a custom recovery image

- HOWTO: Unpack, Edit, and Re-Pack Boot Images
[Samsung Galaxy Player 4.0, 5.0] hanthesolo:
I assume this build just uses the stuff I pushed to github? It would be nice if it boots with GL working, as I am not 100% sure my config changes are stable, but if they are they should improve things somewhat. The Cflags are identical to the I9000 ones, so I doubt they are any cause of instability, but then again, I have basically the proverbial man pages of compiling to read through before I can safely say anything. If I personally can get GL working on my laptop, then I can dev and make the builds, freeing you up to work on the kernel (hopefully). next thing to fix: why does GL crash when opening certain applications?
[Samsung Galaxy Player 4.0, 5.0] oisis:
I made some changes in sources(took some of them from i9000). Didn't change anything in GPU drivers. I can work on kernel but for now more important is to fix recovery, installation process and init scripts but without device will be very hard for me to fix it, have to leave it for somebody with device.
[Samsung Galaxy Player 4.0, 5.0] hanthesolo:
Alright, could you push your fixes to our github please if they work? That'll be that much less I have to work on :). I will work on fixing GL, I may just need your advice sometimes :). Sorry about not getting you your device yet, BTW. The community on our forums is VERY small, and my parent's won't let me donate(yes i'm that young).
[Samsung Galaxy Player 4.0, 5.0] oisis:
First test ROM then tell me if is working. If will be ok then will commit changes.
[Samsung Galaxy Player 4.0, 5.0] hanthesolo:
ALright, i'll flash it tonight, and hopefully post up my results tomorrow morning.
[Samsung Galaxy Player 4.0, 5.0] Neodymium:
I'll also participate in fixing recovery
[Samsung Galaxy Player 4.0, 5.0] oisis:
Yes it is good way but without device will be hard or impossible for me to do that. Need to test it somehow but my device is different and i cannot make tests and check some parameters, logs etc by myself. So you have to take care about it by yourself and when will be ready then i can start to work on it. Just check popular devices, there is a lot of ROMs because a lot of people has this device and can take care about development. If some device is not so popular then there is few or non developers and no ROM, the same was with i9001 but later on we found some devs with devices and we have almost fully forking ICS and now some devs trying to port JB 4.1.1 for i9001.

I built ICS for you but it was easy to do without device because tdm github repo, now will be harder because we need to fix bugs in rom and maybe in kernel, create recovery etc. Credits for TDM.
[Samsung Galaxy Player 4.0, 5.0] zaclimon:
Don't worry, I've contacts that can help me having your device faster.

BTW we miss like $30-40 to buy the device.
[Samsung Galaxy Player 4.0, 5.0] hanthesolo:
Alright, I just came home, and I am almost done compiling (I had to fix an error in boardconfig.mk, which I will push). Oisis, I will test your build if mine doesn't boot sometime later today, but if mine does, it will probably be sometime tomorrow (as I need to fix bugs in mine).

EDIT: my new build didn't boot, but that was because I forgot to define GL in the boardconfig. I rebuilt (and looking under egl, all the files that should be there are there), and my fingers are crossed. If this build doesn't work, I should be able to test your build tonight, Oisis.

EDIT: Public service announcement: Do NOT use the boardconfig.mk I pushed to our repo. Apparently GL needs some extra..stuff done to it, and I left all of that out. I don't get the GL crash anymore, but then again nothing shows up on the screen. I am rebuilding now, and if it works I can hopefully push the fix tonight.

EDIT: Out of the frying pan and into the fire I guess. It now boots, but I get GL error 0x0500 now. Hopefully (after reading some docs) This is nothing just make cleaning won't fix, but since it's such a general error, it really stinks.
[Samsung Galaxy Player 4.0, 5.0] oisis:
Hanthesolo, could you try to find download link for GPU binary drivers for ICS? This will help us a lot and search for info that ICS needs special drivers in kernel for GPU. Thanks.
[Samsung Galaxy Player 4.0, 5.0] DZonikg:
I am not developer but could you use gpu driver for 5.0 ics rom..4.0 and 5.0 have the same power vr 540 gpy.
[Samsung Galaxy Player 4.0, 5.0] zaclimon:
Here they are:

https://developers.google.com/android/nexus/drivers

We should take the one from the nexus s.
[Samsung Galaxy Player 4.0, 5.0] Mevordel:
The thing is that we don't have drivers for the 5.0 either, thats why we have no HW acceleration or Chrome.
[Samsung Galaxy Player 4.0, 5.0] Supermaster34:
The Nexus S has the same GPU as the Player 4 and Player 5. There must be a way to port the drivers over as it also has the same processor
[Samsung Galaxy Player 4.0, 5.0] DZonikg:
i know that hw is not working but 3d games and gl work..on paranoid rom i use hw works for low res mp4 640×360..i dont now whow bit it works with out software decoder..if you try some higher res it fails.
[Samsung Galaxy Player 4.0, 5.0] ChaosChris:
I am Not a Kernel dev i think Th Kernel that tdm has Made of Steves source is Stock based and on Stock the deep idle works and tdm says that it crashes on cm7 he disabled it in the Kernel/power/wakelock.c line 294 - 298 dont know it if crashing in cm9 but you can try that ... its just an idea i had :D

I have a nexus s with running cm9 stable so i can pull some files or makes some command when you want :)

Sry for my bad english

Gesendet von meinem Nexus S mit Tapatalk 2
[Samsung Galaxy Player 4.0, 5.0] hanthesolo:
Sorry guys, I'm sick right now, so I haven't really been working on anything the past few days. I rebuilt my ROM so that it hopefully works, and I will (finally) test your today. Other than that, don't really expect any help from me until this weekend :(.
[Samsung Galaxy Player 4.0, 5.0] crancpiti:
so theres a Build #3 on the way? :)
[Samsung Galaxy Player 4.0, 5.0] hanthesolo:
Yeah, well that's the plan. Oisis is building for now, as he is the only one with working go, but once I get go fixed (hopefully by the end of this weekend), I will be the primary builder, freeing Oisis to help you guys with the kernel and give help where it's needed. I need input from you guys though: do you want builds as soon as any major change is made (to test), or do you want me to release/auto build ~once a week, with hopefully better tested fixes, and more per build. The issue with the first is that it's a LOT of space to use for just minor updates, and I may not he around to fix your issues. The issue with the second is that the fixes won't be very well tested, and since there will be more per build, it may be harder to track down. You decide!

EDIT: HECK YEAH!!! EGL FINALLY works! Take that, you....piece of software. Excitement aside, I can now (hopefully) be the sole provider of builds (the strain's off you now, Oisis). Now, to get GL working...

Also Oisis, can you please tell me exactly what you changed in your build (the exact makefiles), because I REALLY don't want to accidentally mess up whatever black magic this is :).
[Samsung Galaxy Player 4.0, 5.0] zaclimon:
Lol the way you describe it it's almost like a nightly.
[Samsung Galaxy Player 4.0, 5.0] zaclimon:
I don't think so but he is working with his LG phone:

http://forums.androidcentral.com/optimus-v-rooting-roms-hacks/156426-rom-alpha-quattrimus-ics.html

EDIT: @Hanthesolo just to correct the typo of entropy device tree (XDA adds ... which lead to error 404 on github)

Entropy source code

EDIT2: I will build from CM9 source today using his device tree without modifiying anything on the files (except for the prebuilt kernel and FM radio.)
[Samsung Galaxy Player 4.0, 5.0] theraf:
i'm more than happy to test if you get a boot
[Samsung Galaxy Player 4.0, 5.0] Neodymium:
Have some hope, dude. 4.0 is easier than 5.0 in porting 3.x kernel which determines the availability of gpu acceleration
[Samsung Galaxy Player 4.0, 5.0] Neodymium:
Furthermore, we can just backport gpu source from 3.x kernel. And modifying Platform source has some hope with successful GT-I9000 source and JackpotClavin's one. Cheer Up!
[Samsung Galaxy Player 4.0, 5.0] hanthesolo:
Thanks, I just updated the OP. I have been pretty busy fixing my Gplayer today as I bricked it after modding frameworkres and the resulting attempt to return to normal....it seems it doesn't like someone editing it's xml files...

Good luck with building from source! shouldn't there *be* a logfile that we can pull to see exactly why it fails to boot?
[Samsung Galaxy Player 4.0, 5.0] hanthesolo:
hah, I like your post :). Things look a lot less bleak than they did yesterday, and I will still try and do what I can along with maintaining my rom.
[Samsung Galaxy Player 4.0, 5.0] zaclimon:
Hey here's some news. I managed to get a build and flashed it into my device. I can get to recovery but when I reboot I'm stuck at recovery.

This is my logcat. (I will continue to work on it next week)

--------- beginning of /dev/log/main
I/cm ( 103): Welcome to Android 4.0.4 / CyanogenMod-9-20120617-UNOFFICIAL-ypg1
I/cm ( 104): _
I/cm ( 105): __ __ _ ___ _ _ __ ___ __ _ _ _ _ __ __))
I/cm ( 106): ((_ \(/'((_( ((\( ((_)((_( (('((\( ((`1( ((_)((_(
I/cm ( 107): )) _))
I/cm ( 108):
I/DEBUG ( 114): debuggerd: Jun 17 2012 12:44:46
--------- beginning of /dev/log/system
I/Vold ( 112): Vold 2.1 (the revenge) firing up
D/Vold ( 112): Volume sdcard state changing -1 (Initializing) -> 0 (No-Media)
I/Netd ( 113): Netd 1.0 starting
D/Vold ( 112): Volume sdcard state changing 0 (No-Media) -> 2 (Pending)
D/DirectVolume( 112): DirectVolume::handlePartitionAdded -> MAJOR 179, MINOR 1, PARTN 1
D/DirectVolume( 112): DirectVolume::handlePartitionAdded -> MAJOR 179, MINOR 2, PARTN 2
D/Vold ( 112): Volume sdcard state changing 2 (Pending) -> 1 (Idle-Unmounted)
I/ARMAssembler( 145): generated scanline__00000077:03545404_00000000_00000000 [ 29 ipp] (43 ins) at [0x4051f1e8:0x4051f294] in 174541 ns
I/ARMAssembler( 145): generated scanline__00000077:03545404_00000A01_00000000 [ 30 ipp] (51 ins) at [0x4051f298:0x4051f364] in 109958 ns
I/ARMAssembler( 145): generated scanline__00000077:03545404_00000A08_00000000 [ 30 ipp] (52 ins) at [0x4051f368:0x4051f438] in 99458 ns

Also I have a no misc partition in CWM.
[Samsung Galaxy Player 4.0, 5.0] hanthesolo:
I cant see an error forcing it into recovery...probably some bad partition work. Good to know that we at least have a kernel working.

Sent from my Galaxy Player Running my Stratusrom.
[Samsung Galaxy Player 4.0, 5.0] hanthesolo:
By the way, just a fyi/question. I believe we can use fastboot to temporarily flash a potentially working kernel (rom?), so that way we don't have to spend ~15 minutes fixing things back up in odin
[Samsung Galaxy Player 4.0, 5.0] cvcduty:
This is fantastic. I hope to see the fruits of this combined efforts soon. I would love to help test. I don't know anything about Dev work, but I can pitch in with testing once you guys have a build to test. I own both the Int & US SGP 5.0 if that helps.

Edit: well, I thought initially this thread was created for GSP players in general... It now seems that it's specifically for the 4.0 player... Well, I hope you guys figure this thing out for the 4.0 and maybe some of it could help the ICS dev work for the 5.0 also. My offer stands for testing when the time comes.
[Samsung Galaxy Player 4.0, 5.0] zaclimon:
If you mean using fastboot to get a stock rom running I don't think it's possible. The kernel runs on Yaffs2 and not on RFS or ext4 anymore so we need to get it working back to stock using odin or heimdall.
[Samsung Galaxy Player 4.0, 5.0] hanthesolo:
Forgot about that, thanks for pointing that out. We can still use it to help with kernel fixes.

Sent from my Galaxy Player Running my Stratusrom.
[Samsung Galaxy Player 4.0, 5.0] Mevordel:
Don't forget to re-sign the apks after you modify the xml.

And for viewing logs there's dmesg and logcat.

Sent from my 5.0 USA GenGin + ICS theme
[Samsung Galaxy Player 4.0, 5.0] hanthesolo:
I did sign the apk, of I did not it would bootloop...

I think it may be an issue with my application.

Sent from my Galaxy Player Running my Stratusrom.
[Samsung Galaxy Player 4.0, 5.0] Entropy512:
Nope. Odin replaces fastboot on non-Nexus Samsungs.
[Samsung Galaxy Player 4.0, 5.0] hanthesolo:
It does? I read that you could use fastboot on the 5.0 and I assumed that we should be able to on the 4.0.
[Samsung Galaxy Player 4.0, 5.0] Entropy512:
If fastboot is usable I'm completely unaware... It would mean the 5.0 is even more atypical for a Samsung then previously thought.

I'm only aware of IROM boot (The 5.0 is one of the few devices that gives this without hardware mods - this is what AdamOutler's Resurrector uses) and Odin/Heimdall (download) mode.
[Samsung Galaxy Player 4.0, 5.0] hanthesolo:
Well, maybe I was misinformed then. I did only see it mentioned once in a thread. Has this project basically died? Noone has been interested in it for awhile...

I jave pmed some I9000 devs, and noone has responded to me yet, so i will keep finding new ones to pm.

Sent from my Galaxy Player Running my Stratusrom.
[Samsung Galaxy Player 4.0, 5.0] dorfd1:
what kernel version is this?
[Samsung Galaxy Player 4.0, 5.0] zaclimon:
Try the galaxyICS team:

http://galaxyics.com/

Or teamhacksung but isn't entropy is in the teamhacksung?
[Samsung Galaxy Player 4.0, 5.0] hanthesolo:
Well yeah, that's kinda what i'm planning, as I am pretty fast in fixing stuff, and I know you guys (at least the adventurous users) want the latest and greatest to help me find and fix bugs. Plus, we're about to upgrade to ~20mbps I-net, as opposed to the SLOW 5 MBPS we were using, so upload times shouldn't be an issue anymore.

BTW, the weird GL issues in the ROM seem to be fixed as well, so yay.

EDIT: well, some of them, anyway. Browser still has (webkit?) issues, so I may need some help with that, and camera still hard-crashed. But the weird menu flickering is gone, and most other GL issues, plus it seems a decent bit faster.
[Samsung Galaxy Player 4.0, 5.0] ShawnZ248:
So when will you upload the latest build, today?
[Samsung Galaxy Player 4.0, 5.0] zaclimon:
The GL issue (crash) is fixed? So we just need to take a toolchain from the CM9 source and compile with?
[Samsung Galaxy Player 4.0, 5.0] hanthesolo:
Well, it pushed it to our github, if you want to build from that (don;t ask how please if you don't know), but I probably won't upload the ENTIRE zip until we get our internet upgraded (meaning I will upload it sometime this weekend, which gives me a few more days to fix stuff).

NOte to devs: I was wrong, all of the GL issues are there and in their full glory, but my build seems more...stable than Oisis', for lack of a better word.

EDIT: here's some more info on our current #1 issue: error 11 (sigsev): http://developer.coronalabs.com/forum/2012/06/20/fatal-signal-11-sigsegv-and-fatal-signal-13-sigpipe

EDIT: After reading a little, the issue may be partially kernel (?) related? Perhaps you guys can fiddle around on your side and get some stuff going.
[Samsung Galaxy Player 4.0, 5.0] ShawnZ248:
so what's fixed in OISIS' build 3? (the one he posted on one of the posts in another page)
[Samsung Galaxy Player 4.0, 5.0] zaclimon:
I think a little backporting would be needed indeed. :p
[Samsung Galaxy Player 4.0, 5.0] oisis:
In my build 3 i changed only:

- some headers file in device directory

- added FM radio support in Boardconfig.mk

- added flush_kernel in to the package

Small changes, will upload soon everything to my github. Prefer to upload something when ROM will be working better. Now waiting for device to start my work on kernel and recovery. If installation process will work ok then start to digging in ROM.
[Samsung Galaxy Player 4.0, 5.0] zaclimon:
There's parts of the rom not working correctly. for example, you modified the vold.fstab because I can't even use the internal sd card anymore.
[Samsung Galaxy Player 4.0, 5.0] ShawnZ248:
Is the home button for the US galaxy player working on your build? or is it still broken?
[Samsung Galaxy Player 4.0, 5.0] oisis:
Maybe, don't remember now, and have to run M$ Windows today. Will check it tomorrow. So SD card is not working anymore? Will fix it, don' t worry :). Before was no problems with SD card and internal memory? Mounting in windows was ok?

Don't know, do not have this device, didn't change anything related to this.Wait for answer from somebody who has this device.
[Samsung Galaxy Player 4.0, 5.0] hanthesolo:
firstly no, the home button isn't working. I wouldn't even ask about that kind of stuff until we at least make a usable rom and kernel :).

Oisis, do you have an Idea on what's causing the GL crash I put up? If it truly is a kernel-based thing, I am basically sitting on my hands until you guys can fix that, as I suspect that the browser issue may be related to it.

EDIT: yep, that's exactly what it's related to, the webkit works just fine. Here's the logcat:

D/ShaderProgram( 2818): could not compile shader 35632:

D/ShaderProgram( 2818): Compile failed.

D/ShaderProgram( 2818): ERROR: 0:1: Extension GL_OES_EGL_image_external not supported

D/ShaderProgram( 2818): ERROR: 1 compilation errors. No code generated.

D/ShaderProgram( 2818):

D/ShaderProgram( 2818):

D/ShaderProgram( 2818): couldn't load the pixel shader!

D/ShaderProgram( 2818): could not compile shader 35632:

D/ShaderProgram( 2818): Compile failed.

D/ShaderProgram( 2818): ERROR: 0:1: Extension GL_OES_EGL_image_external not supported

D/ShaderProgram( 2818): ERROR: 1 compilation errors. No code generated.

D/ShaderProgram( 2818):

D/ShaderProgram( 2818):

D/ShaderProgram( 2818): couldn't load the pixel shader!

D/ShaderProgram( 2818): could not compile shader 35632:

D/ShaderProgram( 2818): Compile failed.

D/ShaderProgram( 2818): ERROR: 0:1: Extension GL_OES_EGL_image_external not supported

D/ShaderProgram( 2818): ERROR: 1 compilation errors. No code generated.

D/ShaderProgram( 2818):

D/ShaderProgram( 2818):

D/ShaderProgram( 2818): couldn't load the pixel shader!

F/libc ( 2818): Fatal signal 11 (SIGSEGV) at 0x00000000 (code=1)
[Samsung Galaxy Player 4.0, 5.0] zaclimon:
Internal and external sd card aren't working :eek:. Just the internal sdcard was working before. Decided to revert to build 2.
[Samsung Galaxy Player 4.0, 5.0] hanthesolo:
Oisis, good news: your new build boots (unsuprisingly). It *seems* faster upon initial boot, although that is a highly relative term. I forgot to tell you guys that I added FM radio to the boardconfig, so we should be good on that point, fortunately. None of the GL issues are fixed, if anyone wanted to know, as he didn't work on any of them. Long story short, everything works just fine, so you should be a-okay to push this to our github.
[Samsung Galaxy Player 4.0, 5.0] zaclimon:
It booted with the flash_kernel?
[Samsung Galaxy Player 4.0, 5.0] hanthesolo:
Ah I forgot about that. Yes, it works perfectly, although I won't know unless there's a different build date on it or something.

Edit: it looks like I'm about to pass both the 800 post mark, AND 320 thanks. Would be awesome if those occurred simultaneously. Anyway, back on topic.
[Samsung Galaxy Player 4.0, 5.0] zaclimon:
WTF how it can work for you and don't for me:confused:. Maybe I didin't wait long enough. But I can't access recovery either hmmm...
[Samsung Galaxy Player 4.0, 5.0] hanthesolo:
I see...great restores in your future, my boy :). Seriously, it sounds like something went seriously wrong at one point. Maybe you're trying to flash from GB?
[Samsung Galaxy Player 4.0, 5.0] oisis:
So it is booting ok? Give as some feedback, what is working and what is not working, some logcat, dmesg.
[Samsung Galaxy Player 4.0, 5.0] hanthesolo:
In brief, everything is working exactly the same as any of our other cm9 builds. Camera, Bluetooth etc. is broken, and go is still a little wonkt. I will put up some logs later, though,
[Samsung Galaxy Player 4.0, 5.0] oisis:
Installation process is ok? Do you have to do some workaround to install it on GB? Cold you update first page, mean installation process and links? Thanks.
[Samsung Galaxy Player 4.0, 5.0] Neodymium:
In korea, we have 100mbps internet(still really fast but, some speed mobsters are planning to.upgrade it into 1gbps. Lol

---------- Post added at 01:31 PM ---------- Previous post was at 01:27 PM ----------

I looked at aries boardconfig.mk, but I couldn't find any contents about cflags. Maybe it was just that I was not able to find it. I think we need to touch it more detaily.
[Samsung Galaxy Player 4.0, 5.0] zaclimon:
Yeah I'm flashing from GB indeed because when people will flash it, they will be most from GB.
[Samsung Galaxy Player 4.0, 5.0] hanthesolo:
@Oisis, I will do that as soon as I get home,, thanks for reminding me.

@zaclimon, I think we need to release a desperate mtd conversion zip, as doing it with our zips right now doesn't work (you have to format via CWM all partitions before it will stop boot looping. Strange, but true.
[Samsung Galaxy Player 4.0, 5.0] oisis:
My device directory: android_device_samsung_ypg1. Could somebody commit it to github? Thanks.

EDIT1:

I need boot.img file. Could somebody dump boot partition to img file and upload somwhere? Can be from nandroid backup. Best will be from ICS. Thanks.

EDIT2:

Could you change file: /system/lib/egl/egl.cfg from:

to:

EDIT3:

Attached file local_manifest.xml - just extract file and put in to .repo directory, then make "repo sync", sources(device, vendor, kernel) for YP-G1 will be automaticly downloaded and extracted to proper directory.

EDIT3:

Commited github sources.