Guide to revert oneplus 3t to stock completely and install OTA update - OnePlus 3T Guides, News, & Discussion

Hello Friends,
I have seen several Youtube videos and read the thread of xda senior member the rooter to unroot and revert the oneplus 3t to stock. The senior member guided very beautifully to have the stock ROM with or without the bootloader unlocked and fix DM-verity issue.
The following guide is not my invention, I have taken the sources from internet and xda site. The difference is that I used TWRP to flash official oxygenOS zip file of 4.1.6 and I am surprised that this file also flash stock recovery, therefore I did not flash stock recovery and proceeded further for full wipe and lock bootloader. In the middle of thread, I also alerted and said that if stock recovery is not flashed after installing zip of 4.1.6, then it is mandatory to flash stock recovery from fastboot before locking bootloader, otherwise your devices will be bricked.
1) Flash Oxygen OS 4.1.6 through latest TWRP 3.1.1.2 and remember to wipe system, cache, data and delvic cache excluding internal storage before flashing. Do not wipe completely otherwise you will have TWRP installed again and you will have to flash stock recovery through fastboot method.
Link for official TWRP for oneplus 3t: https://dl.twrp.me/oneplus3t/twrp-3.1.1-2-oneplus3t.img.html
Link for official stock recovery for oneplus 3t: http://downloads.oneplus.net/oneplus-3t/oneplus_3t_oxygenos_4.1.7/ , here go down the page and click on "Download Oxygen Recovey (Optional)"
After booting successfully, go to setting and tap the build number 7 times to enable advanced reboot and usb debugging and connect your mobile with your PC and make sure that you have adb drivers installed on your PC.
Now, extract the folder of fastboot and press the right click of mouse while pressing shift button. Basically you have to open command prompts. Now type: adb reboot recovery and hit enter.
2) Your phone should boot into oxygen stock recovery and if it does not boot to stock recovery then flash stock recovery from fastboot.
2) Now your oneplus 3t is having Oxygen OS 4.1.6 with stock recovery but having DM verity issue. Now, full wipe ( select erase everything) in stock recovery and reboot. This wiping through stock recovery may be extra step (locking the bootloader will erase your data completely) but I did this to avoid any problem.
3) Now, sideloaded the same file i.e. oxygen OS 4.1.6 or OOS 4.1.7 through the following command:
adb sideload OTA.zip
where OTA is zip file downloaded from oneplus site for oneplus 3t and renamed it as OTA
(For this, you will have to go to stock recovery and select the option of "install from ADB" then a pop up screen will show you that you are in sideload mode. But remember that sideloading the OS is a slow process; so keep patience and do not remove cable in the middle of installation otherwise your device will be bricked.)
4) Now, lock the bootloader from the command in fastboot mode:
fastboot oem lock
after entering the command in fastboot mode, a confirmation will be asked to lock the bootloader for Yes or No, confirm from the volume keys and let boot the phone automatically and wait to finish.
5) If you sideloaded the OOS 4.1.6 in step 3 then you will see the update notification of OOS 4.1.7 which is about 450MB, download it ,install it and reboot.
6) Enjoy............the stock
Thanks to guides on youtubes and xda site.
Please note that if you follow these steps, you will not have any issues because I have done again and again without any issues but I do not take any responsibility of bricked devices if you perform wrong method or skip any thing.
Please hit the like if find this useful, it is absolutely freeeeee.............

What if I currently have no OS installed? Does that matter?

sandeep_kumar said:
Hello Friends,
I have seen several Youtube videos and read the thread of xda senior member the rooter to unroot and revert the oneplus 3t to stock. The senior member guided very beautifully to have the stock ROM with or without the bootloader unlocked and fix DM-verity issue.
The following guide is not my invention, I have taken the sources from internet and xda site. The difference is that I used TWRP to flash official oxygenOS zip file of 4.1.6 and I am surprised that this file also flash stock recovery, therefore I did not flash stock recovery and proceeded further for full wipe and lock bootloader. In the middle of thread, I also alerted and said that if stock recovery is not flashed after installing zip of 4.1.6, then it is mandatory to flash stock recovery from fastboot before locking bootloader, otherwise your devices will be bricked.
1) Flash Oxygen OS 4.1.6 through latest TWRP 3.1.1.2 and remember to wipe system, cache, data and delvic cache excluding internal storage before flashing. Do not wipe completely otherwise you will have TWRP installed again and you will have to flash stock recovery through fastboot method.
Link for official TWRP for oneplus 3t: https://dl.twrp.me/oneplus3t/twrp-3.1.1-2-oneplus3t.img.html
Link for official stock recovery for oneplus 3t: http://downloads.oneplus.net/oneplus-3t/oneplus_3t_oxygenos_4.1.7/ , here go down the page and click on "Download Oxygen Recovey (Optional)"
After booting successfully, go to setting and tap the build number 7 times to enable advanced reboot and usb debugging and connect your mobile with your PC and make sure that you have adb drivers installed on your PC.
Now, extract the folder of fastboot and press the right click of mouse while pressing shift button. Basically you have to open command prompts. Now type: adb reboot recovery and hit enter.
2) Your phone should boot into oxygen stock recovery and if it does not boot to stock recovery then flash stock recovery from fastboot.
2) Now your oneplus 3t is having Oxygen OS 4.1.6 with stock recovery but having DM verity issue. Now, full wipe ( select erase everything) in stock recovery and reboot. This wiping through stock recovery may be extra step (locking the bootloader will erase your data completely) but I did this to avoid any problem.
3) Now, sideloaded the same file i.e. oxygen OS 4.1.6 or OOS 4.1.7 through the following command:
adb sideload OTA.zip
where OTA is zip file downloaded from oneplus site for oneplus 3t and renamed it as OTA
(For this, you will have to go to stock recovery and select the option of "install from ADB" then a pop up screen will show you that you are in sideload mode. But remember that sideloading the OS is a slow process; so keep patience and do not remove cable in the middle of installation otherwise your device will be bricked.)
4) Now, lock the bootloader from the command in fastboot mode:
fastboot oem lock
after entering the command in fastboot mode, a confirmation will be asked to lock the bootloader for Yes or No, confirm from the volume keys and let boot the phone automatically and wait to finish.
5) If you sideloaded the OOS 4.1.6 in step 3 then you will see the update notification of OOS 4.1.7 which is about 450MB, download it ,install it and reboot.
6) Enjoy............the stock
Thanks to guides on youtubes and xda site.
Please note that if you follow these steps, you will not have any issues because I have done again and again without any issues but I do not take any responsibility of bricked devices if you perform wrong method or skip any thing.
Please hit the like if find this useful, it is absolutely freeeeee.............
Click to expand...
Click to collapse
How can i find one plus 3t recovery I cant find both twrp and one plus official recovery.

Related

Unable to root using Nexus Root Toolkit 2.1.0 and Nexus Player Marshmallow MRA58N

I am having a difficult time rooting my Nexus Player on Marshmallow 6.0 MRA58N
I select the "Root" option and it pushes 3 files to my Nexus Player. Then it boots into TWRP and I plug in my mouse so I can flash:
-beta-supersu-v2.52.zip and
-busybox-signed
Then I reboot system but that's when I get the stuck logo.
I flash the provided files in recovery and then I reboot. However, when I reboot, I just see the animated logo (the one with the balls bouncing from left to right). It is stuck there. What am I doing wrong?
Same problem here, someone help plez.
I haven't even been able to get ADB or Fastboot to detect my NP.
fastboot flash in bootloader (do it manually) and heres all the stuff you will use/need:
http://forum.xda-developers.com/nexus-player/orig-development/marshmallow-mra58n-root-t3256647
I would recommend flashing PureNexus rom if your rooting. Million times better then stock, in my opinion. Its MM and pre rooted too. If your up for that, check it here:
http://forum.xda-developers.com/nexus-player/development/rom-pure-nexus-t3260232
I am unable to sideload PureNexus.
dfl said:
fastboot flash in bootloader (do it manually) and heres all the stuff you will use/need:
http://forum.xda-developers.com/nexus-player/orig-development/marshmallow-mra58n-root-t3256647
I would recommend flashing PureNexus rom if your rooting. Million times better then stock, in my opinion. Its MM and pre rooted too. If your up for that, check it here:
http://forum.xda-developers.com/nexus-player/development/rom-pure-nexus-t3260232
Click to expand...
Click to collapse
Hi I have tried to sideload to PureNexus using the instructions from http://forum.xda-developers.com/nexus-player/development/rom-pure-nexus-t3260232
I am receiving Footer is wrong and Signature validation failure errors.
Unlock your bootloader using fastboot. (fastboot oem unlock)
Flash PureNexus recovery. (fastboot flash recovery "purenexus_fugu_recovery-112515.img")
Reboot Bootloader (fastboot reboot bootloader)
Once in bootloader short press bottom button once until you see recovery option then long press the bottom button.
Once in recovery short press until you get to ADB then long press to get to the ADB sideload screen.
Sideload Rom (adb sideload pure_nexus_fugu-6.0-2015xxxx.zip) where xxxx is the date of the rom you are flashing..THIS IS WHERE I RECEIVE ERROR.
Sideload Gapps (adb sideload purenexus-gapps-mm-x86-leanback-20151202-signed.zip)
Short press until you get to Wipe data/factory Reset then long press (Clears data & cache)
Select reboot now
Once booted setup everything including Kodi
Then go back to recovery and sideload Kodi Mapping zip file. (adb sideload NexusPlayer-kodi-keymap-streaming-fix-signed.zip
Can you please help?
My Nexus Player just upgraded to Android 6.0 using the instructions from, http://forum.xda-developers.com/nexus-player/general/guide-nexus-player-how-to-unlock-t2961989.
Thanks...
dfl said:
fastboot flash in bootloader (do it manually) and heres all the stuff you will use/need:
http://forum.xda-developers.com/nexus-player/orig-development/marshmallow-mra58n-root-t3256647
I would recommend flashing PureNexus rom if your rooting. Million times better then stock, in my opinion. Its MM and pre rooted too. If your up for that, check it here:
http://forum.xda-developers.com/nexus-player/development/rom-pure-nexus-t3260232
Click to expand...
Click to collapse
I installed PureNexus as well, it's pretty nice. I lost adb debugging though, can't get adb to detect the nexus player unless I boot into recovery oddly.

[GUIDE] No Deep Sh!t Guide To UPGRADE BOOTLOADER

NO DEEP SH!T GUIDE TO UPGRADE BOOTLOADER​--Yes this is what it says!​
A short, Simple, No Questions ask guide to Upgrade bootloader without using fastboot or a PC and without losing your Internal Storage Data.
Steps:
Assuming that you are on OLD bootloader right now, already using OFFICIAL TWRP (compatible with old bootloader only).
Flash a rom which supports Block Based OTA or Stock ROM(oos 2.X.X). (I used PURITY ROM as i was having that only with me)
Explaination: Make sure that you are already running a rom which was using a block based OTA to install (those which have files compressed in a system.img/dat file, roms compiled by me (DU/Tesla/AICP/Broken) doesnt have it as i wanted all files to be easily extractable. Stock Oxygen OS zip scans for block size etc so its recommended you use a rom with block based ota installation)
Make sure you are having "OEM unlock" and "ADB/USB debugging" enabled in Developer options (if not, enable them first!)
Reboot to recovery > Go to MOUNT section and make sure all partitions are mounted) > Go to INSTALL and flash THIS STOCK ROM ZIP > when flashing is completed, Click on Back Button and Go to the main menu of TWRP and click on INSTALL > Click on Install/Flash image option and flash this NEW TWRP > Then click on REBOOT TO RECOVERY > Then click on REBOOT SYSTEM.
Let Stock rom boot first then enable "ADB/USB Debugging" and "oem unlock" in Developer Options
Reboot to Recovery and Flash This SuperSu Zip > Then Reboot System.
And You are done!
Now you are free to flash Any ROM or Kernel (which supports New Bootloader).
Side note:
If you are already in Trouble - unable to boot recovery/fastboot etc. then follow this Mega Unbrick Guide to Unbrick your device, (this guide will restore your device back to old LP Bootloader then follow the above guide to upgrade to New Bootloader.
I could boot into the stock os but couldn't get twrp to install...
After installing twrp and rebooting to recovery, I got a glimpse of the twrp interface, the screen flashed and then rebooted, I am back to stock recovery
So yeah went back and did the blu_spark install from PC
three0s said:
I could boot into the stock os but couldn't get twrp to install...
After installing twrp and rebooting to recovery, I got a glimpse of the twrp interface, the screen flashed and then rebooted, I am back to stock recovery
So yeah went back and did the blu_spark install from PC
Click to expand...
Click to collapse
Follow the steps properly and it will work as expected
These steps are tried and tested by many peeps and works.
Back to old!
Well this works good enough,
But can u provide a zip for going back to old bootloder, i know that flashing the whole oos 2.x.x rom does the trick but flashing a small file would be better and would save some memory and some seconds while flashing.
I'm on step 4, trying to flash the latest stock rom (OOS 3.1.4 which download from Oneplus site) and constantly gives me an error 7 during the installation. I tried to full wipe all sections, re-flash but the same error. I tried to change the "updater-script" erasing the commands, re-flash but the same error. I tried the mega unbrick guide and next your steps but again the same error. I can't understand what is going on. Everytime I manage to return to OOS 2.2.1 or a ROM with 6.0.1 version but I can't update the bootloader succesfully.
Any suggestion?
Good afternoon,
@CheckYourScreen You wrote "enable ADB/USB debugging". Why should I enable adb/usb if I have no contact with the PC? If I'm wrong so correct me please.
@three0s Maybee my Note helps you. Your OPX is oem unlockt, adb / usb driver installed so reboot in fastboot. With "fastboot devices" is your OPX hopefully detected from your PC. Now write "fastboot oem unlock". "fastboot erase recovery" will erase the Stock-Recovery. With "fastboot flash recovery your-twrp.img" the new one is installed. When you write now "fastboot reboot" so is the new Recovery installed and your System started but when you write "fastboot boot your-twrp.img" you make a reboot directly in the twrp-Recovery and you can install supersu and so on. Good Luck and, yes, my english is poor. Sorry.
mahalo

OnePlus 3T - How to Re-Make Fully Official OOS 4.1.0

Follow the Instructions
1. Download OOS 4.0.2.zip and OOS 4.1.0.zip
OOS 4.1.0
https://drive.google.com/open?id=0Bz...W1rUThrb3lHUWs
OOS 4.0.2
https://drive.google.com/open?id=0Bz...GVsTUtfd2VUY2M
2. Copy both files inside device internal memory
3. Unlock Bootloader and Flash latest TWRP Recovery
https://dl.twrp.me/oneplus3t/
4. Reboot into twrp recovery, click advance wipe & wipe
catch, data, system (without internal storage)
5. Flash Rom OOS 4.0.2.zip and reboot device
6. Reboot device into fastboot mode & flash stock recovery
https://drive.google.com/file/d/0BxMLRiiVuzpcN1ZTbDJoakhLOUE/view?usp=sharing
7. After flash complete don't reboot device just enter this commands using commands prompt
fastboot oem disable_dm_verity
fastboot oem enable_dm_verity
8. After success and finished
reboot device and go to stock recovery
9. Flash Rom OOS 4.1.0.zip and after complete reboot device
10. Now lock bootloader using fastboot and reboot device into stock recovery again
11. Reset and wipe everything from stock recovery
12. That's all now you feel free from dm-verity warning
and get your device fully official.
Note:- please don't forget to enable usb debugging from developers option an every reboot of device.
Oxygen OS 4.1.0 Full
https://www.androidfilehost.com/?fid=673368273298939097
Oxygen OS 4.0.2 Full
http://downloads.oneplus.net/devices/oneplus-3t/
Moderator Information,
Thread has been closed as stated before we have a thread for this already: [FIX][OP3/OP3T] DM-Verity warning fix. Works on 4.1.0!!
EDIT: @pkdubai20 please check your private messages.

* * * [Pixel 2 XL] - UPDATE Monthly Factory Image / UPGRADE To New OS * * *

WHO IS THIS GUIDE FOR:
Anyone updating factory images within the same OS version (10 to 10)
Anyone upgrading from one OS to another (9x to Android 10)
Below is a QUICK REFERENCE guide for those who have done this before, and a DETAILED STEP BY STEP guide for the first or second timer who needs each and every step outlined. Links to all required files are also provided (make sure you are selecting the latest version)
UPDATE TO THE LATEST FACTORY IMAGE . . . UPGRADE TO THE NEXT OS. . .
PREP WORK:
* Unlocked bootloader. (*performing critical_unlock only required with bootloader versions PRIOR to TMZ20a) read it here.
* Latest SDK Platform Tools found here.
* USB 2.0 & 3.0 cables available (trust me)
* Remove screen lock security before starting
* Remove all substratum overlays
*Download and extract the latest Taimen factory image (place the second extracted folder in Platform Tools folder)
CLEAN FLASH (wipe everything) or DIRTY FLASH (keep data)
Decide now whether you want a fresh OS that will restore your device to factory setup OR if you want to flash the latest factory image but keep your data.
For a clean flash: leave the FLASH-ALL file intact, change nothing.
To retain your data: EDIT the FLASH-ALL file and REMOVE the -w near the end of the script. Save the file and reopen it to ensure the -w has been removed,
When UPGRADING from one OS to another I reco a CLEAN FLASH (leave the -w intact)
Place these files on your sdcard (either before dirty flash or from PC after clean install):
* Latest TWRP.ZIP
* Your preferred customer kernel zip, I use ElementalX kernel
* Magisk uninstall instructions In the event you need to manually uninstall and reinstall MM
* Latest Magisk.zip
* Latest Magisk Manager APK
NOTE: On Android 10, when flashing TWRP Installer, kernels, magisk , etc. in TWRP, ignore the warning "FAILED TO MOUNT '/system' (invalid argument) this is a known issue with TWRP + 10 but affects nothing :good:
QUICK REFERENCE GUIDE for updating/upgrading Pixel 2 XL:
Once you verify 'fastboot devices' on command prompt
Type flash-all to install factory image (allow it to install, and boot into system)
Hold vol down and power button to boot into bootloader
Fastboot into twrp 3.3.0-0.IMG
Flash the twrp installer 3.3.0-0.ZIP,
Flash custom kernel, I use flar2's ElementalX Kernel. SELECT THE CORRECT 9X OR ANDROID 10 KERNEL
Let the system boot up to verify.
Reboot back into twrp and flash latest magisk
Reboot to system
Profit
DETAILED STEP BY STEP GUIDE for updating monthly factory images, or upgrading to the next OS (ie: 9x to 10x)
I reco a CLEAN FLASH (leave the -w intact) when jumping from one OS to a new one (not necessary when doing monthly factory updates within the same OS version)
Requirements:
*Unlocked bootloader and Critical_unlock* completed. (*critical_unlock required with bootloader versions PRIOR to TMZ20a) read it here.
*Latest SDK PlatformTools found here
*USB 2.0 & 3.0 cables available (trust me)
These files on your sdcard:
* Latest TWRP.ZIP
* Your preferred Custom Kernel, I use Elemental X Kernel
* Magisk uninstall instructions In the event you need to manually uninstall and reinstall MM
* Latest Magisk.zip
* Latest Magisk Manager APK
These files in your Platform Tools Folder:
* Latest factory image (MAKE SURE YOU DL THE CORRECT DEVICE IMAGE :good: )
* Latest TWRP.IMG
1. Make backup, move to PC (because you never know)
2. Disable all security; patterns, pins, etc.
3. In Developer Options, make sure USB DEBUGGING is on
4. Connect device to PC, verify fastboot is working type; fastboot devices (should see your device's serial number)
5. Fastboot latest factory image (To KEEP internal storage intact, edit and remove -w in "flash-all.bat" file and SAVE, to wipe entire device, leave flash-all unedited)
Type: FLASH-ALL (hit enter) Allow the OS to reboot and settle for a minute *REMEMBER LEAVING THE -W INTACT WILL WIPE YOUR DEVICE*
6. Reboot into BOOTLOADER, in CMD screen Type: fastboot boot <twrpxxx.img name> to boot into Latest TWRP.IMG
7. Once in TWRP, install Latest TWRP.ZIP from sdcard
8. Reboot back into Recovery
9. Install compatible custom kernel, I use flar2's ElementalX Kernel.
10. Reboot back into Recovery
11. Reboot into System, allow OS to settle for a few minutes
12. Boot into Recovery
13. Install Latest Magisk.zip
14. Reboot into System
15. Profit
Troubleshooting Tips & Other Information
Click here for * * * BASIC FASTBOOT/ADB TROUBLE SHOOTING FOR THE 2XL * * *
If you get stuck at the G screen, or bootloop into TWRP, try these steps:
-Perform a hard reboot (long press the power button) or
-Get back to TWRP (whether by booting into it from fastboot, or rebooting into bootloader -long press power & vol down- then boot into recovery) and reinstall the Magisk Uninstaller in TWRP a few times.
- If you are bootlooping into TWRP with Magisk installed, READ THIS!
- Safety Net message in Magisk "The Response Is Invalid" is a known issue[/URL] ... Be patient
View attachment 4572738
Make sure you have all the correct and/or latest versions of SDK Tools, factory image, TWRP.img and TWRP.zip, and Magisk
Note: as a matter of superstition, I reboot back into recovery each time after installing TWRP, cust kernel, and magisk, prior to booting into system. It is NOT required, but it works
Again, HUGE thanks to @Badger50 for his invaluable input
Az Biker said:
A lot of users have had success upgrading from Oreo to Pie and there are several tutorial / guide posts located in different threads, so I figured I'd centralize instructions in a Quick Reference Thread, that includes all needed file links and an easy to follow step by step.
Please feel free to make any suggestions to simplify or make this more accurate.
Requirements:
*Unlocked bootloader and Critical_unlock completed.
*Latest SDK Tools found here
*USB 2.0 & 3.0 cables available (trust me)
These files on your sdcard:
* TWRP 3.2.2-0.ZIP
*Flash kernel 3.0
* magisk uninstaller
*magisk zip 1674
* MM 5.8.3 APK
These files in your Platform Tools Folder:
* 9.0 factory image
*TWRP 3.2.2-0.IMG
1. Make backup, move to PC (because you never know)
2. Disable all security; patterns, pins, etc.
3. In Developer Options, make sure USB DEBUGGING is on
4. Verify fastboot is working type; fastboot devices (should see your device's serial number)
5. Fastboot 9.0 factory image(To KEEP internal storage intact, remove -w in "flash-all.bat" file and SAVE, to wipe entire device, leave flash-all unedited)
6. Type: fastboot boot <twrpxxx.img name> to boot into TWRP 3.2.2-0.IMG
7. Once in TWRP, install TWRP.ZIP on sdcard
8. Reboot back into Recovery, and install the magisk uninstaller in twrp,
9. Reboot back into Recovery and install Flash kernel 3.0
10. Reboot back into Recovery
11. Reboot into System, allow OS to settle for a few minutes
12. Install MM 5.8.3 APK
13. Reboot into Recovery
14. Install magisk zip 1674,
15. Reboot back into Recovery
16. Reboot into System
17. Profit
Note: as a matter of superstition, I reboot back into recovery each time after installing TWRP, cust kernel, and magisk, prior to booting into system. It is NOT required, but it works
Thanks to @Badger50 for figuring out the right steps in this process!
Click to expand...
Click to collapse
Well done my brother!! :good::good:
Badger50 said:
Well done my brother!! :good::good:
Click to expand...
Click to collapse
I use unlock bootloader normal.
I was done follow your step but it's boot stuck google logo after flash magisk(16.74).
newyesor said:
I use unlock bootloader normal.
I was done follow your step but it's boot stuck google logo after flash magisk(16.74).
Click to expand...
Click to collapse
Sometimes it takes 5 minutes or so on first boot. If it doesn't work, do a hard restart a few times. If that doesn't work, flash magisk again in twrp.
You use unlock bootloader normal??
Badger50 said:
Sometimes it takes 5 minutes or so on first boot. If it doesn't work, do a hard restart a few times. If that doesn't work, flash magisk again in twrp.
You use unlock bootloader normal??
Click to expand...
Click to collapse
I use normal unlock bootloader.
I wait devices boot around 5 minutes and it 's reboot in to twrp recovery.
newyesor said:
I use normal unlock bootloader.
I wait devices boot around 5 minutes and it 's reboot in to twrp recovery.
Click to expand...
Click to collapse
So your bootloader _critical partition isn't unlocked?? Which can't be right either since you've been able to boot fastboot the update to P. Guess I just don't know what your trying to say.
Badger50 said:
So your bootloader _critical partition isn't unlocked?? Which can't be right either since you've been able to boot fastboot the update to P. Guess I just don't know what your trying to say.
Click to expand...
Click to collapse
I use this command for flash unlock bootloader.
fastboot flashing unlock
newyesor said:
I use this command for flash unlock bootloader.
fastboot flashing unlock
Click to expand...
Click to collapse
Have you ever ran fastboot flashing unlock_critical..?
Have you actually booted into the 9.0.OS yet?
Badger50 said:
Have you ever ran fastboot flashing unlock_critical..?
Have you actually booted into the 9.0.OS yet?
Click to expand...
Click to collapse
I have never ran fastboot flashing unlock_critical.
Yes,My devices is base on android P and I was booted into the 9.0.OS.
newyesor said:
I use this command for flash unlock bootloader.
fastboot flashing unlock
Click to expand...
Click to collapse
If you flashed the factory image with no issues, then you must have completed critical_unlock as well, otherwise the new bootloader shouldn't have taken (as far as I understand).
I'd start from scratch again, and make sure you follow the process exactly. Many users have used this with no issue, so maybe you missed something? The first time I flashed the factory image to my 6P (my backup) I totally skipped flashing the boot.img, and wondered why it wouldn't boot
Kudos, just what I needed to update!
newyesor said:
I have never ran fastboot flashing unlock_critical.
Yes,My devices is base on android P and I was booted into the 9.0.OS.
Click to expand...
Click to collapse
Have you flashed the magisk uninstaller as well? Why are you showing magisk 16.0?
Badger50 said:
Have you flashed the magisk uninstaller as well? Why are you showing magisk 16.0?
Click to expand...
Click to collapse
Yes,i was flashed the magisk uninstaller as well.
I try to root with magisk on my devices.
I try to flash patch boot for root without twrp but it's not work.
I try to flash magisk follow you but it's not work.
Is flashing the kernel mandatory?
newyesor said:
Yes,i was flashed the magisk uninstaller as well.
I try to root with magisk on my devices.
I try to flash patch boot for root without twrp but it's not work.
I try to flash magisk follow you but it's not work.
Click to expand...
Click to collapse
Something just seems fishy to me. I've never heard of anyone not unlocking _critical, and being able to fastboot the factory image. However, it seems that you have somehow. All I can suggest is to fastboot the 9.0 again to both slots, and let it boot up each time.
Then fastboot into twrp, flash the installer zip, and let it boot up. Then go back to twrp, flash magisk uninstaller zip, then flash custom kernel, and let it boot up. Then go back to twrp, and flash magisk 1674 again.
If none of that works, I'd unlock _critical, which will wipe your phone, and then start over.
aznriceballman said:
Is flashing the kernel mandatory?
Click to expand...
Click to collapse
Not mandatory, but it keeps TWRP touch screen working among other things...
Just wanted to say thanks for this!
I didn't have time to update from DP5 yesterday, but I guess that was a good thing because now there's this guide, and it worked perfectly. Upgraded from DP5/flash 2.44 and who knows what Magisk version to all the latest and greatest in no time at all.
Thanks!
Badger50 said:
Something just seems fishy to me. I've never heard of anyone not unlocking _critical, and being able to fastboot the factory image. However, it seems that you have somehow. All I can suggest is to fastboot the 9.0 again to both slots, and let it boot up each time.
Then fastboot into twrp, flash the installer zip, and let it boot up. Then go back to twrp, flash magisk uninstaller zip, then flash custom kernel, and let it boot up. Then go back to twrp, and flash magisk 1674 again.
If none of that works, I'd unlock _critical, which will wipe your phone, and then start over.
Click to expand...
Click to collapse
im having an issue, i followed all instructions and got booted up an everything but when i flash twrp img it stays stuck on the twrp logo, flashed the one mentioned in o.p and the newest as well to remove any doubts, but no go. Any suggestions?
shooterlgk said:
im having an issue, i followed all instructions and got booted up an everything but when i flash twrp img it stays stuck on the twrp logo, flashed the one mentioned in o.p and the newest as well to remove any doubts, but no go. Any suggestions?
Click to expand...
Click to collapse
Do you have screen lock disabled?
Badger50 said:
Do you have screen lock disabled?
Click to expand...
Click to collapse
Yes sir

5S/5G Roms and Root Mega thread [Updated November 2022]

Nubia Red Magic 5G and 5S Roms and Root support Thread
Second post for TWRP and Magisk installation. Mirror for all roms and tools at end of post
Latest Official Rom updates
Android 11
US/Asia - V8.70 Nubia Link MD%: will update soon
EU - V7.70 Nubia Link MD5: will update soon
China - V9.50 Nubia Link MD5: 361AC13CA52AB83C239783FBAB088CEA
Android 10
US/Asia - V8.12 Nubia Link MD5: 6e930fc2431b3daeae2d94145926a6c1
EU - V7.15 Nubia Link MD5: bb9e3153716851e87f196ae6b4f44a2e
China - V6.23 Nubia Link MD5: BD447840ACA4D48F9443B94D2EAD890F
Change Log - 8.70 / 7.70 Android 11
- Security Patch October 2022
- Game Space enhancements
- Game space Gyro sensitivity menu
- game space touch sample rate improvement
- Fixed: corner of screen non-touchable in some cases
- Fixed: issue where game would fail to close
- Fixed: location of caller display
-Fixed: screen tearing when using 144hz
-
Bugs -
in Testing
- Always on display notification not showing
- memory leak in nubia launcher (requires forced close often to stop phone from lagging)
- small window mode for telegram and discord have wrong zoom/ aspect levels.
_____________________________________________________________________________________________________________
UNBRICK TOOL for 5S - Courtesy of @johnny886
Use this tool, with directions on the thread to restore your device to USA/Asia 8.07
you can then install TWRP and after flash any region rom after creating a somewhat universal unbrick tool for those in different regions.
Follow directions on the thread. but here is a link to the Thread. A Mirror for the tool is in my Personal Mirror at the bottom of this thread post.
Link to Thread
Confirmed working with 5G devices - but its recommended to update as soon as you unbrick.
_____________________________________________________________________________________________________________
For unlocked bootloader
Fix your fingerprint sensor.
here Link
--------------------------------
Update Instructions.
Note
for Android 11 do not flash through TWRP you will softbrick.
____________________________________________________________________
For Stock devices without root
- disable security. No pin, no face unlock, no finger print, no pattern. remove all security.
-download zip file
-go to system update tap three dots and select local update
-Navigate to update.zip and select.
-your phone will reboot and install new rom
- you phone will reboot once more and you will be greeted with your lock screen
- setup Phone with security options as before flash.
For devices with "LOCKED bootloader" Root / TWRP (not tested on A11)
- take backup of vbmeta and recovery partitions in TWRP
- change the name of both files to vbmeta.img and recovery.img
(VBmeta is often 64kb big and Recovery is often 90+mb big.)
- copy and paste these new img files into the update zip.
- flash through TWRP
- go back to main menu, select advanced, then select option
"disable replace TWRP" to keep TWRP as your recovery.
for devices with "Unlocked bootloader" (not tested on A11)
-make full backup
-download zip
-install zip through TWRP
-reboot
__________________________________________________________________________________
Custom Roms and Kernels
Kernel
Mattofthedead's Redmagic 5S kernel for LOS and Stock roms LINK
Roms
Rom Builder Ra's Custom Roms - Please post any bugs or issues in the related threads.
Pixel Experience Plus
Ressurection Remix
NOTE : to boot any Custom rom on the 5S device. Flash the Rom following the directions. then flash Matts LOS kernel Version 3
__________________________________________________________________________________
------------------------------
Old roms
Android 11
V8.65 Nubia Link MD5: 3d52e18c66366d3d23744184425d3926
V8.64 Nubia Link MD5: a7e61f5e2f7c377a6850cf6ac3a62aa7
V7.65 Nubia Link MD5: 746dad5b6145dfba1108355095a6ad46
V7.64 Nubia Link MD5: 55371ee8e5728aee2bc7df5b3a7d6585
V9.42 Nubia Link MD5: D492B92DD83B366508CDD74DE7D152A3
V9.40 Nubia Link MD5: D28F26289A9B75F771EF4F623F0BB367
V8.57 Nubia Link MD5: 266819d4b09c2c52aadb39e948dc84bc
V8.59 Nubia Link MD5: d7e32b7a3e833adc57fcf734aa47f5a3
V7.57 Nubia Link MD5: 81ee71869f660a28b631d871ffb59524
V7.60 Nubia Link MD5:
V9.26 Nubia Link MD5: 8997375CD97D8F7F261F21121FC8EFAA
Android 10
v6.18 Link MD5: 9AC5EA5F64835C1995E4A81D4973FB71
V6.13 Link MD5: F38ED2D7CB58252D308B29D1D4517DB9
V7.07 Link MD5: ffc3fdaf4afc522aa3a084d9275f2cb6
V7.14 Link MD5: 0f879160fbf8b556de5303207b93d0d1
V8.07 Link MD5: b30dab221be73292c5da7884afc0363f
V8.11 Link MD5: 85d9366a3017112cb68d66041e725ce6
________________________________________________________
Personal Mirror - Located in Eastern Canada
________________________________________________________
TWRP and root guide for 5S and 5G on Android 10 only - (these steps will NOT unlock your bootloader) - these steps use a bypass method to install a recovery without unlocking bootloader. the command below is to allow flashing of partitions. bootloader status is still locked during and after process is complete.
Note. if you already have ADB and fastboot drivers installed, this folder will work as is. if not I put an installer in the folder too to install a mini adb fastboot setup. which needs windows driver signing turned off (windows 8-10) this can be done by going to advanced startup and choosing to boot without driver signing.
1. Download zip file found at the end of this post
2. Extract to root of C: drive
3. open CMD prompt with admin privileges
4. CD to the ADB folder you extracted. (CD = Change Directory)
5. Connect your device in Fastboot mode (power off. hold volume down +Power until it vibrates. then release power but continue to hold volume down)
6. Once in fastboot mode, with cable connected to the computer run these commands
7. fastboot oem nubia_unlock NUBIA_NX659J (this allows you to flash the device partitions)
8. fastboot flash recovery TWRP-xxx.img (xxx being the version number of the TWRP image you choose to install)
9. fastboot flash vbmeta vbmeta_skip.img
10. reboot to recovery (from the fastboot menu) it should load TWRP
11. if TWRP does not ask you to keep recovery from being over written, go to advanced and choose disable replace TWRP. to keep TWRP as your recovery, and stop the system from re writing the stock recovery.
12. Reboot to system for the first time and complete the initial setup. this is to create the user space partitions data/media ( preferably do not make a pin or pattern at this stage)
13. once in the rom, connect to PC and copy over the Magisk zip to the internal memory. then reboot holding Volume up
14. once back into TWRP (if you created a pin during setup TWRP will ask you for your pin to access data) go into install and flash the Magisk.zip you moved in step 13 then reboot. once back into the rom, you will see a Magisk app, tap it and allow to update, the APK will install latest version of the manager.
More NOTES.
this must be done on a clean system. you need to wipe all data partitions to boot to system. re writing VBMETA causes encryption to break. until you reboot. so you lose everything Make a backup of your data partition on to your PC before doing anything.
its also recommended to have an update.zip of your current rom (which you can download from the post above), incase you need to reinstall the rom after flashing the new recovery or VBmeta.
OEM unlocking in the developer options is NOT needed. since you are not unlocking your bootloader. this step can be ignored.
I'll update this tutorial with newer steps if needed.
Thanks to those that created all these great tools.
@wzsx150 - for their version of TWRP
John Wu - for Magisk
@mslezak vbmeta_skip
If i've helped you root your device, please hit thanks.
Link ADBmini - zip updated with Magisk 21.4 zip
MD5 for ADBfastbootmini.zip: 0ad97a9ae1539b26ef78c849b169e807
I'm working on a process that will update to Android 11, through TWRP and root, without losing data. Much like a stock update.
I will update the thread once my tests are complete.
Hello. I can not flash (i cant even copy) the zip via TWRP. I see the storage device on my windows laptop. I have wipe data cache and dalvik, but it does not copy it and i can not restore my device. Help will be appreciated
josehdx said:
Hello. I can not flash (i cant even copy) the zip via TWRP. I see the storage device on my windows laptop. I have wipe data cache and dalvik, but it does not copy it and i can not restore my device. Help will be appreciated
Click to expand...
Click to collapse
Try putting update zip on a USB key and connect via OTG and flash this way. Moving files with TWRP for some reason corrupts or does not complete transfer.
Make sure to factory reset. If you're coming from a used update, backup your data partition and wipe everything. Then check to see if the partition is in fact empty. ( I noticed sometime my data partition did not erase)
Patrick Morgan said:
Try putting update zip on a USB key and connect via OTG and flash this way. Moving files with TWRP for some reason corrupts or does not complete transfer.
Make sure to factory reset. If you're coming from a used update, backup your data partition and wipe everything. Then check to see if the partition is in fact empty. ( I noticed sometime my data partition did not erase)
Click to expand...
Click to collapse
Thanks
Working fine after full data partition wipe.
I have an additioal question regarding further updates, and i would not want to open a new topic. so, after flashing the zip, i "lost" TWRP but i already have root access. I wonder if is possible to flash upcoming updates with the default recovery built in on the phone, if not, i would assume i need to install TWRP again.in any case, will side loading update make any problem with the current system? i hope my question and context is clear
As these are official ROMs, they will replace the recovery and remove root from the phone.
If you do not have root, flashing these zips from the system menu local update should work. But if you have root or TWRP it's better to flash through TWRP.
You could just flash TWRP again after flash, but I personally modify the zip and add the recovery to it to save me going into fastboot after each update.
Is it possible to install the US rom on a device with EU rom?
in the EU version I can't set the frame rate to 144 hz.
Darkvenum79 said:
Is it possible to install the US rom on a device with EU rom?
in the EU version I can't set the frame rate to 144 hz.
Click to expand...
Click to collapse
I've spoken with another EU rom user, that has the same issue before. it seems it was an error in the stock rom.
reinstalling 7.07 from the links above should fix your problem.
both 7.07 (the EU rom) and 8.07 (the US rom) are exactly the same. the only difference is the languages from what I can tell.
I have a silly question. Unfortunately i unlocked bootloader and i lost the fingerprint capability. I have tried many times to do the calibration without success. I wonder if a factory flash (EDM or any nubia tool) can restore the capability and then use this guide to do the rooting? Thanks
josehdx said:
I have a silly question. Unfortunately i unlocked bootloader and i lost the fingerprint capability. I have tried many times to do the calibration without success. I wonder if a factory flash (EDM or any nubia tool) can restore the capability and then use this guide to do the rooting? Thanks
Click to expand...
Click to collapse
No it wont.
There is a specific step by step that is required to get it functioning again. And it only survives until your next full wipe, which i assume you will do more often flashing non official roms.
I can grab the steps and edit this post for you.
Edit -
Prep.
have a black / very dark brown leather. (belt, wallet, etc)
a soft gel plaster / Bandaid
(something skin textured and in a pink / light beige colour) texture and colour are important.
First step is clear data in the infingerprint app in app info and remove permissionfor data memory - (you need to show system apps to find it)
- digit in call phone code:
*#9959#
(android 11 use Activity launcher (playstore) to enter fingerprint menu)
- uncheck performance checkbox , check only calibration checkbox
Steps -
1. Press start then wait.
2.Press next and with plaster / bandaid press on circle
3.Press next and use wallet / belt ( the display becomes black for black calibration)
4.Press next and use gel plaster / bandaid again but pinch it in so only the part with your finger touches the circle.
If you are lucky see success alert in green color
In system app in setting In-Display-Fingerprint allow access to data memory then reboot device.
Enjoy your Finger Print once more!
P.S. = do this procedure in a very dark room to improve the chances of it succeeding.
Thanks to qtr1st (Salem) and mikekrunk (Mike) for the steps and information.
josehdx said:
I have a silly question. Unfortunately i unlocked bootloader and i lost the fingerprint capability. I have tried many times to do the calibration without success. I wonder if a factory flash (EDM or any nubia tool) can restore the capability and then use this guide to do the rooting? Thanks
Click to expand...
Click to collapse
esy re-lock bootloader fingrperint work fine without calibration
---------- Post added at 12:13 PM ---------- Previous post was at 12:08 PM ----------
Patrick Morgan said:
TWRP and root guide for 5S - (these steps will NOT unlock your bootloader) - these steps use a bypass method to install a recovery without unlocking bootloader. the command below is to allow flashing of partitions. bootloader status is still locked after process is complete.
Pretty short step by step to get twrp and Magisk if you want, on your phone. (Red Magic 5S)
Note. if you already have ADB and fastboot drivers installed, this folder will work as is. if not I put a installer in the folder too to install a mini adb fastboot setup. which needs windows driver signing turned off (windows 8-10) this can be done by going to advanced startup and choosing to boot without driver signing.
1. Download zip file attached or mirrored
2. Extract to root of C: drive
3. open CMD prompt with admin privileges
4. CD to the ADB folder you extracted.
5. Connect your device in Fastboot mode (power off. hold volume down +Power until it vibrates. then release power but continue to hold volume down)
6. Once in fastboot mode, with cable connected to the computer run these commands
7. fastboot oem nubia_unlock NUBIA_NX659J (this allows you to flash the device partitions)
8. fastboot flash recovery TWRP-xxx.img (xxx being the version number of the TWRP image you choose to install)
9. fastboot flash vbmeta vbmeta_skip.img
10. reboot to recovery (from the fastboot menu) it should load TWRP
11. if TWRP does not ask you to keep recovery from being over written, go to advanced and choose disable overwrite TWRP. to keep TWRP as your recovery, and stop the system from re writing the stock recovery.
12. Magisk zips files are in the folder. copy to device and flash through twrp. and install the apk after boot. done twrp and root.
More NOTES.
this must be done on a clean system. you need to wipe all data partitions to boot to system. re writing VBMETA causes encryption to break. until you reboot. so you lose everything Make a backup of your data partition on to your PC before doing anything.
its also recommended to have a update.zip of your current rom (which you can download from the post above), incase you need to reinstall the rom after flashing the new recovery or VBmeta.
OEM unlocking in the developer options is NOT needed. since you are not unlocking your bootloader. this step can be ignored.
I'll update this tutorial with newer steps if needed.
Thanks to those that created all these great tools.
@wzsx150 - for their version of TWRP
John Wu - for Magisk
@mslezak vbmeta_skip
If i've helped you root your device, please hit thanks.
Link ADBmini
MD5 for ADBfastbootmini.zip: e49f162080c6a2124c243716546ad710
Click to expand...
Click to collapse
where is the link of twrp.img
sansha1211 said:
where is the link of twrp.img
Click to expand...
Click to collapse
Patrick Morgan said:
Link ADBmini
MD5 for ADBfastbootmini.zip: e49f162080c6a2124c243716546ad710
Click to expand...
Click to collapse
that file called Link ADBmini has all you need
Is it ok to flash Eu rom to my NA/asia rom?
After reboot it ask me for verify pin and now I can't load the TWRP.img Partition volume Full error help me please
Rai972 said:
After reboot it ask me for verify pin and now I can't load the TWRP.img Partition volume Full error help me please
Click to expand...
Click to collapse
reboot to bootloader by... power off device -> press and hold volume down and power button until you see the logo -> connect device to your computer then do the steps 7 to 12
also once you are in TWRP make sure you ... this must be done on a clean system. you need to wipe all data partitions to boot to system. re writing VBMETA causes encryption to break. until you reboot. so you lose everything Make a backup of your data partition on to your PC before doing anything.
7. fastboot oem nubia_unlock NUBIA_NX659J (this allows you to flash the device partitions)
8. fastboot flash recovery TWRP-xxx.img (xxx being the version number of the TWRP image you choose to install)
9. fastboot flash vbmeta vbmeta_skip.img
10. reboot to recovery (from the fastboot menu) it should load TWRP
11. if TWRP does not ask you to keep recovery from being over written, go to advanced and choose disable overwrite TWRP. to keep TWRP as your recovery, and stop the system from re writing the stock recovery.
12. Magisk zips files are in the folder. copy to device and flash through twrp. and install the apk after boot. done twrp and root.
Rai972 said:
After reboot it ask me for verify pin and now I can't load the TWRP.img Partition volume Full error help me please
Click to expand...
Click to collapse
if you have not removed your pin before flashing any of the roms. it asks you for YOUR own pin that you made when you setup the phone. so use your own pin.
the process of rooting your device, clears a security partition. (the VBmeta partiton)
this deletes the encryption you had on your phone. so the devices partitions are unaccessable and need to be wiped before you can boot to system.
you need to clear data. all data. then check in TWRP file browser if your data partition is clear. .. if you see folders with random letters its not been formatted correctly.
so, in the wipe menu on TWRP you should go into advanced and change the partition type to ext4 then back to f2fs to clear the partition of data.
once your phone is clear you should be able to wipe cache and davik then reboot to system for it to start like a factory reset.
sansha1211 said:
esy re-lock bootloader fingrperint work fine without calibration
---------- Post added at 12:13 PM ---------- Previous post was at 12:08 PM ----------
where is the link of twrp.img
Click to expand...
Click to collapse
How should i relock the bootloader? Via cmd, command doesn't work. Should i lock also via developer options?
josehdx said:
How should i relock the bootloader? Via cmd, command doesn't work. Should i lock also via developer options?
Click to expand...
Click to collapse
adb devices
adb reboot bootloader
fastboot devices
fastboot flashing lock
josehdx said:
How should i relock the bootloader? Via cmd, command doesn't work. Should i lock also via developer options?
Click to expand...
Click to collapse
via cmd -- fastboot flashing lock
After i reboot in TWRP and disable replace TWRP, i install magisk from a USB otg, and then i wipe all data, then i reboot system but it keeps opening TWRP in every reboot, i had to install Stock Rom to have my phone back but without root, what im doing wrong?? thanks
Edit: now it worked, tried a few times and worked don't know what failed

Categories

Resources