[REQ] Nexus 4 16G partition table dump - Nexus 4 Q&A, Help & Troubleshooting

I would really appreciate if someone with 16G Nexus 4 can make a primary partition table dump.
It is only 17KB in size and has no personal information and is same on all 16G devices.
Device has to be rooted and root for adb should be enabled in dev options or it can be booted into cwm
Code:
adb shell
su (skip this test if booted into cwm)
dd if=/dev/block/mmcblk0 of=/sdcard/pgpt.img bs=512 count=34
exit
exit (skip this step if booted into cwm)
adb pull /sdcard/pgpt.img
Please post pgpt.img or send a PM to me.
Thanks!

http://d-h.st/bR1
Good luck with getting the full 16GB on the LOG to N4 conversion
Sent from my Nexus 4 using xda premium

android88 said:
http://d-h.st/bR1
Good luck with getting the full 16GB on the LOG to N4 conversion
Sent from my Nexus 4 using xda premium
Click to expand...
Click to collapse
Thanks! Yep, you nailed it, I'm converted (my phone, to be precise)
Can I ask another favor to make a dump of more partitions? I want to make sure they do not differ from 8G version.
Code:
...
dd if=/dev/block/platform/msm_sdcc.1/by-name/sbl1 of=/sdcard/sbl1.img
dd if=/dev/block/platform/msm_sdcc.1/by-name/sbl2 of=/sdcard/sbl2.img
dd if=/dev/block/platform/msm_sdcc.1/by-name/sbl3 of=/sdcard/sbl3.img
dd if=/dev/block/platform/msm_sdcc.1/by-name/tz of=/sdcard/tz.img
dd if=/dev/block/platform/msm_sdcc.1/by-name/rpm of=/sdcard/rpm.img
dd if=/dev/block/platform/msm_sdcc.1/by-name/aboot of=/sdcard/aboot.img
dd if=/dev/block/platform/msm_sdcc.1/by-name/misc of=/sdcard/misc.img
dd if=/dev/block/platform/msm_sdcc.1/by-name/persist of=/sdcard/persist.img
dd if=/dev/block/platform/msm_sdcc.1/by-name/DDR of=/sdcard/DDR.img
...
adb pull /sdcard/sbl1.img
adb pull /sdcard/sbl2.img
adb pull /sdcard/sbl3.img
adb pull /sdcard/tz.img
adb pull /sdcard/rpm.img
adb pull /sdcard/aboot.img
adb pull /sdcard/misc.img
adb pull /sdcard/persist.img
adb pull /sdcard/DDR.img

Related

ADB Backup

Hi All,
I've backed up my device using ADB with the following commands:
mkdir backup
cd backup
adb shell su -c "dd if=/dev/block/bml1 of=/sdcard/boot.bin bs=4096"
adb shell su -c "dd if=/dev/block/bml2 of=/sdcard/pit.pit bs=4096"
adb shell su -c "dd if=/dev/block/stl3 of=/sdcard/efs.rfs bs=4096"
adb shell su -c "dd if=/dev/block/bml4 of=/sdcard/Sbl.bin bs=4096"
adb shell su -c "dd if=/dev/block/stl6 of=/sdcard/param.lfs bs=4096"
adb shell su -c "dd if=/dev/block/bml7 of=/sdcard/zImage bs=4096"
adb shell su -c "dd if=/dev/block/stl9 of=/sdcard/factoryfs.rfs bs=4096"
adb shell su -c "dd if=/dev/block/stl10 of=/sdcard/dbdata.rfs bs=4096"
adb shell su -c "dd if=/dev/block/stl11 of=/sdcard/cache.rfs bs=4096"
adb shell su -c "dd if=/dev/block/bml12 of=/sdcard/modem.bin bs=4096"
adb shell su -c "tar -czvf /sdcard/data.tar.gz /data"
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/modem.bin .
adb pull /sdcard/efs.rfs .
adb pull /sdcard/boot.bin .
adb pull /sdcard/Sbl.bin .
adb pull /sdcard/pit.pit .
adb pull /sdcard/data.tar.gz .
And I would like to give the backup to some of my friends, but I would like to verify there are no "personal data" on the backup (I did a factory reset before the backup and there was no contacts \ data that was mine), I don't know what type of data should I delete from the files, (like IMEI and serial data..).
Please help me find out what shouldn't be on the backup,
Thanks,
AYahoo.
No one?
Sent from my GT-I9000 using XDA App

[R&D] Get ROOT! SGS3

LOL
might as well start this as it'll be hitting soon
Since it's ICS 4.x the most obvious choice to go about it would be via ODIN assuming, good old odin still works in SGS3
but before all that, we'll need a dump of the SGS3
so whom ever gets you hands on first on a SGS3 try to pull these
dumping / backing up your own stock ROM via adb
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
upload it multiupload or whichever your favourite file hosting service, then we can all hammer out the kernel to root it, and flash it back to the phone
reserved
AllGamer said:
dumping / backing up your own stock ROM via adb
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
Click to expand...
Click to collapse
Reminder: you can't dump partitions without root permission.
Which means.. you cannot dump partitions in order to root, as you're not rooted
supercurio said:
Reminder: you can't dump partitions without root permission.
Which means.. you cannot dump partitions in order to root, as you're not rooted
Click to expand...
Click to collapse
Epic thread is epic
supercurio said:
Reminder: you can't dump partitions without root permission.
Which means.. you cannot dump partitions in order to root, as you're not rooted
Click to expand...
Click to collapse
lmfao...
Lol eheheh
Sent from my GT-I9000 using xda premium
supercurio said:
Reminder: you can't dump partitions without root permission.
Which means.. you cannot dump partitions in order to root, as you're not rooted
Click to expand...
Click to collapse
lol own'd
Sent from my GT-I9100 using XDA
LOL the cat is out of the bag
AllGamer said:
LOL the cat is out of the bag
Click to expand...
Click to collapse
trololol
forum.xda-developers.com/showpost.php?p=22626294&postcount=1

[Request] Oppo Find 5 'boot.img' extract from device

Hey Folks,
Is there anyone who wants to extract the basic stock kernel from the Oppo Find 5.
I don't have the Oppo Find 5 yet, but I want to make a custom kernel for it.
Instructions:
- Make sure you have ADB set up
- Make sure your device is in USB debugging
Code:
adb shell
su
dd if=/dev/block/mmcblk0p18 of=/sdcard/boot.img
exit
adb pull /sdcard/boot.img
Thanks in advance!
Ps: A big thanks to the one that wants to do this!
brakke97 said:
Hey Folks,
Is there anyone who wants to extract the basic stock kernel from the Oppo Find 5.
I don't have the Oppo Find 5 yet, but I want to make a custom kernel for it.
Instructions:
- Make sure you have ADB set up
- Make sure your device is in USB debugging
Code:
adb shell
su
dd if=/dev/block/mmcblk0p18 of=/sdcard/boot.img
exit
adb pull /sdcard/boot.img
Thanks in advance!
Ps: A big thanks to the one wants to do this!
Click to expand...
Click to collapse
you probably want the ramdisk.gz ?
http://files.ngvincent.com/android/oppo-find-5/kernel/ramdisk.gz
if you want a walk through of building the kernel source
https://git.ngvincent.com/projects/oppo-x909-cm10/wiki
@paperWastage Thanks for the help!
paperWastage said:
you probably want the ramdisk.gz ?
http://files.ngvincent.com/android/oppo-find-5/ramdisk.gz
if you want a walk through of building the kernel source
https://git.ngvincent.com/projects/oppo-x909-cm10/wiki
Click to expand...
Click to collapse
The link from the ramdisk.gz is dead.
Do you have a mirror site?
brakke97 said:
Hey Folks,
Is there anyone who wants to extract the basic stock kernel from the Oppo Find 5.
I don't have the Oppo Find 5 yet, but I want to make a custom kernel for it.
Instructions:
- Make sure you have ADB set up
- Make sure your device is in USB debugging
Code:
adb shell
su
dd if=/dev/block/mmcblk0p18 of=/sdcard/boot.img
exit
adb pull /sdcard/boot.img
Thanks in advance!
Ps: A big thanks to the one that wants to do this!
Click to expand...
Click to collapse
Code:
c:\AndroidSDK\platform-tools>adb shell
[email protected]:/ $ su
su
[email protected]:/ # dd if=/dev/block/mmcblk0p18 of=/sdcard/boot.img
dd if=/dev/block/mmcblk0p18 of=/sdcard/boot.img
20480+0 records in
20480+0 records out
10485760 bytes transferred in 0.552 secs (18995942 bytes/sec)
[email protected]:/ # exit
exit
[email protected]:/ $ adb pull /sdcard/boot.img
adb pull /sdcard/boot.img
* daemon not running. starting it now on port 5038 *
* daemon started successfully *
error: device not found
However found the boot.img on the root of sdcard but failed to open it, maybe you have a better luck
Hello everyone,
I was wondering if there is any support for the T-Mobile LG Optimus F6? I was able to pull the aboot.img from the device, but I am not sure if this is even compatible or not? Here is the aboot.img attached to this post. Is it possible for someone to take a look at this? Thanks!
KaminoReal said:
Code:
c:\AndroidSDK\platform-tools>adb shell
[email protected]:/ $ su
su
[email protected]:/ # dd if=/dev/block/mmcblk0p18 of=/sdcard/boot.img
dd if=/dev/block/mmcblk0p18 of=/sdcard/boot.img
20480+0 records in
20480+0 records out
10485760 bytes transferred in 0.552 secs (18995942 bytes/sec)
[email protected]:/ # exit
exit
[email protected]:/ $ adb pull /sdcard/boot.img
adb pull /sdcard/boot.img
* daemon not running. starting it now on port 5038 *
* daemon started successfully *
error: device not found
However found the boot.img on the root of sdcard but failed to open it, maybe you have a better luck
Click to expand...
Click to collapse
thats because you need to split it first! with

[LOCKED BL] Fix: No Service or Emergency Calls Only

finally i figured a way to fix this issue. it worked for my locked H818P, hope it helps everyone
you need root for it.
here are the steps:
1. setup adb
2. enable USB Debugging
3. connect your phone to the PC and open an adb command window
4. execute these commands
Code:
adb shell
Code:
su
Code:
dd if=/dev/zero of=/dev/block/bootdevice/by-name/modemst1
Code:
dd if=/dev/zero of=/dev/block/bootdevice/by-name/modemst2
Code:
reboot
i found this on here
datscoolmetoo said:
finally i figured a way to fix this issue. it worked for my locked H818P, hope it helps everyone
you need root for it.
here are the steps:
1. setup adb
2. enable USB Debugging
3. connect your phone to the PC and open an adb command window
4. execute these commands
Code:
adb shell
Code:
su
Code:
dd if=/dev/zero of=/dev/block/bootdevice/by-name/modemst1
Code:
dd if=/dev/zero of=/dev/block/bootdevice/by-name/modemst2
Code:
reboot
i found this on here
Click to expand...
Click to collapse
I really thank you very very much. I have found the way to fix this problem more than a week. Finally found this post. Current Im very happy because my phone is working, It has signaled. Once again I would like to thank you very very much. Good luck to you.
How do you enter su mode. For me it is denied despite phone being rooted and running adbd app on phone to supposedly allow the su mode.

Complete Backup using PC (before rooting)/Restore after (nougat)

No fancy stuff for now, this guide will be to the point.
We are going to use TWRP that mounts only data and cache and dd command to backup all partitions to external_sd
Things needed:
Unlocked honor 7x with twrpimgmount installed : Go here
A 16gb memory card
Instructions:
1. Reboot your phone to recovery and connect it to PC
2. Open cmd in pc and navigate to adb and fastboot dir (you did this when you flashed twrp using fastboot)
3. run following commands one at a time (wait till it back ups)
Code:
adb shell
dd if=/dev/block/mmcblk0p28 of=/external_sd/boot.img
dd if=/dev/block/mmcblk0p41 of=/external_sd/bootfail_info
dd if=/dev/block/mmcblk0p36 of=/external_sd/cache.img
dd if=/dev/block/mmcblk0p45 of=/external_sd/cust.img
dd if=/dev/block/mmcblk0p34 of=/external_sd/dfx
dd if=/dev/block/mmcblk0p30 of=/external_sd/dts
dd if=/dev/block/mmcblk0p5 of=/external_sd/fastboot
dd if=/dev/block/mmcblk0p4 of=/external_sd/frp
dd if=/dev/block/mmcblk0p27 of=/external_sd/fw_hifi
dd if=/dev/block/mmcblk0p3 of=/external_sd/fw_lpm3
dd if=/dev/block/mmcblk0p37 of=/external_sd/hisitest0
dd if=/dev/block/mmcblk0p38 of=/external_sd/hisitest1
dd if=/dev/block/mmcblk0p39 of=/external_sd/hisitest2
dd if=/dev/block/mmcblk0p20 of=/external_sd/misc
dd if=/dev/block/mmcblk0p31 of=/external_sd/modem_fw
dd if=/dev/block/mmcblk0p18 of=/external_sd/modem_om
dd if=/dev/block/mmcblk0p17 of=/external_sd/modem_secure
dd if=/dev/block/mmcblk0p10 of=/external_sd/modemnvm_backup
dd if=/dev/block/mmcblk0p6 of=/external_sd/modemnvm_factory
dd if=/dev/block/mmcblk0p11 of=/external_sd/modemnvm_img
dd if=/dev/block/mmcblk0p12 of=/external_sd/modemnvm_system
dd if=/dev/block/mmcblk0p21 of=/external_sd/modemnvm_update
dd if=/dev/block/mmcblk0p7 of=/external_sd/nvme
dd if=/dev/block/mmcblk0p8 of=/external_sd/oeminfo
dd if=/dev/block/mmcblk0p40 of=/external_sd/patch
dd if=/dev/block/mmcblk0p16 of=/external_sd/persist
dd if=/dev/block/mmcblk0p48 of=/external_sd/product
dd if=/dev/block/mmcblk0p29 of=/external_sd/recovery.img
dd if=/dev/block/mmcblk0p22 of=/external_sd/recovery2.img
dd if=/dev/block/mmcblk0p23 of=/external_sd/reserved2
dd if=/dev/block/mmcblk0p9 of=/external_sd/reserved3
dd if=/dev/block/mmcblk0p14 of=/external_sd/reserved4
dd if=/dev/block/mmcblk0p15 of=/external_sd/reserved5
dd if=/dev/block/mmcblk0p32 of=/external_sd/reserved7
dd if=/dev/block/mmcblk0p33 of=/external_sd/reserved8
dd if=/dev/block/mmcblk0p43 of=/external_sd/reserved9
dd if=/dev/block/mmcblk0p42 of=/external_sd/rrecord
dd if=/dev/block/mmcblk0p13 of=/external_sd/secure_storage
dd if=/dev/block/mmcblk0p26 of=/external_sd/sensorhub
dd if=/dev/block/mmcblk0p19 of=/external_sd/splash2.img
dd if=/dev/block/mmcblk0p44 of=/external_sd/system.img
dd if=/dev/block/mmcblk0p24 of=/external_sd/teeos
dd if=/dev/block/mmcblk0p25 of=/external_sd/trustfirmware
dd if=/dev/block/mmcblk0p49 of=/external_sd/userdata.img
dd if=/dev/block/mmcblk0p35 of=/external_sd/vbmeta
dd if=/dev/block/mmcblk0p47 of=/external_sd/vendor.img
dd if=/dev/block/mmcblk0p46 of=/external_sd/version
dd if=/dev/block/mmcblk0p1 of=/external_sd/vrl
dd if=/dev/block/mmcblk0p2 of=/external_sd/vrl_backup
How to restore? (consider we have to restore system)
1. Reboot to twprimgmount
2. Copy your backed up image to external_sd
3. Run following command
Code:
adb shell
dd if=/external_sd/system.img of=/dev/block/mmcblk0p44
Join Telegram group if you are willing to test latest stuff.
Note: You can also use the TWRP backup function to get a stock backup. Restore it using twrp to get back to stock
DO NOT UNNECESSARILY RESTORE ALL PARTITIONS, IT MAY BRICK YOUR 7X.
A script @skippotter to make all this easy (not tested by me)
Follow next:
1. Flash magisk 14.0 (I use this) or Super su
2. Use different region firmware without rebranding
Sudeep Duhoon said:
No fancy stuff for now, this guide will be to the point.
We are going to use TWRP and dd command to backup all partitions to external_sd
Things needed:
Unlocked honor 7x with twrp installed : Go here
A 16gb memory card
Instructions:
1. Reboot your phone to recovery and connect it to PC
2. Mount system read only when twrp asks you
3. Open cmd in pc and navigate to adb and fastboot dir (you did this when you flashed twrp using fastboot)
4. run following commands one at a time (wait till it back ups)
How to restore? (consider we have to restore system)
1. Reboot to twrp
2. Copy your backed up image to external_sd
3. Run following command
Follow next:
1. Flash magisk 14.0 (I use this) or Super su
2. Manually Update Your 7x (coming soon)
Click to expand...
Click to collapse
Thank u soo much
reserved, just in case (yeah i got late, still)
Sudeep Duhoon said:
reserved, just in case (yeah i got late, still)
Click to expand...
Click to collapse
I have a question because I think I may be missing something. I understand this is a complete backup to PC. But, if I have flashed twrp to recovery and recovery2, will this method still backup those original .imgs?
Milly7 said:
I have a question because I think I may be missing something. I understand this is a complete backup to PC. But, if I have flashed twrp to recovery and recovery2, will this method still backup those original .imgs?
Click to expand...
Click to collapse
No it won't, it'll backup twrp recovery instead
But you can get stock recoveries from here
https://forum.xda-developers.com/devdb/project/?id=23956#downloads
Just a note for anyone trying this, make sure your external_sd is formatted exFAT not FAT32 or any file over 4gb, (system.img and userdata.img for me) will fail.
Here is a batch file that will work on windows to run all the commands sequentially
Can anyone Backup Vendor,Version,Product and Cust.img for L21C432 and upload please?
Or have anyone a Full Stock Twrp Backup for L21C432?
@Sudeep Duhoon What's the total expected size of userdata.img while backing up?? I'm using a 16gb sd card and it's showing I/O error at first line but copying around 9gb successfully.
is unlocking bootloader necessary for this? can't we just boot twrp by "fastboot boot twrp.img" and make backup with cmd?
Mohan0004 said:
is unlocking bootloader necessary for this? can't we just boot twrp by "fastboot boot twrp.img" and make backup with cmd?
Click to expand...
Click to collapse
anyone? please
Sudeep Duhoon said:
No fancy stuff for now, this guide will be to the point.
We are going to use TWRP and dd command to backup all partitions to external_sd
Things needed:
Unlocked honor 7x with twrp installed : Go here
A 16gb memory card
Instructions:
1. Reboot your phone to recovery and connect it to PC
2. Mount system read only when twrp asks you
3. Open cmd in pc and navigate to adb and fastboot dir (you did this when you flashed twrp using fastboot)
4. run following commands one at a time (wait till it back ups)
Code:
adb shell
dd if=/dev/block/mmcblk0p28 of=/external_sd/boot.img
dd if=/dev/block/mmcblk0p41 of=/external_sd/bootfail_info
dd if=/dev/block/mmcblk0p36 of=/external_sd/cache.img
dd if=/dev/block/mmcblk0p45 of=/external_sd/cust.img
dd if=/dev/block/mmcblk0p34 of=/external_sd/dfx
dd if=/dev/block/mmcblk0p30 of=/external_sd/dts
dd if=/dev/block/mmcblk0p5 of=/external_sd/fastboot
dd if=/dev/block/mmcblk0p4 of=/external_sd/frp
dd if=/dev/block/mmcblk0p27 of=/external_sd/fw_hifi
dd if=/dev/block/mmcblk0p3 of=/external_sd/fw_lpm3
dd if=/dev/block/mmcblk0p37 of=/external_sd/hisitest0
dd if=/dev/block/mmcblk0p38 of=/external_sd/hisitest1
dd if=/dev/block/mmcblk0p39 of=/external_sd/hisitest2
dd if=/dev/block/mmcblk0p20 of=/external_sd/misc
dd if=/dev/block/mmcblk0p31 of=/external_sd/modem_fw
dd if=/dev/block/mmcblk0p18 of=/external_sd/modem_om
dd if=/dev/block/mmcblk0p17 of=/external_sd/modem_secure
dd if=/dev/block/mmcblk0p10 of=/external_sd/modemnvm_backup
dd if=/dev/block/mmcblk0p6 of=/external_sd/modemnvm_factory
dd if=/dev/block/mmcblk0p11 of=/external_sd/modemnvm_img
dd if=/dev/block/mmcblk0p12 of=/external_sd/modemnvm_system
dd if=/dev/block/mmcblk0p21 of=/external_sd/modemnvm_update
dd if=/dev/block/mmcblk0p7 of=/external_sd/nvme
dd if=/dev/block/mmcblk0p8 of=/external_sd/oeminfo
dd if=/dev/block/mmcblk0p40 of=/external_sd/patch
dd if=/dev/block/mmcblk0p16 of=/external_sd/persist
dd if=/dev/block/mmcblk0p48 of=/external_sd/product
dd if=/dev/block/mmcblk0p29 of=/external_sd/recovery.img
dd if=/dev/block/mmcblk0p22 of=/external_sd/recovery2.img
dd if=/dev/block/mmcblk0p23 of=/external_sd/reserved2
dd if=/dev/block/mmcblk0p9 of=/external_sd/reserved3
dd if=/dev/block/mmcblk0p14 of=/external_sd/reserved4
dd if=/dev/block/mmcblk0p15 of=/external_sd/reserved5
dd if=/dev/block/mmcblk0p32 of=/external_sd/reserved7
dd if=/dev/block/mmcblk0p33 of=/external_sd/reserved8
dd if=/dev/block/mmcblk0p43 of=/external_sd/reserved9
dd if=/dev/block/mmcblk0p42 of=/external_sd/rrecord
dd if=/dev/block/mmcblk0p13 of=/external_sd/secure_storage
dd if=/dev/block/mmcblk0p26 of=/external_sd/sensorhub
dd if=/dev/block/mmcblk0p19 of=/external_sd/splash2.img
dd if=/dev/block/mmcblk0p44 of=/external_sd/system.img
dd if=/dev/block/mmcblk0p24 of=/external_sd/teeos
dd if=/dev/block/mmcblk0p25 of=/external_sd/trustfirmware
dd if=/dev/block/mmcblk0p49 of=/external_sd/userdata.img
dd if=/dev/block/mmcblk0p35 of=/external_sd/vbmeta
dd if=/dev/block/mmcblk0p47 of=/external_sd/vendor.img
dd if=/dev/block/mmcblk0p46 of=/external_sd/version
dd if=/dev/block/mmcblk0p1 of=/external_sd/vrl
dd if=/dev/block/mmcblk0p2 of=/external_sd/vrl_backup
How to restore? (consider we have to restore system)
1. Reboot to twrp
2. Copy your backed up image to external_sd
3. Run following command
Code:
adb shell
dd if=/external_sd/system.img of=/dev/block/mmcblk0p44
Join Telegram group if you are willing to test latest stuff.
Follow next:
1. Flash magisk 14.0 (I use this) or Super su
2. Manually Update Your 7x
Click to expand...
Click to collapse
Hello
Is some one can send me only boot.img of honor 7x please?
My phone can't boot after some tests. I do all backups found here before root, and do some tests and now it is not booting. It freez at unlock bootloader screen (black with orange texts)
when i restore my backed boot.img to /dev/block/mmcblk0p28, it is not working too
twrp is working
thanks
Mohan0004 said:
anyone? please
Click to expand...
Click to collapse
yes it will work if you can boot TWRP
But this would still require an unlocked bootloader
someone in another huawei forum have said that booting TWRP was not working (maybe disabled in fastboot)
instead of sdcard can we make backup directly to pc (in adb folder), what will be command for those?
Someone have backup for L24 they can upload?
skippotter said:
Here is a batch file that will work on windows to run all the commands sequentially
Click to expand...
Click to collapse
I did it a bit smaller and more generic in case Huawei is going to add another 200 partitions ... but in general it is your approach.
#!/bin/sh
srcdir=/dev/block/platform/hi_mci.0/by-name
if [ $# -eq 0 ]; then
tgtdir=/wherever/you/want/to/store​else
tgtdir="$1"​fi
echo ${tgtdir}
ls -l ${srcdir} > "${tgtdir}/partitions.list"
if [ $? -ne 0 ]; then
echo "unable to read /dev folder ... probably you are not root?"
exit 1​fi
for a in `ls ${srcdir} | grep -v userdata`; do
b=`ls -l ${srcdir}/${a} | cut -f 2 -d '>' | cut -f 2 -d ' '`
echo $a points to $b
if [ "$(ls ${b} | wc -l)" == "1" ]; then
dd if="$b" of="${tgtdir}/${a}" bs=2048​ else
echo "$b for $a not found!"​ fi​done
tar -cvf ${tgtdir}/userdata.tar /data
ls ${tgtdir}
tlxxxsracer said:
Someone have backup for L24 they can upload?
Click to expand...
Click to collapse
I would like to know the same thing. I did the backup, but it turns out my system and usersata were 0 bytes. Could really use a L24 backup of those partitions if someone has it available please.
kindly help me please
Can someone post the link to complete backup of the phone , my phone is dead
I need the original system partition so that I can restore the original recovery and update for volte.
Thanks!
If I wish export storage to pendrive with OGT adapter, not need abd shell?
Can you help me about commands 'd use? 'll be possible from terminal emulator with root?
Thanks before!!!!

Categories

Resources