[NEWS] YAS537 Magnetic Sensor enabled on Redmi 2 Prime CM12.1 - Miscellaneous Android Development

The Cyanogenmod 12.1 ROM developed by kumajaya has incorporated a fix for the YAS537 Magnetic sensor which was not working in Redmi 2 Prime version until now. The ROM is available for download at http://en.miui.com/thread-148731-1-1.html .Although there are tweaks needed for the perfect working of the Sensor, it is a major advancement given the fact that Xiaomi has not yet released it's kernel sources.

using rr 5.5.9 without this sensor.how can i get this fix only from the rom.any solution?

Related

[Completed] Xiaomi RN3 fingerprint not working

I switched from MIUI 8.1.1.0 to official Lineage OS 14.1 2017.1.25 (with Gapps pico). First i noticed, that my fingerprint not working, so i thought, that maybe i have a goodix sensor, and Lineage OS doesn't support it. Then I flashed the unofficial 2017.1.08 goodix build by Minz1 (https://forum.xda-developers.com/redmi-note-3/development/rom-minz1s-lineageos-rom-t3528736), but that didn't help. Then I flashed Ressurrection remix 5.8.0 2017.1.14, but it had the same issue.
I even tried to flash a CM firmware, but nothing changed.
What should I do?
Hi !
The most accurate help can be found in the thread that you already posted above
Most probably this lineageOS and the other custom roms based on it aren`t fully functional for your device and this is the risk that users must take
You can always flash back the original rom in order to have a working device
Good luck !
Okay, thanks

Redmi note 3 kenzo all sensors not working after flashing custom rom

I have Redmi note 3 kenzo. First rom i flashed was MIUI 8 global beta and everything was fine and working.
use that rom for a month and then flashed lineage os (unofficial). It had VoLTE probem so i shifted back. then again i flashed lineage os and got the VoLTE patch. After few days I flashed Ressurection remix for my device and in few i realised that sensors stoped working. It happened between flashing lineage and Ressurection remix.
I tried everything I could think of (tried the miui global beta rom and 1-2 other kernels also but all in vain!)
Accelerometer, gyroscope , magnetometer, proximity and sensor for auto brightness are not working. GPS is working perfectly.....Please help ASAP
Hello and welcome to Assist
I cant find a solution for your issue and since i dont own the device, please register an account and ask for help in your device help section linked below
https://forum.xda-developers.com/redmi-note-3/help
Good luck

[APP] OnePlus Music v1.2.1 APK (Deodexed)

Having seen many requests for the OnePlus Music APK on both XDA and OnePlus Forums (due to people not being able to reinstall the app because it was odexed) I decided to finally deodex the APK.
See downloads tab for latest version
Download Mirrors
Download (Google Drive) | Download (Mega)
XDA:DevDB Information
OnePlus Music Deodexed, App for OnePlus 3/3T
Supported devices
* OnePlus 3 / 3T
* Asus Zenfone 2 Z00A @jad88
* HTC One M7 (AICP 12.1) @DJdarkster
* Huawei Honor 5X (RR 5.8.3) @mauam
* LG G5 H850 (Nougat V20d-OPT1-HQ) @3m10z
* Micromax Canvas 6 Pro @Manikandan daww
* Moto G 2nd Gen 2014 (Titan) @raisul2010.5396
* Moto G3 Osprey XT1550 2 GB RAM @rahul9999
* Moto G4 Plus @Ashokk8
* OnePlus 2 (RR 5.8.3) @chetan_1215
* Samsung Galaxy A3 2017 @XenosRi
* Samsung Galaxy S5 Neo @apryanovv
* Xiaomi Redmi 3 (AICP 12.1) @krasCGQ
Test on your own device and tell me if it works / what doesn't work
Software used / Thanks to
Deodexed with smali/baksmali
Signed with sign.jar
Developed by OnePlus
Licence
The OnePlus Music app is licensed under Apache v2.0, hence this deodexed modified version is too.
Contributors
ZeevoX
Version Information
Status: Stable
Current Stable Version: v1.2.1
Stable Release Date: 2017-05-18
Created 2017-05-18
Last Updated 2017-05-18
Worked on Asus Zenfone 2 Z00A. Thank you
Sent from my Asus ZenFone 2 using XDA Labs
The singed one also works on Galaxy A3 2017
XenosRi said:
The signed one also works on Galaxy A3 2017
Click to expand...
Click to collapse
Thanks! The unsigned version is if you wish to install it as a system app or sign it with your own private key. If you're installing it as a normal APK, make sure you use the signed version (it's signed with the public Android Open Source Project key, so no worries)
Works perfectly on Honor 5X, Resurrection Remix 5.8.3 rom.
Seems to work fine on Redmi 3 running self-built AICP 12.1 + my own kernel.
Sent from my Redmi 3 using XDA Labs
Can confirm its working in oneplus 2 RR 5.8.3, Also V4A is working in it
Also works on S5 Neo (Stock MM Rom) :good:
It is working on Micromax Canvas 6 pro..stock rom
Working on moto G4 plus
@ZeevoX working with Moto G3 Osprey XT1550 2 GB RAM model - OnePlus Music v1.2.1 deodexed Signed
Works fine on LG G5 H850 with Nougat V20d-OPT1-HQ no root. Tested with Signed version, unsigned show me a corrupted package error.
App works fine on my HTC One M7 running AICP 12.1
Sent from my One using XDA Labs
Confirmed working on Moto G 2nd Gen 2014 (Titan) Thanks a ton!
Hi man ! Why it's not working on stock Lollipop 5.1.1?
The app crashes on my stock Lollipop 5.1.1 device(LYF water 1). Why? Can you please fix this??
Confirmed Fully working on my one plus one running latest CM12.1 Snapshot ROM!
Thanks so much
working in xiaomi mi mix 2

fix fingerprint sensor stops working after installing Resurrection remix on redmi 4

someone pls help me fix fingerprint sensor, which stopped working after installing Resurrection remix (naugat) on redmi 4 (global variant)
there,s no problem with the sensor on the other roms(mi stock rom.. i have checked it).
it worked on RR after flashing, but the whole fingerprint setting disappeared as soon as i restarted my phone
i flashed the rom a couple of times, but the situation is still same
i also tried flashing some goodfixes, but they didnt work
someone pls fix this issue !!!
Different custom roms have different problems... I think this rom not support for fingerprint function.. Before install custom rom read the rom description carefully... the rom developer note all problems in rom description... The goodway to get back your fingerprint sensor is install the stock rom again...
Sent from my SHV-E210S using Tapatalk
I have the same issue...I would love any fix...please anyone?
I got the same problem too of fingerprint sensor after installing RR rom version 5.8.2 running nougat 7.1.2 on Moto E4 plus Xt1770 mtk variant. After surfing YouTube, i came to know that RR does supports fingerprint authentication but in my devices it ain't supporting. Please help me out.

General Xiaomi 12 / Xiaomi 12 Pro OSS Kernel Sources

After reading about the fast kernel source release for the Xiaomi 12 and Xiaomi 12 Pro one could think that xiaomi did a good job at complying with the GPL v2 license and providing useful sources for developers of custom kernels. But appearances are deceiving: The provided kernel sources are incomplete and partially broken.
The most important issues are that xiaomi pushed incomplete devicetree sources which are neither provided by qualcomm anymore unfortunately and the touchscreen drivers are really out of date which leads to broken double tap to wake and under display fingerprint sensor. Additionally building the kernel isn't as trivial as it sounds anymore since many kernel modules are built outside of the kernel tree now.
During the past days i have spent some time on getting a source built kernel including modules and devicetree running on Xiaomi 12.
I have sucessfully booted the kernel and uploaded this work to github.com/xiaomi-sm8450-kernel.
Using this manifest one is able to compile the OSS kernel for Xiaomi 12 and Xiaomi 12 Pro.
I hope that this can help other developers working on the Xiaomi 12 and Xiaomi 12 Pro!
For instructions to build the kernel and more details about missing sources please refer to the manifest on github.
Note that double tap to wake and fingerprint sensor don't work as is on the stock ROM.
Also note that the OSS display-devictree for Xiaomi 12 Pro is missing the configurations for some referesh rates which were supported on MIUI. This could be dumped and included from the stock dtbo.img with some effort.
If you encounter issues with this OSS kernel feel free to ask me and i will give my best to help.
To finish this thread i want to draw further attention to the fact that this is not a one-time issue with the OSS kernels for Xiaomi devices and the situation seems to get even worse. The newer Redmi K50 gaming got kernel sources which don't include any external respositories, as in no techpack drivers and no devicetree sources at all. The new Xiaomi 12S series still has not seen any open source kernel release.
I hope this project helps to set a better starting point than the xiaomi oss release to other developers for the Xiaomi 12 and Xiaomi 12 Pro.
Thanks for thus clarification Arian. Sad story....To be continued... Quo Vadis Xiaomi?
ti think the xiaomi 12 has suffered a performance squeeze... this is not because of the heat.... i have tried thermal unlocking and overclocking the CPU GPU and updating the driver 617 the result shows the real performance is vastly different many
Can you tell me which version of clang can be used to build the kernel from the sources for lineageos 20? And which commands to use? I would like to build a kernel for Kali Nethunter, but when using any of the defconfig I get compilation errors
Can you explain how to flash built kernel..? I built the kernel and I get the kenrel image but I don't know how to flash it to the device...
Would you know if this is also the case for Mi11 Ultra tree?
The OSS for the 12S and 12S Pro has just been released recently if anyone is interested in looking at it:
GitHub - MiCode/Xiaomi_Kernel_OpenSource at mayfly-s-oss
Xiaomi Mobile Phone Kernel OpenSource. Contribute to MiCode/Xiaomi_Kernel_OpenSource development by creating an account on GitHub.
github.com
I would be interested to hear if the kernel source for the 12S family is also incomplete, like the regular Xiaomi 12 series
pj_ said:
Can you explain how to flash built kernel..? I built the kernel and I get the kenrel image but I don't know how to flash it to the device...
Click to expand...
Click to collapse
You need to pack the boot, vendor_boot, vendor_dlkm and dtbo images, the easiest way is to do that within the LineageOS tree.
KeepingKeyes said:
The OSS for the 12S and 12S Pro has just been released recently if anyone is interested in looking at it:
GitHub - MiCode/Xiaomi_Kernel_OpenSource at mayfly-s-oss
Xiaomi Mobile Phone Kernel OpenSource. Contribute to MiCode/Xiaomi_Kernel_OpenSource development by creating an account on GitHub.
github.com
I would be interested to hear if the kernel source for the 12S family is also incomplete, like the regular Xiaomi 12 series
Click to expand...
Click to collapse
Yes, unfortunately this devices source situation is even worse. On all the recent releases xiaomi did not release the audio, display and camera drivers. The released touchscreen driver does not compile either, though i fixed that by guessing and the driver works now: https://github.com/xiaomi-sm8450-ke...3b9d0f69ecd2ba01674a0dc29cfdc86782bb7c9d6c3da

Categories

Resources