Hello, I want to root my phone and am trying to unlock my Arc S with Sony's official guide:
Instructions
First, you should confirm that it is possible to unlock the boot loader of your phone by checking the service menu. In your phone, open the dialler and enter *#*#7378423#*#* to access the service menu.
In your phone, tap Service info > Configuration > Rooting Status. If Bootloader unlock allowed says Yes, then you can continue with the next step. If it says No, or if the status is missing, your device cannot be unlocked.
On your computer, click Continue at the bottom of this page to start the unlock boot loader process.
Read through the information in the pop up window and click Yes, I’m sure, if you are still confident you want to unlock the boot loader.
Read through and accept the legal terms. Click I Accept.
Enter your name, email address and the first 14 digits (remove the last digit) of your phone’s IMEI number. Click Submit. You can view the IMEI number by entering *#06# on your phone.
The unlock boot loader key is displayed. Write it down and save it for later use.
Download and install the latest Android SDK from developer.android.com.
Download and unzip this file. This is the standard android_winusb.inf-file, with a few lines of code added to enable Fastboot to support Sony and Sony Ericsson devices. Make sure you are running Google USB Driver package revision 4 or higher in your Android SDK. You can see current Google USB Driver package revision in the SDK Manager.
Place the unzipped file in the usb_driver folder, located in the Android SDK > extras > google folder on your computer. Accept to replace the old android_winusb.inf-file with the new file. If you can't find the usb_driver folder, please install the Google USB Driver Packager using the Android SDK manager.
Turn off your phone.
On your phone, push and hold the unlock button* at the same time as you connect the phone to the computer with a USB-cable. The unlock button may differ between different phone models. See the note in the bottom of this page for more information on what button use on your phone.
On your computer, you will be asked for drivers. Point to the usb_driver folder where you placed the android_winusb.inf-file, and select the Android Boot loader Interface-file.
Open a command window and go to the tools folder within the Android SDK folder.
Enter fastboot.exe -i 0x0fce getvar version, and verify that you get a response back (for example "0.3"). This means your phone is connected properly.
Warning! If you perform this step, you will unlock the boot loader. This may void your warranty and/or any warranty from your operator. If you still want to unlock the boot loader of your phone, enter fastboot.exe -i 0x0fce oem unlock 0xKEY, where KEY is the unlock boot loader key you got in the beginning of this instruction. The boot loader should now be successfully unlocked.
Click to expand...
Click to collapse
I have done everything up till the second last part, where you confirm that the phone is connected properly with fastboot.exe. but when I try to run the getvar version command, it fails with
Code:
C:\Program Files (x86)\Android\android-sdk\platform-tools>fastboot.exe -i 0x0fce getvar version
getvar:version FAILED (command write failed (Unknown error))
I have made sure that my phone is in Fastboot mode, so I don't have any ideas.
Shotweb said:
Hello, I want to root my phone and am trying to unlock my Arc S with Sony's official guide:
I have done everything up till the second last part, where you confirm that the phone is connected properly with fastboot.exe. but when I try to run the getvar version command, it fails with
Code:
C:\Program Files (x86)\Android\android-sdk\platform-tools>fastboot.exe -i 0x0fce getvar version
getvar:version FAILED (command write failed (Unknown error))
I have made sure that my phone is in Fastboot mode, so I don't have any ideas.
Click to expand...
Click to collapse
http://forum.xda-developers.com/showthread.php?t=1527159&page=4
better off asking in here
Pvy.
Huh, for some reason it just worked, even though I didn't do anything different. Maybe it was because I read that post. Thanks anyways
Related
Unlocking the Bootloader is Required! This will erase all data and void your warranty!
Since all data will be wiped it's best to do this immediately after getting the phone. At least unlocking the bootloader.
I won't add a disclaimer, because if you trust some guide from some guy on the internet you should know what that means without being told explicitly.
For me the bootimage method posted on Modaco does not work and apparently others seem to have trouble as well (see the poll at Modaco). And since I couldn't find any guide here on XDA I thought I'd write one. XDA helped me a lot when I got my DHD, so maybe now I can help back.
This is based on soyd's guide at swedroid.se which I used to finally get my phone rooted after some unsuccessful attempts.
The guide is for Windows, but could probably be easily adapted to Linux/Mac by using the appropriate drivers/tools. I followed these steps to successfully root my Moto G (16 GB, german retail, Android 4.4.2, OTA 176.44.1).
Here're the neccessary steps:
Install Motorola and ADB Drivers
Unlock Bootloader
Flash Recovery
Flash SuperSU
Enjoy
Install Motorola and ADB Drivers
Do not connect your phone to your PC just yet.
If you already have ADB drivers and Motorola drivers installed, just skip this step.
Download these files:
Motorola Drivers
ADB Tools (thx to androidpit.info)
mfastboot.exe (only download that file from the G-Drive folder - thx to whoever uploaded it)
Run the MotorolaDeviceManager_2.4.5.exe you just downloaded and install it
Extract the two folders from adb-tools_treiber.zip
Open ADB-Treiber folder and run UniversalAdbDriverSetup.msi
Copy mfastboot.exe to ADB-Tools folder
Now this next part might be optional, but some things might not work without it and there's no real harm so:
Enable USB-Debugging
On your phone, open Preferences
Scroll all the way down to About this phone
Scroll all the way down to Build-Number
Tap 7 times on that entry
You'll get a message "You're a developer now"
Go back and open the new item Developer options
Check USB-Debugging
Connect your phone to the PC
Drivers will be installed and the phone will ask you to confirm USB debugging from that computer
Unlock Bootloader
There are probably lots of guides around, but to have it all in one place, here's yet another one:
!YOU WILL LOOSE YOUR WARRANTY AND ALL DATA BY UNLOCKING THE BOOTLOADER!
Switch off your phone
Hold Volume-Down and press and release Power to boot into Fastboot
A text screen should appear
Connect the phone via USB to the PC
Open a command prompt and browse to the ADB-tools folder you just created
Type:
Code:
fastboot oem get_unlock_data
You'll get five lines of characters, all beginning with (bootloader):
Code:
(bootloader) 0A40040192024205#4C4D3556313230
(bootloader) 30373731363031303332323239#BD00
(bootloader) 8A672BA4746C2CE02328A2AC0C39F95
(bootloader) 1A3E5#1F53280002000000000000000
(bootloader) 0000000
Copy all lines into one long string without the (bootloader) part!
You want something like 0A40040192024205#4C4D355631323030373731363031303332323239#BD00 and so on.
Open Motorola Unlocker Site (you need to sign-in)
Copy the string in the box at 6. and press Can my device be unlocked?
A Request my Unlock Key button should appear. Check I Agree to the legal stuff and press that button
Check your mail for the unlock key
In the ADB-tools folder type:
Code:
fastboot oem unlock [I]paste_your_key_here[/I]
The phone should reboot and greet you with a nice warning about you having lost your warranty.
Flash Recovery
Now that the booloader is unlocked you have to flash a custom recovery to be able to flash SuperSU.
Download the CWM image from this post. The file should be named something like recovery-clockwork-6.0.4.7-falcon.img. Copy the file to the ADB-Tools folder you created earlier and rename it to CWM.img
Your phone should still be connected to your PC and have finished rebooting and be in stock ROM.
In the ADB-Tools folder type:
Code:
adb reboot bootloader
The phone should reboot and the bootloader will come up again
To make sure all's working as expected type:
Code:
fastboot devices
You should get a response similar to:
Code:
List of devices attached
TA93005M6V device
To flash the custom recovery, type:
Code:
mfastboot flash recovery CWM.img
On the phone you might get a message about size mismatch, just ignore it. Now you have to enter the newly flashed CWM recovery. Take your phone and:
Press Volume-Down to scroll to the Recovery menu item
Press Volume-Up to select that item (yes, Vol-Up selects)
The phone will boot into recovery
Now is a good time to backup your system.
Press Volume-Down to scroll to Backup and Restore
Press Power to select that item
Press Volume-Down to scroll to Backup to /sdcard
Press Power to select that item
Backup will commence, once it's finished go back to the main menu and select Reboot, then confirm with YES
You phone will reboot into the stock ROM.
Flash SuperSU
Now you can finally flash SuperSU and be done with the whole business.
Download the newest SuperSU and save the file to your phone's SD-Card's root directory. The phone should show up as an MTP device in Windows file explorer.
In ADB-Tools folder type:
Code:
adb reboot recovery
The phone will reboot and once CWM Recovery has come up, use the Vol-Up/Down keys to scroll and Power to select
Select Install zip
Select zip from /sdcard
Select /0
You should find a file like UPDATE-SuperSU-v1.94.zip there.
Select that file, confirm YES and wait for the flashing to finish
Go back to the Main menu and select Reboot, confirm YES
The phone should once again reboot into normal stock ROM operation. To check if all went well, open the app drawer, tap on SuperSU and if no error message comes up... You're done!
I hope there are no mistakes anywhere in this guide and also that it might be helpful to some people...
Please comment if some things should be changed or improved.
Already guide is there general section..
http://forum.xda-developers.com/showthread.php?t=2585755
But you guide is simple and understandable.. So better stick this thread in this section..
Sent from my XT1032 using XDA Premium 4 mobile app
cdma moto g...?
Hey.. what about boost mobile moto g?? Its XT1031 and after pasting that string on motorola website it says your moble's bootloader can't be unlocked??
unlocking the bootloader worked great but it wont let me flash the recovery
keifus.rahn said:
unlocking the bootloader worked great but it wont let me flash the recovery
Click to expand...
Click to collapse
How you flashed it? Explain the steps you tried..
Sent from my XT1032 using XDA Premium 4 mobile app
bondisback said:
Hey.. what about boost mobile moto g?? Its XT1031 and after pasting that string on motorola website it says your moble's bootloader can't be unlocked??
Click to expand...
Click to collapse
I followed each step on this guide and i was using it threw android sdk but every time i select recovery on my device it says commands not found this is what i get in my comand prompt- target max sparse size error cant load recovery.img
keifus.rahn said:
I followed each step on this guide and i was using it threw android sdk but every time i select recovery on my device it says commands not found this is what i get in my comand prompt- target max sparse size error cant load recovery.img
Click to expand...
Click to collapse
Has anyone found success with a boost mobile variant please?
This was the easiest way for me and I used ROM manager to flash my recovery http://www.theandroidcop.com/how-to-root-motorola-moto-g/
Sent from my XT1031 using XDA Premium 4 mobile app
Remove the Spaces
bur2000 said:
I hope there are no mistakes anywhere in this guide and also that it might be helpful to some people...
Please comment if some things should be changed or improved.
Click to expand...
Click to collapse
I had the same problem at first. When you copy and paste the code on the website it put spaces between the code. There cant be any spaces then it will work. Hoped this helps XD
Thanks
Great guide, I used it to root my Moto G I got today but I had problems with flashing the Clockworld recovery. It simply would not work, said error. But I tried TWRP and it worked. But I also named it recovery.img and used your command but replaced CVM.img with recovery.img. Got rid of ALL of the bloatware. I was stuck at first because I didn't start the command promt inside of the adb tools folder.
Recovery issue
Guys I had a similar issue while flashing the cwm.
When I flash it in the first boot it works, I can enter in the interface and can create a backup or flash one, but after a reboot it do not enter again. I tried entering via fastboot -> Recovery and received the dead android icon with the "No command" message.
Tried installing via PlayStore and had the same result, even with the TWRP.
Any ideas ?
Unlock Bootloader, Root Your Sony Xperia C3 Dual/LTE & TWRP Recovery Installation.
IF ANYTHING GOES WRONG WITH YOUR DEVICE THEN I'M NOT RESPONSIBLE FOR THAT.
hii guyzzz, i'm here to give a tutorial for Unlocking Bootloader, rooting and Flashing TWRP Recovery on your Sony Xperia C3 Easily. I'm directly writing the steps cause i never want to make you bored by writing lot of theory...
Requirments:
Internet Connection on device
Computer
Basic Knowledge Related to command firing through Command Prompt(CMD) on Computer.
KingRoot 4.8.1.apk
Fastboot.zip
adb Drivers of Xperia C3
TWRP Recovery Image file
Unlocked BootLoader
Main Steps :
Unlock Bootloader
Rooting
Flashing Recovery
Steps for Unlocking Bootloader:
Goto Sony Bootloader unlocking PageClick Here to Procced.
Select Your Device as Xperia Z3 Compact and Click on Continue.
on next page Give Your E-Mail ID and Click On Submit.
They Will Send Verification Mail On Your Email Address.
Open Your Mail Box, and Inside a mail Click on "Click here to proceed"
After that Put Your #1 IMEI No. and Click On Submit. to find IMEI no. dial *#06# on Mobile
on next page they will Generate one Code, Note down this code on Notepad and save it.
Now Download Fastboot.zip from HERE.
Now extract this zip on your computer.
Stay on the Extracted folder and press Shift+Right Click and select option "Open Command window here"
Now turn on Debugging mode and turn off your device.
Press and hold Volume UP button and Connect your Device to computer till the Blue LED Arrives.(Fastboot Mode)
In CMD type following Command: fastboot devices (shows device is connected).
if it will show the Device on Command prompt then Type Command given Bellow
fastboot -i 0x0fce oem unlock 0xUNLOCK-CODE
the UNLOCK-CODE is code which is you noted. in Command add 0x before unlock code.
After Completion Disconnect and Reboot your Device.
Please take a backup of data, after unlocking bootloader your phone will be reset.
Rooting Your C3:
Install Kingroot 4.8.1.apk
it requires Internet connection so make sure that you turn of mobile data.
it detect your mobile phone
After that click on try too root
It will take 5 minuts to complete
After 70% it will show error that unable to root
Don't worry, simply reboot your device. It will be rooted....
Flashing TWRP on C3 :
Note:This TWRP Recovery Installation guide is only for Lollipop 5.1.1, do every task very carefully I'm not responsible for the any damages to your device.....
Download recovery.img.zip from following cezer's thread... Click Here to Goto Cezer's Thread.
After downloading recovery.img.zip extract it into fastboot folder...
Now connect your phone to pc in fastboot mode as I said previous steps for bootloader unlocking.
Open cmd in fastboot folder by pressing shift+Right Click and select option "Open Command window here".
Now Check whether your device is connected or not by typing following Command.
fastboot devices
If it was show your device there then Type following Command in cmd to Flashing Recovery.
fastboot flash recovery recovery.img
MAKE SURE THAT YOUR ARE EXTRACTED RECOVERY.IMG.ZIP INTO THE FASTBOOT FOLDER.
After Completion of Flashing reboot your device.
To jump into the recovery, turn off your device and press and hold Volume down + Lock key
THANKS FOR READING ME....
XDA:DevDB Information
Rooting/twrp installation Guide for Xperia C3, Tool/Utility for the Sony Xperia C
Contributors
Sahil.bandar, Ceizer.kiran
Version Information
Status: Stable
Created 2016-04-29
Last Updated 2016-05-01
SONY Xperia phones have unlocked bootloader which adds to the difficulty of rooting on top of MM.
#######All the works posted here are not mine but of various authors to whom I am gratful for helping me achieve root############
Requirements
Locked Bootloader Xperia z2
Stock SONY ROM
no root
Battery above 70(just to be safe)
Good internet connection
Now, we have lots to download because Flashtool dosen't work so, I had to download android sdk entirely.
#1
Obtaining the Bootloader Unlock Code
Note:Unlocking the bootloader on a Sony device may automatically wipe internal storage; a backup of the sdcard is suggested. It will also irreversibly erase the DRM keys stored in the TA partition of some devices, which will result in the loss of certain proprietary features that may have been included. Check your specific device forum on XDA to learn more.
In order to unlock the bootloader on your Xperia Z2 you will need to obtain a code from Sony. The following process will help you acquire this code so that you can flash a custom recovery.
Open the Phone application on the Xperia Z2 and enter *#06# to obtain the device's IMEI, IDID or MEID. Save this for later use.
Optional: if you do not have a phone app, the IMEI, IDID or MEID can be found on the box or on the device in Settings -> About Device -> Status.
Put the device into fastboot mode:
Insert one end of the Micro-USB cable into your PC. Turn off the device and wait at least 5 seconds. Press and hold the Volume Up button and plug the other end of the Micro-USB cable in to your device.
Open a terminal on the PC and enter fastboot getvar version
If you receive the message <waiting for device> fastboot is not configured properly, please see fastboot for more details.
Navigate a browser here
Select your device and click the 'continue' button at the bottom of the page.
Enter your email address, agree to the terms and select 'Submit'
Click the link from your email, enter your IMEI, IDID or MEID and continue
The unlock code should now appear, write this down for the next step.
In the PC's terminal, enter the following command: fastboot oem unlock 0xKEY
KEY corresponds to the unlock code you were given.
The Xperia Z2's bootloader should now be unlocked.
This should factory reset the phone, you may have to wait a while before reboot.
Source:https://wiki.cyanogenmod.org/w/Install_CM_for_sirius
How to check if your bootloader is locked or unlocked?
This tutorial is suitable for all versions of Android. We are provoding two different methods to check the status of your bootloader, use the one that works for you.
Method 1 :
This one is the easiest method and works with many device out there, you don’t require any use of PC, you just need to enter a spacial block of numbers in your keypad to check your bootloader’s status.
Step 1 : Open your device’s dialer (App where you enter telephone numbers to call someone).
Step 2 : Dial the below code, it will automatically open a new windows. (if it doesn’t opens anything then use the second method).
1
*#*#7378423#*#*
Step 3 : Now in that window go to Service Info >> Configuration, and see if there is :
1
2
Bootloader unlock allowed - Yes >> This means that your Bootloader is Locked
Bootloader Unlocked - Yes >> This means that your Bootloader is unlocked
Method 2 :
Step 1 : Download and install adb & fastboot package & drivers in your system (Google it for your device).
Step 2 : After successful installation of adb & fastboot, connect your device to your PC via USB cable in fastboot mode.
Step 3 : Now open the folder where your adb & fastboot package is extracted, press Shift key on your keyboard and right click in the folder and select “Open command prompt here“.
Step 4 : It will open a Command Prompt window.
Step 5 : Type the following command to check if the device was detected in fastboot mode.
1
fastboot devices
Step 6 : if you don’t get device it or anything it means that the drivers weren’t correctly installed or the device wasn’t connected properly, if this happens try reinstalling your drivers.
Step 7 : Next run the following command to check the status of your device’s bootloader.
1
fastboot oem device-info
Source:https://thebroodle.com/android/how-to-check-your-bootloader-is-locked-or-unlocked/
#2
After unlocking the device, rooting is done using Kingroot (easier), you can use either the windows app or android app.
Success rate of rooting however is very less, so you may need to do it more than a few time.
The rooting lasts only 2 restarts(for me), so you have to root again using king root.
android: http://forum.xda-developers.com/devdb/project/dl/?id=19156
windows: https://kingroot.net/
Any problems with kingroot check the link : http://forum.xda-developers.com/android/apps-games/one-click-root-tool-android-2-x-5-0-t3107461
#3
How to Install CWM 6.0.4.7 Recovery on Xperia Z2 D6503, D6502, D6543
Download Doomlord’s Z2_DooMLoRD_AdvStkKernel_FW-167-v07.zip
http://doomlord.xperia-files.com/download.php?dlid=WjJfRG9vTUxvUkRfQWR2U3RrS2VybmVsX0ZXLTE2Ny12MDc=
Copy the downloaded Advanced Stock Kernel.zip file to your phone’s SD card.
Extract the downloaded .zip folder on your PC, you will get a Boot.img file.
Place the extracted Boot.img file in the Minimal ADB & Fastboot folder that you created using our ADB & Fastboot Quick Setup Guide.
If you are using Android ADB & Fastboot full package, you can place the downloaded Recovery.img file in the Fastboot folder or in the Platform-tools folder.
Open the folder where you placed the Boot.img file. E.g Minimal ADB & Fastboot or Fastboot or Platform Tools.
Press and hold the shift key and right click on an empty area within the folder, and click on “Open Command Window Here”.
Turn off your Xperia Z2 completely.
Now press the Volume Up Key and while keeping it pressed plug in the USB cable.
You should see a blue light in the notification light of your phone, that means your device is now connected in Fastboot mode.
Now type the following command: fastboot flash boot boot.img
Hit Enter and it will quickly flash CWM 6.0.4.7 recovery in your Xperia Z2.
Once recovery is flashed, now issue this command “Fastboot reboot”
Your device will reboot now, as soon as you see the Sony logo, and the pink LED, press Volume Up key to enter recovery.
Once you’re in recovery, select “Install Zip > Choose Zip from SD Card > Advanced Stock Kernel with CWM.zip > Yes”. [Important]
This will flash the Kernel in your phone now. Once flashed, reboot your device.
Congrats! You should now see the custom recovery.
Source: http://techbeasts.com/install-cwm-recovery-root-xperia-z2-2301a0167-d6502-d6503-d6543/
Now, you have custom recovery, you can use this to flash ROMS. Caution to be taken when you flash a ROM you might loose your Kernel and recovery so use ROMs with inbuilt kernels or just flash after installing depending on ROM
For D6502 phone you will need to flash a fix zip after the ROM for getting network.
#4
http://www.xda-developers.com/how-to-install-twrp/
For installing TWRP follow the above guide.
Can't upload screenshots yet(don't have them, did this in a hurry)
(My internet connection is very slow)
CREDITS
All the authors of my sources
#########@@@@@@@Press that small little Thank You button:good@@@@@@@@############
-------------------------------------------------------------->>>>>>>>>>>>>>>>>>>>>>>Should be here
Thread closed as per OP's Request.
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 ....)
Note: It would be great to keep this page open while following through on your PC instead of your phone as you'll be rebooting and resetting your phone by following this procedure.
Click to expand...
Click to collapse
Prerequisites:
ADB (Android Debugging Bridge) tools for your OS (Windows/Linux/Mac)
Windows
Mac
Linux
Custom Recovery Image (TWRP or some other that you prefer):
(Official TWRP web hosted version) Nokia 6.1 (2018)
Download from American Mirrors
Download from EU Mirrors
USB Cable to Connect the phone to the computer
The Phone: Nokia 6.1 (2018) (preferably Fully Charged)
The device drivers (for Windows and Mac)
A good and active Internet Connection
An active Email address and client to quickly view it.
In this tutorial I'll be referring to Linux terminal, Mac Terminal & Windows Command prompt/Powershell simply as terminal.
Click to expand...
Click to collapse
Installing adb and fastboot
Google hosts zips including only adb and fastboot. You can set these up for use with the instructions below.
On Windows
Download the (Windows.zip) from Google.
Extract it somewhere - for example, %USERPROFILE%\adb-fastboot
• On Windows 7/8:
1. From the desktop, right-click My Computer and select Properties
2. In the System Properties window, click on the Advanced tab
3. In the Advanced section, click the Environment Variables button
4. In the Environment Variables window, highlight the Path variable in the Systems Variable section and click the Edit button
5. Append ";%USERPROFILE%\adb-fastboot\platform-tools" to the end of the existing Path definition (the semi-colon separates each path entry)
• On Windows 10:
1. Open the Start menu, and type “advanced system settings”
2. Select “View advanced system settings”
3. Click on the Advanced tab
4. Open the “Environment Variables” window
5. Select the Path variable under “System Variables” and click the “Edit” button
6. Click the “Edit Text” button
7. Append ";%USERPROFILE%\adb-fastboot\platform-tools" to the end of the existing Path definition (the semi-colon separates each path entry)
• Install the device drivers linked in prerequisites (or from Nokia support site), and reboot.
On MacOS
Download the MacOS (Darwin.zip) from Google.
Extract it somewhere - for example, ~/adb-fastboot.
Add the following to ~/.bash_profile:
Code:
if [ -d "$HOME/adb-fastboot/platform-tools" ] ; then
export PATH="$HOME/adb-fastboot/platform-tools:$PATH"
fi
Log out and back in.
On Linux
Download the (Linux.zip) from Google.
Extract it somewhere - for example, ~/adb-fastboot.
Add the following to ~/.profile:
Code:
if [ -d "$HOME/adb-fastboot/platform-tools" ] ; then
export PATH="$HOME/adb-fastboot/platform-tools:$PATH"
fi
Log out and back in.
You may also need to set up udev rules: see (this repository) for more info.
Setting up adb
To use adb with your device, you’ll need to enable developer options and USB debugging:
1. Open Settings, and select “About”.
2. Tap on “Build number” seven times.
3. Go back, and select “Developer options”.
4. Scroll down, and check the “Android debugging” entry under “Debugging”.
5. Plug your device into your computer.
6. On the computer, open up a terminal/command prompt and type adb devices.
7. A dialog should show on your device, asking you to allow usb debugging. Check “always allow”, and choose “OK”.
Congratulations! adb is now ready to use with your device.
Unlocking the bootloader
Note: The steps below only need to be run once per device.
Code:
Warning: Unlocking the bootloader will erase all data on your device! Before
proceeding, ensure the data you would like to retain is backed up to your PC and/or
your Google account, or equivalent.
1. Make sure your computer has working fastboot and adb.
2. Enable USB debugging & OEM unlocking on your device under Settings->Developer Options. Incase you don't see Developer Options, then you need to unlock it by tapping Build Number 7 times in Settings->About Phone.
3. Get the current status of your bootloader:
Open a terminal on the PC and boot the device to fastboot mode by typing:
Code:
adb reboot bootloader
Once the device is in fastboot mode, verify your PC finds it by typing:
Code:
fastboot devices
If you see "no permissions fastboot" or "<waiting for device>", try running
Code:
fastboot
as root/Administrator.
From the same terminal, type the following command to get the bootloader status:
Code:
fastboot oem device-info
4. Follow the instructions at (Nokia Support) to unlock your bootloader, you will need to register at this site with a working/active email to proceed. They'll verify your device using an app to issue a validation code.
Note: If your device is not supported by the Nokia Bootloader Unlock
website, you will need to use an alternative bootloader unlock method.
Installing a custom recovery using fastboot
1. Make sure your computer has working fastboot and adb.
2. Enable USB debugging & OEM unlocking on your device under Settings->Developer Options. In case you don't see Developer Options, then you need to unlock it by tapping Build Number 7 times in Settings->About Phone. This needs to be done again due to resetting of your phone.
3. Download recovery - visit twrp.me to obtain the latest version of Team Win
Recovery Project for your device. Nokia 6.1 (2018) does have an official TWRP recovery that you can find here: Nokia 6.1 (2018) [PL2] respectively.
4. Connect your device to your PC via USB.
5. Open a terminal on the PC and boot the device to fastboot mode by typing:
Code:
adb reboot bootloader
6. Once the device is in fastboot mode, verify your PC finds it by typing:
Code:
fastboot devices
If you see "no permissions fastboot" or "<waiting for device>" , try running
Code:
fastboot
as root/Administrator.
7. Boot into TWRP temporarily:
Code:
fastboot boot twrp.img
8. Use adb to push the zip onto your device:
Code:
adb push twrp.zip /
9. Go to `Install` option on the TWRP menu and browse to the zip (Scrolling to the bottom should have the zip) and install the zip. The zip will install TWRP to both boot slots. Installing TWRP at this time will remove root if you are currently rooted.
If you accidentally flash TWRP to your device using fastboot instead of temporarily booting the image, you will need to download the latest factory image for your device and reflash the boot image.
Click to expand...
Click to collapse
This command assumes the recovery image is present in your current working directory (Check using `DIR` on command prompt or `ls` command on terminal)
If it isn't you can change your current directory to the directory containing the recovery image or copy/move the recovery image to your current working directory.
10. Now reboot into recovery to verify the installation:
That's all folks. You may now root your phone, or even flash a custom ROM. I suggest getting openGapps for the custom ROM if you wish to use Google play services on the custom ROM.
Popular adb commands
Code:
adb shell
Launches a shell on the device accessed through the terminal on your computer.
Code:
adb push <local> <remote>
Pushes the file <local> to <remote>
Code:
adb pull <remote> [<local>]
Pulls the file <remote> to <local>. If <local> isn’t specified, it will pull to the current folder.
Code:
adb logcat
Allows you to view the device log in real-time. You can use adb logcat -b radio to view radio logs, and adb logcat -C to view logs in colour
Code:
adb install <file>
Installs the given .apk file to your device
<local> refers to location on your computer (like c:\\Users\%USERPROFILE%\adb-fastboot on windows or ~/adb-fastboot on unix based OS), while <remote> refers to location on your android device (like "/sdcard/", without quotes)
Reserved
What do you do if oem unlocking in developer is greyed out? TA-1045
@toxicmender The official bootloader unlock was only released to the Nokia 8. So, what is the point posting it here?
Or have they silently added the 6.1?
singhnsk said:
@toxicmender The official bootloader unlock was only released to the Nokia 8. So, what is the point posting it here?
Or have they silently added the 6.1?
Click to expand...
Click to collapse
Unfortunately no, they haven't, removed the [incomplete] tag prematurely after reading it somewhere.
Currently only known way to unlock Nokia 6.1 seems to be to flash signature file.bin from these guys for fee.
at Step 4:
Code:
fastboot flash signature signature_file.bin
Also it has follow up instructions for flashing TWRP for anyone who has successfully unlocked their bootloader, since flashing TWRP is a bit different from most other phones
toxicmender said:
Unfortunately no, they haven't, removed the [incomplete] tag prematurely after reading it somewhere.
Currently only known way to unlock Nokia 6.1 seems to be to flash signature file.bin from these guys for fee.
at Step 4:
Code:
fastboot flash signature signature_file.bin
Also it has follow up instructions for flashing TWRP for anyone who has successfully unlocked their bootloader, since flashing TWRP is a bit different from most other phones
Click to expand...
Click to collapse
Why would you make start this thread then? It is completely pointless and misleading.
It is like making a post saying that there are flying cars and marking it [Incomplete]. It is just ****ing stupid.
I hope you drop your 6.1 and break it so you make **** posts in other phone forums instead of this one.
cmaxwe said:
.
I hope you drop your 6.1 and break it so you make **** posts in other phone forums instead of this one.
Click to expand...
Click to collapse
Hey now, there is really no need for that level of hostility. He knew they were doing unlocks for at least one Nokia phone, and me may not have known that they didn't have it for the 6.1.
Please don't talk to peope like that if they make a simple mistake when trying to provide info and help out the community. We're all human.
toxicmender said:
Unfortunately no, they haven't, removed the [incomplete] tag prematurely after reading it somewhere.
Currently only known way to unlock Nokia 6.1 seems to be to flash signature file.bin from these guys for fee.
at Step 4:
Code:
fastboot flash signature signature_file.bin
Also it has follow up instructions for flashing TWRP for anyone who has successfully unlocked their bootloader, since flashing TWRP is a bit different from most other phones
Click to expand...
Click to collapse
Honestly if there was a good amount of roms available for this phone I would gladly pay the $5 to unlock bootloader, although that method leaves me with questions. does that method survive ota? Does it actually work? Can it relock and unlock without paying again?
Is there really not that many people on here willing to try unlocking and flashing the many gsi roms available?
cmaxwe said:
Unfortunately no, they haven't, removed the [incomplete] tag prematurely after reading it somewhere.
Currently only known way to unlock Nokia 6.1 seems to be to flash signature file.bin from these guys for fee.
at Step 4:
Why would you make start this thread then? It is completely pointless and misleading.
It is like making a post saying that there are flying cars and marking it [Incomplete]. It is just ****ing stupid.
I hope you drop your 6.1 and break it so you make **** posts in other phone forums instead of this one.
Click to expand...
Click to collapse
It's not like there isn't a way, there is, just not a transparent method. Somehow those (refer to link in reply) are able to generate and send the signature file allowing you to unlock the phone, how it works or if your bootloader be locked again after updating is unknown to me ATM
mymeatb18 said:
Unfortunately no, they haven't, removed the [incomplete] tag prematurely after reading it somewhere.
Currently only known way to unlock Nokia 6.1 seems to be to flash signature file.bin from these guys for fee.
at Step 4:
Honestly if there was a good amount of roms available for this phone I would gladly pay the $5 to unlock bootloader, although that method leaves me with questions. does that method survive ota? Does it actually work? Can it relock and unlock without paying again?
Is there really not that many people on here willing to try unlocking and flashing the many gsi roms available?
Click to expand...
Click to collapse
Well the ROM development begins after an Official TWRP recovery, so the chances are there might be some. I'm not clear on the the OTA being able to relock the bootloader either since I was running Pie update when I got to know about it.
thread closed as per OP request