yashsingh1/xdaforums huggingface dataset:
[Moto X4 ROMs, Kernels, Recoveries, & Other Develop] OverkillTASF:
I don't understand the question here.

Mobile data doesn't _always_ fail when I have AFWall enabled. But every time it fails, I can fix it by disabling AFWall. So... seems like it's definitely connected. Wish I could figure out what I needed to give permissions to.
[Moto X4 ROMs, Kernels, Recoveries, & Other Develop] jerryspring:
When you initially set up your phone and ask you to use Wi-Fi or mobile data. Did you use choose mobile data or did you choose Wi-Fi?

---------- Post added at 01:47 AM ---------- Previous post was at 01:47 AM ----------

Reset app preferences and reboot
[Moto X4 ROMs, Kernels, Recoveries, & Other Develop] OverkillTASF:
I probably used wifi at initial setup, as I probably didn't even have a SIM installed until I verified that LOS was working well. I'll try the AFWall reset and let you know.
[Moto X4 ROMs, Kernels, Recoveries, & Other Develop] abrfilho:
It's under development.
[Moto X4 ROMs, Kernels, Recoveries, & Other Develop] jerryspring:
In your opinion which recovery is better? Syber or the official TWRP?
[Moto X4 ROMs, Kernels, Recoveries, & Other Develop] jerryspring:
Phone screen shut off as soon as I hit dial. Had to boot to fastboot just to reboot phone.
[Moto X4 ROMs, Kernels, Recoveries, & Other Develop] Tom_Scott:
Hi, after installing of Lineage OS 16.0 with TWRP all works fine as TWRP will overwritten by an own LineageOS recovery. But when I reinstall the TWRP the LineageOS is going back into TWRP when I'm trying to start the System after 1 Minutes. So, in conclusion I have a Bootloop when I install Lineage and TWRP toghether. Any suggestions?

Ciao

Tom
[Moto X4 ROMs, Kernels, Recoveries, & Other Develop] jerryspring:
After flashing ROM, flash twrp installer. Then chose reboot recovery. It may say no os installed, reboot recovery anyway. After recovery reboots, flash whatever else u need like magisk, then wipe...format data...then reboot.
[Moto X4 ROMs, Kernels, Recoveries, & Other Develop] Tom_Scott:
Thank you for the quick answer but I did this like you proposed. LineageOS 16.0 tries to boot but ends in TWRP again and again.... It does not work together with TWRP on my phone.

What I got:

- TWRP 3.3.0.1

- LineageSO 16.0 20200307 nightly

Ciao

Tom
[Moto X4 ROMs, Kernels, Recoveries, & Other Develop] jerryspring:
Use 3.3.1. also sometimes if you get in this so-called boot loop, you have to access bootloader by holding volume down and power button... Then choose restart. This happens with these two slotted devices

---------- Post added at 06:33 PM ---------- Previous post was at 06:32 PM ----------

Remember, always smash that thanks button. Hehe

---------- Post added at 06:34 PM ---------- Previous post was at 06:33 PM ----------

Are you sure you are formatting data in the wipe section? I get these boot loops like you do when I do not do that
[Moto X4 ROMs, Kernels, Recoveries, & Other Develop] Tom_Scott:
Thanks Jerry,

but...

All your hints don't work for my phone. It wont work LineageOS 16.0 together with TWRP 3.3.1. I got TWRP 3.3.1, I have formated /data (this where you have to enter ""yes"), and booting to bootloader in between wont work. :(

Other question beside of that: Can I use "MindTheGApps-8.1.0-arm64" with LineageOS 16.0 ?

Best regards

Tom
[Moto X4 ROMs, Kernels, Recoveries, & Other Develop] jerryspring:
And why are you the only one experiencing these issues? What phone do you have... do you have the x t 1900 -1 or retail?

No. This ROM is 9.0
[Moto X4 ROMs, Kernels, Recoveries, & Other Develop] Tom_Scott:
I have the XT1900-7 phone type.

Here is an additional, interesting thing I have found out:

In the step between flashing the LineageOS 16.0 and flashing the GApps you have to reboot into Recovery/TWRP again as the active slot has to switch from slot-A to slot-B but this does not happen on my phone. After rebooting into TWRP again it remains at slot-A. :eek:

Ciao

Tom
[Moto X4 ROMs, Kernels, Recoveries, & Other Develop] abrfilho:
I'm using Syber's one.
[Moto X4 ROMs, Kernels, Recoveries, & Other Develop] erfanoabdi:
Yeah this device will receive los17 when it gets official
[Moto X4 ROMs, Kernels, Recoveries, & Other Develop] jerryspring:
this device is confusing lol
[Moto X4 ROMs, Kernels, Recoveries, & Other Develop] Tom_Scott:
Hi again,

installation is still not working on my phone. I did the following steps;

Yes, this is excatly what I did --> see comments in brackets '[]'

But after reboot to recovery again (see step 6.) the slot remains A.

After step 9 "reboot" the LineageOS 16.0 splash screen, that with this moving circle on a green bow, shows for 1 minute and then the TWRP restarts agin.

Don't know whants wrong.

Ciao

Tom
[Moto X4 ROMs, Kernels, Recoveries, & Other Develop] jerryspring:
I told u to button combo volume down and power to get to fastboot...then chose start
[Moto X4 ROMs, Kernels, Recoveries, & Other Develop] Tom_Scott:
Doing this also not work. Same behavior when I restart Recovery by TWRP.

It does not matter if TWRP is restarting via bootloader or not. Same result that the slots will not switched.

Tom
[Moto X4 ROMs, Kernels, Recoveries, & Other Develop] jerryspring:
Sometimes I will hit reboot and chose slot a or slot b. Try that too?

---------- Post added at 03:46 PM ---------- Previous post was at 03:45 PM ----------

Try not flashing twrp installer.
[Moto X4 ROMs, Kernels, Recoveries, & Other Develop] Tom_Scott:
--> I will try this when I'm home today evening.

--> Yes, maybe this can work. But on the other hand this results in lost TWRP forever. Its because LineageOS16 performs in a bootloop to Recovery once I load TWRP temporary via fastboot (command: "fastboot boot TWRP_3.3.1.img")

or

install the TWRP_3.3.1zip. I experienced this yesterday. :confused:

Ciao

Tom
[Moto X4 ROMs, Kernels, Recoveries, & Other Develop] jerryspring:
You will not lose twtp forever. If u successfully flash ROM without twrp installer , you can always access fastboot and install twrp installer at a later date.
[Moto X4 ROMs, Kernels, Recoveries, & Other Develop] Tom_Scott:
Hi again,

This hint was the one that helps. The slots were not swapped when I reboot the phone petween install ROM and GApps. So I would extend the steps described below by the following (in red color):

1. unlock bootloader

2. boot twrp.img via fastboot

3. install copy partitions from twrp [I got this from post #2 and Installed from external_sd card by executing "Install zip" of TWRP]

4. install ROM from twrp (now on slot A, it will be installed to slot B) [Installed from external_sd card by executing "Install zip" of TWRP]

5. Install twrp.zip from twrp (will be installed to both slots A/B) [Installed from external_sd card by executing "Install zip" of TWRP]

5a. Go to "Reboot" in TWRP and note the current active slot

6. reboot to recovery (slot after boot is B, shown in the reboot menu) [The slot after boot is still A on my phone ]

6a. Check the active slot is the other one noted in step 5a (showed in "Reboot" section of TWRP).

If not swap the slot manually (Goto "Reboot" and press the appropriate "Slot-..." button)

6b. Reboot to recovery again and check the slot set in 6a is now the active slot

7. flash gapps/SU 'openGApps_arm64_9.0_...zip' (will be installed to slot B)

8. wipe and format data

9. reboot - system

In conclusion:

LineageOS 16 works for me too. Also MAGISK is working and be able to hide some outdoor games :silly: that require unrooted phones. The CTS/basicIntegrity SaftyNet check are true both.

Nexte task:

Go working of 'Viper4Android' and copy all my data and settings from my old phone to the new one.

Regards

Tom
[Moto X4 ROMs, Kernels, Recoveries, & Other Develop] jerryspring:
Viper caused me bootloop
[Moto X4 ROMs, Kernels, Recoveries, & Other Develop] Tom_Scott:
Thanks for the hint. I will make a full TWRP backup before my tries with viper.

Do you use MAGISK? Maybe you need to install a special MAGISK Audio library.

Ciao

Tom
[Moto X4 ROMs, Kernels, Recoveries, & Other Develop] IronTechmonkey:
Not nagging you personally, just taking the opportunity for a general reminder:

Viper (and substratum) are responsible for more false ROM issue reports than any other things I've seen in these forums, which in turn makes them responsible for an exodus of developers who prefer actual bug reports, as well as undermining the believability of future bug reports that are actually valid. Once there are problems with a ROM flash the first next step...before reporting the issue to the ROM dev.. is to get rid of those third-party factors especially viper and substratum.

Again, not a direct nag. I'm actually glad to see some people working their way through the misery of A/B and trying to get a successful TWRP backups of LOS on this device. Just a reminding: the quality and reception of viable bug reports will be better with that third-party stuff left out of it.
[Moto X4 ROMs, Kernels, Recoveries, & Other Develop] Theo.ware:
Is there an Android 10 version available soon?
[Moto X4 ROMs, Kernels, Recoveries, & Other Develop] code2k:
Yes! Lineage 17.1 builds have been resumed, and the Moto X4 is in the queue. If there are no problems the first build should be available soon.

https://www.lineageoslog.com/build
[Moto X4 ROMs, Kernels, Recoveries, & Other Develop] noogi:
Lineage 17.1 for Payton just arrived!
[Moto X4 ROMs, Kernels, Recoveries, & Other Develop] mariotullece:
is there any possibility to get fingerprint gestures in new builds of los 17.1?
[Moto X4 ROMs, Kernels, Recoveries, & Other Develop] st0nedpenguin:
They're already in there?
[Moto X4 ROMs, Kernels, Recoveries, & Other Develop] mariotullece:
I actually did not installed this new official build, but a friend have said that there's no fingerprint gestures, weird.

By fingerprint gestures I mean this exactly printed screen (from SuperiorOS latest unofficial).
[Moto X4 ROMs, Kernels, Recoveries, & Other Develop] dhinesh_cool:
U cannot get this type on official los

Fp gestures are still there but u cannot customize like on superior or other roms
[Moto X4 ROMs, Kernels, Recoveries, & Other Develop] shar88:
Are these upgrade instructions accurate? I can go from los 16 w mindthegapps to 17.1 w opengapps without wiping anything?
[Moto X4 ROMs, Kernels, Recoveries, & Other Develop] guhvanoh:
I didn't read those instructions. I would backup everything I have to at least 2 repositories and try it. If it works, jump for joy. If it doesn't, still jump for joy. Then wipe everything, do a very clean install and restore from backup data that you need.
[Moto X4 ROMs, Kernels, Recoveries, & Other Develop] mikib1:
I try to install 17.1 and after it I lost wi-fi and mobile data and phone (baseband is lost)... now when I want buck to 16.0 I'm stuck... no way back for now, recovery not working (error 255 on persist). Look's like I did something really bad and wrong... but I have no idea what. Any help or solution? I try also clean flash of stock rom. Model is XT-1900-7 (Polish)...
[Moto X4 ROMs, Kernels, Recoveries, & Other Develop] dyb-:
I upgraded from 16 to 17.1 without any problems via sideload. But when I try to sideload GAPPS, it says "Signature verifivation failed error: 21". If I continue anyway, it will install gapps without any further error, but while booting the first time the phone crashes. Any ideas how to solve?
[Moto X4 ROMs, Kernels, Recoveries, & Other Develop] TooYellow:
I updated to 17.1 build 20200403 via sideload with no issues.

I found you have to reboot back into recovery after updating to 17.1 in order to install open gapps otherwise it thinks you still have Android 9 installed.

The one only thing that I have come across is that the Pixel launcher crashes. Open gapps 10 is beta anyway and Trebuchet still works so I'd say it was a success.

Woot!
[Moto X4 ROMs, Kernels, Recoveries, & Other Develop] TomPatzer:
installed from scratch. Everything looked fine. But then I put in my sim card and the system freezed after PIN input when then the launcher starts. Any idea?
[Moto X4 ROMs, Kernels, Recoveries, & Other Develop] D1G174L 4C1D:
I had the same problem (with the baseband no the other stuff) i think the build from the 2. and 3rd were broken.

I fixed it by flashing this, and then flash the flashing the build from the 4th.

You can flash the rom that i linked by unzipping it and using the commands here while in bootloader mode:

fastboot oem fb_mode_set
fastboot flash partition gpt.bin
fastboot flash bootloader bootloader.img
fastboot flash modem_a NON-HLOS.bin
fastboot flash fsg_a fsg.mbn
fastboot erase modemst1
fastboot erase modemst2
fastboot flash bluetooth_a BTFM.bin
fastboot flash dsp_a dspso.bin
fastboot flash logo_a logo.bin
fastboot flash boot_a boot.img
fastboot flash system_a system.img_sparsechunk.0
fastboot flash system_a system.img_sparsechunk.1
fastboot flash system_a system.img_sparsechunk.2
fastboot flash system_a system.img_sparsechunk.3
fastboot flash system_a system.img_sparsechunk.4
fastboot flash system_a system.img_sparsechunk.5
fastboot flash system_a system.img_sparsechunk.6
fastboot flash system_b system_other.img
fastboot flash oem_a oem.img
fastboot erase carrier
fastboot erase userdata
fastboot erase ddr
fastboot oem fb_mode_clear

Maybe do a "fastboot --set-active=a" before. I don't know if that is actually necessary.

I booted the stock rom one time and had cell reception i then rebooted it one time and shut it down.

Went to the bootloader after and baseband didn't say <not found> anymore.

After that you can do everything you did to install a rom before, i also used the copy-partitions.zip again to populate the other partition with all the right stuff again, don't know if that is necessary either, but everything is working now for me with the 17.1 build from the 4th.

Good luck!

---------- Post added at 06:01 PM ---------- Previous post was at 05:59 PM ----------

Which build did you use? The two builds before the 4th didn't work for me either.
[Moto X4 ROMs, Kernels, Recoveries, & Other Develop] TomPatzer:
I toke the fourth! I will wait two or three builds. Then I try it with a normal update. I'm not in hurry! Please give a sign If a build is okay.

Thanks
[Moto X4 ROMs, Kernels, Recoveries, & Other Develop] Ricco59163:
Good job team:good:
[Moto X4 ROMs, Kernels, Recoveries, & Other Develop] alephsca:
it will be possible used the two cameras or one nav gestures? or this is impossible? .... i read the forum and i don't know how support you, if will need any help, just say ... sorry about my english :(
[Moto X4 ROMs, Kernels, Recoveries, & Other Develop] munchy_cool:
what was the error message when installing twrp? and yes we do need recovery log for that issue.
[Moto X4 ROMs, Kernels, Recoveries, & Other Develop] munchy_cool:
help = go through the code and try to fix those. :D
[Moto X4 ROMs, Kernels, Recoveries, & Other Develop] Hariiiii:
Does LineageOS even support or do anything with OneNav? The sensor seems to work just fine, but the HID keycodes listed in the files in the below directory in sdm660 common are incorrect. I can send you the correct keylayout once I'm home from work if it will even change anything.

https://github.com/erfanoabdi/android_device_motorola_sdm660-common/tree/lineage-15.1/keylayout

Also this directory '/sys/bus/spi/devices/spi8.0/key_enable' listed in the file below, does not exist.

https://github.com/erfanoabdi/andro...eageos/settings/device/actions/Constants.java
[Moto X4 ROMs, Kernels, Recoveries, & Other Develop] alephsca:
in xt1900-6 working very fine too
[Moto X4 ROMs, Kernels, Recoveries, & Other Develop] ptn107:
Mobile hotspot is not working. It's set up and PC can connect but no data is getting through. Traceroute/pingroute is not getting past the phone. Reverted to stock real quick and it works. Downloading the 6/17 LOS build to see if it works on that one. xt1900-1

Update: Still doesn't work on LOS 20180617
[Moto X4 ROMs, Kernels, Recoveries, & Other Develop] gee one:
It's working on my phone. I'm tethered now. My x4 retus, not project fi, is running a homebrewed build from Sunday night.
[Moto X4 ROMs, Kernels, Recoveries, & Other Develop] Droidge:
Great ROM, but I found a bug. VoLTE on Jio (India) is broken on a second boot, and org.codeaurora.ims doesn’t show its ”HD” notification either. This makes it practically broken for anybody using a Jio SIM card for their primary number.

Also, could support for the hidden notification LED be added? It doesn’t seem to work even when “Blink light” is enabled in notification settings.
[Moto X4 ROMs, Kernels, Recoveries, & Other Develop] Prayas29:
Well the LED notification works for me, it's really tiny to see. But it's right beside the earphone speaker. And it's a single light
[Moto X4 ROMs, Kernels, Recoveries, & Other Develop] erfanoabdi:
Send me logs from

First boot or any working boot and broken boot :

"Adb logcat -b all" from PC

I want to compare and find out what is wrong

Thanks
[Moto X4 ROMs, Kernels, Recoveries, & Other Develop] Giocarro:
I'm on the fence looking at these new custom ROMs available for our X4, so please help me clarify a few points:

1) does Lineage have the option to set navigation bar height? If I'll take the plunge I'm interested in having a navigation bar narrower than Android' standard;

2) is it possible to tweak the kernel with Kernel Adiutor or something similar?

3) is it possible to install and use Moto Display in some way?

Thanks!

P.S. Plese bear with me as I'm asking the same questions all over the three custom ROMs threads.
[Moto X4 ROMs, Kernels, Recoveries, & Other Develop] Prayas29:
I just noticed that the front camera is using only 4MP, while it is a 16MP lens. Anybody else noticing this?
[Moto X4 ROMs, Kernels, Recoveries, & Other Develop] igna.98:
You can only use 16 MP in Moto Camera. You can download it in play store
[Moto X4 ROMs, Kernels, Recoveries, & Other Develop] abrfilho:
Try this mod.

https://xdaforums.com/moto-x4/themes/root-camera-mod-moto-x4-t3777368
[Moto X4 ROMs, Kernels, Recoveries, & Other Develop] Samyantak:
Is it also for xt 1900-2
[Moto X4 ROMs, Kernels, Recoveries, & Other Develop] munchy_cool:
yes.

if you just read the post you quoted, you would have found the answer.
[Moto X4 ROMs, Kernels, Recoveries, & Other Develop] abrfilho:
https://www.xda-developers.com/lineageos-15-1-supports-a-b-devices-moto-z2-force/

With that it'll be easier to develop and optimize custom ROMs for our devices? What'll change?
[Moto X4 ROMs, Kernels, Recoveries, & Other Develop] munchy_cool:
I will let our lead dev [MENTION=6298645]erfanoabdi[/MENTION] answer that question. he's the BOSS.
[Moto X4 ROMs, Kernels, Recoveries, & Other Develop] dvvaldivia:
On call volume

is anyone facing a low volume on call?? no mather if i press volume up or down, the slider goes up and down but the volume remains the same, with speaker or not :/
[Moto X4 ROMs, Kernels, Recoveries, & Other Develop] mikib1:
Thak you, I made a progress and I have baseband back (wifi and mobile work again) now I'm stuck on the way back to my lineage rom (16.0). I used almost the same steps you wrote. Now want switch stock to lineage first 16.0 and later 17.1... when I cool down a little after I almost lost my phone. :p
[Moto X4 ROMs, Kernels, Recoveries, & Other Develop] D1G174L 4C1D:
Glad you got it worked out. :)
[Moto X4 ROMs, Kernels, Recoveries, & Other Develop] D1G174L 4C1D:
Hmm, weird i have the build from the 4th running since it came out and i don't have any problems.
[Moto X4 ROMs, Kernels, Recoveries, & Other Develop] erfanoabdi:
sorry for late thread update
[Moto X4 ROMs, Kernels, Recoveries, & Other Develop] boomerxyz:
I'm having a heck of a time getting Lineage OS 17.1 payton installed and I've installed hundreds of roms!! I finally got it installed using the 04/04/2020 version of Open Gapps, but I can't complete Finish Setup. It keeps crashing and then reappears in the status bar to complete again. I get System UI Keeps Stopping. Any suggestions?

Also, Magisk 20.4 will not install. I had to install 20.3 and update.
[Moto X4 ROMs, Kernels, Recoveries, & Other Develop] TomPatzer:
I tried it again from scratch. This time I used the version 20200407. If there is no sim card inside, everything looks fine. After the insert of my sim card ( I did it with two different sim cards ) i was asked for my PIN. Afterwards the system freezes. Any idea?

Thomas
[Moto X4 ROMs, Kernels, Recoveries, & Other Develop] boomerxyz:
Streaming apps like YouTube TV cause the phone to crash. This happened with other Android 10 roms, but installing liboemcrypto_disabler with Magisk fixes it. The problem is, this is not available in the Magisk downloads any longer. Luckily I had a copy on another phone with the download and was able to install it. Now the streaming apps work fine.
[Moto X4 ROMs, Kernels, Recoveries, & Other Develop] Toboe3:
Got a similar problem:

If i turn on airplane mode system works fine.

if i turn on mobile data or wifi it crashes within ~10 sec (max observed 14), tested by turn mobile/wifi on and start the prepared stop clock. (3 tries each for wifi and mobile data)

Down grading to the last 16 version leads to a "can't start until you factory reset".

After Factory reset it works normally again.

In case it is relevant for devs: xt1900-7
[Moto X4 ROMs, Kernels, Recoveries, & Other Develop] leetripper:
I have the same problem with Netflix. I downloaded liboemcryptodisabler from github, but it doesn't install. "No Magisk Module". Netflix_Enabler doesn't work too. Can you share your module somehow?
[Moto X4 ROMs, Kernels, Recoveries, & Other Develop] boomerxyz:
Hopefully this link will allow you to download liboemcrypto_diabler_v1.4(14).zip. You install it through Magisk.

https://drive.google.com/file/d/1-ForobsnupFMqvXsgLjEf7LH9Loo3gya/view?usp=sharing
[Moto X4 ROMs, Kernels, Recoveries, & Other Develop] leetripper:
that finally did the trick ;) thank you!
[Moto X4 ROMs, Kernels, Recoveries, & Other Develop] boomerxyz:
As of the 04112020 update, I can't receive phone calls. Anyone else? Could be an outage.
[Moto X4 ROMs, Kernels, Recoveries, & Other Develop] p-ho:
Freezes as soon as I insert my SIM-card

Same problem as Toboe3 and TomPatzer:

The phone freezes as soon as I insert my SIM-card.

Wifi (and also Bluetooth) is working fine.

I've already reset the modem (but to no avail):

fastboot flash modem NON-HLOS.bin
fastboot flash fsg fsg.mbn
fastboot erase modemst1
fastboot erase modemst2
fastboot erase carrier
fastboot erase ddr

logcat -b radio returns the following error messages shortly before freeze:

04-12 01:54:11.474 2143 2143 E EmergencyNumber: Found unexpected duplicate numbers: EmergencyNumber:Number-112|CountryIso-de|Mnc-|ServiceCategories-111|Urns-[]|Sources-10000|Routing-0 vs EmergencyNumber:Number-112|CountryIso-de|Mnc-|ServiceCategories-111|Urns-[]|Sources-10000|Routing-0
04-12 01:54:11.474 2143 2143 E EmergencyNumber: Found unexpected duplicate numbers: EmergencyNumber:Number-911|CountryIso-|Mnc-|ServiceCategories-0|Urns-[]|Sources-0|Routing-0 vs EmergencyNumber:Number-911|CountryIso-|Mnc-|ServiceCategories-0|Urns-[]|Sources-0|Routing-0
04-12 01:54:11.474 2143 2143 E EmergencyNumber: Found unexpected duplicate numbers: EmergencyNumber:Number-110|CountryIso-|Mnc-|ServiceCategories-0|Urns-[]|Sources-0|Routing-0 vs EmergencyNumber:Number-110|CountryIso-|Mnc-|ServiceCategories-0|Urns-[]|Sources-0|Routing-0
[Moto X4 ROMs, Kernels, Recoveries, & Other Develop] drsemaj87:
Missing Boost Mobile APN. No data connection.
[Moto X4 ROMs, Kernels, Recoveries, & Other Develop] SyberHexen:
Please provide your mnc/mcc
[Moto X4 ROMs, Kernels, Recoveries, & Other Develop] drsemaj87:
How do I do that?
[Moto X4 ROMs, Kernels, Recoveries, & Other Develop] wkn000:
What is the preferred recovery for that LOS 17.1 version?

I tried TWRP 3.3.1-0 (also temporary used for first install), but being asked for decrypt password for data at recovery start, which is unknown to me, so cancel is only option there (causing issues?).

So i am back on LOS recovery now, but it seems to have less functionality compared to TWRP yet?
[Moto X4 ROMs, Kernels, Recoveries, & Other Develop] mariotullece:
remove your pin/password and fingerprint unlock before entering twrp