[Q]Camera 2 API which modifications are needed? - Android Q&A, Help & Troubleshooting

So,
After years i managed to get kernel working now my question would be what are the modifications to the kernel needed to enabled Camera 2 API Support.
It would be great if someone would provide me A Github Repo (Kernel Sources) which has Camera 2 API Enabled .
Its my first time working with kernels lol
Thanks anyways

The Whole camera releated libraries/binaries on ROM and on kernel.
In short, if you're not pro-developer, you can't do that.

Related

Request: Need latest Kernels of ZenDroKat ROM

I hope, this is okay for XDA...
I am only asking for kernels...
NOT for whole ROMs...
Maybe someone has working zImage of latest ZenDrokat for SD & NAND...
I Only have NAND kernel on Wave II...
Need also Kernels for SD and both for GT S8500...
If someon has these files pleas post here or PM me!
Thanks in advance!
V4.5
wave 2
nand
https://mega.co.nz/#!SAlDzRbK!A5t5u3Cv3LwxmZjIdouhcXM3rUskCHWLNQeZSwp4Y4w
sd
https://mega.co.nz/#!aMN0yQ7I!FpbxC0dqgdfCJjK0x-djwlG9oaJQ20VYwqyz86H_EKU
wave1
nand
https://mega.co.nz/#!KYkDRQYI!RS6njFpENUE17S6SWLNN_yWGYug9ad4DeFBfK0E1JCc
sd
https://mega.co.nz/#!uIdkzb7Y!BmPMrVpHqVhN9p-1xgNl1SOyyv46nhKXMtT4dcpK5EM
Taxidriver05 said:
I hope, this is okay for XDA...
I am only asking for kernels...
NOT for whole ROMs...
Maybe someone has working zImage of latest ZenDrokat for SD & NAND...
I Only have NAND kernel on Wave II...
Need also Kernels for SD and both for GT S8500...
If someon has these files pleas post here or PM me!
Thanks in advance!
Click to expand...
Click to collapse
I know Tigrouzen ROM's until now have not been GPL compliant (look here, here or here for example), but sharing this sources may allow XDA talk about it if it become GPL compliant:
Look at this from may 23th:
https://www.facebook.com/tigrouzen/posts/869017383124767
ICZen source 2.5GB compressed, 5GB uncompressed :
This is source not rom, you can modify and compile to make rom.
http://zendrokat.com/ICZen.tar.gz​
Edit1: I am afraid it is not GPL compliant, It seems he is just focusing on new project
-- not all sources have been shared ...
- "Of course i don't give it for free," ...
May 4th
https://www.facebook.com/tigrouzen/posts/856550224371483
If you are interesting from source & kernel pm me :
I make it 5GB full source and 2.4GB compressed, original source it is 20GB.
Support : 2 Weeks, also i support you if you need port Kitkat or Jelly Bean, explain how make it optimize.
Source ICS :
Ready to compile
Support if you have issue or need help and porting.
Very fast compile, 45min for my B960 2 core.
Rom file script :
Support for making it easy way and tweak
With last modification for make theme default.
Kernel source :
All script Nand, SD (bigmem...)
All tweak
Ready to compile, with bash script.
Recovery mode Integrated on kernel source :
I lost the source, but as you see it is complète
I added many thing on
Support for script making.
FBOOT : Multi boot source, like you can use it to boot under to 2 different rom with multi key code.
Kernel goes on 1 folder with 2 different name.
Example : boot ics kernel name : zIcs. Boot Kitkat kernel name zKitkat. Then with key holding you choose which rom you want boot.
I never do it because only support S8500
But it is work.
Of course i don't give it for free,there's more then 5 years experience work before making good kernel and good rom.
Ps : im on new project it is making file sharing next generation. zClouds...
hunktb said:
I know Tigrouzen ROM's until now have not been GPL compliant (look here, here or here for example), but sharing this sources may allow XDA talk about it if it become GPL compliant:
Look at this from may 23th:
https://www.facebook.com/tigrouzen/posts/869017383124767
ICZen source 2.5GB compressed, 5GB uncompressed :
This is source not rom, you can modify and compile to make rom.
http://zendrokat.com/ICZen.tar.gz​
Edit1: I am afraid it is not GPL compliant, It seems he is just focusing on new project
-- not all sources have been shared ...
- "Of course i don't give it for free," ...
May 4th
https://www.facebook.com/tigrouzen/posts/856550224371483
If you are interesting from source & kernel pm me :
I make it 5GB full source and 2.4GB compressed, original source it is 20GB.
Support : 2 Weeks, also i support you if you need port Kitkat or Jelly Bean, explain how make it optimize.
Source ICS :
Ready to compile
Support if you have issue or need help and porting.
Very fast compile, 45min for my B960 2 core.
Rom file script :
Support for making it easy way and tweak
With last modification for make theme default.
Kernel source :
All script Nand, SD (bigmem...)
All tweak
Ready to compile, with bash script.
Recovery mode Integrated on kernel source :
I lost the source, but as you see it is complète
I added many thing on
Support for script making.
FBOOT : Multi boot source, like you can use it to boot under to 2 different rom with multi key code.
Kernel goes on 1 folder with 2 different name.
Example : boot ics kernel name : zIcs. Boot Kitkat kernel name zKitkat. Then with key holding you choose which rom you want boot.
I never do it because only support S8500
But it is work.
Of course i don't give it for free,there's more then 5 years experience work before making good kernel and good rom.
Ps : im on new project it is making file sharing next generation. zClouds...
Click to expand...
Click to collapse
Zendrokat
Yesterday at 12:36am · Edited ·
ICZen source 2.5GB compressed, 5GB
uncompressed :
This is source not rom, you can modify and
compile to make rom.
http://zendrokat.com/ICZen.tar.gz
Use 7zip, already downloaded tested.
black0000 said:
Zendrokat
Yesterday at 12:36am · Edited ·
ICZen source 2.5GB compressed, 5GB
uncompressed :
This is source not rom, you can modify and
compile to make rom.
http://zendrokat.com/ICZen.tar.gz
Use 7zip, already downloaded tested.
Click to expand...
Click to collapse
Those are only ROM sources, but he says kernel sources will come later.
Can the Nand version of the kernel work on Badadroid, more specifically unofficial CM by volk? Can I just flash it or are there any other necessary steps? (Aside from the usual clear dalvik and cache)
Nope!
Tigrouzen's kernels are not compatible with volk204's ROMs.
Taxidriver05 said:
Nope!
Tigrouzen's kernels are not compatible with volk204's ROMs.
Click to expand...
Click to collapse
Hey @Taxidriver05, Tigrouzen mentioned that you had broken video and asked me to give you zImage that makes the video work again.
here it is for Wave I (Nand)
http://speedy.sh/ppwBe/zImage
you'll also notice faster back button and recents window
Silkmeister1
But I need kernel for Wave II...

[Q] Trying to build franco.kernel with cherry picks and SELinux Theme Engine fix

Hello folks!
So I read that Franco had released his kernel for our flounder/volantis. Problem is, I'd like to use fastcharge/2A charging and need the appropriate fixes for selinux and the theme engine of CM12 (all ROMs I like use the theme engine, using permissive mode doesn't help much, still crashes).
I am totally new to compiling from source, I have already managed to clone the repo for flounder from his GitHub though (https://github.com/franciscofranco/flounder).
Steps I have already done:
Code:
git clone https://github.com/franciscofranco/flounder --branch lollipop
I can't find any guides on how to compile for the N9 though, I have pretty much no idea what I need to do. Managed to understand how to apply patches, but I can't find the most important one, the one for the selinux and theme engine support. It was merged in a nightly of CM12 a few weeks/days ago, but I can't find it anywhere on the codereview page or anywhere else. I have already googled around how to compile for other devices and got the required utilities and applied some of the steps that seemed universal/exchangable with the device name I am building for. So could somebody be so kind and give me a little guide on what I need and maybe give me the link to at least the commit with the selinux patch? I'm looking forward to your replies, thank you!

[Q] Tegra3 camera hal problems

I'm trying to compile Android 4.2.2 for the Lenovo A2109A. AOSP 4.1.2 mostly worked out fine, except that panorama mode for the camera didn't work. In AOSP 4.2.2 the camera HAL didn't seem to connect to the camera, so I switched to CM-10.1. Camera HAL loads fine, but it doesn't take pictures. The problem seems to be that the stock camera HAL is linked to a version of libjpeg with proprietary additions from nvidia and I can't figure out what they are. Someone else was able to successfully compile CM-10.1 with a working camera by using libjpeg-turbo for compilation (see here), but it also needs a patch for skia that I can't find.
So right now I'm basically stuck and I'm looking for different ways forward. I could really use your advice. Should it be possible to use the camera hal from a related device instead? I know that the nexus 7 is also a tegra3 device, and very close to A2109. It does use different camera devices, but these can be configured in nvcamera.conf. I used strings to find whether any proprietary lib referenced the specific cameras and I found only one, libnvodm_imager.so. The most important differences appear to be in the kernel source, in the following files:
drivers/media/video/tegra/tegra_camera.c
drivers/media/video/tegra/tegra_dtv.c
My question--to what extent should it be possible to just use the grouper tegra camera files for the kernel and then use the grouper camera HAL? Or do you have a different suggestion for me to proceed? I'm asking because I can hardly code. I am, however, getting better and better with git and patches, and I did manage to fix two compile issues in the lenovo kernel source.
My kernel source is over here. My device tree is over here (defaults to aosp 4.2.2 branch, cm-10.1 is a different branch). Grouper kernel sources are over here.
P.S., I have a development thread over at androidtablets.net, which also contains various details.
Answering my own post...
I tried using grouper HAL, gives error message. But using tf700 camera HAL worked, when used with tf700 libnvcamerahdr.so, both taken from stock 4.2.
So--problem solved

[ROM][Unofficial][CM12.1][BETA][Indonesia Developer ROM][9/30/15]

I DO NOT OWN THE ROM.
The developer of this rom is kumajaya on MIUI forum and thanks to him for his work.
MISSION:
Embarrass Xiaomi because refuse to release Redmi 2 kernel source
BUG:
Before you install this ROM, check your device magnetic sensor. Currently YAS537 not supported!
Still under development, built from sources, no hidden sources, not a binary dirty hack ROM
The following will not be supported in this thread:
- Custom Kernels
- Mods, including CPU management mod or any strawberry mod
- Modified system files
- Xposed
If you reuse even a part of my work here, a proper credit is a must, keep it open source also a must
Download:
Cyanogen and TWRP recovery: https://goo.gl/cDJQXI
CyanogenMod 12.1 ROM: https://goo.gl/zhGZjQ and https://goo.gl/5sqZGp
For better Google experience, install TK GApps Nano: http://forum.xda-developers.com/android/software/tk-gapps-t3116347
Don't create any mirror without a permission!
Cyanogen recovery above just like a standard AOSP recovery without a lot of features compared to TWRP, but you can temporary boot it using "fastboot boot cyanogen-recovery-wt88047.img" command to check if CyanogenMod 12.1 ROM possibly working on your device variant.
Don't even try this ROM on Redmi 2A variant!
Sources:
CyanogenMod source tree: [url]https://github.com/CyanogenMod[/URL]
Kernel source: https://github.com/kumajaya/android_kernel_cyanogen_msm8916
Device specific source: https://github.com/kumajaya/android_device_wingtech_wt88047
Vendor binaries: https://github.com/kumajaya/proprietary_vendor_wingtech
Changelog:
Device specific source: https://github.com/kumajaya/android_device_wingtech_wt88047/commits/cm-12.1
Kernel source: https://github.com/kumajaya/android_kernel_cyanogen_msm8916/commits/cm-12.1-amss-1.0.2-wt88047
Vendor binaries: https://github.com/kumajaya/proprietary_vendor_wingtech/commits/cm-12.1
Credits:
Google, AOSP, Cyanogen, CyanogenMod community, Qualcomm's CodeAurora @balika011, @zwliew, @Flour_Mo
Introducing me: XDA Recognized Developer, CyanogenMod contributor
My wife, she always believed I could restore back her device in minutes
Some tools: Kate (text editor), Kompare (diff viewer and generator), qgit (git GUI)
Smarfren Indonesia for Andromax Q source code
Micromax India for Yuphoria and Yureka source code
Current status:
Boot to Android, this is my first ROM that really boot on the first try
Touchscreen works, all hardware button mapped correctly
No screen flicker, fluid graphics
Voice call and SMS works, data over WiFi and GSM works (radio config in build.prop fix previous GSM issue)
Vibration and screen rotation works
All sensors seem works including GPS and compass but light sensor still need a fine tuning
Both camera working, the author found a super clean solution
No boot animation (fixed, kernel issue) Disable splash screen break Android boot animation but if I enable it, Cyanogen recovery covered by Tux the penguin logo in the center. The workaround solution, move Tux to the top right of the screen
No sound (fixed, kernel and user space issue) This also fix slow boot because of logcat flooding. BUG: Speaker output ignore headset jack insertion, sound out from both speaker and headset
Bluetooth file transfer fail (~42MB zip, failed at 17%) WiFi file transfer way faster
FM radio works
WiFi hotspot works
YouTube and local video 720p works
LED driver working great, multi color and blink
Remember, no contribution from Xiaomi yet. That's the reason why I try to avoid "Xiaomi" string in my source as possible but Wingtech.
I use CyanogenMod resources as much as possible, including common MSM8916 device tree and kernel. Maintain device source tree and leave common part to CyanogenMod community. I'll strictly follow CyanogenMod coding style and source structure. This is about source code quality.
AGAIN, I DO NOT OWN THE ROM.
Will try it soon. And I hope Xiaomi will release the kernel like Redmi 1s.
kumajaya and zwliew are the most stable CM12.1 roms for our phone. I hope they reach 100% full working version in near future.
Thank you both!
Can you upload the changelog for the latest [30/09/15] build. Also is the YAS537 supported
How about some screenshots?
What is the point of this thread when the original poster already has one on XDA?
Sent from my Nexus 7 using Tapatalk
crzlloid said:
Can you upload the changelog for the latest [30/09/15] build. Also is the YAS537 supported
Click to expand...
Click to collapse
There is a link in my post about the changelog and the YAS537 is still not yet supported.
zwliew said:
What is the point of this thread when the original poster already has one on XDA?
Sent from my Nexus 7 using Tapatalk
Click to expand...
Click to collapse
Sorry, but I have already talk to kumajaya about it. Then he ask me to help him on requesting an official sub-forum for our device. Anyways, if anyone here oppose me about posting this thread, then maybe I should delete this.
wow, using this in 2020, 5 years later.

Is there a working basic kernel for source for nikel ?

Hi,
Is there a working kernel source that builds and runs fine on nikel ?I know we need correct kernel modules for fingerprint sensor and camera and such but I don't need those features, I only want a kernel source that builds and boot on the device with working screen and touch.
So does anyone have a source ?
Regards
Hi,
To be honest I just need a kernel where I can load my modules, all the precompiled kernels that I found are compiled without CONFIG_MODULES and an embedded device tree.
so if there is a compiled kernel with
CONFIG_MODULES
CONFIG_MODULE_UNLOAD
CONFIG_MODULE_FORCE_LOAD
CONFIG_MODULE_FORCE_UNLOAD
I can live with that.
Any tip is much appreciated.
Regards
This question is to be asked to Xiaomi. Then you will get the best answer
CMKdaGreatest said:
This question is to be asked to Xiaomi. Then you will get the best answer
Click to expand...
Click to collapse
There are already multiple issues opened on Xiaomi's github account with no response, that's why third party communities like xda-developers exist.
Regards

Categories

Resources