-
-
Notifications
You must be signed in to change notification settings - Fork 34
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
add OnePlusN200TMO support #395
base: dev
Are you sure you want to change the base?
Conversation
* fixes openandroidinstaller-dev#320 Signed-off-by: SirRGB <sirrgb@proton.me>
The guide also includes the fastboot oem unlock btw, so we can either rely on the user and not run the oem unlock command in oai or we automate the process as much as we can. adb shell pm uninstall --user 0 com.qualcomm.qti.uim fastboot oem get_unlock_code get imei (requires account/user interaction, so we cant automate that, ~1w wait time) fastboot flash cust-unlock unlock_code.bin All of this isnt implemented yet. |
Great you found that! :) Getting unlock codes in implemented (even with frontend) for Sony and some Motorola devices. |
(Actual users would hate this but it might work if we pull it off well) What if we embed a web browser in the program to handle this? |
We can uninstall the app automatically as I said.
Then the device has to reboot into bootloader mode. We receive the unlock code, imei and serial number in the following commands, which should be parsed and temporarily saved (I think these commands are universal, but I only tested on my Moto G5).
After that we should output all of these cleanly, so that the user can create an account here. https://www.oneplus.com/unlock_token We cant speed up the unlock process, which takes ~7d and we cant expect the user to keep this app opened for that time, so we might have to implement the same procedure as the bootloader unlock/custom recovery checkboxes to skip forward. The progress of the unlock code generation can be checked here and you can download the https://www.oneplus.com/unlock_token?type=2 Lastly we can flash cust-unlock and start normal unlocking and flashing procedure after that. We should ask for the file path of
Using this procedure the user has to input the required info to create the account (which will be described in the app), download the |
OnePlusN200TMO
#320