[TUTORIAL][GUIDE][HOW TO] Flash Factory Images || Unroot || Relock bootloader - Nexus 6 General

Heya Nexus 6 Users,
In this thread, I'll help you to flash factory images on your nexus 6. This process will wipe your device, so please BACKUP YOUR DATA before going through the flashing process.​
You can backup your data from some well-known apps from Play Store
- Titanium Backup (Root)
- Super Backup (Non-root)
- Helium (Non-root) etc
I am not responsible if anything goes wrong.
Click to expand...
Click to collapse
​
Step 1 : Pre-requisite
==> Setup your workspace by following step two from this (Credits @xBeerdroiDx)
==> For MAC users, you can follow this thread (Credits @AshtonTS)
==> For Linux users, you can follow this thread (Credits @bloodychaos)
Step 2 : Downloading Factory Images
==> You can find Nexus 6(shamu) factory images from here.
Step 3 : Extracting Factory Images
==> Extract the archive you downloaded (First extract shamu-XXXXX.tgz and then extract shamu-XXXXX.tar). You can use WinRaR or 7z etc. It should look like this
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Step 4 : Unlock the bootloader
==> Follow this thread. (Credits @xBeerdroiDx)
Step 5 : Flashing
==> Method 1 : (Short and Sweet)
- Power off your phone.
- Boot it in fastboot(bootloader mode) by pressing and holding Power Button + Volume Down at the same time.
- Connect your phone to your PC through your USB cable.
- Execute the flash-all.bat script (for Windows) or flash-all.sh(for MAC and LINUX) in the folder where you extracted the factory images.
**!!** For MAC: You'll have to edit the flash-all.sh, and add "./" before every fastboot command.
(For windows users)
- Wait for everything to flash.
- After everything finished, select "Recovery" using the volume buttons.
- When a small dead Android appears, press Power Button + Volume UP.
- Select "Wipe data/factory data reset"
- Reboot. Your phone should be stock.
==> Method 2 : (Long, but works always)
- Extract the image-shamu-XXXXXX.zip somewhere easy to access (On C:/image-shamu-XXXXXX for example).
- In the same folder, from the original archive, extract "bootloader-shamu-moto-XXXXXX.img" (rename it to bootloader.img) and "radio-shamu-XXXXXX.img" (rename it to radio.img). You will have the following files:
- Power off your phone.
- Boot it in fastboot(bootloader mode) by pressing and holding Power Button + Volume Down at the same time.
- Connect your phone to your PC through your USB cable.
- Open a CMD window.(By pressing shift key + right mouse click at same time)
- Type the following commands, in this order (If you have a different folder, change the path)
Code:
fastboot flash bootloader C:/image-shamu-XXXXXX/bootloader.img
fastboot reboot-bootloader
fastboot flash radio C:/image-shamu-XXXXXX/radio.img
fastboot reboot-bootloader
fastboot flash system C:/image-shamu-XXXXXX/system.img
fastboot flash userdata C:/image-shamu-XXXXXX/userdata.img
(Note: this command will wipe your device (including /sdcard), EVEN if your bootloader is already unlocked.)
fastboot flash boot C:/image-shamu-XXXXXX/boot.img
fastboot flash recovery C:/image-shamu-XXXXXX/recovery.img
fastboot erase cache
fastboot flash cache C:/image-shamu-XXXXXX/cache.img
- After everything finished, select "Recovery" using the volume buttons.
- When a small Android appears, press Power Button + Volume UP.
- Select "Wipe data/factory data reset"
- Reboot. Your phone should be stock.
(Credits @abaaaabbbb63)
(Credits @Chirag_Galani for testing it )
Please consider downloading a free/paid version of my ANDROID APP
Hit thanks if you appreciate my efforts and if this thread helped you at any moment
Video Guides
Thanks Anuj Patel
For Windows:
For MAC:

>> Quick FAQs <<
Q1. Do I need to root the device before flashing?
Ans. NO
Q2. Will I loose device root status after flashing?
Ans. YES
Q3. Do I need to unlock bootloader before flashing?
Ans. YES
Q4. Can I skip any of the above steps in any method?
Ans. NO
Q5. Do I need to tick USB Debugging in Developer options before flashing?
Ans. NO (Answer corrected by @samersh72)
Q6. My device is not detected in my PC. What should I do?
Ans. Reinstall the drivers properly.
Q7. Can I root my device after flashing process?
Ans. YES
Q8. Which method is recommended for me?
Ans. Method 2 if you are not expert in flashing.
Q9. What will be my device status after flashing?
Ans. Stock Android with bootloader unlocked
Q10. My device is taking time to boot up. What should I do now?
Ans. Wait for 10-15 mins before thinking of reflashing.
Q11. My phone has 3GB RAM, can I flash factory images directly without using PC?
Ans. NO
Q12. How many times can I flash my device?
Ans. More than 0
Q13. Will I loose my data after flashing?
Ans. YES
Q14. I have some other query...
Ans. Please post it in Q&A section.
Q15. I am noob in all this. I am flashing for the very first time. Can you provide me support online via any software?
Ans. Follow each step as mentioned in first post. You'll be 100% successful.
Q16. What will be status of bootloader after flashing?
Ans. Unlocked
Q17. What is fastboot mode?
Ans. Bootloader mode.
Q18. Can I take screenshot of my bootloader mode using power+volume down?
Ans. NO
Q19. Any other easy way to flash?
Ans. If there was, I would have mentioned it.
Q20. Do you recommend me using toolkits to do this job?
Ans. NO
Q21. Can I connect my device over the air and flash it from PC?
Ans. NO
Q22. I don't have my device USB right now. Can I flash using other compatible USB cable?
Ans. YES
Q23. I have installed the drivers properly, still it's not recognized by my PC?
Ans. Use other USB port
Q24. How do I relock bootloader after flashing? (For 5.0.X)
Ans. Follow this. (Credits @BRKotucs)
Q25. I am having problems with unzipping the file. Can you help me?
Ans. Read this (Credits @av8rdude)
Q26. I am unable to get into stock recovery, what should I do?
Ans. Read this (Credits @jj14 and @WMguy)
Q27. It shows 32GB storage for 64GB storage device after flashing, where is my 32GB lost ?
Ans. Read this (Credits @efrant)
Q28. I need some information on adb and fastboot, what are those commands ?
Ans. Read this (Credits @rootSU)
Q29. Will I get OTA updates from Google after successfully completing any of the above methods ?
Ans. YES (Do not root or alter any system files)
Q30. I want to relock the bootloader after flashing? (For 5.1.X)
Ans. Follow this. (Credits @Evolution_Freak)
Q31. Can I flash back to Android version 5.0.1 if I'm on Android version 5.1?
Ans. NO

//Reserved
If you want me to include anything in OP or in second post, please quote me on this thread with needed information.

I have not been able to get the flash-all method to work on lollipop on my Nexus 6 or Nexus 5. I always get those sig, storage or no system errors. The long method has worked fine for me though.

Evo_Shift said:
I have not been able to get the flash-all method to work on lollipop on my Nexus 6 or Nexus 5. I always get those sig, storage or no system errors. The long method has worked fine for me though.
Click to expand...
Click to collapse
You need to follow long method for this. Even I was facing sig storage errors. I followed long method, it works flawlessly

Hi!
I have a suggestion. Instead of constantly updating the thread for every factory image that might be released in the future, you might want to replace things like "lrx21o" to a more universal name, so users aren't confused about it.
Also, try using this link for the factory images. It links directly to the shamu ones:
https://developers.google.com/android/nexus/images#shamu
Anyways, good job!

My Sprint Nexus 6 has a submenu in settings for updating profile and PRL. Would this still be there if I use the Factory Images or is that an addition Sprint made to their phones? Thanks

njd.sina said:
My Sprint Nexus 6 has a submenu in settings for updating profile and PRL. Would this still be there if I use the Factory Images or is that an addition Sprint made to their phones? Thanks
Click to expand...
Click to collapse
Yep, that's built in. I've flashed the factory image multiple times and those settings are built in.

nice guide....
Q9. Do I need to tick USB Debugging under Developer options before flashing ?
Ans. YES
Click to expand...
Click to collapse
Ans. NO

when i get to the dead android power+VOL UP doesnt do anything... it just reboots and has been booting for the last 10 mins. i had to do the long method also, the flash all file stopped at system.img also

bdubs4200 said:
when i get to the dead android power+VOL UP doesnt do anything... it just reboots and has been booting for the last 10 mins. i had to do the long method also, the flash all file stopped at system.img also
Click to expand...
Click to collapse
+1
I fixed this by following instructions above, replacing recovery.img with latest twrp then booting into twrp to do factory reset.
After doing factory reset power off phone and then reboot. Fixed my issue

5.0.1 is being released!

Can you flash the stock firmware onto the Att branded version with the bloat ware and effectively make it a google play edition?

veritas2884 said:
Can you flash the stock firmware onto the Att branded version with the bloat ware and effectively make it a google play edition?
Click to expand...
Click to collapse
Take a look at this thread here http://forum.xda-developers.com/showthread.php?t=2947581 in case you haven't.
Sent from my Nexus 6 using Tapatalk

Kind of a neat freak here:
I know dalvik is dead, but are there still any caches to wipe to make things perfectly clean after flashing?

BRKotucs said:
Take a look at this thread here http://forum.xda-developers.com/showthread.php?t=2947581 in case you haven't.
Sent from my Nexus 6 using Tapatalk
Click to expand...
Click to collapse
I had not seen this. Thank you for the redirect!

The archive for the Nexus 6 I downloaded looks different. When I unpacked the tar file I only have this file shamu-lrx21o-factory-e028f5ea
How do I flash it? I'm a noob at adb commands

jae2014 said:
The archive for the Nexus 6 I downloaded looks different. When I unpacked the tar file I only have this file shamu-lrx21o-factory-e028f5ea
How do I flash it? I'm a noob at adb commands
Click to expand...
Click to collapse
Unzip that as well.

i followed the instructions in this thread. went back to stock, then when i rooted again. the bootloader was still unlocked and the phone was still rooted. how can i completely go back to stock. im having issues with the phone and need to take it to the store.
thanks

stas333 said:
i followed the instructions in this thread. went back to stock, then when i rooted again. the bootloader was still unlocked and the phone was still rooted. how can i completely go back to stock. im having issues with the phone and need to take it to the store.
thanks
Click to expand...
Click to collapse
What exactly did you do?
Flashing the images is good enough to go back to stock, then relock the boot loader to finish up the task.
Sent from my Nexus 7 using Tapatalk

Related

[GUIDE][13/11]Update/Recovery/Root/Downgrade Android 4.2.1 on Unlocked/Locked Devices

Asus released the new Android 4.2 to our beloved devices and you may be wondering how can you update if you are unlocked and how can you root it.
Note: this guide was updated with the 2.5.0.0 TWRP. For this to work properly, you will need to use the last 10.6.1.27.1 version of the tablet, or a newer one. If you are already on a previous 4.2.1 version, please update to the new one using this same guide. If you flash this recovery with the older versions of the 4.2.1 bootloaders, you will end up with a double screen! New TWRP versions won't be able to mount boot and recovery, and won't work with all SD cards, not to talk about backup issues!
Things you should know before you start:
- I marked each title of this guide with [LOCKED BL], [UNLOCKED BL] and [BOTH BL] to specify witch ones will work with locked/unlocked or both bootloaders, respectively.
- Please verify if you have the correct drivers for the tablet installed on your computer. Windows 7/8 should install these automatically.
- The new 4.2 updates the bootloader, removing the USB icon that used to appear there and allowed you to enter fastboot. It's OK, you will be able to use it right from the bootloader menu, without selecting any option at all.
- Do this at your own risk! I'm not responsible if you break your tablet!
- Don't forget to make BACKUPS!
- If you are already on 4.2, then you can skip to the Recovery and Root parts of this guide
-- Installing / Updating to 4.2.1 --
There are three methods you can use to update your tablet to the latest Android stock version. All of them will require you to download the
firmware file located at Asus website. You can download them from here. Select Android as the OS, firmware and choose the right firmware for you SKU. You can find your SKU by following the instructions on the website itself. Don't forget to unpack the zip file you downloaded: there's another inside!
[BOTH BL] Method 1: Updating directly from stock ROM
Notes:
You must have a stock ROM installed
You need to put the update file on an SD card
You will keep all your data
I do not recommend this method: sometimes it ends up on a brick
If your tablet is stock, or have some custom ROM based on stock installed, you can directly update the tablet by simply inserting a SD Card with the firmware file inside. Android will prompt you with a notification asking if you want to update. Touch it and wait until the update is done
[UNLOCKED BL] Method 2: Update using fastboot
Notes:
You will keep all your data
This is the best method to update your tablet if you want to keep all your data, and the safest one
Ensure you have the correct drivers for the tablet installed on your computer, or you will have a "waiting for device" error
To update using fastboot, follow this steps:
If you don't have fastboot yet, download it from here an unpack it somewhere on your computer
Extract the Asus firmware file and put the blob file inside fastboot folder
Open a command line on fastboot folder (write "cmd" on Windows search bar at the Start menu, and then
Code:
cd "FOLDER WHERE YOU EXTRACTED FASTBOOT"
, or you can just use SHIFT + RIGHT CLICK on the folder and select "Open command line window here" or something like that)
Reboot the tablet holding the volume down key until you see some icons. Use the volume down key to select the USB icon and then volume up to select it
Connect the tablet to the computer if you didn't do so
Write
Code:
fastboot -i 0x0B05 flash staging blob
, hit enter and wait until it completes
Hold the power button for 10 seconds to reboot the tablet
You are now updated to Android 4.2
[UNLOCKED BL] Method 3: Update using TWRP recovery
Notes:
You must have TWRP installed
You need to put the update file on an SD card
This was the method I used since I wanted to prevent any bugs due to old data and to ensure the new partitions from 4.2 would be OK
You will keep your data as long as you don't wipe Data and Factory reset (including internal memory)
Follow the steps bellow if you want to update to 4.2.1 DELETING ALL YOUR DATA , STARTING FROM SCRATCH!
Insert the SD card with the update file on the tablet
Reboot to recovery
Wipe Cache, Dalvik and System. Wipe Data if you want a fresh start on your tablet, but remember, THIS WILL WIPE ALL YOUR DATA AND INTERNAL MEMORY!!. You can also do a Factory Reset instead of data wipe if you want to remove all your android configurations/apps keeping your internal storage.
Install the Asus Firmware
Reboot (ignore the "no OS installed message) and let it finish
You have now the latest Android 4.2.1
[UNLOCKED BL]-- Installing TWRP (Recovery) --
Since this new update brings a new bootloader, older recovery versions from 4.1 won't work at all. Don't try to flash one!
This guide will give you a recovery that works just fine on the new bootloader. And yes, it can read/write to an external SD just fine. Follow this steps to install the new recovery on your device:
Connect the tablet to the computer
Reboot the tablet using the proper button on the power menu, holding Volume down until you see three icons (RCK, Android and Wipe Data)
Download this file and unpack it (it contains fastboot and the TWRP 2.5.0.0 which works with the new bootloader)
Open a command line on the extracted folder (you can use the instructions I wrote in Method 2 if you don't know how to do this) and type
Code:
fastboot -i 0x0b05 flash recovery twrp.blob
Wait for the script to complete. Once it is done, reboot the tablet by holding volume down and power button for 10 seconds. Don't enter recovery directly!
You have now the new recovery for Android 4.2 .
[BOTH BL] -- Rooting --
Note: If you are willing to install a custom ROM like CROMI you don't need this. Custom ROMs have root by default.
Rooting the tablet once you have a recovery is pretty easy. Here's how you can do it:
- Unlocked devices
Download SuperSu zip file from here (choose the flashable version) ]and place it on a SD card or inside the root of your tablet's internal memory
Reboot the tablet holding vol down, and when the three icons appear, hit volume up to enter recovery
When the recovery prompts you a password, hit cancel (this is a bug from the current version of TWRP, and it should be fixed soon. It is ok to ignore it!)
Flash the zip you just downloaded
Wipe Dalvik/Cache (just in case)
Reboot
You are now rooted!
- Locked devices
If you have your bootloader locked you can root Android 4.1/4.2 by using the method discovered by Morlok8k, here: http://forum.xda-developers.com/showthread.php?t=2228613 (note that this isn't tested yet for the latest 10.6.1.27.5 firmware!)
[UNLOCKED BL] -- Downgrading to 4.1 or other firmware --
I was going to write a downgrade method but it seems that there is a good one here: http://forum.xda-developers.com/showthread.php?t=2195883
Again, do it at your own risk.
[LOCKED BL] -- Recovering your tablet from scratch --
If you are on a stock locked device and somehow got a bootloop and you can't do anything with your tablet you follow this steps to completely restore your tablet. Note that all data will be lost.
Pretoriano80 said:
========= Recover /Downgrade from Jelly Bean to ICS/Clean Factory Restore with stock recovery =========
1) Download the latest firmware from Asus website
2) Extract the .zip file somewere on your desktop (the result will be another .zip file,use it for step 3)
3) Rename the extracted archive to "EP201_768_SDUPDATE.ZIP" (without the " ") and upload it to a MicroSD card
4) Insert the MicroSD card in your tablet and use this button combination to Power ON and go to recovery --> Start the tablet by pressing Volume Down and POWER togheter for 5 seconds ,a message will inform you that you have 5 seconds to enter the recovery,press Volume UP before the 5 seconds expire.
At this point the device will go in recovery and should start updating your firmware .
Note: Keep in mind that Windows doesn't show the known file extensions so most users don't have to put the .ZIP extension in the filename.
Click to expand...
Click to collapse
This tutorial is made of things I gathered on the forums: I do not own anything! Hit thanks if I helped you :angel: I will keep it updated once new things come out
A special thanks to elesbb for the fastboot methods
This is great. Just one question for clarification: Users have reported not being able to see their External microSD's in TWRP. Is this still the case, or did the patch to TWRP alleviate this issue?
would i need to unlock the bootloader to do this?
MrCHUPON said:
This is great. Just one question for clarification: Users have reported not being able to see their External microSD's in TWRP. Is this still the case, or did the patch to TWRP alleviate this issue?
Click to expand...
Click to collapse
Here TWRP is recognizing the external SD It lists the files and I'm doing right now a backup to it . No errors whatsoever
Here is a photo of me backing up to an 4GB SD card
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
And the end of it
jobankler said:
would i need to unlock the bootloader to do this?
Click to expand...
Click to collapse
Check the OP...First item. "You must be unlocked".
So yes.
Re: [Tutorial] Rooting and installing a recovery on Android 4.2.1 (10.6.1.8+)
Hoi
My device is unlocked
Must i unlocked again for 4.2.1
Thanks hope you can help my
Sent from my ASUS Transformer Pad TF300T using xda premium
Re: [Tutorial] Rooting and installing a recovery on Android 4.2.1 (10.6.1.8+)
jackie1234 said:
Hoi
My device is unlocked
Must i unlocked again for 4.2.1
Thanks hope you can help my
Sent from my ASUS Transformer Pad TF300T using xda premium
Click to expand...
Click to collapse
So I've read, upgrading does not relock you, so you shouldn't need to. For those that are locked and upgrade to 4.2.1 there is a new unlock tool to do it.
Sent from my ASUS Transformer Pad TF300T using Tapatalk 2
Verified that this works for me. If you read ahead and placed the SuperSu zip on your SD card BEFOREhand, you can even skip one of the reboots.
WARNING
Your instructions are wrong... You cannot flash the update using custom recovery, it will result in a brick..
Already happened with me!!! I've followed your tutorial blindly and had to sweat a bit to recover my tablet.
Change it ASAP.
Best solution to unbrick/flash is to go into fastboot and use
fastboot -i 0x0B05 flash system blob
fastboot -i 0x0B05 flash system "name of the update"
joelalmeidaptg said:
Hey guys! Asus released the new Android 4.2 to our beloved devices and now we are able to root it using a few steps.
Notes:
- You must be unlocked
- If you don't have 4.2.1 on your tablet yet, download it via the Asus website, unpack it, and place the file on your SD car and flash it using a custom recovery or the update notification on a stock ROM
- If you have 4.2 and want to unlock it, remember to check Asus website to download the new unlock tool available for 4.2 devices
- Please verify if you have the correct drivers for the tablet installed on your computer
Lets get started!
Connect the tablet to the computer
Reboot the tablet using the proper button on the power menu, holding Volume down until you see three icons (RCK, Android and Wipe Data)
Download this file and unpack it (it contains fastboot and a patched version of TWRP 2.4.4.0)
Open a command line on the extracted folder and type fastboot -i 0x0b05 flash recovery twrp.blob
Wait for the script to complete. Once it is done, reboot the tablet by holding volume down and power button for 10 seconds. Don't enter recovery directly!
Once the tablet boots up, download SuperSu zip file from here and place it on the root of your tablet's internal memory
Reboot the tablet again holding vol down, and when the three icons appear, hit volume up to enter recovery
When the recovery prompts you a password, hit cancel
Flash the zip you just downloaded
Wipe Dalvik/Cache (just in case)
Reboot
Aaaaand... Congratulations, you have now a rooted stock Android 4.2.1 !!
This tutorial is made of things I gathered on the forums: I do not own anything! Hit thanks if I helped you :angel:
Click to expand...
Click to collapse
:good: :fingers-crossed: :victory: :laugh: I have no words to thank you friend, excellent contribution.
Re: [Tutorial] Rooting and installing a recovery on Android 4.2.1 (10.6.1.8+)
avatar_pt said:
Your instructions are wrong... You cannot flash the update using custom recovery, it will result in a brick..
Already happened with me!!! I've followed your tutorial blindly and had to sweat a bit to recover my tablet.
Change it ASAP.
Best solution to unbrick/flash is to go into fastboot and use
fastboot -i 0x0B05 flash system blob
fastboot -i 0x0B05 flash system "name of the update"
Click to expand...
Click to collapse
Did you unpack the zip downloaded from Asus?
Sent from my ST25a using xda app-developers app
Tamaskan said:
Did you unpack the zip downloaded from Asus?
Sent from my ST25a using xda app-developers app
Click to expand...
Click to collapse
Again, I followed the tutorial blindly for the flash
Maybe it was something else, dunno. I just bricked, but I be managed to recover
Re: [Tutorial] Rooting and installing a recovery on Android 4.2.1 (10.6.1.8+)
avatar_pt said:
Again, I followed the tutorial blindly for the flash
Maybe it was something else, dunno. I just bricked, but I be managed to recover
Click to expand...
Click to collapse
Then you didn't brick, bud. What exactly did it do? Why do you think it "bricked".
Sent from my EVO using Tapatalk 2
pl
avatar_pt said:
Your instructions are wrong... You cannot flash the update using custom recovery, it will result in a brick..
Already happened with me!!! I've followed your tutorial blindly and had to sweat a bit to recover my tablet.
Change it ASAP.
Best solution to unbrick/flash is to go into fastboot and use
fastboot -i 0x0B05 flash system blob
fastboot -i 0x0B05 flash system "name of the update"
Click to expand...
Click to collapse
please keep your mouth shut off if you don't know what to say.
YOU CAN FLASH UPDATE FILE FROM ASUS WEBSITE WITH TWRP AND THERE IS NOT BRICK IN HERE
******
here is what i just did to update my tab to 4.2.1
-was running cleanrom 3.4.4 with twrp 2.2.2.0
-downloaded twrp 2.4.4.0 and flashed it with fastboot
-download 4.2.1 update file from asus website=> unzip this file to get the real file ( apparently, asus just put the rom.zip file into a folder, then zip this folder again, kind a stupid here ^^)=> put it in my external micro sdcard
- boot into recovery=> flash the updated rom.
avatar_pt said:
Again, I followed the tutorial blindly for the flash
Maybe it was something else, dunno. I just bricked, but I be managed to recover
Click to expand...
Click to collapse
It wouldn't flash for me either. I used your method of flashing the blob, then followed the OP's directions for flashing TWRP using the fastboot/TWRP files he provided.
Re: [Tutorial] Rooting and installing a recovery on Android 4.2.1 (10.6.1.8+)
What i have done
I download the firmware from asus and renamed to xx_epad-user-10.6.1.8.zip
XX is the ww or US you must rename this in the directory what you extract
Example WW_epad-user-10.6.1.8.zip
US_epad-user-10.6.1.8.zip
Then put it in the root of your sd card or on your root on the tablet
Then you can update
And you can root follow this forum.
I am on 4.2.1 and rooted
Thank for all who have this made it
Thanks
Sent from my ASUS Transformer Pad TF300T using xda premium
Flash zip file from asus web site it really works!
avatar_pt said:
Your instructions are wrong... You cannot flash the update using custom recovery, it will result in a brick..
Already happened with me!!! I've followed your tutorial blindly and had to sweat a bit to recover my tablet.
Change it ASAP.
Best solution to unbrick/flash is to go into fastboot and use
fastboot -i 0x0B05 flash system blob
fastboot -i 0x0B05 flash system "name of the update"
Click to expand...
Click to collapse
I did flash my asus with the zip from asus web page with no issues, I used TWRP 2.4.3
I un-zipped the file (just one time and without change the name) and I placed the next zip file to my SD card root folder, then I made a full wipe and intall the zip file from SD card.
Right now my asus belong to my wife, my youngest son and I because I can create users.
I made a backup of my apps with the asus aplication and I could reinstall all them after the update.
AB
Good to go for me. TWRP recovery and rooted. Nice write up man.
You might add in there something about the new bootloader booting directly to fastboot now, no need to select the usb icon. Also maybe mention to make sure that the drivers get installed properly once you are in fastboot. When I booted to fastboot it had to install some drivers, so I waited for those to finish before I ran the fastboot command.
Installed TB and about to uninstall some bloat. Can't wait for roms to get updated.
Thanks again man.
avatar_pt said:
Your instructions are wrong... You cannot flash the update using custom recovery, it will result in a brick..
Already happened with me!!! I've followed your tutorial blindly and had to sweat a bit to recover my tablet.
Change it ASAP.
Best solution to unbrick/flash is to go into fastboot and use
fastboot -i 0x0B05 flash system blob
fastboot -i 0x0B05 flash system "name of the update"
Click to expand...
Click to collapse
Yes , it's true , i was bricked , too
could you help me how to unbrick ????????
thanks
Re: [Tutorial] Rooting and installing a recovery on Android 4.2.1 (10.6.1.8+)
I don't understand what your bricks are. Maybe you didn't wipe your tablet as you should? I updated to 4.1 and 4.2 via recovery and never had a problem.
I updated the topic with more info
Sent from my ASUS Transformer Pad TF300T using Tapatalk 2

[TUTORIAL][GUIDE][HOW TO] Flash Factory Images || Unroot

Heya Nexus 5X Users,
In this thread, I'll help you to flash factory images on your nexus 5x. This process will wipe your device, so please BACKUP YOUR DATA before going through the flashing process.​
You can backup your data from some well-known apps from Play Store
- Titanium Backup (Root)
- Super Backup (Non-root)
- Helium (Non-root) etc
I am not responsible if anything goes wrong.
Click to expand...
Click to collapse
​
Step 1 : Pre-requisite
==> Setup your workspace by following step two from this (Credits @Heisenberg)
==> For MAC users, you can follow this thread (Credits @AshtonTS)
==> For Linux users, you can follow this thread (Credits @bloodychaos)
Step 2 : Downloading Factory Images
==> You can find Nexus 5X(bullhead) factory images from here.
Step 3 : Extracting Factory Images
==> Extract the archive you downloaded (First extract bullhead-XXXXX.tgz and then extract bullhead-XXXXX.tar). You can use WinRaR or 7z etc. It should look like this
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Step 4 : Unlock the bootloader
==> Follow this thread. (Credits @Heisenberg)
Step 5 : Flashing
==> Method 1 : (Short and Sweet)
- Power off your phone.
- Boot it in fastboot(bootloader mode) by pressing and holding Power Button + Volume Down at the same time.
- Connect your phone to your PC through your USB cable.
- Execute the flash-all.bat script (for Windows) or flash-all.sh(for MAC and LINUX) in the folder where you extracted the factory images.
**!!** For MAC: You'll have to edit the flash-all.sh, and add "./" before every fastboot command.
(For windows users)
- Wait for everything to flash.
- After everything finished, select "Recovery" using the volume buttons.
- When a small dead Android appears, press Power Button + Volume UP.
- Select "Wipe data/factory data reset"
- Reboot. Your phone should be stock.
==> Method 2 : (Long, but works always)
- Extract the image-bullhead-XXXXXX.zip somewhere easy to access (On C:/image-bullhead-XXXXXX for example).
- In the same folder, from the original archive, extract "bootloader-bullhead-XXXXXX.img" (rename it to bootloader.img) and "radio-bullhead-XXXXXX.img" (rename it to radio.img). You will have the following files:
- Power off your phone.
- Boot it in fastboot(bootloader mode) by pressing and holding Power Button + Volume Down at the same time.
- Connect your phone to your PC through your USB cable.
- Open a CMD window.(By pressing shift key + right mouse click at same time)
- Type the following commands, in this order (If you have a different folder, change the path)
Code:
fastboot flash bootloader C:/image-bullhead-XXXXXX/bootloader.img
fastboot reboot-bootloader
fastboot flash radio C:/image-bullhead-XXXXXX/radio.img
fastboot reboot-bootloader
fastboot flash system C:/image-bullhead-XXXXXX/system.img
fastboot flash vendor C:/image-bullhead-XXXXXX/vendor.img
fastboot flash userdata C:/image-bullhead-XXXXXX/userdata.img
(Note: this command will wipe your device (including /sdcard), EVEN if your bootloader is already unlocked.)
fastboot flash boot C:/image-bullhead-XXXXXX/boot.img
fastboot flash recovery C:/image-bullhead-XXXXXX/recovery.img
fastboot erase cache
fastboot flash cache C:/image-bullhead-XXXXXX/cache.img
- After everything finished, select "Recovery" using the volume buttons.
- When a small Android appears, press Power Button + Volume UP.
- Select "Wipe data/factory data reset"
- Reboot. Your phone should be stock.
Please consider downloading a free/paid version of my ANDROID APP
If you want me to include anything in OP or in second post, please quote me on this thread with needed information.
Hit thanks if you appreciate my efforts and if this thread helped you at any moment
(Credits @abaaaabbbb63 for inspiring me )
(Credits @Chirag_Galani for testing it )
Reserved post #1
Reserved post #2
Sent from my Nexus 5X using XDA Free mobile app
What is vendor? Never seen that in a nexus factory image before...
phositadc said:
What is vendor? Never seen that in a nexus factory image before...
Click to expand...
Click to collapse
It stores driver
It was not present in old nexus images
But it is present in Nexus 9 factory images as well
added to index
[INDEX] LG NEXUS 5X Resources Compilation Roll-Up by reyscott1968
As an FYI (I know this is a Nexus 5 thread... ) on my Nexus 6P, I was unable to "fastboot oem unlock" I to run "fastboot flashing unlock" - So if anyone has an issue with oem unlock on the 5X, that's the command to run
Hehe, this thread looks familiar
abaaaabbbb63 said:
Hehe, this thread looks familiar
Click to expand...
Click to collapse
You gonna be pushed up to the OP soon
(Busy a bit)
nice
can i send my nexus 5x back to vendor after using your unroot method
ishu07x said:
can i send my nexus 5x back to vendor after using your unroot method
Click to expand...
Click to collapse
Reock the bootloader with this command:
Code:
fastboot oem lock
(This command will wipe all user data from the device)
Important: do not lock the bootloader unless you have first flashed the stock images. Locking the bootloader while you have a custom recovery installed can result in a brick. Please also note that the locking procedure will wipe all data on an encrypted device.
Once all commands/flashes are complete you can reboot the device:
Code:
fastboot reboot
Now you can submit back to vendor
I must be missing something. How is this thread any different or better than this one? http://forum.xda-developers.com/nexus-5x/general/guides-how-to-guides-beginners-t3206930
bobby janow said:
I must be missing something. How is this thread any different or better than this one? http://forum.xda-developers.com/nexus-5x/general/guides-how-to-guides-beginners-t3206930
Click to expand...
Click to collapse
Sorry, I can't compare!
If I say that my thread is more reliable, then I'm biased.
If I say that that thread is more reliable, then I'm proving myself fool.
It is upto you which method and thread to follow mate.
If you really want me to speak what's different in my thread,
All I can say for now, I have written two methods for flashing factory images.
This guide is completely dedicated to flashing factory images and this guide was written first in time than that thread
I have also written guide for flashing factory images for Nexus 6.
I owned nexus 5 and nexus 6 previously. Now I am just using OPO.
I have tested this guide on nexus 5x and posted here.
I hope this answers your query
Mr hOaX said:
Sorry, I can't compare!
If I say that my thread is more reliable, then I'm biased.
If I say that that thread is more reliable, then I'm proving myself fool.
It is upto you which method and thread to follow mate.
If you really want me to speak what's different in my thread,
All I can say for now, I have written two methods for flashing factory images.
This guide is completely dedicated to flashing factory images and this guide was written first in time than that thread
I have also written guide for flashing factory images for Nexus 6.
I owned nexus 5 and nexus 6 previously. Now I am just using OPO.
I have tested this guide on nexus 5x and posted here.
I hope this answers your query
Click to expand...
Click to collapse
Yes, I was just curious is all. It's laid out very nicely and very clear I really just wanted to make sure there were no hidden gems I missed. Thanks for the effort.
i downloaded a custom rom and it said if a pop up comes up flash the vendor.img provided. i thought my build before i did the rom and vendor.img was MDB08L and now after installing the custom ROM and that vendor.img it says MDB08M. my question is that I'm having issues receiving calls. everything else works but imcoming calls so I'm wondering if maybe i flashed something that doesn't match which is causing this issue, and was gonna do the method in the op but wasn't sure which build i should use. not sure if i can do either. any info would be helpful thanks in advance.
Edit: I guess my question is can I flash factory IMG for MMB29K or does it have to be the exact one my phone has. Don't wanna cause a brick. Never had a phone that was fully unlocked.
@Mr hOaX I did the factory flash and it boots just fine, but I obviously still have unlocked bootloader. but when I try to boot into recovery it is the andoid icon with the x. did I do something wrong or should I lock the bootloader for it to work properly?
STIKID said:
@Mr hOaX I did the factory flash and it boots just fine, but I obviously still have unlocked bootloader. but when I try to boot into recovery it is the andoid icon with the x. did I do something wrong or should I lock the bootloader for it to work properly?
Click to expand...
Click to collapse
Im still new at this... But I think at that point you have to press power + vol up to go into recovery
---------- Post added at 07:35 AM ---------- Previous post was at 07:33 AM ----------
So I'm not sure im back to stock... I ran the flash-all but it was failing at the boot.img... But the flash carried on and finished.. And.. Obviously my phone is working right now... Am I OK?
joewoo said:
Im still new at this... But I think at that point you have to press power + vol up to go into recovery
---------- Post added at 07:35 AM ---------- Previous post was at 07:33 AM ----------
So I'm not sure im back to stock... I ran the flash-all but it was failing at the boot.img... But the flash carried on and finished.. And.. Obviously my phone is working right now... Am I OK?
Click to expand...
Click to collapse
when I press the volume up and power button it just starts to boot and then restarts if I hold them down. if I do volume down and power "fastboot" and scroll to recovery it takes me to the dead android with a red triangle and ! inside that. and says no command. did I not fast properly. I was able to relock the bootloader without bricking the phone.
STIKID said:
when I press the volume up and power button it just starts to boot and then restarts if I hold them down. if I do volume down and power "fastboot" and scroll to recovery it takes me to the dead android with a red triangle and ! inside that. and says no command. did I not fast properly. I was able to relock the bootloader without bricking the phone.
Click to expand...
Click to collapse
Don't hold down power+vol up.... Try just tapping them

[GUIDE] How to * Unlock * Flash TWRP * Root * OnePlus X [Including Oxygen 3.1.3]

Notice: Rooting your device will break OTAs because they require an unmodified system, so you might want to check for updates before rooting your X. However, there is a workaround:
Boot into TWRP via step 5E below, but DO NOT flash it (step 5D)!!
Do a backup of your completely stock, unrooted ROM
Root the device by flashing SuperSU...zip
When an OTA hits, you can get it by doing this:
Boot into TWRP again without flashing it (same as step 1 above)
Restore your stock, unrooted ROM (from step 2 above)
Apply the update from stock recovery
Backup the unmodified ROM with the update if you want, then re-root as above.
Note: You will lose any changes, mods or app data since you did the backup, but hey, at least the OTA is applied.
If you get stuck with an update that won't flash and you haven't backed-up your unrooted ROM as above, look here:
[Guide] How to Install OTA's with TWRP, and please hit thanks for @SpiritBreak3r :good:
_____________________​
Disclaimer: Rooting does not void the OnePlus X’s warranty, though damaging your hardware (i.e., burning up your CPU by overclocking, hardbricking the device) will. You proceed at your own risk! I accept no responsibility for what you do with your phone. Follow the directions closely, and the odds are you will succeed without any trouble. If you are not sure what you are doing, do some more research before you try. If you get confused with terminology, try looking here for answers or Google it. If you get stuck, post a question in the thread—we're here to help you.
Preliminary steps​
1. Make sure that your phone is always charged above 50%!!!
Running out of battery in the middle of flashing something could brick your phone.
2. Make sure that your computer can properly communicate with the device:
We will be issuing commands to the phone from your PC via the USB cable using Android’s SDK tools, in particular ADB and fastboot. If you have not done so already, you must install the following on your Windows computer for this to work:
Java runtime
The Universal Android ADB Driver for Windows.
SDK tools for Android (alternately just ADB & fastboot). Remember where this is installed on your harddrive for later!
You can verify the connection between your PC and phone by running the following procedure:
A. With the phone booted normally, connect it to your computer with the USB cable.
B. Enable Android debugging by going to Settings > About phone and tapping on “Build number” 7 times.
C. Go to Settings > Developer options and check “Android debugging”. A dialogue box will appear asking you to authorize your computer’s RSA fingerprint. Click “Always allow...”
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
D. Open a command prompt in Windows and navigate to the folder where you put SDK tools for Android (ADB & fastboot) above.
E. Type the following command:
Code:
adb devices
You should get a return like this:
If you cannot get the connection to work:
1. Check your USB connection, then verify that Android debugging is enabled in settings and that your computer’s RSA fingerprint has been authorized.
2. Still not working? Open Device Manager in Windows and make sure that you don’t have a yellow exclamation point next to something like “Android Device” or “One.” This would indicate a driver problem that must be resolved. Try re-installing the Universal Android ADB Driver for Windows, and make sure to restart your computer. Once you’ve rebooted, if you still have a yellow triangle, right-click on the device and select “Update Driver Software,” then “Search automatically for updated driver software.”
3. If you still have a yellow exclamation point, then try forcing the driver to install:
In Device Manager, right-click on the device and select “Update Driver Software.”
Select “Browse my computer for driver software”
Select “Let me pick from a list of device drivers on my computer”
Select “ADB Interface” from the list
Select manufacturer “Google”
Select “Android Testing Interface Version xxx”
Click “Next.” If you get a warning, select “Yes” to continue and wait for the driver to install properly.
3. Know how to enter “fastboot mode” on the OnePlus X
To root the device, you must be competent at booting it into fastboot mode. There are two ways to accomplish this:
Power off the phone. Then simultaneously hold down the volume up & power buttons until it vibrates. When done correctly, you will see the words “Fastboot Mode” on a black screen. If not, you dumb-thumbed it, and the device will boot normally into Android. Power off the device and try again.
With the phone running Android normally and Android debugging enabled (see above), open a command prompt in Windows, navigate to the folder where you installed SDK tools (ADB & fastboot) and type:
Code:
adb reboot bootloader
Rooting the OnePlus X​
There are three essential steps to rooting the device:
Unlock the bootloader
Flash or boot into TWRP custom recovery [For OxygenOS 3.1.3 use TWRP blu_sp★rk r175]
Flash SuperSU...zip from recovery [For OxygenOS 3.1.3 use SuperSU v2.78 SR1 beta]
However, we're going to add a few more to protect your data and device in case something gets borked.
1. Backup your phone’s data
Unlocking the bootloader will involve doing a factory reset resulting in the loss of all accounts, emails, texts, apps and app data, pictures, music, etc. on the device. Move anything you need to keep onto your PC or a cloud service like DropBox.
2. Unlock the bootloader
2A.Go into Developer Options and enable bootloader unlocking
2B. Boot the device into fastboot mode. (Simultaneously hold down the volume up & power buttons until it vibrates.) You should see a black screen with the words “Fastboot Mode”.
2C. Plug in the USB cable.
2D. Verify that your device is connected with this command:
Code:
fastboot devices
You should get a return like the image above under Preliminary Steps
2E. Unlock the bootloader using the following commands:
Code:
fastboot oem unlock
The device will unlock the bootloader, erase all user data and reboot itself into Android. You will have to set up everything from scratch.
3. Re-enable Android debugging
3A. Re-enable Developer options by going to Settings > About phone and tapping on “Build number” 7 times.
3B. Go to Settings > Developer options. Check “Android debugging” and re-authorize your computer’s RSA fingerprint.
4. Download SuperSU zip
4A. Head over to Chainfire’s CF-Root thread and download the SuperSU access management tool from the “CWM / TWRP / MobileODIN installable ZIP” link. It will probably called something like UPDATE-SuperSU-v2.XX.zip. This zip file will root your device and install the SuperSU access management app in one smooth motion. Hit the thanks button for Chainfire or donate to his Paypal account and buy him a Coke.
NOTE: For OxygenOS 3.1.3 use SuperSU v2.78 SR1 beta
4B. Copy UPDATE-SuperSU-v2.XX.zip to your phone’s SD card.
5. Flash TWRP custom recovery
5A. Download TWRP recovery.
NOTE: For OxygenOS 3.1.3 use TWRP blu_sp★rk r175
5B. Place file you downloaded above to the location where you installed SDK tools (ADB & fastboot).
5C. Boot the device into fastboot mode and connect it to your computer with the USB cable.
5D. In this step, we will replace your stock recovery with TWRP recovery.
Note: This step is optional. If you want to root but preserve stock recovery, skip straight ahead to step 5E below. Thanks @rockuppl for the reminder. :good:
Open a command prompt in Windows and navigate to the folder where you installed SDK tools (ADB & fastboot). Type the following commands:
Code:
fastboot flash recovery twrp-3.0.0-0-onyx.img
5E. Reboot into TWRP recovery with the following command.
Code:
fastboot boot twrp-3.0.0-0-onyx.img
You should now see the custom recovery you just flashed, not the stock recovery.
6. Backup your stock ROM before making any changes
In TWRP press “Backup.” <--- See how simple this is???
Don’t be a noob—backup your device!!! Right now we don't have stock boot debuggable image files for the OnePlus X, so borking your device could leave you with a nice paperweight until we do. :crying: Restoring from a backup in recovery is easy, and only works if you've backed-up first
7. Root the device
7A. The device should still be in recovery from step 6 above. Go back to the main menu and press “Install,” find UPDATE-SuperSU-v2.XX.zip on the SD card, then flash it.
7B. Reboot the phone. It is now rooted!
7C. Go to the app drawer and open SuperSU. Update the binary if prompted. Its icon looks like this:
7D. Download and install Root Checker from the Play Store to verify that you have root access.
Yes I already own the phone and I see the bootloader unlock switch in dev options. I also checked the stock recovery which gives options to flash files from phone memory or otg. So it must be fairly easy. But I still don't want to risk it without it being tried and tested. If there were a custom recovery I could have also backed up the factory image. Only choice is to wait and see I guess
I could try today evening... will update here.
@CafeKampuchia
Is it ok to flash supersu.zip with stock recovery.
Before flashing supersu.zip, will unlock bootloader . Will follow the guide from oneplue two procedure to unlock..
Flashing supersu is safe on hundreds of devices, but I don't have the X so I can't say one way or the other.
I tried the OnePlus One tutorial to unlock bootloader and root it thanks to this guide.
When it comes to install TWRP, adb tells me it's ok but when I boot into recovery, it's the "official" one that show up.
Even from this recovery, I tried to install the SuperSU.zip, but it keeps telling me it failed, so I think I'll just wait for someone to do it correctly
Knockys said:
I tried the OnePlus One tutorial to unlock bootloader and root it thanks to this guide.
When it comes to install TWRP, adb tells me it's ok but when I boot into recovery, it's the "official" one that show up.
Even from this recovery, I tried to install the SuperSU.zip, but it keeps telling me it failed, so I think I'll just wait for someone to do it correctly
Click to expand...
Click to collapse
I wouldn't try flashing a recovery for another device, especially if the stock recovery isn't available.
I'm surprised that supersu wouldn't flash from stock, though.
CafeKampuchia said:
I wouldn't try flashing a recovery for another device, especially if the stock recovery isn't available.
I'm surprised that supersu wouldn't flash from stock, though.
Click to expand...
Click to collapse
Well I thought that TWRP was for all devices and I already went to the stock one before installing TWRP without success to flash SuperSU.
But apprently, installing TWRP the way I did wasn't the right way because I still boot to the stock recovery :/
Knockys said:
I tried the OnePlus One tutorial to unlock bootloader and root it thanks to this guide.
When it comes to install TWRP, adb tells me it's ok but when I boot into recovery, it's the "official" one that show up.
Even from this recovery, I tried to install the SuperSU.zip, but it keeps telling me it failed, so I think I'll just wait for someone to do it correctly
Click to expand...
Click to collapse
Hi, after unlocking bootloader, you are not able to update/flash supersu.zip from stock recovery? right?
if it so, then we need to wait for custom recovery to flash root.
Thanks.
Knockys said:
Well I thought that TWRP was for all devices and I already went to the stock one before installing TWRP without success to flash SuperSU.
But apprently, installing TWRP the way I did wasn't the right way because I still boot to the stock recovery :/
Click to expand...
Click to collapse
No, TWRP is definitely not for every device. You have to use the version made for your specific device.
CafeKampuchia said:
No, TWRP is definitely not for every device. You have to use the version made for your specific device.
Click to expand...
Click to collapse
My bad then ahah
mjose said:
Hi, after unlocking bootloader, you are not able to update/flash supersu.zip from stock recovery? right?
if it so, then we need to wait for custom recovery to flash root.
Thanks.
Click to expand...
Click to collapse
Yes it fails on stock recovery, we'll have to wait for a custom one indeed...
Hi, finally its available in oneplus forum
https://forums.oneplus.net/threads/...om-recovery-root-take-efs-backup-more.401713/
Thanks.
mjose said:
Hi, finally its available in oneplus forum
https://forums.oneplus.net/threads/...om-recovery-root-take-efs-backup-more.401713/
Thanks.
Click to expand...
Click to collapse
THIS WORKS! But beware using the recovery imagine provided there as in is in Mandarin, not English. Other than that it works fine! Already rooted
Savya said:
THIS WORKS! But beware using the recovery imagine provided there as in is in Mandarin, not English. Other than that it works fine! Already rooted
Click to expand...
Click to collapse
Hey i need your help, i installed the custom recovery in Mandarin but i don't understand anything! Could you please tell me where i should go in this recovery to wipe dalvik cache and flash super su? Step by step? Thanks!
Works for me too ! I'll try to install Xposed now ahah !
Hope they'll release TWRP in English soon !
EDIT : Xposed installed and working ! For those who don't know how to do, see here
mjose said:
Hi, finally its available in oneplus forum
https://forums.oneplus.net/threads/...om-recovery-root-take-efs-backup-more.401713/
Thanks.
Click to expand...
Click to collapse
I'll update the OP, but I won't make it a noob friendly guide until we have an English TWRP from a known/trusted developer.
Edit: I tried thanking your post, but I'm out of thanks for the day--8 post limit
CafeKampuchia said:
I'll update the OP, but I won't make it a noob friendly guide until we have an English TWRP from a known/trusted developer.
Edit: I tried thanking your post, but I'm out of thanks for the day--8 post limit
Click to expand...
Click to collapse
I've requested the OP for an English version and hopefully he'll post a link soon.
And that's okay you can thank me later xD
Savya said:
I've requested the OP for an English version and hopefully he'll post a link soon.
And that's okay you can thank me later xD
Click to expand...
Click to collapse
I have english version repacked from original source
https://www.dropbox.com/s/zypo7b41lvj0r2h/en-recovery-twrp-onyx-.img?dl=0
ukanth said:
I have english version repacked from original source
https://www.dropbox.com/s/zypo7b41lvj0r2h/en-recovery-twrp-onyx-.img?dl=0
Click to expand...
Click to collapse
Just flashed it now!
Confirmed that its working and its in English!
Thanks a ton mate!
Also do i have your permission to post your link in the oneplus forums? As there are many users there too waiting for an english version.
@ukanth : shared the recovery on my post on the OP forums
https://forums.oneplus.net/threads/...om-recovery-root-take-efs-backup-more.401713/

[Tutorials] How To Root Lenovo K8 Note & Install TWRP(UnOfficial) + Stock Rom

Warning
Before Proceeding backup your data
TRY at OWN risk I'm NOT Responsibe if you BRICK YOUR DEVICE
Update- This method is tested & working with latest ota update NMB26.54-74
[/CENTER][/B][/SIZE][/COLOR]
IF ANYTHING GOES WRONG Download & Flash Stock ROM
Stock ROM link
SPFlashTool link
Updated Stock ROM 54-74 GDrive - here
New Oreo 27.43-20 Link
Old version Stock ROM Google Drive Link Stock Rom
nvram backup file by @peacelover94 - here
Solution For
>Tool img DL fail
Just check/tick these option in spflashtool settings & Flash stock rom again
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Video Guide For Stock Rom Flashing - Youtube
How to Flash Stock Rom via Fastboot Method -
1. Open CMD by Shift + Right Click in Folder where your stock firmware .img files are.
2. Reboot to Fastboot Mode by using cmd command
adb fastboot reboot​Or
Switch off then Press & Hold Vol Up + Power button for while once menu appeared Select fastboot by using Vol Up key & confirm by pressing Vol Down Key
3. In fastboot type following command in CMD Window
For checking devices is connected in fastboot enter
fastboot devices​If Connected then proceed following commands
fastboot flash boot boot.img
fastboot flash cache cache.img
fastboot flash recovery recovery.img
fastboot flash system system.img​ flashing system takes 10+ mins
fastboot flash data userdata.img
fastboot reboot​
Download & Install ADB from here
First Unlock your bootloader
1. First of all, enable the Developer Option
To Enable the Developer Option, Go to your Settings -> About -> Software Information -> More -> Now Tap on the Build Number 7-8 Times until you see a toast message “Developer option enabled"
2. Go back to settings -> Now you need to enable the OEM Unlock by going to Settings -> Developer Option and Enable OEM Unlock and USB Debugging
3. Now connect your phone to Computer using USB Cable.
4. When you connect your Phone to Computer, please wait until all the drivers get installed.
5. Open a command prompt window by pressing Shift Key + Right Mouse Click.
6. Now type the command below to reboot your phone to bootloader
adb reboot bootloader​7. If you see a pop up to allow USB Debugging on your phone, Click OK.
8. proceed to unlock the bootloader with the following command:
Remember that this step will wipe EVERYTHING off the phone
fastboot oem unlock​Say Yes to unlock bootloader and then it will some time format your data
9. Reboot Your Device , You will see Orange Status bla bla bla Don't panic Its normal thing now setup your device but do not restore backup yet
Flashing TWRP and ROOT
Updated Black Screen Fix TWRP - Download
Old Download TWRP
Download latest Magisk zip from here
Or
SuperSu zip from here
Flahed & Tested SuperSU v2.82 works fine but SafetyNet Fails
Sock Recovery if needed Link
1. Connect your device to PC
2. Open CMD by Shift+Right click open cmd where your TWRP_3.1.1.0.img is downloaded.
3. Reboot to Bootloader by
adb reboot bootloader​4. Now enter following command in fastboot
fastboot flash recovery TWRP_3.1.1.0.img​5. DO NOT USE fastboot reboot
Use "vol up + down + power button" to manually switch off you k8 note, otherwise twrp will restore to stock if you use fastboot reboot command.
6. After Switch Off Press & hold vol up + power button then select recovery by vol up & press vol down key to enter in recovery.
7. Now Wait for 30 Sec/ till phone vibrates, Then press power button + vol up simultaneously until you see twrp lock screen.
8. Just Cancel if It asks for Enter password to decrypt and Allow modification by swipe.
9. If you see internal storage 0mb Then GoTo Wipe and FORMAT DATA once & reboot to recovery
10. GoTo install browse and select Magisk.zip or SuperSU.zip & flash.(optional if needed install Busybox for Android NDK by osm0sis magisk module for busybox)
11. Reboot Enjoy.
Known bug in TWRP-
Battery always shows 50% in TWRP
Video Guide https://youtu.be/HrbppEWlOhs
Join Lenovo K8 Note Development Group on Telegram for direct Conversation Link
WhatsApp Group Link
Enable Wireless Display/MiraCast Magisk Module - Video
Thanks to:
@andy_zhang - for stock rom post link
and me @ysalunke007 for TWRP
NEXT CUSTOM ROM
Big Thanks for the Tutorial. If anything happens wrong while rooting like boot loop or something worse, is there stock rom or firmware to flash or push through adb ?
Yes
peacelover94 said:
Big Thanks for the Tutorial. If anything happens wrong while rooting like boot loop or something worse, is there stock rom or firmware to flash or push through adb ?
Click to expand...
Click to collapse
yes, there is stock ROM
link also provided in this post end.
btw here's direct link Stock ROM
FlashTool link
ysalunke007 said:
yes, there is stock ROM
link also provided in this post end.
btw here's direct link Stock ROM
FlashTool link
Click to expand...
Click to collapse
Thank you very much. The flash tool link does not seems to work. Hope its SP flash tool you are talking about.
flash via adb fastboot methoad i have succesfully flash adb method
peacelover94 said:
Big Thanks for the Tutorial. If anything happens wrong while rooting like boot loop or something worse, is there stock rom or firmware to flash or push through adb ?
Click to expand...
Click to collapse
Nice Job
Finally rooting tutorial for Lenovo K8 Note has become available.
Does SuperSu work fine?
Anas Rahman said:
Does SuperSu work fine?
Click to expand...
Click to collapse
Not tested by me but some user says in original rom post that he flashed superSU from old twrp also works fine.
peacelover94 said:
Thank you very much. The flash tool link does not seems to work. Hope its SP flash tool you are talking about.
Click to expand...
Click to collapse
Yes it's SP flash tool but you can use adb fastboot also
ysalunke007 said:
Not tested by me but some user says in original rom post that he flashed superSU from old twrp also works fine.
Click to expand...
Click to collapse
I'll confirm it tomorrow
ysalunke007 said:
Yes it's SP flash tool but you can use adb fastboot also
Click to expand...
Click to collapse
Please tell me how to flash firmware.Im new to this device firmware flashing
lenrussel said:
Please tell me how to flash firmware.Im new to this device firmware flashing
Click to expand...
Click to collapse
It's easy bro check this guide
https://androidmtk.com/flash-stock-rom-using-smart-phone-flash-tool
Fastboot Guide
http://www.stupdroid.com/2016/08/flash-stock-rom-via-fastboot-on-android.html?m=1
Does the rom link given here unzips perfectly?
Because i saw in another thread of Lenovo K8note titled firmware, users unable to unzip due to error in system img. Also downloading from baidu needs a user id. If its possible could you or anyone else reading this upload it in some other online storage drive. Im little bit worried about getting a worse situation while rooting. Even if it goes wrong i can use the stock firmware to make it back.
peacelover94 said:
Does the rom link given here unzips perfectly?
Because i saw in another thread of Lenovo K8note titled firmware, users unable to unzip due to error in system img. Also downloading from baidu needs a user id. If its possible could you or anyone else reading this upload it in some other online storage drive. Im little bit worried about getting a worse situation while rooting. Even if it goes wrong i can use the stock firmware to make it back.
Click to expand...
Click to collapse
There is mega download link available too
https://forum.xda-developers.com/an...8note-original-firmware-t3679499/post73946000
lenrussel said:
There is mega download link available too
https://forum.xda-developers.com/an...8note-original-firmware-t3679499/post73946000
Click to expand...
Click to collapse
Thanks for the reply. Anyhow got a work around for downloading from baidu using chrome extension, without account. Just wanted to confirm whether the firmware zip is working fine. If some one used it and been successful, please do tell me.
ysalunke007 said:
It's easy bro check this guide
https://androidmtk.com/flash-stock-rom-using-smart-phone-flash-tool
Fastboot Guide
http://www.stupdroid.com/2016/08/flash-stock-rom-via-fastboot-on-android.html?m=1
Click to expand...
Click to collapse
Do i have to unlock bootloader again after flashing the firmware in order to root the device?
lenrussel said:
Do i have to unlock bootloader again after flashing the firmware in order to root the device?
Click to expand...
Click to collapse
Yes, I think so. Anyhow there is no need to unlock oem again if you are flashing the rom via TWRP. Anyhow let someone confirm about it.
peacelover94 said:
Yes, I think so. Anyhow there is no need to unlock oem again if you are flashing the rom via TWRP. Anyhow let someone confirm about it.
Click to expand...
Click to collapse
There is a error while extracting zip file of the firmware .just checked, I downloaded it from mega.i want to confirm if its the same for baidu also
lenrussel said:
Do i have to unlock bootloader again after flashing the firmware in order to root the device?
Click to expand...
Click to collapse
No need to unlock bootloader again if you use fastboot method to flash stock firmware , & for spflashtool I'm not sure but I think it remains unlocked
lenrussel said:
There is a error while extracting zip file of the firmware .just checked, I downloaded it from mega.i want to confirm if its the same for baidu also
Click to expand...
Click to collapse
No error while extracting firmware downloaded from baidu

[RECOVERY][OFFICIAL][3.6.1-x] TWRP for Galaxy Note 20 & Note 20 Ultra Exynos

{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Official TWRP 3.6.1-* For Galaxy Note 20 & Note 20 Ultra​Only for exynos variants - N980F / N981B / N985F / N986B (Europe - Global, Single/Dual-SIM)
Disclaimer
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.
Kernel Features:
N986BXXU3FVC5 kernel source (OneUI 4.1 / March 2022 sourcecode)
disabled uh/defex/proca/knox/rkp/rooting protection/logging/audit/useless features
Recovery Features:
Android 11 tree
built in full 64 mode
toybox/busybox support
compatible with Android 12.0 and above
Downloads:
Galaxy Note 20 (c1s / N980F / N981B)
Galaxy Note 20 Ultra (c2s / N985F / N986B)
AVB disabled vbmeta
* official TWRP builds are not up yet, you can find latest test builds in post #2, below
Instructions:
Odin (Windows)
Prerequisites: Samsung USB drivers, Odin v3.14.1
If you already have the bootloader unlocked you can skip to step 6.
Make sure OEM Unlock is ON in developer settings;
Turn off the phone;
Use vol up + vol down + usb cable plugged to a pc to start the phone in download mode;
Long press vol up then confirm you want to unlock bootloader (this is needed one time only);
* Please be aware all your data will be erased including internal storage and phone will reboot!!
Let the phone boot normally, pass the setup and connect to internet (wireless or mobile data) in order to unlock RMM;
Make sure OEM Unlock is ON in developer settings;
Turn off the phone;
Use vol up + vol down + usb cable plugged to a pc to start the phone in download mode, short press vol up to confirm you want to go to download mode;
* If by any chance you see RMM state=Prenormal or KG state=Prenormal, redo from step 5!
Download appropriate TWRP .tar file according to your device
Download AVB disabled vbmeta .tar
Open Odin v3.14.1 and place the downloaded TWRP .tar file in AP tab, downloaded vbmeta .tar file in CP tab and click Start - once you press start grab the phone and press vol up + power to force it boot straight in TWRP after flashing
!! Only if coming from full stock (magisk patched) firmware
In TWRP home screen press wipe - format data - yes
Download and flash multidisabler-samsung-3.* zip to disable security and encryption.
Heimdall (Linux)
Install heimdall & additional required packages:
Code:
sudo apt-get update
sudo apt-get install heimdall-flash android-tools-fastboot android-tools-adb libusb-0.1-4 libusb-1.0-0 libusb-1.0-0-dev
If you already have the bootloader unlocked you can skip to step 6.
Make sure OEM Unlock is ON in developer settings;
Turn off the phone;
Use vol up + vol down + usb cable plugged to a pc to start the phone in download mode;
Long press vol up then confirm you want to unlock bootloader (this is needed one time only);
* Please be aware all your data will be erased including internal storage and phone will reboot!!
Let the phone boot normally, pass the setup and connect to internet (wireless or mobile data) in order to unlock RMM;
Make sure OEM Unlock is ON in developer settings;
Turn off the phone;
Use vol up + vol down + usb cable plugged to a pc to start the phone in download mode, short press vol up to confirm you want to go to download mode;
* If by any chance you see RMM state=Prenormal or KG state=Prenormal, redo from step 5!
Download appropriate TWRP .img file according to your device
Download AVB disabled vbmeta .img
Open your preferred terminal in linux and type (replace red lines with the path of downloaded img files):
Code:
sudo heimdall flash --RECOVERY /path/to/recovery.img --VBMETA /path/to/vbmeta.img
and press enter - once you press enter grab the phone and press vol up + power to force it boot straight in TWRP after flashing
!! Only if coming from full stock (magisk patched) firmware
In TWRP home screen press wipe - format data - yes
Download and flash multidisabler-samsung-3.* zip to disable security and encryption.
TWRP
Download .img file for your device and install from your current TWRP with Install image - browse to image location and select - Recovery
dd (Requires root)
Download .img file for your device, place it in the root of your /sdcard folder, rename it to twrp.img then run the following commands via adb shell or a terminal emulator app:
Code:
su
dd if=/sdcard/twrp.img of=/dev/block/platform/13100000.ufs/by-name/recovery
!! Only if coming from full stock (magisk patched) firmware
In TWRP home screen press wipe - format data - yes
Download and flash multidisabler-samsung-3.* zip to disable security and encryption.
Sources:
Device trees - c1s / c2s
Kernel - https://github.com/corsicanu/android_kernel_samsung_universal9830/tree/android-11.0
Recovery - https://github.com/omnirom/android_bootable_recovery
Credits:
TeamWin, geiti94, jesec, dyneteve, ianmacd, testers, donors and anyone else involved in making this possible
As always, if you like what i do, you can always send me some pizza/coffee/drugs/drinks or anything else via paypal.me/corsicanu
Compatibility and changelog:
06.05.2022 - Initial TWRP 3.6.1 release
Compatibility: Android 12 (OneUI 4.0 & 4.1)
Security patch: N/A
Misc links:
TeamWin official website
Telegram Support Group
Telegram Channel
Bootloaders / modems zips
Latest Magisk stable or canary
Further reading:
Full guide of how to unlock/root your device
Background on Android Verified Boot
Rollback protection
FAQ
Q: Can i use this recovery with other firmware then mentioned in compatibility?
A: Only with same Android version or Rollback protection might kick in and you won't be able to pass the lockscreen.
Q: Where do i get vbmeta.img?
A: From here, download the one you need according to install instructions.
Q: TWRP can't mount data partition, what to do?
A: Make sure you formatted data partition.
Q: Phone is not booting even after 20 minutes
A: Try to reboot. If still not booting, make sure you flashed multidisabler zip / formatted data partition.
Q: How to format data partition?
A:
Q: Phone is showing only Samsung logo
A: Try to reboot. If still not booting, consider installing an older TWRP build or a more recent firmware. If you still don't succeed, post here some details about your device and previous firmware and we might be able to help.
Q: Why do i need to format data partition?
A: Because old firmware encrypted your data partition and new rom can't decrypt and use that content / root needs access to data partition to place misc files / phone not booting after flashing root until data partition gets formatted.
Updated first post with official pages from twrp.me, but since the builds are not up yet, i posted latest test builds in post #2.
Regards
well done sir
Hello! I have a rooted sm-n980f exynos European version. I rooted my phone using magisk patched AP file through odin. I am trying to flash twrp 3.6.1 above and vbmeta.tar using odin but it fails. What shall I do? Thank you!
edsoedso said:
Hello! I have a rooted sm-n980f exynos European version. I rooted my phone using magisk patched AP file through odin. I am trying to flash twrp 3.6.1 above and vbmeta.tar using odin but it fails. What shall I do? Thank you!
Click to expand...
Click to collapse
Can you attach a screenshot of Odin and eventually tell me if you see anything in particular changing on phone screen? It should throw an error or something below the usual download mode lines. A pic of phone screen would be nice but i'd assume it's your only phone..
Regards
corsicanu said:
Can you attach a screenshot of Odin and eventually tell me if you see anything in particular changing on phone screen? It should throw an error or something below the usual download mode lines. A pic of phone screen would be nice but i'd assume it's your only phone..
Regards
Click to expand...
Click to collapse
Nothing changes in the screen phone. Attached is odin screen. Thank you!
edsoedso said:
Nothing changes in the screen phone. Attached is odin screen. Thank you!
Click to expand...
Click to collapse
Can you please check Kg state line from download mode? What's written there?
corsicanu said:
Can you please check Kg state line from download mode? What's written there?
Click to expand...
Click to collapse
I installed twrp but it seems that it does not read the internal storage.
corsicanu said:
Can you please check Kg state line from download mode? What's written there?
Click to expand...
Click to collapse
And how to flash the multidisabler? it seems that everything is encrypted and is impossible to locate it in twrp?
I found it!
1. enter into TWRP (after flashing twrp.tar and Vbmeta.tar via odin), format data and reboot again in TWRP
2. Being in TWRP, transfer from PC to your phone multidisabler.zip and magisk zip.
3. flash them both
4. reboot system
That is all!
i have note 20 5G N918B , i make every thing but my mobile keep restarting in to TWRP recovery , not going to system
Hello! What can be done to remove encryption from TWRP? I have flashed disabler but it still continues to encrypt. I tried formatting data from twrp, changing file system to EXT4 and back to EXT2 but with no result so far. any help?
m7mdo_93 said:
i have note 20 5G N918B , i make every thing but my mobile keep restarting in to TWRP recovery , not going to system
Click to expand...
Click to collapse
edsoedso said:
Hello! What can be done to remove encryption from TWRP? I have flashed disabler but it still continues to encrypt. I tried formatting data from twrp, changing file system to EXT4 and back to EXT2 but with no result so far. any help?
Click to expand...
Click to collapse
I'm still trying to find the issue, for whatever reason multidisabler needs a second flash to work as far as i seen on my device. So for now please flash multidisabler 2 times in a row, until i find a better solution to this.
Regards
corsicanu said:
I'm still trying to find the issue, for whatever reason multidisabler needs a second flash to work as far as i seen on my device. So for now please flash multidisabler 2 times in a row, until i find a better solution to this.
Regards
Click to expand...
Click to collapse
yeah , after flashing multidisabler second time my mobile able to working .. thanks for your help
corsicanu said:
I'm still trying to find the issue, for whatever reason multidisabler needs a second flash to work as far as i seen on my device. So for now please flash multidisabler 2 times in a row, until i find a better solution to this.
Regards
Click to expand...
Click to collapse
Thank You very much. It worked!
A big thank you, it works fine.
hey.
i did everything from this guide, and i got root access+twrp installed.
the problem that i am facing, is that i canot install anything from twrp, due to insufficient space.
the system size that twrp is reading is only 8384kb, so every installation of gapps is failed.
i tried to wipe ,format data, and changing the file system, but nothing helped.
please give me an idea how to solve it.
thanks.
Good day
Does this work for Android 13 One UI 5.1?

Categories

Resources