[Official Marshmallow] Lenovo Vibe X3 (Only For X3a40) [Stock Frimware] [Flashing] - Lenovo Vibe X3 Questions & Answers

This Guide Tells You How To Update Your Lenovo Vibe X3 (X3a40 Variant) To The Latest Marshmallow Firmware​​
Warning
If This Bricks Your Phone I Am Not Responsible Although It Is Very Safe But If You Do Anything Stupid It May Brick The Phone If This Happens Repeat All The Steps Again Without Messing Up It Should Fix The Phone​
List Of Things Required For Updating Your Device​Drivers + QFIL - https://drive.google.com/folderview?id=0B5QzQ51ejd3rLWREYmNjWjNwV1U&usp=sharing
Lenovo Vibe X3 Marshmallow Firmware - https://drive.google.com/file/d/0B6fGoFSBPp8QcWtaUlcwVTMxMHc/view?usp=sharing​​
Lets Begin
Flashing Guide​
WARNING: Everything apart from data in external SD card will be wiped. Make sure to backup everything.
1.Download the QFIL flash package ZIP and appropriate ZIP from Drivers+QFIL.
2.Extract the ZIPs to a folder whose complete path has no spaces (space characters) at all.
3.Make sure you uninstall any other phone's PC Suite/drivers as they may cause conflicts. Microsoft Emergency Driver (installed for restoring Lumia devices) is known to conflict, please uninstall it.
4.Go to Drivers+QFIL folder extracted in Step 2, run the appropriate 'INSTALL_DRIVERS_&_QFIL.bat' and follow the instructions.
5.Backup contacts, SMS, apps, etc. as well as the entire internal storage as they will all be wiped(you will setup a new phone). Internal storage WILL BE erased when using the QFIL flash method.
6.Run 'QFIL' program. (If Unable To Find It Search It In Start Menu You Will Find It There)
7.Select 'Flat Build' as build type.
8.Click on 'Browse', select the 'prog_emmc_firehose_8992.mbn' file from the 'X3a40_S217_160623_ROW_QFIL' folder which you extracted.
9.Click on 'Load XML' and select 'rawprogram0.xml' followed by 'patch0.xml'.
10.Make sure you completed each step precisely, the USB cable is connected ONLY to USB port (USB 2.0 preferably) of PC and not to device yet, the device is powered off and is charged (at least 40%).
11.Now boot into EDL by plugging in the USB cable to device and quickly pressing and holding power button for ~1 second. QFIL's 'No port available' text should change to 'Qualcomm HS-USB QDLoader 9008 (COMXX)'. The display will stay off so, don't worry about it.
12.Within ~5 seconds put the device on a stable surface (so that it doesn't move around or shake) and press the 'Download' button on QFIL. If you are late, the device starts to power on normally and you need to go back to Step 11 and continue.
13.Wait for the flash to complete and 'Download Succeeded' message appear at the bottom.
14.Unplug the USB cable from the device and press and hold the power button for ~10 seconds to power it off.
15.Now power on the device normally. If display doesn't turn on press and hold the power button again for longer time, it will boot.
16.Once you have finished the initial set up, open dialer, dial '####682#', choose your region (IN - For India) and confirm. [Don't Skip This Step Its Important]
NOTE - IF Having Trouble In Installing The Drivers Or Detecting The Phone In QFIL Google On How To Disable Signature Enforcement In Windows 8 or 8.1 or 10 And After Doing That Again Install The Drivers.
HIT Thanks Button If I Helped You It Will Keep Me Motivated In Helping Others
TIPS & INFORMATION​The various modes X3a40 can boot into:
Recovery mode: Press and hold Volume up + Volume down + Power together until Lenovo logo shows up and flickers once. Release the buttons and you will reach the recovery. This opens up the recovery of the device.
Qualcomm Diagnostics mode: Press and hold Volume down + Power button together until Lenovo logo shows up and flickers once to boot into this mode. This opens up the Qualcomm Diagnostics screen which has a number of hardware testing and other tools along with ability to flash the stock ROM. It is also used for further Diagnosis using a PC.
Fastboot mode: Press and hold Volume up + Volume down and plug in the USB cable(already connected to PC). You may also use the ADB command "adb reboot bootloader". Obviously you need a working device with USB Debugging turned on and ADB installed on PC. This opens the traditional Fastboot interface.
EDL mode: Plug the USB cable and quickly press and hold the power button for a little while. Device stays in EDL only for ~5 seconds unless you start firmware flash via QFIL. You can also use ADB command "adb reboot edl". This will put your device in Qualcomm Emergency Download Mode which is meant to flash stock firmware using QFIL tool on working/bricked devices.
Normal mode: This is what you boot by normally pressing the power button. I don't need to say much about this one.
Keep your NV data (IMEI, Serial No., etc.) backed up from QFIL>Tools>QCN Backup Restore. Device must be in Qualcomm Diagnostics mode. There are many more ways to do this.
#Note- If Any Of The Link Goes Down Inform Me I'll Bring The Up As soon as Possible.

Will just flashing the SuperSU zip enable me to get root in Marshmallow rom?
Or should I do everything from this thread again to gain root? I already have root in my lollipop and want to update to Marshmallow only if I can get root in it.

This is stolen from this existing thread:
http://forum.xda-developers.com/android/development/rom-lenovo-vibe-x3-row-x3a40-stock-t3328461
Thread closed.

Related

[CWM][ROOT] Evolve FX420/FX520

ClockworkMod Recovery + ROOT
Evolve FX420/FX520​
Hello everyone! Here I brought you custom recoverys and root for phones Evolve FX420 and FX520.
So here are instructions for flasing recovery and gaining root privilegies:
DOWNLOAD LINKS:
http://uploadmirrors.com/download/0HJXJMTP/SP_Flash_Tool.rar
and
http://uploadmirrors.com/download/1NBMV101/_Drivers.rar
- Download SP_Flash_Tool, Drivers and cwm.img recovery image and extract them
- Add Superuser-3.2-RC3-arm-signed.zip file on your SD card
- Shut off phone and take out baterry
- Hold volume up button and plug in USB cable (battery must be still out of the phone)
- Windows recognize new hardware, but Windows won't find any so navigate into _Drivers folder
- If drivers are installed correctly, you can disconnect USB cable
- Launch /SP_Flash_Tool/Flash_Tool.exe and click on "Scatter-loading" and choose file "MT6577_Android_scatter_emmc.txt" which is in the same folder as Flash_Tool.exe
- Click on RECOVERY and choose "cwm.img"
- Now click on "Download" button on top
- Hold volume up button and plug in USB cable (battery must be still out of the phone)
- Flashing process should be started. After it's done, you'll see green cicle which means everything is OK
- Insert battery inside phone
- Turn on phone and hold volume up at the same time
- Your new "cwm" recovery pop up! Install Superuser-3.2-RC3-arm-signed.zip" and reboot system after it.
- Phone will boot with root privilegies!!!
Click to expand...
Click to collapse
There is SP_Flash_Tool tutorial with pictures. Do NOT use their values or anything, you can just look at flashing process looks like: http://forum.xda-developers.com/showthread.php?t=1982587

How to Root the CAT s60 ... ... and more !!!

Since i am afraid, that my Guide will dissapear in the other Thread,
i post this guide in a new Thread !
I have just uploaded a collection of, how i have named it, - s60 essentials - there are ALL files included to flash stock, update to .033, flash twrp recovery and root.
(this is for Win7 x86, you have to check if it works for other versions yourself, sy..)
Here is my collection
HOW TO.... Stock, Update, custom recovery and root your s60 !!!!
Disclaimer: if you brick your phone, it's your fault, i have tested this way of rooting my s60 now for a several times and it works 100%
SO READ TWICE, CHECK TWICE, BEFORE YOU CLICK ONCE !!!!! i will not take any responsibility !!!
Thanks to everybody who contributed here in this thread (Cesarq, OpenMinded, Tuschi, BetonJohn, etc.......) the software in the link
is the collected data, freely available in the net and linked in the original Thread several times, i have only bundled one package and wrote
this, hopefully usefull guide.
in principle do as follows: (I will only explain once how to sideload or load via recovery, afterwards i will only state what kind and what file)
Prerequists
- install USB drivers (for recovery and adb)
- install "minimal ADB and fastboot"
- copy the two updates (update032 & update033) into the folder, where you have installed "minimal ADB and fastboot" (makes live easier later)
- install QPST (the version of QPST is the one from Androidmtk and should be virusfree
(The version of QFIL in my collection is the one without reboot, so you have to reset/reboot your phone manually (resetbutton below hatchdoor on your phone) whenever
stated in this guide.
- format micro SD card in fat32 ! and copy SuperSU.zip onto it.
- connect a WORKING USB cable to your phone (Not to your PC atm !!!)
getting twrp (for saving your old firmware only)
- power off phone.
- start minimal adb on your PC
- start QFIL (part of QPST) on your PC
- press VOL+ & VOL- simultanousely and connect phone with PC (it will vibrate once, top right LED starts blinking red, screen stays black) - DOWNLOAD MODE -
(just in case: to leave Download mode, press and hold power button for apprx. 15 seconds)
- as soon as you connect your phone to the PC, QFIL should show the Phone/port in the topline allready, if not, either try to manually select the port, or you probably still have
a problem with the USB drivers !
- tick in QFIL Flat Build (top left)
- QFIL - select Programmer, "browse" to the saved location of "update-twrp-recovery-nobootpatch" and select the "prog_emmc.blablabla...mbn" file and doubleclick
- QFIL - "load XML" ,select rawprogramm, doubleclick, select patch0, doubleclick
- QFIL - click on "download"
- if everything was OK up till now, it should start download - BE PATIENT- and read the status window on QFIL, when it shows "finish download"....
- disconnect phone from PC
- press and hold simultanousely POWER and VOL+ and use a small tool to push the reset button on the phone under the hatch, while still pressing Power and Vol+ !
- the phone should now be in twrp recovery. If so, do a full backup now to your (allready inserted and fat32 formatted) microSD card!!!
when done
- Power off your phone !
flashing stock 31.02
- enter download mode again (Vol+ & Vol-, connect phone to PC.......)
- this time in QFIL, browse in programmer path to "s60_stockFW_31.02" and select the programmer from there
- load XML's (the onces that belong to Stock31.02)
- start download... this will take a while !!!! BE PATIENT !!!!
- when QFIL status window shows finish download, push the reset button on the phone and let it reboot.
- it is normal, that the phone should restart itself 2, maximum 3 times at the first start, but sometimes it ends up in a bootloop (Cat Logo, reboot, CAT logo, reboot, etc, etc, .......)
(The bootloop mainly happens, if you clear, in twrp recovery, the whole OS, but that's no issue either...)
- if it ends up in a bootloop, no worries, just continue ! Believe me, i did the process now several times ! )
you are back on stock 31.02 !
-Power off your phone again
Updating to 032
- bring up minimal ADB sideload on your PC (start it, if not allready done in previous step (getting twrp)).
- press and hold POWER and VOL+ button on your phone - RECOVERY MODE -
- when in stock recovery select (with Volume keys) "adb sideload" and click the Powerbutton
- connect your phone to the PC
- on PC, type into the black ADB Terminal window "adb sideload update032.zip" and hit enter
- if drivers are there, phone will start downloading the update now.
- when complete, select clear cache, and clear data then reboot your phone.
- again, same as in the step (flashing stock), if bootloop, no worries, just continue, if it boots up, let it boot up and then..
you're on 032 now
- Power off the phone again
Updating to 033
- do the same steps as described under "Updating to 032" only difference, type in adb window " adb sideload update033.zip"
After updating to 033 your phone should boot up normally now, NO MORE BOOTLOOP !
getting twrp
- this is the same step as above "getting twrp" only difference, this time, no backup needed and...
- when in twrp-recovery, select "install" browse to your micro SD-card, and...
- install SuperSU.zip from SDcard.
- once more, clear cache and data and reboot.
The phone should boot up now, you should be on FW 033, with custom recovery and root !!!
That's all !!!
Would a TWRP or fastboot flashable stock recovery let us apply future OTA updates without wiping and starting from stock 031 if we're using systemless root like Magisk?
From stock recovery you can reboot to bootloader which puts us in fastboot (you can select boot mode with Vol +/-), so I'm thinking if we could boot TWRP from fastboot (without flashing, obviously), we could back up the stock recovery. Then when the next update comes around, we flash stock recovery back, apply the update, then reflash TWRP.
I tried fastboot boot recovery.img from update-twrp-recovery-nobootpatch but I got
FAILED (remote: unknown command)
and rebooting into recovery from there just got me stock recovery which makes sense.
QCN please
Hi guys, can anyone share me QCN backup of S60 because i've lost it! Thanks.
Last update for Android 6.0 was from 766 days ago.
Any suggestions on how to patch?
Thanks a million

Unbrick guide for Lenovo YT3-850F (Hardbrick Solution)

A bit of background: I got the tablet a day ago and successfully rooted and installed TWRP..... and then went ahead and installed the wrong firmware update and my device was totally useless. NO DISPLAY, NO RESPONSE WHEN THE POWER BUTTON OR ANY OTHER BUTTON WAS PRESSED. At first the tab didn't even get recognized as even a device by the PC. So all the signs of a total HARDBRICK
Caution: Before performing this keep your device connected to the wall for about 2 hours so that the battery charges a bit.
Now for the solution:
DOWNLOAD ALL FOLDERS FROM THE MEGA.nz LINK BEFORE PROCEEDING.
Step:1: Install all (.inf) files from the Drivers folder. (If any of the drivers don't install, then disable driver signature re-enforcement in Windows)
Step:2: Install QPST from QFIL folder.
Step:4: Navigate to C:\Program Files x86\Qualcomm\QPST\bin\ and open the program QFIL.exe
Step:5: Goto Control Panel and open Device Manager and expand the Ports tab and keep an eye on it.
Step:6: Make sure device is off by holding down the power key for about 10 seconds. While holding down vol up and down keys connect the USB cable to the tab and the PC and wait till the PC makes a device connection sound or the tablet pops up in Ports tab of Device Manager.
Step:7: Make sure the new port that pops up is a HS-USB QDloader 9008 (port X) Make note of the port number "X".
Step:8: The new port should also appear on top QFIL program. (make sure the port number matches)
Step:9: Select Flat Build; Press Browse on Programmer Path and point towards "prog_emmc_firehose_8909_ddr.mbn" in Firmware folder ; Press and point Load XML to "rawprogram0.xml" and then "patch0.xml".
Step:10: Finally take a deep breath and and press Download and keep an eye on the status area and wait for it to say "Successful flash" (or sth like that I forgot... lol) The flash should take about 5 minutes or so.
Step:11: Disconnect the USB port and then reconnect wait a while the screen should light up. Wait a few minutes and then press and hold the power button till the tab boots up.
And there you have it.
Credits:
P.S.: I know this sounds really stupid, but I was panicking while finding this solution and went through a lot of pages and stitched together this. As a result I do not remember who and who to thank. So please if anyone reading this finds that I am using something from you or copying your work please comment below I will add you to the credits list.
Link to THE DOWNLOAD FILES
Hope this helps I'm very new to this. So forgive any mistakes.
Mistake: 1: I posted this in the wrong section. Please follow THIS URL to goto the correct one.

[Guide][UnBrick] How to unbrick the Acer Liquid Z500

Hello, y'all,
... First of all, please read this whole post carefully, before starting to work on your phone! Thanks! ...
recently, I wanted to update the Android version of my old Z500 with the help of lineageOS and TWRP.
Please note, that I'm not at all an expert on this topic, and if I'm using specific terms like "bricked" or "APX mode" wrong, please forgive me.
So, on my device, I had the plan of installing Android 6.0 on this phone using TWRP and a copy of lineageOS.
However, the recovery partition turned out locked and I accidentally overwrote the boot partition with the twrp.img.
This is my first time doing this, ok, and I read on a oneplus forum, that the boot partition could also be used, blah, blah, blah, silly me.
Anyways, now my device wouldn't turn on. After a while charging, the display turned on, but there was always just the low battery screen. When I got to the "Boot Selector" holding the power and vol + button, selecting fastboot, recovery or normal boot just restarted the device.
Anyways, now what do you need to "unbrick" the device :
- A version of TWRP [dl.twrp.me/Z500/twrp-3.3.1-0-Z500.img.html]
- A version of your desired ROM, for me lineageOS [androidfilehost.com/?fid=889764386195903470]
- SmartPhone Flash Tool, for me v5.1912 worked like a charm [spflashtool.com/download/SP_Flash_Tool_v5.1912_Win.zip]
- A copy of the Firmware Acer_AV0K0_Z500_1.012.00_EMEA_GEN1 (... GEN1s for single SIM) [dl.dropboxusercontent.com/s/cin08ytkqmvr7c1/Acer_AV0K0_Z500_1.012.00_EMEA_GEN1.zip] (this was the hardest one to get because all the other downloads just included the .ispff dump file)
- A copy of the corresponding version of OpenGApps [opengapps.com]
- A copy of the MediaTek Driver Auto Installer (v5.1632.00; you know you have the right one when it resets the USB Ports in a CMD window at the end; INSTALL THIS FIRST) [mediafire.com/file/4ux1ytmzlxmpbjb/ROMProvider.COM_Driver_Auto_Installer_EXE_v5.1632.00.zip/file]
- A USB Charging Cable
- A PC
- Your Phone, obviously
Set up your PC :
1. Start by installing the MediaTek Driver Auto Installer. After that is finished, restart your PC.
2. Unzip the Firmware and the SmartPhone Flash Tool
3. Copy your ROM and OpenGApps on an SD Card.
Before you begin this operation, make sure you "get your device into APX mode".
Basically, it makes your device recognizable and flashable by the computer.
WARNING: DO THIS AT YOUR OWN RISK.
To do that follow these steps one after another :
- Plug your device into your wall power, NOT YOUR PC, and let it charge for about 30min, just in case. Turn it off if it's still on, although in my case, it turned off once I removed the charging cable.
- Remove the backplate of your device, unscrew the internal backplates 6 screws and carefully take the internal backplate off. If you're having trouble, just look for "Acer Z500 teardown" on YouTube.
- Carefully pull off the battery connector from the mainboard from up under. Be careful not to damage it!
- Once done, connect your device to your computer. You should now see the device as COM Connector in the Device Manager. If your device is disconnecting and connecting repeatedly, the driver must not be active. If you see no device connecting at all, remove it from your computer and after plugging it into the wall charger again, reconnect it to your PC.
- Once that's ok, disconnect the device again, and plug the battery back in.
- While disconnected, open up the SP Flash Tool, and under "Download", select the scatter .... .txt file from the Firmware Archive.
- Once that's done, all of the checkboxes in the ROM select should be active.
- Double Click on the Path of the "RECOVERY" row and select the TWRP.img. Then, change the mode from "Download only" to "Format All + Download" and hit the "Download" button.
- Plug your Z500 back in again, and you should see the flashing process starting.
- Once that's done, disconnect the phone and put the SD card with your ROM and OpenGApps in.
- Connect your phone to the wall charger again, and immediately hold the power and the vol + buttons down, till the Boot Options appear.
- Boot into recovery mode, and TWRP should start up. If it doesn't, reconnect your phone again and just let it boot for around 3min after terminating it by holding the power button and as soon as the screen goes black, also holding the vol + button. Once again select recovery mode, and now TWRP should defiantly show up.
- In TWRP, first, make a factory reset with the "WIPE" option. Then go to install and choose your SD card. First, install your ROM, then OpenGApps and reboot.
Now you should have a functioning Acer Z500 again!
Feel free to reply, if you have any questions!
Good luck,
Klydra.

Fix for bootloop with enablefilecrypto_failed after OTA upgrade to Android 10

On 3 separate Nokia 6.1 (2018) TA-1050 devices, after the OTA upgrade from Android 9 to Android 10 (using either the December 2019 Stable Android 10 Full OTA update with version number V4.10C, or using the May 2020 Full OTA update with version number V4.15C), I encountered a bootloop. Many users with Nokia devices for which Nokia released an OTA upgrade from Android 9 to Android 10 report the same:
After the OTA is applied, the phone restarts, the screen goes black, the phone restarts again, until finally the following screen is displayed:
(sorry for not posting a screenshot - as a new user I am apparently not allowed that privilege until I have made 10 posts, so I have to put in the literal text of the screen instead, using the color scheme of the real screen)
Android Recovery
nokia/plate2_00mm/PL2 sprout
10/QKQ1_190828.002/00ww_4_10C
user/release-keys
Use volume up/down and power.
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.
Try again
Factory data reset
Supported API: 3
Boot Reason: enablefilecrypto_failed
In the rest of this post I will refer to this screen as the enablefilecrypto_failed screen.
Note the numbers I indicated in bold in this screen, which indicate that the phone is attempting to start Android 10.
Even though I searched the Internet extensively for several months, I did not find a complete solution for this issue. After a lot of trial and error, I have found a working solution myself, which I am documenting here. The idea behind this procedure is to make sure that both slots in the phone get upgraded to Android 10, which the OTA, by design, does not do.
If you have a Nokia 6.1 or a similar Nokia phone (with A/B slots) with the symptom as described above, you are welcome to try this solution AT YOUR OWN RISK!
Please note that following this procedure will result in the complete erasure of all user data stored on the phone! Save whatever data you need on external storage!
Prerequisites
Android Platform Tools: ADB and Fastboot (download here)
The procedure does not require the phone to be unlocked or rooted.
Procedure
If you are on the enablefilecrypto_failed screen, follow these steps to try to boot your phone from the inactive slot, which should not have been touched:
a. First of all, just for good measure, select "Try again" with the volume keys, then press the power button. The phone will restart. If you get the same screen again, try it up to five times. Your phone should turn off completely after the third time. You can turn it on again to try a further few times.
b. Connect the phone to the computer using the USB cable. If the phone was off, the phone will turn on and show the battery charge screen.
c. From the battery charge screen, or the enablefilecrypto_failed screen, press and hold the volume down key (make sure you do not accidentally select "Factory data reset"), then press and hold the power key. Keep both pressed throughout the power up sequence. You will end up with a screen showing the android one logo and on top the words "Download mode". From now on we will refer to this screen as the bootloader screen.
d. Open a Command Prompt on the computer, and change the current directory of the command prompt to the folder in which the platform tools were installed.
e. Type in the following command, and at its end press the Enter key:
Code:
fastboot getvar current-slot
You will see either: current-slot: a or current-slot: b. On some phones, the slot character may be prefixed by an underscore (i.e. _a or _b). Write down the current slot.
f. We now want to make the inactive slot active. If the current slot was a (or _a), you want to type the following command (if the current slot was prefixed by an underscore, then also put an underscore before b in the following command), then press Enter:
Code:
fastboot --set-active=b
If the current slot was b (or _b), then type the command (if the current slot was prefixed by an underscore, then also put an underscore before a in the following command), then press Enter:
Code:
fastboot --set-active=a
You will see either Setting current slot to 'a' or Setting current slot to 'b', depending on which slot has been made active.
g. Now reboot the phone by typing the following command and pressing Enter:
Code:
fastboot reboot
h. Your phone may come up with the following screen:
Android Recovery
nokia/plate2_00mm/PL2 sprout
9/PPR1.186610.011/00ww_3_54P
user/release-keys
Use volume up/down and power.
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.
Try again
Factory data reset
Supported API: 3
Boot Reason: enablefilecrypto_failed
Note that this screen shows that the phone has switched to Android 9, as indicated by the numbers I placed in bold in the above screen.
If so, make sure "Try again" is selected, then press the power button. Your phone will restart and Android 9 will come up, which will give you the opportunity to back up your phone before proceeding.
Backup the phone
a. Make sure your contacts, calendar entries, etc., are completely synchronized with whatever cloud provider you are using (usually Google).
b. To backup Whatsapp messages, go into Whatsapp settings and perform a backup either to the cloud, or to phone memory.
c. To backup SMS and MMS messages, use an app like "Anything to SMS".
d. Connect the phone with the computer using a USB cable, and copy the entire contents of the phone memory to a new folder on the computer. Make sure this copy is complete, including the backups of Whatsapp, SMS messages, and any other app-specific data, as well as your documents, pictures and videos, and anything else you want to keep.
e. If your phone is rooted, you may want to additionally use Titanium Backup to make a complete backup of all apps and their data, and use a custom recovery like TWRP to make a NANDroid backup. Make sure these backups are moved off the phone, as you will be required to perform a complete "wipe" of the entire phone.
To make further troubleshooting easier, you may want to enable Developer Mode and USB Debugging:
a. Open Settings->About phone
b. Scroll down until Build number
c. Tap 7 times on Build number
d. When prompted, enter phone PIN or password
e. Exit Settings
f. Open Settings->System->Advanced->Developer options
g. Scroll down to USB debugging and turn it on
h. Exit Settings
i. If not prompted to allow USB debugging, disconnect and then reconnect the USB cable. You should see a prompt on your phone asking whether to allow USB debugging from a specific device (the computer the phone is connected to). You should answer affirmatively to this prompt.
Further preparations
a. If your phone is rooted, disable all apps that require root (for example the firewall), and completely uninstall Magisk, restart the phone when prompted.
b. Before continuing, either connect the phone to a charger, or make sure the phone is (almost) completely charged.
c. Open Settings->System->System update. Let the phone check for updates, download the update, follow the prompts, resume the upgrade it necessary, allow the system update to install, and, when prompted, restart the phone (even if you already did all of this in the past). Your phone will restart and return to the enablefilecrypto_failed screen. Before continuing with the next part, make sure the enablefilecrypto_failed screen shows the version numbers corresponding to Android 10 (as shown at the beginning of this post).
Booting into recovery from the enablefilecrypto_failed screen showing the version numbers corresponding to Android 10
a. If you have a custom recovery permanently installed, follow the next steps until you see the custom recovery screen.
b. If disconnected, connect the phone to the computer using the USB cable.
c. While making sure "Try again" is selected, press the power button.
d. The moment the phone restarts, press and hold the volume up key, then press and hold the power key. Keep both pressed throughout the power up sequence. If you have a custom recovery permanently installed, it should come up now. If you have the stock recovery, you will end up with a screen showing an android robot lying down on its back, with a red triangle over its open belly, and the words "no command" below it. To enter the stock recovery from this screen, hold the power key and tap the volume up key once. You will then see a screen with a larger menu (see below); this is the stock recovery screen. From now on we will refer to this screen as the stock recovery screen. If you end up again with the enablefilecrypto_failed screen instead, try the above steps again; the timing of step d is quite critical.
The stock recovery screen looks like this:
Android Recovery
nokia/plate2_00mm/PL2 sprout
10/QKQ1_190828.002/00ww_4_10C
user/release-keys
Use volume up/down and power.
Reboot system now
Reboot to bootloader
Apply update from ADB
Apply update from SD card
Wipe data/factory reset
Mount /system
View recovery logs
Run graphics test
Run locale test
Power off
Supported API: 3
Boot Reason: (null)
Using ADB to sideload the Full OTA upgrade from the stock recovery screen
Please note the links provided here are the official links to the Full OTA for the Nokia 6.1 (2018) "PL2_sprout". If you are attempting these steps on a different Nokia phone, you will have to find the correct links for the corresponding Full OTA upgrade. Do not use the links provided here.
a. Check the Android 10 version number in the stock recovery screen.
b. If the Android 10 version is 4_10C, then, on the computer, download the Full OTA upgrade from here: https://android.googleapis.com/pack.../c6260831df0acdfe9828f18bcea7ffb556f4b2e5.zip
If the Android 10 version number in the stock recovery screen is 4_15C, then download the Full OTA upgrade from here: https://android.googleapis.com/pack.../bb7fea8687fc11e36c298f2b8e49c0116a174e11.zip
c. If you have a custom recovery on your phone, now press the keys to start the ADB sideload.
d. If you have the stock recovery, on the phone, use the volume down key to move the selection to "Apply update from ADB" and press the power key to confirm the selection.
e. On the computer, open a Command Prompt, and change the current directory of the command prompt to the folder in which the platform tools were installed.
f. Type in the following command, replacing [complete path to filename] with the complete and exact path to the file downloaded in step b above, including the full name of the file itself, and at the end of the command press the Enter key:
Code:
adb sideload "[complete path to filename]"
The phone screen will show it is finding the package, opening the package, verifying the package, and then it will install the package in two steps: Step 1/2 and Step 2/2.
g. When the two steps have completed, you may see some error messages about the recovery log on the phone. You can safely ignore these errors.
h. The menu entry selected on the phone screen should now be "Reboot system now". Press the phone power button to restart the phone.
i. In some cases, the phone will now start normally into Android 10, with all data intact. If so, congratulations! You can skip the rest of this post.
j. In most cases, the phone will again show the enablefilecrypto_failed screen. You will want to select "Try again" with the volume keys and press the power button to try to start the phone normally again.
k. When you have tried this 5 times, you can assume it is not going to work. Select "Factory data reset" with the volume keys and press the power button.
l. The phone will prompt you with a warning "Wipe all user data? THIS CANNOT BE UNDONE!" Select "Factory data reset" with the volume keys, and press the power button.
m. The phone will now wipe all user data, and then turn off.
n. When the phone has turned off for a good while, press the power button (you may need to hold the power button a bit longer than usual). The Nokia logo should come up. The Nokia logo will stay on the screen for a relatively very long time. Your phone should eventually start the Android 10 startup sequence ("Welcome" etc.), in which you will be asked to set up your phone.
o. My recommendation is to connect the phone to WiFi and allow it to download and install all applicable OTA updates before you continue to set up the phone. These incremental OTA upgrades do not usually cause the issue we experienced with the Full OTA upgrade from Android 9 to Android 10.
Links to various sites, posts and blogs which I used to prepare the above:
Reddit describing the issue, with actual screenshots: https://www.reddit.com/r/AndroidPreviews/comments/f2uqz7/nokia_61_got_stuck_in_loop/
Another article describing the issue, with a simpler fix which works for some phones: https://www.techmesto.com/possible-fix-nokia-smartphone-stuck-on-download-mode-after-ota-update/
Article describing how to apply OTA using ADB Sideload, including links to official OTA downloads: https://www.the***********.com/nokia-6-1-plus-android-10-update/
Link to discussion on Nokia community which was the main inspiration for my above post: https://community.phones.nokia.com/discussion/comment/149245/#Comment_149245
Link to thread here on XDA Developers about what seems to be a similar issue with the Nokia 7.1: https://forum.xda-developers.com/nokia-7-1/help/android-10-bootloop-update-t4022893/page3
Link to official TWRP FAQ with explanation about ADB Sideload: https://twrp.me/FAQ/
Link to unofficial TWRP recovery which supports encryption on the Nokia 6.1 (2018) (useful only if the phone has an unlocked bootloader): https://forum.xda-developers.com/nokia-6-2018/development/unofficial-twrp-3-4-0-0-team-win-t4122949
Information about the install of Magisk: https://www.xda-developers.com/how-to-install-magisk/
Information about applying OTA updates with Magisk installed (this procedure does not seem to work for the Full OTA upgrade from Android 9 to Android 10, through no fault of Magisk): https://topjohnwu.github.io/Magisk/ota.html
I welcome any comments to this post.

Categories

Resources