Can someone please help code to complete pit files from g850f to create ?*:good:
adb shell su -c "dd if=/dev/block/mmcblk0 of=/sdcard/mypitfile.pit bs=X skip=X count=X"
3ly51um said:
Can someone please help code to complete pit files from g850f to create ?*:good:
adb shell su -c "dd if=/dev/block/mmcblk0 of=/sdcard/mypitfile.pit bs=X skip=X count=X"
Click to expand...
Click to collapse
Did you get the numbers right ??
I would need the same info here:
http://forum.xda-developers.com/gal...t-efs-rest-t3169643/post62128668#post62128668
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.
I'm trying to extract boot, recovery, system from my Rogers Notes, and need some clarification. Do I need to be rooted first? When I try now, I cannot access /dev/block to extract any image.
It seems all the root methods available somehow modifies the kernel or recovery or system, which kinda makes it impossible to extract stock images?
Help please
I have used adb to shell into the Note and extracted the various images. I'm looking for stock Rogers images. The ones DAGr8 posted still has the Telus brand on them.
c:\> adb shell
$ su
# dd if=/dev/block/mmcblk0p24 of=/sdcard/system.img
# dd if=/dev/block/mmcblk0p22 of=/sdcard/recovery.img
# dd if=/dev/block/mmcblk0p8 of=/sdcard/boot.img
# exit
c:\> adb pull /sdcard/system.img
c:\> adb pull /sdcard/recovery.img
c:\> adb pull /sdcard/boot.img
ha! i'm on the boat, i'm trying to extract all the original stuff before going crazy on it
just a few min ago i PMed DAGr8 for details
seems like you beat him to it
i know the radio was already done
so i'll just do those 3 mentioned above
firefly9 said:
c:\> adb shell
$ su
# dd if=/dev/block/mmcblk0p24 of=/sdcard/system.img
# dd if=/dev/block/mmcblk0p22 of=/sdcard/recovery.img
# dd if=/dev/block/mmcblk0p8 of=/sdcard/boot.img
# exit
c:\> adb pull /sdcard/system.img
c:\> adb pull /sdcard/recovery.img
c:\> adb pull /sdcard/boot.img
Click to expand...
Click to collapse
firefly9 said:
I have used adb to shell into the Note and extracted the various images. I'm looking for stock Rogers images. The ones DAGr8 posted still has the Telus brand on them.
c:\> adb shell
$ su
# dd if=/dev/block/mmcblk0p24 of=/sdcard/system.img
# dd if=/dev/block/mmcblk0p22 of=/sdcard/recovery.img
# dd if=/dev/block/mmcblk0p8 of=/sdcard/boot.img
# exit
c:\> adb pull /sdcard/system.img
c:\> adb pull /sdcard/recovery.img
c:\> adb pull /sdcard/boot.img
Click to expand...
Click to collapse
Once I get adb running do I just input the above commands into the command prompt?
Does the "adb pull" command just copy the images from the device or does it remove them?
Sorry for the basic adb questions. I've always had Nexus phones so I'm not sure if things work differently on other phones.
Once in the shell on the device, denoted by the "$" prompt, enter the commands outlined. After the "dd" commands have been completed, enter "exit" (twice, actually) and then the "adb pull" commands to copy the images from the device to you local computer. The images are copied so they will remain on the device until you delete them.
i find this easier...
adb shell dd if=/dev/block/mmcblk0p13 of=/sdcard/amss.bin
adb shell dd if=/dev/block/mmcblk0p17 of=/sdcard/mdm.bin
adb shell dd if=/dev/block/mmcblk0p24 of=/sdcard/system.img
adb shell dd if=/dev/block/mmcblk0p22 of=/sdcard/recovery.img
adb shell dd if=/dev/block/mmcblk0p8 of=/sdcard/boot.img
adb pull /sdcard/amss.bin
adb pull /sdcard/mdm.bin
adb pull /sdcard/system.img
adb pull /sdcard/recovery.img
adb pull /sdcard/boot.img
So I kinda messed up on my bootloader unlocked p769 and updated to v20f with no root on accident. However, I've decided that I want to go back to cm10.1 on jellybean v20d. How do I accomplish this? I don't have recovery or anything now. What's the easiest way to do this? Thanks
If anyone could help I'd be very grateful!
nfilipac said:
If anyone could help I'd be very grateful!
Click to expand...
Click to collapse
http://forum.xda-developers.com/showthread.php?t=2338816 root your phone
Download and copy following to the sdcard :
http://forum.xda-developers.com/showpost.php?p=40441852 (unzip p1.zip)
https://www.dropbox.com/s/gw74cg1ntwmwlij/cwmtouch.img
http://forum.xda-developers.com/showthread.php?t=2355816 cm10.1 for p769
from your computer:
Code:
adb shell su -c busybox dd if=/sdcard/external_sd/p1.bin of=/dev/block/mmcblk0p1
adb shell su -c busybox dd if=/sdcard/external_sd/p2.bin of=/dev/block/mmcblk0p2
adb shell su -c busybox dd if=/sdcard/external_sd/cwmtouch.img of=/dev/block/mmcblk0p4
adb reboot recovery
or phone
Code:
su
busybox dd if=/sdcard/external_sd/p1.bin of=/dev/block/mmcblk0p1
busybox dd if=/sdcard/external_sd/p2.bin of=/dev/block/mmcblk0p2
busybox dd if=/sdcard/external_sd/cwmtouch.img of=/dev/block/mmcblk0p4
reboot recovery
wipe data/cache/dalvik
install cm10.1
Lelus said:
http://forum.xda-developers.com/showthread.php?t=2338816 root your phone
Download and copy following to the sdcard :
http://forum.xda-developers.com/showpost.php?p=40441852 (unzip p1.zip)
https://www.dropbox.com/s/gw74cg1ntwmwlij/cwmtouch.img
http://forum.xda-developers.com/showthread.php?t=2355816 cm10.1 for p769
from your computer:
Code:
adb shell su -c busybox dd if=/sdcard/external_sd/p1.bin of=/dev/block/mmcblk0p1
adb shell su -c busybox dd if=/sdcard/external_sd/p2.bin of=/dev/block/mmcblk0p2
adb shell su -c busybox dd if=/sdcard/external_sd/cwmtouch.img of=/dev/block/mmcblk0p4
adb reboot recovery
or phone
Code:
su
busybox dd if=/sdcard/external_sd/p1.bin of=/dev/block/mmcblk0p1
busybox dd if=/sdcard/external_sd/p2.bin of=/dev/block/mmcblk0p2
busybox dd if=/sdcard/external_sd/cwmtouch.img of=/dev/block/mmcblk0p4
reboot recovery
wipe data/cache/dalvik
install cm10.1
Click to expand...
Click to collapse
Thank you very much, that's exactly what I was looking for! however, there's just a little problem... when i open superuser to see if it rooted properly, I get "There is no SU binary installed, and SuperSU cannot install it. This is a problem!" I've tried both the method you linked and this method http://forum.xda-developers.com/showthread.php?t=2173465 but i get the same results. I've rooted before, but i dont know what I'm doing wrong this time!
EDIT: Figured it out I'm a noob. Thanks!
if you had a v20b FACTORY install, can you please respond to this thread. we need your x-loader and u-loader to unlock specific phones that meet specific conditions ( http://forum.xda-developers.com/showthread.php?t=2461483 ). you can get them on your internal OR external sdcard by being rooted with busybox installed, and typing:
Code:
# internal sdcard
adb shell su -c busybox dd if=/dev/block/mmcblk0p1 of=/sdcard/p1.bin
adb shell su -c busybox dd if=/dev/block/mmcblk0p2 of=/sdcard/p2.bin
# OR external
adb shell su -c busybox dd if=/dev/block/mmcblk0p1 of=/sdcard/external_sd/p1.bin
adb shell su -c busybox dd if=/dev/block/mmcblk0p2 of=/sdcard/external_sd/p2.bin
they are very small files and won't take you but a second to upload. it HAS to be FACTORY, other wise, you will NOT truly have the v20b's x-loader and u-boot. you can be rooted and install busybox (actually, you will HAvE to, if you want to copy those files), and it won't hurt - but your phone has to have been SHIPPED with v20b. you may be helping us to help you later down the road - because i don't know that those EXACT files exist any where on the internet (i've been looking).
thanks in advance.
I think the x&u of P760 is the same, whether it is extracted from KDZ (as Lelus did and provide) or it is from a phone that comes with v20b factory.
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