Rooting After Enabling Encryption - Sprint Galaxy S 5 Q&A, Help & Troubleshooting

I made the mistake of enabling encrption before rooting my new gs5. After rooting with chainfire and installing twrp my phone wouldnt boot. It would prompt for the decrypt key and then go to a black screen. I also tried to format the data partition inside of twrp, and although it said it worked I still got prompted to enter my decryption key at boot time. My guess is that TWRP was not actually formating the userdata partition.
When I eventually did was enter the following command into the terminal app inside of TWRP:
mke2fs -t ext4 -L data /dev/block/mmcblk0p26 11901935
*PLEASE NOTE: The 11901935 number is specific to the 16GB Sprint GS5. If you have a 32GB version you will want a different number.
*ADDITIONAL NOTE: Although the system runs I am still unable to encrypt the device.
Resources:
format howto:
http://www.bauer-power.net/2014/02/how-to-remove-encryption-on-your.html#.U2Rv13VdW3I
http://forum.cyanogenmod.com/topic/82292-cm102-encryption-does-not-start-stuck-at-splash-screen/
partition table for g900p:
http://forum.xda-developers.com/showthread.php?t=2725978
PS: Some posts on this subject suggest that the "11901935" value might need to be 16 fiddled with a little. If you are unable to encrypt your phone afterwards you might need to re-run the above command and subtract 16 or so from the above number.

Getting Encryption Back after enabling root
After I rooted I was completely unable to encrypt my phone. This is a pain, because I encryption is a big must. Whenever I would try to initiate the encryption process the android wireframe guy would appear for a second and then the screen would go black and unresponsive. Holding down the power button wouldn't do anything. The only way to reboot was for me to remove the battery and reboot. I found several posts about other phones where people were having the same issue, and I was eventually able to piece together a little how-to guide.
The trick for me was to combine several of these posts into something that works.
Instructions:
1.) Temporarily disable any SU software (Super SU etc)
2. ) Reboot phone into "Safe Mode":
Turn the phone off completely. Press and hold the power button until the screen comes on. As soon as the screen comes on release the power button and press/hold "volume down". Continue holding the volume down button until the phone is done booting. Once the boot process is complete there should be a little "SAFE MODE" logo in the lower left hand corner of the screen.
3.) Make sure device is plugged in to charger
4.) Encrypt Device:
Do NOT SELECT "Fast Encryption"
5.) Encrypt phone:
Once you start encrypting the phone it will immediately restart the phone and then the android wireframe logo should appear and a progress indicator will also be present.
​
PS, for some reason this makes SuperSU non functional.

Related

samsung galaxy s plus (i9001)

i m here to solve any problem regrading samsung galaxy s plus (i9001)
:angel:
complete basic information u should knw before doing anything to u device!!!!!!!!!
Download mode
Download mode is used to flash new ROM or custom ROM firmware. (See Flashing)
To enter download mode, turn off the phone and then hold down Volume Down + Home + Power.
If done properly within at least 8 seconds will reboot the phone.
If you can't enter the download mode your phone might be Soft-Bricked.
recovery mode
Recovery mode is used to install system updates in form of update.zip files (such as the one for rooting your phone), performing a factory reset and wiping the cache.
"Android out of the box" icon indicating successfully booted recovery mode
To enter recovery mode, turn off the phone, connect the USB cable, and then hold down Volume Up + Power.
If done properly, the phone will show the SAMSUNG and Galaxy S Plus screens and then end up at the "Android out of the box screen". Now press Menu to enter recovery mode.
The options for actually performing recovery when something is wrong with your phone are very limited with the stock recovery that comes preinstalled on your phone. However, you have the option to replace it with a much better, fully-featured recovery called "ClockworkMod Recovery" (CWM).
Getting into recovery mode can be a bit fiddly and you might need several tries. Connecting the USB cable makes it a lot easier. CWM recovery does not have this problem and boots reliably. If you are still having problems getting into recovery mode, download Easy Reboot Recovery.zip, unpack and run RebootRecovery.bat while your phone is connected with the USB cable. The phone will reboot into recovery mode.
Navigation in recovery mode is done using the Volume Up and Volume Down buttons to scroll up and down in lists and the Home button for choosing an item. Sometimes a simple push of the Home button is interpreted as two pushes so be careful.
Recovery mode is a separate partition on your device (#13) that holds its own minimal Android system with a kernel and a small set of tools.
rooting
Rooting allows apps to act as administrator of your phone (called "root") and perform modifications on anything. This allows you to use backup apps that can backup all apps including their data on your phone, firewall apps that control internet access for other apps, adblockers which block ads on webpages and inside apps and much much more. You control which apps you want to grant the root privilege to with an app called "Superuser". Please inform yourself on responsible use of root privileges and do not grant unknown or suspicious apps root rights.
All Custom ROMs, CyanogenMod-based ROMs etc. come pre-rooted. The rooting procedure is only necessary if you are using a stock Samsung ROM.
how to root
Easy rooting and unrooting guide by KeksKlip: http://forum.xda-developers.com/showthread.php?t=1253707
Put Root-i9001-Signed.zip into internal sdcard
Reboot into recovery mode by turning on the phone while pressing Volume Up and Power Button
As soon as the "Android out of the Box" appears, press the Menu button
Use Volume buttons to choose "apply update from sdcard" in the recovery menu.
Press Home button to submit.
Use Volume buttons to choose Root-i9001-Signed.zip on sdcard
Press Home button to start update.
Choose "reboot system now" and press Home button to reboot your phone.
Unrooting is exactly the same, except with the file UnRoot-i9001-Signed.zip
hit thanks if i helped !!!
You should just delete this thread. There is a better thread in I9001 stickies. Seeing by your post count and also this 'copied' post, you will end up putting people in trouble rather than helping them.
___________________________
Hit the thanks button,
show some appreciation.
Help Help Help!!!
I have a new SGS, and I have connected to my wifi, and the internet seems to be working fine. I can access the Market, and can select to download apps, but it stays on "starting download" and it has been happening for such a long time.
I have turned the phone on and off.
I am on Google Talk.
I get update alerts my net works fine tooo..
No solution on google either..
hemdevashiwn said:
I have a new SGS, and I have connected to my wifi, and the internet seems to be working fine. I can access the Market, and can select to download apps, but it stays on "starting download" and it has been happening for such a long time.
I have turned the phone on and off.
I am on Google Talk.
I get update alerts my net works fine tooo..
No solution on google either..
Click to expand...
Click to collapse
Clear Google play store and Google services framework data. Reboot ur phone and it should work.
Hit the thanks button
Sent from my GT-I9001 using xda premium

[Q] Unable to Encrypt TF700 with Cromi-X 5.2a

I am trying to encrypt my device (to satisfy BYOD rules for my employer) and have not been able to get it to work.
I have setup a PIN and followed the following with my device fully charged and plugged in.
1. Select encrypt from Security
2. Click the encrypt button at the bottom
3. Enter my PIN
4. From the follow up encrypt screen I click the encrypt button at the bottom again
5. Tablet reboots by itself
6. I am presented with a Android logo (robot with gears in the middle) for about a minute
7. Tablet then reboots by itself back to the system
8. I check the encrypt setting in Security and it looks exactly the same as before (like my device is not encrypted)
I do not receive any error message
I've tried this with and without my SD card in place.
I've tried this in the keyboard and out of the dock.
It's the same result every time.
I am running Cromi-x 5.2a (just installed over the Thanksgiving weekend) and have done some tweaks with Pimp my Rom.
Appreciate any suggestions as to why my device will not encrypt, or throw any error messages.
Additional testing
OK, did some additional testing.
After the above steps failed, I did another factory reset and wipe of my device (Asus tf700) and then executed the following:
1. After the reset/wipe I flashed Cromi-X 5.2a (US build with _that kernel v6)
2. I then set my PIN (4 numbers because I'm lazy)
3. I then selected Encrypt from the Security menu and selected the Encrypt button
4. My PIN was successfully entered
5. On the second encrypt screen I selected the encrypt button
As before my device rebooted by itself, and also as before I got a screen with just the green android robot with gears in the middle
Also as before, After a very short period of time (a few minutes at most) the tablet rebooted itself.
This time however, I got a different response. Instead of booting all the way through to the lock screen. The system just hangs at the Cromi-X boot screen (spinning circle).
I even let it sit all night thinking it was "encrypting", but nope came up in the morning and it was still just sitting there.
One more item to note, this time when I went to reset/wipe my device I did get a message in TWRP that my device was encrypted. I had to enter my PIN in order to wipe/reset the device.
So while it won't boot, some sort of encryption happened.
HELP!!??
Same...
Same thing happens to me, after I press the encrypt button the Android guy with gears appears and it seems that it is an app. Then the tablet force shutdown itself (because it never takes that fast) and reboots...
everything is same, except I'm running Cromi-x 5.4 and not 5.2a.

[Q] Forgot Password pattern of Moto g 4.4.2 without setting up of gmail id

Forgot password pattern without setting up of gmail id?
Please help it's only one day old mobile ? How to recover without gmail ?
vids107 said:
Forgot password pattern without setting up of gmail id?
Please help it's only one day old mobile ? How to recover without gmail ?
Click to expand...
Click to collapse
1. You first have to power off
your Android smartphone. In
order to do that, press the
power button and select
“power off”.
2. Wait a few seconds and then
press the volume up and
volume down buttons along
with the power button at the
same time for about 3, or 4
seconds.
3. Release the buttons; the
Moto G boot menu must be
now displayed on your
phone.
4. Use the Volume Down button
in order to scroll down and
also up as the Volume Up
button can be used only for
selecting an option.
5. Scroll down until you reach
“recovery” and the press the
Volume Up button once.
6. The android logo will now be
displayed on your phone.
7. Hold down Volume Up and
Volume Down buttons for
about 5 seconds and press
power button once.
8. The recovery mode menu
should now be displayed.
9. That was all; you can now
choose wipe data/factory rest to hard reset your
Moto G
and then choose reboot system now
thats it ur mob will become like new mobile
Is there a way to access the data on the device without getting past the lock screen? Since it isn't encrypted I'm wondering how easy it would be to get a backup of your data and apps before you do the reset.
DarkDarth said:
Is there a way to access the data on the device without getting past the lock screen? Since it isn't encrypted I'm wondering how easy it would be to get a backup of your data and apps before you do the reset.
Click to expand...
Click to collapse
read well and try it
Steps On Bypassing or Unlocking
Pattern Lock or Password on Android
Devices Without Losing Data
Now, before you take any action on
your device, make sure you know it well
Requirement For a Successfully
Operation
1. Aroma File Manager 1.80 which
you can download from https://code.google.com/p/rom-cmexmini/downloads/detail?name=aromafm-1.80.zip&can=2&q=
2. Your Locked android device
either locked by pattern lock or
password
3. A Memory card( the memory
card of the android device)
You will be surprised that we don’t
need a computer, that the awesome
thing about this method of unlocking
password and pattern locks.
To the main business proper, how to
unlock the pattern lock or password,
please follow the steps
Step 1
Once you have download the Aroma
file manager , move it to the memory
card and insert the memory card to
the android device
Step 2
Open your stock recovery and
different device has there own way of
entering stock recovery, so I advise
you Google it out along with your
android device name. Once you have
it, enter into stock recovery which is
a black interface
Step 3
once you are there, use your volume
+ and volume – to scroll up and
down and use the middle button to
select
Step 4
Now Mount and storage>> Mount
Everything>> Mount System>> Mount
data>>Mount afs>>Mount
Preload>>Mount SDcard>> Mount
ExternalSD>> go back>> Install zip
from SDcard>>Choose zip from
external SDcard
Step 5
The find the Aroma File manager you
download into the sdcard and select
and select “Yes Install Aroma file
manager” then it will load and the
file manager will open in the recovery
mode
Step 6
In the aroma file manager, go to
Settings and Go to bottom n select
“Automount all device on start ”
which is the second to last option
and then exit from aroma file manger.
Step 7
perform step 5 again and the Aroma
file manager will update and open
again
Step 8
go to the Data Folder>>>then System
folder and find the gesture.key if it is
password lock that locked your
phone or password.key if it was a
password lock and press the file for
long and the option to delete the file
will pop up and delete it
Step 9
Exit the aroma file manager and
restart to the normal interface and
when the device has finished restart
you will still find the pattern lock or
password there but you are to use
any pattern lock or password and it
will accept and your device is
unlocked but note the pattern you
use and password.
anandrd said:
1. You first have to power off
your Android smartphone. In
order to do that, press the
power button and select
“power off”.
2. Wait a few seconds and then
press the volume up and
volume down buttons along
with the power button at the
same time for about 3, or 4
seconds.
3. Release the buttons; the
Moto G boot menu must be
now displayed on your
phone.
4. Use the Volume Down button
in order to scroll down and
also up as the Volume Up
button can be used only for
selecting an option.
5. Scroll down until you reach
“recovery” and the press the
Volume Up button once.
When I select 'recovery' and press vol up, nothing happens, no android logo, the screen just goes black and the phone is still powered off. I'm trying to factory reset to get rid of a screenlock pin that I forgot. I have tried pressing 'factory' and it doesn't get rid of the screenlock pin... The phone seems to reboot, but the stupid pin screen is still there. Anything else I can try?
6. The android logo will now be
displayed on your phone.
7. Hold down Volume Up and
Volume Down buttons for
about 5 seconds and press
power button once.
8. The recovery mode menu
should now be displayed.
9. That was all; you can now
choose wipe data/factory rest to hard reset your
Moto G
and then choose reboot system now
thats it ur mob will become like new mobile
Click to expand...
Click to collapse
When I select 'recovery' and press vol up, nothing happens, no android logo, the screen just goes black and the phone is still powered off. I'm trying to factory reset to get rid of a screenlock pin that I forgot. I have tried pressing 'factory' and it doesn't get rid of the screenlock pin... The phone seems to reboot, but the stupid pin screen is still there. Anything else I can try?
---------- Post added at 11:47 PM ---------- Previous post was at 10:51 PM ----------
I finally was able to get rid of the screen lock pin by using this info:
External Reset
If you are unable to access the phone's menu to perform the standard reset you can attempt an external factory reset.
Notes:
When using this feature; everything is deleted from the device.
Reset will require a minimum battery level of 25%. If you are unable to perform a reset, please charge for 20-30 minutes and try reset again.
1. With the phone powered off, press the VOL DOWN KEY for 2-3 seconds then POWER key then release.
2. The device will display different BOOT OPTIONS
3. Use the VOL DOWN Key to SCROLL to Recovery and VOL UP Key to select
Tip: If the device reboots, you may have waited to long to make a selection, you will need to begin the process again.
4. The device will display the Motorola logo and then the Android in distress ( logo with Exclamation mark)
5. Press and hold the VOL UP key for 10-15 seconds. While still holding the VOL UP key tap and release the POWER key
Tip: You can try this step, holding the phone in landscape. If you are stuck on step 6, try a force reboot by pressing the Power key and Vol Down key, and start the process again.
6. The device will display additional menu options (Text will appear in BLUE)
7. Use the VOL DOWN Key to scroll to Wipe data / factory reset and the POWER Key to select this option
8. Use the VOL DOWN key again to select YES - delete all user data and press the POWER key to CONFIRM
9. Once the Formatting is complete, press the POWER key to confirm a REBOOT
10. The device will reboot and start the normal power up sequence
Moto g4 plus not accepting Gmail address used to sync device
I managed to factory reset my Moto g4 plus phone...but after rebooting the phone and trying to set up the phone again, it did not accept the Gmail address which I had used to sync the device earlier...is there any way to bypass this requirement so that I can start using the phone again ?

How to Root s920t on a mac, without installing windows?

I have been derailing the internet trying to figure out some way to root my device with and without usb connecting it to my mac. Frankly, as far as I can tell my mac and my phone won't support mass storage of android so odin etc seems out of the question. I just want to find a way to get my phone rooted (tried kingroot and it asked for computer and I've a mac so there you have it). Please if anyone could help me find a simple, maybe even complicated way to root my s6 (it's updated fully).
Define without USB? Like no OTG USB Storage or no USB cable? If that's the case then you're asking how to root the device without a computer which afaik with Samsung isn't an easy deed (perhaps not possible).
-------------------------------------------------------------------------------------------------
Firstly, you do this at your own risk. Js.
However.. If you can get it up and going on your Mac then try out Heimdall (the Mac/Linux Odin alternative some whiz managed to reverse engineer).
P.S. I have Linux but I've seen Heimdall is available on Mac, unfortunately I can't step you through installation.
https://forum.xda-developers.com/showthread.php?t=2118100
Go to the TWRP.ME site and locate your device and download the latest TWRP image (should be 3.1.1.0)
https://dl.twrp.me/zerofltetmo/
Download dm-verity encryption disabler (without this, it's likely things won't go as planned, it ensures you haven't modified system files etc)
https://androidfilebox.com/miscellaneous/dm-verity-and-forced-encryption-disabler/
Choose a Root method (personally I prefer Magisk but for a first time superuser provider I would recommend SuperSu:
https://download.chainfire.eu/1114/SuperSU/SR1-SuperSU-v2.82-SR1-20170608224931.zip
[ PLACE PHONE IN DOWNLOAD MODE: Hold VOL-DOWN + HOME + LOCK, then press VOL-UP ]
1. Go to Utilities Tab
2. Click Detect Device; if it is not detected you have a problem (find fix then go to Step 3)
3. Output reads Device detected; beneath Download PIT save the file somewhere (e.g. Documents/s6.pit)
4. Go to Flash Tab
5. Beneath Options > PIT, browse for the .pit file you saved in Step 3
6. On the right hand side, beneath Partitions (Files) click > Add, on the left change the partition name to Recovery (where it will ask for a recovery.img file)
--- READ STEPS 7-9 BEFORE YOU DO THEM ---
7. Select the TWRP.img you downloaded earlier
8. Click Start, pick your phone up (be careful not to disconnect it)
9. AS SOON AS THE SCREEN GOES BLACK, HOLD: VOL-UP + HOME + LOCK
--- READ STEPS 7-9 BEFORE YOU DO THEM ---
10. If done correctly (and your bootloader is unlocked, and your RA lock is disabled) you will be in TWRP Recovery. Swipe to allow system modifications (you can always come back here later, you asked for Root so this will suffice).
11. Use Finder (File Browser) to navigate onto the phone from your Mac and copy SuperSU and no-verity onto the Internal Storage
12. From TWRP (on the phone) tap on the Install tab and if you aren't able to see the two .zip files you copied over, you're probably in the / directory; navigate to /sdcard
13. Tap on the no-verity.zip first, continue through, don't worry about using multiple .zips just install and go back when it is complete
14. Tap on the SuperSU.zip. Continue through, same as previous step, this time backing out to the TWRP menu and tap on the Reboot Tab > Choose System
15. If prompted to install anything (TWRP) untick the boxes and tap do not install.
16. Your device should be rooted. Don't turn the phone off, don't panic. SuperSU can cause the first one or so boots to end prematurely and the device will reboot (don't be alarmed if it cuts out).
Note:
On the odd chance that your device is stuck in a bootloop or you are worried about 'bricking' the phone, the only way that can happen (afaik) is if you disconnect during important installations such as during the Odin/Heimdall flash process or TWRP (under certain circumstances, even during Odin/Heimdall you can normally pull through). Otherwise, you'll just end up with a soft-brick (99.9% of the time this is the only thing that happens)
glgl

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