Hi,
I didn't find a definitive answer looking into XDA, is it possible to relock without wiping your data?
I only want to lock it if I don't have to reinstall everything, after setting it back to stock (I'm already on Stock with Magisk) with a clean boot image.
Cubox. said:
Hi,
I didn't find a definitive answer looking into XDA, is it possible to relock without wiping your data?
I only want to lock it if I don't have to reinstall everything, after setting it back to stock (I'm already on Stock with Magisk) with a clean boot image.
Click to expand...
Click to collapse
Nope
Cubox. said:
Hi,
I didn't find a definitive answer looking into XDA, is it possible to relock without wiping your data?
I only want to lock it if I don't have to reinstall everything, after setting it back to stock (I'm already on Stock with Magisk) with a clean boot image.
Click to expand...
Click to collapse
something else what do you want with magisk without a patched boot.img ??
and as has already been said, the relock of the bootloader is connected to a wipe, as is the case with unlocking
I would strongly recommend against locking your bootloader if you are not on a clean flash. If anything in /system doesn't pass vbmeta verification, the system will not boot.
User data shouldn't matter, but the safest way is always to perform a complete factory flash including a wipe.
Related
This may be a stupid question so please don't flame me for it but it's a simple and quick one.
If i do a factory restore on a rooted stock ROM for the Incredible, will i LOSE root and have to re-root??
If you do a Factory Reset, wipe, etc from recovery, you will not lose root, but will have to re-enter your accounts and the like when you re-boot. If you flash an original ruu, you will lose root and have to re-root.
If I am wrong on this, someone please correct me.
What if i do the factory restore from within the ROM itself instead of doing it from recovery?
Any difference there?
Predtechhacker said:
What if i do the factory restore from within the ROM itself instead of doing it from recovery?
Any difference there?
Click to expand...
Click to collapse
No, as said above, if you flash RUU back to stock, it puts the factory image on your phone. If you do a factory restore, it wipes all data from your phone and you need to reinstall everything. It will not change a custom rom back to a stock rom.
Excellent. Thanks man!
Damn, he's quick to respond. Ditto.
'ello mates!
I was reading the whole process of unlocking the bootloader, installing custom recovery, then rooting but unfortunately I didn't want to wipe the internal data storage in the process. Is there a way to get it rooted without wiping the phone?
Thanks in advance!
exProphecy said:
'ello mates!
I was reading the whole process of unlocking the bootloader, installing custom recovery, then rooting but unfortunately I didn't want to wipe the internal data storage in the process. Is there a way to get it rooted without wiping the phone?
Thanks in advance!
Click to expand...
Click to collapse
Rooting itself does not erase the data. Unlocking the bootloader does. No other bootloader methods are available, so it looks like you can't. Sorry man!
Hey everyone. My phone has been running like crap lately and I have thought about doing a factory reset. I just had a few questions. If I did a factory reset I'm pretty sure I lose root, but what about the custom recovery?
Also, this is what I had in mind to do - but would you mind checking to see if it would be my best route please? I am going to install a custom rom on it. But just wanted to do a factory reset / install stock firmware first before I did it.
Download and install stock firmware. 10B I believe is what it is.
Root it again and put the bumped recovery back on it.
Install CM12 or another rom.
Is that pretty much what I should do?
Thanks!
mikewelch5 said:
Hey everyone. My phone has been running like crap lately and I have thought about doing a factory reset. I just had a few questions. If I did a factory reset I'm pretty sure I lose root, but what about the custom recovery?
Also, this is what I had in mind to do - but would you mind checking to see if it would be my best route please? I am going to install a custom rom on it. But just wanted to do a factory reset / install stock firmware first before I did it.
Download and install stock firmware. 10B I believe is what it is.
Root it again and put the bumped recovery back on it.
Install CM12 or another rom.
Is that pretty much what I should do?
Thanks!
Click to expand...
Click to collapse
If you do a factory reset (with the kdz tool, its the best way if you want to reinstall the stock firmware), you lose everything (root, recovery, etc..) because it will flash the phone completely.
I recommend you to take a look at this for all the thing that you need to do: http://forum.xda-developers.com/showthread.php?t=2785089
And make sure you never do a factory reset from within Android w/ a custom recovery like TWRP installed, otherwise your phone will end up in a continuous boot loop. There's no reason for you to go back to stock anyway, as you're planning on reinstalling CM12 or installing a different ROM. You'll be doing a factory reset (wiping System, Data, Cache, and Dalvik) from within TWRP before flashing anyway, so there's no need to go back to stock beforehand.
mikewelch5 said:
Hey everyone. My phone has been running like crap lately and I have thought about doing a factory reset. I just had a few questions. If I did a factory reset I'm pretty sure I lose root, but what about the custom recovery?
Also, this is what I had in mind to do - but would you mind checking to see if it would be my best route please? I am going to install a custom rom on it. But just wanted to do a factory reset / install stock firmware first before I did it.
Download and install stock firmware. 10B I believe is what it is.
Root it again and put the bumped recovery back on it.
Install CM12 or another rom.
Is that pretty much what I should do?
Thanks!
Click to expand...
Click to collapse
If you flash your phone with kdz, yes, like the guy above said you will lose both root and recovery. What I'm curious about is reason you want to do it? You already have custom recovery so if you want to do factory reset (that is wiping data and cache partitions) why not do it manually there?
And what is the point of it? As you said you will flash CM12 or another ROM, so that will basically do a factory reset, you will wipe all (system, data, cache) to install your new ROM...
Of course before flashing or wiping system partition with TWRP I recommend doing a backup just in case.
Thanks for the info everyone. The reason I wanted to do a clean factory install instead of just putting on CM12 is because if I didn't like it, I could just go back to a stock, rooted KK.
Like I said it has been acting up lately, so maybe a clean install of factory can help it. That way, if I don't like CM I can just restore my clean copy.
Where as now, if I didn't like CM I would have to restore my messed up backup.
But I will probably flash back to stock firmware, root it again and put a custom recovery on it again. Make a backup of that, then play around with some ROMS.
But once again, I appreciate the help!
I finally got PN on my PixelXL and just looked at storage and it says the system uses 19.9 GB and I'm wondering if I can clean the alternate slot to free up this space
My 128gb XL on latest update only use 6.79gb system
Sent from my Pixel XL using XDA-Developers Legacy app
You need to flash a factory image which will wipe all data as I had the same issue I believe its the only fix as you need a full wipe to fix and if your going to full wipe your better off to just flash a full factory image and be 100% factory fresh.
M9guy said:
You need to flash a factory image which will wipe all data as I had the same issue I believe its the only fix as you need a full wipe to fix and if your going to full wipe your better off to just flash a full factory image and be 100% factory fresh.
Click to expand...
Click to collapse
I had the same issue. This ^^^ was the only fix.
toknitup420 said:
I had the same issue. This ^^^ was the only fix.
Click to expand...
Click to collapse
Did you try > fastboot format userdata
cam30era said:
Did you try > fastboot format userdata
Click to expand...
Click to collapse
Formatting didn't work for me. I needed fresh system image too
What I did was flash the new Google image then I locked the boot loader then unlocked it again. When I booted up, my storage was back to normal. After that I flashed the custom ROM. This has happened to me often.
Yamalito said:
What I did was flash the new Google image then I locked the boot loader then unlocked it again. When I booted up, my storage was back to normal. After that I flashed the custom ROM. This has happened to me often.
Click to expand...
Click to collapse
If you are on Verizon, DO NOT LOCK BOOTLOADER! Just a friendly reminder.
Yamalito said:
What I did was flash the new Google image then I locked the boot loader then unlocked it again. When I booted up, my storage was back to normal. After that I flashed the custom ROM. This has happened to me often.
Click to expand...
Click to collapse
That's a silly way of wiping data. Factory reset from os or fastboot erase userdata will accomplish the same thing.
tiny4579 said:
That's a silly way of wiping data. Factory reset from os or fastboot erase userdata will accomplish the same thing.
Click to expand...
Click to collapse
If someone is going to format user data they might as well flash the newest factory image. It just makes sense its also preventative maintenance and can keep your phone running at top performance.
M9guy said:
If someone is going to format user data they might as well flash the newest factory image. It just makes sense its also preventative maintenance and can keep your phone running at top performance.
Click to expand...
Click to collapse
Flashing the image is fine. Locking and unlocking the bootloader is unnecessary and should not be done if you're just trying to format. Locking th bootloader while playing around with a messed up system is the perfect storm for a bricked device.
toknitup420 said:
Flashing the image is fine. Locking and unlocking the bootloader is unnecessary and should not be done if you're just trying to format. Locking th bootloader while playing around with a messed up system is the perfect storm for a bricked device.
Click to expand...
Click to collapse
Oh definitely, I never would recommend to relock the bootloader that would be just asking for trouble. I replied to the guy saying to just wipe user data, which if your going to do that it just makes sense to flash the newest factory image and make good use of wiping user data and get back to factory fresh in the process that is just a no brainer.
I agree that locking and unlocking bootloader is silly, it can cause trouble, I'm aware of that, however that was the ONLY thing that worked for me in this case. I tried everything and the storage was still at 19 GB. I'm sorry if the method that worked for me is silly and unorthodox but for me that is all that worked. It's happened to me three times.
I have not yet received the phone, but when I do I will boot loader unlock/root. (If I don't intend to stay with Oxygen OS at all, should I even root or just flash the new ROM?) Also, is dirty flashing ok with this? Can I just flash it without wiping?
ZVNexus said:
I have not yet received the phone, but when I do I will boot loader unlock/root. (If I don't intend to stay with Oxygen OS at all, should I even root or just flash the new ROM?) Also, is dirty flashing ok with this? Can I just flash it without wiping?
Click to expand...
Click to collapse
When you unlock the bootloader it will wipe the device so dirty flashing is not in the equation.
If you are flashing CM then you dont need to root first but you will need to root after. (last I knew) Most roms these days dont come with root by default.
zelendel said:
When you unlock the bootloader it will wipe the device so dirty flashing is not in the equation.
If you are flashing CM then you dont need to root first but you will need to root after. (last I knew) Most roms these days dont come with root by default.
Click to expand...
Click to collapse
Yeah it will wipe it, but the system files are still there right? I was watching a video of someone installing a new ROM, and they deleted
Dalvik/ ART Cache
System
Data
Cache
Or am I wrong? Do I not need to wipe all those partitions before flashing? Really sorry for being a bother, fairly new to this.
ZVNexus said:
Yeah it will wipe it, but the system files are still there right? I was watching a video of someone installing a new ROM, and they deleted
Dalvik/ ART Cache
System
Data
Cache
Or am I wrong? Do I not need to wipe all those partitions before flashing? Really sorry for being a bother, fairly new to this.
Click to expand...
Click to collapse
That is what is called a clean flash. (always the best bet when flashing a rom rom and even suggested by all devs. You will be told that you can "dirty" flash (wiping only system and both caches) so your app data and settings stay after the flash but to be honest that is just being lazy as you will have to clean flash before you can post a bug report anyway, so why not do it from the start)
Yes when you unlock the bootloader the system will be fine. What the unlock does is pretty much a factory reset. So make sure to back up any pic, music or what ever.