AOSP build - fingerprint sensor not working - Google Pixel Questions & Answers

Hi, I've built aosp for my pixel several times, I've used the lastest google's vendor files, everything is ok but the fingerprint sensor, it's just not working at all. Does it have something to do with gapps? (as I've not installed them, nn google stuff on my phone)?

Related

Accelerometer, Gravity, Linear, Rotation, Proximity Sensors are not avaible!

Hey Guys!
I have been wandering around new roms lately, I am using 64gb Sandstone Black Oneplus ONE device and I am in europe region (Turkey).
I have this issue since I am using CM12.1 nightlies and custom roms, My screen was not auto rotating and I was wondered if its a hardware issue or not. I installed Sensors Kinetics application from google play store, There is bunch of sensors listed in that application but I almost only have 2 or 3 sensors which is lights sensor and a non working proximity that always has 0 cm value and never changes. Tested while talking with my friend from the phone, screen not goes off when I have the phone near my ear.
I lately installed a rom from @Sultanxda Unofficial cm12.1 with CAF kernel. in this firmware my every other sensors are working. Accelerometer showing some results, screen is rotating, proximity tells 1-5cm values, gyro is working etc.
But my sensors are broken in every other ROM I have tried until now. I am now using Slimsaber's rom and my sensors are not working.
I wiped cache & dalvik etc. evet formatted every part of my phone to get a clean install of some roms but still my sensors are not working.
And also I my cell is often get no signal, I have to reboot 2-3 times to get a reception.
Halp me please guys. What can I do to get my sensors back online in Slimsaber's or another roms?
Same here.
Worked fine with the stock ROM, with CM12.1 nightlies proximity and accelerometer do nothing (i.e. not effective).
Strange thing is, in some sensor testing apps the proximity sensor shows some data and seems to function, in others nothing happens. Same with the accelerometer.
Still there's no effect on the phones behaviour. the screen is not locked during calls, no screen rotation, ...
as for reception: unstable but restores quickly (I remember reading something about that...)
cheers!
~def
Look at this:
http://forum.xda-developers.com/showthread.php?t=3127401
Maybe that will help.
Gede said:
Look at this:
http://forum.xda-developers.com/showthread.php?t=3127401
Maybe that will help.
Click to expand...
Click to collapse
:highfive:
Solved it for me, thanks man!
So, if TWRP does not update/flash the modem, it will persist after nighty updates?
[OT: for my own learning process: how come sensors are controlled/defined/whatever in the modem thingy? is there any info or documentaion on "what is where"?]
:good:
~def
Must be something wrong with TWRP, or how they put the zip together..

[DISCONTINUED - Use LOS official][UNOFFICIAL][20190706] LineageOS 16 Oneplus 7 Pro

Note: Since the patches essential for making this device work has been merged into LineageOS main repo, there is no need to maintain a separate unofficial build anymore. All fixes go to the official repository and you can expect the official LOS nightly builds to contain the most updated code. You can still use this thread for bug reports though. But bear in mind that some bugs that only appear on specific batches and cannot be reproduced on our devices are harder to fix.
Introduction
This is an UNOFFICIAL build of LineageOS for OnePlus 7 Pro (5G version NOT TESTED, probably won't work). While most features should be working, remember that this is a very early version and things could break, especially for a device as new as this one. I have literally just got hands on it last weekend and spent a few days fixing issues like the fingerprint scanner and motorized front camera. Please always flash with caution.
What's working
- All basic stuff like telephone, bluetooth, nfc, camera, volte, etc.
- Fingerprint scanner (works but with a few minor issues that doesn't affect using it)
- Front camera motor
- Light sensor (sort of, read below for information)
- 90hz screen (with some bugs described below)
Known Issues + TO-DOs
- When booting, the system will alert you of an "internal problem". This is completely fine, just ignore it for now no more internal problems since 20190629 because it comes with its own vendor image.
- Bluetooth audio not working sometimes. Fixed in 20190622
- Auto brightness doesn't work. Partially fixed in 20190622
- In some cases the phone will crash when playing audio. Seems to be problem of AudioFX. I'm looking into it. If you get stuck in recovery after the phone crashes, you can fix it by simply re-flashing anything. Even re-flashing Magisk will work. Fixed in 20190624
- Light sensor doesn't work exactly as it is in official ROM, causing some issues with auto brightness. This is due to the fact that the light sensor is located under the screen, and OnePlus seem to have some magic in their frameworks code to cancel the effect of the screen. For now, I did a very very dirty hack to make it at least work, but no magic is implemented. Expect some issues with this thing. If you find it annoying, I'd suggest disabling it at least for now.
- I have tried to implement an algorithm to correct the readings of the in-display ambient light sensor, but it is still very very funky especially in low-light environment. Fixed since 20190706
- Fingerprint scanning has some quirks here and there. Sometimes the screen goes entirely black except for the scanning area, sometimes the screen may flash a little bit while scanning (tried to reduce it since 20190629). On landscape mode it appears at the wrong place. (fixed since 20190629) But it at least works. I am working to figure out exactly how to make it perfect but it would take some time. (These were also bugs present on the OnePlus 6T / Xiaomi 9 implementation. I have tried to clean them up and fixed some of the issues that were present. At least the screen now doesn't dim like crazy as on OnePlus 6T / Xiaomi 9 implementation, because it dims the correct amount to make screen area other than the scanner circle to appear as bright or dark as it was before increasing the brightness for scanning. Also it works around the somewhat eye-straining Android brightness-changing animation by using a kernel interface provided by OnePlus, exactly as how they did this in their official ROM.)
(Note: if your fingerprint icon gets stuck on home screen, try the following steps: lock your phone, turn on the screen, swipe up for password/pattern unlock, then immediately press the back button, then use fingerprint to unlock. I'll try to get this fixed in the future.)
- Screen colors and refresh rate is a bit messed up when booting. If you find your screen laggy or strange, just turn it off and turn it back on. Fixed by a hack since 20190629, but expect a slight short blink when booting.
- No 48MP for camera. Kind of what you'd expect for these imx586 devices.
- This ROM doesn't come with its own vendor image yet. It needs to be flashed over OxygenOS to function properly. Comes with full vendor image since 20190629
- Importing keys to TEE does not work. Do not even try it, you may lose access to your data.
- SELinux is permissive.
How to flash
Use the TWRP recovery here https://forum.xda-developers.com/oneplus-7-pro/development/recovery-unofficial-twrp-recovery-t3931322
Since 20190629, you DO NOT need to flash OxygenOS before flashing this ROM anymore.
Note: this rom is only tested with firmware images from oxygen 9.5.5 for now. If you encounter any problem for things like mobile data, please try using firmware from 9.5.5 first.
This procedure is a bit tedious, but it's only because we are on an A/B system device.
1. Restart to bootloader, use `fastboot boot` to boot into the TWRP image
2. In TWRP, wipe data (better: format data)
3. Flash this LineageOS image (this installs it to the other slot)
4. Go to Reboot -> Bootloader (this will reboot to the other slot)
5. Again, use `fastboot boot` to boot into the TWRP image
6. Install OpenGAPPS / Magisk etc. (this installs to the current slot)
7. Reboot system
Downloads
20190706-1: https://mega.nz/#!LQxRhawQ!23i11FlIsO6LY35P1K3F1W0KRHGw8ozkUM66C3icdio
A lot of development has been going on this week due to luk1337, maintainer of official LineageOS for multiple devices, joining the party. Most of changes this week are either directly done by luk1337 or inspired by him.
- Corrected the calibration algorithm of the ambient light sensor. It works mostly fine now.
- Fixed support for in-display fingerprint sensor in Always-on Display mode.
- Fixed support for Wi-Fi Display
- Fixed LiveDisplay calibration / reading mode.
- Revamped the icon of in-display fingerprint scanner
- Fixed GNSS (GPS) support. Before this release, all the location information was network-based.
- Fixed NFC HCE.
- Added support for free-fall protection and manual-press warning for front-facing motorized camera.
- Fixed battery usage data.
History versions:
20190629-1: https://mega.nz/#!rRYRmIRY!4WW0FXYkWvu39t0LF-2RbRkl0aDfSbz_kjgZPotdLMQ
- Now comes with full vendor image, no need to flash OxygenOS vendor anymore.
- No more "internal problems" on boot anymore.
- Rebased the kernel
- Reduced screen blinking when fingerprint scanner is active (due to the rebased kernel)
- Hacked to make the screen work at 90Hz right after booting. No need to lock & unlock anymore (but expect a short blink while booting)
- Fixed double-tap-to-wake. Now the option in settings should be working.
- Fixed the position of fingerprint scanning circle when the screen is rotated.
- Tried to fix the ambient light sensor, but its behavior in an extremely low-light environment is still pretty funky. I hope maybe OnePlus can open-source their official algorithm to correct this thing...
20190624-1: https://mega.nz/#!nF4DwADT!xZ8tbrkCGtWL3A7DYIV_e6GfiprqGJXHEZLqufPCmmg
- Fixed crashes caused by playing audio
20190622-1: https://mega.nz/#!OMASTCZK!wXH7WdvVdAxqv7VjGzPwHy40Pk6cfghTGao-7u-PJQk
- Fixed bluetooth audio
- Added dash charging daemon
- Hacked to make the light sensor ( + auto brightness) at least work
20190621-1: https://mega.nz/#!rEglBKxS!OpA3tNSzlnpJ5pL8PW-x9Ax8Ee695GeIaDi4c-qcrw0
Stock Camera App
I have a modified version of the OxygenOS camera app here for use with LineageOS. It mostly works after a simple hack, however:
- No 48MP available. There must be some magic in official ROM on the frameworks side, and I doubt there is much to do about it
- Gallery integration does not work. Clicking on the gallery shortcut in camera will always say "no photos". You need to go to gallery app manually.
- Slow motion works but it will show a black screen when first started. Switching to another app and then back will fix it.
Remeber that I am not a professional camera modder at all. I have little knowledge in this field, and this is only a fallback solution given that nobody else has worked on modding the official camera of this device yet.
OnePlusCamera-guacamole-20190623: https://mega.nz/#!3YRWSKBR!lrRlslmenLXIBoUQQZnqydogKG4GZxmylX6rVHprHQs
Thanks
- LineageOS (obviously) and especially luk1337 (who maintains LOS for oneplus 6t also)
- OmniROM & phhusson (for their fingerprint scanner implementation as a basis, I cleaned it up a bit and abstracted device-specific logic from the somewhat messy frameworks implementation out to HAL. I think their original implementation for Xiaomi 9 / OnePlus 6T should have been done this way also.)
- All contributors to OnePlus 6T device tree of LOS & OmniROM (I took a good amount of code from there)
- HolyDragon guys (for their early work on the kernel)
- aviraxp
- Guaiyihu
XDA:DevDB Information
LineageOS for Oneplus 7 Pro, ROM for the OnePlus 7 Pro
Contributors
PeterCxy, ashwin4rc, holydragon
Source Code: https://github.com/PeterCxy/android_device_oneplus_guacamole
Kernel Code: https://github.com/PeterCxy/android_kernel_oneplus_sm8150
ROM OS Version: 9.x Pie
ROM Kernel: Linux 4.x
Based On: LineageOS
Version Information
Status: Beta
Created 2019-06-21
Last Updated 2019-06-21
Woohoo! Let the custom ROMs begin...
Let's begin the voyage.
+1 [emoji106]
Thank god for more rom development. I was starting to lose hope on this.
Thanks for this see piece of work.
My only question is atm why 9.5.5 if we have 9.5.8 already?
Thanks in advance #kudos
Gesendet von meinem GM1913 mit Tapatalk
Flashaholic said:
Thanks for this see piece of work.
My only question is atm why 9.5.5 if we have 9.5.8 already?
Thanks in advance #kudos
Gesendet von meinem GM1913 mit Tapatalk
Click to expand...
Click to collapse
+1
mcn1970 said:
+1
Click to expand...
Click to collapse
Flashed over 9.5.8 just fine. You will get vendor internal problem error tho
Any chance of it working on 1901 aka OnePlus 7? Should be working If the model check doesn't hardcode it to use on pro
Looks like on fps test I'm getting 90 although earlier I was getting 60 weird it bounces around like that lol also can't seem to get my Galaxy bids to connect or even get seen.
Edit. Also faceunlock seems to work pretty well also.
Flashaholic said:
Thanks for this see piece of work.
My only question is atm why 9.5.5 if we have 9.5.8 already?
Thanks in advance #kudos
Gesendet von meinem GM1913 mit Tapatalk
Click to expand...
Click to collapse
Simply because when I started it I didn't get 9.5.8. Didn't bother to update the blobs. But the rom should work ok on 9.5.8.
joemossjr said:
Looks like on fps test I'm getting 90 although earlier I was getting 60 weird it bounces around like that lol also can't seem to get my Galaxy bids to connect or even get seen.
Edit. Also faceunlock seems to work pretty well also.
Click to expand...
Click to collapse
Looks like there might be some problems with Bluetooth audio. Will look into it later.
PeterCxy said:
Looks like there might be some problems with Bluetooth audio. Will look into it later.
Click to expand...
Click to collapse
Also auto brightness seems to not work
Very nice! I hope in future build we might be able to choose between fhd+ and QHD resolution
Hopefully the Muppets repo will fork some, thanks for your work
Thanks for your work,I have already flash the img, and hope to find some bugs for you
How would it work if you don't have the EU version since 9.5.5 image is not the global version ?
xdamember143 said:
How would it work if you don't have the EU version since 9.5.5 image is not the global version ?
Click to expand...
Click to collapse
Use any one it doesn't matter
Nice to see here! Kudos
Running this baby
Only bugs
1. Bluetooth earphones won't connect to music but works with calls.
Really miss that 90ghz option, waiting for that to be added.

Very weird fingerprint sensor problem

Hello all, I've been having a problem with the fingerprint sensor and have no idea where the problem comes from.
As you can see from my comment history, I had a problem with LOS15 being unable to find my fingerprint sensor. I thought it was a bug with the ROM so I just went back to OOS and thought nothing of it.
Today, I decided to do a clean install of Android 10 beta. Fingerprint isn't working again... I rolled back with latest fastboot OOS ROM, fingerprint still wasn't working.
Downloaded MSM and went back to stable 9.0.2 - fingerprint working. Updated it to 9.0.9 - still working. Updated to 10 - not working again.
Tried the same but went from 9.0.2 to Beta 25 and then flashing 10 again, fingerprint not working again.
I'm at a complete loss, dialing *#808# and doing both fingerprint tests shows the sensor is working, but nothing happens when I touch it. Now, I have to go back to 9.0.2 with MSM and then go back to beta 25. Lost the whole day thanks to this and still can't understand why it's doing this.
I am sure it is not because of the beta itself because noone else has mentioned anything in the OpenBeta thread and because it also happened when I tried LOS.
This essentially means I'm stuck at Beta 25 or stable 9.0.9 and also that I won't be able to use custom ROMs at all.
I had the same issue, it was faulty finger print sensor. Had to get it replaced
Iamshadderz said:
I had the same issue, it was faulty finger print sensor. Had to get it replaced
Click to expand...
Click to collapse
It can't be a faulty sensor, I think... If it was faulty then how does it work now when I got back on Android 9 ? It makes absolutely no sense and it's starting to make me hate this phone.

Fingerprint not working ONLY on lockscreen.

Hello,
Since i changed my motherboard, my fingerprint unlock sensor isn't working on my lockscreen.
When I put my finger in, the phone does the animation and vibrates but does not unlock. Even when I put a finger that is not added in the settings, I don't get an error, it vibrates and does the animation endlessly.
Nevertheless, on other applications (my bank's one, my password manager or even in the phone's settings to access some options (!!!)), the sensor works perfectly!
I went to check in the CIT, and the fingerprint tests pass perfectly. I even tried several times to recalibrate the sensor, but the problem still persists.
This problem happens on MIUI 13 China (stock) and xiaomi.eu rom, and i tried multiple times to do a factory reset but nothing.
What can i do?
Thanks.
same problem on pixel experience
rvxatt said:
same problem on pixel experience
Click to expand...
Click to collapse
My problem was resolved by MIUI 14.
I don't know why but when the phone vibrate, the fingerprint sensor won't work. MIUI 14 added the option to disable vibration when unlocking, and since my fingerprint sensor works perfectly.
Check if you can disable the fingerprint vibration on PE.
rvxatt said:
same problem on pixel experience
Click to expand...
Click to collapse
Your problem comes from the rom and not from Miui since it is an AOSP rom, post on the rom thread.

Question Fingerprint scanner on custom roms

Hey everyone. I've been trying different roms on my rn11pro 5g for the last week, and it seems like fingerprint scanner won't work on them.
It was working just fine on stock miui, 13.0.2.0 global, but on project elixir (both 12.1 and 13) when trying to add a fingerprint, it reaches the last position on the fingerprint add scale, and gets stuck there. Same thing happens on Evo. On Arrow Os there's simply no fingerprint option in the security settings, not sure if by design or because of my phone.
I even flashed back to miui to check if fingerprint scanner works, and it does. But no luck on custom roms.
I also found some old threads on other redmi devices forums, and it seems like some. Xiaomi models can use different fp scanner modules, namely by either goodix or fpc, and some roms won't work with goodix.
Is that also the case for this phone? So far I've found only one person reporting the same issue as me.
I'm wondering if anyone else has encountered it, or perhaps even solved it
Trying to fix it bcuz I'm facing same on Poco
the fingerprint scanner works for me on both elixir(a13) & evolutionX(a13)
redmi note 11 pro 5G (veux eea)
JustRay76 said:
Hey everyone. I've been trying different roms on my rn11pro 5g for the last week, and it seems like fingerprint scanner won't work on them.
It was working just fine on stock miui, 13.0.2.0 global, but on project elixir (both 12.1 and 13) when trying to add a fingerprint, it reaches the last position on the fingerprint add scale, and gets stuck there. Same thing happens on Evo. On Arrow Os there's simply no fingerprint option in the security settings, not sure if by design or because of my phone.
I even flashed back to miui to check if fingerprint scanner works, and it does. But no luck on custom roms.
I also found some old threads on other redmi devices forums, and it seems like some. Xiaomi models can use different fp scanner modules, namely by either goodix or fpc, and some roms won't work with goodix.
Is that also the case for this phone? So far I've found only one person reporting the same issue as me.
I'm wondering if anyone else has encountered it, or perhaps even solved it
Click to expand...
Click to collapse
I also have problems with my fingerprint, just like you! On stock 13.0.2.0, the fingerprint is normally registered and works fine, but on any custom, the fingerprint is not registered! I have already tried to put almost all customizations for Poco x4 Pro 5g, but either there is no fingerprint registration point in the settings, or registration freezes at the last step and it is not possible to finish it! I really hope that a solution will be found over time !
Same here

Categories

Resources