Question Help - Fingerprint and compass sensors not working - Realme 8 Pro

I tried to root my phone. Now the fingerprint and compass sensor not working.
I think I messed up with persist.img
I tried flashing stock rom through MSMtool, flashing persist through fastboot, nothing works.
Sensors not working woith AOSP rom too.
Can you share your persist.img?
Can someone tell me how should I proceed?

Device info, PCB ?
How did u do it ?

Product ID 20711
Unlocked bootloader with in-depth testing tool.
Then patched boot.img with magisk and flashed through fastboot.
Fingerprint and compass gone.
Then flashed entire rom with fastboot. Some partitions succeded, some partitions failed (Error: critical partition cannot be flashed)
Then tried MSMtool, and flashed edl rom.
Tried flashing AOSP GSI rom.
All in vain. Fingerprint and compass not working.
Could you share your persist.img? I'll try flashing it.
Any other advice?

Phone RMX3081, GDPR of EXPORT (Guess Export) NV ?
Code:
You are not the last one. In new version of the script for the persist image won't be replaced !
Update backlist to preserve persist.img by rapperskull · Pull Request #14 · italorecife/OppoRealme-OFP-Flash
Update backlist to preserve persist.img Enforce blacklist for both partitions on A/B devices
github.com
I have locked bootloader and GDPR, the original from ofp is not good

Do you have latest .C20 or .C21 ?
Check https://realmefirmware.com/realme-firmware-update/

I installed C21

Related

How to get sensors back? (Lineage OS 15.1)

Hi,
Recently received my Redmi 4X, and went straight to Lineage OS (Treble). However, I noticed that my sensors (accelerometer, gyroscope, gravity) aren't working. I've tried flashing a few different firmwares (f. ex. Nougat firmware from MIUI ROM 9.5.5.0 NAMMIFA HM4XGlobal with baseband V037_PA and Nougat firmware from MIUI ROM 8.5.17 HM4XGlobal with baseband V037_PA) and also tried flashing persist.img from santoni_global_images_V9.5.10.0.NAMMIFD_20180615.0000.00_7.1_global_a08a39d350, but they still do not work.. Any idea what to try next? Huge thanks to anyone who can give me some pointers..
BR
3D
Same here with latest Resurrection Remix 6.1 - are we the only ones with this issue?
Me too
dastu said:
Same here with latest Resurrection Remix 6.1 - are we the only ones with this issue?
Click to expand...
Click to collapse
Here the same....
DehDehDeh said:
Hi,
Recently received my Redmi 4X, and went straight to Lineage OS (Treble). However, I noticed that my sensors (accelerometer, gyroscope, gravity) aren't working. I've tried flashing a few different firmwares (f. ex. Nougat firmware from MIUI ROM 9.5.5.0 NAMMIFA HM4XGlobal with baseband V037_PA and Nougat firmware from MIUI ROM 8.5.17 HM4XGlobal with baseband V037_PA) and also tried flashing persist.img from santoni_global_images_V9.5.10.0.NAMMIFD_20180615.0000.00_7.1_global_a08a39d350, but they still do not work.. Any idea what to try next? Huge thanks to anyone who can give me some pointers..
BR
3D
Click to expand...
Click to collapse
@Klecker
First I do not own a Mi4, I have a mi8. However, I stumbled upon this post while I was looking for something unrelated and since I have had the issue and resolved it I decided to help you guys. You can repay my time by clicking the Thanks button.
The reason that you are having a sensors issue is because somehow you have either damaged or corrupted your persist partition.
Method 1
The fastest path to fix this issue is to restore a Nandroid backup that you hopeful have. Ideally you only need to restore the persist images.
Method 2
Another option which may will take some trial and error and persistence by downloading a fastboot rom start with the most recently used. It has to be the fastboot version of a Stable rom, and not a modded stock version.
Unpacking the rom your desktop, It will unpack from a 2GB file into a larger 4GB file, now unpack the 4GB file.
You will be left with a rom folder that inside has many files including flashall.bat and a folder full of images.
Place phone into fastboot or EDL mode, and connect to the PC
Next, assuming that you have all ADB tools and drivers installed , double click flasall. bat file.
Now watch as your phone is fully erased, and restored to stock
Once you have restored the phone, and went through the setup process, including signing into to MiCloud. You will be back in business and running again without issues. Norte : Ensure that you backup any wanted files before taking these steps, Also,, you unl;ocked boot loader will remain unlocked.
3rd Method
Unpack the fastboot rom, and manually extract the persist.img and then place it into the sd folder of your phone using recovery file manager.
Boot to TWRP
Go to advanced , then terminal
type: dd if = / sdcard / persist.img of = / dev / block / bootdevice / by-name / persist
After its finished reboot to system, finished
Again If that helped you click thanks instead of saying it.
if it doesn't work for you, try the fastboot flashall method using different roms until it finally works, or better yet, get someone that has the expanded version of TWRP that allows persist partition backups, to make a recovery backup and then share it with you, this will absolutely work too.
Thank you.
I tried first and second method, not working.
Is there somebody with a Redmi 4x Global who is willing to share his working TWRP
persist-backup file?
Thanks in advance
Is there anyone here with a working Redmi 4x who can provide me with a TWRP backup of his persist partition? I tried everything, nothing works.
Thanks in advance
Klecker
Klecker said:
Is there anyone here with a working Redmi 4x who can provide me with a TWRP backup of his persist partition? I tried everything, nothing works.
Thanks in advance
Klecker
Click to expand...
Click to collapse
So I use AICP rom so I don't know if it will work( I don't really know this stuff), but here u go.
I hope I did everything correctly
@edit
And oh, i did it in wolf recovery so I hope it works in twrp as it is based off it

Missing fingerprint sensor options (again)

Okay, I'm convinced that most of people that are able to help me are already familiar with this problem.
It occured when I've attempted to OTA upgrade my firmware (it was one of MIUI 9 stable versions) as I
have only used OTA before. However I had TWRP (mrraines version) installed and also magisk root
(everything from tutorial on xda, in order to install gcam).
So when I tried to OTA upgrade it stopped almost immediately after beginning with failure message and
fingerprint sensor options dissapeared.
I have an International version of MI MIX.
Since then I have tried:
-full wipe + MIUI 10 global (OAHMIHF) flash (via mrraines TWRP) - it didn't work (error 7)
-MIUI 10 global (OAHMIHF) flash via fastboot (didn't help)
-MIUI 10 global (OAHMIHF) flash via fastboot + newest global firmware (8.12.20) + reverse order
-MIUI 10 global (OAHMIHF) via TWRP (the new version with working decryption) found in this topic:
https://forum.xda-developers.com/mi...y-official-twrp-xiaomi-mi-mix-t3498960/page67
-reflash same firmware for non-global version
-full wipe + MIUI 10 from xiaomi.eu (OAHCNFK) via the same TWRP + non-global firmware (in this exact order)
-after reading this topic: https://forum.xda-developers.com/mi-mix/how-to/miui-9-stable-magisk-xposed-t3705951
I have flashed firmware advised there (8.8.3)
-of course I have tried changing pin/unlock pattern resetting, hard reboots and so on
Right now I'm about to try reflashing the same firmware and MIUI 10.2.1 afterwards. Then perhaps developer version.
I also have full recovery from before upgrade, however it was made after I've attempted to OTA upgrade and failed.
In diagnostic options self test is "FAILED!" and checkerboard test is: "NO RESPONSE FROM SENSOR!"
Aida64 recognizes sensor as FPC.
Can it be related to something I have not yet reflashed? I can't live without fp sensor
Please help!
Okay I have found information that fp sensor problems are caused by persist partition.
However flashing China stable 10.1 in EDL mode didn't fix the issue.
Could anyone post a file for fp sensor that is located in persist partition so I would replace mine?
Thanks in advance

[guide][kernel] how to install a gsi[eu variant only guaranteed]

Hey folks i took the afford and unlocked by bootloader and flash a gsi , i noticed sound and wifi were broken and investigated then i recompiled the olive kernel with some changes hacked together a working kernel image (the sources xiaomi provided are broken)
DOWNLOADS:
AndroidFileHost
STEPS
1. unlock your bootloader
2. disable avb by reflashing vbmeta "fastboot --disable-verity --disable-verification flash vbmeta vbmeta.img
2. boot into twrp on your pc type "adb shell" then "mount -o rw /dev/block/bootdevice/by-name/vendor /vendor " (if your touch works in twrp you can just hit mount and vendor)
4. push the edited fstab file "adb push fstab.qcom /vendor/etc/"
5. flash the gsi , download the one of your choise , even tho we are a only we need arm64 a/b gsis others wont work "fastboot flash system pathtogsisystemimghere"
6. wipe the data to remove the encryption "fastboot -w" (if touch in twrp works hit wipe format data type yes)
7. flash my kernel (fastboot flash boot BOOT_GSI.img )
8 reboot the device (fastboot reboot)
9. after first boot is done enable adb
10. type "adb root" then "adb remount" then "adb push pathtotheoverlayapkilinked /system/overlay/" then "adb reboot"
ALL COMMANDS ARE TYPED WITHOUT ""​
Thanks
phh for his gsis
erfan adbi for helping me figuring out how to fix module loading
sellerie for his method of reusing a kernel dtb
me for putting this all together and recompiling the kernel
SOURCES
Thanks for figuring out and writing it all down for us!
Where can I download the vbmeta.img?
Trying to do this. Got a Redmi 8 EU version with novatek touchscreen, no touch in twrp. Should still work, right? I do not need to do anything in twrp correct?
EDIT: Never mind, other recovery works. How does your kernel compare to stock? Why was it necessary to recompile it? I just installed LOS gsi 5 minutes ago, thanks for your help.
(Also, just out of curiosity: What does fstab.qcom do exactly?
M47Z said:
Thanks for figuring out and writing it all down for us!
Where can I download the vbmeta.img?
Trying to do this. Got a Redmi 8 EU version with novatek touchscreen, no touch in twrp. Should still work, right? I do not need to do anything in twrp correct?
EDIT: Never mind, other recovery works. How does your kernel compare to stock? Why was it necessary to recompile it? I just installed LOS gsi 5 minutes ago, thanks for your help.
(Also, just out of curiosity: What does fstab.qcom do exactly?
Click to expand...
Click to collapse
which recovery does work for you also how can i find out what screen i do have , the kernel was needed to be recompiled since the modules werent loading at all so we had no sound and no wifi i edited the kernel config to ignore module signatures and also force load modules.
the new fstab does disable the force encryption if it is enabled the gsi will bootloop
M47Z said:
Thanks for figuring out and writing it all down for us!
Where can I download the vbmeta.img?
Trying to do this. Got a Redmi 8 EU version with novatek touchscreen, no touch in twrp. Should still work, right? I do not need to do anything in twrp correct?
EDIT: Never mind, other recovery works. How does your kernel compare to stock? Why was it necessary to recompile it? I just installed LOS gsi 5 minutes ago, thanks for your help.
(Also, just out of curiosity: What does fstab.qcom do exactly?
Click to expand...
Click to collapse
got ya , uploaded vbmeta.img also uploaded redmi8 overlay apk so brightness will start work etc just check the updated steps 9 and 10
J0SH1X said:
which recovery does work for you also how can i find out what screen i do have
Click to expand...
Click to collapse
probably property sys.panel.display show it. By me:
Code:
~$ adb shell getprop sys.panel.display
tianma
Compatibility
Does all redmi 8 olive support this? ( im new in this gsi and im also noob bout this stuff) thanks!:fingers-crossed::fingers-crossed:
Probe07 said:
Does all redmi 8 olive support this? ( im new in this gsi and im also noob bout this stuff) thanks!:fingers-crossed::fingers-crossed:
Click to expand...
Click to collapse
You are in correct thread. If something is not working in GSI for your olive , you can report it here.
jkkk88 said:
You are in correct thread. If something is not working in GSI for your olive , you can report it here.
Click to expand...
Click to collapse
yeah he is in the right thread , it might work on other variants or maybe not , it will boot for sure but idk if my kernel will work for any other variant then eu , just test and report
Could you give a noob a link to where I can find gsi's. If there are more than one please give me a link to the one you used succesfully. Thanks.
OK, found little time and tried:
history:
MIUI version: MIUI Global 10.3.1 | Stable / 10.3.1.0 (PCNEUXM)
MIUI version: MIUI by xiaomi.eu 11.0.4 | Stable / 11.0.4.0 (PCNCNXM)
GSI AOSP 10.0 v.208 / AOSP 9.0 v.123 installed according J0SH1X guide
Wifi, touchscreen working only till first display lock. Display brighthness and volume cannot be smoothly set
Currently getting warning before first login after each reboot:.
There's an internal problem with your device. Contact your manufacturer for details.
When touchscreen doesn't respond to your taps, you can still use mouse connected via OTG or ADB cli.
Mouse and adb is working fine also in Unofficial TWRP 3.3.1-1127 for REDMI 8 by wzsx150, just checked.
jkkk88 said:
OK, found little time and tried:
history:
MIUI version: MIUI Global 10.3.1 | Stable / 10.3.1.0 (PCNEUXM)
MIUI version: MIUI by xiaomi.eu 11.0.4 | Stable / 11.0.4.0 (PCNCNXM)
GSI AOSP 10.0 v.208 / AOSP 9.0 v.123 installed according J0SH1X guide
Wifi, touchscreen working only till first display lock. Display brighthness and volume cannot be smoothly set
Currently getting warning before first login after each reboot:.
There's an internal problem with your device. Contact your manufacturer for details.
When touchscreen doesn't respond to your taps, you can still use mouse connected via OTG or ADB cli.
Mouse and adb is working fine also in Unofficial TWRP 3.3.1-1127 for REDMI 8 by wzsx150, just checked.
Click to expand...
Click to collapse
the warning is expected because my kernel securety patch level is newer then the one provided by vendor , the boot level is the day i packed the bootimage thats why this is happening and i dont have an idea how to set
J0SH1X said:
got ya , uploaded vbmeta.img also uploaded redmi8 overlay apk so brightness will start work etc just check the updated steps 9 and 10
Click to expand...
Click to collapse
Alright so this took me a while, this is what I found out:
I got Redmi 8 EU 4/64GB, on MIUI V11.0.1.0.PCNEUXM. I tried all this stuff with LineageOS 16 GSI (download here)
So I tried to follow your steps and it seems to be working alright. But there were some bugs: Fingerprint would not work. When I would set up a pin, pattern etc, it would not work after setup. LineageOS complained about decrypted phone. I then tried all kind of things and this is what I found out:
- We dont need a custom kernel. The stock one from latest stable MIUI (V11.0.1.0.PCNEUXM) works just fine as far as I have tested.
- We do not need a modified vbmeta, just flash the stock one with --disable-verification option.
- Instead of flashing fixed overlay we can also fix the brightness in LOS by entering "setprop persist.sys.qcom-brightness $(cat /sys/class/leds/lcd-backlight/max_brightness)" in adb su shell.
So the fastest way to get LOS running (at least on EU version, without TWRP) should be:
0. Make sure you are on latest stable MIUI V11.0.1.0.PCNEUXM. Download and unpack LineageOS 16 GSI, also download vbmeta_stock_V11.0.1.0.PCNEUXM.img from attachments.
1. Unlock bootloader.
2. Flash system image: "fastboot flash system /path/to/lineage-16.0-20191017-UNOFFICIAL-treble_arm64_bvN.img"
3. Wipe data: "fastboot -w"
4. Disable verification: "fastboot flash vbmeta --disable-verification /path/to/vbmeta_stock_V11.0.1.0.PCNEUXM.img"
5. Reboot: "fastboot reboot"
6. Fix screen brightness: Enable developer settings, in there enable root for adb. Connect to PC and type:
Code:
adb shell
su
setprop persist.sys.qcom-brightness $(cat /sys/class/leds/lcd-backlight/max_brightness)
Done! LineageOS 16 works, fingerprint and pin working, encryption working, brightness working,found no bugs so far but only tried it for a couple of hours. Don't know if we need your kernel and mods for other roms though. On LineageOS something in your steps breaks the system, I guess it is the edited fstab and/or the --disable-verity option when flashing vbmeta (or vbmeta itself? ).
Hope this helps someone! Merry christmas!
M47Z said:
Alright so this took me a while, this is what I found out:
I got Redmi 8 EU 4/64GB, on MIUI V11.0.1.0.PCNEUXM. I tried all this stuff with LineageOS 16 GSI (download here)
So I tried to follow your steps and it seems to be working alright. But there were some bugs: Fingerprint would not work. When I would set up a pin, pattern etc, it would not work after setup. LineageOS complained about decrypted phone. I then tried all kind of things and this is what I found out:
- We dont need a custom kernel. The stock one from latest stable MIUI (V11.0.1.0.PCNEUXM) works just fine as far as I have tested.
- We do not need a modified vbmeta, just flash the stock one with --disable-verification option.
- Instead of flashing fixed overlay we can also fix the brightness in LOS by entering "setprop persist.sys.qcom-brightness $(cat /sys/class/leds/lcd-backlight/max_brightness)" in adb su shell.
So the fastest way to get LOS running (at least on EU version, without TWRP) should be:
0. Make sure you are on latest stable MIUI V11.0.1.0.PCNEUXM. Download and unpack LineageOS 16 GSI, also download vbmeta_stock_V11.0.1.0.PCNEUXM.img from attachments.
1. Unlock bootloader.
2. Flash system image: "fastboot flash system /path/to/lineage-16.0-20191017-UNOFFICIAL-treble_arm64_bvN.img"
3. Wipe data: "fastboot -w"
4. Disable verification: "fastboot flash vbmeta --disable-verification /path/to/vbmeta_stock_V11.0.1.0.PCNEUXM.img"
5. Reboot: "fastboot reboot"
6. Fix screen brightness: Enable developer settings, in there enable root for adb. Connect to PC and type:
Code:
adb shell
su
setprop persist.sys.qcom-brightness $(cat /sys/class/leds/lcd-backlight/max_brightness)
Done! LineageOS 16 works, fingerprint and pin working, encryption working, brightness working,found no bugs so far but only tried it for a couple of hours. Don't know if we need your kernel and mods for other roms though. On LineageOS something in your steps breaks the system, I guess it is the edited fstab and/or the --disable-verity option when flashing vbmeta (or vbmeta itself? ).
Hope this helps someone! Merry christmas!
Click to expand...
Click to collapse
vbmeta is stock non patched one i extracted out of a stock rom zip i downloaded also i noticed the kernel thing aswell , idk why it wasnt working earlier for me but if anyone has no working wifi and sound we atleast know how to fix that , also install the overlay apk it will fix up notch and statusbar and rounded corners aswell
M47Z said:
Alright so this took me a while, this is what I found out:
I got Redmi 8 EU 4/64GB, on MIUI V11.0.1.0.PCNEUXM. I tried all this stuff with LineageOS 16 GSI (download here)
So I tried to follow your steps and it seems to be working alright. But there were some bugs: Fingerprint would not work. When I would set up a pin, pattern etc, it would not work after setup. LineageOS complained about decrypted phone. I then tried all kind of things and this is what I found out:
- We dont need a custom kernel. The stock one from latest stable MIUI (V11.0.1.0.PCNEUXM) works just fine as far as I have tested.
- We do not need a modified vbmeta, just flash the stock one with --disable-verification option.
- Instead of flashing fixed overlay we can also fix the brightness in LOS by entering "setprop persist.sys.qcom-brightness $(cat /sys/class/leds/lcd-backlight/max_brightness)" in adb su shell.
So the fastest way to get LOS running (at least on EU version, without TWRP) should be:
0. Make sure you are on latest stable MIUI V11.0.1.0.PCNEUXM. Download and unpack LineageOS 16 GSI, also download vbmeta_stock_V11.0.1.0.PCNEUXM.img from attachments.
1. Unlock bootloader.
2. Flash system image: "fastboot flash system /path/to/lineage-16.0-20191017-UNOFFICIAL-treble_arm64_bvN.img"
3. Wipe data: "fastboot -w"
4. Disable verification: "fastboot flash vbmeta --disable-verification /path/to/vbmeta_stock_V11.0.1.0.PCNEUXM.img"
5. Reboot: "fastboot reboot"
6. Fix screen brightness: Enable developer settings, in there enable root for adb. Connect to PC and type:
Code:
adb shell
su
setprop persist.sys.qcom-brightness $(cat /sys/class/leds/lcd-backlight/max_brightness)
Done! LineageOS 16 works, fingerprint and pin working, encryption working, brightness working,found no bugs so far but only tried it for a couple of hours. Don't know if we need your kernel and mods for other roms though. On LineageOS something in your steps breaks the system, I guess it is the edited fstab and/or the --disable-verity option when flashing vbmeta (or vbmeta itself? ).
Hope this helps someone! Merry christmas!
Click to expand...
Click to collapse
how did you fix fingerprint and pattern im kinda loosing my mind over it here , if i reenable force encryption the phone will ALWAYS reboot to twrp with pstore telling me vold died , im using aosp not lineageos tho
J0SH1X said:
how did you fix fingerprint and pattern im kinda loosing my mind over it here , if i reenable force encryption the phone will ALWAYS reboot to twrp with pstore telling me vold died , im using aosp not lineageos tho
Click to expand...
Click to collapse
Thought I was not the only one restore latest MIUI with fastboot method. Important: Check "clean all" instead of "clean all and lock" or you will have to do the whole unlock process again. After that, follow the steps exactly as I wrote in the post before. Do NOT flash BOOT_GSI.img, fstab.qcom or treble-overlay-xiaomi-redmi8.apk. You do not need TWRP for this, but you can just install it afterwards if you want. Good luck! :good:
J0SH1X said:
vbmeta is stock non patched one i extracted out of a stock rom zip i downloaded also i noticed the kernel thing aswell , idk why it wasnt working earlier for me but if anyone has no working wifi and sound we atleast know how to fix that , also install the overlay apk it will fix up notch and statusbar and rounded corners aswell
Click to expand...
Click to collapse
I guess vbmeta changed with some later update then! The one I attatched is also just pulled from latest MIUI, no modification. I strongly think wrong/mismatching vbmeta and/or --disable-verity option while flashing it causes the fingerprint/pattern/pin/... bug, at least in LineageOS 16 GSI.
M47Z said:
Thought I was not the only one restore latest MIUI with fastboot method. Important: Check "clean all" instead of "clean all and lock" or you will have to do the whole unlock process again. After that, follow the steps exactly as I wrote in the post before. Do NOT flash BOOT_GSI.img, fstab.qcom or treble-overlay-xiaomi-redmi8.apk. You do not need TWRP for this, but you can just install it afterwards if you want. Good luck! :good:
I guess vbmeta changed with some later update then! The one I attatched is also just pulled from latest MIUI, no modification. I strongly think wrong/mismatching vbmeta and/or --disable-verity option while flashing it causes the fingerprint/pattern/pin/... bug, at least in LineageOS 16 GSI.
Click to expand...
Click to collapse
The vbmeta flag is not it that's the official way of disabling avb documented in Google docs.
Also I pred phh to fix brightness
https://github.com/phhusson/device_phh_treble/pull/137
J0SH1X said:
The vbmeta flag is not it that's the official way of disabling avb documented in Google docs.
Click to expand...
Click to collapse
Well we surely do not need it to run LOS. Is it possible it does not need avb disabled? OP in the thread says: "verified booting on an arm64 ab device I own".
But I am 100% sure: On untouched latest stable MIUI, if you follow the steps by OP exactly with LOS, it will not work, you will get fingerprint/pin/... error and non encrypted device. If you do it like I wrote, flashing latest stock vbmeta with --disable-verification only, and NOT installing fstab.qcom, BOOT_GSI.img or treble-overlay-xiaomi-redmi8.apk, it will all work nicely. If vbmeta is not the issue, then it is the fstab. Might be different for other roms of course.
J0SH1X said:
Also I pred phh to fix brightness
https://github.com/phhusson/device_phh_treble/pull/137
Click to expand...
Click to collapse
Nice :good:
As there is a new Version , here is the vbmeta for those who want to try it out with V11.0.2.0.PCNEUXM. I got it from here:
https://xiaomifirmwareupdater.com/miui/olive/
I will try it in a few weeks.
And many thanks to @M47Z for your instructions. This will save me and others much time.
rudolfm said:
As there is a new Version , here is the vbmeta for those who want to try it out with V11.0.2.0.PCNEUXM. I got it from here:
https://xiaomifirmwareupdater.com/miui/olive/
Click to expand...
Click to collapse
Hmm maybe I am blind but... there is no V11.0.2.0.PCNEUXM right? Global and China got 11.0.3.0, Indonesia and India got 11.0.2.0, and Europe and Russia got 11.0.1.0 at the moment. So latest for European phone is V11.0.1.0.PCNEUXM right?
M47Z said:
Hmm maybe I am blind but... there is no V11.0.2.0.PCNEUXM right? Global and China got 11.0.3.0, Indonesia and India got 11.0.2.0, and Europe and Russia got 11.0.1.0 at the moment. So latest for European phone is V11.0.1.0.PCNEUXM right?
Click to expand...
Click to collapse
Global version has two different versions.one of them PCNEUXM (Europe)
and one is the real global PCNIM blah blah blah blah blah.....really stupid xiaomi ...
Sent from my Redmi 8 using Tapatalk

Locking the Bootloader

Hello everyone,
as many of you, I also want to lock my bootloader after finding that my X2 Pro bought used few days ago was unlocked and with TWRP installed.
It was stuck to Color OS 6 with security patch updated at february and it had installed Magisk.
I tried to flash Realme UI but I couldn't because it had installed official TWRP and not the right one.
I formatted everything and after some hours of research and trials I managed to install Realme UI with security patches updated (october).
Now, I don't have TWRP but official recovery instead. No signs of Magisk and any other data because I formatted everything few time during my flashing trials.
I don't have fingerprint and face recognition, I think due to the fact the bootloader is unlock, yet.
To overcome this, I found a video-guide used for X2 (not Pro) in which I saw that after flashing the Realme UI, rebooting recovery and formatting data, those sensors worked again but with X2 Pro this procedure won't work.
To recap: I have official firmware and recovery, no fingerprint and face recognition. I think that I can use the official guide for locking the bootloader again as the app says that I can roll-out from the in-depth program.
Was someone in my situation? I mean, locking the bootloader with FP and FU disabled before relocking?
I ask this because I found a thread in which the user said that it was necessary to make FU and FP work again before locking the bootloader.
I had this phone for less than a week and I can't take a decision.
Thank to anyone in advance.
you must now download the FASTBOOT format of Android9 pie rom (6gb) and use REALME FLASHER which will
1. place original recovery
2. flash all partitions and downgrade your device to android pie (Color OS 6.1)
reboot
test you onscreen fb and other sensors while on setup ( IT SHOULD WORK) because you are on stock recovery! and vbmeta.img is untouched
now install DEEP testing and wait, it will check your device (use 4g data sim / NOT WIFI)
click end deep testing!
this will RELOCK your bootloader, (while you are on Original recovery ) and wipe all the data!
now your device is locked again!,
download ROM (recovery rom) from realme site, for latest REALME UI ( this file will be OPPO encrypted 3gb of .0zip) but since you are on stock recovery, you can use it to flash it.
reboot again to the NEWEST Realme ui and check the fingerprint sensor
now install DEEP TESTING APK again and try unlocking the BOOTLOADER, once unlocked the the DATA will be WIPED AGAIN
now you are on REALME UI (latest), stock recovery, no partitions altered and you will be taken to SETUP again,
your FB should work!
join this text and see the guide (xda keep sensoring it so i had to break it)
thecustomdroi d.com/realme-flash-tool/
YasuHamed said:
you must now download the FASTBOOT format of Android9 pie rom (6gb) and use REALME FLASHER which will
1. place original recovery
2. flash all partitions and downgrade your device to android pie (Color OS 6.1)
reboot
test you onscreen fb and other sensors while on setup ( IT SHOULD WORK) because you are on stock recovery! and vbmeta.img is untouched
now install DEEP testing and wait, it will check your device (use 4g data sim / NOT WIFI)
click end deep testing!
this will RELOCK your bootloader, (while you are on Original recovery ) and wipe all the data!
now your device is locked again!,
download ROM (recovery rom) from realme site, for latest REALME UI ( this file will be OPPO encrypted 3gb of .0zip) but since you are on stock recovery, you can use it to flash it.
reboot again to the NEWEST Realme ui and check the fingerprint sensor
now install DEEP TESTING APK again and try unlocking the BOOTLOADER, once unlocked the the DATA will be WIPED AGAIN
now you are on REALME UI (latest), stock recovery, no partitions altered and you will be taken to SETUP again,
your FB should work!
join this text and see the guide (xda keep sensoring it so i had to break it)
thecustomdroi d.com/realme-flash-tool/
Click to expand...
Click to collapse
OMG tahnk you so much for your help.
I didn't receive any notification of your reply so I couldn't answer you before.
Before reading your reply I successfully locked the bootloader with REALME UI on it but FP and FU doesn't work.
I thought that it may be caused by the fact that bootloader was unlocked with Colors OS 6.1 (Android 9) and then I relocked it with Realme UI 1.0 (Android 10).
For this operation I used the official tool usable only with Android 10.
Do you think I should unlock the bootloader again, downgrade to Color OS 6.1, lock the bootloader and only then update my device to Realme UI?
If so, how can I downgrade the Android version? With their flashing tool it can't be done.
Hope you well and thank you in advance for your help.
Dude try this,
Download Realme flash tools here from my Google Drive:
realme_Flash_Tool_V2.zip
drive.google.com
Now download OFP file to use with the flash tool here:
OFP files
https://www.droidwin.com/flash-ofp-realme-flash-tool/
docs.google.com
Boot into bootloader and flash it. See if it helps.

Question [Indian Version] Unlocked bootloader, fingerprint stopped working.

Yesterday I unlocked bootloader and tried to install custom rom.
Before that I disabled verity and flashed magisk patched boot.img.
Then I tried to install GSI custom rom.
I even succeeded in the attempt; I was able to install Pixel-experience gsi rom
But then came the issue, I was not able to register fingerprint.
So, I flashed stock rom. Still fingerprint does not work.
I don't have access to MSM flash tool. I tried to flash with italorecife's tool.
I couldn't flash some partitions with it. (Could flash them due to critical partition)
I even relocked the bootloader, still it doesn't work.
I am a newbie, so if someone could guide me on how to use MSM tool, or how to properly flash the stock rom.
Any help is appreciated.
Help - Fingerprint and compass sensors not working
I tried to root my phone. Now the fingerprint and compass sensor not working. I think I messed up with persist.img I tried flashing stock rom through MSMtool, flashing persist through fastboot, nothing works. Sensors not working woith AOSP rom...
forum.xda-developers.com
Forget fingerprint , use facelock , I have used facelock , my device is same problem...
TechnoR1 said:
Yesterday I unlocked bootloader and tried to install custom rom.
Before that I disabled verity and flashed magisk patched boot.img.
Then I tried to install GSI custom rom.
I even succeeded in the attempt; I was able to install Pixel-experience gsi rom
But then came the issue, I was not able to register fingerprint.
So, I flashed stock rom. Still fingerprint does not work.
I don't have access to MSM flash tool. I tried to flash with italorecife's tool.
I couldn't flash some partitions with it. (Could flash them due to critical partition)
I even relocked the bootloader, still it doesn't work.
I am a newbie, so if someone could guide me on how to use MSM tool, or how to properly flash the stock rom.
Any help is appreciated.
Click to expand...
Click to collapse
Your device fingerprint hardware need calibration. It can be fixed at service centre.
Vijay india said:
Forget fingerprint , use facelock , I have used facelock , my device is same problem...
Click to expand...
Click to collapse
TechnoR1 said:
Yesterday I unlocked bootloader and tried to install custom rom.
Before that I disabled verity and flashed magisk patched boot.img.
Then I tried to install GSI custom rom.
I even succeeded in the attempt; I was able to install Pixel-experience gsi rom
But then came the issue, I was not able to register fingerprint.
So, I flashed stock rom. Still fingerprint does not work.
I don't have access to MSM flash tool. I tried to flash with italorecife's tool.
I couldn't flash some partitions with it. (Could flash them due to critical partition)
I even relocked the bootloader, still it doesn't work.
I am a newbie, so if someone could guide me on how to use MSM tool, or how to properly flash the stock rom.
Any help is appreciated.
Click to expand...
Click to collapse
After removing the GSI rom, flash the PERSIST partition in fastboot inorder to fix your FP problem.

Categories

Resources