yashsingh1/xdaforums huggingface dataset:
[Galaxy S III General] vpwrf:
Jelly Bean problems

I downgraded back to ICS because of several problems:

WiFi connection dropping after a couple of hours. The WiFi connection always keeps dropping after an hour or 2 of being connected. It still says connected but can't do anything unless I turn the WiFi off then back on.

Keyboard disappears when editing text in stock browser. This is a really annoying problem. The keyboard disappears when pressing arrow button in Google autocomplete suggestions so I can't type to add to the suggestion. It also disappears when dragging the text cursor. This makes adding to a Google autocomplete suggestion a real pain.

Status bar pulldown hides status bar when pulled down. I can't see my signal and battery indicators when the status bar is pulled down. I know it's only a minor problem but I find it annoying. There should have been an option for this

Portable Wi-Fi hotspot and USB tethering missing. The WiFi and USB tethering options gone after JB update. I could still activate the WiFi hotspot by getting an app to activate it. I found no way to activate USB tethering.

Apps being closed more often. Running apps were being closed more often when switching between apps because of low RAM.

Was using 4.1.1 build I9300XXDLJ4 (UK)
[Galaxy S III General] A|ex:
Are you sure its not your build/ radio/ kernel combo
[Galaxy S III General] ahac85:
XXLD4 best JB rom so far, no problems and battery life has double, can now get 7 hours screen time whilst browsing as to 5 hours on ics, using perseus kernel and uv -100mv
[Galaxy S III General] Igaku:
Ditto on the keyboard problem with the stock browser on the same build, glad to know I'm not the only one...

Though I can't be bothered to downgrade to ICS because of this, so I guess I'll just use Chrome/Opera in the meanwhile as they don't have the problem.
[Galaxy S III General] XenomorphXx121:
Strange reading this because before I updated to jellybean my battery used to run flat in about 3 hours, charging used to take up to 6 hours and phone would have some serious lag issues.

Was planning on changing my phone until jellybean came along
[Galaxy S III General] jj92942000:
I was on stock ICS everything worked perfect didn't even feel need to root. New JB my S3 went to hell my wife's S3 is fine go figure, same phone same carrier. I reflashed stock JB, factory reset, tried everything and still lots of issues. Gave up rooted insstalled Omega's v33.2 themed it and now it's perfect again. Can always reset counter and flash stock for warranty if necessary.
[Android Software/Hacking General [Developers Only]] Rashed97:
First of all, here is Ganster41's original post and HERE is a link:

Now for this thread:

This is a project for porting this over to JB. Currently it builds. That's just about it. We need to make this work.

Current contributors are:

Rashed97

Bytecode

bieltv.3

erikcas

And the repos currently resides at: https://github.com/androidarmv6/android_frameworks_av and https://github.com/androidarmv6/android_frameworks_native

Anyone else wanting to work on this, just shoot me a PM and I'll add you to the list and the repo!
[Android Software/Hacking General [Developers Only]] gabrielking9:
Good Luck with this project! Hope you get it working on JB.
[Android Software/Hacking General [Developers Only]] Eskuero:
I'm interesting on get it working, but not sure if really I can help, I'll continue testing some fixes in my local, and if a discover something interesting I'll give you the info.

Enviado desde mi Wildfire S A510e usando Tapatalk 2
[Android Software/Hacking General [Developers Only]] hcgonzalezpr:
Im gonna give it a try, and see what happends.

Edit 1: Mine did boot how can I verify that its working?

Edit 2: Its complaining about a missing libwvm.so
[Android Software/Hacking General [Developers Only]] erikcas:
Rashed, sent you PM. Done some things on this.

like I said in PM, it is some port from CM9 and result of a little out-of-the-box thinking

HQ stream comes in but lags (..we're much too late, skipping..." in logcat)

see https://github.com/erikcas/android_frameworks_av/
[Android Software/Hacking General [Developers Only]] Rashed97:
Are the errors something like this?

"The main process is doing to much work on its main thread. Skipping xx frames!"

If they are I get those too...
[Android Software/Hacking General [Developers Only]] erikcas:
Exactly those

Verstuurd van mijn GT-S5660 met Tapatalk
[Android Software/Hacking General [Developers Only]] hcgonzalezpr:
I get those everywhere including messeges app with or without the omx hack, to me those errors can be ignore, that's android saying the thing it just doing it taking a lot of cpu power to the point the screen frame started to skip.
[Android Software/Hacking General [Developers Only]] erikcas:
I got those on ICS too when lagging. When solved they dissapeared so in my opinion they cannot be ignored.

Also. Skipping frames equals lag implicitly imo

Verstuurd van mijn GT-S5660 met Tapatalk
[Android Software/Hacking General [Developers Only]] hcgonzalezpr:
I know its a more detailed way of saying the app just hanged and its laggin, its helpfull to identify if its running full at perfromance, but imo it does not give right now a reason why it does not work at all. Later this night im gonna post a more detail log about the errors.
[Android Software/Hacking General [Developers Only]] erikcas:
well, here is my logcat for 40 secs of video:

I/ChromiumHTTPDataSource( 608): connect to http://redirector.c.youtube.com/videoplayback?id=5f20aa830f9249fd&itag=18&source=youtube&uaopt=no-save&upn=Dp7QSj_dcks&el=user_uploads&devKey=ATpxuMO4AN5NR1nGmfaQDBQO88HsQjpE1a8d1GxQnGDm&app=youtube_gdata&ip=0.0.0.0&ipbits=0&expire=1352524595&sparams=id,itag,source,uaopt,upn,ip,ipbits,expire&signature=1F93E556DA16E6BC085D0445694060D308BD3315.D2FB8F933BAF64B5E643B42AB1CF25EB36D630E7&key=yta1&androidcid=android-google&dnc=1 @0
I/AudioHardware( 608): set device to SND_DEVICE_SPEAKER device_id=0
I/AudioHardware( 608): disabling post proc features with mask 0x0000
W/WVMExtractor( 608): Failed to open libwvm.so
E/OMXCodec( 608): failed to allocate node OMX.qcom.video.decoder.h264
I/OMXCodec( 608): [OMX.google.h264.decoder] Non-Interlaced format detected
I/OMXCodec( 608): [OMX.google.h264.decoder] AVC profile = 66 (Baseline), level = 30
I/OMXCodec( 608): [OMX.google.h264.decoder] Enable frame by frame mode
W/OMXCodec( 608): Failed to set frame packing format on component
I/OMXCodec( 608): [OMX.google.h264.decoder] video dimensions are 320 x 240
I/OMXCodec( 608): [OMX.google.h264.decoder] Crop rect is 320 x 240 @ (0, 0)
E/OMXCodec( 608): [OMX.google.h264.decoder] Ignore PortSettingsChanged event
I/OMXCodec( 608): [OMX.google.h264.decoder] video dimensions are 640 x 368
I/OMXCodec( 608): [OMX.google.h264.decoder] Crop rect is 640 x 360 @ (0, 0)
I/SoftwareRenderer( 608): Buffer color format: 0x13
I/SoftwareRenderer( 608): Video params: mWidth: 640, mHeight: 368, mCropWidth: 640, mCropHeight: 360, mCropTop: 0, mCropLeft: 0
I/AudioHardware( 608): set device to SND_DEVICE_SPEAKER device_id=0
I/AudioHardware( 608): Enabling post proc features with mask 0x0000
I/AwesomePlayer( 608): we're much too late (0.51 secs), video skipping ahead
I/AwesomePlayer( 608): we're much too late (0.52 secs), video skipping ahead
I/NuCachedSource2( 608): ERROR_END_OF_STREAM
I/AwesomePlayer( 608): we're much too late (0.50 secs), video skipping ahead
D/NetlinkEvent( 606): Unexpected netlink message. type=0x0
D/NetlinkEvent( 606): Unexpected netlink message. type=0x0
D/NetlinkEvent( 606): Unexpected netlink message. type=0x0
D/NetlinkEvent( 606): Unexpected netlink message. type=0x0
I/AwesomePlayer( 608): we're much too late (0.50 secs), video skipping ahead
I/AwesomePlayer( 608): we're much too late (0.51 secs), video skipping ahead
[Android Software/Hacking General [Developers Only]] psyke83:
Your device didn't allocate the hardware codec - see the line above. The reason why your video is laggy is simply because it's using the software fallback...
[Android Software/Hacking General [Developers Only]] erikcas:
yup I know. That is where I am in a loop. So gonna have a bear to get out of it :)

Edit: beer :P
[Android Software/Hacking General [Developers Only]] hcgonzalezpr:
Insted of trying to play a youtube video I tried playing a .mp4 video and I got preatty much the same results as your logcat, but

W/WVMExtractor( 608): Failed to open libwvm.so

Came up alot to the point I needed to end the logcat to read what was going on. But right now im waiting for a phone call ( this is my main phone ), so i cant test my build, but as soon im done with the phone call gonna try again my build and report back.
[Android Software/Hacking General [Developers Only]] Eskuero:
I can play mp4 videos on gallery perfectly, only 3gp and youtube hq lags.

Enviado desde mi Wildfire S A510e usando Tapatalk 2
[Android Software/Hacking General [Developers Only]] erikcas:
I think that can be ignored. The "error" has been there allways.
[Android Software/Hacking General [Developers Only]] Rashed97:
Hm... Try using the ICS libwmv.so file and see if that works. Also for some reason it keeps using the non-Qualcomm libs so that's why it insists on not working.
[Android Software/Hacking General [Developers Only]] hcgonzalezpr:
Ok, thanks for the tip. The libwvm.so is something related to drm, its supose not to be needed by aosp or cm but the av framework asks for it.

I guss i should keep ignoring it, since i dont plan to play any drm files.
[Android Software/Hacking General [Developers Only]] Bytecode:
Hello everyone,did not see this thread before,anyways I think the problem is into the decoder select. When comparing my Jellybean roms with the Gangster41's hack,all I can see into the logcat are output from OMX.google video codec. Therefore,AwesomePlayer tells us we're too much late and skips the video. I think we need to revise that portion of the code.

Sincerely,

Bytecode
[Android Software/Hacking General [Developers Only]] erikcas:
well, I guess one step forward is 4 steps back. Been playing for a while, and finally came up with attached media_codecs.xml (as .txt file :D)

When starting the YT, it seems to choose the HW encoder, which leads to a sigsev.

See attached logcat.

Used source on my github, https://github.com/erikcas/android_frameworks_av

Will try also with my additions reversed, will have to recompile

View attachment 1473407

View attachment 1473408
[Android Software/Hacking General [Developers Only]] Ganster41:
In this ROM HW decoding works on Blade too. Patches are present in second post. Thanks to KonstaT for adding patch to ROM :)

May be you all need to change something in your kernel? You can compare framebuffer drivers and main device's config with our kernel.

Thats it:

Compare values from this file with your device config;

And this folder.
[Android Software/Hacking General [Developers Only]] Rashed97:
I'll see if that makes a difference here ;)
[Android Software/Hacking General [Developers Only]] Eskuero:
Does someone have encoder more or less working, I mean no wrong error collr on output.

Enviado desde mi Wildfire S A510e usando Tapatalk 2
[Android Software/Hacking General [Developers Only]] Rashed97:
Not really. I can't do anything related to multimedia. The OMX keeps crashing but I have a hunch on how to fix it.
[Android Software/Hacking General [Developers Only]] erikcas:
There was a point in this thread where I wrote that something "at least fix colors in recording". Has to do something with prebuilt libs because functionality didn't work anymore after replacing all libs with blade libs. It fixed HQ but broke camcorder

Verstuurd van mijn GT-S5660 met Tapatalk
[Android Software/Hacking General [Developers Only]] Rashed97:
Hmmm exact opposite here. Now my camcorder works (at least I think so) and HQ won't play... But of course that might be from the commits about the gralloc.
[Android Software/Hacking General [Developers Only]] Eskuero:
Okey, and now I've camcorder and decoders more or less working with my original OMX libs from HTC.

But video framerate and quality are very bad. Maybe increasind adsp....

Enviado desde mi Wildfire S A510e usando Tapatalk 2
[Android Software/Hacking General [Developers Only]] Rashed97:
Yeah I think using my original LG libs might help :p
[Android Software/Hacking General [Developers Only]] erikcas:
This afternoon buy and install dishwasher 4.1.2 :D

Tonight take a look @ this again

Verstuurd van mijn GT-S5660 met Tapatalk
[Android Software/Hacking General [Developers Only]] elrond_bs:
Here's the result of my quick H/W decoding tests with the new build of CyanogenMod 10 for ZTE Blade by KonstaT:

I tested .avi files with Xvid, should be the same for other containers and DivX.

Video: B-frames work (including 2 consecutive), but cause massive artifacts in the video (look at the screenshot below), when played. No B-frames - no artifacts. This is a need-to-be-fixed as most videos use B-frames.

Audio: AC3 & plain PCM audio (strange?) doesn't work in H/W decoding. VBR-MP3 sometimes stops playing audio and continue with video only. Audio can be set in MX Player to play with Software decoder, without affecting H/W decoding of the video - not a real problem.
[Android Software/Hacking General [Developers Only]] Rashed97:
Ha now I'm at the exact same point using my standard LG drivers. Camcorder is pure trash but the HQ works flawlessly. I have a feeling its libOmxVidEnc.so. That file makes all the difference.
[Android Software/Hacking General [Developers Only]] Dovidhalevi:
Tried them on Bytecode's 2.52.

Video recording did not work (not expecting that without mic).

I had a couple of Pulse news downloads and my old 3dg's from when the video recording did work for testing. Video player could not open anythings. Mobo, which has its own ARMv6 codecs, opened the 3dg's but only played loud noise. Other players did not work.

Mobo once did work, on files. As I said, I watch very fiew videos and do not remember when I last did this. Maybe restore the backup and try it again.

Note that since Bytecode's source tree is differing, the test might not be completely valid.

---------- Post added at 11:39 AM ---------- Previous post was at 11:12 AM ----------

After restoring, 3dg movies play without a hitch in Mobo, ES-file manager and stock Video Player!

So ... a bit of regression :)
[Android Software/Hacking General [Developers Only]] gabrielking9:
NO
[Android Software/Hacking General [Developers Only]] Rashed97:
Yeah those sucked. I might release some new ones today.
[Android Software/Hacking General [Developers Only]] erikcas:
Hey.. now he is here... :D

Verstuurd van mijn GT-S5660 met Tapatalk

---------- Post added at 07:13 PM ---------- Previous post was at 07:11 PM ----------

That I think is true. Still puzzling around with this...

Verstuurd van mijn GT-S5660 met Tapatalk
[Android Software/Hacking General [Developers Only]] Eskuero:
How many frames are you getting by second while recording?

I cannot get more than 10 fps...

Enviado desde mi Wildfire S A510e usando Tapatalk 2
[Android Software/Hacking General [Developers Only]] gabrielking9:
Maybe he think squadzone did kernel 3.x and tried on Jelly Bean or ICS saying it is 3.1 :p
[Android Software/Hacking General [Developers Only]] Rashed97:
0! I can't even record without it crashing.... Possibly triple buffering might make a difference.
[Android Software/Hacking General [Developers Only]] Eskuero:
I've tripple buffering disabled, did you think that enabling it can help?

Enviado desde mi Wildfire S A510e usando Tapatalk 2
[Android Software/Hacking General [Developers Only]] Rashed97:
Maybe, but I know that erikcas has it enabled, so probably not. My builds won't even boot with triple buffering enabled ;(

Try using the libs from my devices. http://github.com/lgics/cm_vendor_lge
[Android Software/Hacking General [Developers Only]] erikcas:
Maybe another topic but no boot on triple framebuffer?

Verstuurd van mijn GT-S5660 met Tapatalk
[Android Software/Hacking General [Developers Only]] Daveee10:
For me tripple buffering is enabled and recording works, but not playing any wideos. If I'm replacing omx the playing works but record crashing
[Android Software/Hacking General [Developers Only]] Ganster41:
May be don't replace libOmxVidEnc.so?
[Android Software/Hacking General [Developers Only]] erikcas:
On samsung replacing libOmxVidEnc.so doesn't make a difference

Verstuurd van mijn GT-S5660 met Tapatalk
[Android Software/Hacking General [Developers Only]] Rashed97:
Yeah same here. IDK what's wrong with it, but it seems to depend on another file as well.

And yeah off topic: my triple buffering won't boot. It whines about not finding the file or directory when trying to start the frame buffer service
[Android Software/Hacking General [Developers Only]] erikcas:
Off-topic:Can you send logcat and dmesg to my gmail?

Verstuurd van mijn GT-S5660 met Tapatalk
[Android Software/Hacking General [Developers Only]] Daveee10:
I think the "correct gralloc usage flag" commit breaks the things. Because it working with msm7x72a and msm7x30 if i know good. Correct me if I'm wrong. Tomorrow evening I will testing my notion.

Trolled from my X8 using xda premium
[Android Software/Hacking General [Developers Only]] Eskuero:
Yep, this commit brokes all for me.

Before that it was working fine everything.

Enviado desde mi Wildfire S A510e usando Tapatalk 2
[Android Software/Hacking General [Developers Only]] Rashed97:
Sure, but the dsemg looks perfectly fine...

Yup. Same here. I'm gonna add support for the MISSING_GRALLOC_BUFFERS CFLAG soon so it won't break it all for us.
[Android Software/Hacking General [Developers Only]] Rashed97:
Done. Try it out now. It's on the androidarmv6 repo ( https://github.com/androidarmv6/android_frameworks_av )
[Android Software/Hacking General [Developers Only]] Daveee10:
I'm tested it at yesterday night and it's working
[Android Software/Hacking General [Developers Only]] Rashed97:
OK That's good. Now to fix recording...
[Android Software/Hacking General [Developers Only]] Dovidhalevi:
Good news and good luck!

Possible libs zip to play with meanwhile?
[Android Software/Hacking General [Developers Only]] Rashed97:
I'll see what I can do. But those will be for the P50x family only since the OMX libs are device specific too....
[Android Software/Hacking General [Developers Only]] erikcas:
Good work Rashed! Later this week I will resume working on android. Having a short androidbreak for familylife and some focus on work (have promotion opportunities, that brings me more financially than android, which is important when having a fabulous 1 year old daughter an expecting a son in januari :P)

Again good work, and like oliver said, I will have my focus on working camcorder.

Off topic, Rashed, looked @ your logs, cannot find anything strange. You are sure memory alllocations for non-triple and tripleframebuffer are correct?
[Android Software/Hacking General [Developers Only]] Rashed97:
Thanks ;)

I hope you get your promotion! You deserve it ;)

Off topic: If you mean adding the value in the board-__.c yes I did. I'm gonna go through and check it tonight though :)
[Android Software/Hacking General [Developers Only]] dhalham:
Rashed wasnt the top part of your last reply ment to be the off topic? :)
[Android Software/Hacking General [Developers Only]] Eskuero:
So... my phone is the only msm7x27 based with camcorder more or less working?

:'(

Enviado desde mi Wildfire S A510e usando Tapatalk 2
[Android Software/Hacking General [Developers Only]] Rashed97:
Now that you mention it, yes ;)

Pretty much yes :p

Do you have fully working HQ video playback?
[Android Software/Hacking General [Developers Only]] Eskuero:
Nope, some videos look strange, but I don't feeel annoyed about that, my framerate on camcorder is much more annoying...

Enviado desde mi Wildfire S A510e usando Tapatalk 2
[Android Software/Hacking General [Developers Only]] Rashed97:
Can I take a look at your media_profiles.xml?
[Android Software/Hacking General [Developers Only]] erikcas:
On samsung libs camcorder works HQ playback broken

On blade libs camcorder broken but HQ playback works.
[Android Software/Hacking General [Developers Only]] Eskuero:
Of course:

https://github.com/MarvellousAndroi...7x27-common/blob/jellybean/media_profiles.xml

---------- Post added at 03:44 PM ---------- Previous post was at 03:44 PM ----------

HTC libs works for both :P
[Android Software/Hacking General [Developers Only]] Daveee10:
with this:

https://github.com/JBMiniProject/an...40cb04fe12e99/prebuilt/etc/media_profiles.xml

working both on SEMC X8
[Android Software/Hacking General [Developers Only]] Eskuero:
How's your camcorder framerate?

Enviado desde mi Wildfire S A510e usando Tapatalk 2
[Android Software/Hacking General [Developers Only]] Rashed97:
For me:

On LG libs, camcorder broken and HQ works

On ZTE Blade libs, camcorder works, HQ broken

Yeah, and I'm jealous :P

I'll take a look at that.
[Android Software/Hacking General [Developers Only]] Daveee10:
In camera hal's prefered framerate value is 15. Now the recording is bit laggy but now record size is 640x480...

Trolled from my X8 using xda premium
[Android Software/Hacking General [Developers Only]] Eskuero:
Prefered is 15 for me too, but did you got 15 fps really?

i cannot get more than 6fps at 640x480

Enviado desde mi Wildfire S A510e usando Tapatalk 2
[Android Software/Hacking General [Developers Only]] Rashed97:
What's your device screen resolution?
[Android Software/Hacking General [Developers Only]] Eskuero:
480x320, but that doesn't matter, because on stock I can save videos at 640x480 at 24 fps:P

Enviado desde mi Wildfire S A510e usando Tapatalk 2
[Android Software/Hacking General [Developers Only]] Rashed97:
OK, I'm trying your media_codecs and profiles on my LG libs
[Android Software/Hacking General [Developers Only]] gabrielking9:
Test with psyke83's media codec and media profiles he did video recording working some days ago.
[Android Software/Hacking General [Developers Only]] Rashed97:
Link please?
[Android Software/Hacking General [Developers Only]] gabrielking9:
github.com/psyke83

---------- Post added at 09:40 PM ---------- Previous post was at 09:36 PM ----------

But the changes are in github/TheWhisp
[Android Software/Hacking General [Developers Only]] erikcas:
For me it was already working without psykes fix on jb

He fixed it for ics

Verstuurd van mijn GT-N8010 met Tapatalk
[Android Software/Hacking General [Developers Only]] Rashed97:
Yeah same here, but nothing now. I'm gonna try the HTC libs and see what I get here :p
[Android Software/Hacking General [Developers Only]] kronflux:
So what stage are we currently at overall?

Do we have this mostly working? Or at all?

Can someone start releasing flashable zips for this when it is at a stage where it works, even if only partially?
[Android Software/Hacking General [Developers Only]] Rashed97:
Depends on the device:

ZTE: Working

Samsung: Semi-working (video recording not working)

LG: Same as Samsung

HTC: Working (but slow video recording)

I'm gonna try a few more things tomorrow for LG devices
[Android Software/Hacking General [Developers Only]] kronflux:
Any chance someone could make a flashable zip for htc until I get the dev for my rom to merge it?
[Android Software/Hacking General [Developers Only]] Eskuero:
That will not work, cause my htc libs are really something funny to explain, they use a camera memory specified on kernel for decoders, you can check it on github.com/MarvellousAndroid/

Enviado desde mi Wildfire S A510e usando Tapatalk 2
[Android Software/Hacking General [Developers Only]] Rashed97:
erikcas, great idea! Why don't we use the Google encoders but the QCOM decoders? Then video recording will work! I'm trying it right now ;)
[Android Software/Hacking General [Developers Only]] Rashed97:
Here are flashable libs for the LG P500 family (P500, P505, P506, P509)

http://xdaforums.com/showpost.php?p=34989710&postcount=3196