HOWTO: Root without unlocking the Bootloader - ONE Q&A, Help & Troubleshooting

A lot of people have been asking, so here are my notes for gaining root w/o flashing or unlocking the boot loader. :good:
Thanks to Chromium and The Jack of Clubs for their initial concepts and documentation.
Download ADB and set up Tools
Download the full Android SDK here:
http://developer.android.com/sdk/index.html#download
(scroll to the bottom of the page -> DOWNLOAD FOR OTHER PLATFORMS -> SDK Tools Only)
Extract the android-sdk-windows zip to c:\android-sdk
Browse to C:\android-sdk\android-sdk-windows\
Double Click and run SDK Manager.exe
Uncheck everything except the Android SDK Tools and Android SDK Platform-tools
Hit the Install xx Packages button
Download Super SU and TWRP
Download the latest TWRP here:
http://techerrata.com/browse/twrp2/bacon
Extract the TWRP image file and save it as recovery.img in the following folder:
C:\android-sdk\android-sdk-windows\platform-tools
Download SuperSU here: http://download.chainfire.eu/452/SuperSU/UPDATE-SuperSU-v2.02.zip
Plug your phone into your computer and Copy SU zip to the phone... (anywhere will work)
Get your Phone into Fastboot
Reboot the phone in fastboot mode (hold volume up + power). You should get a cyanogen guy smiling at you, this indicates the phone is in fastboot mode.
Open a command prompt and do:
cd C:\android-sdk\android-sdk-windows\platform-tools
Type:
fastboot devices
NOTE: You should receive a list of connected devices, this means your PC is connected to your phone. If not, something is wrong with ADB or your USB driver and you need to fix it before you can proceed!
Boot with TWRP and Flash
If “fastboot devices” worked without error, type this:
fastboot boot recovery.img
After the recovery.img transfers, your phone reboots into TWRP. Hit “Install” and choose the SuperSU.zip from the location on your phone that you saved it to earlier.
Once flashing is done, reboot and enjoy root. No re-imaging or unlocking your bootloader necessary.

Why is a unlocked bootloader a problem?

_Beni_ said:
Why is a unlocked bootloader a problem?
Click to expand...
Click to collapse
if you dont want to wipe data, it also sets flags a tamper bit (which can now be reset), or if you just plain dont want to.

The Jack of Clubs said:
if you dont want to wipe data, it also sets flags a tamper bit (which can now be reset), or if you just plain dont want to.
Click to expand...
Click to collapse
Ah ok, i did unlock and switch to PA after second boot , so there were no data that would be lost

May I ad that there is an easier way to get adb. Its a program called minimal adb. This what I used originally in case someone prefers to just download that file. Just an option thats all... :good:
Nice tutorial

Related

Install TWRP and root LG v10 H901 T-Mobile

Download
Search for TWRP recovery for LG V10 H901 (File: twrp-2.8.7.0-h901.img (31.7 MB))
Backup Apps and Data
While this process should not wipe any of your data, a backup is highly recommended. Once you install a custom recovery like TWRP, make sure you backup your system, data,etc. from the recovery. It will be helpful in case anything goes wrong.
Prerequisites
This guide is compatible with LG V10 H901 only. Do not try it on any other devices or variants.
Unlocked bootloader is required to install a custom recovery like TWRP on your device. Click here.
Set up ADB and Fastboot on your computer. You can download the minimal ADB and fastboot tool from here (unzip it) or get the quick ADB and fastboot installer from here.
Install Motorola USB Drivers on your computer.
Open Settings> Developer options and enable USB Debugging on your device.
Go to Developer options and enable Allow oem unlock.
How to Install TWRP Recovery on LG V10 H901
Download the recovery image file. Extract if in case a zip file. Now transfer the file to your PC where you can easily locate it.
Make sure you have setup ADB and fastboot on your PC. Also accept Always allow from this computer when you plug in the device for first time to enable USB Debugging.
Now power off your device and unplug it from your PC.
Boot into the bootloader or fastboot mode. To do so, press and hold volume down and the power button simultaneously for 5-6 seconds. When you see the bootloader screen, connect your device to the PC using a USB cable.(Choose fasboot if option is available) Alternatively, you can also issue the following command through your cmd or terminal, while connected to the PC in order to boot into the bootloader.
"adb reboot bootloader"
Navigate to the location where you have placed the recovery file. Rename the recovery file to a simple one, like recovery.img. While the folder with recovery.img file is open, hold shift key on keyboard and right-click on an empty space and select “Open command window here” option to launch a cmd window.
Now issue the following command in the command prompt to check your device connectivity
"fastboot devices"
Now flash custom recovery. Issue the following command for that.
"fastboot flash recovery recovery.img"
Custom recovery will now be installed on your device. Now boot your phone in recovery mode. You can do this by turning your device off and then press and hold volume down and power keys at the same time. Or you can simply enter the following command.
"fastboot boot recovery.img"
Once into the recovery, you can backup your current ROM, data, EFS and more.
Once you have installed TWRP, you are all set to install custom packages onto the device’s system. Alternatively, while on Linux or Mac OS, you can issue “./fastboot flash recovery recovery.img” command to flash the TWRP recovery.
Root
As you already have TWRP, simply flash the SuperSU file (version 2.56) to gain root access
@TheJesus @KAsp3rd, thanks guys for everything you've done over the past few days. no shade to @joe01gun but if people are going to use these instructions make sure you search the rest of the forum for what thejesus and kasp3rd put together to get us to this point - definitely appreciated. thanks @joe01gun for putting these additional instructions together.
Your post says the following:
Set up ADB and Fastboot on your computer. You can download the minimal ADB and fastboot tool from here (unzip it) or get the quick ADB and fastboot installer from here.
yet, there's no link to the necessary files to "unzip" them. Any suggestions?
Thank you for the help, but where do we get fastboot set up on our PCs? Yes, this is getting confusing with the steps outlined above. I followed the first step and had to take out the battery because I was stuck in fastboot screen with small tiny text in the top left that didn't respond to any manipulation with the volume keys on the back of the device and wouldn't restart any way until I took out the battery.
sanjsrik said:
Your post says the following:
Set up ADB and Fastboot on your computer. You can download the minimal ADB and fastboot tool from here (unzip it) or get the quick ADB and fastboot installer from here.
yet, there's no link to the necessary files to "unzip" them. Any suggestions?
Click to expand...
Click to collapse
I think it's cause he's not allowed to post links yet cause he's too new. I followed this guide http://forum.xda-developers.com/nexus-5x/general/guides-how-to-guides-beginners-t3206930
You can get twrp from the development forum.
Why
Intended to put the information condensed....
Yep....new
Links could not be uploaded.
joe01gun said:
Intended to put the information condensed....
Yep....new
Links could not be uploaded.
Click to expand...
Click to collapse
Your condensed thread is more convoluted than the actual development thread which also includes the links to everything.
I'm still wondering why you have install Motorola USB drivers for an LG phone..
Understood
Understood
The one on development is straightforward and I managed to make it done.
If you don't lock the bootloader back, you will see bootloader unlocked when starting up.
If you have root enabled file explorer, you should remove /system/priv-app/adaptclient folder to avoid annoying root request from adapt.
Please use the main dev thread for instructions on what to do, found below. Having duplicates for what is essentially the same thing can cause confusion and just takes up unnecessary space. So I have closed the thread.
[Recovery][LG-H901] Unofficial TWRP
Forum moderator,
matt4321

Acer Predator 8 TWRP 3.0.2

TWRP 3.0.2 for Acer Predator 8 ported by Ruben. - If you like my work please donate here, it will also give me a boost to make more things for this device : https://www.paypal.me/RubenCraveiro
----------- -----------
IMPORTANT NOTE ABOUT ROOTING AND UNLOCKING BOOTLOADER:
After flashing TWRP 3.0.2, use the SuperSU 2.46 flashable zip, do NOT use latest version or will result in a bootloop. Good Luck and have fun with rooting. Unlocking bootloader will delete all your data, so please make a backup first. Thank you.
----------- -----------
CREDITS
And also, before anything i would like to say thanks to @arjaylzo for telling me the name of a device with TWRP which helped making this update possible.
REQUIREMENTS
1- Fastboot/ADB Drivers and ADB folder
For drivers: http://adbdriver.com - Download ADB Driver Installer (universal) from the website, extract it, connect device it should detect device(if not, enable USB Debugging and reconnect), and press install, it should install drivers.
For ADB Folder: download this and extract to your main drive(C:/): https://goo.gl/ZTrfBb
2- Unlocked Bootloader (you need requirement 1 to do this)
Instructions for Unlocking bootloader: Go on settings, about device, press build version several times till it says your a developer, go back to settings, press Developer Options, and enable OEM Unlocking. Power off, then press at same time Power and Vol+ button, then connect to pc and open a cmd and write cd c:\\adb and write fastboot oem unlock, then accept the prompt it will give on tablet, and follow the rest of the steps.
----------- -----------
New TWRP bugfix update! Now you can flash stock rom on TWRP without bricking! Download Page updated!
----------- -----------
BUGS:
1- adb shell command needs to be sent before system partition is mounted or it will give an error, after doing adb shell you can mount system and do all the modifications you need.
2- You cant flash any img on twrp it gives an error, im trying to fix.
3- Backups do work, but everytime twrp restarts, the device name seems to change (which means that on /TWRP/BACKUPS/devicename/backupsinside/ changes every reboot so you have to go get the backup inside the old devicename folder and put on the new devicename folder).
----------- ADITIONAL NOTES -----------
Im leaving an unsecured boot image because system seems not want to boot android if anything seems changed. So please if system does not boot after flashing twrp/rooting, flash the unsecured boot img on fastboot
----------- -----------
Steps TO INSTALL TWRP AND ROOT
1. Download and extract the files: https://drive.google.com/file/d/0BxzG5iupOOSKNTdlRC1Wd0VmTlk/view?usp=drivesdk
2. Power off the tablet.
3. Enter fastboot mode by pressing the power button while holding down Vol -
4. Open up command prompt and navigate to the directory where fastboot.exe is located.
5. Pass the following commands:
fastboot flash boot unsecuredboot.img
fastboot flash recovery TWRP.img
6. Reboot into recovery (TWRP) and install SuperSU v2.46.zip
----------- -----------
Acer Predator 8 Support website(sourcecode, manuals, drivers, stockrom):

http://www.acer.com/ac/en/US/content/support-product/6400?b=1
----------- -----------
SCREENSHOTS:
http://imgur.com/s7CgJPR
I stuck at step 4.
is this the directory where fastboot.exe is located -> C:\adb... I have 4 files there and 1 of them is named fastboot.
Also the files i downloaded and extracted from step 1 , do i need to put them in my device or they need to stay on my pc.
goleoldark said:
I stuck at step 4.
is this the directory where fastboot.exe is located -> C:\adb... I have 4 files there and 1 of them is named fastboot.
Also the files i downloaded and extracted from step 1 , do i need to put them in my device or they need to stay on my pc.
Click to expand...
Click to collapse
C:\adb is where my adb and fastboot commands are.. on the downloaded files from Step 1 only the SuperSU zip is needed on the tablet so that you can flash it later on with twrp, the rest you leave on pc and use fastboot to flash TWRP, unsecured boot image, etc...
Ruben Craveiro said:
C:\adb is where my adb and fastboot commands are.. on the downloaded files from Step 1 only the SuperSU zip is needed on the tablet so that you can flash it later on with twrp, the rest you leave on pc and use fastboot to flash TWRP, unsecured boot image, etc...
Click to expand...
Click to collapse
Ok so in "C:\adb" i put all files i downloaded from step 1 then I opened cmd in that folder , then i typed "fastboot flash boot unsecboot.img" and it said that i cant load or open unsecboot.img
Any idea why or where is my mistake ????
goleoldark said:
Ok so in "C:\adb" i put all files i downloaded from step 1 then I opened cmd in that folder , then i typed "fastboot flash boot unsecboot.img" and it said that i cant load or open unsecboot.img
Any idea why or where is my mistake ????
Click to expand...
Click to collapse
make sure you didnt put a folder inside the adb folder instead of the actual file and make sure your writing the right name of the file..
goleoldark said:
Ok so in "C:\adb" i put all files i downloaded from step 1 then I opened cmd in that folder , then i typed "fastboot flash boot unsecboot.img" and it said that i cant load or open unsecboot.img
Any idea why or where is my mistake ????
Click to expand...
Click to collapse
also its not unsecboot, the name i added on this thread was just so it would be faster, the name is unsecuredboot.img and not unsecboot.img i guess ill have to edit that in order for people following the tutorial by line dont make these mistakes..
how do i flash the stock rom came from Acer Predator 8 Product Support Page.
can i just flash this Android 5.1 Lollipop Image via TWRP???
TIA
xdadevelopers13 said:
how do i flash the stock rom came from Acer Predator 8 Product Support Page.
can i just flash this Android 5.1 Lollipop Image via TWRP???
TIA
Click to expand...
Click to collapse
yes
thanks. will i have to flash the stockboot.img and P8AcerRecovery.img via fastboot?
tried flashing the stock rom via TWRP but to no avail.
still cant pass the boot logo
xdadevelopers13 said:
thanks. will i have to flash the stockboot.img and P8AcerRecovery.img via fastboot?
tried flashing the stock rom via TWRP but to no avail.
still cant pass the boot logo
Click to expand...
Click to collapse
If you flash stock rom, i think you have to reinstall stock recovery, the rom itself already brings stock boot.. after flashing stock recovery it should boot since no modifications have happend
Wow good job! Now i have a recovery where i can flash my custom rom for the Predator 8.
p8tgames said:
Wow good job! Now i have a recovery where i can flash my custom rom for the Predator 8.
Click to expand...
Click to collapse
no custom roms yet
How to enter the command ?
Hi i am not so sure how to execute those info in my head and act on it so can anyone teach me ? how to root my Predator 8 GT-810 Android 5.1
i saw the instruction i dk how do i Unlock Bootloader (Fastboot) i search all over google and i dont really got the solution to the question so anyone can teach me ? and "4. Open up command prompt and navigate to the directory where fastboot.exe is located." do i extract the whole file i downloaded into my Acer predator 8 or ?... im stupid sorry ...
ZaineJJ said:
Hi i am not so sure how to execute those info in my head and act on it so can anyone teach me ? how to root my Predator 8 GT-810 Android 5.1
i saw the instruction i dk how do i Unlock Bootloader (Fastboot) i search all over google and i dont really got the solution to the question so anyone can teach me ? and "4. Open up command prompt and navigate to the directory where fastboot.exe is located." do i extract the whole file i downloaded into my Acer predator 8 or ?... im stupid sorry ...
Click to expand...
Click to collapse
On step 4 You need the fastboot files, (adb & fastboot) just search how to install adb and fastboot drivers, choose the directory where to install them and place the needed files inside that folder and open a command prompt on that folder so you can flash the files.
Ruben Craveiro said:
On step 4 You need the fastboot files, (adb & fastboot) just search how to install adb and fastboot drivers, choose the directory where to install them and place the needed files inside that folder and open a command prompt on that folder so you can flash the files.
Click to expand...
Click to collapse
ir I tried finding how to install fastboot driver on Google all showed me downloads links must do survey or download or purchase item to unlock the download files ... So I don't trust it so I kept searching "how to unlock fastboot Acer predator 8"
So for ADB I can search on Google and install it on my tablet ?
ZaineJJ said:
ir I tried finding how to install fastboot driver on Google all showed me downloads links must do survey or download or purchase item to unlock the download files ... So I don't trust it so I kept searching "how to unlock fastboot Acer predator 8"
So for ADB I can search on Google and install it on my tablet ?
Click to expand...
Click to collapse
no, Search how to unlock bootloader, it should show the method that works for most devices and give necessary drivers..
Ruben Craveiro said:
no, Search how to unlock bootloader, it should show the method that works for most devices and give necessary drivers..
Click to expand...
Click to collapse
http://gsmusbdriver.com/acer-predator-8
Does this work ?
Or
https://www.howtogeek.com/239798/how-to-unlock-your-android-phones-bootloader-the-official-way/
ZaineJJ said:
http://gsmusbdriver.com/acer-predator-8
Does this work ?
Or
https://www.howtogeek.com/239798/how-to-unlock-your-android-phones-bootloader-the-official-way/
Click to expand...
Click to collapse
Yes, and after you unlock the bootloader, you put the necessary files in adb folder and flash them according to the stepts
Ruben Craveiro said:
C:\adb is where my adb and fastboot commands are.. on the downloaded files from Step 1 only the SuperSU zip is needed on the tablet so that you can flash it later on with twrp, the rest you leave on pc and use fastboot to flash TWRP, unsecured boot image, etc...
Click to expand...
Click to collapse
Hi Ruben Craveiro is this the correct way ? i plugin usb cable into Predator 8 but it says its waiting for device is it the correct way ? after typing those Commands i go over to recovery mode to install SU from there then restart and its rooted ?
ZaineJJ said:
Hi Ruben Craveiro is this the correct way ? i plugin usb cable into Predator 8 but it says its waiting for device is it the correct way ? after typing those Commands i go over to recovery mode to install SU from there then restart and its rooted ?
Click to expand...
Click to collapse
That means adb drivers arent corrently installed, but i can see you have the folder with adb, all you have to now is download this(drivers): http://dl.adbdriver.com/upload/adbdriver.zip
Extract and open the software eith the tablet plugged in, it should tell of drivers is installer properly or not, and if not you can install, after installing it should work on the cmd the commands..

[Resolved] Need help to root

Hy
Im a new member
i need help to root my huawei nova smart
i unlock bootloader and frp but I can not find one recovery.img for my phone.
my device version is "DIG-L01" android 6 marshmallow emui 4.1
Thanks in advance
(sorry for my english but I'm italian)
Have you tried the official twrp app ? It's available on play store.
Hi7m3up said:
Have you tried the official twrp app ? It's available on play store.
Click to expand...
Click to collapse
yes but on this app not exist twrp for huawei nova smart
and i search twrp fot root my device
If you want only root, you can use CF autoroot, the easiest method which is easier than Oneclickroot or Kingo
MilkOreo said:
If you want only root, you can use CF autoroot, the easiest method which is easier than Oneclickroot or Kingo
Click to expand...
Click to collapse
I tried but the root for my device is not available on these apps
When i rooted my sony m5 i flashed a supersu modified boot.img with adb fastboot beacause i couldn't get the zip to take through twrp don't know if that is something that you could look into ?
I do have a copy if it turn's out that img is universal
Hi7m3up said:
When i rooted my sony m5 i flashed a supersu modified boot.img with adb fastboot beacause i couldn't get the zip to take through twrp don't know if that is something that you could look into ?
I do have a copy if it turn's out that img is universal
Click to expand...
Click to collapse
ok i can try to do it,but....
1.is it safe?
2.where can I find boot.img
3.is there a guide?
As i said i don't know if this is a generic boot.img or if it is or if it is brand or firmware specific you would need to do a bit of investigating to find out, What i can tell you is that this patch contain's supersu with a drm key fix(you know the key's stored in your bootloader) incorporated in it i have successfully used it on a sony m5(e5603).
The choice is your's whether to try it or not.
If you choose to use it here is a quick guide..
1.Download this file here
2.connect your phone to your pc make sure usb debugging is swiched on
3.put the boot.img file into the same folder as your adb and fastboot.exe files are
4.Rename it to boot.img to simplify thing's
5.Right click on an empty space inside your adb fastboot folder and select open command window here
6.When your command window opens input this command adb devices you should now see your phone's serial number
7.Once your phone is connected in command prompt write adb reboot bootloader
8.Once your phone is in bootloader mode then in command prompt write fastboot devices you should now see your device serial number
9.In command prompt write this command fastboot flash boot boot.img then press return and wait till process finishes (any problem's remember to rename the .img file to boot.img or alter the command in command prompt)
10.In command prompt write this command fastboot reboot ( or just restart your phone normally)
If successful when your phone has started you should now have the supersu app installed and phone rooted with the drm key's fix working(if you saved your drm key's before unlocking your bootloader you can safely copy them back at this point)
Obviously i can't be held responsible for any damage done Yahda,Yahda,Yada ect.
Make sure OEM unlock is at the switched on position before the next reboot (it should already be switched on)
We are all big boy's and girl's and as such we make decisions all by our selves including whether to follow this guide or not
Use this guide for educational purposes only.
Good luck...
Hi7m3up said:
As i said i don't know if this is a generic boot.img or if it is or if it is brand or firmware specific you would need to do a bit of investigating to find out, What i can tell you is that this patch contain's supersu with a drm key fix(you know the key's stored in your bootloader) incorporated in it i have successfully used it on a sony m5(e5603).
The choice is your's whether to try it or not.
If you choose to use it here is a quick guide..
1.Download this file here
2.connect your phone to your pc make sure usb debugging is swiched on
3.put the boot.img file into the same folder as your adb and fastboot.exe files are
4.Rename it to boot.img to simplify thing's
5.Right click on an empty space inside your adb fastboot folder and select open command window here
6.When your command window opens input this command adb devices you should now see your phone's serial number
7.Once your phone is connected in command prompt write adb reboot bootloader
8.Once your phone is in bootloader mode then in command prompt write fastboot devices you should now see your device serial number
9.In command prompt write this command fastboot flash boot boot.img then press return and wait till process finishes (any problem's remember to rename the .img file to boot.img or alter the command in command prompt)
10.In command prompt write this command fastboot reboot ( or just restart your phone normally)
If successful when your phone has started you should now have the supersu app installed and phone rooted with the drm key's fix working(if you saved your drm key's before unlocking your bootloader you can safely copy them back at this point)
Obviously i can't be held responsible for any damage done Yahda,Yahda,Yada ect.
Make sure OEM unlock is at the switched on position before the next reboot (it should already be switched on)
We are all big boy's and girl's and as such we make decisions all by our selves including whether to follow this guide or not
Use this guide for educational purposes only.
Good luck...
Click to expand...
Click to collapse
I tried this method but it did not work, fortunately I had the file boot.img stock and I restored it, thanks anyway for the guide at this point I'll wait to find the twrp file edited for my device or that will add the root on some kind of apps (kingoroot, kingroot, oniclick ....)

Twrp + magisk on Oreo 8.1 from Windows

If you are on the OTA Oreo 8.1 and dont have root, here's how to do so:
First request: Anyone that knows someone that can help get us WFD (Wireless Display Casting) enabled that would be very helpful. If you edit build.prop you can get it to show wireless displays in the System/Connected Devices/Cast but force reboots for me when I try connecting to my HP Lapdock
Now to TWRP/MAGISK
Make sure you are on 8.1, Android debugging is enabled under developer options and bootloader unlocked (Warning if you're not when you do this it wipes data).
Download TWRP.img & TWRP.zip from https://dl.twrp.me/cheryl
Download the Magisk 16.3 from here: https://github.com/topjohnwu/Magisk/releases/download/v16.3/Magisk-v16.3.zip (SuperSU will not work on 8.1 so magisk is your only option)
Download latest Platform tools from Google here: https://dl.google.com/android/repository/platform-tools-latest-windows.zip
Windows: In file explorer copy the twrp-installer-3.2.1-0-cheryl.zip to the sdcard of the Razer Phone
Windows: In file explorer copy the Magisk-v16.3.zip to the sdcard of the Razer Phone
Windows: Extract platform tools to any folder
Windows: Open a command prompt window at that directory
Windows: adb reboot bootloader
Windows: fastboot boot twrp-3.2.1-0-cheryl.img (This will boot to twrp without flashing) (DONT CLOSE, need it in a few minutes)
Razer Phone: Once in TWRP install zip twrp-installer-3.2.1-0-cheryl.zip then reboot to system after complete.
Windows: Once the Razer Phone has booted back up, go back to the command prompt window
Windows: Adb reboot recovery
Razer Phone: Once in TWRP install zip Magisk-v16.3.zip then reboot to system
All should be good, have not found any issues yet
I take no credit for any files in above tutorial, give credit where credit is due, donate a beer to those guys.
TWRP credit TWRP Team (https://twrp.me/)
Platform tools credit Google (Watch their ads on Youtube?)
Magisk credit Magisk team (https://github.com/topjohnwu)
It's wornking fine so far. Thanks
Thanks, it works.
Wow that was far easier than before thanks
Hm for me it doesn't work at this step: Windows: fastboot boot twrp-3.2.1-0-cheryl.img
It's just saying "Waiting for device"
Sideloading 8.1 and unlocking went smooth, debugging is enabled
SeriousFlash said:
Hm for me it doesn't work at this step: Windows: fastboot boot twrp-3.2.1-0-cheryl.img
It's just saying "Waiting for device"
Sideloading 8.1 and unlocking went smooth, debugging is enabled
Click to expand...
Click to collapse
I had the same problem, make sure the ADB interface driver is installed under device manager again as i think it clears it after windows reboot.
Had to manually edit it while unlocking the bootloader and it stayed on ADB bootloader interface when I had it reboot to bootloader again.
I'll try again tomorrow
Fixed the "waiting for device" "error" by selecting the older Android Bootloader Interface driver.
Now everything worked and my device is rooted!
Nice guide.
thanks for the quick and dirty guide, worked perfectly
Wondering if I'm missing something. Getting the error "FAILED (remote: BootCMD is not allowed in Lock State)" when attempting to boot the twrp image.
I have USB Debugging and OEM unlocking enabled.
PS: Found out the hard way, don't use the provided USB-C cable that came with your Razer phone, USB-A to USB-C cable recommended.
After installing twrp-installer-3.2.1-0-cheryl.zip mobile booting into TWRP only , can't boot into System!!
Installed the zip and Magisk Manager hangs and crashes. Anyone know what this could be?
Is that work without using boot.img file??
DarkestSpawn said:
If you are on the OTA Oreo 8.1 and dont have root, here's how to do so:
First request: Anyone that knows someone that can help get us WFD (Wireless Display Casting) enabled that would be very helpful. If you edit build.prop you can get it to show wireless displays in the System/Connected Devices/Cast but force reboots for me when I try connecting to my HP Lapdock
Now to TWRP/MAGISK
Make sure you are on 8.1, Android debugging is enabled under developer options and bootloader unlocked (Warning if you're not when you do this it wipes data).
Download TWRP.img & TWRP.zip from https://dl.twrp.me/cheryl
Download the Magisk 16.3 from here: https://github.com/topjohnwu/Magisk/releases/download/v16.3/Magisk-v16.3.zip (SuperSU will not work on 8.1 so magisk is your only option)
Download latest Platform tools from Google here: https://dl.google.com/android/repository/platform-tools-latest-windows.zip
Windows: In file explorer copy the twrp-installer-3.2.1-0-cheryl.zip to the sdcard of the Razer Phone
Windows: In file explorer copy the Magisk-v16.3.zip to the sdcard of the Razer Phone
Windows: Extract platform tools to any folder
Windows: Open a command prompt window at that directory
Windows: adb reboot bootloader
Windows: fastboot boot twrp-3.2.1-0-cheryl.img (This will boot to twrp without flashing) (DONT CLOSE, need it in a few minutes)
Razer Phone: Once in TWRP install zip twrp-installer-3.2.1-0-cheryl.zip then reboot to system after complete.
Windows: Once the Razer Phone has booted back up, go back to the command prompt window
Windows: Adb reboot recovery
Razer Phone: Once in TWRP install zip Magisk-v16.3.zip then reboot to system
All should be good, have not found any issues yet
I take no credit for any files in above tutorial, give credit where credit is due, donate a beer to those guys.
TWRP credit TWRP Team (https://twrp.me/)
Platform tools credit Google (Watch their ads on Youtube?)
Magisk credit Magisk team (https://github.com/topjohnwu)
Click to expand...
Click to collapse
so i did this and here is my only question. Does flashing twrp and magisk inside twrp, install them into both slot a and b? or no. if no then is there a need to manually switch slots and reflash magisk for example?
iliais347 said:
so i did this and here is my only question. Does flashing twrp and magisk inside twrp, install them into both slot a and b? or no. if no then is there a need to manually switch slots and reflash magisk for example?
Click to expand...
Click to collapse
If memory serves I only flashed to the active Slot.
DarkestSpawn said:
If memory serves I only flashed to the active Slot.
Click to expand...
Click to collapse
I ser
Does this method cause a facotry reset?
This seems alot easier than the other methods.
ItzMar said:
Does this method cause a facotry reset?
This seems alot easier than the other methods.
Click to expand...
Click to collapse
It's that easy because of Oreo and the stuff that comes with it. If your bootloader is already unlocked it won't need a factory reset but if not unlocking your bootloader will erase all data on the phone.
Is it best to do with a SD card in the phone or can you do it without?
So doing this without an SD Card at the mo and I get the waiting on device when trying to do fastboot flash boot twrp-3.2.1-0-cheryl.img
Any help?
askylitangel said:
So doing this without an SD Card at the mo and I get the waiting on device when trying to do fastboot flash boot twrp-3.2.1-0-cheryl.img
Any help?
Click to expand...
Click to collapse
Having an sdcard in the device means nothing unless your trying to boot from sdcard...
You're stuck at that point because your fastboot drivers aren't installed or incorrectly. There have been many posts throughout the forum on troubleshooting the drivers, Google search.

"Cannot load Android system" after failed update - HELP!

My Android phone (Motorola Edge) can no longer start properly after a failed system update. The message I get is: "Cannot load Android system. Your data may be corrupt. If you continue to get this message, you may need to perform a factory data reset and erase all user data stored on this device."
I've tried restarting it in recovery mode which didn't work. I've read that I may be able to install some software via USB and rescue the system but I have no idea how that's done. I've looked at some different rescue software such as Rescue and Smart Assistant (which would only let me rescue the phone which will erase all data) and Dr.Fone but the reviews aren't convincing and the unofficial software programs generally don't support Motorola phones. Does anyone know how to fix my phone without losing my data?? Any help is much appreciated.
Also; I'm in no way a developer so I need everything explained to me like I'm 12 years old.
hi, kid welcome to xda.
now about your problem, it is very simple.
1) download latest firmware according to your country.
2) boot the phone into recovery mode.
3) if you have windows on pc then install minimal adb and fast boot from this Link
4) connect your phone to pc using adb cable ( the cable in charger )
5)open command prompt type adb devices
6) if you see any thing like 213547448882 recovery ( recovery should be displayed)
7) type adb reboot bootloader
secondly unzip the downloaded firmware you will see many files with .img extension
8) type fastboot erase system
9) type fastboot flash system <----- here don't type system rather drag and drop file in cmd for location of file
10) if result is success then you must boot normally without data lose.
[email protected] said:
hi, kid welcome to xda.
now about your problem, it is very simple.
1) download latest firmware according to your country.
2) boot the phone into recovery mode.
3) if you have windows on pc then install minimal adb and fast boot from this Link
4) connect your phone to pc using adb cable ( the cable in charger )
5)open command prompt type adb devices
6) if you see any thing like 213547448882 recovery ( recovery should be displayed)
7) type adb reboot bootloader
secondly unzip the downloaded firmware you will see many files with .img extension
8) type fastboot erase system
9) type fastboot flash system <----- here don't type system rather drag and drop file in cmd for location of file
10) if result is success then you must boot normally without data lose.
Click to expand...
Click to collapse
Thank you so much for your input. Unfortunately I can't make it work. When I type 'adb devices', I get this text:
List of devices attached
ZY227HQ2BX sideload
I've attached more info. Not sure if this has something to do with "USB debugging"?
all things right,
that sideload appears because you have stock recovery {no need to worry}
you don't need to erase system, (it is like optional)
and the error ANDROID_PRODUCT_OUT....... is because as i said earlier you have to copy the path of the file not file name.
how to copy path of the file ?
well, simple on windows, open the folder in which system file is present. and again open command prompt type (remember to be in fastboot mode in mobile phone)
fastboot flash {drag and drop system file from folder to command prompt}.
it should look like (but not the same, it is an example)
fastboot flash E:/newfolder/nexus/files/system.img
tell me if you face any problem (also include screenshots like you did, great right?)
What file is the system file in this folder?
[email protected] said:
all things right,
that sideload appears because you have stock recovery {no need to worry}
you don't need to erase system, (it is like optional)
and the error ANDROID_PRODUCT_OUT....... is because as i said earlier you have to copy the path of the file not file name.
how to copy path of the file ?
well, simple on windows, open the folder in which system file is present. and again open command prompt type (remember to be in fastboot mode in mobile phone)
fastboot flash {drag and drop system file from folder to command prompt}.
it should look like (but not the same, it is an example)
fastboot flash E:/newfolder/nexus/files/system.img
tell me if you face any problem (also include screenshots like you did, great right?)
Click to expand...
Click to collapse
Hi again, I've spent all weekend trying to figure it out but so far no luck.
I don't know where to find the system file in the folder I downloader (see attached photo in my reply above this). I also tried making a service-batfile with guidance from YouTube but it seems my phone is locked so it doesn't work.
well sorry i was quite busy so i was not able to reply.
first thing first do you need your data
if so boot into twrp. find twrp image for your phone then use command in fastbootmode
fastboot boot and drag and drop twrp file.
after successfully booting into twrp use option to backup and backup your data in any external storage like sd card.
after that run flash all.bat inside your downloaded folder.
i will completely wipe and reinstall your firmware.
then after it again in fastboot mode boot into twrp and restore your backup that's it.
[email protected] said:
well sorry i was quite busy so i was not able to reply.
first thing first do you need your data
if so boot into twrp. find twrp image for your phone then use command in fastbootmode
fastboot boot and drag and drop twrp file.
after successfully booting into twrp use option to backup and backup your data in any external storage like sd card.
after that run flash all.bat inside your downloaded folder.
i will completely wipe and reinstall your firmware.
then after it again in fastboot mode boot into twrp and restore your backup that's it.
Click to expand...
Click to collapse
I tried doing it but no success (I really want to keep my data). See attached photo
bro first try fastboot oem unlock then try this command
note. if some pop up ask to click ok in phone click to conform unlocking phone to flash other files (twrp)
[email protected] said:
bro first try fastboot oem unlock then try this command
note. if some pop up ask to click ok in phone click to conform unlocking phone to flash other files (twrp)
Click to expand...
Click to collapse
I get this message:
(bootloader) usage: fastboot oem unlock < unlock code >
FAILED (remote failure)
finished. total time: 0.061s
Will unlocking the device delete my data?
SirOinksalot said:
I get this message:
(bootloader) usage: fastboot oem unlock < unlock code >
FAILED (remote failure)
finished. total time: 0.061s
Will unlocking the device delete my data?
Click to expand...
Click to collapse
try some windows app to recover it.
sorry unocking will delete data
[email protected] said:
try some windows app to recover it.
sorry unocking will delete data
Click to expand...
Click to collapse
What about your original suggestions - will they not work on a locked device? Fx this:
now about your problem, it is very simple.
1) download latest firmware according to your country.
2) boot the phone into recovery mode.
3) if you have windows on pc then install minimal adb and fast boot from this Link
4) connect your phone to pc using adb cable ( the cable in charger )
5)open command prompt type adb devices
6) if you see any thing like 213547448882 recovery ( recovery should be displayed)
7) type adb reboot bootloader
secondly unzip the downloaded firmware you will see many files with .img extension
8) type fastboot erase system
9) type fastboot flash system <----- here don't type system rather drag and drop file in cmd for location of file
10) if result is success then you must boot normally without data lose.
SirOinksalot said:
What about your original suggestions - will they not work on a locked device? Fx this:
now about your problem, it is very simple.
1) download latest firmware according to your country.
2) boot the phone into recovery mode.
3) if you have windows on pc then install minimal adb and fast boot from this Link
4) connect your phone to pc using adb cable ( the cable in charger )
5)open command prompt type adb devices
6) if you see any thing like 213547448882 recovery ( recovery should be displayed)
7) type adb reboot bootloader
secondly unzip the downloaded firmware you will see many files with .img extension
8) type fastboot erase system
9) type fastboot flash system <----- here don't type system rather drag and drop file in cmd for location of file
10) if result is success then you must boot normally without data lose.
Click to expand...
Click to collapse
it will work but need to be modified as your frimware is different i mean hybrid which does not contain system image.
try to clear caches using fastboot : fastboot clear cache
and try to reboot hope it will work. acctuly i have exams so i am a quite busy now a days sorry
SirOinksalot said:
What about your original suggestions - will they not work on a locked device? Fx this:
now about your problem, it is very simple.
1) download latest firmware according to your country.
2) boot the phone into recovery mode.
3) if you have windows on pc then install minimal adb and fast boot from this Link
4) connect your phone to pc using adb cable ( the cable in charger )
5)open command prompt type adb devices
6) if you see any thing like 213547448882 recovery ( recovery should be displayed)
7) type adb reboot bootloader
secondly unzip the downloaded firmware you will see many files with .img extension
8) type fastboot erase system
9) type fastboot flash system <----- here don't type system rather drag and drop file in cmd for location of file
10) if result is success then you must boot normally without data lose.
Click to expand...
Click to collapse
How did you resolve your issue ?
[email protected] said:
it will work but need to be modified as your frimware is different i mean hybrid which does not contain system image.
try to clear caches using fastboot : fastboot clear cache
and try to reboot hope it will work. acctuly i have exams so i am a quite busy now a days sorry
Click to expand...
Click to collapse
Hello buddy,hope your exams are over and you passed them all with wonderful grades!
I am facving the similar problem and unable to find a solution.Would you mind having a look at this ? Thank you!

Categories

Resources