yashsingh1/xdaforums huggingface dataset:
[Optimus One, P500 Original Android Development] Rashed97:
OK here it is!

http://www.mediafire.com/?uadte82tlmejoc1

The patch I promised. Tell me if it gets you stuck on the boot animation...

There is no need to flash the Adreno Hack for this because its already included.

Whats included:

-Fixed camera stuff

-Fixed screen off and on animation

-Fixed Video recording (I think)

-New audio libs
[Optimus One, P500 Original Android Development] edinrh:
My P500 gets stuck on bootanimation :( why you released with that bug if you know?
[Optimus One, P500 Original Android Development] curious_one:
my head hurts when reading your comment:( why are you flashing stuff from a dev thread if you can't take a minor risk?
[Optimus One, P500 Original Android Development] edinrh:
I'm not suffering either .. only comment .. rashed ahh, you said that you were told if that happened and that's what I did. duh ;)
[Optimus One, P500 Original Android Development] shinobisoft:
I'm guessing Rashed built this for his P506. From my experience, the P506 is a little different than the other models and this patch may not work on the other devices, hence, the reason he mentioned the possible boot loop.
[Optimus One, P500 Original Android Development] edinrh:
maybe, I just wanted to try .. I knew what I was risking, and as I mentioned just wanted to be told rashed
[Optimus One, P500 Original Android Development] Rashed97:
It should have worked. I'll try something else and release another one. These are the exact same libs I'm using here
[Optimus One, P500 Original Android Development] pt.jcosta:
The same in P500
[Optimus One, P500 Original Android Development] s_box:
Got boot loop and I have a p506
[Optimus One, P500 Original Android Development] Rashed97:
OK then I know what's wrong

Fix coming right up. I added the wrong files :p
[Optimus One, P500 Original Android Development] Rashed97:
http://www.mediafire.com/?tdi53job65bfccb

There. Took me less than a minute to make and upload the fixed version. I feel proud. That SHOULD work. But if you're already tried the one I released a few minutes ago, then you'll need to flash the entire ROM all over.
[Optimus One, P500 Original Android Development] Rashed97:
https://github.com/lgics/android_frameworks_av/commit/76efd51e3e349d874b148a55e38ae0249a3886c8

OMX for Jelly Bean. Gonna test the build as soon as my SD gets into shape...

That's the first Windows 8 bug... Windows refuses to write to my SD card, so I have to use my parents Windows 7 PC...
[Optimus One, P500 Original Android Development] s_box:
i flashed it and it booted but as soon as im about to start the setup process gallery crashes, then i tried camera which works great no colors, the video recording doesn't work i push the red button but nothing happens, and the panorama doesn't even show anything just a black screen. the screen off animation isn't working and the on animation is working. not sure about the mic don't know a way to try it.
[Optimus One, P500 Original Android Development] Rashed97:
The Gallery crashing is a small issue I'm getting ready to fix. Video recording still not working you say? Panorama SHOULD work, but since it's a patch it won't work correctly... Did you say screen off IS NOT working? It should be working fine....

EDIT 1: I have reverted back to ICS due to major issues... SD card is driving me nuts. However I will be right back on this tomorrow afternoon.
[Optimus One, P500 Original Android Development] s_box:
yep video recording not working neither is panorama and also the screen off is not working
[Optimus One, P500 Original Android Development] shinobisoft:
Just to clarify, my statement wasn't directed at anyone. It was just a statement. I had already figured you knew the risks from your previous posts. ;)
[Optimus One, P500 Original Android Development] Rashed97:
This is depressing. I'm seeing this project unravel before my eyes. I can't get a build that boots anymore and I've been forced back down to ICS, the first time since July 15...
[Optimus One, P500 Original Android Development] shinobisoft:
Holy crap! Really?
[Optimus One, P500 Original Android Development] gabrielking9:
What is happening with you?
[Optimus One, P500 Original Android Development] Rashed97:
Yeah really. It's terrible. And thing is with the new builds is I don't know what's causing the boot loops. It looks like Activity Manager Service taking a hit but what's causing that...
[Optimus One, P500 Original Android Development] gabrielking9:
Maybe your implementation to get triple buffering??

---------- Post added at 12:15 AM ---------- Previous post was at 12:15 AM ----------

Please don't let it die. It is a good work man.
[Optimus One, P500 Original Android Development] Rashed97:
I've given up on triple buffering. I trashed all those sources days ago.

Don't worry I won't let it die. If anything, I'm more energized because of this. I WILL make a good build WITH OMX too :D

What I need is that anyone able to build, build and see if it boots for you because it might be just my setup here... But Bytecode says it boots... I'll try again tomorrow
[Optimus One, P500 Original Android Development] Ghost1391:
Hey RAshed I just flashed this file on my p500 nd i am getting force close for most of my apps ....any help plz
[Optimus One, P500 Original Android Development] mixednuts:
Looks as though there's some issues to work out. Revert to your backup.
[Optimus One, P500 Original Android Development] Dovidhalevi:
Seeing that this thing has been less than good, I simply pushed the three audio libs, rebooted. No change! Anything else I should be doing?

I will stay off the camera stuff for now.
[Optimus One, P500 Original Android Development] Bytecode:
Rashed,I know the problem. My CM10 builds refused to boot some days ago for some unapparent reason. Solution? Reverting to an old,safe device tree I am using for both ParanoidAndroid (remember,it's 99% CM) and CM10 and works.

I can revert to old tree,but I want you to agree with me: downgrading an entire device tree is no joke.

@Dovidhalevi,did you chmod the libs to 644 first?
[Optimus One, P500 Original Android Development] Rashed97:
So it's something in the device trees? If so I'm gonna go through every single one and take them all the way back to September 19 and then migrate all the important stuff like the notification bar fix

@Dovidhalevi: Yeah they don't do much, I need to fix the issue at the source: the Audio Flinger service
[Optimus One, P500 Original Android Development] Bytecode:
Yes it's something in the device trees I guess. It's not from Sep 19 tho (I don't even know what that date is),it's a month old tree,when I first started the Jellybean AOKP. In my device folder you can find all needed and working patches,up-to-date libaudio and libcamera,and all the important stuff.

I'm uploading it on my github right now. If you want take a look.
[Optimus One, P500 Original Android Development] Rashed97:
OK, is it just the common folder or the P500 folder too?

EDIT 1: I pushed a few updates to the repos myself. I'll try reverting a month back or so when I get home and then try building with that.
[Optimus One, P500 Original Android Development] Bytecode:
I'm gonna create a branch called "Bytecode" as soon as possible ;)
[Optimus One, P500 Original Android Development] hcgonzalezpr:
It seems I was not that crazy :P

When I could not get my builds to boot.

Bytecode let me know if you manage to get a build to boot with your branch, so i can switch the source at my local_manifest.xml
[Optimus One, P500 Original Android Development] s_box:
rashed I came upon a problem on the play store I can not download anything
[Optimus One, P500 Original Android Development] Rashed97:
Logcat please. And which Google Apps package are you using?
[Optimus One, P500 Original Android Development] Rashed97:
I've reverted everything to the last stable state. Go right ahead and sync. It's all on the jellybean branch but I made a backup on the jb-bac branch.

I'm getting ready to build it myself here.
[Optimus One, P500 Original Android Development] s_box:
i'm using your newest gapps and i don't know how to do a logcat if you can tell me how, i think i can get you one
[Optimus One, P500 Original Android Development] hcgonzalezpr:
Ok let me fire it up on my laptop, let you know if it works as soon as it finishes.
[Optimus One, P500 Original Android Development] post-mortem:
Here's an easy way:

http://xdaforums.com/showthread.php?t=1941220
[Optimus One, P500 Original Android Development] Rashed97:
Also, the October 18 build is for 4.1.2.. Our build is still 4.1.1

Wonderful! Mine's almost done :D

Off topic: Now I know why the Google Chrome app for Windows 8 is still a BETA.... It keeps force closing. Stupid thing.
[Optimus One, P500 Original Android Development] hcgonzalezpr:
.................IT WORKS!!!!!!!!!!!!!!!!!! :victory:

Im running 4.1.2 and its ultra smooth.

In the logcat after I/SystemServer( 317): AssetRedirectionManager Service. It took like 15 sec and the login screen came alive.

UPDATE:

* Mic not working for calls.

* I got 2 camara apps.

I had to revert to backup, im going out tonight and this is my main phone.
[Optimus One, P500 Original Android Development] s_box:
i'm using this way it says enter your device id where can i find that?
[Optimus One, P500 Original Android Development] Rashed97:
Holy cow, thanks man! Getting ready to flash it right now :D. The 2 camera apps is is fixed here. That's because you have the standard JB camera and then the LegacyCamera. You need my Gallery2 and LegacyCamera changes to fix that. And I'll take a look at the mic soon as well ;)
[Optimus One, P500 Original Android Development] Rashed97:
Use an app called device ID from the play store :p

But you said the play store isn't working right? Try using the October 4 GAPPS
[Optimus One, P500 Original Android Development] Rashed97:
@hcweb: Is your sound working fine? Because mine is nonexistent

But other than that it's a beautiful build. Video recording records for 1 second then crashes though. Tomorrow I'll add the OMX CFLAG and try that

EDIT: HQ video plays perfectly smooth with no lag at all now :D Grand eh? Tomorrow I'm gonna fix the audio and recording and then turn to battery life.
[Optimus One, P500 Original Android Development] cekuhnen:
Hi there,

out of curiosity it seems that JB runs a lot more sluggish on the Optimus T than GB did.

Is it that much more demanding then GB?

Also what happened to Google Talk app? I cannot find it even online in the Google App store anymore.

Did they integrate it with JB like Messages in iOS?
[Optimus One, P500 Original Android Development] vlt96:
Nope... it needs hardware acceleration;)

Sent from my LG-P500
[Optimus One, P500 Original Android Development] -DarkKnight-:
of course jelly bean is more laggy.we have no OMX we have no butter

and for the Google talk app, just extract it from the normal jelly bean Google apps
[Optimus One, P500 Original Android Development] hcgonzalezpr:
Dint check other sound stuff, I tried making a call and found out about the mic and audio not working, just heavy white noise. Anyways Panorama did crash. Sorry I dint gave a more detail test, I went out for the night. But other than the issues we both notice I agree this is a super smooth build.
[Optimus One, P500 Original Android Development] Bytecode:
So you guys made it booting? I can't get it booting with the jellybean branch,but with my branch yes.

:)
[Optimus One, P500 Original Android Development] Herox:
This rom works great! I upgraded my BB and then installed it. My APNs are there and all. My only issue is I installed the "prefered" Gapps and got no gapps.
[Optimus One, P500 Original Android Development] russian392:
IMPORTANT

Android 4.2 Jelly bean - 2 is out! it seems to be better in some ways, so i guess we can change what our rom is based on for build 7 once build 6 is out. check everything out on android.com
[Optimus One, P500 Original Android Development] Rashed97:
I've known that since Monday :p

And I won't be changing this ROM, I'll be building a new one completely. It will be a whole new thread. Unless the CM guys change their ROMs...
[Optimus One, P500 Original Android Development] russian392:
sweet, please notify when their is a stable build.

here are some ideas on how to reduce space. Get rid of apps like email and gmail and things that can be done on the web, that will work fine just like the real app, just in the browser. yet, that could be wrong........nvm
[Optimus One, P500 Original Android Development] Rashed97:
GMail is a Google App. I removed that from my GAPPS package already. The email app is an Android system app. No way I'm removing that.
[Optimus One, P500 Original Android Development] vlt96:
What about exchange?

Sent from my LG-P500
[Optimus One, P500 Original Android Development] Rashed97:
I would remove that, but:

1. It's required for the email system in Android

2. It's only a few hundred KB... Nothing really significant. At all.....
[Optimus One, P500 Original Android Development] russian392:
what kernel are you using to make newbb rom work on old bb lg thrive?
[Optimus One, P500 Original Android Development] vlt96:
1. Always removed, no probs

2. I remember it was as big as email.apk on ICS

Sent from my LG-P500
[Optimus One, P500 Original Android Development] russian392:
so what is the kernel that you use? if you can give download link, cause im testing out some stuff, and the only bb fixing kernel i know is stock lg Phoenix kernel .35
[Optimus One, P500 Original Android Development] Dovidhalevi:
Anybody want to play?

Downloaded from AndroidCentral, a 4.1 port of the 4.2 camera! Said to be partly working on a newer device than hours. So I gave it a whirl. Gallery looks the same (Should it? Did I do something wrong?) The camera crashes the gallery. IF its screen comes up, takes a long time, and has artifacts. Exiting also takes a long time. Might try it on a clean flash since I can always get gallery2.apk back on it.

Anybody game to get it going for us ??

==============

Update:

I just flashed the latest paranoid ROM. On it, I placed the included apk and the legacy camera in place of gallery2.apk.

Gallery works fine.

Legacy camera works fine (within former restrictions--video recording, etc.)

New camera comes up, does not crash gallery, but there is an artifact in the center area of the screen, no image.
[Optimus One, P500 Original Android Development] marcomarinho:
What I need to fix HQ video?
[Optimus One, P500 Original Android Development] flanco:
Asking again since i didn't found an answer yet.

I am unable to make Link2SD work on the latest (9 sept) build.

I made an ext4, ext2, ext3 or FAT16/32 partition, but each time when mounting partition link2sd fails with "mount script cannot be created".

Also if trying to mount sd-ext partition from recovery i get an error stating the mount cannot be done.

Anybody has an idea on this?
[Optimus One, P500 Original Android Development] mixednuts:
Have you searched this thread and the discussion thread? If I'm not mistaken, I remember there being quite a bit of talk regarding Link2SD and getting it to work.

From my experience, if no one's answered your question it may mean they don't want to bother 'cause it's been answered so many times, or no one else is experiencing and / or don't know what you're talking about.

---------- Post added at 10:38 AM ---------- Previous post was at 10:34 AM ----------

oh - with respect to gapps and Android version - I didn't put two and two together. I've been using your Oct 18th gapps build with build 5 ROM, but I haven't had any issues?? :confused:
[Optimus One, P500 Original Android Development] flanco:
unfortunately i did and found no answer on this. since there are enough stating link2sd works fine, i guess the firmware doesn't have any partition support problems.

still, i'm unable to create that.
[Optimus One, P500 Original Android Development] anuragchowdry:
Read this

http://xdaforums.com/showthread.php?p=33049666
[Optimus One, P500 Original Android Development] Dovidhalevi:
Free space of system to make room for that script. Once you have it, copy it to /data/local/userinit.d/ (might need to create this directory). End of worry about that much.

Link2sd does not use /sd-ext, but /data/sdext2. Recovery does not recognize this--I have flagged this issue several times with CWM already.

Read the post with the scoop if you link a load of apps. Mission critical (this was originally my post).
[Optimus One, P500 Original Android Development] mixednuts:
I'm using INT2EXT+ and it's all good for me, but there are a multitude of these kind of scripts / apps out there.

Lets try to move this into the discussion thread - these devs are trying to work something out and don't need it bogged down by this.
[Optimus One, P500 Original Android Development] asdfzz:
So no one got gb voice search / shazam / works again?

Its libaudioflinger? But with old one rom stuck on boot animation
[Optimus One, P500 Original Android Development] Herox:
p509 rom is broken. Maybe its me? The p500 rom worked on my Optimus T and this one shows unknown for all things. Serial, imei, phone number, the whole shebang.
[Optimus One, P500 Original Android Development] russian392:
Hey Rashed, me again, could you upload kernel. I need it for another ROM.
[Optimus One, P500 Original Android Development] Rashed97:
Eh um, no. I don't have a separate kernel built. Just try the boot.img from my P506 ROMs
[Optimus One, P500 Original Android Development] russian392:
So u made the kernel but not seperatly
[Optimus One, P500 Original Android Development] Rashed97:
It automatically makes the kernel to be included with every build.
[Optimus One, P500 Original Android Development] Herox:
Still need help on this. The p500 rom works perfectly on my p509 but I cannot flash gapps, thye just don't appear.
[Optimus One, P500 Original Android Development] post-mortem:
Please post your question in the discussion thread.
[Optimus One, P500 Original Android Development] shinobisoft:
Was posted in discussion thread. Nobody answered him.

Sent from my LG-P509
[Optimus One, P500 Original Android Development] s_box:
i tried that app and it told me the id # and i typed it in to the aiolog thing and i pressed enter and just repeats the device id question. am i doing something wrong?
[Optimus One, P500 Original Android Development] Rashed97:
I have a better idea. Use the 10/4 GAPPS. The 10/18 GAPPS are for 4.1.2 which I haven't released yet. They won't work on 4.1.1.
[Optimus One, P500 Original Android Development] Rashed97:
Which GAPPS package are you using?
[Optimus One, P500 Original Android Development] s_box:
im having no problem with what i have now, before i flashed the newest gapps i made a back up and i have already restored it. im trying to do that logcat thing
[Optimus One, P500 Original Android Development] Rashed97:
OK...

Anyway, OMX fixed ROM boots... Somewhat

It gets stuck at the boot animation, but I know the problem. Surprisingly, its the audio. Our audio libraries need an upgrade to match Android 4.1.2

Without the upgrade, they don't boot and if you're lucky, they boot but don't work.
[Optimus One, P500 Original Android Development] TheRedHunter:
There is an audio mod which contains these libraries. Take a look over here : http://xdaforums.com/showpost.php?p=33302347&postcount=705 Hope that this will help.
[Optimus One, P500 Original Android Development] russian392:
so it i assume is a program u use to make the rom, and the kernel is automatically added, like you click a a checkbox saying old bb and it makes an amazing old bb kernel
[Optimus One, P500 Original Android Development] Rashed97:
Uh no. It's all command line stuff. First, the kernel has nothing to do with the baseband. Second, all it is is giving the build command. It automatically builds the kernel with every ROM
[Optimus One, P500 Original Android Development] Bytecode:
If you're playing around with OMX on Jellybean,remember not to apply the usual frameworks_av patch (the ones for smoothness and older egl blobs) but apply the OMX patch only in it :) they conflict and need to be reworked.

Audio boots fine for me,if you want to check feel free ;)
[Optimus One, P500 Original Android Development] Rashed97:
It boots fine here with both patches...

I'll in investigate later today ;)
[Optimus One, P500 Original Android Development] flanco:
ok, just reinstalled the fw after removing some more things: desktop clock (not using that) and a lot of ringtones (i have my own), meaning around 5 MB of space.

Reinstalled the fw + gapps_light + adreno patch. Checked with link2sd and... storage info: system Free: 36.00 KB. The exact same value as with the 5 MB more package. And, certainly, the script is still not created.
[Optimus One, P500 Original Android Development] myawan:
5MB is not enough, delete more stuff. Better make it -20MB.
[Optimus One, P500 Original Android Development] shinobisoft:
Try the ROM editor in my signature.

Sent from my LG-P509
[Optimus One, P500 Original Android Development] flanco:
As i stated to the first mail i posted on this matter (link) and here, this is the 2nd time i reduced the fw size, first time being around 32 MB and now another 5 MB. So, as you see, it's already WAY over 20 MB and still not enough space, or at least link2sd states this.

Bill, same response. The fw is already stripped to the bone, if you can strip it more than the 37 MB i did, please post the stripped apks so i can clear more my fw.

Tx!
[Optimus One, P500 Original Android Development] post-mortem:
Mount the 2nd partition manually from a terminal. Can you access it then? if no, then there's something wrong with the partition. If it's fine, then you need to free up more space on /system. Try moving some system apps to user apps. Do you have any problem with gapps, like Google Play?
[Optimus One, P500 Original Android Development] shinobisoft:
Here's my usual run of my tool -->>

1) Remove all live wallpaper stuff from system/apps. Also remove Email & Exchange

2) Move Apollo, Calculator, Mms, People to user apps, also think there may be others, kinda brain dead atm.:eek:

3) LatinIME Keyboard Editor - With just English dictionary == 5 MB+ compared to 25 MB+

4) I cannot remember names, but in the Fonts Manager, remove all fonts with first letter "L" and after. I'm in the US so I don't need them. Theres another 14 MB or so free.

5) Build the edited ROM. Tool will output two zips in the output folder. One is the rom and begins with LGP50X_ROM_ and the other is the user apps package that starts with LGP50X_DATA_ .

Copy to SDCard. Boot to recovery. And hopefully you know the rest... ;)
[Optimus One, P500 Original Android Development] flanco:
running "busybox mount /dev/block/vold/179:2 /data/sd-ext" from adb connection renders "mount: /dev/block/vold/179: Unknown host". ls on dev/block/vold gives "179:0 179:1 179:2"

No problems with gapps till now, they seam to be installed ok so space might not be the issue.

well, something strange happened: restarted the device, link2sd showed link warning, entered link2sd, it crashed. restarted link2sd and 2nd partition appeared mounted. Recreate mounting scripts still failed. Restarted the device and 2nd partition is again not mounted.

repeated the procedure:

1. run the above mounting command from adb. it failed with the above message

2. restarted device

3. link2sd mounting warning

4. entered link2sd and checked storage info

5. SDEXT2 appears mounted

If i now recreate mounting scripts with Link2SD, it fails and 2nd partition is again invisible.
[Optimus One, P500 Original Android Development] okle100:
I had the same problem when i has an swap parition defined in cwm partitoning.

Nasicaly link2sd wants to link to the first partiton on the sd card an tbatone is swap. you can mannualuy partiton the sd card on a linux pc or just dont use a swap partitoon.
[Optimus One, P500 Original Android Development] wtgserpant:
GAPPS is killing me

Hi,

I installed CM10 and it loads and everything is good, but when I flash the Gapps ...... I do not see google play store or any other google apps; any ideas?
[Optimus One, P500 Original Android Development] flanco:
swap is not created (set to 0MB when partitioning the card and minitool partition only shows 2 partitions: the FAT32 and EXT4 ones)