TWRP backup lost screen unlock pattern - LeEco Le Max 2 Questions & Answers

I rooted my x829 and flashed TWRP (v3.0.2-1) and Lineage 13.1. Since I want to try other ROMs to see if they can fix the fp sensor problem, I use TWRP to back up this ROM and wiped/reflashed other ROMs. Later I tried to restore this ROM, everything seems fine but the recovered ROM lost my unlock pattern. This prevented me from unlocking the screen. I have to wipe and flash the ROM again. When I back up, I selected system, data and boot. After I restore, I wiped cache and dalvik. Not sure what I did wrong. Anyone has idea or is it possible the TWRP has some bug related to backup/restore? Thanks a lot.

don't know the cause but it's easy to fix.
https://forum.xda-developers.com/showthread.php?p=71494297
Gesendet von meinem LEX820 mit Tapatalk

Related

[Q] Bootloop after flashing Stock - Nothing helped

Hello Community,
so this is not the first time that I am rooting / flashing a Galaxy GT-I**** Device. But this problem is someting bigger in my opinion because nothing helped.
Ok and now the Story:
The Galaxy S3 was on Android 4.1.2 (Germany Vodafone). I rooted the Device to flash Cyanogenmod. There was no problem.
But my brother doesn't want CM, so I decided to flash the newest Stock Rom (4.3 - Germany Vodafone). But then there was the bootloop. I have tried as many things as I can remind and find here at XDA.
First to flash the stock kernel and then flashing the stock rom
Then flash a recovery to format Data / System / Cache
After every flash i made a factory reset and format cache
Do u have an idea to solve that problem ?
Try 4.1.2 stock Rom post result need to wipe data n cache
Sent from my LT26i using Tapatalk
The problem is: if i want to flash 4.1.2, then odin has a problem with the sboot.bin
I have to reset the bootloader in order to flash a rom lower than 4.3 (read in XDA)
I tried a lot. 4.3 Stock, 4.1.2 Stock (sboot.bin failure), 4.3 pre-rooted rom .. nothing helped
Note: if the device is booting up, then there is the bootsound (startsound) with the samsung sound and samsung logo. But the sound is ending too quick, so the sound isn't playing to the end of it.
In recovery format system sdcard data and cache boot to download mode and flash stock rom .
If it fails try a CWM flashable stock based rom .
JJEgan said:
In recovery format system sdcard data and cache boot to download mode and flash stock rom .
If it fails try a CWM flashable stock based rom .
Click to expand...
Click to collapse
I will try it. Is there a chance to get the data on sdcard with adb? Because the usb-debugging is off because i flashed a new rom.
Gesendet von meinem Nexus 5 mit Tapatalk
Ok. I made a bootloader downgrade to flash an older firmware. This time I use a 3 parts firmware without branding and a PIT file to reset the galaxy phone completely
Edit:
Ok now the device is running. The only way to get out of the bootloop was: using a pit file.
Gesendet von meinem Nexus 5 mit Tapatalk

xperia p dead

while installing cm 12/custom ROM using twrp i wiped Data, Cache, Dalvik Cache and mistakenly wiped sdcard also in wipe system. so while installing cm12/rom i cant find any files . the problem is i reboot it to system and cant enter into recovery mode and phone is dead.what could be the solution for this (need help)?
Flash it again, With flashtool, Datacable and Computer. And reinstall twrp.
Gesendet von meinem LT22i mit Tapatalk
TWRP Img
Hey. Srr for off-topic, but as you said, do you have TWRP image/kernel for LT22i? please send it, I'm in a situation like you, but I have no TWRP image to flash.
starbird.64 said:
Hey. Srr for off-topic, but as you said, do you have TWRP image/kernel for LT22i? please send it, I'm in a situation like you, but I have no TWRP image to flash.
Click to expand...
Click to collapse
Search. For any kernl and recovery and flash them via fastboot

Guide me to Flash TWRP on MIUI 8.2.4 with unlocked bootloader

So my bootloader is unlocked and i wanna flash twrp but i have seen threads here that miui is encrypted by default and i need to format data in twrp in order to boot after i flash twrp. So, guide me what should i do as i dont wanna lose my apps and data after flashing twrp
Another question if i flash the older version of miui rom using mi flash tool, will it lock my bootloader back or not?
Hi,
You can easily backup your data & apps with this Miui feature:
Go settings-> additionnal settings-> Backup & reset
I don't think Miui is encrypted by default. Normally you can flash twrp without any lost..
tatouss said:
Hi,
You can easily backup your data & apps with this Miui feature:
Go settings-> additionnal settings-> Backup & reset
I don't think Miui is encrypted by default. Normally you can flash twrp without any lost..
Click to expand...
Click to collapse
Yes i can backup but i won't get the data of apps like game score etc with that backup, i guess
Btw is twrp 3.1.0 working fine with miui 8.2.4 ?
Yes it does. Just install TWRP, Boot into recovery (TWRP) and install LazyFlasher. Now you can boot to system. Voila!
Gesendet von meinem Redmi Note 4 mit Tapatalk
cy_coe said:
Yes it does. Just install TWRP, Boot into recovery (TWRP) and install LazyFlasher. Now you can boot to system. Voila!
Gesendet von meinem Redmi Note 4 mit Tapatalk
Click to expand...
Click to collapse
Already did it. Thanks
Btw i was not able to make a nandriod backup using twrp. It was showing some error at last and thus it failed
aaqib67 said:
Already did it. Thanks
Btw i was not able to make a nandriod backup using twrp. It was showing some error at last and thus it failed
Click to expand...
Click to collapse
Yep, it is a bug with TWRP.
You can't make an nandroid backup with the current twrp, just take efs backup, you're safe.
I made a backup with default settings (system, data and boot) without problems.
Before you make a backup switch off security pattern just in case...
Gesendet von meinem Redmi Note 4 mit Tapatalk
cy_coe said:
I made a backup with default settings (system, data and boot) without problems.
Before you make a backup switch off security pattern just in case...
Gesendet von meinem Redmi Note 4 mit Tapatalk
Click to expand...
Click to collapse
But you din't check all the options in backup like modem etc
and if by chance you phone will have problem u won't be able to restore it using your backup i think
sachin n said:
Yep, it is a bug with TWRP.
You can't make an nandroid backup with the current twrp, just take efs backup, you're safe.
Click to expand...
Click to collapse
I am not sure how efs backup works. I backed up my apps using titaium backup and in case my device won't bootup i will just flash fastboot rom and restore apps via titanium itself until the bug in twrp is fixed!
Thanks
aaqib67 said:
I am not sure how efs backup works. I backed up my apps using titaium backup and in case my device won't bootup i will just flash fastboot rom and restore apps via titanium itself until the bug in twrp is fixed!
Thanks
Click to expand...
Click to collapse
:good:
Check everything but bootloader. Should work.
Gesendet von meinem Redmi Note 4 mit Tapatalk
What xiomi mean by chinese sh!t language which translates to "DEVICE DOES NOT EXISTS"
You might get a proper answer if you ask reasonably.
Gesendet von meinem Redmi Note 4 mit Tapatalk

[Fixed] Encryption isn't working anymore

I finally managed to find a working fix for this issue after having found this post. The origin of the problem is TWRP:
gordonthegopher said:
Formatting /data in TWRP uses up all the blocks, but encryption from Lineage needs 16kb of free space at the end of the partition to store the headers.
Click to expand...
Click to collapse
Fix
You have at least two solutions to fix this issue:
Resize your /data partition to free up the needed space. Here and here are guides how to do it. I haven't give it a try, so I can't confirm it's working, but several other guys reported this fix working.
If you're not comfortable to resize your partition, you can use an old version of TWRP. Beginning with version 3.2.0.0 TWRP seems to use up all blocks for /data. So you need a version prior to this one. I've used TWRP 3.1.0.0, but 3.1.1.0 should also work. Step by step:
Download and flash TWRP 3.1.0.0.
Boot into recovery and do a factory reset: Main menu -> Wipe -> Format Data (confirm with "yes"). I also wiped Cache and System (Main menu -> Wipe -> Advanced Wipe).
If you're going to flash a Nougat based ROM you can stop reading and start flashing and encrypting
If you're going to flash an Oreo based ROM you now need to update your TWRP version as anything prior to 3.2.0.0 doesn't support flashing Android 8.1. The official TWPR version sucks because you won't be able to decrypt your phone when booting in recovery. I've used the TWRP provided in this post.
Install your preferred ROM and encrypt it.
I haven't tested it, but dirty flashing a ROM (without a factory reset) might also work. But this usually leads to some random ****ups.
Also the TWRP alternative "Orange Fox" was mentioned as a solution in this thread. I actually can't remember if I've used Orange Fox to factory reset my phone or if I've flashed it only after having performed a factory reset using TWRP. For me Orange Fox didn't work (= encryption didn't work). But you might give it a try...
Original post
Hi guys,
I'm kind of stuck right now because I cannot encrypt my phone anymore and I don't know why. I got my phone last year and installed LOS 14.1 right away. For security reasons I also encrypted it - without any issues whatsoever. When LOS 15.1 came out, I upgraded my phone, with encryption still working. A couple of days back for some reason I decided to do a factory reset. Obviously, the device wasn't encrypted anymore after the reset. I then installed the new nightly of LOS (20180807) and tried to encrypt my phone once again. When I select "Encrypt phone", I need to enter my PIN, the phone restarts and reboots without encryption being started.
What I've done so far:
I've flashed two different TWRP versions: 3.2.3.0 and a customized one (https://forum.xda-developers.com/re...other-development/rom-lineageos-15-0-t3690465).
I've clean installed different LOS versions (unofficial LOS 14.1 and LOS 15.1 starting from the 20180710 release)
I've clean installed Omnirom (current release and a release from 20180107).
I've even flashed MIUI 9 and reinstalled LOS thereafter because some guy in the above mentioned LOS thread wrote, that this did the trick for him.
I've disabled WI-FI and mobile data before trying to encrypt my phone, because I found a blog article stating that this might help.
Nothing helped. The phone just reboots and stays unencrypted.
Do you guys have any additional hints or ideas how I can manage to encrypt my phone once again? Could another TWRP version do the trick? Is TWRP even involved in any kind when it comes to encryption of the OS? Do you think another ROM could be helpful?
Click to expand...
Click to collapse
Try orangewolf recovery ....
Sent from my Redmi Note 4 using Tapatalk
I'm also having trouble with this. Many days ago, someone told they had successfully encrypted their phone. I tried to replicate what he did, got miui.eu and flashed LOS afterwards.
After tons of restarting, reflashing, all kind of stuff, the encryption still doesn't work. Pfff.
shakil002 said:
Try orangewolf recovery ....
Click to expand...
Click to collapse
Thanks for the advice. But I'm afraid it didn't help
CanBostanci said:
I'm also having trouble with this. Many days ago, someone told they had successfully encrypted their phone. I tried to replicate what he did, got miui.eu and flashed LOS afterwards.
After tons of restarting, reflashing, all kind of stuff, the encryption still doesn't work. Pfff.
Click to expand...
Click to collapse
That's the most ****ed up part. For some people it does work, for some not.
There surely must be some ridiculous small detail we're not getting. Like disabling WI-FI while Bluetooth is enabled.
Things I've also tried:
installed a new kernel: ElectraBlue (https://forum.xda-developers.com/re...rnel-electrablue-kernel-redmi-note-4-t3655651)
flashed an old LOS 14.1 with kernel 3.18.31 which I found here
used different screen lock types (PIN, password, pattern, swipe)
charged my battery up to 100%
reformatted my data partition with f2f
Of course, my device is still unencrypted...
Has anyone any idea why encryption might fail? I mean, it did work in the past with LOS 14.1. So why does it even fail with an old release of LOS 14.1? I don't do knowingly anything different to all the times I've successfully encrypted my phone in the past.
Does the factory reset still leave some files untouched?
parkbank said:
Things I've also tried:
installed a new kernel: ElectraBlue (https://forum.xda-developers.com/re...rnel-electrablue-kernel-redmi-note-4-t3655651)
flashed an old LOS 14.1 with kernel 3.18.31 which I found here
used different screen lock types (PIN, password, pattern, swipe)
charged my battery up to 100%
reformatted my data partition with f2f
Of course, my device is still unencrypted...
Has anyone any idea why encryption might fail? I mean, it did work in the past with LOS 14.1. So why does it even fail with an old release of LOS 14.1? I don't do knowingly anything different to all the times I've successfully encrypted my phone in the past.
Does the factory reset still leave some files untouched?
Click to expand...
Click to collapse
Mmm, maybe it's about the firmware? I was almost going to try lineageos 14.1...
CanBostanci said:
Mmm, maybe it's about the firmware? I was almost going to try lineageos 14.1...
Click to expand...
Click to collapse
Huh... I didn't even think about the firmware. That would explain why the one user who flashed MIUI before installing LOS could actually encrypt his phone. I'll definitely give it a try.
parkbank said:
Huh... I didn't even think about the firmware. That would explain why the one user who flashed MIUI before installing LOS could actually encrypt his phone. I'll definitely give it a try.
Click to expand...
Click to collapse
I'm looking forward to hear the results. I'm about to become insane because of this encryption issue.
I've flashed both the dev and stable firmware found in this thread. No success
By flashing I mean factory reset, flashing the firmware and then installing LOS. I noticed, that flashing a new firmware while a ROM is still installed leads to some random ****ups.
After a couple of days of flashing, factory resetting, re-flashing, reading and a lot of cursing I finally found a working solution. I've added the fix to my initial post. Hopefully this helps
I was looking for solutions for quite a while and nothing else worked but did this and my device is encrypted again.
Thank you!
parkbank said:
I finally managed to find a working fix for this issue after having found this post. The origin of the problem is TWRP:
Fix
You have at least two solutions to fix this issue:
Resize your /data partition to free up the needed space. Here and here are guides how to do it. I haven't give it a try, so I can't confirm it's working, but several other guys reported this fix working.
If you're not comfortable to resize your partition, you can use an old version of TWRP. Beginning with version 3.2.0.0 TWRP seems to use up all blocks for /data. So you need a version prior to this one. I've used TWRP 3.1.0.0, but 3.1.1.0 should also work. Step by step:
Download and flash TWRP 3.1.0.0.
Boot into recovery and do a factory reset: Main menu -> Wipe -> Format Data (confirm with "yes"). I also wiped Cache and System (Main menu -> Wipe -> Advanced Wipe).
If you're going to flash a Nougat based ROM you can stop reading and start flashing and encrypting
If you're going to flash an Oreo based ROM you now need to update your TWRP version as anything prior to 3.2.0.0 doesn't support flashing Android 8.1. The official TWPR version sucks because you won't be able to decrypt your phone when booting in recovery. I've used the TWRP provided in this post.
Install your preferred ROM and encrypt it.
I haven't tested it, but dirty flashing a ROM (without a factory reset) might also work. But this usually leads to some random ****ups.
Also the TWRP alternative "Orange Fox" was mentioned as a solution in this thread. I actually can't remember if I've used Orange Fox to factory reset my phone or if I've flashed it only after having performed a factory reset using TWRP. For me Orange Fox didn't work (= encryption didn't work). But you might give it a try...
Original post
Click to expand...
Click to collapse
You have save my day "my MIDO" hehehehe
After the 1st PIE Rom the encryption was broken.
Your Step by Step save this and now Syberia 9 was able to encrypt with success :good:
Thank you one more time for sharing.
Thx!
---------- Post added at 07:22 PM ---------- Previous post was at 07:20 PM ----------
Orangefox worked
is there any plan to fix twrp itself?? thx
Thank you. It worked for me to get Havoc OS 9.0 with hardware encryption on my Redmi Note 3 SE.
I bypassed unlocking the bootloader by doing this. Then I installed TWRP 3.1.0.0 from the recovery, did the reset and everything as instructed here, updated it to 3.3.1.0, rebooted, then flashed the Pie ROM and latest gapps without any further wiping.
I use the first link, I've modified the partition size -> did the trick wihtout formating nor loosing datas
Great, thank-You.
Hi, I want to ask, what is this encryption features you been using? can u tell me?

Gyro not working after unidentified system crash

My wife's poco went to a bootloop after normal day of operations. First WhatsApp stopped working, after she tried to reset the system it never booted again.
Phone full stock, never before unlocked. Without SD card.
After that I did a factory reset. Seemed fine. After that a newest OTA update. Went smooth.
Since then the gyroscope is not working and the camera is taking long to launch
After googling away for 2 hours I figured it may be something with corrupted persist position, which is not easy if not impossible to flash. Miflash won't write it in either normal not edl.
Twrp s function to install IMG has only 4 position options not including persist.
One custom mi8 twrp has an option to write persist position but I hesitated to do it since it's not for Poco and I fear I may brick the phone.
Any help would be great
Gesendet von meinem POCOPHONE F1 mit Tapatalk
If you have TWRP installed all you need to do is flash something in where you lose TWRP then go in to stock recovery and do a complete wipe then open rom as normal and set up for developers option the boot it to download mode and flash your custom recovery as needed......

Categories

Resources