Best way to factory reset other than MSM tool? - OnePlus 8T Questions & Answers

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

Related

locking Bootloader again?

I unlock the bootloader to install twrp and magisk, it's possible to lock the bootloader again without problems or the phone don't boot?
Toni Moon said:
I unlock the bootloader to install twrp and magisk, it's possible to lock the bootloader again without problems or the phone don't boot?
Click to expand...
Click to collapse
Locking you bootloader while TWRP and Magisk are installed will give you a guaranteed brick. Use a Fastboot Rom to return to stock, then you can lock it
If you want to keep TWRP and root, do not lock the bootloader. As the user mentioned above, you'll brick your device.
if i flash stock rom, than is that ok to lock the bootloader ? and how to lock it ?
majidshahab091 said:
if i flash stock rom, than is that ok to lock the bootloader ? and how to lock it ?
Click to expand...
Click to collapse
If you flash a full stock rom then yes. All you do is use the fastboot rom we talked about earlier, let the phone boot up (don't bother completing the setup process, just let the phone boot up), restart to bootloader, and use the following command from the command prompt on your pc:
Fastboot oem lock
It will give you a menu on your pone asking if you want to lock the bootloader. Tell it yes. It will then lock the bootloader, factory reset the phone, and then boot up normally with the bootloader locked. It's that easy.
ok thanks.one question. is that important to flash the stock rom using fastboot only ? or can i flash it using twrp ?
majidshahab091 said:
ok thanks.one question. is that important to flash the stock rom using fastboot only ? or can i flash it using twrp ?
Click to expand...
Click to collapse
I did it through twrp, worked just fine. Make sure to wipe beforehand though, don't want to risk bricking your phone
majidshahab091 said:
ok thanks.one question. is that important to flash the stock rom using fastboot only ? or can i flash it using twrp ?
Click to expand...
Click to collapse
Doing it with a Fastboot Rom will guarantee that things needing wiped will get wiped. When returning to full stock I will always recommend the Fastboot Rom just because of how it completely handles everything it does flawlessly. I imagine flashing a full rom in TWRP will work but I have never tried to return to stock this way
i did try stock using twrp and it was perfect
I have unlocked bootloader but in the end NOT installed TWRP or root (just wanted to test if i can live without it and still be able to install without wiping everything)
Now I just want to lock bootloader again for selling device.
Can I do so with simple fastboot command "fastboot oem lock" without bricking phone?
TaranQ said:
I have unlocked bootloader but in the end NOT installed TWRP or root (just wanted to test if i can live without it and still be able to install without wiping everything)
Now I just want to lock bootloader again for selling device.
Can I do so with simple fastboot command "fastboot oem lock" without bricking phone?
Click to expand...
Click to collapse
Use msm download tool to be sure. It will however wipe all.
TaranQ said:
I have unlocked bootloader but in the end NOT installed TWRP or root (just wanted to test if i can live without it and still be able to install without wiping everything)
Now I just want to lock bootloader again for selling device.
Can I do so with simple fastboot command "fastboot oem lock" without bricking phone?
Click to expand...
Click to collapse
You can, but if you are selling the phone I would still use a fastboot rom just to be sure everything is wiped and no data sensitive to you is being sold along with the phone.
Thanks a lot for the shared info here. This is just what I need and had been asking myself for quite some time now.??
So never lock bootloader with twrp and magisk installed.

Lock/Unlock boot loader?

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?

My PIxel stuck on google Screen. Help :(

I kept my phone on charge for a few mins and when I came back to unplug, it was stuck on google screen. tried turning off the device or restarting it but nothing works. The phone was extremely hot. My phone is completely factory stock. the bootloader is locked too. how to recover it now ? please help.
i tried entering recovery mode but as soon as i select recovery it gets back to google logo screen again.
right now i have kept the phone in freezer now.
my bootloader is locked .. can i still unlock it and flash factory image ?
help ?
not a single reply ? bump...
Are you able to communicate with the device using fastboot?
Try flashing the stock images via fastboot
You won't need an unlocked bootloader for this
post-mortem said:
Are you able to communicate with the device using fastboot?
Click to expand...
Click to collapse
yes im able to communicate with the device through fastboot. but my bootloader is locked.
wahur1 said:
yes im able to communicate with the device through fastboot. but my bootloader is locked.
Click to expand...
Click to collapse
Try the instructions at the top of the page here https://developers.google.com/android/images
It may work without unlocking the bootloader.
post-mortem said:
Try the instructions at the top of the page here https://developers.google.com/android/images
It may work without unlocking the bootloader.
Click to expand...
Click to collapse
whatever command i use it says OEM unlock is not allowed.
Just throwing out ideas that you may have already tried. If I understand right you cannot get into recovery which eliminates trying to sideload the stock image. Your bootloader is locked and it will not let you unlock so booting into TWRP is out of the question. Are you just wanting your phone operational again? Have you tried wiping/factory resetting with fastboot commands? i.e. fastboot erase userdata or fastboot format userdata.
wahur1 said:
whatever command i use it says OEM unlock is not allowed.
Click to expand...
Click to collapse
Have you tried flashing without unlocking the bootloader?
post-mortem said:
Have you tried flashing without unlocking the bootloader?
Click to expand...
Click to collapse
yes i have tried flashing by giving the fastboot command "flash-all.bat" it starts flashing and it stops in the initial stage by giving error " restarting bootloader" then I get 2nd error " bootloader locked" and process repeats again
toasterboy1 said:
Just throwing out ideas that you may have already tried. If I understand right you cannot get into recovery which eliminates trying to sideload the stock image. Your bootloader is locked and it will not let you unlock so booting into TWRP is out of the question. Are you just wanting your phone operational again? Have you tried wiping/factory resetting with fastboot commands? i.e. fastboot erase userdata or fastboot format userdata.
Click to expand...
Click to collapse
both command not working .. same bootloader locked message.
error message " Please unlock the device to activate this command"
anyone else can help ?
I would contact Google customer support. Even though my phone was out of warranty and I was not the original buyer (bought in eBay), they were willing to make a one-time exception for an RMA. I didn't use it because my phone is rooted and I was afraid of being charged for any repairs. As long as your phone is stock and unrooted, you have a chance. Just say that you think you have a hardware failure and while you understand that they are in no obligation to help, you would appreciate anything they can do.
Sent from my Pixel XL using Tapatalk

Stucked at MIUI logo

My phone suddenly stucked at MIUI logo. I didn't unlock the bootloader on the developer option that's why I can't flash my phone and I don't have any idea how to fix this. Can someone help me ? Please I need some answers and guide.
Try flashing stock in fastboot with MiFlash. If that doesn't work, RMA is the only option left...
Push the volume up button at startup to get into recovery. Then you can reset to factory defaults. That should solve the problem (and delete all your data).
Flixnet said:
Push the volume up button at startup to get into recovery. Then you can reset to factory defaults. That should solve the problem (and delete all your data).
Click to expand...
Click to collapse
Already deleted the data but still won't turn on. Still stucked at MIUI logo.
pnin said:
Try flashing stock in fastboot with MiFlash. If that doesn't work, RMA is the only option left...
Click to expand...
Click to collapse
I don't have access on flashing in fastboot because bootloader not unlock on my phone.
pnin said:
Try flashing stock in fastboot with MiFlash. If that doesn't work, RMA is the only option left...
Click to expand...
Click to collapse
what is RMA btw ?
You only have to unlock to flash a custom rom (or to modify the system). Flashing a original stock rom with the Xiaomi flash tool should also work with a locked bootloader.
RMA: Return Merchandise Authorization. Means to let it repair from the manufacturer or dealer.
Flixnet said:
You only have to unlock to flash a custom rom (or to modify the system). Flashing a original stock rom with the Xiaomi flash tool should also work with a locked bootloader.
RMA: Return Merchandise Authorization. Means to let it repair from the manufacturer or dealer.
Click to expand...
Click to collapse
Been researching for too long and flashing a custom rom is the only way. But the problem is there is no official store of xiaomi here in our place. Is there any third party apps that I can use to unlock the bootloader of my phone ?
Without unlocked bootloader, reset, MiFlash or Poco official service are your only options.
@Flixnet: thanks for clarifying my meanings.

KG: Prenormal and cannot boot to OS

I have my SM-G611F's KG state set to "Prenormal". OEM unlocking is enabled. But how can I bypass or get rid of KG Prenormal without being able to boot to the OS? Because I want to flash TWRP to make progress but KG stops me. I can boot to recovery, but trying to boot to OS, it reboots automatically.
Is your bootloader unlocked? Like you went and got to the bootloader r unlock screen and it made you factory reset? If not, do that. If so, you have to setup your device (only add wifi, do not do anything else), and then go to settings, and enable dev options. The checked that Orem unlocking si enable. Only then can you flash firmware.
Arealhooman said:
Is your bootloader unlocked? Like you went and got to the bootloader r unlock screen and it made you factory reset? If not, do that. If so, you have to setup your device (only add wifi, do not do anything else), and then go to settings, and enable dev options. The checked that Orem unlocking si enable. Only then can you flash firmware.
Click to expand...
Click to collapse
I said I cannot boot to the OS. And yes, I do indeed have OEM unlocking enabled but my KG is set to Prenormal and that prevents me from flashing anything that's not official.
triangl said:
I said I cannot boot to the OS. And yes, I do indeed have OEM unlocking enabled but my KG is set to Prenormal and that prevents me from flashing anything that's not official.
Click to expand...
Click to collapse
Yea, flash stock AND UNLCOK BOOTLOADER. Enabling Oem unlock is not enoug. The setting simply lets you unlock the bootloader. Afterwards, after the reset, connect your device to wifi and enable dev settings to make sure Oem in on and grayed out.
Arealhooman said:
Yea, flash stock AND UNLCOK BOOTLOADER. Enabling Oem unlock is not enoug. The setting simply lets you unlock the bootloader. Afterwards, after the reset, connect your device to wifi and enable dev settings to make sure Oem in on and grayed out.
Click to expand...
Click to collapse
I'm once again repeating myself, I cannot boot to the OS.
flash stock
Arealhooman said:
flash stock
Click to expand...
Click to collapse
I wouldn't be here if it was just simple enough as flashing stock. I did it many times, with different countries with U3. Doesn't work.
triangl said:
I wouldn't be here if it was just simple enough as flashing stock. I did it many times, with different countries with U3. Doesn't work.
Click to expand...
Click to collapse
With csc?
Arealhooman said:
With csc?
Click to expand...
Click to collapse
Yes, with various csces. I tried NAND Erase, Re-partition and various other things but it won't boot to the OS no matter what I do. I was able to boot when I had root, the problem is I don't have TWRP so I cannot root.
triangl said:
Yes, with various csces. I tried NAND Erase, Re-partition and various other things but it won't boot to the OS no matter what I do. I was able to boot when I had root, the problem is I don't have TWRP so I cannot root.
Click to expand...
Click to collapse
did you correctly reparation after nand erase?
I think you screwed up so bad you can’t recover. With a locked bl, ur prob screwed.
At this point, you prob need edl and firehose to recover
At this point it is as bad as a hard brick from what I can tell
Arealhooman said:
At this point, you prob need edl and firehose to recover
Click to expand...
Click to collapse
What are these?
Arealhooman said:
At this point it is as bad as a hard brick from what I can tell
Click to expand...
Click to collapse
I think you didn't notice my reply, so I will ask again. What is EDL or Firehose?
You are right, I did not notice. EDL has little documentation, but ti is pretty much a mode where you can fully reflash your device, including bootloader, into a factory state. It ignores your bootloader being locked, because it operates from a higher level. You can flash a stock firehose file through edl (that’s how you operate it(. Samsung usually does not give away their firehose files, so you can do your best unless you want to send it in.

Categories

Resources