yashsingh1/xdaforums huggingface dataset:
[Samsung Galaxy Player 4.0, 5.0] eSildur:
@ zaclimon:

I had to 7zip it, I hope it won't be a problem:

factoryfs.7z

As far as I recall, I followed this list. I also deleted on my own whim some files that looked like stock Samsung apps I never used, mostly hubs... and Kies Air ^^;

@ Mars11_:

Update about using UnLock Root:

It works for me with current version on Win7 as well - I just unrooted my YP-GS1 and rooted it back again. That's how it looked for me, step-by-step:

- install Kies to have drivers (I have non-updated v. 2.3.1.12044_18)

- turn device on, set USB mode on multimedia (unnecessary, it seems)

- read that UnLock needs USB debugging enabled, enable USB debugging

- check USB mode again and be surprised it's in debug mode. feel dumb

- plug device in, wait for drivers to kick in

- run UnLock Root, tell it to stop scripts after page script error shows up

- press "Root" and wait for it to work it's magic

- wait

- wait a bit longer (it took 5-10 minutes on i5 CPU). It will ask you to reboot the deice when it's done
[Samsung Galaxy Player 4.0, 5.0] zaclimon:
Well the thing is this things is for 2.1 STOCK android (not even 2.3) so it will be hard to find which apps I should take. Did you removed any apps that not looked like samsung apps (like phone.apk for example)

EDIT: I rooted the rom I just need to make a flashable img for heimdall/odin but I can't send it right now.
[Samsung Galaxy Player 4.0, 5.0] Rayn16120:
Bricked my galaxy S Wifi

Hi !

I was trying to make a custom kernel for our GS1, but I failed and my galaxy is now broken. I have the following message :

"Firmware upgrade encountered an issue. Please select recovery mode in Kies & try again".

So, how can I restore it default ?

I tried Kies of course, but it cannot connect to the GS1.

I tried to flash zImage given in previous message (by compressing it in tar archive) but Odin stuck at SetupConnection.. I'm a little bit scared and disappointed 'cause I took config.gz directly from the GS1, so I don't understand why it doesn't work.

When will your odin package ready ? Hope soon ;)

Thanks in advance for your help.

==EDIT==

I've realised I missed the pit file, I used one given with ODIN, and it worked, I mean my kernel was flashed. I cannot flash default zImage (given previously) anymore, and I've got a yellow triangle :/ I don't know this thing, I'll try Kies.
[Samsung Galaxy Player 4.0, 5.0] zaclimon:
Well I don't know if it's a kernel image and you can't flash kernel with kies. You can try to revert it to normal. Also when you will try to restore using kies. Follow this tutorial in order to have the firmware of YP-GS1 please:

http://xdaforums.com/showthread.php?t=1170416

Or this one:

http://xdaforums.com/showthread.php?t=1474632
[Samsung Galaxy Player 4.0, 5.0] Rayn16120:
I know that kies cannot flash kernels but i did it with Odin.

The zImage given by eSildur isn't a stock kernel ?

I'll search into the kernel modules if forgot a kies module or something like.

But I've a problem because Kies wont recognize my GS1... For now I cannot restore it but I can put it in download mode..
[Samsung Galaxy Player 4.0, 5.0] hundz:
Someone already posted a link to a prerooted rom in this thread

It works great for my yp-gs1 (germany)

As he said its english and korean but for me it doesnt matter for a mp3 player.
[Samsung Galaxy Player 4.0, 5.0] Rayn16120:
Thx, I'll try it.

== EDIT ==

I realised that the yellow triangle doesn't block booting anymore, so I know that it's my custom kernels which is failing.. I'll goggle it. (And trying to put old kernel)
[Samsung Galaxy Player 4.0, 5.0] zaclimon:
Thanks I will take the apk's missing to the esildur's rom and resend it so it should have all the languages.

EDIT: the files contains the kernel too so I can make a custom kernel out of it.
[Samsung Galaxy Player 4.0, 5.0] Rayn16120:
Can U tell me how to flash the kernel from the files ?

I've tried some things, but I still have a boot loop... And I don't know what to do with the files given by hundz..

And if you sucess at compiling a good kernel, tell me how :P
[Samsung Galaxy Player 4.0, 5.0] hundz:
I extracted the file which is inside the .7z archive and flashed it with odin.

It failed for the first time (and i got a short shock :p) but luckily succeeded after i tried again.

So nothing really complicated.
[Samsung Galaxy Player 4.0, 5.0] zaclimon:
You can flash using odin or heimdall. You can download odin on the link below

Odin:

If you want to flash with odin: Install samsung drivers using kies or the .exe drivers

Then open odin and in the PDA section take the kernel. (.tar file)

Before flashing check that the device is recognized (COM8 for example)

Flash.

Then try to enter recovery: normally it is vol+ with home button.

Heimdall:

First you will need a .pit file (it's a must for heimdall)

Go here and follow instructions 1-4: (for US. You will need to be in download mode. The computer with a ! sign is good too)

http://xdaforums.com/showthread.php?t=1531850

Then go in utilities section in heimdall and download the .pit file.

After this go to flash section, select the .pit file, go to add, select kernel and pick the kernel I will send (normalboot.img)

Verify that the device is recognized and flash

If it don't work, remove the battery and try again.
[Samsung Galaxy Player 4.0, 5.0] Rayn16120:
It doesn't flash for me.. For now I just can flash my kernels but they boot loop..
[Samsung Galaxy Player 4.0, 5.0] hundz:
Did you put your gs1 into download mode before flashing? (home button + vol- while starting)
[Samsung Galaxy Player 4.0, 5.0] Rayn16120:
Yes I did it, and that is the only thing I can do :/
[Samsung Galaxy Player 4.0, 5.0] zaclimon:
Oh well... You can always flash the stock one. (I'm not really good in kernels.) I will ask help from other people.

EDIT: If someone want to unpack/repack the kernel here it is: http://www.mediafire.com/?1pfn82651642f16
[Samsung Galaxy Player 4.0, 5.0] Rayn16120:
Where can I find it ?

==EDIT==

Sorry, didn't saw your PM

==EDIT2==

It still doesn't work.. I'm a little bit scared now.
[Samsung Galaxy Player 4.0, 5.0] zaclimon:
It would be easier if we could have a device to test with.
[Samsung Galaxy Player 4.0, 5.0] hundz:
Could you explain how exactly you tried to flash the prerooted rom?

Its strange because i had the exact same situation after my first flash failed (i could only access the download mode) but after a second try everything worked without any problems.
[Samsung Galaxy Player 4.0, 5.0] Rayn16120:
- First I remove the battery

- Put the battery, booting in Download mode (holding Vol -, Home, and Power)

- Launching ODIN

- Plug my device

- Choosing the tar archive

- Click on Start and it fails :

== EDIT ==

I give U my kernel that I can flash, but

DONT FLASH IT BECAUSE IT BOOT LOOP

! And if you want to flash it i'm not responsble of any damages on your devices ;).
[Samsung Galaxy Player 4.0, 5.0] hundz:
Okay I did the same steps in the same order as you did and it worked flawless. :confused:

Sorry for not being able to help you.

Probably you just forgot to install the device drivers.
[Samsung Galaxy Player 4.0, 5.0] Rayn16120:
I just reinstalled it.. Hope it is not hard broken :/

That's strange, because I just followed the instructions given by samsung :/

Thank you for trying to help me :)
[Samsung Galaxy Player 4.0, 5.0] zaclimon:
Try to use heimdall instead of odin.
[Samsung Galaxy Player 4.0, 5.0] Rayn16120:
Which pit file ?
[Samsung Galaxy Player 4.0, 5.0] zaclimon:
Did you downloaded the pit file with heimdall?
[Samsung Galaxy Player 4.0, 5.0] Rayn16120:
From where ? I'm sorry I downloaded Heimdall from a github ('cause main website is down (?) ) and I've no pit file

EDIT :

Understood. I cannot get it from Heimdall 'cause it cannot communicate...
[Samsung Galaxy Player 4.0, 5.0] zaclimon:
Oh hmm follow the instructions in the recovery thread and then try to download your pit file.
[Samsung Galaxy Player 4.0, 5.0] Rayn16120:
I edited my previous post. I've an error.. Looks bad..

Bed time for me, i'm tired.. Hope you can find a solution soon :/

Thanks for helping, I'll be back tomorrow.
[Samsung Galaxy Player 4.0, 5.0] Rayn16120:
Hi guys,

I got new.. I tried to make a kernel with your initramfs and I don't have boot loop anymore, but now i get stuck at yellow triangle. I think I am missing something stupid or obvious but what ? An indication : if I connect the device to an USB charging adaptater, I get just an "progression wheel" which stuck..

That is why I think I am missing some files.

==EDIT==

According to this post : http://xdaforums.com/showpost.php?p=24567423&postcount=3 i think I need an initramfs.

==EDIT2==

I can access recovery now, but still no boot :(

And I can't even flash any of your files.
[Samsung Galaxy Player 4.0, 5.0] ampinto:
Thanks for all your great support zaclimon,

After waiting a longtime for a rooted rom image, I flash yesterday the prerooted rom you mention.

Everything goes ok and I can verify that my YP-GS1 is noow ROOTED!

But....Something is missing, in settings -> Wireless & networks the option USB as disappears!

Can You have an idea to fix this, or revert to the old room (I don´t have it).

When I plug the YP-GS1 to my PC, it is no longer recognise and I can´t transfer files to or from it.

I have a EU model now with GINGERBREAD KRLD1.

Thanks in advance for all you can do.

Edit:

After a Factory Reset (Lost all program & data) the Yp-GS1 is now recognised as a memory device by PC when I plug it, but the option USB in Settings is still not there (no matter I can now exchange files), I will try later if it works connecting to Kies.
[Samsung Galaxy Player 4.0, 5.0] zaclimon:
Well I don't just give up yet. As the korean just have english and korean I tried to add the missing apps to esildur's dump and I finished the rom. It should be rooted here's the rom:

Extract the file and flash it using heimdall or make a tar and flash it using odin.

Link: http://www.mediafire.com/?a42iqa0r4xumbbb

---------- Post added at 08:38 PM ---------- Previous post was at 08:32 PM ----------

The USB can be in another sub-setting.

---------- Post added at 08:48 PM ---------- Previous post was at 08:38 PM ----------

Which recovery? If it's CWM go to the advanced section and select show log and write what is wrote.
[Samsung Galaxy Player 4.0, 5.0] ampinto:
Hi zaclimon,

No, the USB option disappear, I checked all the sub-setting and nothing...:-(

Zaclimon I want to try your new rom, please apart the fact that it´s rooted is there another functionality?

What is the official version rom she is based in?

Regards
[Samsung Galaxy Player 4.0, 5.0] dominikk:
is it possible to download a (valid) pit file from one device and flash it on another one?

if it is - could someone provide a pit file, please?

thanks a lot
[Samsung Galaxy Player 4.0, 5.0] hundz:
The USB option is missing here too but i can connect it with kies after enabling USB debugging and after disabling it, it gets automatically detected as a mass storage. This music option is missing but personally i have never used it before, not even on my other androids.

Another problem with the rom is that a specific app keeps disappearing and i have to install it again, not even sure if its rom-related though.
[Samsung Galaxy Player 4.0, 5.0] eSildur:
In WiFi 3.6 USB Settings are quite peculiarly located in "Wireless and networks" so it's easy to overlook them.

Thank you! =)
[Samsung Galaxy Player 4.0, 5.0] Rayn16120:
Thx for Ur answer.

That is stock recovery, so I can do nothing... Maybe if I put CWM recovery in initramfs I can access to it ?

I don't know what to do, and I fear that my device is totally broken.. Do U know any method to restore it ?

Are there any stock ROM ? Can't U make a backup of yours and send it to me ?

If not, I'll try to get back my device to the store, but can they see flash count ?

Is my garanty safe ? I don't think so..
[Samsung Galaxy Player 4.0, 5.0] ampinto:
I flash the tar file with Odin...Everythings goes ok...but After restart, I stuk on startup animation loop !:(

any idea?

Back to the prerooted tar.
[Samsung Galaxy Player 4.0, 5.0] zaclimon:
Well I can't be sure because I can't test it myself. You can try an adb logcat and send the text to me to see what's not working.
[Samsung Galaxy Player 4.0, 5.0] Rayn16120:
Hi,

Some news. I will not give up too, because I got some "good" results. I put my kernel ('cause the other don't flash :confused:) with the factoryfs and the cache from the prerooted rom. It flashed, and my phone reboots into recovery mode, but it throws an error like (I cannot remember it correctly) :

and then :

I read this thread and I realised that I don't use the 'GB' kernel but the 'WW' from opensource.samsung . I'll try to compile the GB kernel, with your own initramfs, and with factoryfs and cache.img from the prerooted rom before takin' back my device to the seller.
[Samsung Galaxy Player 4.0, 5.0] Rayn16120:
Hi.

This kernel doesn't flash. I fall back with mine wich flash, with stock factoryfs and stock cache. I can access both download and recovery mode. When I'm in recovery mode, I can use adb, and if it can helps you (and me), I can give kernel/boot log..
[Samsung Galaxy Player 4.0, 5.0] zaclimon:
hmm I need logcat but I can see what boot log gives. Also you can build a samsung rom using the AOSP to compile.
[Samsung Galaxy Player 4.0, 5.0] Rayn16120:
Here are logs. There are 3 main kernel crashes, I'll take a look if a module is missing.

I've already think about AOSP but I don't know which section choose in Odin. Does the AOSP give /system folder (it's missing on my device..) ?

Looks like my device is totally empty, like no softwares instead of kernel/initramfs/factoryfs/cache are installed.. Is it possible ?
[Samsung Galaxy Player 4.0, 5.0] zaclimon:
/system is factoryfs but it is supposed to give a .img file. (on PDA section)
[Samsung Galaxy Player 4.0, 5.0] Rayn16120:
I'll try to build it. So it contains all the needed packages/binaries to set up a system ? I flash my kernel + the factoryfs I build, and it is supposed to work ?
[Samsung Galaxy Player 4.0, 5.0] zaclimon:
It should give you the factoryfs but do you know how to compile android?
[Samsung Galaxy Player 4.0, 5.0] Rayn16120:
I took a look on the AOSP page and tried to compile it with the files given by samsung opensource but it seems like my ubuntu 12 is too recent.. If ypu compile it from source witj samsung file you are welcome to send me this file ;)

Thx for your help
[Samsung Galaxy Player 4.0, 5.0] Rayn16120:
No good news :(..

I compiled AOSP, get 3 files : system.img, ramdisk.img, userdata.img. But I cannot falsh anyone of these file... Don't know what to do again..
[Samsung Galaxy Player 4.0, 5.0] Mevordel:
Rename system.img to factoryfs.rfs, and put it in a tar. Then Odin should be able to flash it.

Sent from my 5.0 USA GenGin + ICS theme
[Samsung Galaxy Player 4.0, 5.0] zaclimon:
It should be factoryfs.img and not

.Rfs
[Samsung Galaxy Player 4.0, 5.0] Rayn16120:
Even if I rename it, it doesn't flash..

Should I make my tar under linux too ?
[Samsung Galaxy Player 4.0, 5.0] b4silver:
Can I use this same method to root my player 4.2?
[Samsung Galaxy Player 4.0, 5.0] zaclimon:
Can you send the file please So we can check what's in it.

---------- Post added at 04:18 PM ---------- Previous post was at 04:16 PM ----------

Which method?
[Samsung Galaxy Player 4.0, 5.0] saleenman95:
Maybe if you put it in download mode it will flash? (Home-Vol. Down-Power)
[Samsung Galaxy Player 4.0, 5.0] Rayn16120:
Hi,

Here are my files. I'll try some things but I think my device is definitively bricked...
[Samsung Galaxy Player 4.0, 5.0] Rayn16120:
A

Maybe I forgot to tell an important thing. Maybe not.

I can flash a kernel that I have made by myself from opensource.samsung, I cannot flash other boot.img/normalboot (from zaclimon or prerooted rom). I can additionnaly flash factoryfs.img given at #75. I don't know why but I can't flash cache.img anymore...

And when I turn on my device, I go to the recovery automatically (without key combination).

After the "-- Copying media files..." section I got the following message :

Then, "Media files copy failed." and

All the options of recovery works instead of "apply update from sdcard".

And I can access to ODIN mode by the ket combination. That all I can do..
[Samsung Galaxy Player 4.0, 5.0] Rayn16120:
Nobody can help us (me :/) ?
[Samsung Galaxy Player 4.0, 5.0] hanthesolo:
Okay, I do not have a 3.6, so everything I say is purely theoretical/worked on my 4.0, but here it goes:

To the person who flashed with a .pit and is now bricked:

I have found that when flashing with a pit you MUST have all partitions on the file you are flashing (zimage,factoryfs,data,dbdata, etc.) or else it will not create those partitions. This means that you will be bricked until you get a flashable file that includes ALL partitions, and you flash it with a .pit file. That's my experience, anyway.

For creating a prerooted rom:

I see two possible routes:

1. pull factoryfsto a linux box, mount it in a loop (sudo mount -o loop /dir/to/factoryfs.fileextension /path/to/empty/folder), apply whatever mods/root you want manually, unmount it, then create a tar in linux (assuming you are cded into the factoryfs directory: tar -H ustar -c factoryfs.(img?) >rooted.tar) flash that to your device. You must create the tar under linux, else the permissions are not correct and it will stall halfway through.

2. full the factoryfs to dsidxa kitchen, apply whatever mods you want, root it using their tool, create a SIGNED package (name it update.zip) and flash with stock recovery.

I hope this helps someone :).
[Samsung Galaxy Player 4.0, 5.0] zaclimon:
It can be good, I'll try it tonight. (the 2nd option, I already tried the first one.)
[Samsung Galaxy Player 4.0, 5.0] Rayn16120:
Thank you for your interest :D

I'll try flashing with a pit file (don't really know if this file is correct) and all the files (I assume normalboot, factoryfs, and cache :confused:).

I want to say that I can reach CWM now (through ADB), but it can't format my partitions for now. Maybe I forgot some files ? How to completely install CWM in a kernel/ramdisk ?

Zaclimon, I hope you'll be able to give a (stock) ROM, that will be flasheable on my device ;)
[Samsung Galaxy Player 4.0, 5.0] Rayn16120:
I tried, and it doesn't work. I am sure that my pit files is bad. Can someone provide me a correct pit file for this model ?

Or maybe I can use a pit from the galaxy 4.0 ?
[Samsung Galaxy Player 4.0, 5.0] hanthesolo:
Your pit file is probably okay, but you need to wait for someone to create a FULL partition dump, not just factoryfs and zimage, there are about seven partitions that need to be dumped before you can sucessfully use a pit to restore. For people with a working GP3.6, I believe klin's full recovery guide will work for making a recovery package.
[Samsung Galaxy Player 4.0, 5.0] zaclimon:
Klin's backup method won't work because the partitions aren't the same for the 3.6
[Samsung Galaxy Player 4.0, 5.0] Rayn16120:
Thx. I wait since a long time ;)

Is it possible to create a pit file from fstab ?
[Samsung Galaxy Player 4.0, 5.0] hanthesolo:
That's right, I completely forgot about that *facepalm*.

---------- Post added at 07:12 PM ---------- Previous post was at 07:11 PM ----------

The Gplayer technically does not have an fstab (unless they changed that with the 3.6). You can figure out the partitions to pull by putting in "mount" in the terminal.
[Samsung Galaxy Player 4.0, 5.0] Rayn16120:
I've got some files both in ramdisk or factoryfs with fstab in their name :?

But I need a pit file because I am sure that mine is bad...

I can't remember where I got it and maybe I made a mistake with...
[Samsung Galaxy Player 4.0, 5.0] zaclimon:
Normally you would need heimdall to extract it but hmmm. Did you try the korean rom to restore it?
[Samsung Galaxy Player 4.0, 5.0] Rayn16120:
Yes I tried it, but normalboot doesn't flash.. That's why I compiled my own kernel...

I am missing something, but what ? I know that there are proprietary parts, maybe into the kernel, maybe in a kernel module, but I can't find it. Maybe I need "yas_mag_kernel_driver.ko" (seen in the init.aalto.rc). Maybe I need something else, I don't know.

A pit file would be helpful, I think, because I tried to format my partitions with CWM but it wasn't able to.

== EDIT ==

I made a """"ROM"""" which can run CWM recovery by using "killrecovery.sh script through adb. But it doesn't boot anymore.

So I can access to some parts of my device, here is my output of mount :
[Samsung Galaxy Player 4.0, 5.0] Rayn16120:
We can see that the system partition isn't mounted. That's my problem, I think.

I tried heimdall on my Linux, and I downloaded a pit file. But I don't know if it's better than the other or not. They are different, it's all I know.

Through Heimdall I can flash normalboot.img, but I can't flash cache.img and factoryfs.img... I not sure I use the good method :

1. I put my pit file in Heimdall

2. I add 3 partitions : Kernel, cache and factoryfs.

3. Click on the start button

If I just put Kernel partition, flash runs correctly, but my device still doesn't work. Someone have experienced the same ?

Any solution ? Still waiting for any other stock firmware, or at least a correct pit file.
[Samsung Galaxy Player 4.0, 5.0] Rayn16120:
Nobody ? :(

In my kernel.log I saw this line :

So I flashed the stock factoryfs on partition id 9 using heimdall, I modified recovery.rc (I only boot in recovery mode for now) and my /system partition was here ! But there are just 2 folders in : log and lost+found...

I don't understand. So, maybe I can restore my device with a correct pit file.. Maybe I need unfortunately ALL the stock files...
[Samsung Galaxy Player 4.0, 5.0] zaclimon:
It looks like it's a cache partition because log and lost+found are only in the /cache. Can you try an adb push from recovery?
[Samsung Galaxy Player 4.0, 5.0] Rayn16120:
I can try it, it's a good idea, but what should I push ?

The entire factoryfs ?
[Samsung Galaxy Player 4.0, 5.0] Rayn16120:
I can't push anything because /system is a read-only filesystem. I'll try to change it from .rc files.
[Samsung Galaxy Player 4.0, 5.0] zaclimon:
Let me see your init files after when you done with this.
[Samsung Galaxy Player 4.0, 5.0] Rayn16120:
I made some tests and it appears that my device can only boot in recovery mode for now. Maybe due to the bad partition table...

Here are my rc files. I really need your help to fix my device..
[Samsung Galaxy Player 4.0, 5.0] zaclimon:
Ok I'm on it. I can't gurantee anything and I work on CM7 for the 4.0 too but I'll see what I can do.
[Samsung Galaxy Player 4.0, 5.0] Rayn16120:
Thanks a lot.
[Samsung Galaxy Player 4.0, 5.0] hanthesolo:
This is a placeholder for a special announcement that will be unveiled soon if proceedings go as hoped.
[Samsung Galaxy Player 4.0, 5.0] Rayn16120:
A stock ROM with ALL the files and a pit file :fingers-crossed: ?
[Samsung Galaxy Player 4.0, 5.0] baladev:
I read your special announcement and it was sweet music to my ears! I hope all the stars will be whenever they have to be for you to get the 3.6 and do all those wonderful things with it that you've mentioned! ;)
[Samsung Galaxy Player 4.0, 5.0] hanthesolo:
Well, I changed my post because that fell through, but I still have a treat for 3.6 users which is not as impressive as planned, but you should still be excited about. Coming by the end of this week!
[Samsung Galaxy Player 4.0, 5.0] saleenman95:
I can't wait!
[Samsung Galaxy Player 4.0, 5.0] hanthesolo:
Actually, I need someone to punch in this command in adb: adb pull /system /path/to/empty/folder

Then, I need them to zip and upload that folder. I thought I had the 3.6 system files somewhere, but I guess not.
[Samsung Galaxy Player 4.0, 5.0] baladev:
damn, i can't upload the file, i get "The connection was reset"

but, if you go here -> http://xdaforums.com/showthread.php?t=1763496&page=4

you should be able to download a similar file from the 4th post from the top