Last active
June 30, 2020 15:54
-
-
Save dreamwhite/26feeb84ad7e8bc5cf4c485de3715d59 to your computer and use it in GitHub Desktop.
crDroid Oneplus 6T (fajita) install instructions
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
* Your warranty is... still valid? | |
* | |
* I am not responsible for bricked devices, dead SD cards, | |
* thermonuclear war, or you getting fired because the alarm app failed. Please | |
* do some research if you have any concerns about features included in this Recovery | |
* before flashing it! YOU are choosing to make these modifications, and if | |
* you point the finger at me for messing up your device, I will laugh at you. | |
*/ | |
[Requirements] | |
- Phone updated to latest OOS | |
- Unlocked bootloader | |
- crDroid zip (https://crdroid.net/fajita) | |
- TWRP from mauronofrio zip (https://eu.dl.twrp.me/fajita/) | |
- * Magisk (https://github.com/topjohnwu/Magisk/releases/latest) | |
- * OpenGApps Installer (http://opengapps.org/) | |
* Only if you need it | |
1. [How to update to latest OOS] | |
I hope you aren't so dumb, but simply "System Settings, Updates, Update, yes yes yes i want to update pleamze cheemz". | |
Q: Why updating to latest OOS? | |
A: crDroid 6.7 is based off Android 10, and the system should start from A10 Vendor image, else it won't boot :) | |
2. [How to unlock bootloader] | |
!!! NOTE THAT THIS STEP WILL WIPE EVERY DATA CONTAINED INSIDE YOUR DEVICE. PLEAMZE BACKUP IT CHEEMZ | |
Assuming you're still on OOS you need to enable developer options (the famouse "spam taps on Build Number inside system informations) then enable "Allow OEM unlock". | |
After that, from a adb shell, reboot to fastboot and unlock the bootloader with those commands: | |
- adb reboot fastboot | |
- fastboot unlock | |
After unlocking the bootloader, the system will start again with "Welcome to OOS". Proceed to the next step | |
3. [TWRP pt. 1] | |
After downloading the TWRP image, reboot the phone in fastboot mode: | |
- adb reboot fastboot | |
Then boot the TWRP image using: | |
- fastboot boot <RECOVERY.IMG> | |
(I hope you aren't so dumb to type "<RECOVERY.IMG>" :haha: replace it with the path of the previously downloaded image) | |
Now that you're in TWRP, go in "Reboot" menu and assure that you're running on active slot "A". If not, select it and repeat step 3. | |
Then in "Wipe" menu, wipe "System", "Dalvik/ART cache" and "format /data" | |
After everything is wiped, return to "Reboot" menu and select "B" as active slot. Reboot again in bootloader mode and repeat step #3. | |
4. [TWRP pt. 2] | |
After wiping both slots, put in "sdcard": | |
- crDroid zip | |
- TWRP installer | |
- * OpenGapps Installer ZIP | |
- * Magisk ZIP | |
Then in order: | |
1. Flash crDroid ZIP | |
2. Flash TWRP installer | |
3. Reboot to recovery mode | |
4. * Flash OpenGApps | |
!!! Please note that the 3rd step is required as the active slot will switch from B to A (B->A) | |
Now repeat again steps 1-4 then boot the system | |
5. [Magisk] | |
!!! PLEASE NOTE THAT MAGISK ZIP INSTALLER SHOULD BE FLASHED TWICE (one for A slot, another for B slot) | |
In order to install Magisk you should have both slots working (one for backup). | |
To check this you can follow those steps: | |
1. Reboot the phone in fastboot mode, then from a shell run "fastboot get_active": | |
$ fastboot getvar current-slot | |
current-slot: a | |
Reboot in recovery mode, then flash Magisk.zip. | |
Finally, select slot "B" as booting slot, then reboot to "Recovery" | |
Reflash Magisk again, and you have a working Magisk on both slots :) | |
For any trouble don't hesitate to dm me on Telegram: @trmoncode | |
6. [Troubleshooting] | |
Q: ctsProfile is false, how to fix it? | |
A: In order to pass SafetyNet test, you need: | |
- Magisk | |
- MagiskHideProps module | |
- Ozmosys Busybox | |
Install Magisk as per step 5, then, after booting the system, install the modules. | |
Then fire up a shell and: | |
$ su | |
$ props | |
$ 1 | |
$ f | |
$ 20 | |
$ 9 | |
This will set the right fingerprint for the device and will make you pass the SafetyNet :) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment