Hi,
I want to dump the /data partition from my phone.
I've read that a custom recovery menu like TWRP would do the job but it requires an unlocked bootloader.
Unlocking the bootloader causes a factory reset and would wipe my /data partition.
Is there another way to dump the /data partition? I've seen tools like edl: https://github.com/bkerler/edl that could potentially dump partitions.
Does this require an unlocked bootloader? Did someone test this?
Is there another way to dump the partition? Is there a way to unlock the bootloader without a factory reset?
Best regards,
liquidvel
Related
As the Title states, I'd like to know if I can do a data backup via the stock Android Recovery, since I heard that Unlocking Bootloader would lead to a data erase. So I was wondering if whether I could restore the backup after unlocking bootloader and have my data intact (It ain't my phone)
I'm not sure but you can make a backup and place it on a computer and then unlock the boot loader and restore it when you are done with all the things.
Use carbon/helium.
So I see
I have root and twrp recovery but a locked bootloader. The phone is set up perfect.
Can i do a twrp backup, unlock bootloader, then restore twrp backup, or will the bootloader just be relocked when the backup is restored?
I have tried searching but it seems everyone else unlocks bootloader 1st.
thanks in advance
Bootloader status is independent of those partitions so it doesn't matter. Your bootloader won't get automatically locked/unlocked like this...
But remember that all DRM secured features of Sony are gone if you unlock BL (TA partition gets wiped).
Can we re-lock the boot loader on Pixel devices if the device is rooted and modded with custom boot and recovery partitions? I heard that it will brick the device when you try to re-lock the boot loader.
Also what if recovery partition ever gets corrupted and a user never had enabled OEM unlocking for the boot loader in the developer option as set as default, and the boot loader is locked as is, user can'f flash the factory images and /or full OTA from ADB.
I'm no expert but from what I've read 'Never relock the bootloader unless you are 10000% sure it's full stuck' and if I remember correctly there is no recovery partition on A/B slot builds which is why a brick is a non recoverable scenario (check that out just in case I'm wrong)
I've unlocked my bootloader and it ain't getting relocked after reading through heaps of bricked pixel threads, best to be safe than bricked.
Yep @junglism93 is right, only re-lock bootloader if you are 100% stock and unrooted to avoid bricks. Also Pixel doesn't have a recovery partition, everything happens in the boot partition, that means that in case of problems if you don't want to reflash the whole factory image (which needs unlocked bootloader), you can just reflash boot.img on slot-a and slot-b (which needs unlocked bootloader anyway).
I unlocked my bootloader straight after the unboxing and I can tell it's like a life saviour, if any problem occurs you can always solve it with an unlocked bootloader.
TENN3R said:
Yep @junglism93 is right, only re-lock bootloader if you are 100% stock and unrooted to avoid bricks. Also Pixel doesn't have a recovery partition, everything happens in the boot partition, that means that in case of problems if you don't want to reflash the whole factory image (which needs unlocked bootloader), you can just reflash boot.img on slot-a and slot-b (which needs unlocked bootloader anyway).
I unlocked my bootloader straight after the unboxing and I can tell it's like a life saviour, if any problem occurs you can always solve it with an unlocked bootloader.
Click to expand...
Click to collapse
That seems like a crazy partition scheme on the device. I can't stand that dreaded unlock screen at the startup. plus you never know for sure if that OEM unlock switch in the developer menu will stay enabled all the time and not accidentally get disabled after modding your device so you're just having a very vulnerable device if it is modded...eh?
I wonder if there is a pure Android device which does not have such restrictions and/or actually comes pre-rooted?
Hi, unlocking the bootloader will certainly wipe data. However, does re-locking the device do the same?
Yes
Hey what's up.
Having issues and want to start from scratch but the MSM download tool isn't working for me due to driver issues I can't seem to resolve.
I'm unlocked and rooted with a custom kernel but otherwise totally stock.
Would I be able to just fastboot flash the stock boot.img and relock the bootloader for a total data wipe? Would that be enough to start fresh?
Go into magisk. Click uninstall. Click restore images. Your images should have been backup by the app. Reboot and reset from reset option in phone. No need to relock.
Thanks. Is that as good as the MSM tool as data wipes go? Want to get as fresh as I possibly can without MSM...
shadowofdeth said:
Thanks. Is that as good as the MSM tool as data wipes go? Want to get as fresh as I possibly can without MSM...
Click to expand...
Click to collapse
Boot to fastboot,
Code:
fastboot -w
what is the best way to relock the bootloader from Rooted( Magisk) and unlocked bootloader ? I did fastboot lock last time, I guess it locked successfully but refused to boot. Had to use msm to unbrick. Could you suggest best practice for Locking the bootloader again from rooted stock ?
rohanhole said:
what is the best way to relock the bootloader from Rooted( Magisk) and unlocked bootloader ? I did fastboot lock last time, I guess it locked successfully but refused to boot. Had to use msm to unbrick. Could you suggest best practice for Locking the bootloader again from rooted stock ?
Click to expand...
Click to collapse
Don't lock bootloader after rooting
Keinta15 said:
Don't lock bootloader after rooting
Click to expand...
Click to collapse
Then ? Should I unroot and then lock ?
Don't try to lock the bootloader
rohanhole said:
Then ? Should I unroot and then lock ?
Click to expand...
Click to collapse
You can't lock the bootloader while rooted. Your patched boot fails startup checks. The only phone i remember that you could root and relock was the oneplus one. There was a software hack to do a soft bootloader lock/unlock without wiping the data.
To expand on that, if you modified any locked partitions and try to relock the bootloader, you'll essentially soft brick. The only thing you can modify is I believe is userdata. If you are unsure, why take the chance, especially since your MSM isn't working.
Just do a factory reset from recovery lol or use fastboot