Differences between kernels & versions & quality

For general discussion and questions specific to Android development for HTC HD2/Leo
Moderator: Forum Moderator

Differences between kernels & versions & quality

Postby 0perat0r » Fri Nov 22, 2013 2:16 pm

Firstly I want to say that I'm using NexusHD roms for more than 2 years now. I'm aware of version differences and kernel modifications had to be done to boot the new versions and I want to ask some questions about them.

Why there are too much image quality changes in camera. For example I'm now on different rom ( 2.3.7 rom myMIUI b16 to be exact ) I take photos up to 3 MB and has better quality. The rom uses dorimanx kernel but when I use same kernel at ics rom it gives me less quality. Or to compare with tytung's JB kernel I got max 1MB image files. Is it about my device or am I missing a setting here ?

Secondly, I know this is mentioned alot and it has smth with HWA I believe but videos on instagram or vine is not playing at tytung kernels. But I can play them at dorimanx kernel now. So there are some differences between these 2 kernels but I dont know what :(

Last of it I saw some changes at kernel git of tytung's says JB r3, will it be compatible with kitkat ?

Dont get me wrong here :) cheers
0perat0r
Junior Member
 
Posts: 12
Joined: Sun Oct 20, 2013 12:07 am
Country: Turkey (tr)
Has thanked: 3 times
Been thanked: 4 times

Advertisement
 

Re: Differences between kernels & versions & quality

Postby Odysseus » Mon Nov 25, 2013 8:29 pm

You answered your own question with your own observation. The kernel has little to do with camera performance. In fact it has little to do with the camera at all. This is why one is able to kang a camera package from one ROM to another even across different manufacturers. There are configuration files included in the camera .apk that determine how the app performs. Additionally some manufacturers use the exact same camera app across multiple devices with different camera specs with only build.prop settings determining how it performs in each device.

Now how the kernel reacts with or influences other applications especially with HWA, is beyond the scope of my knowledge.
Current device: HTC Amaze 4G
Bootloader: HTC - Dev unlocked, S-on
Recovery: 4ext - smart flash enabled
ROM: CM-10 - Compiled and customized by me - thanks spostsstar89 - CM - Team Nightmare
Xposed framework - rovo89
GravityBox - C3C076

Previous device: HTC HD2 (TMOUS - LEO1024)
Final ROM: NexusHD2-JellyBean-CM10.1.3 v2.7 - Tytung
Had more lives than a cat, best handset I ever owned
Lesson: If it ain't broke, don't fix it!
RIP
User avatar
Odysseus
Recognized Contributor
 
Posts: 117
Joined: Sun Jul 07, 2013 10:44 pm
Location: Miami, FL
Country: United States (us)
Has thanked: 89 times
Been thanked: 132 times

Re: Differences between kernels & versions & quality

Postby 0perat0r » Tue Nov 26, 2013 2:17 am

If kernel has nothing to do with image or video quality ( thinking loudly ) then the apk itself has to give exact same quality in every version of android. When I install not only miui camera just a random one from market it still gives different quality. At 2.3.7 I get better ones again at 4.0.4 and Jb I get less quality. That I thought because of the kernel or the android version itself.

I made build.prob changes like encode quality=100 ( cant remember exact thing ) or video encode quality=100 but nothing changed.
0perat0r
Junior Member
 
Posts: 12
Joined: Sun Oct 20, 2013 12:07 am
Country: Turkey (tr)
Has thanked: 3 times
Been thanked: 4 times

Re: Differences between kernels & versions & quality

Postby Odysseus » Tue Nov 26, 2013 4:10 am

0perat0r wrote:If kernel has nothing to do with image or video quality ( thinking loudly ) then the apk itself has to give exact same quality in every version of android. When I install not only miui camera just a random one from market it still gives different quality. At 2.3.7 I get better ones again at 4.0.4 and Jb I get less quality. That I thought because of the kernel or the android version itself.

I made build.prob changes like encode quality=100 ( cant remember exact thing ) or video encode quality=100 but nothing changed.

I'm not saying it has nothing at all to do with the camera, there are low level drivers in the kernel which are common for most devices. The camera apk is "tuned" to the individual hardware and to the "gallery" apk that comes with the ROM. Let me give you an example of what I'm talking about. With my current device and the ROM I'm using, the camera app comes from the Sensation, but has been modified by the developer to work with the Amaze. He did this because the Sensation's camera didn't have the same file size limit that the stock Amaze had. Later, a clever developer on the Amaze forum discovered he could manipulate configuration files in the stock Amaze camera apk to remove the size limit. Now most Amaze users on ICS are using that camera app because without the limitation it's now superior to the Sensation camera.

On JB ROMs for the Amaze, none of the Sense or AOSP ROMs have camera's that are as fully functional as the stock ICS is, because the camera app isn't as optimized, not because of kernel support. Unfortunately, devs there are still trying to get a fully functioning JB ROM, so fixing the camera is low on the priority list, but guys have been trying cameras with similar specs from other ROMs including kanging from other manufacturers like Levono with varying success.

I hope this clarifies things.
Current device: HTC Amaze 4G
Bootloader: HTC - Dev unlocked, S-on
Recovery: 4ext - smart flash enabled
ROM: CM-10 - Compiled and customized by me - thanks spostsstar89 - CM - Team Nightmare
Xposed framework - rovo89
GravityBox - C3C076

Previous device: HTC HD2 (TMOUS - LEO1024)
Final ROM: NexusHD2-JellyBean-CM10.1.3 v2.7 - Tytung
Had more lives than a cat, best handset I ever owned
Lesson: If it ain't broke, don't fix it!
RIP
User avatar
Odysseus
Recognized Contributor
 
Posts: 117
Joined: Sun Jul 07, 2013 10:44 pm
Location: Miami, FL
Country: United States (us)
Has thanked: 89 times
Been thanked: 132 times


Return to HD2 Android Q&A, Help & Troubleshooting and General

Who is online

Users browsing this forum: No registered users and 0 guests

cron