Is it really possible to create mmcblk0.img from our smartphone? - Motorola One Questions & Answers

I want to try to recover hardbriked moto one from sd card, but I do not have the same working smartphone with root access.

bosh23 said:
I want to try to recover hardbriked moto one from sd card, but I do not have the same working smartphone with root access.
Click to expand...
Click to collapse
Sadly, I can't copy mmcblk0 from root to see card. It doesn't have access

borksek said:
Sadly, I can't copy mmcblk0 from root to see card. It doesn't have access
Click to expand...
Click to collapse
you are the man. please have a look at this. the first link is a linux shell script getting the image, the second one a little howto.
https://forum.xda-developers.com/chef-central/android/tool-mmcblk0-extractor-t3306883
https://stackoverflow.com/questions/29442630/copy-full-disk-image-from-android-to-computer
if you are on twrp
adb pull /dev/block/mmcblk0
should do it.
thanks:good:

I have results that mmcblk0 from SD card won't help in any single way

borksek said:
I have results that mmcblk0 from SD card won't help in any single way
Click to expand...
Click to collapse
what results?

sub77 said:
what results?
Click to expand...
Click to collapse
I found this:
[GUIDE] How to create 'mmcblk0.img' from a working device?
https://forum.xda-developers.com/moto-g5s/how-to/guide-how-to-create-mmcblk0-img-device-t3803176
[Guide] [Unbrick] How to revive a hard bricked Moto G5
https://forum.xda-developers.com/g5/how-to/rooted-moto-g5-run-morning-post-image-t3776012
I know that phones and emmc are different, but some managed to recover their hardbrick in this way.
we need to try this with cards 64 or 128 Gb.

bosh23 said:
I found this:
[GUIDE] How to create 'mmcblk0.img' from a working device?
https://forum.xda-developers.com/moto-g5s/how-to/guide-how-to-create-mmcblk0-img-device-t3803176
[Guide] [Unbrick] How to revive a hard bricked Moto G5
https://forum.xda-developers.com/g5/how-to/rooted-moto-g5-run-morning-post-image-t3776012
I know that phones and emmc are different, but some managed to recover their hardbrick in this way.
we need to try this with cards 64 or 128 Gb.
Click to expand...
Click to collapse
Doesn't work. You can't boot from mmcblk0. @tys0n tried and it failed.

borksek said:
Doesn't work. You can't boot from mmcblk0. @tys0n tried and it failed.
Click to expand...
Click to collapse
please make the image available if it is possible to you uploading about 8 gb zipped.

sub77 said:
please make the image available if it is possible to you uploading about 8 gb zipped.
Click to expand...
Click to collapse
Its no use it doesn't work

gimme a try, please.
it should work getting the right programmer, shouldnt it?

Related

Location of RECOVERY partition?

Hello, I am trying to find the block locations of the recovery, boot, and ibl partitions of my android device but don't know how. I need to pull them to create a stock rom but there is zilche (current) info on how to do this. Please help!
iJimaniac said:
Hello, I am trying to find the block locations of the recovery, boot, and ibl partitions of my android device but don't know how. I need to pull them to create a stock rom but there is zilche (current) info on how to do this. Please help!
Click to expand...
Click to collapse
Look at the contents of the following file as root.
/cache/recovery/last_log
rprr said:
Look at the contents of the following file as root.
/cache/recovery/last_log
Click to expand...
Click to collapse
Thanks. Helped me too. :good:
iJimaniac said:
Hello, I am trying to find the block locations of the recovery, boot, and ibl partitions of my android device but don't know how. I need to pull them to create a stock rom but there is zilche (current) info on how to do this. Please help!
Click to expand...
Click to collapse
http://forum.xda-developers.com/showthread.php?t=2450045

[EFS] EFS backup/restore app for S5 [SM-G900A/F/H/T]

Hey guys, worst part about samsung devices is always their EFS issues.. my samsung tool app has already gained support for SM-G900A, SM-G900F, SM-G900H, SM-G900T before root and custom roms are available, so first thing is first, root(when available) and backup EFS!
ive kept all downloads and discussion within the original thread here! - SAMSUNG TOOL APP HERE
this was made possible by leoaudio13 dumping his partition table!
I love u mate!
Sent from my SM-G900F using Tapatalk
@ricky310711 : if you can make apk to backup efs , its great if you can make apk to dump partitions hehe! BTW ricky, link to proper partition table in Dev section : http://forum.xda-developers.com/showthread.php?t=2695363
leoaudio13 said:
@ricky310711 : if you can make apk to backup efs , its great if you can make apk to dump partitions hehe! BTW ricky, link to proper partition table in Dev section : http://forum.xda-developers.com/showthread.php?t=2695363
Click to expand...
Click to collapse
gonna be hard though!
leoaudio13 said:
@ricky310711 : if you can make apk to backup efs , its great if you can make apk to dump partitions hehe! BTW ricky, link to proper partition table in Dev section : http://forum.xda-developers.com/showthread.php?t=2695363
Click to expand...
Click to collapse
actually thats not hard with root. lol
I'm working on recovery. waiting to hear back from tester(s) to see if we have a working img yet.
PlayfulGod said:
actually thats not hard with root. lol
I'm working on recovery. waiting to hear back from tester(s) to see if we have a working img yet.
Click to expand...
Click to collapse
it wasnt hard without root either
ricky310711 said:
it wasnt hard without root either
Click to expand...
Click to collapse
well you didnt get me the boot/recovery dumps til afterwards.
PlayfulGod said:
well you didnt get me the boot/recovery dumps til afterwards.
Click to expand...
Click to collapse
thats because nothing was accessible until after root, dumping system was easy, but any other directory/file on the device wasnt able to be read after until being rooted..
samsung didnt even include tar binary so I dumped over adb, then CF helped root and then we dumped raw images!
ricky310711 said:
thats because nothing was accessible until after root, dumping system was easy, but any other directory/file on the device wasnt able to be read after until being rooted..
samsung didnt even include tar binary so I dumped over adb, then CF helped root and then we dumped raw images!
Click to expand...
Click to collapse
yea system can be gotten with adb pull w/o root.
Check hangouts, got 2 imgs for yall to test.
PlayfulGod said:
yea system can be gotten with adb pull w/o root.
Check hangouts, got 2 imgs for yall to test.
Click to expand...
Click to collapse
corect! but some files I was still denied permissikn to pull from /system :/
ricky310711 said:
corect! but some files I was still denied permissikn to pull from /system :/
Click to expand...
Click to collapse
Gah!!! Im drunk ricky
Sent from my SM-G900F using Tapatalk
updated.
LTE devices have a QualcommChip, where everything is stored in the nvRAM, the EFS includes only files that have nothing but absolutely nothing to do with the IMEI.
Gesendet von meinem Nexus 5 mit Tapatalk
I backed up my EFS to internal storage but cant find it don't see no /data/media/SamsungTool/ (using EFS file explorer) just want to save a copy to the PC. What's the exact name of the backed up file so i can use the search feature? cheers.
Offica said:
I backed up my EFS to internal storage but cant find it don't see no /data/media/SamsungTool/ (using EFS file explorer) just want to save a copy to the PC. What's the exact name of the backed up file so i can use the search feature? cheers.
Click to expand...
Click to collapse
Backup to your External SD instead.
/storage/extSdCard/SamsungTool/efs.img
Sent from my SM-G900T
dynospectrum said:
Backup to your External SD instead.
/storage/extSdCard/SamsungTool/efs.img
Sent from my SM-G900T
Click to expand...
Click to collapse
Gotta buy a new sd card, But yeah did a search for efs.img and didn't come up, I'll wait and try when i get my sdcard.
G900s/g900l
Hi will it work on the G900S or G900L?
thehacker911 said:
LTE devices have a QualcommChip, where everything is stored in the nvRAM, the EFS includes only files that have nothing but absolutely nothing to do with the IMEI.
Click to expand...
Click to collapse
@thehacker911
For full backup, which partitions do you recommend?
Galaxy S5 SM-900P Partition table
you can still simply create a copy right?
I have always had rooted phones and my SGS 5 is no exception, it got rooted using CFroot in the carpark immediately on picking it up.
I have therefore always simply made a copy of the efs folder on to the external sd card which is then synced to my dropbox.
However I have not really kept up to date with developments in these areas, so my question is nowadays is this still enough to ensure the safety of my device and it's ability to connect to my carrier. In the past when I have had issues after flashing roms and things simply deleting the /efs folder and copying the contents of my back up into it and rebooting has always been sufficient to get my carrier back up and running is this still the case with the international SGS5 qualcomm variant or do I need to consider other elements?
When will it work for SM-G900V? I just rooted my phone today and would like to use this for my backups. I just tried it by using EFS backup and now it's stuck on a triangle with an exclamation mark that says Please Wait. Ugh! Help...

[Help]Swap internal to external SD Card.

Hi guys, so i'm having some problems with my SD card, i can't make my phone use my SD card entirely, i mean first of all the I/O sucks on this internal memory and it's too little, i can't even install 2 games like MC4 and WWZ. I wouldn't have come here if had not choice, i followed lots of tutorials that bricked my soft and had to reflash stock, so if any of you know any idea, it would be much appreciated, also i want to say that my phone it's rooted.Thanks in advance.
Rephosix said:
Hi guys, so i'm having some problems with my SD card, i can't make my phone use my SD card entirely, i mean first of all the I/O sucks on this internal memory and it's too little, i can't even install 2 games like MC4 and WWZ. I wouldn't have come here if had not choice, i followed lots of tutorials that bricked my soft and had to reflash stock, so if any of you know any idea, it would be much appreciated, also i want to say that my phone it's rooted.Thanks in advance.
Click to expand...
Click to collapse
Does your device have a vold.fstab in /system/etc/ ?
Sent from my GT-I8320 [CM7.2]
Yes, it has, can you tell me what should i set in it, please?
Rephosix said:
Yes, it has, can you tell me what should i set in it, please?
Click to expand...
Click to collapse
Just upload it and will see what I can do
Sent from my GT-I8320 [CM7.2]
Also looking forward for something like this
Sent from my LG-D620 using XDA Free mobile app
Hey, how can I tranfer games to my sd card? I install Asphalt 8 and it took almost my internal memory.
Vagelis1608 said:
Just upload it and will see what I can do
Sent from my GT-I8320 [CM7.2]
Click to expand...
Click to collapse
Here it is.
This would be to occupy the data sd games without being root or lose the warranty??
If so please tell how to do this since I have the user skills and this idea ......
Sorry, I couldn't figure it out
What you need is a kernel patch and I will need the boot.img of your device for that.
hi all..
this device was able to unlock bootloader ? if yes, can someone give me the boot.img and build.prop from this device?
101
Vagelis1608 said:
Sorry, I couldn't figure it out
What you need is a kernel patch and I will need the boot.img of your device for that.
Click to expand...
Click to collapse
I tried couple of tutorials, but i haven't managed yet to extract it, do you have any idea how can i extract it?
Rephosix said:
I tried couple of tutorials, but i haven't managed yet to extract it, do you have any idea how can i extract it?
Click to expand...
Click to collapse
0. Make sure you have full root access
1. Install a terminal emulator app from Play Store
2. Open it and run this command: su
3. Give the app SU access
4. Run this command: dump_image boot <path to your sdcard>/boot.img
5. Upload the img somewhere for me to download
Sent from my GT-I8320 [CM7.2]
Vagelis1608 said:
0. Make sure you have full root access
1. Install a terminal emulator app from Play Store
2. Open it and run this command: su
3. Give the app SU access
4. Run this command: dump_image boot <path to your sdcard>/boot.img
5. Upload the img somewhere for me to download
Sent from my GT-I8320 [CM7.2]
Click to expand...
Click to collapse
dump_image Not found ... and, yes, i have root access and plus can you make a backup of the stock recovery and give it to me ?
Rephosix said:
dump_image Not found ... and, yes, i have root access and plus can you make a backup of the stock recovery and give it to me ?
Click to expand...
Click to collapse
Install busybox
recovery.img: http://www.mediafire.com/?11avc2guyws66ra
Sent from my GT-I8320 [CM7.2]
Vagelis1608 said:
Install busybox
Sent from my GT-I8320 [CM7.2]
Click to expand...
Click to collapse
I already have busybox installed, maybe i need a different busybox.I'm using Stericson's or something like that.
Rephosix said:
I already have busybox installed, maybe i need a different busybox.I'm using Stericson's or something like that.
Click to expand...
Click to collapse
Never mind then
I will find a flashable stock ROM and extract the boot.img from there.
Towelroot + supersu + foldermount
I use this.
This would be awesome. The problem with the G2 mini is the internal memory of 4GB
Vagelis1608 said:
Never mind then
I will find a flashable stock ROM and extract the boot.img from there.
Click to expand...
Click to collapse
I have a stock ROM. How do you extract boot.img from kdz?
Anyway, here's the D618 boot.img
https://mega.co.nz/#!eZxkDBRS!WKagEjgRbCbg11KmvW9tsEb40L39cKJNFFArEoxmOrk
ali.filth said:
hi all..
this device was able to unlock bootloader ? if yes, can someone give me the boot.img and build.prop from this device?
Click to expand...
Click to collapse
Here are the files you need. Can you swap the internal to external SD?

Unbrick Qualcomm mobiles with Step-by-step guide

hi all
MY POCO F1 IS BRICKED WITH NO FASTBOOT MODE OR RECOVERY MOD:crying:
There is a way to get my phone back to life by creating a backup
“backup.img”
(root the phone first)
Format your external MicroSD card with “exfat” system file, and the size of this SD card should be morethan 16 GB , which is the size of the whole partition.
Do a full factory reset, meaning wipe your cache, data, and internal storage using either CWM, TWRP, or PhillzTouch.
Insert the SD card to your phone and connect your mobile with ADB, type:
adb shell
su
dd if=/dev/block/mmcblk0 of=/storage/sdcard1/backup.img bs=512 count=30535646
The size of the “backup.img” is around 16 GB, However, if you compressed it, it would be around 2 GB.
The way to back up “backup.img” https://www.droidsavvy.com/unbrick-qualcomm-mobiles/
Please create a backup "backup.img" and upload it so that I can download it
Any help is appreciated
Do you need a miui rom on the phone or is it possible with an custom rom?
oiseau1201 said:
Do you need a miui rom on the phone or is it possible with an custom rom?
Click to expand...
Click to collapse
No difference but the best miui rom
monzer said:
No difference but the best miui rom
Click to expand...
Click to collapse
How are you going to use this image?
Meaning, how is it going to be flashed inside the phone?
sotosgolf said:
How are you going to use this image?
Meaning, how is it going to be flashed inside the phone?
Click to expand...
Click to collapse
Here is the way https://www.droidsavvy.com/unbrick-qualcomm-mobiles/
any one plz
monzer said:
any one plz
Click to expand...
Click to collapse
Its so hard to give u cz we need to format all data. If u have an other way, i would help.
I have only nitrogen os running on my phone. But I want to change it maybe today. Then I can start fresh with data formatted. You are not forgotten but time is not so much this time caused Corona and my kids.
oiseau1201 said:
I have only nitrogen os running on my phone. But I want to change it maybe today. Then I can start fresh with data formatted. You are not forgotten but time is not so much this time caused Corona and my kids.
Click to expand...
Click to collapse
ok thanks
tiennhu89 said:
Its so hard to give u cz we need to format all data. If u have an other way, i would help.
Click to expand...
Click to collapse
no
oiseau1201 said:
I have only nitrogen os running on my phone. But I want to change it maybe today. Then I can start fresh with data formatted. You are not forgotten but time is not so much this time caused Corona and my kids.
Click to expand...
Click to collapse
Waiting plz
I don't have an sd card here. Can I store the backup.img on the PC directly?
oiseau1201 said:
I don't have an sd card here. Can I store the backup.img on the PC directly?
Click to expand...
Click to collapse
Maybe I don't know you can try:good:
Okay I'll try it
update:
creating the backup file now. your path to sdcard was wrong so i had to figure out whats the right path. And the command works only in twrp. right path was of=/external_sd/backup.img and i had to create the backup.img at first because it wouldnt be created by adb itself.
It will take mabee 30 minutes from now to create and a little more to place the file on my shared drive. I will notify you when its ready.
oiseau1201 said:
update:
creating the backup file now. your path to sdcard was wrong so i had to figure out whats the right path. And the command works only in twrp. right path was of=/external_sd/backup.img and i had to create the backup.img at first because it wouldnt be created by adb itself.
It will take mabee 30 minutes from now to create and a little more to place the file on my shared drive. I will notify you when its ready.
Click to expand...
Click to collapse
thanks man
monzer said:
thanks man
Click to expand...
Click to collapse
Happened?
He got the file didnt replyed yet if it was working
oiseau1201 said:
He got the file didnt replyed yet if it was working
Click to expand...
Click to collapse
my phone no show disk drives
Did you unplugged the battery of the phone before connecting to the PC?

Question Backup and restore pixel 6?

Seeing there is no TWRP for the pixel 6 yet, was wondering if there was a way to backup my current stock rooted rom for I can flash other roms? Then flash back of I don't like it.
There's a twrp. You mind testing it for me?
enigma2446 said:
Seeing there is no TWRP for the pixel 6 yet, was wondering if there was a way to backup my current stock rooted rom for I can flash other roms? Then flash back of I don't like it.
Click to expand...
Click to collapse
An easy method of restoring to stock if you don't like a custom ROM is to use Google's recovery tool. Or you can use ADB as it has commands for backing up and - I think - restoring.
NonStickAtom785 said:
There's a twrp. You mind testing it for me?
Click to expand...
Click to collapse
Sure thanks for responding.
NonStickAtom785 said:
There's a twrp. You mind testing it for me?
Click to expand...
Click to collapse
I'm down for testing recovery for pixel 6.
NonStickAtom785 said:
There's a twrp. You mind testing it for me?
Click to expand...
Click to collapse
you have 2 users willing to twst
Flar2's AppDash works great if you have root for backing up apps and app data.
As for ROM, I haven't tried this yet, but seems quite promising:
GitHub - Magisk-Modules-Alt-Repo/backup: An android CLI partition backup tool without custom recoveries.
An android CLI partition backup tool without custom recoveries. - GitHub - Magisk-Modules-Alt-Repo/backup: An android CLI partition backup tool without custom recoveries.
github.com
@enigma2446 @shelbo The image is inside the zip archive. Tell me if anything is incorrectly working I haven't tested it yet
OK I'll give it a shot in a couple of hours and let you know
NonStickAtom785 said:
@enigma2446 @shelbo The image is inside the zip archive. Tell me if anything is incorrectly working I haven't tested it yet
Click to expand...
Click to collapse
Any special flashing instructions?
NonStickAtom785 said:
@enigma2446 @shelbo The image is inside the zip archive. Tell me if anything is incorrectly working I haven't tested it yet
Click to expand...
Click to collapse
no go.......tried booting it and flashed it....would not boot
andybones said:
Flar2's AppDash works great if you have root for backing up apps and app data.
As for ROM, I haven't tried this yet, but seems quite promising:
GitHub - Magisk-Modules-Alt-Repo/backup: An android CLI partition backup tool without custom recoveries.
An android CLI partition backup tool without custom recoveries. - GitHub - Magisk-Modules-Alt-Repo/backup: An android CLI partition backup tool without custom recoveries.
github.com
Click to expand...
Click to collapse
have no idea how to use it...tried termux but dont understand fully
enigma2446 said:
have no idea how to use it...tried termux but don;t understand fully
Click to expand...
Click to collapse
same here I may give it a go.
May need to try another terminal.. IIRC Termux can run into issues.
It seems like in terminal:
-d all
should backup all
andybones said:
same here I may give it a go.
May need to try another terminal.. IIRC Termux can run into issues.
It seems like in terminal:
-d al
Click to expand...
Click to collapse
andybones said:
same here I may give it a go.
May need to try another terminal.. IIRC Termux can run into issues.
It seems like in terminal:
-d all
should backup all
Click to expand...
Click to collapse
Yes but I'm not sure about the backup output directory ...pixel is /storage/emulated/0/
andybones said:
same here I may give it a go.
May need to try another terminal.. IIRC Termux can run into issues.
It seems like in terminal:
-d all
should backup all
Click to expand...
Click to collapse
I get this output with nothing saved due to read only file system
enigma2446 said:
Yes but I'm not sure about the backup output directory ...pixel is /storage/emulated/0/
Click to expand...
Click to collapse
This is internal.
Are you rooted? U have to be g to of installed the module
andybones said:
This is internal.
Are you rooted? U have to be g to of installed the module
Click to expand...
Click to collapse
Yes I'm rooted with the module installed.

Categories

Resources