yashsingh1/xdaforums huggingface dataset:
[Samsung Galaxy Player 4.0, 5.0] sodomywar:
I've also been triyng to compile the source for the player but i wasnt able to do so, the thing is that the source compiles fine with the pre-adjustments it comes with, i mean the androidboard.mk ( i think thats the name of the file not sure), but when i changed the variables for a armv5 build, which is the core of the device and the ones that comes in the same file on the opensource.samsung soource, it just doesnt compile and throws some kind of errors about some libraries that i didnt touched. i dont know what i had been doing wrong.

I Also found this video in which they show whats in every folder, and how to build and add packages from source to the build:

http://marakana.com/forums/android/general/269.html

This is a detail process description from the official android site to build from source, very similar like the one zaclimon found:

http://source.android.com/source/initializing.html

The source from samsung doesnt have all the drivers, just the alsa audio driver, i guess we gonna have to find a way to get the binaries like cyanogen did, maybe get some scripts they use and try to do it ourselves:

http://wiki.cyanogenmod.com/wiki/Sa...le_CyanogenMod_(Linux)#Copy_proprietary_files

it is done through the adb, but the thing is to get those files, maybe we could ask that fellow some help for this step, since he has the experience.
[Samsung Galaxy Player 4.0, 5.0] zaclimon:
The core is a ARMv7 right? because the hummingbird processor is a ARMv7. Maybe it did failed because of that? I found the gpu drivers from the opensource. Check in the kernel folder. If I can give you the gpu file if you want. Well tell me what files you are missing i'll find to give it to you. (Well I don't know how to program so I try do to my best.)

EDIT: Also its seem that to compile ICS is more difficult than the other versions. We do need ubuntu to extract the binaries right?

EDIT2: People are saying that it's easier to build from CM9 than from the source. It is right or it's the same thing?

http://forum.cyanogenmod.com/topic/38960-build-your-own-cm9ics-preview-on-ubuntu-and-perhaps-debian/
[Samsung Galaxy Player 4.0, 5.0] alltellmobile:
Galaxy S Phone

Shouldn't you just be able to modify a Galaxy S ICS port and take out the data and other stuff you don't need?
[Samsung Galaxy Player 4.0, 5.0] sodomywar:
Well, i configured it with the files of the samsung source, and it said ARMv5, we need to know which one it is, probably faild because of libaries compatibilities for that architecture.

Maybe it is easier than the official source, they modify the source and takes out some things that cellphones dont need 'cause the source it's made for all devices, so it could be smaller and easier to compile, i'm gonna try this port and let ya' know, it will take a while since the source it's huge

Would be great if a couple of us do it, if you can @zaclimon try it, you don't need ubuntu, if you know which libaries that command has (sudo apt-get install build-essential). I have debian and i compiled the source just fine, debian has a minimal installation (no X11) but to compile source you dont need anything else! Let me know if anyone else it's triyng we could excahnge some ideas! :)
[Samsung Galaxy Player 4.0, 5.0] zaclimon:
how many MB or GB the source has because I can't exceed my download's limitations?

EDIT: I'm a linux newbie. Is Ubuntu is the same thing as debian? Because Ubuntu is debian based right?

EDIT2: nevermind I'll be using ubuntu
[Samsung Galaxy Player 4.0, 5.0] zaclimon:
I don't know if we can (we should ask permissions) but it's definitly possible.
[Samsung Galaxy Player 4.0, 5.0] alltellmobile:
Yea Ubuntu should be pretty much the same.

Wish I knew how to program, because i would help out.
[Samsung Galaxy Player 4.0, 5.0] zaclimon:
You can help I follow the tutorials there:

http://www.freeyourandroid.com/guide/compile-ics

http://marakana.com/forums/android/general/269.html
[Samsung Galaxy Player 4.0, 5.0] alltellmobile:
Ok i was reading the first tutorial and got to the part about binaries for graphics acceleration; wouldn't we have to get ours before we compile it. Also i only have the US version of the galaxy player and if i made an image i couldn't test it because we don't have a custom recovery for ours.
[Samsung Galaxy Player 4.0, 5.0] zaclimon:
Oh that's true well you can try to port a custom recovery?
[Samsung Galaxy Player 4.0, 5.0] alltellmobile:
HaHa I'm not that good. that sounds way more complicated
[Samsung Galaxy Player 4.0, 5.0] jdale38:
hey guys, i've been following this thread and hopefully i can be of some help...

i'm currently in the process of pulling the system files from the original gingerbread build from the SGP...it looks like there will be some trial and error here comparing that of the nexus s build...correct me if i'm wrong, but is this where most of the proprietary libraries are located for the device?

i'm willing to engineer a generic build, described in the video tutorial and making the necessary adjustments for the ARMv7 board...

this is my first attempt at compiling Android source, so maybe we will have something or maybe i will have a good ol' brick...thanks for the great tutorial and video @zaclimon this has definitely shed some light on porting ICS for SGP
[Samsung Galaxy Player 4.0, 5.0] zaclimon:
Yes they are supposed to be there. But I have download all the source code of the firmware from opensource.samsung.com

Me and sodomywar are working with the internationnal version of the SGP4. If you want to join you're welcome.

EDIT: No problem for the tutorials.
[Samsung Galaxy Player 4.0, 5.0] zaclimon:
Google is your friend :p
[Samsung Galaxy Player 4.0, 5.0] zaclimon:
So this is where i'm at currently. I'm trying to compile and I got this error:

build/core/base_rules.mk:166: *** system/extras/ext4_utils: MODULE.TARGET.EXECUTABLES.setup_fs already defined by device/samsung/galaxyplayer. Stop.

Does anyone know how to remove that error?

EDIT: nvm I managed to remove this error.
[Samsung Galaxy Player 4.0, 5.0] tdm:
Ah, finally someone who knows about Samsung stuff! :) Thanks for posting!

Yes, the 4.0 player is BML. The 5.0 player is not. Certainly I plan to switch to MTD at some point. But AFAIK the 2 stage initramfs has nothing to do with this.

I thought j4fs went open source some time ago...?

Yes the param module -- that is a mystery. But it's super small, I almost think someone could decompile it and figure it out from there. I might try but I have never been exposed to ARM assembly, only x86. :/

This is kind of an area of mystery to me.

On the one hand, I thought recovery was in the main kernel initramfs and selected by bootmode=2 on the kernel command line.

But on the other hand, I have bml8 listed as recovery by heimdall.

confused....
[Samsung Galaxy Player 4.0, 5.0] murph5525:
Appreciate the efforts Gentlemen :)

Once you've reached the point of ironing out bug fixes, would it be possible to look at enabling "usb host" in this release?? I am hoping to add a portable DAC/AMP to my 5.0 at some point.

Thanks!!!
[Samsung Galaxy Player 4.0, 5.0] Tecardo:
How can we test what is true?

As I understood it, we have no access to the recovery when the rom is loaded? Is this right? I'm new to such system. Thanks for your help.

Gesendet von meinem YP-G1 mit Tapatalk
[Samsung Galaxy Player 4.0, 5.0] JackpotClavin:
We will have recovery. All you have to do is power off completely, and hold the volume up and press power
[Samsung Galaxy Player 4.0, 5.0] Tecardo:
No, i meant that we cannot modify or mount recovery in the userbase, in Android itself... ?
[Samsung Galaxy Player 4.0, 5.0] JackpotClavin:
hey ambrice, when you connected to wifi before, did the wifi signal show on the status bar next to the clock?
[Samsung Galaxy Player 4.0, 5.0] zaclimon:
He means if the build will have an advanced power menu.

@Tdm: Can I know what is working and what isn't. I will build ICS using your source and I just want to know if the kernel packed with CM7 will work on CM9?
[Samsung Galaxy Player 4.0, 5.0] tdm:
I haven't gotten sound or wifi yet.

I will not have time to look at it again until mon or tue.
[Samsung Galaxy Player 4.0, 5.0] ambrice:
Yes, but I'm running CM7..
[Samsung Galaxy Player 4.0, 5.0] JackpotClavin:
Oh whoops. Anyways my latest build has pretty much everything I need out of this device. What doesn't work is the camera, Netflix (not fully hw accelerated) and apps to the sdcard. The sdcard issue is a vold issue. That also results in the device soft resetting when you go to settings -> apps and storage. Still trying to find a system dump of the sgs2 ics update from a few days ago. Hopefully that will fix the apps to sdcard issue. Another kind of annoying bug is the wifi signal strength doesn't show on the status shows zero bars with the outline of the actual symbol. Hoping the wpa_supplicant binary from the sgs2 update could fix that too
[Samsung Galaxy Player 4.0, 5.0] JackpotClavin:
Sorry double post
[Samsung Galaxy Player 4.0, 5.0] The.Yield:
I would love to test for you. Lemme know if you need any help. GREAT WORK
[Samsung Galaxy Player 4.0, 5.0] Jayydude_SGP:
I TOO would LOVE to test it ^_^ US 5.0

Sent from my Galaxy Far Far Away Player 5.0
[Samsung Galaxy Player 4.0, 5.0] Jayydude_SGP:
Would it be asking to much to request activating the soft keys? :D

Sent from my Galaxy Far Far Away Player 5.0
[Samsung Galaxy Player 4.0, 5.0] JackpotClavin:
i don't know what to do for you guys regarding going back to stock. this is a super-alpha so some things don't work like the camera, netflix, the wifi signal indicator is broken for some odd reason i can't seem to figure out but it works fine, the vibrator doesn't work, i've disabled moving apps to the sdcard because it causes some random reboots (should be fine because we have 1.8 gigs of available data space) and i don't know the status of bluetooth because i don't have any bluetooth devices to test on. maybe some others will have some input on hot to restore back to stock from a custom rom that changes the filesystem to ext4.

i'll make a quick build and i'll test it out to make sure everything is cool. if everything seems to work, i'll post it
[Samsung Galaxy Player 4.0, 5.0] JackpotClavin:
if you dislike the alpha and would like to restore to stock, you can simply restore a clockwork backup

flash video doesn't work either, but it will play sound of the video. if flash video you wish to play has an enlarge to full screen button, you can press that and it should work fine. i just tried with some nytimes.com video

i didn't feel like making a new post because this is merely a pre-alpha. it is meant only for the US versions of the Galaxy Player 5.0. i'd just like to thank fellow xda developers:

Entropy512 for his kernel/clockwork package

ambrice for his cm7 kernel /w clockwork and source and which i modified to work with ICS

tdmcode

what doesn't work:

camera

netflix (not fully hw-accelerated)

flash videos inside the browser (youtube app works fine)

vibration

apps to the sdcard has been disabled because it caused random reboots (we have 1.8 gigs of /data storage so this shouldn't be a problem for now)

the wifi signal strength indicator in the status bar is empty even though it should show bars

gps lock takes a minute or so, but it does work

read directions! i take no responsibiltiy if you mess up because you didn't read thoroughly!

the download is available here: http://www.mediafire.com/?ligilswnp7p40qd

md5sum 5217b92d3dbf4f772827fc13df49434b 3-18-ICS-ALPHA.zip

instructions:

1. push the .zip to to your sdcard, as well as meant for ics from here http://goo-inside.me/gapps/

2. install a kernel that allows for rebooting to clockwork (power+volume up on boot) and make a backup of your current setup

3. in clockwork, go to mounts and storage and wipe system, data, and cache

4. go to install .zip from sdcard and install 3-18-ICS-ALPHA.zip, then install gapps

5. reboot and enjoy!
[Samsung Galaxy Player 4.0, 5.0] Tecardo:
can myou give us the source code? I would like to see it on my Galaxy Player 4. :)
[Samsung Galaxy Player 4.0, 5.0] JackpotClavin:
If you have a boot.img that works with 5.0 cm7 it should work with this
[Samsung Galaxy Player 4.0, 5.0] YoBob:
Hey! I would like to ask when will ICS beta be released for the International builds for testing.
[Samsung Galaxy Player 4.0, 5.0] JackpotClavin:
I'm not the one doing that :/ the difference may just be the kernel so if one of you guys wanna use my source and your kernel go right ahead :-)
[Samsung Galaxy Player 4.0, 5.0] JackpotClavin:
So has anybody flashed this yet?!
[Samsung Galaxy Player 4.0, 5.0] Jayydude_SGP:
I'm about to! :excited:

Sent from my Galaxy Far Far Away Player 5.0
[Samsung Galaxy Player 4.0, 5.0] YoBob:
Can u post some screenshots if possible?

And also, I can revert back to stock after testing this, right?
[Samsung Galaxy Player 4.0, 5.0] JackpotClavin:
i haven't tried to revert, but i'm gonna do it now and post my results in a sec
[Samsung Galaxy Player 4.0, 5.0] Jayydude_SGP:
I will do that:) the ROM is done downloading waiting for the gapps and face unlock to finish ^_^

Sent from my Galaxy Far Far Away Player 5.0
[Samsung Galaxy Player 4.0, 5.0] rafa6571:
Mine is booting right now :P
[Samsung Galaxy Player 4.0, 5.0] JackpotClavin:
restoration works! if you wish to return to stock you can restore a clockworkmod backup. i won't be offended if you return to stock either, this is just the pre-alpha :P

and face unlock doesn't work yet as the camera is not functioning yet
[Samsung Galaxy Player 4.0, 5.0] YoBob:
Thanks for testing it out!

I just want to see if I can revert cause I am gambling on the fact to try out ICS on an International Build Device as opposed to a US Build Device.

And Excited too hoping that it will work.
[Samsung Galaxy Player 4.0, 5.0] JackpotClavin:
the only thing i can see that might behave differently is that your home button might be screwy. in clockwork, see if under advanced there is the still the option called "key test" and see if what the home button identifies itself as. if it's a different number that's in the .kl file, all you might have to do is change the home keycode to what the the clockwork keytest says it is
[Samsung Galaxy Player 4.0, 5.0] YoBob:
I'll try.

The only thing I hope it doesn't happen is that the home key has no function after installation. That just screws the entire experience.

And can you guide me to finding the .kl file responsible for the home button. I searched through the .zip file and there were a bunch of .kl files. I just don't know which one is it. Thanks in advance.
[Samsung Galaxy Player 4.0, 5.0] Jayydude_SGP:
FLASHING NOW!

Sent from my Droid X2
[Samsung Galaxy Player 4.0, 5.0] Jayydude_SGP:
Idc about the bugs I'm keeping this! I LOVE IT!!!!

Sent from my Droid X2
[Samsung Galaxy Player 4.0, 5.0] YoBob:
I am stuck on Samsung screen for quite a while. Does that mean this is unusable?

EDIT: Reverting back to stock for now.
[Samsung Galaxy Player 4.0, 5.0] Jayydude_SGP:
There's no market???

Sent from my Droid X2
[Samsung Galaxy Player 4.0, 5.0] JackpotClavin:
There is if you installed gapps
[Samsung Galaxy Player 4.0, 5.0] YoBob:
Do you HAVE to install Gapps prior to booting, as I am stuck on the boot screen for quite a while with not result without installing the Gapps .zip file?
[Samsung Galaxy Player 4.0, 5.0] JackpotClavin:
Gapps is optional but you don't Gmail and the market. Not installing won't make you stick at the boot screen though. Did you wipe system data and cache, then install? See if you can get a logcat

Try verifying the md5sums too
[Samsung Galaxy Player 4.0, 5.0] heat361:
Can one of you guys post some screen shots please. I haven't had the time to flash because I want to back up first and I needed to order a micro SD card.
[Samsung Galaxy Player 4.0, 5.0] YoBob:
I did all you said in the installation process, but nothing worked. I wiped data, factory resetted, and wiped cache prior to installation., but it still doesn't work. All it does after installation was just showing the Samsung logo.

How long does it take to boot? I might take a jab at it again, though I think that it might not work. There something telling me that the International Build must have a little variant in its build other than the difference of capacitive/physical home screen buttons.
[Samsung Galaxy Player 4.0, 5.0] JackpotClavin:
And system too? Did you check your md5sums? How about a logcat
[Samsung Galaxy Player 4.0, 5.0] YoBob:
Sorry if this sounds silly, but how do you check your md5sums and your logcat?
[Samsung Galaxy Player 4.0, 5.0] JackpotClavin:
Go to mounts and storage and rewipe system data and cache. Then go to install zip and and toggle signature verification so it's enabled. Then install it again
[Samsung Galaxy Player 4.0, 5.0] YoBob:
Trying to install with enabling of the signature verification.

About changing the .kl file, which file is the right .kl file, as there were dozens of them in the file.

---------- Post added at 12:25 AM ---------- Previous post was at 12:21 AM ----------

So apparently, I got it booted and it's running pretty smooth!

One BIG issue: NONE of the capacitive buttons and physical home button work.
[Samsung Galaxy Player 4.0, 5.0] JackpotClavin:
I don't have the device with me right now. I think the one you're looking for only has 3 lines that say back menu and home. Are you wiping the system too?!

Saw your edit. Maybe try dumping your system backup to your computer and extracting every file from the /system/usr/keylayout folder and pushing them to the device
[Samsung Galaxy Player 4.0, 5.0] YoBob:
I checked the .kl file with the capacitive keys numeric value and they all correspond to the one found in the CWM Key Test, meaning that all buttons' numeric values correspond with your build.

I guess the only thing left to do is to try your alternative suggestion, though my computer has trouble recognizing my device after switching to ICS.
[Samsung Galaxy Player 4.0, 5.0] rafa6571:
After 30 minutes i think it's very smooth... I dont miss camera cuz i dont use it... and everything else works pretty good... Chrome is the only app until now that doesnt work
[Samsung Galaxy Player 4.0, 5.0] heat361:
Could you post some screenshots please and does it run smooth or is there lag
[Samsung Galaxy Player 4.0, 5.0] YoBob:
Is enabling on-screen buttons the better alternative, as none of my capacitive buttons still work and it's becoming a hassle to do.
[Samsung Galaxy Player 4.0, 5.0] JackpotClavin:
The international gplayer kernel guys will get it soon. They know their stuff. Chrome relies on hw acceleration so I'm surprised it even works at all :0
[Samsung Galaxy Player 4.0, 5.0] YoBob:
I agree they will get it soon though it's a matter of time really. Just wanna get my hands on it first, but none of the buttons working is really a deal-breaker for now.
[Samsung Galaxy Player 4.0, 5.0] JackpotClavin:
Oy. Maybe try building your own kernel?
[Samsung Galaxy Player 4.0, 5.0] YoBob:
LOL I wish I can. Got to give credit to the dev team here for the work. :D
[Samsung Galaxy Player 4.0, 5.0] exodus454:
It's working pretty well on mine! I flashed it a few hours ago and have been playing around with it.. loving it so far. I wasn't expecting to see even an alpha of this for another few weeks. It's also surprisingly stable, great work!

Not sure why, but I tried flashing gapps right after I flashed the ROM and it didn't work. 2nd time around was successful though.
[Samsung Galaxy Player 4.0, 5.0] heat361:
Thanks for the screenshots :)
[Samsung Galaxy Player 4.0, 5.0] exodus454:
How come the kernel is still 2.6? Just wonderin'.
[Samsung Galaxy Player 4.0, 5.0] zaclimon:
They used a 2.6 kernel for the rom? But people say it's better linux kernel 3.0.
[Samsung Galaxy Player 4.0, 5.0] Jayydude_SGP:
de nada mi amigo :D

---------- Post added at 07:45 PM ---------- Previous post was at 07:43 PM ----------

Can SOMEONE PLEASEEEEE show me how to enable the on - screen nav. buttons?? :confused:
[Samsung Galaxy Player 4.0, 5.0] JackpotClavin:
Haven't started a backport of 3.0 yet. Until then, I can't say for sure if apps that require full hw acceleration will work properly like Netflix and chrome
[Samsung Galaxy Player 4.0, 5.0] ambrice:
JackpotClavin,

I think I have my vold issues sorted out for CM7 for the 5.0. I applied this patch/hack to system/vold:

https://github.com/ambrice/android_system_vold/commit/63df71d8f36a3371f50608909159749ee32daa7b

Then I had to change /mnt/sdcard/ to /mnt/sdcard in my vold.fstab. Damn trailing slashes, always causing problems..

Also, if you're interested in creating an International version of your ROM, there are only two changes needed (I think):

1) Remove CONFIG_VENTURI_USA=y in your kernel .config and recompile

2) Add the line "key 102 HOME WAKE_DROPPED" to your s3c-keypad.kl. Preliminary testing suggests that this line does not cause problems for the USA version?
[Samsung Galaxy Player 4.0, 5.0] JackpotClavin:
What was your issue with vold that you were having with CM7? Right now I'm using the stock one, it works fine I guess, except for if you move an app to the sdcard and then go to settings -> storage, it will freeze up and kill zygote, bringing it back to the boot animation and starting it up from there. An ugly workaround is that I disabled moving apps to the sdcard so it won't have the soft rebooting issue, but I'd like to fix it in the future :-) right now we have the external sdcard mounting at /sdcard and the internal going to /emmc and both mount as usb mass when plugged into a computer and (more importantly) remount when unplugged
[Samsung Galaxy Player 4.0, 5.0] ambrice:
The problem I was having was the internal sdcard would never go to Idle in vold, because it was waiting for partitions 2-4 to show up.

When you say you're using the stock one, you mean from the Samsung stock image or the stock CM9 vold?
[Samsung Galaxy Player 4.0, 5.0] JackpotClavin:
stock as in from samsung's factory image
[Samsung Galaxy Player 4.0, 5.0] YoBob:
I always thought the buttons weren't working was a deal-breaker on my International Build, but finally got an alternative by using Button Savior in the Market. Isn't as good, but better than nothing.

+1 if someone could port it to International Build, though I wouldn't mind for now :D
[Samsung Galaxy Player 4.0, 5.0] ambrice:
Isn't moving an app to sdcard a CyanogenMod feature? Maybe you need some CM vold patches. You could try the CM9 vold with that patch..
[Samsung Galaxy Player 4.0, 5.0] JackpotClavin:
well with the cm9 vold, nothing mounted at all. with stock at least both the sdcard and emmc mounted perfectly, we just couldn't move apps to the sdcard so i disabled it
[Samsung Galaxy Player 4.0, 5.0] The.Yield:
I'm up and running now. Noticed a few things. Using "gapps-ics-20120304-signed" I'm getting non-functional GTalk. Instantly crashes on launch.

I had the Google Play Music lockscreen widget crash me once. A restart seems to have fixed it though...

Some lag on the app drawer from time to time. Forcing 2D acceleration in Dev options seems to SLIGHTLY help.

Shows "No Service" in the Notification Bar =/

I'll play with it more tomorrow, sleep for now.
[Samsung Galaxy Player 4.0, 5.0] NullUser:
If anyone needs to perform any tests on SGP 5 US, I'm willing to turn my device into a lab-rat and participate in the testing, if anyone needs it at all.

But for that I'll need a full recovery of my device, I tried installing ClockworkMod Recovery, but my device is not on the list, how do I recover?
[Samsung Galaxy Player 4.0, 5.0] exodus454:
CWM isn't officially supported, you have to flash a kernel that contains it. Flashing entropy's kernel should do it for you (providing you have the 5.0).

Sent from my SGP5