[REQUEST] SGH-I747M SBL 1 Dump - Galaxy S III Q&A, (US Carriers)

Hi there,
I'm working at creating a solution for unlocking bootloaders on the SGS III VZW model and I'm in need of a SGH-I747M SBL 1 dump. I need a rooted user to simply perform the following command from a terminal on the phone, or while using ADB SHELL under the su user. Once at the command line issue this command, then simply upload the sbl1 file which ends up on your sdcard to me here. That's it!
Thanks in advance!
Code:
dd if=/dev/block/mmcblk0p2 of=/sdcard/sbl1 bs=4096

I wont keep the upload for a long time : https://dl.dropbox.com/u/1387179/sbl1

Thanks so much I have it now.
Sent from my SAMSUNG-SGH-I747 using xda premium

Related

[HOW-TO] (YP-G1) Create FULL personal backups for complete restore from a brick

Hi everyone,
I made this guide for users of a Galaxy Player 4.0 USA or INTL who want to get backups of every partition in case they completely brick their device. This will be very useful if you have somehow screwed up your partitions beyond just /system, which is what most ROMs only include. It even backs up /efs, which contains the serial numbers unique to every player and other things that even complete restore ROMs and nandroid backups don't include. It's also good to just have a backup of your partitions stored somewhere safe, because you never know when you might need them. Also, if you're reverting from CM7 (the second release or later) you will need to use this with a PIT file because CM7 uses MTD partitions. Basically, flashing this backup will allow you to completely return to how your device was before, including all your personal data and apps. Hopefully soon we'll begin to have less "bricked my player help" threads clogging up the General (and sometimes Dev) sections. Enjoy
This backup does not back up bootloaders, which can increase your chances of a hard-brick and are almost never needed. Also, this is for the YP-G1 / Player 4.0 USA or INTL only, not for 5.0 users.
Disclaimer: I am not responsible for your device if anything happens blah blah blah
*Pre-requisites*
- Rooted device or ROM
- Busybox (Most rooted ROMs have this, but you can still download Busybox Installer from the Play Store and update to the latest busybox version just to make sure)
- ADB properly set up
- Some space on your internal SD card (about 1-2 GBs should be fine)
- Player set to "USB Debugging Mode" found in Settings
Alright, let's begin. First we will need to make a dump of every partition on the device. However, dumping the PIT is not needed because Adamoutler has a thread with a master list of PITs. Open a Command Prompt (or Terminal if you're using Linux), make sure your device is connected and type:
Code:
adb remount
adb shell
su
Now, to back up EFS:
Code:
dd if=/dev/block/stl3 of=/sdcard/efs.rfs bs=4096
PARAM
Code:
dd if=/dev/block/stl6 of=/sdcard/param.lfs bs=4096
KERNEL
Code:
dd if=/dev/block/bml7 of=/sdcard/zImage bs=4096
SYSTEM
Code:
dd if=/dev/block/stl9 of=/sdcard/factoryfs.rfs bs=4096
DBDATA
Code:
dd if=/dev/block/stl10 of=/sdcard/dbdata.rfs bs=4096
CACHE
Code:
dd if=/dev/block/stl11 of=/sdcard/cache.rfs bs=4096
DATA (Optional if you want your apps)
Code:
tar -czvf /sdcard/data.tar.gz /data
You can exit out of the current window and open a new one once all the processes above are completed.
Now to pull all of the backups to your computer:
Code:
adb remount
adb pull /sdcard/efs.rfs
adb pull /sdcard/param.lfs
adb pull /sdcard/zImage
adb pull /sdcard/factoryfs.rfs
adb pull /sdcard/dbdata.rfs
adb pull /sdcard/cache.rfs
adb pull /sdcard/data.tar.gz
I recommend keeping these files in a safe place on your hard drive for when you need to use them. Feel free to delete them from your player now to save space.
How to Flash
First grab the correct PIT for your device here
For Heimdall, just load the PIT, click "Re-Partition", and select the correct files for each partition. Then click flash.
For ODIN, you have to tar the files together first.
Using Cygwin or Terminal, browse to the directory where all your backup files are. Then, type in:
Code:
tar -H ustar -c efs.rfs param.lfs zImage factoryfs.rfs dbdata.rfs cache.rfs > backup_package.tar
Now load the PIT, click "Re-Partition", and under the PDA section browse to your backup_package.tar (or whatever you named it to). Click flash.
After it is done flashing, here's how to restore your apps. Open Terminal or Command Prompt to the directory of data.tar.gz on your computer:
Code:
adb remount
adb push data.tar.gz /sdcard/
adb shell su -c "tar -zxvf /sdcard/data.tar.gz"
And you're done! If all goes well you should have completely restored your device, with a perfectly safe method and no bootloaders! I hope that this will be helpful to people.
Reserved for future use....
I did this, and i believe that AdamOutlers .pit is what messed up my device. Can you please give me a copy of your or another copy?
Tcollins412 said:
I did this, and i believe that AdamOutlers .pit is what messed up my device. Can you please give me a copy of your or another copy?
Click to expand...
Click to collapse
AdamOutler's pit is not messed up... I used it to repartition my player and it worked perfectly with the right partitions.
Sent using Tapatalk
when i tried it, it messed up my player. do you know how i could fix it?
Hey klin1344, not sure if you still watch this thread, but I was wondering if anyone has had success using heimdall 1.3.2 with the 4.0? I see it says it broke compatibility with some devices.
iJimaniac said:
Hey klin1344, not sure if you still watch this thread, but I was wondering if anyone has had success using heimdall 1.3.2 with the 4.0? I see it says it broke compatibility with some devices.
Click to expand...
Click to collapse
No problem for me
i wanted to use this method to backup my /efs (like daniel advicd me to do ) but i cant seem to do it. It says Can't open 'sdcard/efs.rfs': Read only file system
pls answer
crancpiti said:
i wanted to use this method to backup my /efs (like daniel advicd me to do ) but i cant seem to do it. It says Can't open 'sdcard/efs.rfs': Read only file system
pls answer
Click to expand...
Click to collapse
You have to be rooted to do this.
Sent from my A500 using xda app-developers app
klin1344 said:
You have to be rooted to do this.
Sent from my A500 using xda app-developers app
Click to expand...
Click to collapse
i think either i hadnt BuSY box installed(my device was rooted before) or it was bcause i connected my device to the PC / i mounted my sdcards
now i have a efs.rfs file and that should do it i hope
thanks . i have problem with heimdall to download my wifi 4 int PIt file
is there any ADB command for downloading pit file from device?
aminking2005 said:
thanks . i have problem with heimdall to download my wifi 4 int PIt file
is there any ADB command for downloading pit file from device?
Click to expand...
Click to collapse
I do remember that there is the dd command from the adb shell in order to get your pit, but it's not the recommended way to get it.
You can download the pit files right here:
http://forum.xda-developers.com/showthread.php?t=1531850
zaclimon said:
I do remember that there is the dd command from the adb shell in order to get your pit, but it's not the recommended way to get it.
You can download the pit files right here:
http://forum.xda-developers.com/showthread.php?t=1531850
Click to expand...
Click to collapse
most pit file are represented for wifi4 8GB . but mine is 16GB.
so im not sure about pit files in forum.
if i install a custom rom and it faild can i recover my yp-g1 by having above backups?
aminking2005 said:
most pit file are represented for wifi4 8GB . but mine is 16GB.
so im not sure about pit files in forum.
if i install a custom rom and it faild can i recover my yp-g1 by having above backups?
Click to expand...
Click to collapse
Sorry for the long reply time, and yeah you should be able to restore with those backups.
Envoyé de mon Nexus 4 en utilisant Tapatalk

[Q]How to get system.img from nanodroid

I've tried using twrp and cwm to backup my system image but i havent been able to, with twrp i had system.ext4.win when i backed up only the system. Is their a tool or do i need to do it with adb ?
Thanks!
could you specify your phone/tablet model?
fantamedo said:
could you specify your phone/tablet model?
Click to expand...
Click to collapse
Galaxy s3
First make a full nandroid backup in CWMR, then on your phone navigate to mint/sdcard/clockworkmod then copy the folder of the backup you made (It should be the date of the backup by default) and transfer it to your computer. Once you transfer it to your computer open the backup folder and inside should be the system.img file.
You can also type these commands in terminal emulator to get your system.img:
Code:
su
dd if=/dev/block/mmcblk0p14 of=/mnt/sdcard/system.img bs=4096
Then just transfer the system.img from your sdcard to your computer. Let me know if you still have questions.
Sent from my SCH-I535 using xda premium
It didn't work with cwmr but I haven't tried out the terminal command
Sent from my SCH-I535 using xda premium
CovXX said:
It didn't work with cwmr but I haven't tried out the terminal command
Sent from my SCH-I535 using xda premium
Click to expand...
Click to collapse
Like I said try out the terminal command I suggested and let me know how it goes .
Sent from my SCH-I535 using xda premium
shimp208 said:
First make a full nandroid backup in CWMR, then on your phone navigate to mint/sdcard/clockworkmod then copy the folder of the backup you made (It should be the date of the backup by default) and transfer it to your computer. Once you transfer it to your computer open the backup folder and inside should be the system.img file.
You can also type these commands in terminal emulator to get your system.img:
Code:
su
dd if=/dev/block/mmcblk0p14 of=/mnt/sdcard/system.img bs=4096
Then just transfer the system.img from your sdcard to your computer. Let me know if you still have questions.
Sent from my SCH-I535 using xda premium
Click to expand...
Click to collapse
thanks man, just the command i was looking for, and it works like a charm.. :good:
So how about for a Razr M XT907 ? I ran the term command, but the img size was wayyy too small.
Find out what your system partition is and change command accordingly
Sent from my Nexus 4 using xda premium
livinginkaos said:
So how about for a Razr M XT907 ? I ran the term command, but the img size was wayyy too small.
Click to expand...
Click to collapse
You can find out your which partition your /system partition is by running the following commands either from terminal or adb shell as the root user:
Code:
ls -l /dev/block/platform/{your_platform_name_here}/by-name
For example on my Nexus 10 the platform name is "dw_mmc.0" so the command would look like:
Code:
ls -l /dev/block/platform/dw_mmc.0/by-name
To figure out your platform name first cd into the platform directory then list the contents of the platform directory to figure out what your platform name is:
Code:
cd /dev/block/platform/
ls
After you have then figured out what your platform name is you can run the command:
Code:
ls -l /dev/block/platform/{your_platform_name_here}/by-name
Once you have figured out your system partition you can dump it to your phones storage by running a command similar to:
Code:
cat /dev/block/block_of_system_partition > /mnt/sdcard/system.img
Let me know if you still have questions .
Awesome guys ! Thanks a bunch.
OK, so I have gotten the img. I've done it both ways with the dd and the cat. The image size comes up close to 1.5Gb. I know this is too large. The fastboot img file is normally in the 800-900 Mb range. Am I missing something here?
livinginkaos said:
OK, so I have gotten the img. I've done it both ways with the dd and the cat. The image size comes up close to 1.5Gb. I know this is too large. The fastboot img file is normally in the 800-900 Mb range. Am I missing something here?
Click to expand...
Click to collapse
Have you installed any additional system apps or placed any other files in the system folder? Because if you have modified the /system folder contents the file size will be greater then the normal 800-900 MB file range you listed since that file size if for an unmodified completely stock /system image.
Actually not really. I had done an erase data, roll back fxz, root, update and cache/dalvik wipe. Was trying to get a somewhat clean system.img
shimp208 said:
You can find out your which partition your /system partition is by running the following commands either from terminal or adb shell as the root user:
Code:
ls -l /dev/block/platform/{your_platform_name_here}/by-name
For example on my Nexus 10 the platform name is "dw_mmc.0" so the command would look like:
Code:
ls -l /dev/block/platform/dw_mmc.0/by-name
To figure out your platform name first cd into the platform directory then list the contents of the platform directory to figure out what your platform name is:
Code:
cd /dev/block/platform/
ls
After you have then figured out what your platform name is you can run the command:
Code:
ls -l /dev/block/platform/{your_platform_name_here}/by-name
Once you have figured out your system partition you can dump it to your phones storage by running a command similar to:
Code:
cat /dev/block/block_of_system_partition > /mnt/sdcard/system.img
Let me know if you still have questions .
Click to expand...
Click to collapse
When we come to Android 5.0 ages, we have new problems:
Method1 Using the dd we really can get the system.img, but in my 8994 device with busybox 1.23.1, it will 2.5GB fixed size, same as the system partition size.
so what I can found it works is , use sparsecoverter in this forum http://forum.xda-developers.com/showthread.php?t=2749797, we can remove the sparse bytes and make it a 1.4GB around and fastboot back to devices, that works fine, NOTE, that is not from dd nandroid backup. not from who only have TWRP and CWM backups;.
Method2 Using TWRP/CWM system.ext4.win/data.ext4.win, we can use
tar -xvf /storage/sdcard1/twrp/backup/abcd/2015-03-29-09-00-00/system.ext4.win
tar -xvf /storage/sdcard1/twrp/backup/abcd/2015-03-29-09-00-00/data.ext4.win
to gotten a folder, I run this on my target device under adb root and adb shell, but it will have many errors, tar remote link .... function not implement, so I think we need a cygwin according this post, but next step since Android 4.0 should be make_ext4fs, which will need a special build to avoid Permission Denied. which I still not success to finish it.
so, if Android successful tar -xvf and make_ext4fs story, please share here, thank you very much!
any news to help me forward?

dead touchscreen mini pro

my touch screen(including touch buttons for back and menu/option) is dead and i need to back it up.
is there a way to dump the phone memory to my pc or memorycard? i dont have debugging turned on :/
please help
EDIT: i am on official latest update not locked not rooted
A)is your phone rooted
Or
B)is your phone bootloader unlocked .
If neither then can you move the pointer(select) with navigation keys of keyboard and select using enter ?
Sent from my SK17i using Tapatalk 4
karandpr said:
A)is your phone rooted
Or
B)is your phone bootloader unlocked .
If neither then can you move the pointer(select) with navigation keys of keyboard and select using enter ?
Sent from my SK17i using Tapatalk 4
Click to expand...
Click to collapse
bootloader is unlockable but not unlocked
i cant get through the initial lockscreen (no code or pass just the swipe kind): i managed the first time i rebooted :/
i have managed to activate usb debug but the one click root er fails to run the superuser app :/
is there a manual way of doing it?
http://forum.xda-developers.com/showthread.php?t=2399464
Use cydia impactor
Then there is shell menu in the program
Use this command to backup everything
Code:
tar -c /sdcard/backup.tar /data/*
And wait for a while ...
Alternatively you can
Code:
dd if=/dev/block/mtdblock3 of=/sdcard/data.img bs=4096
Then
Code:
md5sum data.img > nandroid.md5
It will give you nandroid backup...copy the contents to backup the /sdcard/clockworkmod directory and then use it to restore in future when you have cwm...
Sent from my SK17i using Tapatalk 4
Code:
[email protected]:/ $ dd if=/dev/block/mtdblock3 of=/sdcard/data.img bs=4096
/dev/block/mtdblock3: cannot open for read: Permission denied
1|[email protected]:/ $ tar -c /sdcard/backup.tar /data/*
/system/bin/sh: tar: not found
is what i get :/
i tried copying the data folder with a file manager but to paste it needed the menu/options button :/
You need to be root user before executing .Use "su" ...and then execute commands...

Requesting Unbrick img for MJ7 for hard bricked

I know not a lot of people have their MJ7 rooted at this point but for those who did it can you upload an unbrick image archived using the following code
Code:
su
dd if=/dev/block/mmcblk0 of=/sdcard/backup.bin bs=1024 count=131072
I am trying the SD card unbrick method to see if I can unbrick my hard bricked (bootloader flashed) phone.
this is one of the many guides for the method: http://forum.xda-developers.com/showthread.php?t=2369125
the img file size should be 128mb, so please zip/compress before upload.
Thanks in advance!
Ah I see you requested me to upload one in the other thread. Sorry I didnt see your message. But bootloader version does matter. That being said I would upload one if I had an MJ7 debrick image. C'mon people upload this, it would also help development because we'd be able to experiment knowing we could unbrick. OP let me know if you need help creating it after someone hopefully uploads one.
Sent from my SCH-I545 using XDA Premium 4 mobile app
I am a complete noob, but my MJ7 S4 is rooted. Can you help me figure out where I'm supposed to put this code?
TheOnlyChicken said:
I am a complete noob, but my MJ7 S4 is rooted. Can you help me figure out where I'm supposed to put this code?
Click to expand...
Click to collapse
Yes if launch any command shell apps like Busybox and type in
Code:
su
dd if=/dev/block/mmcblk0 of=/sdcard/mmcblk0.img bs=1M count=100
It would copy the debrick img file from your phone onto your SD card and then if you don't mind please upload that file. Thanks!
Oops I have to have 10 posts for some reason... What should I do? Can I private message you or something? BTW the file is 100b, did I do something wrong?
I have a rooted S4 on mj7, let me know if you still need this
Sent from my SCH-I545 using xda app-developers app
Here's mine.
Maybe itll help someone let me know what else i can do.
I'm on MJ7 rooted.
arrowproof said:
Yes if launch any command shell apps like Busybox and type in
Code:
su
dd if=/dev/block/mmcblk0 of=/sdcard/mmcblk0.img bs=1M count=100
It would copy the debrick img file from your phone onto your SD card and then if you don't mind please upload that file. Thanks!
Click to expand...
Click to collapse
Let me know if that's what you were looking for.
Verizon Galaxy S4
# MJ7 #
ALL Knoxed Up!
Mistertac said:
Let me know if that's what you were looking for.
Verizon Galaxy S4
# MJ7 #
ALL Knoxed Up!
Click to expand...
Click to collapse
hmm I guess 1M doesn't register on the phone... can you try again with this
Code:
su
dd if=/dev/block/mmcblk0 of=/sdcard/backup.bin bs=1024 count=131072
the file size should be 128mb and then please zip/compress before upload. thanks
Here you go, I verified it was 128mb. It exceeds upload limit, so added to my dropbox.
https://www.dropbox.com/s/nsjor6ida1132cw/backup.zip
arrowproof said:
hmm I guess 1M doesn't register on the phone... can you try again with this
Code:
su
dd if=/dev/block/mmcblk0 of=/sdcard/backup.bin bs=1024 count=131072
the file size should be 128mb and then please zip/compress before upload. thanks
Click to expand...
Click to collapse
Here's mine as well. Verified 128mb.
https://www.dropbox.com/s/0yjgduyqg5ecgyd/backup.zip
Verizon Galaxy S4
# MJ7 #
ALL Knoxed Up!
Let us know if it works OP. I couldnt get MDK or ME7 to go reliably.
Sent from my SCH-I545 using XDA Premium 4 mobile app
failed
tried 3 different debrick file all failed to even get the phone turn on
arrowproof said:
tried 3 different debrick file all failed to even get the phone turn on
Click to expand...
Click to collapse
Try win32 disk imager on a class 10 sdcard mTching phone internal storage

[Ask] [Help] boot.img

hello guys. help me to get boot.img on my LG Magna (H502F) device. thanks before
You can try this
You could use the guidelines in this thread
http://forum.xda-developers.com/showthread.php?t=2450045
In my phone I couldn't list by name but if you use the cat commands in terminal Emulator with a rooted phone you can know the partition distribution in mmcblk0.
Hope this helps.
Here is described how to pull the files with the details remember first accessing to root privileges
vampirefo said:
Do you have a complete tutorial on how to do this? plus commands to restore? This would be great for us Linux users, I have two of these phones coming in from china and have zero desire to use windows to back up and restore a android device.
I think I got it figured out, wont know for sure until I get my phones to test.
Anyway basically I just
cat /proc/dumchar_info
this gives me partition info, from there I dd partition contents to sdcard, example below is to pull your recovery.img from the info you posted.
to pull eg backup
dd if=/dev/block/mmcblk0 of=/sdcard/recovery.img bs=4096 count=2560 skip=10112
to restore
dd if=/sdcard/recovery.img of=/dev/block/mmcblk0 bs=4096 seek=10112
Click to expand...
Click to collapse
If=the directory you are going to read, of=the directory you are going to write, I recommend using your internal memory to avoid any problems, I did this using terminal Emulator and fx file manager with the root plug in to copy those files to the external_SD card
Where bs= blocks size, 4096 is fine, count= the number of blocks to copy and skip is the number of blocks that are omitted blocks copy

Categories

Resources