yashsingh1/xdaforums huggingface dataset:
[Samsung Galaxy Player 4.0, 5.0] hanthesolo:
Alright, I will extract one from the stock INTL rom (xxkpq) I use to restore to stock. Why do you need it?

I am kinda out of the game until the reboot bug is fixed, because the only way for me to reenter CWM (which I need to do) is to 100% flash stock, perform my CWM trick, and do what I need. I will put ICS back onto my device (currently bricked), and put up logcat and maybe perform some safe fixes if I have the time.

What would be useful is if we can mod and push a .pit to our devices that conforms with the mtd layout we have, so we can simply flash with Odin/heimdall.

BTW, how much help do you guys (honestly) think I am being? I'm not fishing for compliments or anything, but I honestly want to know if I should continue to help, or get out of your guys' way, so you can work better/faster, as I kinda feel like iI am just getting in the way right now.

EDIT: here's the build.prop you wanted, attached below.

EDIT2: This is odd, now I can only access adb, the screen remains on the samsung logo. The logcat says a lot about audio crashing, so I dunno what's going on. I am going to try swapping SGS cm9 into our cm9 zip, and see how it does. Live life on the dangerous side :p!

EDIT3: the logcat seems to loop with loading audio policy legacy audio HAL at the end, and thread audioout_1 cannot connect to the power service. This happens with the SGS files, AND with the SGP files. VERY odd...

EDIT4 Apparently it's unrelated to the audio service (duh), upon examining logcat and checking the mounts, /system is being mounted a ro, which seems to be causing the issue, which is strange, since it never did that before.
[Samsung Galaxy Player 4.0, 5.0] Tcollins412:
it should be in the system folder, but here it is if you cant find it.
[Samsung Galaxy Player 4.0, 5.0] oisis:
Maybe it is stupid question but did you try to install i9000 ROM with kernel from YP-G1?
[Samsung Galaxy Player 4.0, 5.0] EcHoFiiVe:
Glad to see both Galaxy Players having ICS. I dont own a 4.0 but I must congratulate the devs. Looks like a bright future for this device. Looked extremely hard to port the Sandwich. But at least you guys have it working! Mustve taken a lot of dev work and I praise all of you for it! Will keep up with progress for the 4.0!!
[Samsung Galaxy Player 4.0, 5.0] hanthesolo:
Yeah, of course :D. I merely swapped the files in your cwm zip. I think I may have a borked mtd conversion (at least something that is forcing /system to mount as to wen booting into cm9, regardless of formatting in cwm, or reflashin the zip. I think I will wait for your updated build before I try again...

EDIT: It STILL is refusing to mount rw before booting...it seems the problem is related to the lack of /data and /dbdata folders, which should be autocreated. What's really odd is that it booted for me last night, before I restored back to stock. The only thing I can think of is that my efs is shot, but stock still shows my wifi mac address, and I don't have any of the adverse effects. I guess i'll try it again with a semi-patched cm9 zip (I removed the bluetooth conversion script as it errors out and I don't have time to troubleshoot it, plus mtd conversion doesn't reboot and a few other things) and see how it goes. Hopefully since CM9 recovery loops (for now) I don't have to patch mtd, which may make things go a bit smoother.

Looking at everything, is the EFS backup/restore in the updater-script necessary? I thought CM worked fine without it, and unless I have a magic device, my /efs still has everything in it and intact after installing/wiping several times thanks to it.

EDIT: Great, I just blew up my /efs partition (fortunately I have backups, and maybe I can fix it if I can CM working), so that kinda stinks, especially since it now seems to be formatted to yaffs. I suppose that I can extract the files and push them it I absolutely have to, but I just hope I can get the initial version booting at this point.

EDIT: FINALLY booting, (apparently some partitions were NOT converted to mtd/yaffs, I had to do them manually, as the kernel simply force-mounts them and shows than as yaffs, making it VERY confusing. Now that this works, it's time to flash my modded CM build!

EDIT: What's awesome is that GB kernels actually start ADB, so you can run adb commands (although not shell, as they can't find /system of course), which gives me a stopgap lifeline to recovery, as I can set the flag in GB recovery (even if bootlooping), kick out the battery and flash the CM9 kernel.
[Samsung Galaxy Player 4.0, 5.0] Neodymium:
So what about bugs?
[Samsung Galaxy Player 4.0, 5.0] fromnowon:
Sorry for replying so late...

You can try this link:http://www.mediafire.com/?g3x87on7cah16uk
[Samsung Galaxy Player 4.0, 5.0] error01671:
Sorry I didn't say clearly,so I catch a picture to show you what happened!

First,I flash cm9 kernel.(Because the GB kernel won't let me flash this zip)I flashed the zip first time and it converting to mtd. After converted to mtd,I hit "reboot". It automatic boot into recovery.

And then I flashed the zip second time,I got this error. I tried many times and re-download this zip,I always got this error!

So,what happened to this error. Please tell me! Thanks!
[Samsung Galaxy Player 4.0, 5.0] fromnowon:
If you are still stuck at this, just follow those steps below:

A, Flash a custom kernel(like TerraSilent) and do a full wipe

B,Apply the cm9 zip and reboot. It should be STUCK at TerraSilent logo. Now please press volume- + home + power button to enter Download mod

C,Flash cm9_kernel.tar and reboot. You'll hopefully get cm9.;)

And if you run into some strange errors you can try reflashing 2.2.1 rom then do those steps again.

BTW: I have a question that efs seems to be formatted to yaff2 partition. But files in efs are disappeared :confused:

That just likes what cm7 had done before...
[Samsung Galaxy Player 4.0, 5.0] error01671:
I tried the steps twice and reflashing 2.2.1 but still got error! Is the zip size"139111 KB" is correct? And what's wrong with this situation?
[Samsung Galaxy Player 4.0, 5.0] Neodymium:
If we could get successful recovery it can be helpful for 3.0 kernel port cause I stucked at recovery, too. So, Let's work hard
[Samsung Galaxy Player 4.0, 5.0] theraf:
am i the only one who is getting cwm 3 (as opposed to 5) recovery with the ics kernel?
[Samsung Galaxy Player 4.0, 5.0] zaclimon:
Yes, its because the CWM packed into the kernel is CWM 3
[Samsung Galaxy Player 4.0, 5.0] oisis:
I see only one row that is interesting, this red one. I'm not sure that is GPU drivers problem. Rest rows has I/ - information at the beginning, this red one has F/ - is fatal so that is why rest can died. libc is one of the most important libs in system. There should be few rows up errors that make libc died. Attach full logcat then will try to tell you what is the problem.
[Samsung Galaxy Player 4.0, 5.0] iJimaniac:
HAHA, YOU GUYS HAVE ALL THE FUN! I go camping for three days, and come back to see booting ics on the 4.0! Good job!

Forgive me for not wanting to dig through the last ten pages, but what kernal is it using? 3.x or 2.x?

Sent using Tapatalk
[Samsung Galaxy Player 4.0, 5.0] ChaosChris:
2.x

Gesendet von meinem Nexus S mit Tapatalk 2
[Samsung Galaxy Player 4.0, 5.0] oisis:
This fatal error is probably because cflags were wrong, will try to set up BoardConfig.mk and build new release soon. If we will fix this error ROM should be more stable and less FC. Here you have YP-G1 BoardConfig.mk and here cflags:
[Samsung Galaxy Player 4.0, 5.0] zaclimon:
I saw a simmilar error for the xoom here: http://xdaforums.com/showthread.php?t=1346657&page=3

But what these cflags do to the device?
[Samsung Galaxy Player 4.0, 5.0] oisis:
This flags are needed for compiler, they tells how to compile code, what to include to compilation etc.
[Samsung Galaxy Player 4.0, 5.0] hanthesolo:
Alright then, I will wait for your updated build before I continue my post-compilation troubleshooting. I haven't tested it yet, but does nayone know if bluetooth/gps/fm/other is working? I haven't had time, and a quick patch should be all that is needed for some.

Am I the only one with this currently flashed to their device, because if I am I will step up looking for bugs and whatnot, as I have been basically waiting/helping Oisis, and expecting his new build.
[Samsung Galaxy Player 4.0, 5.0] zaclimon:
Bt don't work, I didin't test GPS and for FM radio, we need to add the support in the boardconfig.mk.
[Samsung Galaxy Player 4.0, 5.0] hanthesolo:
Alright, I have updated the OP with the backstory and progress of our motley crew, with a bit of extreme boredom thrown in ;).

Oisis, when will you be able to build again, and what is the situation with the kernel. People keep avoiding that question it seems :).
[Samsung Galaxy Player 4.0, 5.0] zaclimon:
LOL at your story:angel:. Just for people wondering on how to have usb mount storage. Adb install this app, it was used in the first days of ICS porting :p (That sure brings old memories for me:crying:):

http://xdaforums.com/showthread.php?t=1389375
[Samsung Galaxy Player 4.0, 5.0] hanthesolo:
Alright, I will update the OP with your app.

I'm glad you liked my story, I have always been good at writing...stuff. My mind just wanders sometimes, and then i'll just start making up a story about a random object, like how it got there, what may have occurred around it, etc.

Anyway, if Oisis doesn't release an udpated build tomorrow, I will put up mine, with fixed SU (it was broken), and my (bad) attempts at fixing OpenGL. I can fix the camera I think, but I need GL not to crash on the camera preview before I can work on it.

EDIT: GPS if CONFIRMED as working, I just tested it, and it seems to actually work better than GB, which is a nice perk.
[Samsung Galaxy Player 4.0, 5.0] iJimaniac:
That's good! Do you know if deep sleep is working? That was the biggest issue with cm7.

Sent using Tapatalk
[Samsung Galaxy Player 4.0, 5.0] zaclimon:
Nope because it's the same kernel as tdm's first MTD CM7 I think. Also it's not in the top priority for now.
[Samsung Galaxy Player 4.0, 5.0] oisis:
Yesterday have no time for Android. Will take care today but there is a lot things to check in config files so it will take some time. At weekend I will be busy, later on I will start my 3 weeks holidays but will have computer with me and will be working on Android for you.
[Samsung Galaxy Player 4.0, 5.0] Neodymium:
I think he disabled it in kernel
[Samsung Galaxy Player 4.0, 5.0] ChaosChris:
Yes becouse it crashed the device
[Samsung Galaxy Player 4.0, 5.0] theraf:
he disabled deep sleep in the build.prop because an error in the kernel made the player turn off instead of going into deep sleep.
[Samsung Galaxy Player 4.0, 5.0] theraf:
i know it's a pretty unimportant thing, but to avoid us having to flash a new rom everytime you fix a bug, could you maybe implement the ota update center app? here's the link http://xdaforums.com/showthread.php?p=29501085
[Samsung Galaxy Player 4.0, 5.0] oisis:
Here is full spec of YP-G1 i think will be nice to have this info or link on first page :).
[Samsung Galaxy Player 4.0, 5.0] theraf:
external sd isn't picked up, tried adding these lines to build.prop but no joy:

# Mount the internal SD card, too

ro.additionalmounts=/mnt/sdcard/external_sd

# Allow people to exchange sdcard and emmc mountpoints from CMParts

ro.vold.switchablepair=/mnt/sdcard,/mnt/sdcard/external_sd
[Samsung Galaxy Player 4.0, 5.0] oisis:
You have to add some option to build process so is not so easy.
[Samsung Galaxy Player 4.0, 5.0] Tcollins412:
Do you need any more files for the kernel?
[Samsung Galaxy Player 4.0, 5.0] oisis:
No thanks, will need kernel testers soon :).
[Samsung Galaxy Player 4.0, 5.0] ChaosChris:
I can test :)

Gesendet von meinem Nexus S mit Tapatalk 2
[Samsung Galaxy Player 4.0, 5.0] hanthesolo:
So will I, of course :D. Will WebKit be an easy fix, or will it require some work? Once we get the build options fixed (which you said you did), and WebKit, we should have something that will work as a daily driver.
[Samsung Galaxy Player 4.0, 5.0] oisis:
Need some info, output from this commands:

Thanks.
[Samsung Galaxy Player 4.0, 5.0] hanthesolo:
Okay, here's the output:

aclset keypad ppp switch

backlight lcd pvr timed_output

bdi lightsensor regulator touch

block magnetic rfkill tty

bluetooth mdnieset_outdoor rtc usb_composite

firmware mdnieset_ui scsi_device vc

gpio mem scsi_disk vibetonz

graphics misc scsi_generic video4linux

i2c-adapter mmc_host scsi_host vtconsole

i2c-dev mtd sec

input net sound

jack power_supply spi_master

As you can see, android_usb doesn't even exist, so I cannot post the output (this probably why usb MTP doesn't work).
[Samsung Galaxy Player 4.0, 5.0] oisis:
This output is form GingerBread or from ICS? If ICS could somebody post from GB?

PS: I got zImage and modules - new kernel but don't know what next, it is my first kernel for YP-G1/i9000 so if you know what to do tell me will be faster if not just give me some time. Attached kernel and modules(it is not for installation, needs next few steps to have installable kernel).
[Samsung Galaxy Player 4.0, 5.0] Neodymium:
About camera, our camera model name is ISX005 and other devices which have this, I found Optimus Chat.
[Samsung Galaxy Player 4.0, 5.0] oisis:
Leave camera for later, i don't even think about it now. First stable working rom then addons :). Now we needs working kernel, recovery etc.
[Samsung Galaxy Player 4.0, 5.0] hanthesolo:
This was from ICS (I can get GB if you really want it), sorry about that. I don't know about kernel compilation, but I'm sure zaclimon can finish the process for you. What's different about this kernel as opposed to the one initially released with cm9?
[Samsung Galaxy Player 4.0, 5.0] EcHoFiiVe:
I was reading your OP and thought it to be creative and funny. I was looking at the issues and realized the webkit problem. CM9s newer code is incompatible with the players. So we haven't really been able to upgrade to AOKP build 40. Try using an older cyanogenmod base rom instead and that will most likely fix the webkit error. Also, any other app that uses the webkit will crash too. The only browsing app that doesn't use it is Firefox. Also, supermaster34 says he might have a fix for the webkit. Sorry if its irrevelent. Just want to help.
[Samsung Galaxy Player 4.0, 5.0] oisis:
Yeah, i'm waiting for his move, this kernel is the only test. If this kernel works then we need to modify recovery scripts and we will have working recovery and kernel for ICS.

Different is only that this driver QT602240 is built in to the kernel, kernel version, moded initramfs scripts, added CIFS support. That is all for now.

Ok, to be continue. Good luck.

EDIT:

Needed links:

- ics-ramdisk

- buildscript

- Kernel_Files

- initramfs_yp-g1

This links will be helpful to build bootable kernel for YP-G1, just collecting here as a note for me and others, later on will make HOW-TO build and pack custom kernel for YP-G1.

I need infos:

1. Do you need i9000 script to covert partition table to MTD? If yes, link to this script please, Thanks.

2. Confirmation that your MTD partition table is exactly the same as i9000, have to be sure for 100%. Thanks.

Do you have WiKi page for YP-G1? Like i9000? Will be nice to have something like that.
[Samsung Galaxy Player 4.0, 5.0] Neodymium:
Problem is these:

1. Recovery using Galaxy S i9000's ramdisk doesn't boot. (I did it with semaphore's one, and I don't know why. I'll check log and fix it)

2. Galaxy Player doesn't have bml12 which is modem.bin

3. It could be a tiny problem but, galaxy player's system is mtd@factoryfs and galaxy's is mtd@system in init.
[Samsung Galaxy Player 4.0, 5.0] zaclimon:
We'll modify the ramdisk from I9000 or use the ramdisk from P1000. Is it possible to change mtd@factoryfs to mts@system?
[Samsung Galaxy Player 4.0, 5.0] Neodymium:
It could be easy but I don't mtd a lot. I looked at the flash scripts but I couldn't find any words like mtd@xxxx. Maybe there will be some other secrets.

And for the ramdisk, I didn't think about p1000 lol
[Samsung Galaxy Player 4.0, 5.0] oisis:
Just take my kernel, modules, all init scripts, recovery from i9000 and it should works. Didn't have time to make installable kernel today, will try later, after work. It should works, why? Because you have the same partition table, the same hardware(almost), kernel will be for YP-G1 so will have all needed drivers and it is all you need. Cannot test it by myself but i have good feeling :).
[Samsung Galaxy Player 4.0, 5.0] zaclimon:
The problem isn't the kernel, modules or recovery. The problem is the init scripts we need to modify. I did it and when I flashed it, I got infinite bootloops. :eek: I will see if it's better with the P1000 for the moment.
[Samsung Galaxy Player 4.0, 5.0] oisis:
Do you have logs from installation process?
[Samsung Galaxy Player 4.0, 5.0] zaclimon:
Nope
[Samsung Galaxy Player 4.0, 5.0] oisis:
Where can i get stoc rom? Need files from /system. Can somebody give me link to stock ROM that i can extract the file or compress and upload somewhere /system directory? There is no private data. And one more thing, need files from / directory like init.rc, init.*.rc - all init files.
[Samsung Galaxy Player 4.0, 5.0] heat361:
Here you are http://xdaforums.com/showthread.php?t=1531850&highlight=stock+recovery
[Samsung Galaxy Player 4.0, 5.0] hanthesolo:
Good luck Oisis, I am waiting for a new build to continue helping with....whatever comes up. As you requested, I made a (rough) wiki page, PLEASE help me revise and improve it anyone who cares, as I am not able to maintain it full-time, and may not have all the info it needs: http://xdaforums.com/wiki/YP-G1
[Samsung Galaxy Player 4.0, 5.0] zaclimon:
Is it possible to modify the wiki name? (at the top to put Samsung galaxy player/s wifi instead of yp-g1)?
[Samsung Galaxy Player 4.0, 5.0] oisis:
Could you add link to first page, thanks. Today i was last day in work so now i will have long holidays but will try to work on Android. First i'm studying recovery and kernel things. I think, now is the most important to have those two thing works.
[Samsung Galaxy Player 4.0, 5.0] hanthesolo:
Alright, so I am finally trying to get compiling set up right on my athlon, what's the link to the github (tdmcode, right?) we are pulling from?

Also, can someone PLEASE tell me what the heck tolchains are used for? I have seen references to them, but nothing ever actually explains WHAT they do...

EDIT: Now that we are actively developing CM9, perhaps we should make our own repo? It would be easier to fix stuff, and we would have easier access to it. Maybe you, OIsis? I would, but considering that I have never setup a hithub repo, and have no idea how to efficiently use it, I would probably just slow us down (as of right now, my weekend project is to get compiling working, and to familiarize myself with github. Yes, i'm ashamed to admit it, but I have somehow managed to get this far into the linux comunity without having to compile anything larger than a basic program using a guide (I have gone a LONG way since then, the guide is no longer needed :D). Kiidng aside, I hope that I can help by FINALLY getting the ball rolling on the last part of linux I have to learn.
[Samsung Galaxy Player 4.0, 5.0] zaclimon:
A toolchain is a collection of tools needed for building kernels or operating systems. You have generally a compiler, and a debugger (for errors). Here's the link if you want to see some further definition:

http://en.wikipedia.org/wiki/GNU_toolchain
[Samsung Galaxy Player 4.0, 5.0] hanthesolo:
Alright thanks, I never was able to get a full explanation about them before.
[Samsung Galaxy Player 4.0, 5.0] zaclimon:
Yea we can make our own repo but before we will get actually something changed before we set one up.
[Samsung Galaxy Player 4.0, 5.0] klin1344:
tdm's repos are here: https://github.com/tdm

You should fork his repos and then clone them. Then when you make commits you push them to your repository. Or you guys could set up an organization account where all team members can push commits to.

Just take note that compiling CM for the first time will take a REALLY LONG TIME. I did a fresh install of Ubuntu and then compiled CM10 for the One S today on my Athlon II X3 with 4gigs RAM. It took about 3 hours and the CPU was overheating...
[Samsung Galaxy Player 4.0, 5.0] Neodymium:
So, after first compilation, does it take only shot time? Like kernel compiation?
[Samsung Galaxy Player 4.0, 5.0] zaclimon:
3 hours only :eek:. me with CM9 it's at least 5 hours, but how many thread you use at a time? And for the orginization account, didin't we need to pay for it?
[Samsung Galaxy Player 4.0, 5.0] klin1344:
Yes because it only compiles changed files. Unless you do a make clobber which cleans the entire build directory.

Since I have a triple core, I use -j4. I'm not completely sure about the github organization account, but I think tdmcode had created one named davignola a while ago that was supposed to be for all versions of the galaxy players. You could ask him if it was free.
[Samsung Galaxy Player 4.0, 5.0] zaclimon:
Damn no wonder your CPU was overheating. I just checked github and it's free to make one (now I just need to know if I should convert my account or make a new organisation within the account.)
[Samsung Galaxy Player 4.0, 5.0] oisis:
You will have toolchain when you will download CM sources, will have to set up only paths to it. We need only one account on github and we can share login and password. Use any CM9 howto compilation guide for Ubuntu. Best to have x86_64 arch. I have Kubuntu 12.04 x86_64 and everything works fine. Will create local_manifest.xml later to easier make repo sync.
[Samsung Galaxy Player 4.0, 5.0] hanthesolo:
Thanks, that was pretty helpful :). I am running a turion 64 x2(64 bit & dual-core...I think +2gb of RAM (timed at like 1200 or something), so it will be interesting to see how long compilation takes.

EDIT: so after I init the CM9 vanilla repo, I need to clone tdm's source over it? Geez, who knew compiling would be so confusing...

EDIT: since we are having problems with boardconfig.mk, can't we just grab the one from the SGS CM9 source, and use that instead?
[Samsung Galaxy Player 4.0, 5.0] zaclimon:
Which problem do we have with boardconfig.mk? The cflags? We can just wait for oisis to change it and to post them in the repo. And did you made your github account?
[Samsung Galaxy Player 4.0, 5.0] hanthesolo:
Yeah the cflags, but I thought that using the boardconfig.mk from the SGS or at least it's cflags would he optimal. We have all this rebuilt stuff, why not use it?

I will make a github and sync to it, but I need to actually setup my build environment first (cloning cm9 vanilla as we speak). Can someone please tell me if I'm doing this correctly? All I need to do after cloning the vanilla source is clone/sync tdmcode's repo over it, right?
[Samsung Galaxy Player 4.0, 5.0] zaclimon:
I don't know. I would need to check it. And the organisation github is ready now, we just need for you to make your account and add you as admin. I will push the kernel repo for the moment soo... Here's the link:

https://github.com/teamsupernova
[Samsung Galaxy Player 4.0, 5.0] hanthesolo:
Alright I have created a github account, and I am hanthesolo (of course). Who;s going to upload the tdm CM9 source to the repo? I only have .4 mbps upload, so provided that the whole source is ~4GB or more, it would take days for me to get it all uploaded. I personally think we should perform a full upload, as that will make it easier for us in the long run (and new devs/users) to get things working (unless that violates something under the GPL I don't know about).
[Samsung Galaxy Player 4.0, 5.0] zaclimon:
Wait we won't upload the whole CM9 source, we will just upload the tdm's source which is approx 16MB.

Edit: the link is github.com/teamsupernovaSGP