[KERNEL][JB][29/08] Pharagon HQ | v1 | Lite | STOCK ROMs | Camera Features improved

|ErosizeD|

Senior Member
Jan 23, 2010
850
504
0
IM LEAVING THE DEVICE, FOR SOME ECONOMICAL DOWNGRADE ( OPTIMUS X4 HD )
i need some pieces for my PC, so, this kernel, is now, discontinued, if someone have any questions
ask by PM.


Good night, or good morning depending of where u live i present you after intense work ( for a noob )


Im posting here for you guys my first developed kernel ( more or less ) using the sony sources, and after some intense
researching ( i really never tried to make a kernel ) got tons of errors, so i searched and searched, and finally did it :D



The questions some may have in mind.

About the kernel

Q: Is the kernel working fine, withouth bugs?
A: Yea in theory its like a small kernel lite modifications, no bugs
( except the posible bugs from media/video ) remember to report!

Q: why is this kernel for, and why you wanted to do it?
A: I did it because the camera stills pretty poor and i want to improve it. ( even with my lack of knowledge )
still not good as it should be, but im still researching on it untill i reach my limits or my pathience goes off.

Others

Q: If there are fine tuned kernels, why a nooby (like me) should make one?
A: Well im just putting all my efforts to improve the thing that lacks the most on android phones
the camera and no one try to improve it, because... i just dont know why, but i will try to.

Q: WTF with those spellings?
A: Apologize me, im still learning english XD



> Pharagon HQ v1 :: hosted on wuala ::



v1
  • MPEG-4 Visual capabilities unlocked
  • h263 codec, has raised his bitrate to maximum of 100mbps.
  • codec swapped to m4v (mpeg4visual/h263) for all resolutions, working on stock sony cam.
    includes custom media profiles to make profit of.
  • 1080p 30mbps | 720p 20mbps | 480p 10mbps ( highest quality/vs/size )
    not working so great, to have more control of bitrates, use LG Camera from market and mpeg4 as codec/encoder.
  • Audio encoding increased up to 640kbps ( maximum quality superb! )

I'm planning to add some overclock/undervolting as extra, and some tweaking ( small ) for performance, and keep
researching on camera, and see how far i can go until i stack my face to the wall.

Happy flashing.
 
Last edited:

|ErosizeD|

Senior Member
Jan 23, 2010
850
504
0
Source code, and updates


Version 1
Pharagon HQ Kernel Source Code ( only important/modified files, also include the directories )


UPDATE
Code:
The basic modifications are based on encoding files only ( decoding are just OK )
it has a anoying structure, and i still cant understand why the bitrate works with MPEG4
but it doesnt with h264, but stills on the way, maybe some one could find that out.

focus on msm_enc.c and .h and 1080/720p folders, GL.

SCREENSHOOTS / SAMPLES

VID SAMPLE1: http://www.wuala.com/ErosizeD/PHOTO-VIDEO SAMPLES/Xperia Z/MOV_0042.mp4/
( sorry guys i didnt thought that i got my hand over the microphone so you wont hear so much )




GITHUB PATCH if you plan to add to your kernel.

Add the following.
https://github.com/ErosizeD/sony_yuga_kernel/commit/d128e0aab64129f19ad5aec378effd87531aa86c
and
https://github.com/ErosizeD/sony_yuga_kernel/commit/b76ed3ed2f1d478f613f2c85e84dff611b88eb3b

With this and using my media profiles attached to the post, you should be able to fully use 100mbps at MPEG4 Visual (h263)
and keep working h264 just in case.
 
Last edited:

|ErosizeD|

Senior Member
Jan 23, 2010
850
504
0
Reserved just in case
there will improvements Future :confused:

Thanks for the KERNEL :D
In theory it will, but i dont know how far i can go in terms of camera improvements.

Tried out the kernel , wifi doesn work, video working fine at higher bit rates even 100Mbit with 30 fps with lgcamera , cant wait for more updates :)
Wifi doesnt work? but it works for me :rolleyes:

have you got your changed sources about ? github?
(ideally you should link to them under GPL ;) )

if so I'll have a play with them on cm10.2 kernel, if they are good can always get them pushed as patches to CM
Yes, but i never used github be4, how i should start? ( my net is really really slow )
 

fards

Inactive Recognized Developer
Nov 17, 2005
7,104
1,818
253
Currently Reverse Engineering 42
In theory it will, but i dont know how far i can go in terms of camera improvements.



Wifi doesnt work? but it works for me :rolleyes:



Yes, but i never used github be4, how i should start? ( my net is really really slow )
its not too hard (but can be frustrating)
you can follow through the help on github

https://help.github.com/articles/set-up-git
and here,
https://help.github.com/articles/create-a-repo

if you want help let me know.

*** Alternatively ***
if you want then put the source files you've changed (no need for any others)
in a zip/tar.gz and upload them to your first post as an attachment that will be the easiest for you to start with they should be really tiny :D

I'm not sure if there's a stock sony kernel on github, if there is you can sign up to the site, then "fork" the kernel and make your changes manually on there, no need to upload or download anything that way :D

I have a sony kernel on there but its for CM .
you can see it as an example though of how things work.
https://github.com/fards/android_kernel_sony_apq8064/tree/cm-10.2
 

|ErosizeD|

Senior Member
Jan 23, 2010
850
504
0
its not too hard (but can be frustrating)
you can follow through the help on github

https://help.github.com/articles/set-up-git
and here,
https://help.github.com/articles/create-a-repo

if you want help let me know.

*** Alternatively ***
if you want then put the source files you've changed (no need for any others)
in a zip/tar.gz and upload them to your first post as an attachment that will be the easiest for you to start with they should be really tiny :D

I'm not sure if there's a stock sony kernel on github, if there is you can sign up to the site, then "fork" the kernel and make your changes manually on there, no need to upload or download anything that way :D

I have a sony kernel on there but its for CM .
you can see it as an example though of how things work.
https://github.com/fards/android_kernel_sony_apq8064/tree/cm-10.2
EDIT: i did a small zip with important and modified files.

If you wan to add it to your kernel, maybe i can help you, doing those modifications on some "testing" github for CM, or you can try to add it yourself.
I did some modifications like adding 5.1 High profile level for 264, but still seems that doesnt work maybe some missing extra modification or code.
 
Last edited:
  • Like
Reactions: Greenex

|ErosizeD|

Senior Member
Jan 23, 2010
850
504
0
Any noticeable difference in pictures . Anyone using this kernel or going to use it can give a sample of before and after?

Sent from my C6603
If you look at the changelog, there is no image improvemets yet, maybe just bit better compensation and exposure times
but about photo quality i didnt find anything good for making it better, still searching but withouth luck.
 
  • Like
Reactions: joejoe23

krabappel2548

Inactive Recognized Developer
Nov 15, 2011
6,443
16,111
0
Lommel
If you look at the changelog, there is no image improvemets yet, maybe just bit better compensation and exposure times
but about photo quality i didnt find anything good for making it better, still searching but withouth luck.
Hey, you want some help with Github? Just sent me a pm and I'll help you set up github :)

BTW: kernel source needs to be online, so is it okay if I implement your changes in my kernel Source? :)
 

fards

Inactive Recognized Developer
Nov 17, 2005
7,104
1,818
253
Currently Reverse Engineering 42
Technically krab he's done it fine, by posting his mods. But I reckon the more of us that can give him a hand the better...
Haven't had a chance to look yet. Will do later on my cm build.

Sent from my C6603 using Tapatalk 4
 

|ErosizeD|

Senior Member
Jan 23, 2010
850
504
0
Technically krab he's done it fine, by posting his mods. But I reckon the more of us that can give him a hand the better...
Haven't had a chance to look yet. Will do later on my cm build.

Sent from my C6603 using Tapatalk 4
I know that maybe this will be forgotten but atleast i want to get some help or motivate other kernel developers to look-in-to this area...

im bit bussy this week ( college starting soon ) ill upload all the kernel on github, then ill post it to post n#2, but that zip aleardy
contains all the modifications, im still trying to fit out how sony ( or qualcomm ) handle the setup of the codecs, because
the bitrate unlock works for MPEG4 Visual (h263 encoding) but it doesnt work for any other container.

Ill really exited if there is someone that could help improving this kernel ( i see github allows you to make modifications ).

Well, good luck guys. ( im uploading some samples at 30mbps so you can check it out ).
 

Nosfi

Member
Sep 6, 2007
15
0
0
great work! I really hate to see locked hardware/software...

if you can handle to get 60fps or more... this would be a must in all roms!
 

|ErosizeD|

Senior Member
Jan 23, 2010
850
504
0
great work! I really hate to see locked hardware/software...

if you can handle to get 60fps or more... this would be a must in all roms!
This is what im trying to do, but i dont know why my modifications dont work, i guess im missing something. :(
i think im going to loook to the padfone 2 sources to see if there are any diference ( padfone2 does 720p at 60fps ).

I guess some other kernel devs goes in to this, so i could have some help and make better this device :)