yashsingh1/xdaforums huggingface dataset:
[Samsung Galaxy Player 4.0, 5.0] goldflame09:
You copy it from your sdcard onto your computer.

In cwm goto mounts and storage and I think one of the options is to mount sdcard onto computer

Sent from my YP-G1 running ParanoidAndroid v1.6 (ICS)
[Samsung Galaxy Player 4.0, 5.0] the playa!:
I don't have CWM, I have stock recovery... And in the recovery there's the efs problem.
[Samsung Galaxy Player 4.0, 5.0] zaclimon:
Then mount storage when you're into your device and copy it to your computer.
[Samsung Galaxy Player 4.0, 5.0] the playa!:
Basically Just copy/paste right?
[Samsung Galaxy Player 4.0, 5.0] goldflame09:
Yep.

Sent from my YP-G1 running ParanoidAndroid v1.6 (ICS)
[Samsung Galaxy Player 4.0, 5.0] the playa!:
Ok then... Can I get a download link for Adb Shell? OR... Can I execute the comman on Android Commander?
[Samsung Galaxy Player 4.0, 5.0] zaclimon:
I don't understand your request? You want the commands for the adb shell or you want adb?
[Samsung Galaxy Player 4.0, 5.0] the playa!:
Nevermind... I found out that ADB Shell is in the SDK... How do I get ADB Shell running?

EDIT: So I'm on the step where it says to add the .img file... And when I do... there's an error. Take a look at the screenshot that I took. The image is on the dropbox link... What do I do? Do i proceed with the error?

https://www.dropbox.com/s/0r6hghy0gnqytec/Screenshot (25).png?m
[Samsung Galaxy Player 4.0, 5.0] zaclimon:
It's not an error, it's a warning saying that the efs partition is supposed to be with a rfs extension. It will work fine.
[Samsung Galaxy Player 4.0, 5.0] the playa!:
Yeah, and when flashed... Results in a blank screen... Nothing else. -_-
[Samsung Galaxy Player 4.0, 5.0] zaclimon:
What is the blank screen?
[Samsung Galaxy Player 4.0, 5.0] the playa!:
Nothing... The player when it rebooted after the flash was just blank.... It didn't even show the Samsung logo.. Just a black blank screen. There's nothing on it.
[Samsung Galaxy Player 4.0, 5.0] goldflame09:
Is download mode still useable?

Sent from my YP-G1 running ParanoidAndroid v1.6 (ICS)
[Samsung Galaxy Player 4.0, 5.0] the playa!:
Yes.
[Samsung Galaxy Player 4.0, 5.0] goldflame09:
What did you flash the efs with?

Odin?

Heimdall?

Sent from my YP-G1 running ParanoidAndroid v1.6 (ICS)
[Samsung Galaxy Player 4.0, 5.0] zaclimon:
You do know that you've to flash everything with efs included right?
[Samsung Galaxy Player 4.0, 5.0] sga999:
The part of the instructions (see below) about "Special instructions for people coming from CM7" has always confused me. When it says "make a tar with them", shouldn't it say "extract the tar"? Isn't that what -x means?

6. Then in an adb shell and do these manipulations (ensure that when you enter efs you see the files and not another folder in it. Then take all these files and make a .tar with them):

Code:

cd /efs

tar -x -f /sdcard/efs.tar
[Samsung Galaxy Player 4.0, 5.0] the playa!:
What do you mean?

---------- Post added at 11:27 AM ---------- Previous post was at 11:26 AM ----------

Heimdall
[Samsung Galaxy Player 4.0, 5.0] goldflame09:
Zac just to be clarified for my sake. In heimdall can this package be put under the firmware tab or do you have to add the parts together in the flash tab?

Sent from my YP-G1 running ParanoidAndroid v1.6 (ICS)
[Samsung Galaxy Player 4.0, 5.0] zaclimon:
I mean that you'll need to flash the rom with efs in the list.
[Samsung Galaxy Player 4.0, 5.0] zaclimon:
Nope it can't I could try to make one (it would be more easier for you people no? :p) but I would need to see how to create an heimdall package.
[Samsung Galaxy Player 4.0, 5.0] zaclimon:
Yeah sorry, when we were using CM7, efs contents were stored into a folder so you needed to make a tar from efs, i'll modify it.

Thanks for notifying.
[Samsung Galaxy Player 4.0, 5.0] goldflame09:
There is a tab in hiemdall for making one

Sent from my YP-G1 running ParanoidAndroid v1.6 (ICS)
[Samsung Galaxy Player 4.0, 5.0] zaclimon:
NVM please ignore this.
[Samsung Galaxy Player 4.0, 5.0] goldflame09:
lol. im gonna try it on windows now for you

---------- Post added at 12:08 PM ---------- Previous post was at 12:00 PM ----------

what section in the pull down bar does the blank efs go

recovery? cause thats the only one that i dont get an error for
[Samsung Galaxy Player 4.0, 5.0] zaclimon:
It seems that it's working on windows lool. The blank efs is going into efs, you get a warning because efs is normally supposed to be a .rfs file extension.
[Samsung Galaxy Player 4.0, 5.0] goldflame09:
ok

go ahead and tell me what you want in each box
[Samsung Galaxy Player 4.0, 5.0] zaclimon:
Firmware name: G1UEKI8

Firmware version: UEKI8

Platform name (pretty obvious :p)

Platform version (obvious too)

Devlopper name: you decide

Device Info (pretty obvious)

Files to add (the same as the ones you need to flash). When you're done, send it to me, and I'll put it into devhost, Also I'll make the Intl one for 2.2 and 2.3 :p

Thanks for your help!!
[Samsung Galaxy Player 4.0, 5.0] goldflame09:
uploading

link will be in pm inbox

i put both our names as devs

a link to your profile page

a link to your paypal
[Samsung Galaxy Player 4.0, 5.0] zaclimon:
It's not really necessary for both. it's only a restore rom. ;)
[Samsung Galaxy Player 4.0, 5.0] goldflame09:
the option was there so i did it.

whatever :silly:
[Samsung Galaxy Player 4.0, 5.0] zaclimon:
Alright guys so i've uploaded the heimdall package. This way is more easier and less time consuming than taking each partition one by one.

Thanks to goldflame for making the US package.
[Samsung Galaxy Player 4.0, 5.0] goldflame09:
also i can make other versions if you want

edit: also, the hong kong version of this (first link) gets you a 509 dropbox error
[Samsung Galaxy Player 4.0, 5.0] zaclimon:
Oh, I didn't made it yet... I'll make it right now.
[Samsung Galaxy Player 4.0, 5.0] the playa!:
Well, I should have known that from before. -_-
[Samsung Galaxy Player 4.0, 5.0] goldflame09:
at this point, maybe it would just be better off for you to flash the heimdall package file that i made and is now posted in the OP.

it under the section of the us version. it should be easy enough for you to figure out.

BUT, in case it isn't, here are the steps

1. download the file

2. open heimdall

3. on that first tab you click browse for a heimdall package

4. click on the package and wait for it to load

5. put your device in download mode and connect to your computer

6. click load/customize

7. figure it out from there. if you need more help post back in this forum.

hope that helps
[Samsung Galaxy Player 4.0, 5.0] the playa!:
I'll try it out.

EDIT: I loaded the firmware package onto Heimdall and about to flash, but I can't re-partition. Is there a reason to why I can't? And thanks for your guys endless efforts to unbrick my player again and again! :D

Here's the link on where you can find the screen shot I took: https://www.dropbox.com/s/4z4hbdqoscs8b9v/Screenshot (26).png?m

EDIT2: Nevermind the first Edit... Its flashing.. Lets see the results

EDIT3: I GOT EFS BACK! THANKS GUYS! :D

One problem, Odin doesn't recognize my player... how do I fix that? Or rather, how can I flash Terrasilent through Heimdall?
[Samsung Galaxy Player 4.0, 5.0] goldflame09:
Nice to see its up and running.

Just stick with heimdall at this point. Flash the zimage I gave you awhile back

Sent from my YP-G1 running ParanoidAndroid v1.6 (ICS)
[Samsung Galaxy Player 4.0, 5.0] zaclimon:
Nice to see that it's working. :good: As for Odin not flashing, it's mostly because you've installed heimdall drivers.
[Samsung Galaxy Player 4.0, 5.0] the playa!:
Odins working and I flashed terrasilent through the app "sgs kernal flasher"
[Samsung Galaxy Player 4.0, 5.0] sga999:
I've reverted to stock rom from linrom v2. Not sure what was wrong, but performance wasn't good, and since it's not my primary device, I decided to go back. I'm using terrasilent kernel.

Now I'm trying to get my EFS back the way it should be. I have /sdcard/efs.tar that I know has about 15 files in it. It got created when I installed nebula late last year. (Daniel644, I provided you with some of these files from my efs.tar a few months ago).

As per Zac's instructions, I ran "adb shell" on the PC, then cd /efs. Now comes my problem. I'm trying to issue the "tar -x -f /sdcard/efs.tar" command. At first, I got an error because the tar command was not found. Then I googled, and someone said Busybox would give access to more commands. Sure enough, now I can issue the tar command. However, it just displays my command right back to me after I issue it, but it does nothing. If I look in /efs, nothing has changed, i.e. 5 files are there which are not the right ones. But it is not displaying any error.

Can someone tell me how to make this tar command actually put the 15 files that are in /sdcard/efs.tar in /efs? Or maybe using the tar command from Busybox was not the right way to get the right tar command?

Daniel644, I know you have another way to do this by installing Dream Ultra rom. But since I have this efs.tar, I thought I would at least try OP's instructions first. I'll move on to your way if there's no way to make this "tar way" work for me.

Thanks very much.

EDIT: I just prefaced the tar command with busybox. Now all the correct files are in /efs. I don't know if this will "work" in getting my EFS back properly yet, but I just wanted to let you know that there is progress! Should the instructions say anything about installing Busybox and using it before the tar command? Or again, maybe I was supposed to get the tar command some other way, and I would not have had to use Busybox?

EDIT2: The didn't get my efs working, so thanks Daniel644 for your instructions about flashing Dream Ultra rom, etc. Is that the only rom that would cause the lockscreen and power options to come back? Or is that just the one that Daniel tried and it happened to work, so he mentioned that one only? It seems strange that it would be the only way to get this to work.

Should the OP's instructions be updated to include Daniel644's method for recovering the efs?

Finally, I hope someone will still answer my earlier question about the tar command. When I installed the SDK, is it possible that I asked it to install a limited set of commands? I can't remember...that was a while ago. Thanks.
[Samsung Galaxy Player 4.0, 5.0] zaclimon:
Is your efs.tar had files in it? If so, then maybe it wasn't completely restored?
[Samsung Galaxy Player 4.0, 5.0] sga999:
Not quite sure what you're asking. The efs.tar had a "good set" of 15 files (some of them folders). The tar command "worked" in the sense that there were only 6 files in /efs before issuing the tar, but all 15 were in /efs after issuing it. Yet the lockscreen/power option problem still existed after reboot. I don't know what you mean about not "completely restored".,,,the files were there, but that didn't help the problem. It seems like I, Daniel, and several other posts have indicated that they had to do it Daniel's way to get it to work.

Now I have created efs.rfs, so I won't have to go through this in the future.

Any answer on how to get the tar command without having to resort to Busybox? As I said, I may have installed some subset of the SDK, but I don't remember doing that.
[Samsung Galaxy Player 4.0, 5.0] webdroidmt:
I also lost my EFS folder a while back on my SGP 4 US player, finally reconstructed it with the aid of Zac's image file and others posting here, like Daniel644. As for the lockscreen/powermenu issues, when I first restored my device from soft brick and reconstructed the EFS folder, I tried the REDD rom. My home button worked but no lockscreen or powermenu.

Then, I tried Ethereal and with that, it was a Catch-22. If I did a factory reset, I got the lockscreen/powermenu but lost the home button. If I didn't reset, I kept the home button but lost the lockscreen/powermenu. :) I was never able to get both at the same time.

Finally, I installed Dream Ultima rom over Ethereal, doing a complete wipe. When it booted into the OS, I had a lockscreen, powermenu and my home button worked. I decided not to mess around anymore and I'm actually very pleased with the Dream rom. If there's another GB rom out there that gets the same results, I wasn't able to find it. The only other alternative I found, for at least a pseudo power menu, was Quick Reboot from Play Store but I wanted a real power menu.

Right now, my player is running well aside from not having the ability to get into either download mode or recovery with button presses. I've given up on that, as I can always get into download with either my USB jig or the power menu if I'm in the OS. As for recovery, I can only get into it from the OS. I figure as long as I have the jig, I can always somehow restore if something goes wrong.

Btw, I also made an efs.rfs with instructions posted by Klin...just in case. :D

Mike T
[Samsung Galaxy Player 4.0, 5.0] sga999:
Thanks, Mike. Very interesting about what all you went through to finally get where you want to be. I'm just going to stay on stock rom for now, but I'll remember what you finally chose to keep.

This is off topic a bit. Is there any kernel I can install (not rom) that has cwm contained in it that would allow nandroid backups to be stored on the external sd card? Right now I have terrasilent kernel with stock rom, and cwm 5.0.2.7 is there, but it won't allow me to pick, i.e. it always uses the internal sd card. I tried steve's and klin's kernels too, and those cwm's are no better.

If there's no other kernel that has the "right" version of cwm, is there another version of cwm that I can install that will allow me to do this? I mean, can I keep terrasilent kernel, but flash some other cwm that will allow backup to the external sd?
[Samsung Galaxy Player 4.0, 5.0] webdroidmt:
I have not found a way to backup to external SD. I'm also on TerraSilent and that kernel is based on Klin's, both using the same CWM 5. I believe Steve's kernel used a CWM 3, so I guess we're out of luck.

Mike T
[Samsung Galaxy Player 4.0, 5.0] goldflame09:
hey can just flash my efs.tar by putting that in heimdall?
[Samsung Galaxy Player 4.0, 5.0] zaclimon:
No, it will not work because the efs.tar isn't a partition. (it's just a folder with files.)
[Samsung Galaxy Player 4.0, 5.0] goldflame09:
ok but i dont understand this part
[Samsung Galaxy Player 4.0, 5.0] zaclimon:
Ohh, it's because for the intl devices I've not made partitions separatly like the US so they would need to extract the tar and flash the partitions.
[Samsung Galaxy Player 4.0, 5.0] goldflame09:
ok so i can just go ahead and flash the package the way it is?
[Samsung Galaxy Player 4.0, 5.0] zaclimon:
If you mean the heimdall package, well yes you can flash it and then extract your efs.tar.
[Samsung Galaxy Player 4.0, 5.0] goldflame09:
ok well i know that you need efs to not get any bugs but is there any way i can have it boot up and do it using a file manager?
[Samsung Galaxy Player 4.0, 5.0] zaclimon:
Honestly I don't remember trying it but it could work.
[Samsung Galaxy Player 4.0, 5.0] natkingcole:
What do I do with the blank efs image?

My situation is that I don't have a efs backup and the folder is empty. There is no solution for it, I know. But what will flashing the blank efs file actually do?

And a bit offtopic, did I get it right that you cannot flash the new cm9 build without existing efs?
[Samsung Galaxy Player 4.0, 5.0] zaclimon:
Yeah that's basically it. If you don't have a full efs, well it won't install. You can try the pre-flash kernel to see if it can work.
[Samsung Galaxy Player 4.0, 5.0] bbelos:
Using the pre-flash kernel doesn't change the fact that the installer will be looking for efs files. It will still abort.
[Samsung Galaxy Player 4.0, 5.0] zaclimon:
As I don't want to clutter up the other threads, I would like to know if the instructions I've put are clear enough. I'm asking this because of the recent events with a particular user who have difficulties with restoring his device.
[Samsung Galaxy Player 4.0, 5.0] ShawnZ248:
I need some help! Okay so i flashed paranoidandroid beta 2, and was happy with it. Everything worked. So Recently, i seen the new CM9 update, so i decided to try it out! I restored to stock from heimdell, and my lockscreen and the powermenu won't show up like previously stated! I still tried to install the new CM9 just like it said, but i got "installation aborted". I'm pretty sure it's something with my EFS. The thing is I DO HAVE A EFS.TAR in my /sdcard. So what is the problem? can someone help me! thanks
[Samsung Galaxy Player 4.0, 5.0] zaclimon:
2nd post have all your answers. :p
[Samsung Galaxy Player 4.0, 5.0] ShawnZ248:
Yes i read it, but i dont understand "2. In heimdall in the efs section take the .img file that I will include in first page. I will insert it in the restore. (For intl users You must use heimdall for this. To do so, remove the .md5 extension and extract the .tar)" all i have is the EFS.TAR not efs.rfs or anything other than that.
[Samsung Galaxy Player 4.0, 5.0] zaclimon:
Oh ok this part may be a bit hard to understand (I will make it easier to read later). When you restore your device, you need to have efs in RFS. If you don't have an efs.rfs as a backup, you have to use the blank_efs.img as your efs partition to restore. When restored, you either make the commands I wrote or copy the elements from your efs.tar to /efs.
[Samsung Galaxy Player 4.0, 5.0] ShawnZ248:
Alright i got you! Thanks! & do you think this is the problem why the new CM9 wont install?

EDIT: how come when i pull up the blank efs img on the efs partion in heimdel it says that it needs RFS file. Should i ignore that?
[Samsung Galaxy Player 4.0, 5.0] zaclimon:
I do think this is mostly the reason. And what you got is a warning saying that it needs RFS because heimdall expect you to use a efs.rfs file. Don't worry it'll work just fine. ;)
[Samsung Galaxy Player 4.0, 5.0] ShawnZ248:
Thanks for your help Zac! But i had no luck. I tried everything you posted! No luck! I still don't have a lockscreen or powermenu! Any other way to fix it?
[Samsung Galaxy Player 4.0, 5.0] zaclimon:
Has your efs.tar have contents in it?
[Samsung Galaxy Player 4.0, 5.0] ShawnZ248:
Yes Sir!

EDIT: Also what i've noticed is, as soon as i copy all my files from EFS.TAR to /EFS, they show up, and then when i reboot and go to the /EFS folder, nothing is in there!?
[Samsung Galaxy Player 4.0, 5.0] zaclimon:
Is your efs mounted as rfs then? Because it seems that it's not.
[Samsung Galaxy Player 4.0, 5.0] webdroidmt:
I have a US SGP and since we're on the subject of EFS, can someone tell me if one of the files in my EFS folder is correct? I initially "lost" my EFS folder and rebuilt it as explained below. I think I have a full folder, as I get a lockscreen and extended power menu in Dream Ultima stock rom.

The file I'm not sure about is keystringlock.dat, when I open it, it's set at "1"...is that correct, or should it be at "0". The reason I ask is if I am in a stock recovery and try doing a factory reset, it asks for a password. I'm figuring that since I "borrowed" that keystringlock file when I rebuilt EFS, that may be causing the issue.

Also, if I decide to flash CM9, are there any particular files in EFS that the install script looks for, or is it all of them? I have a total of 38 items in my EFS folder ie; 2 folders + 36 files = 38 items. I do have the .nvmac.info, buyer_code.dat and serial.info files edited with my correct info,all of the files are from an Int'l version EFS folder that another member posted here a while back but I only edited the ones mentioned earlier. My apologies for so many questions and I thank you in advance for any helpful response(s).

Thanks,

Mike T
[Samsung Galaxy Player 4.0, 5.0] ShawnZ248:
No, I have no idea how to do that either! Can you help me with it?
[Samsung Galaxy Player 4.0, 5.0] goldflame09:
thats because simply rebooting wont do the trick.

after putting files in there:

boot into terrasilent kernel

wipe data/factory reset

wipe system

reboot into download mode

flash stock factoryfs.rfs

reboot and check
[Samsung Galaxy Player 4.0, 5.0] ShawnZ248:
just tried it, no luck :(

EDIT: Just for another point, i am using Root Explorer, i tried Rom ToolBox lite root browser, but it kept giving me an error, but root explorer copied and pasted perfecly.
[Samsung Galaxy Player 4.0, 5.0] goldflame09:
use es file explorer and in settings of that app under the root section, mount system as writable and then try it
[Samsung Galaxy Player 4.0, 5.0] ShawnZ248:
It says "failed to mount"
[Samsung Galaxy Player 4.0, 5.0] the playa!:
How did you manage to "rebuild" it?

Edit: Looks like I'm not the only one with the EFS problem...
[Samsung Galaxy Player 4.0, 5.0] ShawnZ248:
Yeah Dude! I think i'm having the same exact problem as you...
[Samsung Galaxy Player 4.0, 5.0] the playa!:
Yup, its frikken ANNOYING me now D:

Stopping me from flashing ICS...
[Samsung Galaxy Player 4.0, 5.0] ShawnZ248:
For some weird reason, when i flash Dream Ultima 2.0, my lockscreen and powermenu show up.
[Samsung Galaxy Player 4.0, 5.0] zaclimon:
Okk hmm, could you get back into stock and then when you're into recovery, do you see errors concerning efs?
[Samsung Galaxy Player 4.0, 5.0] ShawnZ248:
Yes cant mount /efs
[Samsung Galaxy Player 4.0, 5.0] zaclimon:
Exactly what I thought. Full flash the stock rom using the blank efs image in the efs section, it should work, if it doesn't, it means that you've messed up something. Came back when you don't have your red efs error anymore.
[Samsung Galaxy Player 4.0, 5.0] the playa!:
For some really ODD reason, the HeimdallRestore isn't unbricking my player...
[Samsung Galaxy Player 4.0, 5.0] zaclimon:
The tar.gz file is just for easing the process of adding the partitions into the flash tab. You still have to check repartition.
[Samsung Galaxy Player 4.0, 5.0] the playa!:
Of course repartition is checked...
[Samsung Galaxy Player 4.0, 5.0] ShawnZ248:
Alrighty, I restored it 2 more times with the blank efs. & now finally the cant mount /efs warning won't come.
[Samsung Galaxy Player 4.0, 5.0] the playa!:
How'd you manage to restore it? Does your lockscreen/power menu come up?
[Samsung Galaxy Player 4.0, 5.0] zaclimon:
OK first step done. Second you need to do the same steps that goldflame and I told you. If the files don't get deleted, well you're good to go! :good:
[Samsung Galaxy Player 4.0, 5.0] the playa!:
Yo Zac,

Which stock rom do we flash with the efs.img? On dream ultra, i had the lockscreen and the power menu as well
[Samsung Galaxy Player 4.0, 5.0] zaclimon:
Pure stock only.
[Samsung Galaxy Player 4.0, 5.0] the playa!:
Link? Not the HeimdallRestore right? Or is the the one that kwipper uploaded? http://xdaforums.com/showthread.php?t=1512331
[Samsung Galaxy Player 4.0, 5.0] zaclimon:
Just flash the package with the blank efs image in it...
[Samsung Galaxy Player 4.0, 5.0] the playa!:
But in the restore, a blank efs is already in it... And my efs problem still doesn't fix
[Samsung Galaxy Player 4.0, 5.0] zaclimon:
And you say that efs isn't mounted while in recovery right?
[Samsung Galaxy Player 4.0, 5.0] the playa!:
Recovery as in CWM? There's no problem in that... But I don't got any lockscreen/power menu
[Samsung Galaxy Player 4.0, 5.0] zaclimon:
No damn... The stock one because you came from that one after you flash the rom.
[Samsung Galaxy Player 4.0, 5.0] the playa!:
I'm not sure.... I have to reflash that to check. Hold on. But as far as I remember when I was on stock, yes it did have problems.

Edit: I just flashed stock rom with stock recovery and its giving me no problems.

--Copying media files...

Successfully copied media files.

#Manual Mode#

--Applying Multi-CSC...

Successfully applied multi-CSC

Is what it says.. However, When I hold the power button... It turns off directly and there's no lockscreen also. What's wrong?
[Samsung Galaxy Player 4.0, 5.0] zaclimon:
Ok so now you need to copy over your efs contents over /efs. Then check if the content is here after a reboot.
[Samsung Galaxy Player 4.0, 5.0] the playa!:
I already copied the efs files from my backuped efs folder on my computer... The files are in the efs folder, but no luck with the lockscreen/power menu