For now the kernel source has been realeased, will fix Fingerprint and Front camera? - Realme X Questions & Answers

For now the kernel source has been realeased, will fix Fingerprint and Front camera?

Suppose to include the drivers, but you need to wait for the re-pack rom.

Related

[Q] Camera in open source roms

The camera is better in the Sony stock ROM compared with for example CM. I have understood that this is due to the driver being closed source, owned by Sony.
How possible is it that the open source camera will be as good as the proprietary one?
Has Sony ever before released the sources for their other camera drivers, or have they released the driver as a binary blob usable in other ROMs?
I am asking just out of curiosity.

Camera from Oxygen OS?

Is there a chance OP will release the source code so that CM and Aosp will get a good camera? Or is it possible to be reverse engineered or something to work?
Already being discussed here: http://forum.xda-developers.com/oneplus-3/themes/port-official-oxygenos-3-1-3-camera-mm-t3407757

[NOUGAT] ab123321 kernel for Oneplus One

Hi all, now I'm going to present my own custom kernel for Oneplus One!
Feature list:
Compiled with Linaro GCC 6.2 ARM toolchain
kexec patch (Multirom support)
UV support
Working button longpress on wired headset
KCAL display control by savoca
Kernel Samepage Merging (KSM)
Simple Thermal driver by franciscofranco
Qualcomm's MPDecision hotplugging driver is replaced by Nvidia's CPUQuiet for better UX (backported 3.10 version)
CAF's CPU boost driver is replaced by sultanxda's cpu_input_boost driver
Tuned Interactive governor with franciscofranco patches (better freq scaling)
Custom camera blobs from OOS 3.x on any (almost) ROM!
Optimized Low Memory Killer (LMK)
Charging current control by boeffla
QoS patches from Linux 3.10 kernel
Optimized FSync algorithm and ability to disable it <-- Use with caution!
Many many other little adjustments (Over 660 changes have been made to the kernel source!)
Anykernel installation
Very smooth UI
Almost full KA support (WiP)
I've forgotten much, you can check my source on Github
Installation:
Download latest kernel and camera blobs zips (you have to flash blobs only once or after ROM reflash)
Reboot recovery
Flash them
Reboot
Contact me:
If you found any bugs/something doesn't work or you have feature request, contact me in Telegram group
Downloads:
Bacon (OOS 3.x blobs): link
Credits:
franciscofranco, flar2, eng.stk, arter97, sultanxda, lord boeffla and many other people: for contributing to Android kernel development
jcadduono for lazyflasher
@KalilDev for making template for this post because I'm lazy ass very busy
XDA:DevDB Information
ab123321 kernel, Kernel for the OnePlus One
Contributors
ab123321
Source Code: [url]https://github.com/ab123321/android_kernel_oneplus_one/[/URL]
FAQ:
Q: What should I flash first: blobs or kernel?
A: It doesn't matter
Q: Which ROMs are supported?
A: Nougat ROMs with CM kernel are supported. It's most of ROMs for Oneplus One (LOS, AICP, RR etc).
Q: I have issues!
A: Flash ROM => flash SuperSU/Magisk (optionally) => flash needed kernel and blobs
Q: I sill have issues!
A: Take logcat and kmsg and send me in PM (Telegram preferred)
Q: I flashed my favorite Boeffla kernel and camera stopped working! Help!
A: If you want properly working device with custom blobs, flash this kernel, not any other (except it is mentioned by kernel author).
Changelog:
4_2 (09.03.2017) - Simple GPU Algorithm is replaced by Adreno idler, switched from Anykernel to lazyflasher, performance improved much (battery may drain). Now you can flash kernel on ROM with sultanxda camera HAL
3 (17.02.2017) - sultanxda version of blobs is dropped, added lionheart governor, fully reworked default performance profile (better performance and battery life), default read ahead size is 512KB by default
2_1 (06.02.2017) - Little adjustments to sultanxda version (both kernel and blobs zips updated), no need to update if you're currently on beta2. Alpha2_1 version of OOS blobs
beta2 (01.02.2017) - SELinux is set to Permissive mode by default to fix most of camera problems; updates from LineageOS; some charging fixes
beta1 (26.01.2017) - Initial Release
Finally the magic begins.
The magic is out!
Good job
Interesting. So you're saying you can flash this kernel on any ROM and have SultanXDA's camera HAL?
Claudiosvs said:
Interesting. So you're saying you can flash this kernel on any ROM and have SultanXDA's camera HAL?
Click to expand...
Click to collapse
You are right
Do I need to flash sultan blobs separately on lineageos??
Thanks for this mileage.
Installed both zips over the latest resurrection remix 7.1.1 and unfortunately the camera keeps crashing when trying to take photos and videos. Tried with the main and secondary camera and also with flash on and off.
Also saw that 1080p and 2.5k video recording of the secondary camera is not present, so i guess is still a WIP
Logcat after the issues: https://drive.google.com/file/d/0B25zhqsy3xaYSHNQOGd1T1dkaEE/view?usp=drivesdk
Kernek log: https://drive.google.com/file/d/0B25zhqsy3xaYZjFhbEhnQ01CdFU/view?usp=drivesdk
Does this kernel have uv support?
mustang_ssc said:
Thanks for this mileage.
Installed both zips over the latest resurrection remix 7.1.1 and unfortunately the camera keeps crashing when trying to take photos and videos. Tried with the main and secondary camera and also with flash on and off.
Also saw that 1080p and 2.5k video recording of the secondary camera is not present, so i guess is still a WIP
Logcat after the issues: https://drive.google.com/file/d/0B25zhqsy3xaYSHNQOGd1T1dkaEE/view?usp=drivesdk
Kernek log: https://drive.google.com/file/d/0B25zhqsy3xaYZjFhbEhnQ01CdFU/view?usp=drivesdk
Click to expand...
Click to collapse
Thanks! Until I fix this, try to use ut with SELinux Permssive. 1080p and 2.5k formats support is on ROM side
Anyone with official LineageOS? Results? Haha
Gawd said:
Anyone with official LineageOS? Results? Haha
Click to expand...
Click to collapse
It works fine.
Fatsodonkey said:
Does this kernel have uv support?
Click to expand...
Click to collapse
No.
Btw, turn on permissive so that it can save pictures/not crash.
f41lbl0g said:
It works fine.
Click to expand...
Click to collapse
Including the camera? Like literally sultanxda's?
Gawd said:
Including the camera? Like literally sultanxda's?
Click to expand...
Click to collapse
Yes, its literally magical but it works. Try it for yourself.
Awesome kernel, great battery and slick performance.
So this is it. A prophetic hero who would arise to port Sultan's kernel works to Nougat.
Guess I'm keeping my OPO for another year.
flashed the kernel
also flashed the sultan camera libs, no camera crash experienced, so far great, i cant tell the difference though
Hey! Is this a caf kernel?
cudi90 said:
Hey! Is this a caf kernel?
Click to expand...
Click to collapse
It's CM kernel

[ROM][Unofficial] LineageOS 14.1 for Xiaomi Mi Note 3

LineageOS is a free, community built, aftermarket firmware distribution of Android 7.1 (Nougat), which is designed to increase performance and reliability over stock Android for your device.​
Code:
#include <std_disclaimer.h>
/*
* Your warranty is now void.
*
* We are not responsible for bricked devices, dead SD cards,
* thermonuclear war, or you getting fired because the alarm app failed. Please
* do some research if you have any concerns about features included in this ROM
* before flashing it! YOU are choosing to make these modifications, and if
* you point the finger at us for messing up your device, we will laugh at you.
*
*/
LineageOS is based on the Android Open Source Project with extra contributions from many people within the Android community. It can be used without any need to have any Google application installed. You will need to provide your own Google Applications package (gapps). LineageOS does still include various hardware-specific code, which is also slowly being open-sourced anyway.
All the source code for LineageOS is available in the LineageOS Github repo. And if you would like to contribute to LineageOS, please visit our Gerrit Code Review. Your changelog is whatever was merged into gerrit.
Important information:
This thread is for unofficial LineageOS 14.1 builds for Xiaomi Mi Note 3. The following will not be supported here:
Custom kernels
Mods
Xposed
We don't support Xposed and any logcat which includes a Xposed module will be ignored. You're kindly invited to not report bugs if you:
Flashed a custom kernel
Installed or did mods from untrusted sources
Modified system files
Known bugs:
you tell me
Hint:
As Xiaomi hasn't released kernel source for the device, this ROM uses prebuilt kernel from stock
Before flashing this ROM, make sure you've installed MIUI9(the latest is recommended)
Currently kernel&blobs are pulled from miui_MINote3_8.3.8_6a211e88cf_7.1
Changelog:
2017/12/17:
Initial release
2018/02/03:
Sync latest LineageOS source
Switch to OSS kernel, based on LA.UM.6.1.r1-11600-sdm660.0
Allow swapping app switch key and back key
Pocket mode
Allow disabling capacitive keys and enabling virtual keys
Livedisplay CABC & color enhancement
sdcardfs
Switch to bfq I/O scheduler
2017/02/05:
Sync latest LineageOS source
Fix mic when recording videos
Workaround time_daemon crash after applying pti patches
2017/03/10:
Sync latest LineageOS source
Update kernel to CAF LA.UM.6.1.r1-12000-sdm660.0
Fixed unbanlanced irq for fpc fingerprint sensor
Fixed battery stats
Update proprietary blobs
2017/03/14:
Sync latest LineageOS source
Misc kernel fixes&improvements
More robust fingerprint sensor detecting
Fixed green screen in Snap video mode
Fixed NFC firmware downloading
2017/03/16:
Sync latest LineageOS source
Fixed widevine DRM
2017/03/18:
Sync latest LineageOS source
Fixed quick charge
Set GPU idle freq to 160MHz
2017/04/22:
Sync latest LineageOS source
Fixed tethering
Pulled blobs from latest MIUI dev
2017/04/23:
Fixed wifi when secure boot enabled
Installation:
First time flashing LineageOS 14.1 on your device, or coming from another ROM?
Download the zip(s)
Install a compatible Recovery (https://forum.xda-developers.com/android/development/recovery-unofficial-twrp-3-0-3-0-touch-t3716806 is recommended)
Perform a nandroid backup of your current ROM (Optional)
Wipe data/factory reset
Flash LineageOS
Optional: Install the Google Apps addon package, install the SU addon package(https://download.lineageos.org/extras, choose arm64)
Reboot
Credits:
LineageOS Team & Contributors
Code Aurora Forum
......
Download:
https://androidfilehost.com/?fid=746010030569970581
XDA:DevDB Information
LineageOS, ROM for all devices (see above for details)
Contributors
dianlujitao
Source Code: https://github.com/MiNote3Dev
ROM OS Version: 7.x Nougat
ROM Kernel: Linux 4.x
Version Information
Status: Snapshot
Created 2017-12-17
Last Updated 2018-04-23
Xiaomi has released the kernel source of jason, will you continue to support this? @dianlujitao
Thank you and looking forward on your response.
chonghua said:
Xiaomi has released the kernel source of jason, will you continue to support this? @dianlujitao
Thank you and looking forward on your response.
Click to expand...
Click to collapse
I'll release a new build with OSS kernel and bug fixes&new features soon.
dianlujitao said:
I'll release a new build with OSS kernel and bug fixes&new features soon.
Click to expand...
Click to collapse
Why arent you make a thread for mokee rom? Sorry if my question isnt related with this thread.
Amazing job!
I've flashed the latest version and tested it today. Runs really really smooth. Amazing job! :good:
There is a problem with the internal mic(s). It works only for sim calls. I tried recording a video and also I did a video call but there was no audio recording from the mic(s). But instead I connected a headset, and the mic audio from the headset worked.
I'll still use this rom as my daily driver, I just can't stand MIUI!
Looking forward for future updates
Home button doesn't work
I tried this rom and the home button doesn't work.
Gabriele1311 said:
I tried this rom and the home button doesn't work.
Click to expand...
Click to collapse
For me it works, but sometimes it doesn't. I relock the phone and then it works again. Weird
LordTonoicu said:
For me it works, but sometimes it doesn't. I relock the phone and then it works again. Weird
Click to expand...
Click to collapse
Maybe pocket mode doesn't work well with fpc fingerprint sensor. My device uses goodix so I blindly implemented for fpc.
When screen is black and proximity sensor is covered, fingerprint sensor will stop work, this is expected behavior. Can be disabled in Settings->Additional buttons. goodix works as expected but idk how it works with fpc.
Thank you for making the rom. Hope Mi Note 3 will have the sub forum soon!
dianlujitao said:
My device uses goodix so I blindly implemented for fpc.
Click to expand...
Click to collapse
My fpc scanner/button does not work at all.
Also safetynet test fails on CTS profile.
dianlujitao said:
I'll release a new build with OSS kernel and bug fixes&new features soon.
Click to expand...
Click to collapse
Thank you very much for responding mate! More power!
It is possible to use stock camera with portrait mode. Google camera don't work properly
This is so great! thanks @dianlujitaon.
Great Work, Thanks @dianlujitao
dromaczek said:
It is possible to use stock camera with portrait mode. Google camera don't work properly
Click to expand...
Click to collapse
It is possible if it is ported to LOS14 of this device.
LordTonoicu said:
For me it works, but sometimes it doesn't. I relock the phone and then it works again. Weird
Click to expand...
Click to collapse
I reinstalled a lot of times this Rom, I updated to latest version (05/02) and the home button doesn't work...Are there more than one button model?
dromaczek said:
It is possible to use stock camera with portrait mode. Google camera don't work properly
Click to expand...
Click to collapse
Hey there, I flashed this https://forum.xda-developers.com/showpost.php?p=74893764&postcount=1431 and it works, kinda. I mean the portrait mode works , but right after you take the photo, the app crashes but the photo is still saved.
Update: I flashed the latest version (05/02) and the mic works. I also deactivated "Prevent accidental wake-up" and the fingerprint works all the time, and also the battery life seems to have improved, or it might be just me
Amazing job. Thanks a ton @dianlujitao !
Hi, i installed latest nightly.. Look this video i took. LTE signal bar is dropping up and down..
https://youtu.be/SWmGAbbzwi0
What is not working in the last version of the rom?
Thanks a lot
xtreme97 said:
What is not working in the last version of the rom?
Thanks a lot
Click to expand...
Click to collapse
Everythig exept photo is ok,
PHOTO: dont work portret mode, dont work zoom 2x etc. No port of Mi Camera. Unusable cause cant use photo dual camera. No sense to install then. Dont do it, cause you cant use photo dual camera!

Camera not working after kernel update

Hi,
I've created an ARM default config for the kernel tree of @sohamlad7. Everything works fine, except for the camera (and LED light). The error is visible in the line:
QCamera : <HAL><INFO> qcamera::QCamera2Factory::QCamera2Factory(): 150: 0 camera devices detected!
Click to expand...
Click to collapse
I'm not really sure what causes the error. The failing sensor probe is reported as "none critical". I also couldn't find any missing kernel module related to the two sensors. Or is there one of the proprietary camera libraries not working with new kernel?
Is here an Android kernel developer which would point me into the right direction?!
My speculation:
I have seen I your log that the camera the camera sensor/device found I believe that have no read/write permission to detect your camera, but In kernel programming I can't help you. If i lie false correct me.

Categories

Resources