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
Disclaimer: By attempting any of the processes listed in this thread you accept full responsibility for your actions. I will not be held responsible if your device stops working, catches fire, or turns into a hipster and claims to have been modified before it was cool.
Warning: Rooting does not void Yutopia’s warranty, though damaging your hardware (i.e., burning up your CPU/Motherboard 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.
Lets begin
Index:
A. Drivers Installation
B. Unlock Bootloader
C. Install & Boot into Custom Recovery (TWRP) on Yutopia
D. Make A Nandroid Backup With TWRP Recovery
E. Root Your Stock Rom
F. Backup EFS and Other Partitions
A. Drivers Installation:
In order to Unlock, Root or Install Custom Recovery, you need to have the right set of Drivers to help your computer recognize your device. I used Windows 7 for this and it worked fine so should work for other windows as well.
Download and install Yutopia Drivers
https://drive.google.com/file/d/0B0pr-ZA5b-1pWFAwMmI4dWRGM3M/view?usp=sharing
Go through the setup, and when done, restart your PC. Connect your device to your windows and is shall recognize it
B. Unlock Bootloader:
Backup important files stored on your device before proceeding with the steps below, as unlocking the Bootloader will completely wipe/delete all files on the device.
After the installation of drivers follow the below to proceed with Unlocking the Bootloader of your Yutopia:
1. Enable USB Debugging, Uncheck Update Cyanogen Recovery & Activate OEM Unlock:
* Go to Settings > About phone, and then tap ‘Build number’ 7 times or until you get the message ‘You’re now a developer!’.
* Go back to Settings, choose ‘Developer options’. Find the ‘USB debugging’ option and use this toggle button to enable it. Accept warning by tapping on OK button.
In the ‘Developer options’. Find the ‘OEM Unlocking’ option and use its toggle button to enable it. It asks for your PIN/Screen unlock code, type it. Then accept the warning by tapping on OK button.
Also Uncheck Update Cyanogen recovery in developer options.
2. Boot your Yutopia into Bootloader/Fastboot mode. (Make sure you have backed up all important data as you’ll lose everything on phone in the steps below.)
3. Connect your Yutopia — in Bootloader mode — to PC. Let the driver install.
4. Open a command window on your PC. For this:
5. Open any folder on PC. Now, left click on empty white space inside the folder.
6. Hold shift key, right click on empty white space to get a pop-up and Choose Open command window here option from that. You will see a command window open up, with location directed to unlock folder.
7. Power off your phone then boot into fastboot mode (power + volume up).
8. Connect your phone to your windows via usb cable.
9. Confirm whether fastboot is working. With Yutopia connected to PC, run the following command in command window.
Code:
fastboot -i 0x2A96 devices
10. If device is connected you will get following kind of output:
86fsdy85 fastboot
11. If you dont get similar output it means that the drivers are not correctly installed or the device wasnt connected properly.
12. If the output is similar to above then run the following command:
Code:
fastboot -i 0x2A96 oem unlock
13. Now reboot from fastboot mode and thats it
Code:
fastboot -i 0x2A96 reboot
To confirm unlock status, reboot into bootloader/fastboot mode and you shall see the text unlocked now.
Code:
fastboot -i 0x2A96 device-info
C. Install & Boot into Custom Recovery (TWRP) on Yutopia
1. Download Modified TWRP:
https://drive.google.com/file/d/0B0pr-ZA5b-1pd2Z2YVR1cVZaeVE/view?usp=sharing
2. Enable USB debugging & Uncheck update Cyanogen Recovery from developer options once again.
3. Boot your Yutopia into bootloader mode.
4. Connect your Yutopia — in bootloader mode — to PC. Let the driver install.
Open a command window on your PC in the folder where you have the recovery.img file.
You will see a command window open up, with location directed to folder where you have the recovery.img file.
Let’s confirm whether fastboot is working. With Yutopia connected to PC, run the following command in command window. You should get a serial no. with fastboot written after it. If not, you need to reinstall the fastboot drivers from above.
Code:
fastboot -i 0x2A96 devices
(if the drivers are installed and device connected you would get the device serial number)
Flash TWRP recovery on your Yutopia by running the following command.
Code:
fastboot -i 0x2A96 flash recovery recovery.img
After that run this command:
Code:
fastboot -i 0x2A96 boot recovery.img
This will boot your device directly to TWRP
Or you can manually boot in recovery by unplugging the usb cable and then pressin POWER + VOL down until the device boots. When the YU logo shows up, relese the POWER and keep holding down VOL DOWN until TWRP boots up:
First boot into TWRP directly after flash is very important, Don't boot the OS on the phone as it may overwrite the recovery.
D. Make A Nandroid Backup With TWRP Recovery
Nandroid backup is a very important thing to have before installing any custom software on your device. It's basically a backup of your stock system that you can fall back on if anything goes wrong or if you just want your stock ROM back. You can also use the backup tool to create a backup of your favourite ROM set up exactly the way you like it. The backup you create can be easily restored using the restore tool in TWRP recovery.
All you need to do is enter TWRP recovery, select the backup option from the TWRP home screen, check the system/data/boot boxes, and swipe to backup. The process will take a few minutes.
Please make this backup before you root, so that you possess unrooted system backup at all times which would come handy at the time of OTA updates.
E. Root Your Stock Rom
Download: The latest SuperSU on your device.
https://download.chainfire.eu/896/SuperSU/BETA-SuperSU-v2.66-20160103015024.zip
Reboot to recovery
Tap on Install > Browse and Select SuperSU > Swipe to Confirm the Flash
Once Done > Wipe Dalvik & Cache > Reboot System To Restart
To Confirm the root status use a root checker app from play.
F. Backup EFS and Other Partitions
1. Download Partitions Backup And Restore App from Here
2. Open the app and grant it root access.
3. Click on the Settings icon above and select preference to .img
4. Select the partitions marked in yellow and backup them by clicking on the download like button at the bottom right.
5. Go to the storage and search for the Partitions Backup folder there you will three .img files (modem,modemst1,modemst2) . Save them to your cloud and as many places as you want as they are very important files.
This way you can back up all other partitions too. (I recommend backing up all those that are not found in a factory image.
Now you possess an Unlocked YU - Yutopia with a Custom Recovery and Root Privileges
Cheers,
Funk Wizard :good:
Reserved for updates !!
Do you have make video tutorial?
I am using windows 10, 64 bit. Thease drivers are not working for me.
Sent from my HM 1SW using XDA Forums Pro.
Nevermind.
Modified TWRP link is dead
Hello,
The modified twrp link is dead. Please share a new link.
Alternate Link for Yutopia Drivers
Hi,
Can you please share an updated link for the yutopia drivers? This link seems to be broken.
Thanks a lot!
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.
Hi there!!
Well I was trying to root this phone since a month but due to lack of developers, it wasn't possible. So I tried and at last succeeded in rooting and porting TWRP recovery for Intex Aqua Music.
I tried to elaborate every step as much as I can so the tutorial becomes user friendly for everyone.
Disclaimer: Rooting immediately voids your phone's warranty, you should consider very carefully whether you need to gain root privileges. And this tutorial will format your phone. So backup you important files at the very first.
Tutorial
First download all the files which i left and the end of the thread and proceed with the tutorial.
First of all you need to install ADB Drivers.
Once drivers are installed, you need to enable USB Debugging in your phone.
(goto phone settings->About phone->scroll down and you’ll see an entry labelled ‘Build number.’ Keep on tapping till you see a prompt that says ‘You are now a developer)
Now in phone settings you will see a new option called Developer Options.
Now goto Developer Options and enable OEM Unlocking(for unlocking the bootloader so you can flash the TWRP recovery) and USB Debugging.
Now connect you phone with usb cable to computer and open the adb and fastboot folder which you downloaded.
Then open command prompt there(shift+right click) and type:
Code:
adb devices
You will see a popup on you phone screen, Select allow and ok
Now you will see your device listed there in command prompt.
Now type the following commands:
Code:
adb reboot bootloader
Phone will switch off and go into bootloader. Then type
Code:
fastboot oem unlock
Now you phone will ask for confirmation. Use Volume UP Button to select yes then type
Code:
fastboot continue
.
Now your device will reboot(it will take some time so don't worry)
Now once your phone boot up you will see its formatted and bootloader will be unlocked.
Now again goto setting and enable USB Debugging like before and connect you phone with pc.
Now copy the recovery.img from recovery zip which you downloaded to adb and fastboot folder.
Then in adb command prompt type the following commands like before
Code:
adb reboot bootloader
Wait for the phone to go into bootloader mode, then
Code:
fastboot flash recovery recovery.img
fastboot continue
Now twrp is flashed in your phone. Now to root your device copy the supersu zip to you phone.
Switch off your mobile, then press Volume Up + Power button together then choose recovery mode with Volume UP Button and
press Volume Down Button.
Now phone will boot into TWRP recovery mode.
Click Install and choose the Super Su zip from file manager then install it.
The click reboot and once your phone boots up its rooted now.
Enjoy!
Thanks button will be appreciated if the tutorial works for you.
Thanks
Thanks man, helpful
This method was tested on P2a42 4/32 and P2c72 4/64 (both smartphones has 251 firmware installed).
Please, pay attention and read carefully:
You have a risk that P2 will go from EDL (9008) mode to 900E while you make a reconnect of connected to PC phone.
If you haven't successfully returned it by yourself into 9008 state - the only way is repair service. See details on 4Th step below the short instruction.
ADB and EDL (9008) drivers have to be pre-installed on your PC.
For those, who faced with flashing firmware, gaining root, working with ADB and Fastboot commands, EDL mode on P2 and so on, here is the short instruction:
1. Wipe sp if you have root: dd if=/dev/zero of=/dev/block/bootdevice/by-name/sp .
2. Wipe secinfo via Fastboot: fastboot erase secinfo .
3. Wipe userdata via Fastboot: fastboot erase userdata .
4. P2 is connected to PC in EDL (9008) mode, make a reset via launching blank-flash.bat from blankflash folder.
5. Flash 251 firmware as for unlocked device using START script .
6. Choose region ( ####682# ) and then make a reset ( ####7777# ).
7. That's all folks! Now you have locked P2 with a region that you want. So you can set the phone as you always do.
Below there is the same instruction, but detailed and with pictures.
From Unlocked to Locked state on P2.
1. Wipe sp if you have root: dd if=/dev/zero of=/dev/block/bootdevice/by-name/sp .
On this step you can use Total Commander with ADB plugin (YouTube will help you, there are tons of videos about it).
I prefer not to use PC, if there is another way.
What I've done:
Android Terminal Emulator installed and launched.
Gave it permission to root access.
In Emulator typed su and pressed Enter.
Sign $ will turned to # , which means that further commands will be under root access.
Type command: dd if=/dev/zero of=/dev/block/bootdevice/by-name/sp and press Enter.
If all done right, so you will see: Screenshot 1.
View attachment 4358523
2. Wipe secinfo via Fastboot: fastboot erase secinfo .
Turn off P2.
Boot it into Fastboot mode - press and hold two buttons (Power And Volume -), on P2 screen you will see Fastboot mode: Screenshot 2.
View attachment 4358524
Connect P2 to PC (it is recommended not to use card readers; connect to USB which are situated on motherboard for PC, there is an exception for notebook (laptop)).
Press right mouse button and hold Shift on ADB folder, which is placed in the root of Disc C (С:\), choose "Open command line" - a CMD window will appear on the screen of PC.
In CMD window type fastboot erase secinfo and press Enter.
If all done properly, all drivers set properly, on the screen of your PC you will see: Screenshot 3.
View attachment 4358525
3. Wipe userdata via Fastboot: fastboot erase userdata .
Continue in CMD window. Type fastboot erase userdata and press Enter.
On the screen of your PC you will see: Screenshot 4.
View attachment 4358526
Close CMD window on PC.
4. P2 connected to PC in EDL (9008) mode, make a reset via launching blank-flash.bat from blankflash folder.
blankflash folder must be placed in the root of Disc C (С:\).
On PC you must hold opened window of "Device manager" with opened string "Ports (COM and LPT)".
Your P2 must be connected to PC in EDL (9008) mode.
Use P2 very carefully without further re-connections, because there is a high risk, that P2 can go to 900E mode.
P2 connected to PC, press and hold all three buttons (Power and both Volume).
Hold buttons (phone will be rebooted twice) until you will see "Qualcomm HS-USB QDLoader9008 (COM12)" in opened window of device manager in string "Ports (COM and LPT)".
You might get another number of port (not only 12Th), it doesn't matter.
The main aim is "Qualcomm HS-USB QDLoader9008..." string in device manager.
Please, be very careful, because even little re-press of button or re-connect of cable will send your P2 to 900E mode with constant vibration and blue LED.
Try to restore phone to EDL (9008) mode by pressing and holding three buttons.
If you have no luck (from 900E to EDL) - congrats, you've got a brick.
From this point you should ask for help in repair service.
Going further, if all is going right and P2 connected to PC in EDL (9008) mode.
In device manager window on PC you will see this: Screenshot 5.
View attachment 4358527
From blankflash folder launch (double click of left mouse button) blank-flash.bat: Screenshot 6.
View attachment 4358528
You will see a CMD window which shows you a reset process of your P2.
If all done properly (without any "ERROR False"), you will see: Screenshot 7.
View attachment 4358529
In the end of reset your P2 will automatically boots from EDL (9008) mode to Fastboot mode: Screenshot 8.
View attachment 4358530
I suppose that there is no need to speak about 5Th and 6Th steps, because it is a basic knowledge, that you should know, when you are going to lock bootloader on P2.
Important notice.
You have to use original or other cable that has been already successfully used in Fastboot mode with your Р2.
The simple way to check cable is to type fastboot oem config in CMD and look what info it will give to you.
For those, who have already locked bootloader, it is strictly recommended not to flash stock ROM via flashall.bat.
For flashing stock you should use method for unlocked device, so you need to use START script.
All will go right if you will flash via flashall.bat after bootloader was locked, without any errors, Р2 will be booted as usual - Wi-Fi, SIM-cards (with names of operators), IMEI's and Serial number - all will be OK ...
But!
Calling, SMS and Mobile data will not work, you will see crosses on antenna icons in Status bar (in the string of modem firmware in "About" you will see "X" instead of "R" (Screenshot 9, 10) as it was, modems region will be defective).
View attachment 4358708View attachment 4358709
You can switch on/of Mobile data from Notification drawer, but there will be no connection, only Wi-Fi will work.
I am searching for solution of this problem.
As soon as it will be ready, it will be posted here. See post #2.
ADB folder (download, unzip) - View attachment ADB.rar
blankflash folder (download, unzip) - View attachment blankflash.rar
All thanks addresses to https://forum.xda-developers.com/member.php?u=279908.
I've just translated it from Russian to English from 4PDA site
Good luck and have a nice day!
Remember ...backup rules.
Solution.
Your phone must be unlocked and you must already have TWRP-backups of modem (NON-HLOS) and EFS from Р2.
1. Unlock bootloader.
2. Install TWRP.
3. Restore modem (NON-HLOS) and EFS in TWRP - you will get working modem, but there might be no sound in telephony.
4. You should install modem image via TWRP for Android 6 or 7 to get back to a working telephony (for additional instructions see post #3).
Later, if there will be a method which will work without TWRP-backups and possibly without unlock of bootloader, it will be posted here.
Modem download links:
Android 6 (062): http://lenovo-forums.ru/applications/core/interface/file/attachment.php?id=75313
Android 7 (244): http://lenovo-forums.ru/applications/core/interface/file/attachment.php?id=75314
How to restore a modem.
Important notice - you need to use modem with the same OS version which is installed on your phone.
Look here:
Firmware 062 - this is Android 6.
Firmware 233 and higher - this is Android 7.
Flash this:
For Android 6 - Modem_P2_062_ROW.zip
For Android 7 - Modem_P2_244_ROW.zip
Flash modem via TWRP:
1. Download zip for OS that you need (do not unzip it, rename or choose extension).
2. Copy to the phone memory (or to external micro-SD card).
3. Boot to TWRP and act as it is shown on the screenshots ...
View attachment 4358546View attachment 4358547View attachment 4358548View attachment 4358549View attachment 4358550
EDIT: did the first step wrong, now it's Locked
Do you have data and calls working?
Enviado desde mi Lenovo P2a42 mediante Tapatalk
Is the warranty back if the bootloader is relocked?
Danoz88 said:
Is the warranty back if the bootloader is relocked?
Click to expand...
Click to collapse
It is a difficult question.
I suppose, that official repair service can detect it.
Remember how you unlocked P2 at first time: you asked for unlock with internet connection and Lenovo ID, there is a possibility, that some data about it stored and can be used for different purposes.
sergsinger said:
It is a difficult question.
I suppose, that official repair service can detect it.
Remember how you unlocked P2 at first time: you asked for unlock with internet connection and Lenovo ID, there is a possibility, that some data about it stored and can be used for different purposes.
Click to expand...
Click to collapse
Thanks I thought the same. But in this case why should we go back to locked bootloader
Danoz88 said:
why should we go back to locked bootloader
Click to expand...
Click to collapse
It is personal decision. May be someone don't like to see "UNLOCKED" state.
sergsinger said:
It is a difficult question.
I suppose, that official repair service can detect it.
Remember how you unlocked P2 at first time: you asked for unlock with internet connection and Lenovo ID, there is a possibility, that some data about it stored and can be used for different purposes.
Click to expand...
Click to collapse
I agree... But there are some reports on this forum suggesting otherwise.
One common report is the replacement of motherboard for bricked devices, that too for unlocked devices.
Locked Boot-loader with just (3) steps:
1. Wipe sp if you have root: dd if=/dev/zero of=/dev/block/bootdevice/by-name/sp .
2. Wipe secinfo via Fastboot: fastboot erase secinfo .
3. Flash fastboot images(Stock files).
* I was using Cardinal AOSP 8.0.0
*Blankflash not used
Thanks Locked
jitkr said:
Locked Boot-loader with just (3) steps:
1. Wipe sp if you have root: dd if=/dev/zero of=/dev/block/bootdevice/by-name/sp .
2. Wipe secinfo via Fastboot: fastboot erase secinfo .
3. Flash fastboot images(Stock files).
* I was using Cardinal AOSP 8.0.0
*Blankflash not used
Thanks Locked
Click to expand...
Click to collapse
Oh great. Is this all it have to be done or followed by previous page? Any problems or things to be aware of?
jitkr said:
Locked Boot-loader with just (3) steps:
1. Wipe sp if you have root: dd if=/dev/zero of=/dev/block/bootdevice/by-name/sp .
2. Wipe secinfo via Fastboot: fastboot erase secinfo .
3. Flash fastboot images(Stock files).
* I was using Cardinal AOSP 8.0.0
*Blankflash not used
Thanks Locked
Click to expand...
Click to collapse
I did not understand Wipe sp if you have root: dd if=/dev/zero of=/dev/block/bootdevice/by-name/sp
Shuvamilu said:
I did not understand Wipe sp if you have root: dd if=/dev/zero of=/dev/block/bootdevice/by-name/sp
Click to expand...
Click to collapse
First post, first picture.
Danoz88 said:
First post, first picture.
Click to expand...
Click to collapse
I don't understand
Shuvamilu said:
I don't understand
Click to expand...
Click to collapse
Every step which jitkr enumerated is explained by sergsinger who made this guide.
Read the complete first post of sergsinger. Also click on show content for full explanation.
If you farther understand nothing please clearly explain what exactly.
"I don't understand" does not help in any way.
sergsinger said:
From Unlocked to Locked state on P2.
1. Wipe sp if you have root: dd if=/dev/zero of=/dev/block/bootdevice/by-name/sp .
On this step you can use Total Commander with ADB plugin (YouTube will help you, there are tons of videos about it).
I prefer not to use PC, if there is another way.
What I've done:
Android Terminal Emulator installed and launched.
Gave it permission to root access.
In Emulator typed su and pressed Enter.
Sign $ will turned to # , which means that further commands will be under root access.
Type command: dd if=/dev/zero of=/dev/block/bootdevice/by-name/sp and press Enter.
If all done right, so you will see: Screenshot 1.
View attachment 4358523
Click to expand...
Click to collapse
Danoz88 said:
Every step which jitkr enumerated is explained by sergsinger who made this guide.
Read the complete first post of sergsinger. Also click on show content for full explanation.
If you farther understand nothing please clearly explain what exactly.
"I don't understand" does not help in any way.
Click to expand...
Click to collapse
Next process
If i unlcok bootloader, still recive system updates?
tapunger said:
If i unlcok bootloader, still recive system updates?
Click to expand...
Click to collapse
Yes, as long as you are on stock rom.
I lost my signal forever when I did a nandroid backup from another P2. I've tried it all, but nothing seems to work when it comes to restoring it.
I'm a bit confused by the first posts. OP talks about locking the bootloader and post #2 and #3 say you have to be unlocked to restore the modem? I'd have thought you wanted to lock it in order to flash the modem.