use to follow darky's tutorial for my i9000 do a system dump then write an odin flashable rom for backup,
but i have no clue what to dump on my i9100??
The most common partitions are:
/dev/block/mmcblk0p5 -> Kernel
/dev/block/mmcblk0p7 -> Cache
/dev/block/mmcblk0p8 -> Modem / Radio / Baseband (w/e you like to call it)
/dev/block/mmcblk0p9 -> System (factoryfs for Odin .tars)
/dev/block/mmcblk0p10 -> (user) data
i tried it, extracted all the files and created the tar but it fails as soon as i start it..
heres the commands i used :
dd if=/dev/block/mmcblk0p9 of=/sdcard/factoryfs.rfs bs=4096
dd if=/dev/block/mmcblk0p7 of=/sdcard/cache.rfs bs=4096
dd if=/dev/block/mmcblk0p5 of=/sdcard/zImage bs=4096
dd if=/dev/block/mmcblk0p8 of=/sdcard/modem.bin bs=4096
Click to expand...
Click to collapse
then
tar -H ustar -c factoryfs.rfs cache.rfs modem.bin zImage > rom.tar
Click to expand...
Click to collapse
and then md5 ... ?? what am i doing wrong?
Yeah, you can't just reflash raw dumps with Odin, unfortunately.
You can use them to restore via dd though.
But this thread might help for Odin flashing: (the re-packing part)
http://forum.xda-developers.com/showthread.php?t=1081239
read a bunch of threads from that link and so on,
i dont have a linux machine at work so i need to take this home and try but i honestly got my doubts, looks too complicated for a noob like me ha!
i need some easy tutorial to follow, i guess i just have to wait till someone actually writes it!
thank for the help though!
Related
Hi,
After searching and reading through the forum about extracting the modem from the phone and package it for Odin, there is no specific command for SGII that I can find.
So, please help me confirm if these are the correct steps. I want to backup my modem before flashing a new one through Odin.
--------------------------
adb shell
su
# dd if=/dev/block/mmcblk0p8 of=/sdcard/modem.bin bs=4096
Copy modem.bin to linux
$ tar -H ustar -cvf my_modem.tar modem.bin
$ md5sum -t my_modem.tar >> my_modem.tar
$ mv my_modem.tar my_modem.tar.md5
----------------------------
now, I can use the my_modem.tar.md5 file as a backup if I want to go back to the original modem, right?
Thanks.
Hi,
Can anyone please provide me T959TLKG2 modem for download.
thanks in advance for any help given.
demetris_I said:
Hi,
Can anyone please provide me T959TLKG2 modem for download.
thanks in advance for any help given.
Click to expand...
Click to collapse
I don't think you can rip the modem.
Hi,
Thanks for your reply.
You can rip the modem using root explorer after you rooted the phone.
Browse system with root explorer and find modem.bin copy paste it onto sd card and the post it here
demetris_I said:
Hi,
Thanks for your reply.
You can rip the modem using root explorer after you rooted the phone.
Browse system with root explorer and find modem.bin copy paste it onto sd card and the post it here
Click to expand...
Click to collapse
I just searched EVERY directory, there is no modem.bin to be found. It can't be ripped in anyway with a stock rom.
Are you rooted?
With root, run adb and use:
adb shell
su
cat /dev/block/bml12 > /sdcard/modem.bin
dd if=/dev/block/bml12 of=/sdcard/modem2.bin bs=4096
exit
exit
Then md5 them to see if they are the same but i think cat /dev/block/bml12 > /sdcard/modem.bin will do the trick just fine.
demetris_I said:
Are you rooted?
With root, run adb and use:
adb shell
su
cat /dev/block/bml12 > /sdcard/modem.bin
dd if=/dev/block/bml12 of=/sdcard/modem2.bin bs=4096
exit
exit
Then md5 them to see if they are the same but i think cat /dev/block/bml12 > /sdcard/modem.bin will do the trick just fine.
Click to expand...
Click to collapse
I've got the modem.bin file for you, where can I put it so you can download it
EDIT: N/M I just made a mediafire account... I will post link as soon as I know which is proper file to post for you.
When I md5sum, I'm a little confused... heres what I did..
for one I did
md5sum -t t959_gb_modem.tar >> t959_modem.tar (not a type, did use different filenames)
mv t959_modem.tar t959_modem.tar.md5
This left me with 2 files... one which was the tar modem, 12.8mb,
t959_gb_modem.tar... and the other file was 1kb, t959_modem.tar.md5
The second time I did this...
md5sum -t t959_gb_modem.tar >> t959_gb_modem.tar (same filenames)
mv t959_gb_modem.tar t959_gb_modem.tar.md5
this left me with one file, 12.8mb, t959_gb_modem.tar.md5
I guess what I need to know is which is the proper method to use so the file will flash in ODIN.
As for the tar command, I use tar -H ustar -c modem.bin > t959_gb_modem.tar
thx, Maniac
I dont need odin flashable, just zip/rar it and upload it, thanks
Modem.bin should be 12,0 MB (12.582.912 bytes) when right click and select properties on it
Multiupload would be great.
http://www.multiupload.com/
thanks again
P.s
for odin flashable tar size should be:
Size:12,0 MB (12.585.032 bytes)
Size on disk: 12,0 MB (12.587.008 bytes)
After you have the correct modem.bin
Modem.bin should be 12,0 MB (12.582.912 bytes) when right click and select properties on it
Then to make it odin flashable you need a linux live cd or linux installation on hdd then:
tar -H ustar -c modem.bin > T959TLKG2.tar
MD5 it for a security check:
md5sum –t T959TLKG2.tar >> T959TLKG2.tar
Rename the tar file like this:
mv T959TLKG2.tar T959TLKG2.tar.md5
And you will have:
T959TLKG2.tar.md5
Odin flashable
The file I have is 12.8m so I think
there may be something wrong. But i'm at work now so I can't upload now.
Sent from Samsung Fascinate (XDA Prem)
No problem, and thanks.
Maybe you see what reported 12.288kb which is correct
Thanks for everything, modem found in full dump link by harimgs.
great modem btw
since i can't put a thread in development i put it here what is this command dd if=/dev/block/mmcblk0p4 of=/sdcard/mmcblk0p4 /dev/block/mmcblk0p4 no such file or directory i don't even no what or where mmcblk0p4 is at help
mininessie said:
since i can't put a thread in development i put it here what is this command dd if=/dev/block/mmcblk0p4 of=/sdcard/mmcblk0p4 /dev/block/mmcblk0p4 no such file or directory i don't even no what or where mmcblk0p4 is at help
Click to expand...
Click to collapse
Are you successfully temp-rooted (and related, are you on the latest OTA? 2.17.605.2)
i have heard that a lot of devs are struggling to make an odin flashable package.so i share this tutorial.hope i help you in any way.
make a backup folder in external sdcard
open terminal emulator in phone
in a terminal emulator.run
su
dd if=/dev/block/mmcblk0p14 of=/mnt/extSdCard/backup/mmcblk0p14_system.img bs=4096(for system)
dd if=/dev/block/mmcblk0p18 of=/mnt/extSdCard/backup/mmcblk0p18_recovery.img bs=4096(for recovery)
dd if=/dev/block/mmcblk0p15 of=/mnt/extSdCard/backup/mmcblk0p15_userdata.img bs=4096(for user data)
dd if=/dev/block/mmcblk0p17 of=/mnt/extSdCard/backup/mmcblk0p17_cache.img bs=4096(for cache)
dd if=/dev/block/mmcblk0p7 of=/mnt/extSdCard/backup/mmcblk0p7_boot.img bs=4096(for kernel)
now copy all these files in a your computer and open a linux command line
tar -H ustar -c "INSERT_.IMG FILE HERE" mmcblk0p14_system.img > package_name.tar
md5sum -t package_name.tar >> package_name.tar
mv package_name.tar package_name.tar.md5
Add any combination of image files you want after the "-c" and before the ">"
Make sure each .IMG file has a space between the next one.
best of luck
credits
das7982
darky
Anybody found it useful?
press thankks if you like my work
Tryin'
Edit : oh no my computer broken
?
press thankks if you like my work
Hi , i'm new in XDA , first i want to say, excuse me if i am posting in a wrong place, i can't find the right place for make a new thread.
I have a samsung S6792L fame lite, is stuck in samsung logo i make flash of stock rom via odin , stock rom (home.tar)1 file and flash stock rom of 4 files (Boot, Pda, phone , csc); then i flash a custom recovery (TWRP 2.8.6.0 for S6790) i mount efs partition but when i try open efs folder , the phone shut down and vibrate for 3- 4 seconds. also cannot do backup of efs folder because happen the same thing (shut down)
then i flash cwm recovery but in that recovery i can't make a backup of efs folder.
i can't find the PIT file for this model , and i don't know what can i do for solve this. please help.
thanks for your time.
(excuse me for my bad english)
Backup / Restore EFS Partition
@Kevin95ME
FYI: EFS partition is an encrypted one.
Assumed the path to EFS is /dev/block/mmcblk0p3. Note: This may not be correct path. It's on you to find the correct path.
You can backup EFS to internal storage running command
Code:
dd if=/dev/block/mmcblk0p3 of=/storage/sdcard/efs.img bs=4096
or you can backup EFS to external storage running command
Code:
dd if=/dev/block/mmcblk0p3 of=/storage/extSdCard/efs.img bs=4096
in a Terminal Window what creates file efs.img
To restore the EFS partition you run either command
Code:
dd if=/storage/sdcard/efs.img of=/dev/block/mmcblk0p3 bs=4096
or command
Code:
dd if=/storage/extSdCard/efs.img of=/dev/block/mmcblk0p3 bs=4096
in a Terminal Window what depends where you saved it.
jwoegerbauer said:
@Kevin95ME
FYI: EFS partition is an encrypted one.
Assumed the path to EFS is /dev/block/mmcblk0p3. Note: This may not be correct path. It's on you to find the correct path.
You can backup EFS to internal storage running command
Code:
dd if=/dev/block/mmcblk0p3 of=/storage/sdcard/efs.img bs=4096
or you can backup EFS to external storage running command
Code:
dd if=/dev/block/mmcblk0p3 of=/storage/extSdCard/efs.img bs=4096
in a Terminal Window what creates file efs.img
To restore the EFS partition you run either command
Code:
dd if=/storage/sdcard/efs.img of=/dev/block/mmcblk0p3 bs=4096
or command
Code:
dd if=/storage/extSdCard/efs.img of=/dev/block/mmcblk0p3 bs=4096
in a Terminal Window what depends where you saved it.
Click to expand...
Click to collapse
Hi thanks for answer,
excuse me for the newbie question, but, do i run terminal window on the TWRP recovery or adb shell?
Kevin95ME said:
Hi thanks for answer,
excuse me for the newbie question, but, do i run terminal window on the TWRP recovery or adb shell?
Click to expand...
Click to collapse
Terminal Emulator is an Android app you can get off Google Play Store.
jwoegerbauer said:
Terminal Emulator is an Android app you can get off Google Play Store.
Click to expand...
Click to collapse
ok lets me try. later i tell you the result. thanks
jwoegerbauer said:
Terminal Emulator is an Android app you can get off Google Play Store.
Click to expand...
Click to collapse
my friend thanks for you support i solve the problem doing this things in this order
first
i follow your step doing backup of my efs folder , but i modify the command
dd if=/dev/block/mmcblk0p3 of=/storage/extSdCard/efs.img bs=4096 ( your command)
dd if=/dev/block/mmcblk0p3 of=/sdcard1/efs.img bs=4096 (then i wrote this) ( with your command the terminal told me " no exist such file or directory")
(sdcard1 is ExtSdCard in S6792L)
then i save that efs file in my pc
second
i use the information on this post https://forum.xda-developers.com/showthread.php?t=2204960
this line of command
su
mke2fs /dev/block/mmcblk0p3
mount -w -t ext4 /dev/block/mmcblk0p3
reboot
third
i restore efs folder following your step, but modifying the command
dd if=/sdcard1/efs.img of=/dev/block/mmcblk0p3 bs=4096
the device is now on and pass the boot logo, right now i am deactivating the factory mode because show a yellow box showing ROM information.
i will use this information for deactivate that https://forum.xda-developers.com/galaxy-s3/general/how-to-fix-efailed-to-mount-efs-invalid-t2858056
Remove factory mode:
There are different methods that we can use to remove factory mode
In my case
1. Installed custom ROM to get root access
2. Instaled kTool
3. Copy the backup of my efs into sdcard (you can use .img or tar file)
4. Open kTool and restore the efs
5. Reboot the phone
* This method is the easiest and safest method because when you are getting the efs mount error there is a chance of loosing your IMEI and some other files, in that situation the following methods will not work.
OR
1. Root your phone (Either root manually or install a custom ROM)
2. Install ES File Explorer
3. Open ES File Explorer and turn on Root Explorer
4. Navigate to /efs folder
5. Open factorymode as txt in ES Note Editor
6. Change it from OFF to ON and save
7. Reboot your phone
OR
1. Root your phone (Either root manually or install a custom ROM)
2. Install Terminal Emulator
3. Run the following commands
Code:
su
rm /efs/FactoryApp/keystr
rm /efs/FactoryApp/factorymode
echo -n ON >> /efs/FactoryApp/keystr
echo -n ON >> /efs/FactoryApp/factorymode
chown 1000.1000 /efs/FactoryApp/keystr
chown 1000.1000 /efs/FactoryApp/factorymode
chmod 0744 /efs/FactoryApp/keystr
chmod 0744 /efs/FactoryApp/factorymode
thnaks so much for your support.
excuse formy bad english ,i do my best for improve it.
by the way i do all in the Terminal Command of the TWRP recovery.