Continuos "persist" partition problem - Xiaomi Mi 8 Guides, News, & Discussion

Hi to all, I wrote here after trying everything from a long time. I explain better :
Sometimes, randomly, my phone mess up with the various application and give me some heavy lag and freeze, he remove some of my personal data (sometimes whatsapp files, sometimes other files, randomly) after that it stuck with a black screen or some similar and if I try to restart he stuck at the boot logo. The first time that this happened I spent a lot of time for understand what was to do this problem and after some trying I noted that this problem coincided with an error in twrp about the "persist partition" (something like unable to mount or read persist partition). So searching around the various forum I understand that I have to flash a "partition.img" for resolve the problem and that is what I do. It apparently solved the problem but my phone continue randomly to make this problem, It seems that the more time passes, the more often it will do this problem. I read that can be a memory chip problem and than the only solution is to send to the assistance and make them to resolve this. Someone of you have the same problem ? And how you managed to solve this ?

aSaro12 said:
Hi to all, I wrote here after trying everything from a long time. I explain better :
Sometimes, randomly, my phone mess up with the various application and give me some heavy lag and freeze, he remove some of my personal data (sometimes whatsapp files, sometimes other files, randomly) after that it stuck with a black screen or some similar and if I try to restart he stuck at the boot logo. The first time that this happened I spent a lot of time for understand what was to do this problem and after some trying I noted that this problem coincided with an error in twrp about the "persist partition" (something like unable to mount or read persist partition). So searching around the various forum I understand that I have to flash a "partition.img" for resolve the problem and that is what I do. It apparently solved the problem but my phone continue randomly to make this problem, It seems that the more time passes, the more often it will do this problem. I read that can be a memory chip problem and than the only solution is to send to the assistance and make them to resolve this. Someone of you have the same problem ? And how you managed to solve this ?
Click to expand...
Click to collapse
Resolving Persist Issues
I have through instructions within these 2 posts, I have experienced this issue and have assisted numerous people with persist issues on XDA these solutions work.
https://forum.xda-developers.com/showpost.php?p=80544709&postcount=21
https://forum.xda-developers.com/showpost.php?p=80394181&postcount=15

your problem is similar to k20 pro problem that i had as well as so many other users.
looks like you did install FDE through magisk and it messed up your phone perminently
we've been trying to figure out a fix for the lag and freeze and wiping of the memory but its been almost 3 months without any fix.
so most likely it is unfixable
don't try to mess up anything and just send your phone to service center they will replace the motherboard . its the only available fix at the moment

I got this problem sometime when using MIUI 10, I didn't see that issue for 2 weeks after updated to MIUI 11.

Persist Issue Solution
sar78mad said:
your problem is similar to k20 pro problem that i had as well as so many other users.
looks like you did install FDE through magisk and it messed up your phone permanently
we've been trying to figure out a fix for the lag and freeze and wiping of the memory but its been almost 3 months without any fix.
so most likely it is unfixable
don't try to mess up anything and just send your phone to service center they will replace the motherboard . its the only available fix at the moment
Click to expand...
Click to collapse
It's not unfixable, it can be resolved by at least 4 different methods.
I have explained how to permanently resolve this issue with extensive instructions on at least 20 to 30 threads. Including the one above. And here: https://forum.xda-developers.com/showpost.php?p=79824537&postcount=2
As you can see, wasted time with no thanks given.
This issue is cause by encryption, that all there is no damage whatsoever. If you saved a Twrp backup the issue can be resolved in 2 seconds by restoring persist images.
It can also be resolved by flashing persist images from a dipper images rom, then immediately signing into your MiCloud account or by flashing a fastboot rom with XiaoMiFlash ( making sure to unclick relock bootloader) then boot and sign into MiCloud.
Another way is download all the required Dipper images Rom here :
Fastboot Rom Link : dipper_global_images_9.6.27_20190627.0000.00_9.0_global_30e0fc22ef.tgz
Filesize 2.43G
Download and unpack rom from the link above , as I mentioned on the link above, unpack twice to the desktop, ( the first time decompresses into a larger rom that also needs unpacking)
Open extracted images folder and look for “persist.img” file (it should be located in “Image” folder , see my attached screen, I keep these ready if ever needed).
Copy “persist.img” file to “/sdcard/persist.img”.
Boot into TWRP, go to Advanced/Terminal
In the terminal type the following command to convert the .img file from “sparse” to “raw” format.
PHP:
simg2img /sdcard/persist.img /sdcard/persist_EXT4.img
After it’s completed, type the following command in the terminal:
PHP:
dd if=/sdcard/persist_EXT4.img of=/dev/block/bootdevice/by-name/persist
After the flashing is completed, you can reboot into the system and start using your phone.
The next method is posted above, its an older method that uses the Kitchen app
Ideally you want the base firmware to be the same as the rom. but its not absolutely necessary, once you have flashed the persist image, immediately install a Miui Rom and sign into your account, once you are on the main desktop, reboot to Twrp and make a full backup, then copy it to your PC.
Make sure that the backup includes the persist images, modem, efs etc. As I said a full backup.
This backup will give you the peace of mind knowing, that you will never need to repeat the steps above again.

tsongming said:
Resolving Persist Issues
I have through instructions within these 2 posts, I have experienced this issue and have assisted numerous people with persist issues on XDA these solutions work.
https://forum.xda-developers.com/showpost.php?p=80544709&postcount=21
https://forum.xda-developers.com/showpost.php?p=80394181&postcount=15
Click to expand...
Click to collapse
I've seen many Xiaomi EU users facing this problem. Do you know why? After they fix persist partion, it doesn't stay for long. After few days, it again gets deleted.

alone_in_dark said:
I've seen many Xiaomi EU users facing this problem. Do you know why? After they fix persist partion, it doesn't stay for long. After few days, it again gets deleted.
Click to expand...
Click to collapse
I think it's related to dm-verity and magisk updates. I plan to make a post about it after I have researched it further and can provide sourced proof.

tsongming said:
I think it's related to dm-verity and magisk updates. I plan to make a post about it after I have researched it further and can provide sourced proof.
Click to expand...
Click to collapse
Well there are around 60 k20 pro users who got their phones useless after installing an old version of FDE (a magisk module), and no , just flashing persist wont fix the problem, so feel free to try to help us find a fix by joining to our telegram group and im sure that all 60 users will donate you alot of money if you find a permanent fix
link to telegram group : https://t.me/whateverk20pro

aSaro12 said:
Hi to all, I wrote here after trying everything from a long time. I explain better :
Sometimes, randomly, my phone mess up with the various application and give me some heavy lag and freeze, he remove some of my personal data (sometimes whatsapp files, sometimes other files, randomly) after that it stuck with a black screen or some similar and if I try to restart he stuck at the boot logo. The first time that this happened I spent a lot of time for understand what was to do this problem and after some trying I noted that this problem coincided with an error in twrp about the "persist partition" (something like unable to mount or read persist partition). So searching around the various forum I understand that I have to flash a "partition.img" for resolve the problem and that is what I do. It apparently solved the problem but my phone continue randomly to make this problem, It seems that the more time passes, the more often it will do this problem. I read that can be a memory chip problem and than the only solution is to send to the assistance and make them to resolve this. Someone of you have the same problem ? And how you managed to solve this ?
Click to expand...
Click to collapse
You speak me from the soul. I had this problem also already 3-4 times and it is 1:1 the same procedure that happens for me too. I have no clue what it is. My /data Partition does get ****ed up sometimes too
---------- Post added at 10:59 PM ---------- Previous post was at 10:53 PM ----------
tsongming said:
It's not unfixable, it can be resolved by at least 4 different methods.
I have explained how to permanently resolve this issue with extensive instructions on at least 20 to 30 threads. Including the one above. And here: https://forum.xda-developers.com/showpost.php?p=79824537&postcount=2
As you can see, wasted time with no thanks given.
This issue is cause by encryption, that all there is no damage whatsoever. If you saved a Twrp backup the issue can be resolved in 2 seconds by restoring persist images.
It can also be resolved by flashing persist images from a dipper images rom, then immediately signing into your MiCloud account or by flashing a fastboot rom with XiaoMiFlash ( making sure to unclick relock bootloader) then boot and sign into MiCloud.
Another way is download all the required Dipper images Rom here :
Fastboot Rom Link : dipper_global_images_9.6.27_20190627.0000.00_9.0_global_30e0fc22ef.tgz
Filesize 2.43G
Download and unpack rom from the link above , as I mentioned on the link above, unpack twice to the desktop, ( the first time decompresses into a larger rom that also needs unpacking)
Open extracted images folder and look for “persist.img” file (it should be located in “Image” folder , see my attached screen, I keep these ready if ever needed).
Copy “persist.img” file to “/sdcard/persist.img”.
Boot into TWRP, go to Advanced/Terminal
In the terminal type the following command to convert the .img file from “sparse” to “raw” format.
PHP:
simg2img /sdcard/persist.img /sdcard/persist_EXT4.img
After it’s completed, type the following command in the terminal:
PHP:
dd if=/sdcard/persist_EXT4.img of=/dev/block/bootdevice/by-name/persist
After the flashing is completed, you can reboot into the system and start using your phone.
The next method is posted above, its an older method that uses the Kitchen app
Ideally you want the base firmware to be the same as the rom. but its not absolutely necessary, once you have flashed the persist image, immediately install a Miui Rom and sign into your account, once you are on the main desktop, reboot to Twrp and make a full backup, then copy it to your PC.
Make sure that the backup includes the persist images, modem, efs etc. As I said a full backup.
This backup will give you the peace of mind knowing, that you will never need to repeat the steps above again.
Click to expand...
Click to collapse
That it is a encryption problem, i thought already before. Are you sure that signing into MiCloud fixes this problem? it can be ofc that xiaomi added such a system, but I have no clue.

NightScap3 said:
You speak me from the soul. I had this problem also already 3-4 times and it is 1:1 the same procedure that happens for me too. I have no clue what it is. My /data Partition does get ****ed up sometimes too
---------- Post added at 10:59 PM ---------- Previous post was at 10:53 PM ----------
That it is a encryption problem, i thought already before. Are you sure that signing into MiCloud fixes this problem? it can be ofc that xiaomi added such a system, but I have no clue.
Click to expand...
Click to collapse
Signing in does fix it.....sometimes,
Other times the solution is the adb fix, which usually always works.
However, the easiest fix of all, is restoring persist from a Twrp backup, But it has to be your persist backup, flashing someone else's apparently makes matters worse.

sar78mad said:
Well there are around 60 k20 pro users who got their phones useless after installing an old version of FDE (a magisk module), and no , just flashing persist wont fix the problem, so feel free to try to help us find a fix by joining to our telegram group and im sure that all 60 users will donate you alot of money if you find a permanent fix
link to telegram group : https://t.me/whateverk20pro
Click to expand...
Click to collapse
I have had this issue myself several times and you are right simply flashing persist doesn't always fix it.
However, I made a post with additional options here : https://forum.xda-developers.com/showpost.php?p=80623541&postcount=5.
I just mentioned this to someone else, do not flash someone else's persist backup, that will work temporarily and then makes matter's much worse.
On the Mi8 there are only a few versions of Twrp that will allow you to backup and restore that persist image alone. If Orange Fox is available on your device try using it. See attached image
Edit one last thing
If attempting to use the persist image extraction reflash method, the image must come from a fastboot "images' rom

tsongming said:
I have had this issue myself several times and you are right simply flashing persist doesn't always fix it.
However, I made a post with additional options here : https://forum.xda-developers.com/showpost.php?p=80623541&postcount=5.
I just mentioned this to someone else, do not flash someone else's persist backup, that will work temporarily and then makes matter's much worse.
On the Mi8 there are only a few versions of Twrp that will allow you to backup and restore that persist image alone. If Orange Fox is available on your device try using it. See attached image
Click to expand...
Click to collapse
My MI 8 works since 2 days without a Problem after flashing the persist.img that i extracted from the factory image in Orange Fox terminal like explained in your posts.

Duplicate Post
---------- Post added at 02:18 AM ---------- Previous post was at 01:59 AM ----------
apf95 said:
My MI 8 works since 2 days without a Problem after flashing the persist.img that i extracted from the factory image in Orange Fox terminal like explained in your posts.
Click to expand...
Click to collapse
Yes, those steps definitely work for those of us.with Mi8's
It should work for them too as long as the use the correct images.

tsongming said:
I have had this issue myself several times and you are right simply flashing persist doesn't always fix it.
Click to expand...
Click to collapse
Did you have this problem before using Xiaomi EU rom? I am on stock rom and planning to go to EU. But a lot of users in EU forum are also facing persist problem. I am using Mi 8 for almost 1 year with Global Beta/Stable rom. Nevar faced this issue.
Maybe it's caused by TWRP or EU rom?

alone_in_dark said:
Did you have this problem before using Xiaomi EU rom? I am on stock rom and planning to go to EU. But a lot of users in EU forum are also facing persist problem. I am using Mi 8 for almost 1 year with Global Beta/Stable rom. Nevar faced this issue.
Maybe it's caused by TWRP or EU rom?
Click to expand...
Click to collapse
It's not caused by the EU rom, the EU rom is really nothing more than official Beta Miui ( Chinese version, which is 3 to 4 months ahead of the Global version) So beta Miui with Google services added and useless bloatware and ads removed.
There have been many cases of people experiencing these issues on AOSP roms as well. For example, the many reports of WIFI, Data, Cellular Services, BT not working etc.
The issue is a permissions conflict, that is mostly likely caused by continuous flashing of Root and Dm-Verity. Albeit incorrectly.
If you have Twrp and no root then flash Dm-Verity. If you plan on using Root then don't use DM-Verity, it's not needed.
When I stopped flashing DM-Verity is when I stopped experiencing issues. But as I mentioned if you don't want root ,and you definitely want TWRP then you must flash DM-Verity otherwise TWRP will be overwritten when using a stock based rom.
@alone_in_dark
Edit: If you have been using stock the whole time, you will be blown away with how improved the latest Android 10 of Miui 11 is, check it out, its awesome.

tsongming said:
Signing in does fix it.....sometimes,
Other times the solution is the adb fix, which usually always works.
However, the easiest fix of all, is restoring persist from a Twrp backup, But it has to be your persist backup, flashing someone else's apparently makes matters worse.
Click to expand...
Click to collapse
Are you talking from permanent fixes?
Which adb method? Do you mean the over TWRP Terminal?
I will btw flash now miui after I flashed persist with ur method and then flash xposed to see if my /persist breaks

NightScap3 said:
Are you talking from permanent fixes?
Which adb method? Do you mean the over TWRP Terminal?
I will btw flash now miui after I flashed persist with ur method and then flash xposed to see if my /persist breaks
Click to expand...
Click to collapse
Permanent unless you mess it up again, as I described on this thread. The Adb steps are listed on this post : https://forum.xda-developers.com/showpost.php?p=80623541&postcount=5

tsongming said:
Permanent unless you mess it up again, as I described on this thread. The Adb steps are listed on this post : https://forum.xda-developers.com/showpost.php?p=80623541&postcount=5
Click to expand...
Click to collapse
Do you know why my /data partition gets broken too when this /persist mess up from magisk happens?

NightScap3 said:
Do you know why my /data partition gets broken too when this /persist mess up from magisk happens?
Click to expand...
Click to collapse
I believe that I do.
I choose to not encrypt my phone. However, certain roms, especially experimental may encrypt your data anyway. Back in early August I kept having bootloops and persist issues.
I stopped having issues when I went back to the flashing steps that I used with my previous phone. ( Rarely if ever using Dm_verity)
Edit: Comment below concerns Stock based Rom
Dm-Verity is needed if you want to use a custom recovery such TWRP, and you do not want or need Root.
If you are planning to root the device, then do not flash Dm-Verity. Magisk already has a function which takes care of Dm-Verity and Encryption. So there is no need to flash Dm-Verity.
The problem is that too many people think that Dm-verity is needed, along with Magisk and with every update, it's not unless you are not rooted and in most cases if you are rooted Magisk will check the the boot to ensure that it is still rooted. So flashing Magisk is not always needed ethier. As an extra precaution, I remove all passwords, pattern looks, and face unlocks prior to updating a Rom. I plan to make a post about Dm-Verity soon but will not have time to get to it until Monday or Tuesday.
I hope this helps.

tsongming said:
I believe that I do.
I stopped having issues when I went back to the flashing steps that I used with my previous phone. ( Rarely if ever using Dm_verity)
Dm-Verity is needed if you want to use a custom recovery such TWRP, and you do not want or need Root.
If you are planning to root the device, then do not flash Dm-Verity. Magisk already has a function which takes care of Dm-Verity and Encryption. So there is no need to flash Dm-Verity.
Click to expand...
Click to collapse
I want TWRP only (no root). So, Do I've to flash DM-Verity each time I update rom? Will flashing DM-Verity cause problem? And can you please share your steps of flashing ROM?
Thanks

Related

Unbrick Assistance Thread

Bricked your M5? Post here. I am one of three posters who have posted threads requesting assistance - we might as well create one thread where we can try and help each other.
My model? SHT-AL09 (C636). My story? I apparently made a bad change to my build.prop file, and had USB debugging disabled. I then probably dug myself a deeper hole trying to recover. I don't even get boot animation anymore. I'd happily pay someone to unbrick me.
The only potential progress I have made, is that I was able to install and successfully boot TWRP - although TWRP detects that I have no operating system installed and I am unable to mount any partitions except for my external SD card. Using TWRP's file manager, I can see that the system partition, for example, has not been entirely wiped, but many files seem to be missing. At the very least, TWRP allows me to turn the screen off without seeking to contantly reboot thereafter.
To install TWRP, I followed these instructions intended for Mate 9 owners:
duraaraa said:
This is TWRP to Mate 9/Android O, brought to you by FunkyHuawei.
It's just a preliminary build so I can't promise anything/everything will work! Keep that in mind. I'm not responsible if you brick your device.
EDIT: Does not work with Mate 10 series.
DOWNLOAD LINK:
https://drive.google.com/open?id=0B45NCsO2AL_1NEh2aDFLM3JlYkU
It works on the Android O build here:
https://www.reddit.com/r/FunkyHuawei/comments/75uwkd/october_12_first_official_android_o_beta_for/
and the official European beta.
To install:
First, have Android O running. Unlock the bootloader. Download the twrp image.
Then, run in fastboot mode:
fastboot flash recovery_ramdisk twrp_android_o_mate9_a1.img
Then, reboot holding volume up, and you've got TWRP!
Note: With the Android O update, it is no longer possible to flash the recovery2 partition. Furthermore, the names of the partitions have changed. Please keep that in mind, and don't mess around too much with TWRP, to be sure you don't brick your system!
Click to expand...
Click to collapse
Hmm ... I wanted to ask you whether you have the full OTA package for your device? So you should be able to extract all the partition images from there and to fastboot flash them. But I checked on HFF and I do not see a full OTA package matching your device yet.
AndDiSa said:
Hmm ... I wanted to ask you whether you have the full OTA package for your device? So you should be able to extract all the partition images from there and to fastboot flash them. But I checked on HFF and I do not see a full OTA package matching your device yet.
Click to expand...
Click to collapse
I've tried flashing system.img/ramdisk.img from the c00 package. Maybe I have to wait for c636 firmware, or maybe I have to flash additional .imgs. I am pretty sure that the specs and hardware I have are the same as the c00.
I've tried flashing the entire update.zip file in TWRP...but as noted TWRP is unable to mount internal storage. I'm not sure if I need to wipe and reformat first. I also have no clue whether the TWRP build I installed is properly compatible with the device. I had nothing to lose by giving it a shot.
thref23 said:
I've tried flashing system.img/ramdisk.img from the c00 package. Maybe I have to wait for c636 firmware, or maybe I have to flash additional .imgs. I am pretty sure that the specs and hardware I have are the same as the c00.
Click to expand...
Click to collapse
This will not work as the boot chain will be broken due to mismatching checksums. You need to have the correct images. To flash a OTA image you also need to have the standard recovery image installed ...
So...will someone correct please correct me if this is wrong?
If I were to flash a c00 oeminfo file, I could then install a c00 update.zip via dload folder?
Would c432 work as well (with a flashed oeminfo), even though the Euro hardware has different bands than my hardware?
There is now a full OTA on FF for C635.....still nothing for c636...
Finally, a full OTA is available for c636.
But the 'dload' method (update.app on an sd card) failed at 5%. And flashing ramdisk/recovery/erecovery/system images also failed.
Is this possibly because the OTA is B153, whereas my M5 was shipped B121?
(I hate to be that guy bumping his own thread, sorry)
I'm unbricked!
For those in a similar spot, looking to rebrand, or otherwise interested...
I finally e-mailed Funky Huawei for assistance. Their unbrick tool did not work. However, their e-recovery method worked perfectly (basically, you point your router's DNS to Funky Huawei, enter stock recovery and connect to wi-fi, and Funky Huawei's servers mimic Huawei's servers. If they do not have your firmware on their server, they will add it by request (provided it exists on the internet).
I paid $65 for a 30 day pass - a little steep, but I was impatient. I'm not sure if I could have gotten away with paying less. If you want to try and use my FH account over the next 30 days PM me (although I don't want to get carried away with that).
For those looking to rebrand, if you can flash an OEMinfo file successfully (FH has a rebrand tool and I have no clue how well it works), you should be able to use FH's erecovery method to flash firmware (don't blame me if something goes wrong).
One reason for the trouble I was having, if because I bootlooped after making a change to the vendor/build.prop file. This file was on the vendor partition, not the system partition, and for whatever reason the vendor partition cannot be flashed via fastboot (in theory it can be flashed, in reality it returns an error that doesn't have to do with the size of the partition).
Before reverting to FH, I finally got TWRP installled and functioning, and after all the attempts I made to recover my device, the same build.prop file which initially caused a bootloop was still in the /vendor folder. And TWRP wouldn't mount the system and vendor partitions as read/writeable - that was frustrating.
Now off to experiment with AOSP GSIs while I feel like I have little to lose...
Please help me
hello everyone,
i tried to rebrand my m5pro with help of ministryofsolutions. Something went wrong and my tablet (CMR-AL19) is stucked in the recovery mode. how can i fix it? Someone who ca help me? I will pay
Greeztings
Luigi
thref23 said:
Bricked your M5? Post here. I am one of three posters who have posted threads requesting assistance - we might as well create one thread where we can try and help each other.
My model? SHT-AL09 (C636). My story? I apparently made a bad change to my build.prop file, and had USB debugging disabled. I then probably dug myself a deeper hole trying to recover. I don't even get boot animation anymore. I'd happily pay someone to unbrick me.
The only potential progress I have made, is that I was able to install and successfully boot TWRP - although TWRP detects that I have no operating system installed and I am unable to mount any partitions except for my external SD card. Using TWRP's file manager, I can see that the system partition, for example, has not been entirely wiped, but many files seem to be missing. At the very least, TWRP allows me to turn the screen off without seeking to contantly reboot thereafter.
To install TWRP, I followed these instructions intended for Mate 9 owners:
Click to expand...
Click to collapse

Looking for custom rom for Ulefone Armor X Oreo 8.1

I am looking for a custom rom, minus the Google stuff, that will work on my Ulefone Armor X Oreo 8.1. I have a working TWRP recovery and have rooted it via Magisk but went back to stock after a few nagging problems.
The phone spec isn't wonderful so need something lighter but still having plenty of functionality.
Cheers
Charlie-Boy said:
I am looking for a custom rom, minus the Google stuff, that will work on my Ulefone Armor X Oreo 8.1......
Click to expand...
Click to collapse
This specific device and Chipset is fairly new and there's very little on the forum that's specific to your device.
With that stated...
You have a Mediatek MT6739 (64 Bit) device that can be very helpful in that aspect.
Though I had located a few threads that won't be very helpful for you but, the following thread is about the best that your possibly going to find for your device at this point in time.
https://forum.xda-developers.com/showthread.php?t=2701283
It does take some time for developments to pop up on the forum for newer Mediatek Chipsets but, where there's a developer (with the same Chipset device), there's always a way depending on the level of difficulty.
I wish you the best of luck with your search!
~~~~~~~~~~~~~~~
I DO NOT provide support via PM unless asked/requested by myself. PLEASE keep it in the threads where everyone can share.
Charlie-Boy said:
I am looking for a custom rom, minus the Google stuff, that will work on my Ulefone Armor X Oreo 8.1. I have a working TWRP recovery and have rooted it via Magisk but went back to stock after a few nagging problems.
The phone spec isn't wonderful so need something lighter but still having plenty of functionality.
Cheers
Click to expand...
Click to collapse
I'm also looking for that. But if I can get TWRP on it I'd probably try SU.
How did you get to install the TWRP? I found a few posts but was apprehensive about whether I can use SPFT to flash original stock ROM if things go wrong. I suppose that would be the easiest way.
For what I paid for the phone, it's a decent enough device.
Using SD card as internal memory always result in the total capacity being reported wrongly..256GB becomes 512GB with 50% occupied, 200GB becomes 256GB with 64GB occupied. Still waiting for their tech support to reply but unlikely they would.
Cheers!
I have rooted it several times and flashed the stock image several times too without a problem. Haven't used SU though I used Magisk.
.stupdroid.com/2018/07/Ulefone-Armor-X-root-twrp-.html
I do not have your issue with storage but my wireless charging mat today stopped charging but still lights up. Phone will still charge via cable. Trying to get a replacement mat.
I installed using SP flash tools on windows and Linux just to see the difference.
If you do a Google for Install TWRP ulefone armor x then you will get some information and relevant files.
Unlocking the bootloader via ADB is straightforward on Windows and Linux too. And then relocking it.
Regards
Charlie
Ibuprophen said:
This specific device and Chipset is fairly new and there's very little on the forum that's specific to your device.
With that stated...
You have a Mediatek MT6739 (64 Bit) device that can be very helpful in that aspect.
Though I had located a few threads that won't be very helpful for you but, the following thread is about the best that your possibly going to find for your device at this point in time.
https://forum.xda-developers.com/showthread.php?t=2701283
It does take some time for developments to pop up on the forum for newer Mediatek Chipsets but, where there's a developer (with the same Chipset device), there's always a way depending on the level of difficulty.
I wish you the best of luck with your search!
~~~~~~~~~~~~~~~
I DO NOT provide support via PM unless asked/requested by myself. PLEASE keep it in the threads where everyone can share.
Click to expand...
Click to collapse
Thanks for the input I will have a read.
Charlie-Boy said:
I have rooted it several times and flashed the stock image several times too without a problem. Haven't used SU though I used Magisk.
.stupdroid.com/2018/07/Ulefone-Armor-X-root-twrp-.html
I do not have your issue with storage but my wireless charging mat today stopped charging but still lights up. Phone will still charge via cable. Trying to get a replacement mat.
I installed using SP flash tools on windows and Linux just to see the difference.
If you do a Google for Install TWRP ulefone armor x then you will get some information and relevant files.
Unlocking the bootloader via ADB is straightforward on Windows and Linux too. And then relocking it.
Regards
Charlie
Click to expand...
Click to collapse
Thanks for the info.
Cheers!
chooks06 said:
Thanks for the info.
Cheers!
Click to expand...
Click to collapse
No problem.
Charlie-Boy said:
I am looking for a custom rom, minus the Google stuff, that will work on my Ulefone Armor X Oreo 8.1. I have a working TWRP recovery and have rooted it via Magisk but went back to stock after a few nagging problems.
The phone spec isn't wonderful so need something lighter but still having plenty of functionality.
Cheers
Click to expand...
Click to collapse
Where did you get the TWRP for Ulefone Armor X. I've been trying to search it all over and haven't found anything. If possible can you please share a link? TIA
abhijeet715 said:
Where did you get the TWRP for Ulefone Armor X. I've been trying to search it all over and haven't found anything. If possible can you please share a link? TIA
Click to expand...
Click to collapse
Code:
https://www.needrom.com/download/twrp-armox-x/
There are other places listed on Google.
Anyone had this in recovery mode?
Had also tried flashing the TWRP but it just didn't stick and was asking for a password on first launch.
Edit.. all links I tried point to the same location to download. Same files.
chooks06 said:
Anyone had this in recovery mode?
Had also tried flashing the TWRP but it just didn't stick and was asking for a password on first launch.
Edit.. all links I tried point to the same location to download. Same files.
Click to expand...
Click to collapse
im also facing the same issue... kindly someone help.. ive explained my issue below:
Can someone confirm? My device is encrypted by default, so whenever i install TWRP it says to decrypt device. I tried the pattern, changed it to password, and pin still my device doesnt decrypt in twrp. I feel its a twrp bug, because when i set the device to ask pattern during boot, the same pattern/pin/password is accepted, but not in twrp.
I want to know 3 things:
1. Are your devices encrypted by default (i dont remember encrypting my device, I dont know how it is encrypted)
2. Are you facing this same issue of entering password when you reboot into recovery?
3. What is the purpose of the boot.img in the twrp zip? am i required to flash it before flashing the recovery, or does it remove encryption?
Charlie-Boy said:
I am looking for a custom rom, minus the Google stuff, that will work on my Ulefone Armor X Oreo 8.1. I have a working TWRP recovery and have rooted it via Magisk but went back to stock after a few nagging problems.
The phone spec isn't wonderful so need something lighter but still having plenty of functionality.
Cheers
Click to expand...
Click to collapse
Charlie, could share how you got the TWRP working?
Have been fiddling around until battery showed -1%.. Had to go back to stock.
Thanks mate!
Choo ks
In the folder containing the TWRP recovery there are 3 files, boot.img, scatter, and recovery. You only flash recovery, you have flashed the boot image, ensure the checkbox is unticked after loading from scatter in SP tools. That is what I think you have done to get that result.
Follow the guide here. I did it a few times before success as I followed a guide from another site.
https://www.stupdroid.com/2018/07/Ulefone-Armor-X-root-twrp-.html
Click to expand...
Click to collapse
I think I installed magisk using this method, clearing dalvik and cache.
https://www.stupdroid.com/2018/02/magisk-16.0-download.html
Click to expand...
Click to collapse
Charlie-Boy said:
In the folder containing the TWRP recovery there are 3 files, boot.img, scatter, and recovery. You only flash recovery, you have flashed the boot image, ensure the checkbox is unticked after loading from scatter in SP tools. That is what I think you have done to get that result.
Click to expand...
Click to collapse
That's what I did, using the downloaded scatter file. Was experimenting.
---------- Post added at 06:49 PM ---------- Previous post was at 06:44 PM ----------
Charlie-Boy said:
Follow the guide here. I did it a few times before success as I followed a guide from another site.
I think I installed magisk using this method, clearing dalvik and cache.
Click to expand...
Click to collapse
Used the same guide. But TWRP came up with the decrypt data issue.
Did you have that issue?
chooks06 said:
Anyone had this in recovery mode?
Had also tried flashing the TWRP but it just didn't stick and was asking for a password on first launch.
Edit.. all links I tried point to the same location to download. Same files.
Click to expand...
Click to collapse
You ignore the password and change the language to English from Russian. Just don't enter a password at all. The recovery won't stick as Android replaces it when you reboot. After you've completed other steps maybe OEM unlocking then it stays, or so I read somewhere.
chooks06 said:
That's what I did, using the downloaded scatter file. Was experimenting.
---------- Post added at 06:49 PM ---------- Previous post was at 06:44 PM ----------
Used the same guide. But TWRP came up with the decrypt data issue.
Did you have that issue?
Click to expand...
Click to collapse
All of them are encrypted by default now. The password in TWRP should be ignored and just change the language and select storage etc.
abhijeet715 said:
im also facing the same issue... kindly someone help.. ive explained my issue below:
Can someone confirm? My device is encrypted by default, so whenever i install TWRP it says to decrypt device. I tried the pattern, changed it to password, and pin still my device doesnt decrypt in twrp. I feel its a twrp bug, because when i set the device to ask pattern during boot, the same pattern/pin/password is accepted, but not in twrp.
I want to know 3 things:
1. Are your devices encrypted by default (i dont remember encrypting my device, I dont know how it is encrypted)
2. Are you facing this same issue of entering password when you reboot into recovery?
3. What is the purpose of the boot.img in the twrp zip? am i required to flash it before flashing the recovery, or does it remove encryption?
Click to expand...
Click to collapse
Yes all are encrypted.
Yes I get the same request for password which I ignored and selected language and carried on.
I do not know why boot.img is included it just gets in the way.
After installing TWRP unlocking OEM bootloader and all the rest including rooting it I decided it would be better to wait for a new ROM. All we need is a working TWRP and an unlocked bootloader to flash a new ROM and we have that. It doesn't work very smoothly and I felt it could be better which is why I went back to stock.
When I posted this request I didn't imagine others would try installing Magisk etc, waste of time really as you won't stay with it either. Best wait for a ROM I think.
Charlie-Boy said:
Yes all are encrypted.
Yes I get the same request for password which I ignored and selected language and carried on.
I do not know why boot.img is included it just gets in the way.
After installing TWRP unlocking OEM bootloader and all the rest including rooting it I decided it would be better to wait for a new ROM. All we need is a working TWRP and an unlocked bootloader to flash a new ROM and we have that. It doesn't work very smoothly and I felt it could be better which is why I went back to stock.
When I posted this request I didn't imagine others would try installing Magisk etc, waste of time really as you won't stay with it either. Best wait for a ROM I think.
Click to expand...
Click to collapse
Im also unlocked and flashed twrp. I ignored the encryption message and proceeded, hit the storage sizes show 0, and neither can i access the storage to flash anything nor can i take backups. can you go to settings>security in your device, and tell me if your encryption says enabled? Tia
abhijeet715 said:
Im also unlocked and flashed twrp. I ignored the encryption message and proceeded, hit the storage sizes show 0, and neither can i access the storage to flash anything nor can i take backups. can you go to settings>security in your device, and tell me if your encryption says enabled? Tia
Click to expand...
Click to collapse
Mine is the same encryption is enabled. I select external SD storage and I am shown the contents using the same procedure as yourself, I cannot tell you why this is so. I am using the same technique, same phone, same settings, same TWRP, maybe we have different SD card?
That is all I can think of by way of an explanation. It works perfectly for me. I also made a backup which I can select and restore without a problem.

Huawei p30 lite root

Hello everybody.
I have a simple Question about root on this model, is it possible to do?
And if it is possible, tell me how Please.
Best regards
Wojtek
I am looking for the same too
Me too... Looks like it is still impossible
Only paid method and who knows it will be work on my p30 lite......hmm
Hello ppl,
I know this might be a little old.. any way just for the knowledge lets bring this thread back.
I had the same concern for a while, and kind of eager to get mine rooted.. until now.
I managed to unlock mine, and root it succesfully. Latest version of magisk, safty net passed, root essentials running like a charm, I can ADB in to it and su yey!
How? main issue here is my p30 lite MAR-LX3A was already in emui10, and somehow this little sucker wont allow the unlock of the bootloader regardless. I used a unlock tool that is advised to work for this model using testpoint short. how ever it was not working for me, until I read the EMUI had to be downgraded to 9.1.
Once runnig EMUI9.1 I didnt had to re-run the tool it was already unlocked. weird.
Any how the unlocker tool I used was not the ABD/fastboot tools, it was a paid app in case you are still interested in getting it done I can tell you how. Just keep in mind you will need to Open the back cover of the device.
Think is there is no custom recovery image available that works, neither a custom ROM, so all you have is pretty much root access.
I beleive this to be a pretty decent phone so I dont want just to ditch it, I am working to get a TWRP image, if I a managed to so I will get a ROM done as well. Think the whole device has been off the track for dedicated modders and devs, so it has just not been worked on.
which me luck. I'll keep you posted
I used an unlock bootloader service for 15$. First i had to downgrade my emui from 10 to 9.
I can run magisk without problem. My only problem is that i wan't super su. I was able to flash TWRP Recovery 3.2.1.0 (HiSilicon Kirin 710). But i couldn't use it because the folder are encrypted. So if anyone has any idea how to decrypt this let me know
aka_max said:
I used an unlock bootloader service for 15$. First i had to downgrade my emui from 10 to 9.
I can run magisk without problem. My only problem is that i wan't super su. I was able to flash TWRP Recovery 3.2.1.0 (HiSilicon Kirin 710). But i couldn't use it because the folder are encrypted. So if anyone has any idea how to decrypt this let me know
Click to expand...
Click to collapse
I'm gonna look for that TWRP img, I didnt find a working one acutally. is there a specific reason why you rather use super su ?
about encryption you usually need to make sure there is no password configured, I read somewhere about a guy that had his Face recognition still configured, and that was the reason he was unable to unencrypt. there are some zips you can flash somwhere around, but never tried them
blzbh said:
I'm gonna look for that TWRP img, I didnt find a working one acutally. is there a specific reason why you rather use super su ?
about encryption you usually need to make sure there is no password configured, I read somewhere about a guy that had his Face recognition still configured, and that was the reason he was unable to unencrypt. there are some zips you can flash somwhere around, but never tried them
Click to expand...
Click to collapse
I deactivated all passwords etc. But it didn't work for me. The only reason i need supersu is because i wan't recover some deleted contacts and mails after factory reset. And those Windows applications with real deep scan not works with magisk.
aka_max said:
I deactivated all passwords etc. But it didn't work for me. The only reason i need supersu is because i wan't recover some deleted contacts and mails after factory reset. And those Windows applications with real deep scan not works with magisk.
Click to expand...
Click to collapse
why dont you try getting an image of the partition with DD, convert it and mount it in the PC directly, I beleive using the scan software directly against the phone is more complicated than just scanning a directly attached block device.
Hello
Is there any way to decrypt the Huawei P30 Lite?I haven't found anything anywhere.
i have twrp on it but the system is encrypted :-(
i have read some posts about wipe data.. use stock rom etc... But i am to lazy to test it. Let me know if it will works. Be sure to make a backup before playing around
nominator64 said:
Hello
Is there any way to decrypt the Huawei P30 Lite?I haven't found anything anywhere.
i have twrp on it but the system is encrypted :-(
Click to expand...
Click to collapse
there are a few things to try... you can go to wipe menu in TWRP then use the fix/repair option against the system encrypted partition..
-try reparing it
-try changing the partition from ext4 (check first the type usually ext4) to ext2, then change it back to what it was, ext4
last resource:
-wipe all data/factory reset ***** You WILL loose all your personal data if you do this **** just make a backup MANUALLY before doing this.. if you use TWP backup pbby your back will be encrypted too...
I manage to get mine unencrypted with this last step, took a few attempts, but had to reflash Stock so its back to encryption
Maybe we should create our own TWRP version for the p30 lite. There are many tutorials ^^
aka_max said:
Maybe we should create our own TWRP version for the p30 lite. There are many tutorials ^^
Click to expand...
Click to collapse
agreed I have been working on one that truely works, but there are a few blanks about how TWRP really works.. and its boot process. I have learned a little this past week, but still think gonna have to reverse engineer a working img to get some answers.... I was actually thinking on building a orange fox image better not sure what would be easier..
I have lots of work so I do this in my free time, but let me know if you want a help perhaps we can get something and port a nice ROM that's worth the device
.
blzbh said:
there are a few things to try... you can go to wipe menu in TWRP then use the fix/repair option against the system encrypted partition..
-try reparing it
-try changing the partition from ext4 (check first the type usually ext4) to ext2, then change it back to what it was, ext4
last resource:
-wipe all data/factory reset ***** You WILL loose all your personal data if you do this **** just make a backup MANUALLY before doing this.. if you use TWP backup pbby your back will be encrypted too...
I manage to get mine unencrypted with this last step, took a few attempts, but had to reflash Stock so its back to encryption
Click to expand...
Click to collapse
thank you for the suggestions. unfortunately does not work :-(
Please keep us posted, really excited to see a custom rom for this phone, also could you elaborate on the process of unlocking the bootloader? My back cover is already broken so I have to open it up anyways
k.r.o.o.k said:
Please keep us posted, really excited to see a custom rom for this phone, also could you elaborate on the process of unlocking the bootloader? My back cover is already broken so I have to open it up anyways
Click to expand...
Click to collapse
Sure, ive been busy but will try my best.. about the unlock process I end up paying 19 euros... But try using fastboot unlock first.. may save you the money not sure...
1. Downgrade to emui 9.1 .. just plug the p30 lite to PC, install hsuite... Go for the firmware/software update... A pop up screen will show up with some small letters buttom rigth.. older releases or revert to older firmware something like that.. you will get too choose 9.1 only ... Choose that and apply.. Keep an eye out.. this will delete everything in your phone... Next boot you will be in 9.1.. avoid the automatic upgrade.
2. Turn the phone off, take the back cover and locate the testpoints.. short by using metal wire... The small aluminium wire wraps that come with bread and other bags for easy close are usefull just remove some plastic in each side... connect the usb cable to PC.. leave the phone side unplugged.. Touch test point with the wire while the other side touches a metal cover in the phone.. while doing it plug the phone to the USB cable.. the charging animation should not appear . . . Screen must stay black.. otherwise do it again.. if done right the device manager will detect COM port for your device
Identify the point with this video
3. use either app you want to detect testpoint mode and unlock... I managed to do it with a 3 day unlimited license for HCU client.. that did the trick their website have some tutorials easy to follow.
Hi all,
I have the same problem like a few other people. I unlocked the phone with HCU, and after I tried to root with magisk (by trwp) But the main issue, the phone is encrypted and the installation proccess of the magisk by the trwp got failed. How can I root this phone? Anybode has success with this?
Thank you!
huawei p30 lite device root support please

[GUIDE] Fix Fingerprint Scanner with "corrupt" persist in 15 minutes!

Omg, I've been messing with this thing for 2 months trying to fix it, all because I didn't take a backup of my /persist as soon as I got the phone, but there is a way to fix it!!! The only pre-requisites are that:
A) you still have your own /persist (that came with your specific phone, didn't overwrite it with one from the forums and didn't save your original somewhere) AND
B) all sensors still work (only the fingerprint scanner is broken) AND
C) that you have NEVER ran the hidden fingerprint calibration tools accessible from *#808# (unless you have a backup of /persist from before you did that)
Follow these simple instructions and enjoy:
https://forum.xda-developers.com/oneplus-8/how-to/guide-fix-persist-img-loss-finger-print-t4126455
You can ignore the entire part about having to run the MSM tool to roll back to a previous version of OOS (Step 2). Therefore, no data is lost, no factory reset is required, etc.
Also in very first part of Step 4, you need to dial *#808#, not *#801#
It took me less than 15 minutes and now it's good as new!!! Please give the OP thanks! He spent almost 200 hours figuring this out (and I don't doubt it; I must have spent easily over 20 hours myself and didn't get anywhere...). All I did was find his genius instructions and post them here.
Edit: And to add one last step to the guide, after you finish and get the fp scanner working again, please be sure to take a backup of your now fixed persist partition and store it in at least two different locations. Because if you are reading this, you are most likely modding your phone with at least Magisk (why else unlock the bootloader? and almost anything can cause persist to be corrupted. For me, it was simply installing a bad build of magisk canary back in May that did it. It's not just important for those installing aftermarket ROMs. It's vital for anyone who even thinks about unlocking the bootloader on this device. Because even the act of relocking the bootloader has caused persist to be corrupted for some...
Edit2: If you run the MSM tool after fixing persist, or manually relock the bootloader, you'll wind up with your FP being broken again. I'm assuming because the checksum of the "fixed" persist doesn't match that of the original, unmodified persist, so it gets marked as corrupt again. So you'll need to unlock the bootloader and restore/flash your backed up, fixed persist (you did back it up this time, right? Impossible to run msm tool to get back to stock AND have FP working. Bootloader must be unlocked after using msm tool and fixed persist restored.
please help HD9010 indian firmware currently..before i had global
i messed up my persist too while reverting back from open beta to stable via fastboot
now fingerprint enrollment error
i tried the guide but its not the same with 7tpro
there wasnt 'gf_persist.so' in data folder of my extracted persist.img
and calibrating was confusing for me but i did it upro my limit but i didnt have those many reds as the original OP had in his guide video while calibrating the fp
so please can you be kind enough to share your whole process that you used to manage the fingerprint error issue?
like what roms you used before and after or during fix?
and lastly, since the backedup persist didnt work i deleted and again backedup the persist in next attempt so it means my fingerprint is gone permanently? maybe?
please help me..ive spent my whole night and day searching and trying workarounds flashing roms back and forth
the hellboy said:
i messed up my persist too while reverting back from open beta to stable via fastboot
now fingerprint enrollment error
i tried the guide but its not the same with 7tpro
there wasnt 'gf_persist.so' in data folder of my extracted persist.img
and calibrating was confusing for me but i did it upro my limit but i didnt have those many reds as the original OP had in his guide video while calibrating the fp
so please can you be kind enough to share your whole process that you used to manage the fingerprint error issue?
like what roms you used before and after or during fix?
and lastly, since the backedup persist didnt work i deleted and again backedup the persist in next attempt so it means my fingerprint is gone permanently? maybe?
please help me..ive spent my whole night and day searching and trying workarounds flashing roms back and forth
Click to expand...
Click to collapse
I used his exact instructions on my 7T Pro 5G McLaren edition from T-Mobile. With a few helpful tips I added. You must have the global version of the 7T Pro McLaren since you are talking about open beta and stable releases. Unfortunately I can't help you there. It seems that the TMobile 7T Pro 5G McLaren is much more similar to the OP8 in some ways than the global 7T Pro, especially when it comes to OOS, partitioning, extra security crap, etc.
Edit:. You are in the wrong forum. You don't even have the global 7T Pro McLaren. You have the HD1910 Global (originally Chinese version) 7T Pro. Wrong forum. The 7T Pros didn't even have this issue (or if they did, it was no where near as widespread, I've never even seen it mentioned a single time). To the best of my knowledge, it began with the 7T Pro 5G McLaren from T-Mobile which was the newest phone released by 1+ until the OP8.
And if you deleted your backup of your original persist after trying to fix it unsuccessfully, it's now broken forever regardless. You need to RMA.
Late response, but this worked 100% for me after switching back to stock from AOSiP.
Thank you!
derget1212 said:
Late response, but this worked 100% for me after switching back to stock from AOSiP.
Thank you!
Click to expand...
Click to collapse
Glad to hear it worked!
One important thing to add:
If you run the MSM tool after fixing persist, or manually relock the bootloader, you'll wind up with your FP being broken again. I'm assuming because the checksum of the "fixed" persist doesn't match that of the original, unmodified persist, so it gets marked as corrupt again. So you'll need to unlock the bootloader and restore/flash your backed up, fixed persist (you did back it up, right? . Impossible to run msm tool to get back to stock AND have FP working. Bootloader must be unlocked after using msm tool and fixed persist restored.
starcms said:
Glad to hear it worked!
One important thing to add:
If you run the MSM tool after fixing persist, or manually relock the bootloader, you'll wind up with your FP being broken again. I'm assuming because the checksum of the "fixed" persist doesn't match that of the original, unmodified persist, so it gets marked as corrupt again. So you'll need to unlock the bootloader and restore/flash your backed up, fixed persist (you did back it up, right? . Impossible to run msm tool to get back to stock AND have FP working. Bootloader must be unlocked after using msm tool and fixed persist restored.
Click to expand...
Click to collapse
in the guide it tells you to get your phone into factory mode but does not tell you to take it out of factory mode. of you turn factory mode off and use the msm tool will fingerprint still work afterwords
cgrimm9 said:
in the guide it tells you to get your phone into factory mode but does not tell you to take it out of factory mode. of you turn factory mode off and use the msm tool will fingerprint still work afterwords
Click to expand...
Click to collapse
Apparently you need to reread the instructions
I did step three says.
3. Next step is to unlock the built in 'Factory Mode' I have a guide on how to do this below.
https://forum.xda-developers.com/oneplus-8-pro/how-to/guide-unlock-factory-mode-root-t4118527
No where on this instructions says to relock the factory mode. I am just asking if you where to do that will fingerprint scanner work after doing msm tool.
I did the process 2 times now. Have no interest in doing it again unless I need to update. I just putting some thought in why I don't know if it's relavent or not just asking. sometimes a difficult problem can have a easy solution just got to figure it out
cgrimm9 said:
I did step three says.
3. Next step is to unlock the built in 'Factory Mode' I have a guide on how to do this below.
https://forum.xda-developers.com/oneplus-8-pro/how-to/guide-unlock-factory-mode-root-t4118527
No where on this instructions says to relock the factory mode. I am just asking if you where to do that will fingerprint scanner work after doing msm tool.
I did the process 2 times now. Have no interest in doing it again unless I need to update. I just putting some thought in why I don't know if it's relavent or not just asking. sometimes a difficult problem can have a easy solution just got to figure it out
Click to expand...
Click to collapse
Yes, you can relock factory mode when done. Just re-edit those 2 lines. And once you have your FP working again, please be sure to make a backup of your fixed persist.img. Then you'll never have to do all the steps again. Simply restore your fixed persist.img if FP ever breaks again.
starcms said:
Omg, I've been messing with this thing for 2 months trying to fix it, all because I didn't take a backup of my /persist as soon as I got the phone, but there is a way to fix it!!! The only pre-requisites are that:
A) you still have your own /persist (that came with your specific phone, didn't overwrite it with one from the forums and didn't save your original somewhere) AND
B) all sensors still work (only the fingerprint scanner is broken) AND
C) that you have NEVER ran the hidden fingerprint calibration tools accessible from *#808# (unless you have a backup of /persist from before you did that)
Follow these simple instructions and enjoy:
https://forum.xda-developers.com/oneplus-8/how-to/guide-fix-persist-img-loss-finger-print-t4126455
You can ignore the entire part about having to run the MSM tool to roll back to a previous version of OOS (Step 2). Therefore, no data is lost, no factory reset is required, etc.
Also in very first part of Step 4, you need to dial *#808#, not *#801#
It took me less than 15 minutes and now it's good as new!!! Please give the OP thanks! He spent almost 200 hours figuring this out (and I don't doubt it; I must have spent easily over 20 hours myself and didn't get anywhere...). All I did was find his genius instructions and post them here.
Edit: And to add one last step to the guide, after you finish and get the fp scanner working again, please be sure to take a backup of your now fixed persist partition and store it in at least two different locations. Because if you are reading this, you are most likely modding your phone with at least Magisk (why else unlock the bootloader? and almost anything can cause persist to be corrupted. For me, it was simply installing a bad build of magisk canary back in May that did it. It's not just important for those installing aftermarket ROMs. It's vital for anyone who even thinks about unlocking the bootloader on this device. Because even the act of relocking the bootloader has caused persist to be corrupted for some...
Edit2: If you run the MSM tool after fixing persist, or manually relock the bootloader, you'll wind up with your FP being broken again. I'm assuming because the checksum of the "fixed" persist doesn't match that of the original, unmodified persist, so it gets marked as corrupt again. So you'll need to unlock the bootloader and restore/flash your backed up, fixed persist (you did back it up this time, right? Impossible to run msm tool to get back to stock AND have FP working. Bootloader must be unlocked after using msm tool and fixed persist restored.
Click to expand...
Click to collapse
yep. same here spent so much time on it. Then me and that dev crossed paths. i told him what i found and he told me what he found and together it birthed that hack
fp also works in custom roms now
So this fixed my issue with registering my fingerprints, but even after registering 5 prints, when I go to unlock my phone or anything that uses my prints scanning fails like 90% of the time. I have to press really hard or just put in my pin to get my phone to unlock. I removed my screen protector and cleaned my screen. Is there a way to recalibrate the scanner?
Trevaryn said:
So this fixed my issue with registering my fingerprints, but even after registering 5 prints, when I go to unlock my phone or anything that uses my prints scanning fails like 90% of the time. I have to press really hard or just put in my pin to get my phone to unlock. I removed my screen protector and cleaned my screen. Is there a way to recalibrate the scanner?
Click to expand...
Click to collapse
Program each finger twice. Also, it'll get much, much, much better with time as it autocalibrates/learns over a week or so.
I don't quite follow step 5 in the guide:
5. We need to extract the the old broken persist.img. The way I did this is by opening it extracting it via 7-ZIP on my PC
Click to expand...
Click to collapse
Also, do you run the steps after flashing a custom ROM?
pgg285 said:
I don't quite follow step 5 in the guide:
Also, do you run the steps after flashing a custom ROM?
Click to expand...
Click to collapse
For step 5, just extract it as if it was a zip file on your PC.
After fixing persist and getting FP working, make sure you make a backup of the fixed persist.img and save it in at least 2 or 3 different places to be safe. Occasionally for custom ROMs, to get the FP working after flashing ROM, take your fixed persist, go to fastboot, and do "fastboot flash persist your_backed_up_fixed_persist.img"
i just wanted to say that for some weird or maybe lucky reason, i did not have to reflash my backed up persist after using the msm to get back to stock from the aosip custom rom. I used the bootloader unlock trick through modded msm to install the rom and i went back using msm and fingerprint worked on the get go. I did not have to unlock bootloader and reflash persist.img .. not sure why i didnt have to its weird ( i never flashed my persist at all, even after installing the custom rom)
i think i lost my fingerprint forever because i have never done any backup and i flashed custom rom so RIP my fingerprint.
Would it make a difference if i dont lock factory mode or leave it unlocked?
AssyrianHero said:
i think i lost my fingerprint forever because i have never done any backup and i flashed custom rom so RIP my fingerprint.
Click to expand...
Click to collapse
That's exactly what these instructions are meant to fix...
the hellboy said:
please help HD9010 indian firmware currently..before i had global
i messed up my persist too while reverting back from open beta to stable via fastboot
now fingerprint enrollment error
i tried the guide but its not the same with 7tpro
there wasnt 'gf_persist.so' in data folder of my extracted persist.img
and calibrating was confusing for me but i did it upro my limit but i didnt have those many reds as the original OP had in his guide video while calibrating the fp
so please can you be kind enough to share your whole process that you used to manage the fingerprint error issue?
like what roms you used before and after or during fix?
and lastly, since the backedup persist didnt work i deleted and again backedup the persist in next attempt so it means my fingerprint is gone permanently? maybe?
please help me..ive spent my whole night and day searching and trying workarounds flashing roms back and forth
Click to expand...
Click to collapse
Brother i am suffering the same problem with same device OP 7T PRO, Did you managed to solve the problem? It will be a great help if you tell me
My mail id - [email protected]
the hellboy said:
please help HD9010 indian firmware currently..before i had global
i messed up my persist too while reverting back from open beta to stable via fastboot
now fingerprint enrollment error
i tried the guide but its not the same with 7tpro
there wasnt 'gf_persist.so' in data folder of my extracted persist.img
and calibrating was confusing for me but i did it upro my limit but i didnt have those many reds as the original OP had in his guide video while calibrating the fp
so please can you be kind enough to share your whole process that you used to manage the fingerprint error issue?
like what roms you used before and after or during fix?
and lastly, since the backedup persist didnt work i deleted and again backedup the persist in next attempt so it means my fingerprint is gone permanently? maybe?
please help me..ive spent my whole night and day searching and trying workarounds flashing roms back and forth
Click to expand...
Click to collapse
The instructions only work for the T-Mobile 7T Pro 5G Mclaren edition, all OP8, all OP8 pro, no idea about OP8T. That's because this was the first device that OnePlus used a different format for persist. That's confirmed by you not having gf_persist.so.
You would need to look at the forums for the OnePlus 7T Pro for a possible answer: https://forum.xda-developers.com/c/oneplus-7t-pro.9327/ The forums you are in now are ONLY for the HD1925, the T-Mobile branded 7T Pro 5G Mclaren variant.
And lastly, if you deleted your original persist.img (the one with broken fp), which it sounds like you did, and then wiped persist again afterwards, then there is absolutely no hope of fixing it besides sending it to OnePlus. Because you've lost your entire original persist if that is the case, unless you still have a backup of original persist.img with broken fp from before you tried fixing it.

Question Best usable ROM ?

Hi
Quite bored of Oneplus updates for my Nord 2 5G that transforms more and more the phone in publicity support for OnePlus CEO messages, and adding features I don't care at all, I'm looking to flash it with an alternative ROM.
What is most stable and operational ROM for that device currently ? The version of the device I have is DN2103 (bought in Switzerland).
Thanks for your advices,
Vincèn
Tried them all. Evolution X is the most often updated and works the best for me.
Hey there!
I also need some much needed insight in how to continue with this device (DN2103 bought in NL, Europe; just updated from 11.A.14 to 11.A.21). I suspect I will probably need the same answer as OP is looking for.
This is my second OnePlus, I was using a OnePlus X before running my first and only ROM, Lineage OS, to be able to move on to Android 10. Then screen broke for the second time after I had already fixed up the whole phone myself before that using brand new parts (Screen, frame, backplate) except for the motherboard still original. So I decided it was time for a new device.
Really love the DN2103 itself, except for the whole rooting / OTA update process, although it was a good training in getting to know all the technicalities. I had been running rooted 11.A.14 since it came out till yesterday, because I was avoiding dealing with the whole process again.
Anyway I kicked myself under my butt and got myself to 11.A.21 now. I was planning to just continue updating OOS till the latest 11.C.10 / 11.C.13, because after all this effort, I'm too curious to not check out the new Android.
But I just happened to read some thread where people were saying that somewhere after 11.C.4 it's not possible anymore to get into fastboot / BROM mode and thus no means to get TWRP?? That sounds horrible, one mistake rooting and it would be a big mess, having to downgrade to OOS 11 again and bla bla bla, why the f...?
So, I just need to hear this from someone, is this correct? I'm too tired to investigate now myself after a 20h OTA/rooting session behind me and just 3h sleep.
And how is everyone dealing with it that wants root? Has everyone moved on to other ROMs for Android 12 / 13, because of this?
In the update process yesterday for some reason my phone did a complete wipe without asking / warning. So I really need to get to a stage in this update process where I can restore all my ****. I've been at this for 24h right now and was happy to do so as I was making steps. but now I suddenly got hit in the face by this news.
tl;dr PLEASE confirm/deny this news (underlined part above) and help me decide if the only comfortable way is to ditch OOS for a custom ROM to get Android 12 / 13 with root & TWRP. I've thrown 24 hours into OTA updating OOS 11, now got to 11.A.21, but phone somehow got wiped in process, so now I really need to finish upgrading and restore data, because I'm without all the apps / accounts etc. I depend on for daily life.
I do really enjoy the road but now I HATE being lost along the way. Show me the light and, if ROM, same question as OP
Sorry if a bit off-topic + long post...
Yes, you need to have android 11 to enter fastboot. I had 12 and had to downgrade. Trust me, this is the most fuked up thing.
wuttehhell said:
Yes, you need to have android 11 to enter fastboot. I had 12 and had to downgrade. Trust me, this is the most fuked up thing.
Click to expand...
Click to collapse
Stop waiting for oneplus. There are great roms on android 13 that work very nice. What i am using is Evolution X. Tried them all and this is the one i stick to. Found no bugs, very consistent updates and the team as i see work very fast on every bug people find.
Btw, u dont need root to change rom, only if you want. I personally dont use root and works great.
wuttehhell said:
Tried them all. Evolution X is the most often updated and works the best for me.
Click to expand...
Click to collapse
Thanks for the info, and noticed too in forum that it looks to be the most up-to-date and maintained ROM for DN2103 and it looks to have no more any blocking bugs such as Wifi or Bluetooth not working, or random reboots/crashes. I'm running right now version DN2103_11_C.12 with Android 12. Is it ok to upgrade to Evolution X straight ? as I see people speaking about downgrade first to Android 11 :/
wuttehhell said:
Stop waiting for oneplus. There are great roms on android 13 that work very nice. What i am using is Evolution X. Tried them all and this is the one i stick to. Found no bugs, very consistent updates and the team as i see work very fast on every bug people find.
Click to expand...
Click to collapse
Thanks a lot for confirming! I'd already read the thread and indeed Evolution looks like the best option, so that's decided then. Wish me luck flashing the ROM
And about root, I really have some essential mods that need root. For example Advanced Charge Controller (I use it with the GUI app ACCA for convenience, else it's only terminal). I limit my charging by default to 80%, which translates in about a 4x increase in lifetime of the battery. On normal days I don't need any more than that, and it always has the option to charge to 100% if you know you're gonna have a long day without charging capabilities.
vincebay said:
Thanks for the info, and noticed too in forum that it looks to be the most up-to-date and maintained ROM for DN2103 and it looks to have no more any blocking bugs such as Wifi or Bluetooth not working, or random reboots/crashes. I'm running right now version DN2103_11_C.12 with Android 12. Is it ok to upgrade to Evolution X straight ? as I see people speaking about downgrade first to Android 11 :/
Click to expand...
Click to collapse
As I understand, and as @wuttehhell just confirmed in this thread, once you update OxygenOS beyond Android 11, fastboot and BROM mode don't work anymore. This means you can't install a custom recovery like TWRP to flash a new ROM, neither can you flash it using fastboot.
This means you have to rollback to Android 11 first. Fortunately OnePlus has official rollback packages, which is just a .ZIP archive like any other update, except it will downgrade to a previous version. Warning: a rollback package will WIPE ALL DATA. So make sure to backup anything you need to keep before downgrading. The upside is you can do a clean flash of the ROM (flashing method where device gets wiped), which is the most stable method and gives you a fresh OS that will use less battery and such.
I think the process of downgrading itself is very simple though. If you get stuck let us know, there's many knowledgeable people here lucky for us so keep a positive attitude and with a little luck we'll both be running Evolution X in the coming days!
Releece said:
As I understand, and as @wuttehhell just confirmed in this thread, once you update OxygenOS beyond Android 11, fastboot and BROM mode don't work anymore. This means you can't install a custom recovery like TWRP to flash a new ROM, neither can you flash it using fastboot.
This means you have to rollback to Android 11 first. Fortunately OnePlus has official rollback packages, which is just a .ZIP archive like any other update, except it will downgrade to a previous version. Warning: a rollback package will WIPE ALL DATA. So make sure to backup anything you need to keep before downgrading. The upside is you can do a clean flash of the ROM (flashing method where device gets wiped), which is the most stable method and gives you a fresh OS that will use less battery and such.
I think the process of downgrading itself is very simple though. If you get stuck let us know, there's many knowledgeable people here lucky for us so keep a positive attitude and with a little luck we'll both be running Evolution X in the coming days!
Click to expand...
Click to collapse
@Releece thanks for the details and so if I have well understood the whole process:
backup datas
Downgrade to Android 11 using the OTA downgrade package and procedure from oneplus (which implies a full reset of device)
Reboot at least one tine in Android 11
Flash TWRP
Reboot in TWRP (be careful not to boot Android or I'll have to reflash TWRP)
Flash Evolution X zip
Boot normally and enjoy Evolution X
Am I correct ? I have seen also that the phone has the same annoying double "bank" when you flash it that I had on previous OnePlus phones. Does it imply I have to do each flashing process on both banks ?
Thanks
vincebay said:
@Releece thanks for the details and so if I have well understood the whole process:
backup datas
Downgrade to Android 11 using the OTA downgrade package and procedure from oneplus (which implies a full reset of device)
Reboot at least one tine in Android 11
Flash TWRP
Reboot in TWRP (be careful not to boot Android or I'll have to reflash TWRP)
Flash Evolution X zip
Boot normally and enjoy Evolution X
Am I correct ? I have seen also that the phone has the same annoying double "bank" when you flash it that I had on previous OnePlus phones. Does it imply I have to do each flashing process on both banks ?
Thanks
Click to expand...
Click to collapse
Yep that should do it, looks like you did your research and understand the process.
I had the same question earlier. Strangely I found that the Nord 2 does not have A / B partitioning. I can only detect an A-partition with apps designed to test it. I didn't have to do anything extra / another way while rooting with Magisk, OTA updates or flashing ROM. I thought A/B was enforced on all phones since Android 10 or sth, but apparently not all.
I would add one extra step, after you reboot into TWRP (before flashing the ROM) make a backup of all the individual partitions one by one (so you can restore any single partition in the future), even the tiniest ones.
Some contain calibration data for e.g. Bluetooth and fingerprint sensor that are specific to your device. Now this whole process should leave them untouched, but if anything ever happens to them, the only way to get your phone working again is to send your phone to a service centre, so it's a good idea to have everything backed up.
They will be stored in the TWRP folder in /sdcard/, which is the folder you can see on your PC. So after backing them all up, you can just copy them to your PC.
I successfully flashed Evolution yesterday, and all went well Initially the new Android 13 UI was a bit of a shock from what I was used to, but I'm starting to like it already, especially after going over the settings. And it works smooooth like butter. The only thing that annoyed me was the haptic feedback, which feels very mushy instead of snappy. But putting vibration strength to low helps a lot. Maybe I can find a way to modify it later.
I had one little hickup: Evolution install instructions say this for TWRP before flashing ROM:
"3. Tap [Wipe] , then [Format data]. type "yes" and Enter"
But when I did this, it removed the media folder at /data/media/ instead of just emptying it. I remember it gave me a pop-up saying something like, for /data/media/ to get populated I would probably need to boot to system. But if I would've done that stock would overwrite recovery.
I don't have a lot of knowledge about this, but this folder gets mounted to /sdcard/ and is where your internal storage is mounted to. So after the wipe I wanted to copy the ROM .zip to my phone using the file manager. Windows did recognize my phone as having internal storage, and I could open it, but it didn't see any file/folder/free space and I couldn't copy anything to it.
I solved it by renaming ROM to sth simple like evolution.zip, placing it inside platform-tools folder, and then using ADB push command, so it looked like:
ADB push C:/platform-tools/evolution.zip /data/
It doesn't give any feedback while copying and I didn't even see much disk usage on Windows task manager, so I was about to get nervous and close the terminal, but then it suddenly completed successfully and I could see the evolution.zip in TWRP file manager. After that flashing took just a few minutes and everything went perfect.
Now I don't know if it's maybe a typo in the instructions or if TWRP had a bug, but I don't think so as it specifically gave me a prompt about it. I think it's better to just tap [Wipe] and then do the usual factory reset slider, with data, dalvik and cache selected. Think I'll make a post later in the Evolution thread to ask.
Good luck!
Hi, I don´t like the colors on Oxygen OS. I don't know if it's cause by our screen or is something related with the ROM. In Samsung or Xiaomi colors are more brilliant and saturated. In Evolution ROM, can you modify this issue?
So I have been able to dowgrade my DN2103 to 11_A20 running Android 11 but I'm stuck there !
Each time I try to flash twrp or load it in device I get that:
[email protected]:~/Bureau$ fastboot boot twrp.img
Sending 'boot.img' (131072 KB) OKAY [ 3.310s]
Booting FAILED (remote: 'not allowed in locked state')
fastboot: error: Command failed
[email protected]:~/Bureau$ fastboot flash recovery twrp.img
Sending 'recovery' (131072 KB) OKAY [ 3.371s]
Writing 'recovery' FAILED (remote: 'not allowed in locked state')
fastboot: error: Command failed
I have unlocked OEM protection into it and allow USB debug. Any ideas what's the problem ?
damn was a long time I had not done Android flashing so was a little more complicated but made it (well it looks to be so far Will see if it boots after initial setup and now hanging on the Phone initial preparation but should go very soon I think
Thanks

Categories

Resources