How to unbrick Your phone, decrypt it, and flash everything right way

JurijTMC

New member
Jun 5, 2018
3
0
0
Okay, if Your device is bricked, decryption failed or 'Force Close' pops-up every second, You are in right place.

Because I'm not active here, just add those underlined words to bit(dot)ly/

1. Resources:
Rescue Package:
P2RescueXDA
OpenGapps:
GappsXDA
Magisk:
MagskXDA
ADB and Fastboot:
ADB_Fastboot_XDA
ABD and Fastboot Drivers:
MinimalADBXDA

Before You try to unbrick - install ADB + Fastboot Package and Minimal Drivers

2. Unbrick and install Stock Firmware
Go to Bootloader:
if You have TWRP use [Power] + [Vol-] + [Vol+] (Recovery) > Advanced > Terminal > 'reboot bootloader'
Plug Phone to PC and open CMD or PowerShell
run 'flashall - twrp.bat' and wait few minutes
Your device is now unbricked

3. If You've tried to fix something on Your own or want to do Super-Clean Flash
USB Debugging is need! If not activated, do it now!
In CMD/PowerShell type 'adb reboot bootloader'
type 'fastboot oem unlock'
I know, You for sure have already done this, but trust me and do it again
now type 'fastboot flash recovery [recovery.img]' and 'fastboot boot [recovery.img]' where [recovery.img] is path to Your recovery file

Your phone should automatically reboot to recovery.
check 'never show this message again' box and swipe right
[!!!] You are going to reboot to recovery a lot, don't ask - just do it!
after swiping right go to [Reboot] > [Recovery]
[Wipe] > [Factory Reset]
[Wipe] > [Advanced Wipe] > select [Data] > change Filesystem > F2FS
[Reboot] > [Recovery]
[Wipe] > [Advanced Wipe] > select [Data] > change Filesystem > EXT4
[Reboot] > [Recovery]
[Wipe] > [Format Data] > type 'yes' and press Enter on Phone keyboard
[Reboot] > [Recovery]
[Wipe] > [Advanced Wipe] > select [Data] > change Filesystem > EXT4
[Reboot] > [Recovery]
press 3 lines (bottom right, on nav bar)
check if there's no errors (red lines)
[Wipe] > [Advanced Wipe] > select [System] > Wipe (swipe right)
[Reboot] > [Recovery]

4. How to flash everything
Method 1: Using TWRP Install
Method 2: Using ADB Sideload (faster, because You don't copy zips to SD)
To use sideload, in TWRP press [Advanced] > [Sideload] and swipe right

First install ROM.zip and GAPPS.zip
After that, REBOOT to system and set everything up (google account, fingerprint, blah blah blah)
Go back to TWRP
NOW flash Magisk and other stuff such as custom boot animations and other flashable zip's

Happy modding, wiping and flashing, friends :D:D:D
 

bhupeshbb

Senior Member
Nov 27, 2016
68
3
0
my phone is stuck on lenovo logo...not getting into recovery mode...i tried P2RescueXDA but after successful completion it again get stuck on lenovo logo screen...not able to go to recovery...its just booting into bootloader...m helpless please suggest some solution...i also tried flashing stock by fastboot method by flashing system chunk 0-12 boot.img recovery.img & userdta.img still facing same issue....please help
 

JurijTMC

New member
Jun 5, 2018
3
0
0
my phone is stuck on lenovo logo...not getting into recovery mode...i tried P2RescueXDA but after successful completion it again get stuck on lenovo logo screen...not able to go to recovery...its just booting into bootloader...m helpless please suggest some solution...i also tried flashing stock by fastboot method by flashing system chunk 0-12 boot.img recovery.img & userdta.img still facing same issue....please help
Try 'fastboot oem unlock' in bootloader mode (forced wipe). If not working, try using first method and leaving phone in this loop for an hour - maybe it need time
 

bhupeshbb

Senior Member
Nov 27, 2016
68
3
0
Try 'fastboot oem unlock' in bootloader mode (forced wipe). If not working, try using first method and leaving phone in this loop for an hour - maybe it need time
so i will give fastboot oem unlock command and then method 1 right ? or i should do method 1 and then give command fastboot oem unlock ?
 

thanseermh

Member
Dec 16, 2014
28
0
0
fingerprint option is missing in security menu and fingerprint gestures stopped working. Any solution ?
How to check whether its fingerprint sensor hardware issue?
 
Our Apps
Get our official app!
The best way to access XDA on your phone
Nav Gestures
Add swipe gestures to any Android
One Handed Mode
Eases uses one hand with your phone