What is the best way to restore param.lfs?

creepyncrawly

Senior Member
Sep 3, 2010
2,770
3,276
0
I wanted to make an odin flashable tar of the stock param.lfs posted in Entropy's Return/Unbrick to stock thread. I made the tar file using terminal on my phone, as I have done in the past, but I did it wrong, and when I tested it, the flash failed and now my phone boots to the phone-!-pc screen.

I looked in the tar, and I had built it with the param.lfs in a directory named sdcard. Doh. So I tried to create the tar using 7zip on my Windows pc, and the resulting file is built correctly, but when I tried to flash it, the flash froze on param.lfs. So I don't know if the tar I made with 7zip is bad, or what.

Shouldn't it be possible to just tar the param.lfs file and then flash it in the PDA slot? I should be able to get the phone back by flashing just the param.lfs, shouldn't I? But now I don't know if I can make a working Odin flashable tar on Windows.

So if someone can post an odin flashable tar of Entropy's stock param.lfs, that would be helpful. Thanks.
 

Entropy512

Senior Recognized Developer
Aug 31, 2007
14,095
25,085
0
Owego, NY
I wanted to make an odin flashable tar of the stock param.lfs posted in Entropy's Return/Unbrick to stock thread. I made the tar file using terminal on my phone, as I have done in the past, but I did it wrong, and when I tested it, the flash failed and now my phone boots to the phone-!-pc screen.

I looked in the tar, and I had built it with the param.lfs in a directory named sdcard. Doh. So I tried to create the tar using 7zip on my Windows pc, and the resulting file is built correctly, but when I tried to flash it, the flash froze on param.lfs. So I don't know if the tar I made with 7zip is bad, or what.

Shouldn't it be possible to just tar the param.lfs file and then flash it in the PDA slot? I should be able to get the phone back by flashing just the param.lfs, shouldn't I? But now I don't know if I can make a working Odin flashable tar on Windows.

So if someone can post an odin flashable tar of Entropy's stock param.lfs, that would be helpful. Thanks.
I believe 7zip creates bogus tars in Windows.

Try cygwin - or use Heimdall to flash
 
  • Like
Reactions: creepyncrawly

creepyncrawly

Senior Member
Sep 3, 2010
2,770
3,276
0
I was pretty sure that 7zip made bad tar files. I also downloaded peazip, and found that it also makes bad tar files.

I found a good flashable I777 stock param.lfs in Connexion2005's Custom Boot Screen thread. I had never looked inside his attachment and had assumed it was a modified param.lfs. I used it to flash my phone back successfully.
 
Our Apps
Get our official app!
The best way to access XDA on your phone
Nav Gestures
Add swipe gestures to any Android
One Handed Mode
Eases uses one hand with your phone