please can someone attach param.lfs for S4 I9505 (you must be rooted)
how to extract it to sdcard via adb:
-connect your S4 to usb port after enabling usb debug in developer options
-open cmd prompt on your laptop and type the following:
Code:
adb shell
su
dd if=/dev/block/mmcblk0p19 of=/mnt/sdcard/param.lfs bs=4096
how to extract it to sdcard via terminal emulator:
-install terminal emulator on your device
type the following:
Code:
su
dd if=/dev/block/mmcblk0p19 of=/mnt/sdcard/param.lfs bs=4096
This command reads the param partition and copy it to your internal memory, which you can transfer to your PC and attach it in this thread
thx in advance
Any one please?
Sent from my Galaxy Nexus using xda premium
bump
here you go
https://www.dropbox.com/s/34oui32urkogs9y/param.lfs
Nick1402 said:
here you go
https://www.dropbox.com/s/34oui32urkogs9y/param.lfs
Click to expand...
Click to collapse
thank you very much my friend.
just to confirm: extracted from I9505 using method mentioned in OP ?
yes i9505 using terminal emulator
Nick1402 said:
second method using terminal emulator
Click to expand...
Click to collapse
Thx for confirmation :thumbup:
Sent from my Galaxy using xda premium
Any one has N7108 param.lfs pls help me. Thanks
Related
This is useful for repacking, or making a backup of how you like you phone and restoring through odin.. or whatever you want it for..
beware, if you dump data and cache partitions your files will start to get very large. most odin packages have empty data and cache partitions.
need root and adb.. i suppose you could do this all on terminal if you wanted to.
First obtain root
Code:
su
then data dump the bare minimum required paritions
Code:
dd if=/dev/block/stl9 of=/sdcard/factoryfs.rfs bs=4096
dd if=/dev/block/stl11 of=/sdcard/cache.rfs bs=4096
dd if=/dev/block/bml7 of=/sdcard/zImage bs=4096
dd if=/dev/block/bml12 of=/sdcard/modem.bin bs=4096
And if you insist on data
Code:
dd if=/dev/block/stl10 of=/sdcard/datafs.rfs bs=4096
you can also dump these if you want, some packages have them some don't.. mostly only samsprint packages..
Code:
dd if=/dev/block/bml1 of=/sdcard/boot.bin bs=4096
dd if=/dev/block/bml4 of=/sdcard/sbl.bin bs=4096
dd if=/dev/block/bml8 of=/sdcard/recovery.bin bs=4096
dd if=/dev/block/bml6 of=/sdcard/param.lfs bs=4096
then if you want, you can make your own PIT file.. it shouldn't differ much from victory, but I'll show you anyway..
Code:
dd if=/dev/block/bml2 of=/sdcard/partitions.pit bs=4096
now in linux, or cygwin, or however you want.. tar it
if you include datafs.rfs, you need to add datafs.rfs before the > in the following command
Code:
tar -H ustar -c factoryfs.rfs cache.rfs modem.bin zImage boot.bin recovery.bin param.lfs sbl.bin > myOdin.tar
again, i suggest linux or cygwin, but however you want.. it needs to be md5ed
Code:
md5sum –t myOdin.tar >> myOdin.tar
mv myOdin.tar myOdin.tar.md5
There you go.. new md5 Odin tarball...
Always wanted the ability to do this. Thanks mate.
Now it says use linux or cygwin to odin and md5 it? Can that be done in the terminal?
darkierawr said:
Always wanted the ability to do this. Thanks mate.
Now it says use linux or cygwin to odin and md5 it? Can that be done in the terminal?
Click to expand...
Click to collapse
my phone has both md5sum and tar.. but its been modified heavily so ymmv.. just try it out and see...
Thank you much for this very useful information. I've been trying to figure this out but I haven't had much luck with my attempts. I will give this a shot and see how it goes.
Would be nice is people created tars to help installation of roms like they have over in the fascinate forums.
burgerpimp07 said:
Would be nice is people created tars to help installation of roms like they have over in the fascinate forums.
Click to expand...
Click to collapse
much larger downloads.. and not as much flexibility.. you get more backup and config options when you can run sh scripts in cwm...
one quick question. will this work with ext4?
Very nice information and thank you!
Am I thinking that it's possible to adjust the partition sizes with a new .pit? Seems like a lot of wasted space in the /system partition.
Sent from Bonsai 7.1.1.1
all of these commands save the files to the sdcard on the phone, correct ?
Also, the command "... > myodin.tar " creates the .tar file from the files 'on' the sd card (from the dumps) and saves them back onto the sdcard ?
Just checking before I proceed w/ my project..
Thanks for the help.
jarcher1971 said:
one quick question. will this work with ext4?
Click to expand...
Click to collapse
Yes but I.think fladhing the tar will revert to rfs.
Sent from my SPH-D700 using XDA App
all the dd commands worked (used terminal).. however, I'm having a problem w/ the tar..
Can anyone help ?? I have cygwin installed. anyone ?? bueller.. bueller ? LOL
well i tried it and the results i got are in this thread here ----> http://forum.xda-developers.com/showthread.php?t=1089570 One thing i did not do was the md5 step. might that have caused the problem i now have?
daddymikey1975 said:
all the dd commands worked (used terminal).. however, I'm having a problem w/ the tar..
Can anyone help ?? I have cygwin installed. anyone ?? bueller.. bueller ? LOL
Click to expand...
Click to collapse
don't know if this will help, but in the terminal did you cd to /sdcard before running tar. when i tried it without doing that it would error out.
jarcher1971 said:
don't know if this will help, but in the terminal did you cd to /sdcard before running tar. when i tried it without doing that it would error out.
Click to expand...
Click to collapse
I did not try that but I will.. and for me terminal = terminal emulator on the phone not on my pc.. heh..
the response I got was something about tar and unrecognized command but I'll try it again..
brb
the result i got is "tar: not found"
daddymikey1975 said:
I did not try that but I will.. and for me terminal = terminal emulator on the phone not on my pc.. heh..
the response I got was something about tar and unrecognized command but I'll try it again..
brb
Click to expand...
Click to collapse
sounds like you may not have it on your phone then. for me it was though. think it was in /system/bin or /system/xbin.
jarcher1971 said:
sounds like you may not have it on your phone then. for me it was though. think it was in /system/bin or /system/xbin.
Click to expand...
Click to collapse
ok, after talking to chris on fossnet, the tar command wasn't 'usable' for me in the terminal window on the phone so I tried to use cygwin on my PC.. had to copy/paste the files from the phone's SDcard to the folder that cygwin uses on my computer.
Then the tar command worked perfectly.. then I did the md5 stuff.. my tar is uploading rt. now..
I'll post a link to it once it's done uploading and I flash it to make sure it works XD
this all worked like a champ
Thanks chris41g for the useful thread.. and for helping in IRC
marcusant said:
Yes but I.think fladhing the tar will revert to rfs.
Sent from my SPH-D700 using XDA App
Click to expand...
Click to collapse
You can keep ext4 if you dump the pit as well and use it...
Sent from my SPH-D700 using XDA App
Awesome Chris. Thank u for this. I always wanted to be able to make my own flashable tar files.
Sent From My Evo Killer!
I would like to know how to install cwm recovery after rooting with burrito root 3 and flashing firefirefire bootloader.
from the op of cwm:
Code:
fastboot flash recovery filename.img
I used the following method posted by jcase in the BurritoRoot3 Thread:
To install the CWR recovery by DoomLord after gaining root:
Download it, and push it to your Kindle
adb push <filename> /data/local/recovery.img
adb shell dd if=/data/local/recovery.img of=/dev/block/platform/mmci-omap-hs.1/by-name/recovery
Click to expand...
Click to collapse
Worked like a charm
i like that metod but i dont know where to save the img. and what exactly write in commands prompt.
save the file in the directory where your fastboot.exe is located
open command prompt, cd to that directory and type command as above and how .img file is named
Ive tried both methods and still get the message no such file or directory.
Thanks it work perfectly
Sent from my Amazon Kindle Fire using xda premium
bosshaus said:
Ive tried both methods and still get the message no such file or directory.
Click to expand...
Click to collapse
if you have adb configured on your pc put on this commands on cmd:
cd c:\kindleadb
adb push KINDLE-FIRE-UtterChaos-CWM5-touch-v01-BETA2_recovery.img /data/local/recovery.img
adb shell dd if=/data/local/recovery.img of=/dev/block/platform/mmci-omap-hs.1/by-name/recovery
also make sure you save the .img file on kindleadb folder
if you dont have adb download it and extract the folder to your C: drive
bosshaus said:
Ive tried both methods and still get the message no such file or directory.
Click to expand...
Click to collapse
This might seem obvious, but have you rooted your Fire? The commands posted will not work if you're not rooted yet.
Sent from my Kindle Fire using Tapatalk
As we are having a lot of Jelly Bean leaks lately, a lot of users want to share the Nandroid backup to others but sometimes they make mistakes which ends up in md5 mismatches or some of them don't know how to create a share-able zip.
I have tried to create this guide to enable them in doing so. Hope this will help everyone.
Requirement:
CWM Recovery
7zip, Winrar or any file compressing tool
ADB setup in your PC
Click to expand...
Click to collapse
Once you have applied the OTA and done a factory reset, Follow the process given below:-
If your have ClockworkMod Touch Recovery 6.0.1.2 (Believe me it is easier and better in Touch recovery - Get it from here) follow these:-
In CWM Recovery
Reboot into Recovery => Hold Volume Up + Home + Power buttons together for about 5-7 seconds, release the buttons when you see the recovery menu
Choose -> Backup and Restore
Chooose -> Choose Backup Format (Optional)
Change Backup format to tar (Optional)
Choose -> Create image.zip
This will create an image.zip and an image folder in your Internal Sdcard inside the clockworkmod>backup folder
Copy the image.zip file to your PC, rename it to the software version you are sharing for e.g. GT-I9300-XXXXXXXX. Important do not put spaces in the name.
Upload this zip to whichever Filehosting site you want to share with.
*this image.zip can be flashed in CWM directly without having the need to extract the files inside*
Click to expand...
Click to collapse
If you have ClockworkMod Recovery 5.5 (Get it from here) Follow these:-
In CWM Recovery
Reboot into Recovery => Hold Volume Up + Home + Power buttons together for about 5-7 seconds, release the buttons when you see the recovery menu
Choose -> Backup and Restore
Choose -> Backup (either Internal or External SDcard by default it will backup to ExtSDcar)
Your Backup will now be there inside the clockworkmod>backup folder, Copy this folder to your PC
Zip the Folder and give it a name for e.g. GT-I9300-XXXXXX (Dont use spaces)
Now you can upload this zip to any filehosting service of your choice
Click to expand...
Click to collapse
How to extract the modem:-
For extracting the modem you need to be rooted (If you are not or want to know how go here)
Using ADB (Go here if you want to know how to set up ADB)
Connect your phone to you PC (Please ensure that ADB debugging option is checked in Developer Options)
Type
Code:
adb devices
You will get something like this:
Code:
List of devices attached
XXXXXXXXXXXXXX device
It shows your device is connected via ADB
Type
Code:
adb shell
You will get a output like this:
Code:
C:\adb>adb shell
[email protected]:/ $
Type
Code:
su
You will get:
Code:
su
[email protected]:/ #
(Those who are using Terminal Emulator can start from this step)
Type
Code:
dd if=/dev/block/mmcblk0p7 of=/sdcard/modem.bin bs=4096
You will get
Code:
[email protected]:/ # dd if=/dev/block/mmcblk0p7 of=/sdcard/modem.bin bs=4096
dd if=/dev/block/mmcblk0p7 of=/sdcard/modem.bin bs=4096
8192+0 records in
8192+0 records out
33554432 bytes transferred in 2.892 secs (11602500 bytes/sec)
[email protected]:/ #
Your modem.bin file is copied to the root of your sdcard, copy it to your PC and upload it to the file hosting site of your choice
Click to expand...
Click to collapse
I have tried to write everything to the best of my knowledge. If anyone feels that I have missed something or I have written something wrong please let me know. I will make the changes.
Thanx for this very useful
Sent from my GT-I9300 using Tapatalk 2
anurag549 said:
Thanx for this very useful
Sent from my GT-I9300 using Tapatalk 2
Click to expand...
Click to collapse
will be helpful for many ... nice work buddy
Q: When I dump modem I get a modem.bin and its ~30mb, while shipped modems in stock fw is ~12mb, why is this?
Perka said:
Q: When I dump modem I get a modem.bin and its ~30mb, while shipped modems in stock fw is ~12mb, why is this?
Click to expand...
Click to collapse
Well that escapes me..may be someone knowledgeable can shed some light on it..
Sorry..
Maybe the that provided with the firmware is a patch..I know OTA files are patches but can't say much about full firmwares..
I'm trying to do this using the terminal emulator in Rom toolbox and u keep getting permission denied?
(from what I understood we had two ways of doing this correct? A computer and adb or TE, correct?)
Danielhammons1 said:
I'm trying to do this using the terminal emulator in Rom toolbox and u keep getting permission denied?
(from what I understood we had two ways of doing this correct? A computer and adb or TE, correct?)
Click to expand...
Click to collapse
You have to type su in terminal to gain root access. It's just like a standard Linux terminal.
I had a google but I could not find anything to help me backup the efs on my s4. I read that because it is Qualcomm it may be different, and also that on the s4 the nv_data files are not in the efs folder.
How do I backup my efs on the s4?
getting my Black S4 delivered tomorrow and was wondering the same After owning many samsung phones I've learned this is the single most important thing to do by flashing everything in sight
just copy EFS folder (root explorer) and put in safe place.
Thats all
dont that break the permissions ect? If not then I'll just drag the whole folder across to my card :victory:
ratcom said:
dont that break the permissions ect? If not then I'll just drag the whole folder across to my card :victory:
Click to expand...
Click to collapse
No...everything is fine. Just copy EFS folder to your SD. That's all buddy. You good.
avetny said:
No...everything is fine. Just copy EFS folder to your SD. That's all buddy. You good.
Click to expand...
Click to collapse
Okay thanks
coolkodz said:
Okay thanks
Click to expand...
Click to collapse
You are welcome
:good:Stay tuned !
coolkodz said:
I had a google but I could not find anything to help me backup the efs on my s4. I read that because it is Qualcomm it may be different, and also that on the s4 the nv_data files are not in the efs folder.
How do I backup my efs on the s4?
Click to expand...
Click to collapse
dont just copy and paste efs folder, for permission issue
use dd command in terminal emulator
for I9505 type in terminal emulator:
Code:
su
dd if=/dev/block/mmcblk0p10 of=/mnt/sdcard/efs.img.ext4
dd if=/dev/block/mmcblk0p13 of=/mnt/sdcard/m9kefs1.bin
dd if=/dev/block/mmcblk0p14 of=/mnt/sdcard/m9kefs2.bin
dd if=/dev/block/mmcblk0p15 of=/mnt/sdcard/m9kefs3.bin
then copy the backuped files to your computer
samersh72 said:
dont just copy and paste efs folder, for permission issue
use dd command in terminal emulator
for I9505 type in terminal emulator:
Code:
su
dd if=/dev/block/mmcblk0p10 of=/mnt/sdcard/efs.img bs=4096
then copy the image to your computer
Click to expand...
Click to collapse
Your choice is also working.
(Permission is not a problem. Paste backup efs folder back/ than flash rom via odin)
NB: nv data files are located in block 13,14 and 15 so it is better also to backup those partitions:
for I9505 ONLY
Code:
su
dd if=/dev/block/mmcblk0p13 of=/mnt/sdcard/m9kefs1.bin
dd if=/dev/block/mmcblk0p14 of=/mnt/sdcard/m9kefs2.bin
dd if=/dev/block/mmcblk0p15 of=/mnt/sdcard/m9kefs3.bin
samersh72 said:
dont just copy and paste efs folder, for permission issue
use dd command in terminal emulator
for I9505 type in terminal emulator:
Code:
su
dd if=/dev/block/mmcblk0p10 of=/mnt/sdcard/efs.img.ext4 bs=4096
then copy the image to your computer
Click to expand...
Click to collapse
I've never used terminal emulator so wouldn't have a clue where to even start. Can anyone point me in the right direction. Thanks
Sent from my GT-I9505 using xda premium
djwilliams100 said:
I've never used terminal emulator so wouldn't have a clue where to even start. Can anyone point me in the right direction. Thanks
Sent from my GT-I9505 using xda premium
Click to expand...
Click to collapse
first you must be rooted
install terminal emulator from play store
open terminal emulator and type "su" (without " "), press enter, then grant permission (it will prompt)
then type dd...... command, press enter. that is it, you will find the backup in your internal storage
move these backups to ext sdcard or computer to prevent wiping
samersh72 said:
first you must be rooted
install terminal emulator from play store
open terminal emulator and type "su" (without " "), press enter, then grant permission (it will prompt)
then type dd...... command, press enter. that is it, you will find the backup in your internal storage
move these backups to ext sdcard or computer to prevent wiping
Click to expand...
Click to collapse
I am rooted so I'm half way there. It sounds simple enough thanks.
Sent from my GT-I9505 using xda premium
Where am I going wrong? I'm getting permission denied.
Think I've sorted it by changing the permissions of the mmcblk0p10 folder. My efs file is about 13 meg is that about right?
Sent from my GT-I9505 using xda premium
djwilliams100 said:
Where am I going wrong? I'm getting permission denied.
Think I've sorted it by changing the permissions of the mmcblk0p10 folder. My efs file is about 13 meg is that about right?
Sent from my GT-I9505 using xda premium
Click to expand...
Click to collapse
yes! you must backup also m9kefs1, m9kefs2 and m9kefs3
samersh72 said:
yes! you must backup also m9kefs1, m9kefs2 and m9kefs3
Click to expand...
Click to collapse
Will do. Is it as simple as dropping them back into the the dev / block folder if something goes wrong?
Sent from my GT-I9505 using xda premium
djwilliams100 said:
Will do. Is it as simple as dropping them back into the the dev / block folder if something goes wrong?
Sent from my GT-I9505 using xda premium
Click to expand...
Click to collapse
for I9505 ONLY
to restore, put wanted file in internal storage, and type in terminal emulator (example for efs):
Code:
su
dd if=/mnt/sdcard/efs.img.ext4 of=/dev/block/mmcblk0p10
beware restoring to wrong partition may brick your phone! be sure to write it exactly. (for EFS restore to block 10)
I have a very simple question.
dd the tool that is used to back up the efs partition from the terminal comes installed already as part of the stock samsung rom right?
i tried to just run the dd command and it seem to be there on the phone already.
this is stock rom. + cf-autoroot.
i dont have busybox installed.
i was reading a few tutorials which say install busybox............ if DD is already available why install busy box?
Hello buddies! I just want to know if there is a way to backup EFS without root? Thanks
Anyone please???
please can someone attach param.bin for S4 I9500 (you must be rooted)
how to extract it to sdcard via adb:
-connect your S4 to usb port after enabling usb debug in developer options
-open cmd prompt on your laptop and type the following:
Code:
adb shell
su
dd if=/dev/block/mmcblk0p8 of=/mnt/sdcard/param.bin
how to extract it to sdcard via terminal emulator:
-install terminal emulator on your device
type the following:
Code:
su
dd if=/dev/block/mmcblk0p8 of=/mnt/sdcard/param.bin
This command reads the param partition and copy it to your internal memory, which you can transfer to your PC and attach it in this thread
thx in advance
Anyone??
samersh72 said:
please can someone attach param.bin for S4 I9500 (you must be rooted)
how to extract it to sdcard via adb:
-connect your S4 to usb port after enabling usb debug in developer options
-open cmd prompt on your laptop and type the following:
Code:
adb shell
su
dd if=/dev/block/mmcblk0p8 of=/mnt/sdcard/param.bin
how to extract it to sdcard via terminal emulator:
-install terminal emulator on your device
type the following:
Code:
su
dd if=/dev/block/mmcblk0p8 of=/mnt/sdcard/param.bin
This command reads the param partition and copy it to your internal memory, which you can transfer to your PC and attach it in this thread
thx in advance
Click to expand...
Click to collapse
Attached
thank you very much my friend :good:
How do I use param.bin ??
I mean i flashed wrong rom and caused logo distorted can anybody tell me how to flash this param.bin
aukhan said:
How do I use param.bin ??
I mean i flashed wrong rom and caused logo distorted can anybody tell me how to flash this param.bin
Click to expand...
Click to collapse
param.bin in odin as pda
samersh72 said:
param.bin in odin as pda
Click to expand...
Click to collapse
@samersh72 this issue I got it fixed thanks for the response.
BTW we can flash .Bin files from PDA its only Modem and this file should not be flashed on Modem section.
how to extract param.bin? i used poweriso on windows it cant
param_i9500.zip
Link - https://www.androidfilehost.com/?fid=457095661767103950