[REQUEST] Need DD backup of mmcblk0 - SCL-L21 - Huawei Y6 Guides, News, & Discussion

Hello everyone, can someone send me a dd backup of mmcblk0? I need it to recover my device from hardbrick
Here's the command to take the dd backup
Code:
dd if=/dev/block/mmcblk0 of=/sdcard/backup.img bs=512

Darkness1 said:
Hello everyone, can someone send me a dd backup of mmcblk0? I need it to recover my device from hardbrick
Here's the command to take the dd backup
Code:
dd if=/dev/block/mmcblk0 of=/sdcard/backup.img bs=512
Click to expand...
Click to collapse
I will but my computer already shut down,,would be send the link tomorrow morning,just be patient

ozykes said:
I will but my computer already shut down,,would be send the link tomorrow morning,just be patient
Click to expand...
Click to collapse
Wow, thanks! Will wait for that, thanks!

Darkness1 said:
Wow, thanks! Will wait for that, thanks!
Click to expand...
Click to collapse
Here you go and sorry for the slow response https://drive.google.com/file/d/1EivvGFdUwGfYEDe_FTskz7EqW76TwSha/view?usp=drivesdk

Related

How can resize that system.ext2 size????

How can resize that system.ext2 size????
check out this thread http://forum.xda-developers.com/showthread.php?t=774254
you will need to install ubuntu (or a linux distro)
You will need to mount the orginal ext2 copy out the contents from that into a new folder then recreate the new ext2 using the genext2fs command and setting the size to somthing bigger. the suggest size in the post is 307200 (which equates to 300MB)
Hope this helps
you can also dd extra space to the end of the filesystem..
something like .
dd if=/dev/zero bs=1M count=X >> system.ext2
count=5 would add 5mb
edit forgot after you dd you have to run resize2fs system.ext2 to resize the filesystem.
aarons6 said:
you can also dd extra space to the end of the filesystem..
something like .
dd if=/dev/zero bs=1M count=X >> system.ext2
count=5 would add 5mb
edit forgot after you dd you have to run resize2fs system.ext2 to resize the filesystem.
Click to expand...
Click to collapse
It works! Thanks! I really needed it to add and replace some important stuff.
NSider said:
It works! Thanks! I really needed it to add and replace some important stuff.
Click to expand...
Click to collapse
Can you help me...i don,t understand,what is DD extra????thx
chungkai0111 said:
Can you help me...i don,t understand,what is DD extra????thx
Click to expand...
Click to collapse
dd stands for duplicate disc. it is a command that is used in a linux terminal.
If you want to use it then
a) you will need to install a linux distro (e.g. ubuntu) and
b)read this http://www.debianhelp.co.uk/commands.htm as it might help explain a bit more

Lag Fix for Galaxy S "Showcase"

I'm sorry to post this in the Fascinate forum, but as you all know Cellular South's version the "Showcase" is identical in hardware as is the Mesmerize, but there isn't a forum for either of them..
I see there's plenty of kernels and etc.. But is there just a simple lag fix that I can do to my Showcase that will make every day use better and less laggy?
A simple yes or no is fine with me.
if there is a way a link post or explanation would be VERY appreciated.
Thanks,
Elijahblake
(PS)Sort of on the same subject, but I read that gingerbread is going to support ext4 file system. I know the Galaxy S uses the RFS file system which I believe is where we get the lag in the first place.. Will it be possible to switch file system formats?
I'm not real familiar with all these Linux formats. Would it be similar to reformatting like from FAT32 to NTFS?
If you can provide some additional information and files, I can port some things such as Voodoo lagfix to your device.
Needed:
stock kernel
stock mbr
mount output
All of the following can be done through adb on a rooted device.
To dump the kernel do:
cat /dev/block/bml7 > /sdcard/zImage
To dump original mbr do:
dd if=/dev/block/mmcblk0 of=/sdcard/showcase.mbr bs=512 count=1
To get mount output do:
mount
then paste the output of that command as well as upload the showcase.mbr and zImage files here.
jt1134 said:
If you can provide some additional information and files, I can port some things such as Voodoo lagfix to your device.
Needed:
stock kernel
stock mbr
mount output
All of the following can be done through adb on a rooted device.
To dump the kernel do:
cat /dev/block/bml7 > /sdcard/zImage
To dump original mbr do:
dd if=/dev/block/mmcblk0 of=/sdcard/showcase.mbr bs=512 count=1
To get mount output do:
mount
then paste the output of that command as well as upload the showcase.mbr and zImage files here.
Click to expand...
Click to collapse
Ok will do, what's the best, easiest root method
Sent from my sch-i500 Showcase using XDA app
elijahblake said:
Ok will do, what's the best, easiest root method
Sent from my sch-i500 Showcase using XDA app
Click to expand...
Click to collapse
look for the thread in the fascinate forum simply titled "root"
also you will need to locate the thread explaining how to get clockworkmod recovery on the showcase in the same forum
jt1134 said:
look for the thread in the fascinate forum simply titled "root"
also you will need to locate the thread explaining how to get clockworkmod recovery on the showcase in the same forum
Click to expand...
Click to collapse
will do.. May take me some while to get all this info gathered..
quick question? I've read of some people not being able to see certain apps in the market after rooting.. Is this still the case?
If my phone is rooted and 2.2 finally does come out (officially) will have to un root and remove any lag fix to upgrade? How hard will this be?
elijahblake said:
If my phone is rooted and 2.2 finally does come out (officially) will have to un root and remove any lag fix to upgrade? How hard will this be?
Click to expand...
Click to collapse
To get the upgrade, you shouldn't have to un-root, but you should probably disable voodoo first as the update will almost certainly have a new kernel, and applying the update without disabling voodoo could cause quite a headache.
If you do apply the update right away, you could quite possibly loose root, so you may want to wait until the devs re-root the update. This could make things easier for you as the rooted update will also likely be cleaned up some.
To disable voodoo, you'd just need to create a file called "disable_lagfix" in /sdcard/voodoo and then reboot your phone. See the thread in the dev forum about removing voodoo for more details if you want.
ok well it looks like I'm rooted.. Now I tried to open the ADB that came in the fascinate root zip but it's not opening for more than a split second... you have a download link?
Also can uninstall all this bloatware now??
edit.. thought I had Android SDK on this laptop.. Downloading it now
jt1134 said:
If you can provide some additional information and files, I can port some things such as Voodoo lagfix to your device.
Needed:
stock kernel
stock mbr
mount output
All of the following can be done through adb on a rooted device.
To dump the kernel do:
cat /dev/block/bml7 > /sdcard/zImage
To dump original mbr do:
dd if=/dev/block/mmcblk0 of=/sdcard/showcase.mbr bs=512 count=1
To get mount output do:
mount
then paste the output of that command as well as upload the showcase.mbr and zImage files here.
Click to expand...
Click to collapse
Alright, so i'm rooted now and got ADB set up.. And this is the first time I've done any of this. So can you please tell me the exact commands to enter. I really don't want to mess anything up.
Thanks,
elijahblake
elijahblake said:
Alright, so i'm rooted now and got ADB set up.. And this is the first time I've done any of this. So can you please tell me the exact commands to enter. I really don't want to mess anything up.
Thanks,
elijahblake
Click to expand...
Click to collapse
I have c:\androidsdk
I put ADB inside tools and it sees my device when I run ADB devices
But on the commands you listed nothing happens, I'm not sure if that's the entire commands or if I'm supposed to add something to them..
Try to run the following
Code:
adb shell cat /dev/block/bml7 > /sdcard/zImage
adb shell dd if=/dev/block/mmcblk0 of=/sdcard/showcase.mbr bs=512 count=1
adb shell mount
or just typing "adb shell" and entering the commands at the new prompt, and typing "exit" to get back to the normal command prompt.
here's what happened..
the first two commands didn't work. DO i need to create a folder name zImages?
The second command said access denied..
You tell me if the mount worked haha..
jt will have to comment on whether that is what he needs from the mount command. Can you try the following to see if it works?
Code:
adb shell
su
shell cat /dev/block/bml7 > /sdcard/zImage
shell dd if=/dev/block/mmcblk0 of=/sdcard/showcase.mbr bs=512 count=1
exit
well, it granted me SU rights.. but still a no go...
i figured since i was in shell i shouldn't type that.. still got no directory found...
imnuts said:
jt will have to comment on whether that is what he needs from the mount command. Can you try the following to see if it works?
Code:
adb shell
su
shell cat /dev/block/bml7 > /sdcard/zImage
shell dd if=/dev/block/mmcblk0 of=/sdcard/showcase.mbr bs=512 count=1
exit
Click to expand...
Click to collapse
would root explorer make this any easier?
I just tested out all of the commands on my Fascinate and they all worked, so I'm guessing that the Showcase is putting stuff in a different place. jt will have to help you out further as I'm not sure of where else to look for the info he needs.
elijahblake said:
i figured since i was in shell i shouldn't type that.. still got no directory found...
Click to expand...
Click to collapse
for the cat command it should bml as in lowercase L, not 1. And it looks like you added a space between the of and = on the dd command.
GeekMouse said:
for the cat command it should bml as in lowercase L, not 1. And it looks like you added a space between the of and = on the dd command.
Click to expand...
Click to collapse
I typed it exactly the way you said.. still got this..
Can you take a shot at it?
elijahblake said:
I typed it exactly the way you said.. still got this..
Can you take a shot at it?
Click to expand...
Click to collapse
It doesn't need shell at the beginning.
elijahblake said:
I typed it exactly the way you said.. still got this..
Can you take a shot at it?
Click to expand...
Click to collapse
This is how it should be typed
Code:
adb shell
su
cat /dev/block/bml7 > /sdcard/zImage
dd if=/dev/block/mmcblk0 of=/sdcard/showcase.mbr bs=512 count=1
exit

How do I backup my efs on s4?

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???

[Q] Restore 32gb

So i think i messed up and installed a 16gb KDZ file instead of a 32GB file. What do i do to get the 32GB back?
Flash a 32GB kdz
Andr3y29 said:
Flash a 32GB kdz
Click to expand...
Click to collapse
Lol, what a pathetic answer. I wish it was as easy as that.
By flashing a 16 GB kdz you actually messed with your partitions - that's not so good.
I feel very sorry for you since it's quite a mess you have to go through. Here's the guide.
http://forum.xda-developers.com/showpost.php?p=50790181&postcount=49
Thanks, surprisingly it wasnt as bad as i thought, had to change the command lines and add /xbin and worked like a charm.
Fullmetalalchemist said:
Thanks, surprisingly it wasnt as bad as i thought, had to change the command lines and add /xbin and worked like a charm.
Click to expand...
Click to collapse
how? which command lines?
vPro97 said:
Lol, what a pathetic answer. I wish it was as easy as that.
By flashing a 16 GB kdz you actually messed with your partitions - that's not so good.
I feel very sorry for you since it's quite a mess you have to go through. Here's the guide.
http://forum.xda-developers.com/showpost.php?p=50790181&postcount=49
Click to expand...
Click to collapse
the difference of 32-16 gb is only form kdz? or for custom rom zip too?
4Freedom said:
how? which command lines?
the difference of 32-16 gb is only form kdz? or for custom rom zip too?
Click to expand...
Click to collapse
Only for kdz. Custom roms don't mess with your partitions (unless you're flashing the Korean lollipop)
adb shell
su
cd /system/xbin
parted /dev/block/mmcblk0
and
adb shell
su
cd /system/xbin
dd if=/system/xbin/sgpt32g.img of=/dev/block/mmcblk0 bs=512 seek=61071327 conv=notrunc
dd if=/system/xbin/pgpt32g.img of=/dev/block/mmcblk0 bs=512 seek=0 conv=notrunc

DD code for sprint v20 to push modem image

hi looking for help with using DD code to push modem image to sprint lg v20 me2151 shared the modem file with me but says i have to use DD code to install it would appreciate the help with fixing my PAPERWEIGHT V20. i need to know the exact wording in DD to fix my v20 again THANKS XDA COMMUNITY
possible wording for dd push
CAN I USE THIS DD CODE BELOW TO PUSH MODEM IMAGE TO SPRINT LG V20?
dd if=/data/media/0/modem.img bs=8192 seek=65536 count=557312 of=/dev/block/mmcblk0

Categories

Resources