As soon as ROM dump is done, I unlocked the bootloader and applied root.
The first time was a failure, but it worked after another wipe.
The first time was a failure, but it worked after another wipe.
No! just wait the 7 days like everyone else. patience is the key when it come to rooting an unlocking bootloadersDoes anyone know if its possible to bypass the unlock code without 7Day waiting period?
Erm, yes, I did point out the phone had to be connected and in fastboot mode when you manually installed the fastboot drivers... What exactly was your issue?once in fastboot make sure your window drivers are working, i had to install them manually AGAIN using the .inf and selected "Android Bootloader Interface"
The PC is gonna use one of several drivers for the phone, depending on what mode the phone is in. It uses different drivers in fastboot mode than it does in recovery mode, which are different from the drivers when it's running normally.You'll need to manually install the drivers through the device manager while the phone is in fastboot mode and connected to the PC (right-click -> Update Drivers -> Browse Computer -> Let Me Pick -> Have Disk).
The drivers should be located at:
C:\Users\[username]\AppData\Local\Android\Sdk\extras\google\usb_driver\android_winusb.inf
You'll want the 'Android Bootloader Interface' driver.
Erm, yes, I did point out the phone had to be connected and in fastboot mode when you manually installed the fastboot drivers... What exactly was your issue?
That probably meant the phone wasn't in fastboot mode when you manually installed the drivers the first time. That, or your PC has more pressing issues than an odd driver reversion.The fact i had to load the drivers manually AGAIN (as in more than once).. normally windows doesnt forget the drivers once loaded. Just figured it might help someone that had similar issue.
Do you know which specific app to uninstall removes the OEM unlock restriction? I want to unlock the bootloader, but would rather keep the other preinstalled software.
So that one command, with no others needed, will remove the OEM Unlock restriction?This is the command/app:
adb shell pm uninstall --user 0 com.qualcomm.qti.uim
yes, correct. I've ran it numerous times now to re-enable OEM unlock after MSM restore. Trying to permanently edit init.rc and keep borking my phoneSo that one command, with no others needed, will remove the OEM Unlock restriction?
Can someone verify?
Thank you for sharing! Very helpful. How did you end up figuring out that it was this specific uninstall out of all 50+ in the debloat script?yes, correct. I've ran it numerous times now to re-enable OEM unlock after MSM restore. Trying to permanently edit init.rc and keep borking my phone![]()
I have added this info to the guide. Thanks for narrowing that down for us!This is the command/app:
adb shell pm uninstall --user 0 com.qualcomm.qti.uim
Thank you for sharing! Very helpful. How did you end up figuring out that it was this specific uninstall out of all 50+ in the debloat script?
I figured it out by trial and error. I was tired of having to reinstall a keyboard every time I ran the debloat script. As the script was running, I repeatedly kept trying to OEM unlock the phone. When I was able to successfully, the script was still running so I noted which app the script was currently removing. I then worked backward manually from that app the next time I needed to restore and OEM unlock - I was lucky because the first package I tried allowed me to unlock!
As @summersofar has correctly said above, DSU does not yet work with bootloader locked, which is why you got the brick. Fortunately, since you have the TMobile version, it can be easily fixed - just put the phone in EDL mode by pressing both Vol+ and Vol- at power up, and then use the MSMDownload tool for TMobile version that has been released, to unbrick it and restore to factory.I got a tmb n200 but unfortunately within 5min seemed to have bricked it already lmao.. didnt even put a sim in it yet haha.. i basically connected to wifi then selected dsu loader and it loaded but when i reset device it says it is corrupt and will not start lolol
i figured as much but thought what the hell.. i thought for some reason itd fail to load and would boot the other slot and continue to boot but apparently this was not the case lmao.. either way, sweet theres a msm tool to restore it.. i got phone into edl mode but didnt have any luck then i read this thread and now i will be good to go..As @summersofar has correctly said above, DSU does not yet work with bootloader locked, which is why you got the brick. Fortunately, since you have the TMobile version, it can be easily fixed - just put the phone in EDL mode by pressing both Vol+ and Vol- at power up, and then use the MSMDownload tool for TMobile version that has been released, to unbrick it and restore to factory.
i figured as much but thought what the hell.. i thought for some reason itd fail to load and would boot the other slot and continue to boot but apparently this was not the case lmao.. either way, sweet theres a msm tool to restore it.. i got phone into edl mode but didnt have any luck then i read this thread and now i will be good to go..
question, is there a thread talking about the unlock bin? anyone tried to figure out how they are created?
adb shell pm uninstall --user 0 com.qualcomm.qti.uim
fastboot --version
fastboot flash cust-unlock unlock_code.bin
fastboot oem unlock
I'd imagine a factory restore (via booting to the recovery partition) would re-install that no problem. Also wipe your data, but that's gonna happen when you get to the bootloader unlock anyways.
OK, that's neat.you do NOT need to carrier unlocked for bootloader unlock use this...... debloat script oneplus through ADB an once finished OEM UNLOCK will be ungrayed. then you can request a unlock token from oneplus then wait 7 days then flash an unlock bootloader.
im still carrier locked