yashsingh1/xdaforums huggingface dataset:
[LG Optimus 4X HD] streambinder:
Grouper ones.

This AOSP uses the bare OmniROM readapted sources. Everything Adam77Root is using for his OmniROM, AOSP will also receive it.

If it only works on stock, don't we'll be able to add support on custom ROMs, too.

Anyway, will wait for you log. :)

Not everything: still checking for what's wrong with camera. ;)
[LG Optimus 4X HD] DerMoonEclipse:
That is the fastest rom i ve ever seen!

Feels like ... G3, S5, ... :D
[LG Optimus 4X HD] MidnightDevil:
It's fast indeed, but I got a bug.

Any cool I receive or make it goes to loudspeaker.

I'm guessing it isn't known ? Need logcat?
[LG Optimus 4X HD] moneyvirus:
it's really fast but it screwd up my recovery.. dunno what happend exactly. after flashing it it was asking to put back orignial recovery i pushed go back but it rebooted and my recovery was gone, i guess i have to reflash it by adb.

i'm excited to see your progress and i'm sure it will be really fast. because it's soooo clean

thank you for all your work
[LG Optimus 4X HD] MidnightDevil:
It has a clean feel, it's smooth, doesn't lag. We were really in need of AOSP.

Thank you!
[LG Optimus 4X HD] DerMoonEclipse:
How to root that awesome rom?
[LG Optimus 4X HD] moneyvirus:
Flash supersu zip in recovery search and you will find little tip i think its in omni ROM treaht too
[LG Optimus 4X HD] DerMoonEclipse:
Thanks!
[LG Optimus 4X HD] qwaki:
I installed the new rom TWRP-out and I have to say something 'is not good! all runs, no recovery, no play in the rom, this phone runs away! :confused::silly::crying:
[LG Optimus 4X HD] moneyvirus:
Well about the recovery i had the same it looks like it overwrite the recovery partition or something, had to reflash it not a big deal but OK, about play store flash gapps it will help
[LG Optimus 4X HD] streambinder:
That is not useful, mate. It's a development thread, what kind of issue are you experiencing?

The ROM needs Gapps and - if you want - SU (as on OmniROM manually install it).

Obviously, for recovery auto-reflash, will look into it, it shouldn't be that hard to be corrected. ;)
[LG Optimus 4X HD] Jovistyle:
What's the problem with camera?
[LG Optimus 4X HD] streambinder:
On the graphic side, it forces close while opening its app.

On the code side, OmxCamera cannot find some parameters or they're broken.
[LG Optimus 4X HD] deownagee:
I've Flashed it but my recovery is gone and I want to go back to my Previous rom. How am I going to do this?
[LG Optimus 4X HD] gerciolisz:
simple answer flash recovery
[LG Optimus 4X HD] aria12:
If you you have root access than install : https://play.google.com/store/apps/details?id=de.mkrtchyan.recoverytools

And flash the recovery img (http://d-h.st/U3l)
[LG Optimus 4X HD] deownagee:
And, what if I don't have root acces?
[LG Optimus 4X HD] aria12:
flash recovery image via fastboot:

fastboot flash recovery (filename).img
[LG Optimus 4X HD] streambinder:
Spent some time to make some researches.

Just wanna tell you some things that could help around camera not-functioning on AOSP, as I really need help from who made camera working

on 4.4.X too with our old blobs.

I took two logcats:

The first one is from AOSP, where we can find that something bad is happening around the OMXs:

D/NvOmxCamera( 156): int android::HAL_getNumberOfCameras() ++
D/NvOmxCamera( 156): NvOmxCamera::NvOmxCamera ++
D/NvOmxCamera( 156): NvOmxCamera() Creating Camera objects...
E/NvOmxCamera( 156): createCameraObjects: graph creation failed! [0x80001005]
D/NvOmxCamera( 156): createCameraObjects: Fail! [0x80001005]
E/NvOmxCamera( 156): NvOmxCamera::createObjects :::: FAIL ::::::::::::::::: [0x80001005]

The second one is from CyanogenMod 11, where the log is perfectly clean:

D/NvOmxCamera( 167): int android::HAL_getNumberOfCameras() ++
D/NvOmxCamera( 167): NvOmxCamera::NvOmxCamera ++
D/NvOmxCamera( 167): NvOmxCamera() Creating Camera objects...
D/NvOmxCamera( 167): setCameraHWSensor +++++
D/NvOmxCamera( 167): setCameraSensor +++++
V/NvOmxCamera( 167): getCameraSensorSettings ++++
D/NvOmxCamera( 167): >>>>>>>> SENSOR MODES >>>>>>>>>>
D/NvOmxCamera( 167): >>> 0 [640 x 480] {30}
D/NvOmxCamera( 167): >>> 1 [1280 x 720] {30}
D/NvOmxCamera( 167): >>> 2 [1920 x 1080] {30}
D/NvOmxCamera( 167): >>> 3 [3264 x 1836] {22}
D/NvOmxCamera( 167): >>> 4 [3264 x 2448] {22}
D/NvOmxCamera( 167): >>>>>>>> END SENSOR MODES >>>>>>>>>>
D/NvOmxCamera( 167): generateSupportedResolutions +++++
[...]

As you can read, something is not permitting to include camera parameters, as the 0x80001005 is an OMX error that tell us if "One or more parameters were not valid" (aka OMX_ErrorBadParameter).

Making a quick grep, found that the parameters correctly included by CyanogenMod are only cited into our proprietary blobs. This would mean, in my mind, that they could not be compatible in a way to 4.4.X, but obviously there's a way, otherwise we couldn't have such bugfree ROMs based on this version.

The matter is: how to understand where's a such important string - or patch -, needed to make it correctly load our camera blobs?

An answer from [MENTION=4716493]laufersteppenwolf[/MENTION], or [MENTION=4719724]Adam77Root[/MENTION], or [MENTION=1149134]Demetris[/MENTION], would be really welcome. :)
[LG Optimus 4X HD] MidnightDevil:
also.. another bug... phone calls only go through loudspeaker... can someone replicate it ?
[LG Optimus 4X HD] streambinder:
Can you better explain? I've experienced no issues with phone calls.
[LG Optimus 4X HD] MidnightDevil:
Every call I got went into loudspeaker automatically. Even making a call the ringtone goes through the loudspeaker. Only rom flashed and gapps. This happened days ago when I first mentioned (a few pages back) I had the rom by then and I asked if you wanted a logcat, but I'm not using it atm so no logcat :\

Should be replicatable tho, just need to get or make a call...
[LG Optimus 4X HD] streambinder:
Haven't the same issue, then will wait for your log! ;)

Again, waiting for devs suggestions.
[LG Optimus 4X HD] MidnightDevil:
Will backup the 3x and flash aosp again for the log later on.
[LG Optimus 4X HD] deownagee:
Status of the AOSP rom?
[LG Optimus 4X HD] streambinder:
I'm on vacation.

Talking with [MENTION=4716493]laufersteppenwolf[/MENTION] about camera, though.
[LG Optimus 4X HD] streambinder:
Well, hey guys, how are you?

I've not so much news, but I have to say something about this project: I'm really sorry about this big slowdown in AOSP development but I spent some days on vacation, I just finished school and a society offered me a job as System Engineer, that keeps me busy from the morning to the late afternoon.

About camera I've no good updates: with laufersteppenwolf, cannot understand where's located that so important - and missing - patch, and I really have no more idea about where to search.

I'm out of ideas.

Obviously will spend some time - when I'll have it - to check again and again, till I find - or someone suggests me - a solution.

Forgive me!
[LG Optimus 4X HD] streambinder:
This is the actual state of AOSP log: AOSP KitKat 4.4.4 ~ Camera not-working | Gist.

Need someone that is able to more specifically locate where's the bug in the source code, that let camera die.
[LG Optimus 4X HD] streambinder:
Forgot to tell you: from next release, recovery will no more be replaced once flashed. :)
[LG Optimus 4X HD] Ben36:
So apart from camera how is this as a daily driver?
[LG Optimus 4X HD] streambinder:
Except for Camera and its related functions, it should be bugfree at least.

If you don't care about that issue, you shouldn't experience any massive annoyance at all, as daily driver! ;)
[LG Optimus 4X HD] Ben36:
Na the phone got wet once. It dried out but ever since the camera won't work anyway. Lol
[LG Optimus 4X HD] DeeJay1:
bugs

Audio output only goes through the speaker. Not even through Bluetooth connection or headphones.
[LG Optimus 4X HD] streambinder:
Ok. Can someone else confirm this issue?

DeeJay1, can you post a log, too, please?

Anyway, will check.

Right now, I'm making some tests for Camera.
[LG Optimus 4X HD] DeeJay1:
I currently don't have it with me so I can't take a log right now. But I will later tonight, if no one beats me to it. Other than that, this rom is the smoothest I've used.
[LG Optimus 4X HD] DeeJay1:
log

Here's the logcat
[LG Optimus 4X HD] streambinder:
Thanks.

Will check it later! ;)
[LG Optimus 4X HD] someth1ng:
Yeah, mine goes through speaker - turned it on in the train...super awks.
[LG Optimus 4X HD] streambinder:
... does it mean you're facing the same issue the previous user was experiencing, dude?

Anyway, still trying to focus on Camera, still trying to understand where the cause of the fatal error could be located.
[LG Optimus 4X HD] Gmobilize:
You know if the camera gets fully fixed ,someone here is gonna build you a monument :D
[LG Optimus 4X HD] streambinder:
I'm only trying to find the patch to make Google's source code bridging along with P880-dev's sources: the monument should be done for them! :)
[LG Optimus 4X HD] streambinder:
I just tested a new build with few patches containing some new - related or not - Camera symbols.

Nothing to do, Camera doesn't want to start correctly. If I know where every part of Camera parameters related code is located, I could easier make a diff with Omni and CM sources, to understand where's the needed patch.

Don't know where the help could come from, too.

The log keeps saying the same output:

[SIZE=2]D/NvOmxCamera( 156): NvOmxCamera() Creating Camera objects...
E/NvOmxCamera( 156): createCameraObjects: graph creation failed! [0x80001005]
D/NvOmxCamera( 156): createCameraObjects: Fail! [0x80001005]
E/NvOmxCamera( 156): NvOmxCamera::createObjects :::: FAIL ::::::::::::::::: [0x80001005][/SIZE]

Confirmed the audio routing issue, though.
[LG Optimus 4X HD] streambinder:
Maybe some updates soon, who knows?

Planning some tests! ;)
[LG Optimus 4X HD] FunkyRasta:
I would ask for ETA, cause I wanna flash something new and AOSP would be best, but this is not my first day on XDA, so not gonna do it ;)

Great work !
[LG Optimus 4X HD] streambinder:
Unfortunately, still nothing new and good is coming: tried making few build testing some massive patches, that didn't make any difference, indeed.

The matter is about one/few parameters that are tried to be loaded by our Camera wrappers/blobs and that aren't valid: then, dear [MENTION=4716493]laufersteppenwolf[/MENTION], [MENTION=4719724]Adam77Root[/MENTION] and [MENTION=1149134]Demetris[/MENTION], could you help me thinking if our wrappers/blobs need some code to correctly recognize some of these not-valid parameters? Do you remember if you already faced this kind of issue? Do you remember any problematic OMX parameter?

Thanks in advance.

Please, guys, wait a little bit more! :)
[LG Optimus 4X HD] streambinder:
The fourth build tested in two days - obviously with four different patches - and still the same result.

Should I try checking something else? Maybe, this time.
[LG Optimus 4X HD] deownagee:
Project Status?
[LG Optimus 4X HD] streambinder:
I'm on vacation :P

When I'll be back home, I'll try applying few patches I've in mind!
[LG Optimus 4X HD] deownagee:
Sounds great! I'm looking forward to it! :D
[LG Optimus 4X HD] ClarkOwen:
I'm going to buy a new phone soon and I just wanna ask if this phone is ready for android L. Does it have developer support? I'm deciding between this or Moto G for the ROM support.
[LG Optimus 4X HD] Mysterion1:
We have great devs here and therefore I'm pretty sure, we will get Android L for our 4X HD. [emoji6]
[LG Optimus 4X HD] ClarkOwen:
Thanks so much! Now I am confident of picking this phone :)) I can't afford LG G xD sadly.
[LG Optimus 4X HD] Flying_Bear:
we will get android L via cyanogenmod no doubt, i think adam confirmed it.

however, i recommend you get nexus 4, if you're getting an old(er) device. optimus 4x is past its life cycle, and it's only a matter of time before our old jellybean drivers become incompatible with new android versions. plus, tegra 3 isn't really a good solution for cell phone it seems.
[LG Optimus 4X HD] xperia u20i:
Moto G is much better phone for every day use in my opinion, i'm not satisfied with optimus, but i have no money to buy another. Optimus have very slow ram and memory chip and like flyngbear said our drivers will soon become incompatible with new android versions and then is pretty much over, not for good but no stable roms i think. Nvidia screw up everything, we should get at least kitkat...
[LG Optimus 4X HD] streambinder:
I don't think you really know how long a device could be unofficially supported by XDA community.

Owned a device made for Android 2.1.X, officially upgraded to 2.3.X.

It still receives unofficial XDA community upgrades, reaching an almost bugfree driver on 4.4.X, too.

Why couldn't it be possible with our 4X HD, a really better device, partially supporting the whole updated Grouper proprietary libraries?

Trust me, it only depends on developers disponibility on working on it - and it seems that they perfecly had it, till now.
[LG Optimus 4X HD] xperia u20i:
Well i must agree with you on that, some devices have really long and good support,maybe we have luck also :D. But Moto G is beter choice. Can't say that our phone is bad but it's just ain't so good as it could be with some other SoC. Tegra leave bad taste in my mouth twice, first tegra2 on O2X then tegra3 on O4X.
[LG Optimus 4X HD] streambinder:
Maybe that's true, but it seems it depends on everyone economic disponibilities. :)
[LG Optimus 4X HD] xperia u20i:
Afcourse :D
[LG Optimus 4X HD] josip-k:
But i can confirm that i am very much satisfied with Moto G than i was with 4x. And allthorugh the developer support here is really good,there is much better. Moto g is much more compact and simple phone,with real stability and battery life. Especially battery life,its like quadurple better than here,and i'm not even joking. On normal use with 4x i would get maybie 1h30m SOT,sometimes 2h,while with Moto g i get 6h on normal to heavy usage,and with stock ROM its goes even up to 8. So it's really quadurple better. If you need proof you have a battery life thread in Moto G general section. :)
[LG Optimus 4X HD] varadinum:
What is Moto G ??? Is this a disease ??? ???

Best regards
[LG Optimus 4X HD] Jansxel:
any problem with this AOSP?
[LG Optimus 4X HD] streambinder:
Which kind of problem, dude?
[LG Optimus 4X HD] Jansxel:
I'm Asking If There's Have Any Problem On This Latest ROM?
[LG Optimus 4X HD] streambinder:
The remaining bug-list is in the first post.

As I already said, I'm now focusing on Camera issues, before checking what's wrong with Audio routing, and also I'm now on vacation.

In a week I'll retry applying some patches I planned.

Do you need something else, buddy?
[LG Optimus 4X HD] Jansxel:
Nothing Else Now Im Just Asking.
[LG Optimus 4X HD] streambinder:
As lot of users/testers reported the auto-recovery-replacing issue,

I suggest to everyone not to use the builds shared till now.

If someone is currently using AOSP as daily driver, even with Audio routing

and Camera bugs, I will make another build and share it with you so that

it will run with auto-recovery-replacing issue fix.
[LG Optimus 4X HD] streambinder:
Do you know what this means?! :D

[SIZE=2]D/NvOmxCamera( 157): NvOmxCamera() Creating Camera objects...
D/NvOmxCamera( 157): setCameraHWSensor +++++
D/NvOmxCamera( 157): setCameraSensor +++++
V/NvOmxCamera( 157): getCameraSensorSettings ++++
D/NvOmxCamera( 157): >>>>>>>> SENSOR MODES >>>>>>>>>>
D/NvOmxCamera( 157): >>> 0 [640 x 480] {30}
D/NvOmxCamera( 157): >>> 1 [1280 x 720] {30}
D/NvOmxCamera( 157): >>> 2 [1920 x 1080] {30}
D/NvOmxCamera( 157): >>> 3 [3264 x 1836] {22}
D/NvOmxCamera( 157): >>> 4 [3264 x 2448] {22}
D/NvOmxCamera( 157): >>>>>>>> END SENSOR MODES >>>>>>>>>>
D/NvOmxCamera( 157): generateSupportedResolutions +++++
D/NvOmxCamera( 157): filterResolutions +++++
D/NvOmxCamera( 157): filterResolutions +++++
D/NvOmxCamera( 157): filterResolutions +++++
D/NvOmxCamera( 157): int android::HAL_getCameraInfo(int, camera_info*) ++
D/NvOmxCamera( 157): int android::HAL_getCameraInfo(int, camera_info*) --
D/NvOmxCamera( 157): createCameraObjects: Done! [0x0]
D/NvOmxCamera( 157): NvOmxCamera::NvOmxCamera --[/SIZE]
[LG Optimus 4X HD] deownagee:
Working Camera?
[LG Optimus 4X HD] Androidmarketuser:
Propably something good? :D

Congratulations, my deepest respect for this achievement, maybe you can tell us briefly what you've done to find and fix the problem?
[LG Optimus 4X HD] streambinder:
It seems that the long waited fix for the error we were experiencing with Camera is finally gone: included lot of patches a the same time, and the result is that one.

Camera still forces closes, but it will be likely easier to fix, I hope.

So, will analyze the new log and will try to deconstruct the massive patch I've adopted in order to get only the needed strings to adjust what was wrong.
[LG Optimus 4X HD] deownagee:
Hmm, Project Status?
[LG Optimus 4X HD] streambinder:
My computer got broken, it will be replaced by a more and more powerful assembled one.

Sorry, I have to ask you to wait, again. ;)
[LG Optimus 4X HD] deownagee:
I will wait for ya buddy. Keep up the good work when your PC is replaced!
[LG Optimus 4X HD] streambinder:
Hey, guys!

Want just to inform you about the fact I ordered all my new computer's pieces:

a hearty portion of these has already arrived, but few are still missing.

On next tuesday, I'll be at home again, with all the pieces available and ready

to be mounted together.

So, in a week-and-a-half I'll have my new computer working and ready

to restart to work on this project to make it finally bugfree! :D
[LG Optimus 4X HD] deownagee:
Oh man! I love it right now!
[LG Optimus 4X HD] deownagee:
Status?
[LG Optimus 4X HD] streambinder:
Please, read my previous post: if you correctly understood, you should know the status would be the same till 3/4 days. :)
[LG Optimus 4X HD] streambinder:
Hey guys!

Today I spent all my afternoon mounting every piece of my new computer: this means soon I'll be back syncing and working on Android source code.

Tomorrow morning I'll let my PC sync AOSP KK code.

Will let you know as soon as I can! ;)
[LG Optimus 4X HD] streambinder:
Finally I can give you some good news, although they don't need to be explained. :)

Now, you're in front of a choose: camcorder isn't properly starting, yet, so I need some time

to fix that, too. Also, the patch I made to make camera working is too much expansive and

I wanted to make it more essential and simple.

If you want I can share this build with you, but I will need some time (maybe few days) to

check what's wrong with camcorder and make the patch looking perfect, then!
[LG Optimus 4X HD] deownagee:
Good job man! Looking forward, Again.
[LG Optimus 4X HD] Demetris:
If you make it simple i can make it slimble :D
[LG Optimus 4X HD] streambinder:
Camcorder fixed, too. :)

[MENTION=1149134]Demetris[/MENTION], thanks for the offer! :D
[LG Optimus 4X HD] streambinder:
Just released a new fresh AOSP KitKat build!

Enjoy!
[LG Optimus 4X HD] Navios92:
Just flashed latest build. Camera is working fine but other apps that use the camera have the same green screen issue like other roms based on grouper blobs.
[LG Optimus 4X HD] gerciolisz:
sry for asking but which recovery are you on?? because for me on twrp 2.8.0.1 it is not booting...
[LG Optimus 4X HD] streambinder:
Of course they do, it's based P880-dev sources and using grouper blobs! ;)

Which step did you follow to install it? I use TWRP 2.8.0.1, too!
[LG Optimus 4X HD] gerciolisz:
Just as usual format = dalvik cache, cache , system, data, + for be sure factory reset then just flashing aosp zip and gapps 4.4.4

i am flashoholic for 3 years:(

edit: maybe corrupted download, i'll see later
[LG Optimus 4X HD] SuperLamic:
why grouper blobs are causing that green camera bug?
[LG Optimus 4X HD] streambinder:
Retry downloading and let me know!

Sincerely don't know! I know lot of devices are affected by this bug.

Maybe I will have the time to check it once I get audio issues fixed.
[LG Optimus 4X HD] deownagee:
Status on the Audio issue?
[LG Optimus 4X HD] streambinder:
I'm gonna check what's causing that issue, even if I think it's a kernel-related one.

I was planning to move to 3.4 kernel by Mourta: gonna check if the problem persists

with that one.

Let you know soon. :)
[LG Optimus 4X HD] streambinder:
A little poll: in the last build, who ever had still experienced the Audio routing bug?

As I can no more reproduce it, it's no more affecting my device and AOSP rom! :D
[LG Optimus 4X HD] LGaljo:
So the last bug is green screen of front camera :D

---------- Post added at 11:24 PM ---------- Previous post was at 11:21 PM ----------

As you maybe read on Modaco forum Mourta's 3.4 kernel will become ROM specific. Are you going to compile it for your ROM as Mourta stated that this will be possible or you are gonna develop kernel in your way?
[LG Optimus 4X HD] streambinder:
If you all confirm that Audio issue is completely gone, I'll now focus on green front camera. ;)

I got permissions to include that kernel into this ROM: I'll do my best to adapt it in order to make it completely fit into AOSP! :)
[LG Optimus 4X HD] LGaljo:
Will do when filehost starts working again. I will flash tomorrow morning ;)
[LG Optimus 4X HD] streambinder:
Perfect: waiting for every AOSP user's report.
[LG Optimus 4X HD] peppethustra:
There shouldn't be great problems including the vanilla version of the kernel into the ROM, the problem should come if you want to include the next kernel versions (which will include Mourta's optimizations, such as abyssplugv2 governor, non-vanilla hotplug governors and I/O schedulers, and some more integrations; the fact is that those customizations should make the phone better both in performance and in battery life)..So, if you'd include the optimized upcoming versions, you'll have to modify and adapt the ROM code starting from the kernel code, just to avoid incompatibilities and bugs (Mourta clarified this thing some posts before the one you quoted on his thread) :)
[LG Optimus 4X HD] dimi89:
[MENTION=318532]Steam[/MENTION]binder what exactly is audio issue ? I am going to flash this rom tonight ans i whould like to know on what part should i pay atrention to see if i have audio bugg? long story short how to reproduce it ?
[LG Optimus 4X HD] LGaljo:
For me RIL didn't work so I restored previous state. I didn't have enough time to investigate problem. I have used Mourta and w/o it.
[LG Optimus 4X HD] streambinder:
Ok, thanks, mate.

Would you be so kind to tell me which one of source commit is including

the beginning of these optimizations?

Plug headset into the phone, check if they work. Make a call, test if you listen, both from normal audio device and speaker one.

The issue was only about automatic switching between audio devices.

Can you describe this issue in a more detailed way, please?

Anyway, I'm gonna update our RIL, following the same sources updates used

for official/unofficial CyanogenMod11.

Also, made the patch needed for camera slimmer. After some updates and

sources cleanup I'll upload a new version.
[LG Optimus 4X HD] LGaljo:
It was like abnormal high decibel in signal strength and 225 asu. I don't remember anything more. I hadn't had root so I was unable to pull logcat. If you upload newer version I will try again.
[LG Optimus 4X HD] SuperLamic:
I think you don't have to have root to pull logcat
[LG Optimus 4X HD] LGaljo:
Maybe not for android, but for modem and kernel log?
[LG Optimus 4X HD] SuperLamic:
oh sorry, my fault, I didn't realize you're talking about ril issue :)
[LG Optimus 4X HD] streambinder:
In few days a new build will be online, after I get it fully tested.

Then, will wait for your reports! ;)
[LG Optimus 4X HD] peppethustra:
Well, it's wip, at the moment, 'cause not all of the needed commits have been included in the sources yet (as you can see in Mourta's repo, there are three branches at the moment, and he's trying different approaches; a first full optimized version should come in a week) :)