yashsingh1/xdaforums huggingface dataset:
[Android Software/Hacking General [Developers Only]] atrix4g18:
Forget about the modded YoutTube.apk

The work you guys are doing is great, keep it up. I have an HTC chacha/status with JB and I'm looking forward to getting the video camera working properly. If you need anything tested let me know!
[Android Software/Hacking General [Developers Only]] Dovidhalevi:
+1.

It should be noted that the video camera as also an app that accessing the microphone. That is currently broken on some CM10 (LG Optimus, etc.) and this could be the (or part of the) problem with the video recording.
[Android Software/Hacking General [Developers Only]] Rashed97:
Hmmm I think you may be on to something. I'll try again building the audio libs from source
[Android Software/Hacking General [Developers Only]] erikcas:
Think we have to do a little work on that too.

I did a commit to jellaxy/android_frameworks_native on github.

It is not solved yet but I think this is where (part of) the answer is

Verstuurd van mijn GT-S5660 met Tapatalk
[Android Software/Hacking General [Developers Only]] Rashed97:
Nice. What I'm gonna do when I get home is search all the android files for anything related to Adreno or EGL and make sure it uses the old format
[Android Software/Hacking General [Developers Only]] Rashed97:
That is strange all right... You're using triple buffering right?

Also, for some reason the CM code builds ARMv6 with ARMv5 code and configs. I'm gonna try switching it to Code Aurora style ARMv6 code. Maybe that might fix some stuff?
[Android Software/Hacking General [Developers Only]] erikcas:
yes, on trpile frame buffering. Maybe some armv6 stuff will help.

upcoming weekend take a look to BufferQueue.cpp. Somehow it seems not to be dequeued.

Nice stuff this...
[Android Software/Hacking General [Developers Only]] Rashed97:
For some odd reason my OS X VM won't connect to the internet anymore. Annoying drivers. Thanks HP....
[Android Software/Hacking General [Developers Only]] erikcas:
HP..... :D

Verstuurd van mijn GT-S5660 met Tapatalkq
[Android Software/Hacking General [Developers Only]] Rashed97:
Hm erikcas, can I see the media_codecs file you're using right now? I want to see if it might work here

Thanks!
[Android Software/Hacking General [Developers Only]] erikcas:
AFAIK it is the file you commented on on my github the other day

@ work I will try to retrieve it from my phone

Edit: here it is, zipped: View attachment media_codecs.zip

Verstuurd van mijn GT-S5660 met Tapatalk
[Android Software/Hacking General [Developers Only]] Rashed97:
Thanks! I'm at school so flashing to my phone will have to wait for a few hours.
[Android Software/Hacking General [Developers Only]] erikcas:
:good:

I think KonstaT found the missing link.... This should indeed make the last commit I did to Jellaxy unnessecary...

Currently building (from scratch)

http://review.cyanogenmod.org/#/c/26526/

This is looking good! He added some extra to services/surfaceflinger/Layer.cpp

(and code is cleaner :P)
[Android Software/Hacking General [Developers Only]] Rashed97:
Oh sweet!
[Android Software/Hacking General [Developers Only]] erikcas:
Yeah. I missed that last part from ICS... Anyway. Now working @ the pub. Can only test tomorrow

Verstuurd van mijn GT-S5660 met Tapatalk
[Android Software/Hacking General [Developers Only]] Rashed97:
OK, I'll run a test build and see if it works or not. And I'll use your media_codecs.xml ;)
[Android Software/Hacking General [Developers Only]] Dark Passenger:
Um hi just asking your github repo(link on first post) of the omx fix for jb is no longer existing so please update(request) the first post thanks. (maybe not important yet but later!!!)
[Android Software/Hacking General [Developers Only]] Rashed97:
Oops.. Will update right now.
[Android Software/Hacking General [Developers Only]] erikcas:
Still have no show.

Verstuurd van mijn GT-S5660 met Tapatalk
[Android Software/Hacking General [Developers Only]] Eskuero:
https://github.com/CyanogenMod/android_hardware_qcom_media/blob/jellybean/Android.mk

Our platform is not specified here to allow the build of libstagefrighthw and mm-core

After reading the files in mm-core it requires more changes to allow using msm7x27 platform cause they uses some specific files for every platform.
[Android Software/Hacking General [Developers Only]] erikcas:
If I am right Konstat has a patch for that. See his device/blade on github in patches dir.

Not sure, cannot verify right now

Verstuurd van mijn GT-S5660 met Tapatalk
[Android Software/Hacking General [Developers Only]] Eskuero:
Fixed, I got decoders working on cm10, camcorder saves videos with vrong color mode.
[Android Software/Hacking General [Developers Only]] erikcas:
What did the trick?

Verstuurd van mijn GT-S5660 met Tapatalk
[Android Software/Hacking General [Developers Only]] Eskuero:
libOmxCore.so

libstagefrighthw needs to load this librarie, it didn't exit on my cm10 builds so I adb push it from cm9 :P
[Android Software/Hacking General [Developers Only]] bieltv3:
Great! Can you share with us?

Enviado desde mi GT-S5830 usando Tapatalk 2
[Android Software/Hacking General [Developers Only]] erikcas:
Hmm strange. I have it but have black screen. Maybe switch prebuilt omx libs...

Verstuurd van mijn GT-S5660 met Tapatalk
[Android Software/Hacking General [Developers Only]] Eskuero:
it's not a source editing, just take libstagefrighthw.so, libOmxCore.so and libmm-omxcore.so from a cm9 which got decoders working, the push it to your device.
[Android Software/Hacking General [Developers Only]] gabrielking9:
HQ working?
[Android Software/Hacking General [Developers Only]] Eskuero:
Yes, the only one bug I still got is colos of camcorder :S

Saves all with blue and green lines :cyclops:
[Android Software/Hacking General [Developers Only]] bieltv3:
Cn you say which CM9 is the one with that libs, thanks :)
[Android Software/Hacking General [Developers Only]] Eskuero:
Alpha 9 from here:

http://xdaforums.com/showthread.php?t=1633198
[Android Software/Hacking General [Developers Only]] bieltv3:
And did you compile with ganster41 patch for jellybean and erikcas adaptation and then plave this libs, or just placed in a normal rom (without any OMX modification) ??

Thanks for link :)

Enviado desde mi GT-S5830 usando Tapatalk 2
[Android Software/Hacking General [Developers Only]] Dovidhalevi:
Are these not compiled for a different chip-set?
[Android Software/Hacking General [Developers Only]] Eskuero:
msm7x27

---------- Post added at 07:06 PM ---------- Previous post was at 07:05 PM ----------

This one, cause hel to start the camcorder...

It's just the ganster41 adaptation with one little fix for camcorder...

https://github.com/WinSuk/android_frameworks_av

---------- Post added at 07:22 PM ---------- Previous post was at 07:06 PM ----------

And credits are for asturel cause he helps me to found the correct way to use libstagefrighthw.

Thanks men.:highfive:
[Android Software/Hacking General [Developers Only]] Eskuero:
Actually after flashing CM10 I'm just using this flashable .zip to get the prebuilts from cm9, I thought you can ignore the other libs that are inside it, just are other fixes for mi device.
[Android Software/Hacking General [Developers Only]] Rashed97:
Hey erikcas, have you tried without the EGL hacks? I think those cause some issues.
[Android Software/Hacking General [Developers Only]] erikcas:
worth a try :)
[Android Software/Hacking General [Developers Only]] Rashed97:
nobodyAtall got his semi-working without them, and I think the rest of the issue is the media_codecs.xml
[Android Software/Hacking General [Developers Only]] erikcas:
Oke. It is recompiling. Can only check in a few hours.

Verstuurd van mijn GT-S5660 met Tapatalk
[Android Software/Hacking General [Developers Only]] Rashed97:
Same, but I'm still using the EGL hacks but I modified a few things. Take a look at http://github.com/androidarmv6
[Android Software/Hacking General [Developers Only]] Rashed97:
I think I found the cause of this error: <glEGLImageTargetTexture2DOES:469>: GL_INVALID_OPERATION

https://github.com/androidarmv6/and...mmit/a245c185e5b3d6434aaa414caee6cdc71ad4230b

The changes in opengl/include/GLES/glext.h, opengl/include/GLES/gl2ext.h, and opengl/libagl/state.cpp shouldn;t be here. It causes these issues since we're now using the OMX to play these videos and the OMX has been patched already. So we only need the MISSING_GRALLOC_BUFFERS changes.
[Android Software/Hacking General [Developers Only]] bieltv3:
Did you try to revert those changes?

Enviado desde mi GT-S5830 usando Tapatalk 2
[Android Software/Hacking General [Developers Only]] Rashed97:
No not yet as my PC is building right now. When it finishes and I try to play something and I get that error, then I'll revert them. If not, then no need for reverting. If you want, I've added you as an owner to the organization and you can revert it if you want. Or just amend the commit.
[Android Software/Hacking General [Developers Only]] bieltv3:
Ok thanks, too late on spain must go sleep, ill take a look :)

Enviado desde mi GT-S5830 usando Tapatalk 2
[Android Software/Hacking General [Developers Only]] pisy3:
Thx

Wysyłane z mojego Inspire 4G za pomocą Tapatalk 2
[Android Software/Hacking General [Developers Only]] Rashed97:
Haha OK. Still 6:40 here in the great USA ;)
[Android Software/Hacking General [Developers Only]] erikcas:
1.14AM. But time allways is on my side :D

Verstuurd van mijn GT-S5660 met Tapatalk
[Android Software/Hacking General [Developers Only]] Eskuero:
I'm on spain too:D

Enviado desde mi Wildfire S A510e usando Tapatalk 2
[Android Software/Hacking General [Developers Only]] Rashed97:
All of you are European, not surprising. Americans are more consumers than developers...
[Android Software/Hacking General [Developers Only]] erikcas:
And still awake

Are you sure about this?

http://xdaforums.com/showpost.php?p=34283303&postcount=106
[Android Software/Hacking General [Developers Only]] Rashed97:
Yeah I'm sure. My build just finished and it has the black screen issue. nobodyAtall tested without the EGL hacks and it worked semi-perfectly. Better than nothing though ;) I changed the entire EGL commit here: https://github.com/androidarmv6/and...mmit/1e5e590f6cdbbe1e8a86d8620d538655c7903d39
[Android Software/Hacking General [Developers Only]] erikcas:
confirmed :)
[Android Software/Hacking General [Developers Only]] bieltv3:
So, reverting changes we got hq working, but camcorder is still giving us bad colors right?

Enviado desde mi GT-S5830 usando Tapatalk 2
[Android Software/Hacking General [Developers Only]] Rashed97:
nobodyAtall has his camcorder working fully with the changes disabled and HQ semi-works. But again, he didn't have the correct media_codecs.xml so that should repair that too ;)

erikcas, a quick question, does your mic work in 3rd party apps or does it fail like mine?
[Android Software/Hacking General [Developers Only]] tilal6991:
I've got YouTube hq and camcorder working.

I got rid of all cts hacks and using konstat's gerrit patch and GitHub patches and the media codecs file from earlier in the thread both work at the same time.
[Android Software/Hacking General [Developers Only]] Eskuero:
Camcorder gives you correct output color?

Enviado desde mi Wildfire S A510e usando Tapatalk 2
[Android Software/Hacking General [Developers Only]] tilal6991:
Indeed. In fact camcorder has always given me the correct colour output.

If it doesn't do so for you maybe turning on the CPU_color_convert board config option will help.
[Android Software/Hacking General [Developers Only]] Eskuero:
Something like that?

CPU_COLOR_CONVERT := true
[Android Software/Hacking General [Developers Only]] -Mind-:
Hello guys ! :)

I want to tell you : You have done a great job ! ;)

So, if I have understood, you have succesfully patched the OMX lib for YouTube & Camcorder. Is it ?

If all are good, can you create an archive of the patches in order that I patch the ZTE Crescent CM10 ROM.

Thanks for all your work ! :laugh:
[Android Software/Hacking General [Developers Only]] bieltv3:
You can check androidarmv6 github and take the commits you want to :)

Enviado desde mi GT-S5830 usando Tapatalk 2
[Android Software/Hacking General [Developers Only]] Dovidhalevi:
More than those three .so's?

Anybody game to make a flashable upgrade?
[Android Software/Hacking General [Developers Only]] b3rvirus:
confirmed! 360p videos (downloaded from youtube HQ) plays smoothly... !!!

and even it has NO color banding like on ICS :victory:

:victory::victory::victory:

great! thanks!

I use this flashable zip from KonstaT

http://www.modaco.com/topic/355903-devrom1611-cyanogenmod-10-android-412/page__st__2240#entry2054697
[Android Software/Hacking General [Developers Only]] -Mind-:
I think I can't use KonstaT flashable zip because it is only for YouTube HQ and the other patch are not in the zip, so if you can create an zip it will be very great. :)

PS: I am not yet an Android developper but I have started to learn how to program on Android. ;)
[Android Software/Hacking General [Developers Only]] Rashed97:
I'll go try Konsta's flashable zip right now ;)

Sent from my Windows 8 device using Board Express
[Android Software/Hacking General [Developers Only]] -Mind-:
On the KonstaT's flashable zip, there is only media_codecs.xml but it is insufficient for CM10 ZTE Crescent ROM : modaco.com/topic/355884-jb-cm10-411-cyanogenmod-10-for-the-zte-crescent-rom-last-updated-0109/

So if you can explain me how to make an flashable zip with all patchs, I would be grateful. :)
[Android Software/Hacking General [Developers Only]] Rashed97:
Do you know how to build CM10?

If you do, use the frameworks repos from http://github.com/androidarmv6

If you don't, then wait for my flashable zip coming later today with all the libs and everything.

Sent from my Windows 8 device using Board Express
[Android Software/Hacking General [Developers Only]] -Mind-:
Indeed, I don't. I will for yours & after I will learn how to build CM10. ;)
[Android Software/Hacking General [Developers Only]] Eskuero:
This one is the one I'm using :P

For me it works, just some libs from cm9, and the current media_codecs.xml and media_profiles.xml from cm10.

Here's working Youtube HQ, Gallery (.mp4 and .3gp) and Camcorder(Still with bad color format)

That only will work if you already got the patched OMX files...
[Android Software/Hacking General [Developers Only]] -Mind-:
The OMX patched files are not in the flashable zip ?
[Android Software/Hacking General [Developers Only]] Eskuero:
Nope:P

Enviado desde mi Wildfire S A510e usando Tapatalk 2
[Android Software/Hacking General [Developers Only]] -Mind-:
Okay. ;)
[Android Software/Hacking General [Developers Only]] Rashed97:
That omx.zip has tons of files that really aren't needed. I'm almost done with it here and I'll upload ASAP

Sent from my Windows 8 device using Board Express
[Android Software/Hacking General [Developers Only]] Eskuero:
What OMX.zip are you speaking about?

All the files inside are required, other thing is that is better to use source to build it instead of flashing blobs

Enviado desde mi Wildfire S A510e usando Tapatalk 2
[Android Software/Hacking General [Developers Only]] Rashed97:
Yours has a few files that are for your device right? You said so yourself. I'm not saying it won't work, I'm just saying it has stuff that isn't needed by all of us :p

No offense meant ;)

Sent from my Windows 8 device using Board Express
[Android Software/Hacking General [Developers Only]] Eskuero:
These files are not in the last .zip that I upload ;)

Enviado desde mi Wildfire S A510e usando Tapatalk 2
[Android Software/Hacking General [Developers Only]] Rashed97:
Oh oops. Use OliverG96's then!!!!
[Android Software/Hacking General [Developers Only]] erikcas:
Very late answer, but hey, have a daughter age 1 year and one month and my wife was away whole day :P

Mic is working.

Camcorder is starting recording, but system freezes on stopping. Now compiling on androidarmv6 frameworks native. Let's see in 10 minutes
[Android Software/Hacking General [Developers Only]] atrix4g18:
I'm not a dev, but I have an HTC chacha/status with CM10 (JB)

What do I need to do to get the camera working?

I know someone said something about building from source, but now there is a .zip file?

Can I just flash this and it will work? What do I need to do?
[Android Software/Hacking General [Developers Only]] gabrielking9:
Your camera doesn't work to take pictures?
[Android Software/Hacking General [Developers Only]] atrix4g18:
I can take pictures, but I must use an alternate camera app and I'm pretty sure it doesn't take them at the full 5mp resolution.

This should fix it, but I'm not sure how to use.
[Android Software/Hacking General [Developers Only]] Frankin96:
This won't fix your camera, this is omx( video encoder and decoder libraries)
[Android Software/Hacking General [Developers Only]] atrix4g18:
I see, so what do I need, something like hw acceleration? Honestly I thought this would work, because the camera can be connected to but video recording is broken. Even the main dev for the chacha/status thought the ICS version of this would work until he realized it was ICS only
[Android Software/Hacking General [Developers Only]] gabrielking9:
in ICS video recording is working without lag like GB?
[Android Software/Hacking General [Developers Only]] atrix4g18:
No,

Device came with 2.3 GB, everything works perfect of course.

Then on custom ROM 4.0 ICS video recording doesn't work

Same with 4.1 JB video recording doesn't work

How do I install this patch?
[Android Software/Hacking General [Developers Only]] Rashed97:
Haha, family always comes first ;)

You need to disable the MISSING_GRALLOC_BUFFERS CFLAG to get it to work

Sent from my Windows 8 device using Board Express
[Android Software/Hacking General [Developers Only]] erikcas:
Oke recompile it later today with cflags disables :rolleyes:

Verstuurd van mijn GT-S5660 met Tapatalk
[Android Software/Hacking General [Developers Only]] Rashed97:
See if it works with that. You need to remove the EGL hacks from the system completely but keep the last CFLAG for the panorama hack. I'd tell you if it works or not but my audio system is producing build errors...
[Android Software/Hacking General [Developers Only]] marri:
And where I can find these patched OMX files, please?
[Android Software/Hacking General [Developers Only]] Rashed97:
Use OliverG96's last uploaded omx.zip
[Android Software/Hacking General [Developers Only]] Ganster41:
Look at last commit in android_frameworks_av, it fixes playing HTML5-embedded videos in Browser at non-fullscreen mode :)

I don't test it on JB, but constants are same as in ICS.
[Android Software/Hacking General [Developers Only]] Rashed97:
I'll import those changes into JB as soon as I get home ;)
[Android Software/Hacking General [Developers Only]] erikcas:
You are too quick, was going to type the exact same frase :)
[Android Software/Hacking General [Developers Only]] Rashed97:
Haha. Google Chrome alerts are amazing ;)

But you're gonna get home before me... I still have 7 hours :(
[Android Software/Hacking General [Developers Only]] erikcas:
go home in two hrs. Compile from scratch (had to make free some space for an ICS build)

so will be testing in max four hrs. You will know the results before you get home :)
[Android Software/Hacking General [Developers Only]] Rashed97:
Haha OK, great! I'm gonna re-do the repo at androidarmv6 to preserve ownership because up until now, I've been just squashing all the OMX commits into 1 commit.
[Android Software/Hacking General [Developers Only]] Yasounet:
Sorry for probably naive question, as im not really experienced with android, but does this patch have any requirements to work other than JB based rom ( like i.e CM10 ) ? After flashing latest OliverG96's omx zip to my Wildfire S ( using CM10 unofficial port for my device ), im not able to display any video, not only HQ ones. I ve been using CM9.1 with modified OMX libs before and everything was working fine, but now it only throws errors like these -

for standard quality

I/OMXCodec( 357): [OMX.qcom.video.decoder.mpeg4] Enable frame by frame mode

E/VCODEC omx_vdec( 357): Setparameter: unknown param 2130706434

W/OMXCodec( 357): Failed to set frame packing format on component

E/VCODEC omx_vdec( 357): Error: get_config Not Implemented

I/OMXCodec( 357): [OMX.qcom.video.decoder.mpeg4] video dimensions are 320 x 180

D/VCODEC omx_vdec( 357): omx_vdec::empty_this_buffer +

and HQ

I/OMXCodec( 6706): [OMX.qcom.video.decoder.avc] Enable frame by frame mode

E/VCODEC omx_vdec( 6706): Setparameter: unknown param 2130706434

W/OMXCodec( 6706): Failed to set frame packing format on component

E/VCODEC omx_vdec( 6706): Error: get_config Not Implemented

I/OMXCodec( 6706): [OMX.qcom.video.decoder.avc] video dimensions are 640 x 360

D/VCODEC omx_vdec( 6706): omx_vdec::empty_this_buffer +

Thanks in advance.
[Android Software/Hacking General [Developers Only]] Eskuero:
Nope boy, wait a time, maybe this night I'll build a full CM10 for our Wildfire S.

It's not working because modpunk didn't build yet with the omx patches.

Enviado desde mi Wildfire S A510e usando Tapatalk 2
[Android Software/Hacking General [Developers Only]] Yasounet:
Okay, thanks for clarifying :)
[Android Software/Hacking General [Developers Only]] Dovidhalevi:
Pushed the files from OliverG96 zip to my LG P500 running CM10 Paranoid, rebooted. No change, no video recording. The only difference that might!! be there is playing a video from a pulse item, instead of simply skipping to the end with maybe a fraction of a second play, it seemingly (starts to) loads and then the play icon reappears.

Obviously more is needed than the three libs and the two codecs files. Next step?
[Android Software/Hacking General [Developers Only]] Eskuero:
Don't flash my zip anymore if you didn't got the omx libs already patched!

Enviado desde mi Wildfire S A510e usando Tapatalk 2
[Android Software/Hacking General [Developers Only]] Ganster41:
Try to update frameworks_av to last revision. I swithed renderer to right gralloc memory type usage, and it may fix your error. I was get same error, when trying to play videos in Browser, before make this patch.

If it doesn't help, I think you need to increase PMEM/ADSP memory limits in your kernel.
[Android Software/Hacking General [Developers Only]] Rashed97:
Ganster or erikcas, did one if you ever get the HTML video fix working on JB?
[Android Software/Hacking General [Developers Only]] erikcas:
I had to catch up some sleep. Will test tonight

Verstuurd van mijn GT-S5660 met Tapatalk
[Android Software/Hacking General [Developers Only]] Rashed97:
No rush! I was just wondering ;)
[Android Software/Hacking General [Developers Only]] Eskuero:
People did you've the encoder working?

Here still saves wrong output color using the h263 enc.

Enviado desde mi Wildfire S A510e usando Tapatalk 2