yashsingh1/xdaforums huggingface dataset:
[Optimus One, P500 Original Android Development] Rashed97:
And who was it that asked me about the positives of the 3.x kernel a few days back?

-Better support for 4.x

-Full Project Butter

*Fully working triple buffering

*Fully working vSync system

-Full Project Roadrunner (when it comes out)

-Better battery life (not counting Project Roadrunner)

-Support for most new Qualcomm features

-Support for most CAF changes

*More CPU governors

*More I/O schedulers

-More reliable

-Less hacking of libs needed

-Faster overall

-Much more ;)
[Optimus One, P500 Original Android Development] ibub:
Sounds like that kernel is gonna renew the lease on this phone. :thumbup::D:thumbup:

sent from the p509 that I thought I killed again... no trouble at all :cool:
[Optimus One, P500 Original Android Development] alextirca:
it this posible?
[Optimus One, P500 Original Android Development] ktp1976:
AW: [ROM][4.1.2][CM10][UNOFFICIAL]LG Optimus One Family CM10[Jan. 8, 2013: Build 7/Fi

Whatever. I did flash it one time with clearing the other time without. No difference.

What helped was switch off gps and location services and uninstall maps. Since then battery is superb. Deep sleep ok.

Using Arjens build 10.1-20130116-UNOFFICIAL-p500.
[Optimus One, P500 Original Android Development] allenwalker1998:
OT:well I can speak Chinese, English, Japanese and a little bit of korean.

Now back to topic. Gmaps is always a major battery drainer. So if u want better battery life, remove it and locationprovider.apk.
[Optimus One, P500 Original Android Development] Rashed97:
I think I've got a pretty good hunch how to fix the GPS battery drain: fix GPS. I've seen it before; something that doesn't work drains the battery. So hopefully this is the same way.
[Optimus One, P500 Original Android Development] username1234321:
Yes I think Bluetooth not working is also causing battery drain. I am getting a wakelock called " msm_serial_hs_dma " which is preventing my phone to go into deep sleep. It is related to Bluetooth as stated here : http://blog.cryptomilk.org/2012/05/06/cm9-android-4-0-ics-and-deep-sleep/ They have given a solution but I don't know how to do it.

(Note: I am on arjen's build )
[Optimus One, P500 Original Android Development] rishabh22:
Let me relate my experience. Earlier the phone was not going into deep sleep(the state where processor almost stops working to save battery). This was causing a battery drain even while the phone was in standby(with clock@768-122). This usually happens when you switch from rom of one android version to another. Clearing battery stats i guess resets the battery stats according to what is required by the new rom, i don't know for sure (and what you said about battery stats being cleared every charge may be true, but it doesn't have the same effect.) So it doesn't really affect the normal battery life but just has enough effect to make the phone go into deep sleep again which prevents unecessary battery consumption during standby. Otherwise it is just a placebo. Earlier my battery was draining from 100-arnd 75-80% during the night(arnd 6 hrs). Today after doing this i found my battery level at 90, which is pretty bad as compared to previous rom(where there was only a 2-3% drain) but much better than what it was before clearing stats.

---------- Post added at 06:38 PM ---------- Previous post was at 06:37 PM ----------

I was having the same problem. Clearing battery stats fixed it! Refer to my previous posts.
[Optimus One, P500 Original Android Development] username1234321:
I cleared battery stats but I am still having that wakelock. Do I have to reflash the ROM?
[Optimus One, P500 Original Android Development] xu3sno:
Please follow this link http://d-h.st/HGc
[Optimus One, P500 Original Android Development] donavan01:
@Rashed

I'm not totally up on things with this build just read through all the posts here and over at Android Central. But it seems to me that the 2 biggest issues we have are the video and the camera (sure Google Now is a nice toy but really not required for a good ROM). If I'm not mistaken both of theses issues are tied into the Openmax drivers/codec. Might be that this problem could be better solved by tackling root of the issue by getting openmax to work rather than trying to hack our way through code to make it only sort of work. Obviously I suck as a developer so I may be talking out my back side but it seems to me that if we can get the GPU working properly it will make for a better overall experience.
[Optimus One, P500 Original Android Development] emanuelediba:
here is my logcat of google now . i was connected at wifi network and I was connected with my google account. ;) i mount you lightweight gapps
[Optimus One, P500 Original Android Development] emanuelediba:
about offline voice dictation i can download dictionaries now . I am trying to download the italian ditionary...
[Optimus One, P500 Original Android Development] Rashed97:
OK here us what I've got to say about the camera, video, and Google Now:

Camera: the problem is that the camera can only be in use by one process at a time. When the phone boots, something uses the camera and never released it and then the camera app never can connect. Other than that its working perfectly according to the logcats I have.

Video: Qualcomm removed support for ARMv6 when playing video. Needs to be hacked to work again

Google Now: sound libraries are built for ARMv7 not 6, must be hacked as well
[Optimus One, P500 Original Android Development] lipe082:
Any ideia of whats using camera since boot?
[Optimus One, P500 Original Android Development] Rashed97:
Nope. The logcat doesn't help much there.

Anyways I'm gonna take a 3 hour nap or so... Really tired. When I get back, Catapult is getting an overhaul ;)
[Optimus One, P500 Original Android Development] xu3sno:
....and is there any progress for USB modem? Okay, you better take a nap. :)
[Optimus One, P500 Original Android Development] creagrox:
Can't it be that the face unlock is running in the background all the time? Afrerall its just a subprocess of the whole unlock function, isn't it? And the unlock function sure as heaven does run all the time.

Just some food for thought :)

Sent from my LG-P500
[Optimus One, P500 Original Android Development] lipe082:
Isnt face unlock part of gapps??
[Optimus One, P500 Original Android Development] creagrox:
I can't say as I haven't dismantled that beautiful(!) zip package yet, but I believe that even though it has no use on our devices, it stealthy gets injected during the flashing process.

..Another food for thought..

Sent from my LG-P500
[Optimus One, P500 Original Android Development] lipe082:
Indeed could be in the OS itself lets wait for rashed read this...
[Optimus One, P500 Original Android Development] -DarkKnight-:
I just deleted that from gapps. nothing went wrong.
[Optimus One, P500 Original Android Development] Rashed97:
Back at my PC. Face unlock is part of Google Apps and hence I removed it in my version.

EDIT: Looking at CM Gerrit, loads of Qualcomm camera fixes have been approved, so they may have fixed the camera themselves, or they may have broken it even more...
[Optimus One, P500 Original Android Development] pt.jcosta:
already enter these new sources?
[Optimus One, P500 Original Android Development] mario_fe:
@rashed97 all the best for hacking those driver, the ROM is amazing!!!

Enviado desde mi LG-P500h usando Tapatalk 2
[Optimus One, P500 Original Android Development] chadgregoryweb:
Is there anyway for one of us to go through the processes that are running at startup and check what they are using?

Is the movement detection that the Galaxy SIII has to detect if your eyes are on the screen embed in the rom?

Has anyone thought of Google Talk? One of the receivers is videochat.VideoChatOutputReceiver

Theres also:

com.google.android.videochat.VideoChatService

videochat.RefreshCameraStateProcessorService

videochat.VideoChatOutputProcessingService
[Optimus One, P500 Original Android Development] -DarkKnight-:
impossilbe

and rashed.

I have an acer iconia a100 tablet. it runs cm10, but that build is from 7-30 and it doesn't have any of the power menu issue

power menu works.

if it is a CM team issue, then shouldn't they be the same

that demonstrates that power menu problem is probably our devices fault
[Optimus One, P500 Original Android Development] Rashed97:
Hm OK... Maybe an ARMv6 issue

No noway to do that. We don't have a frontwards camera

Yup
[Optimus One, P500 Original Android Development] chadgregoryweb:
Since we dont have a front facing camera, would it try to use the next available camera?
[Optimus One, P500 Original Android Development] FCORivers:
Ot too, try it, I mean I'm not fluent in English, but I do try writing in your language, autocorrect helps in my case. Lol. I mean you'll get better with practice as everything in life.
[Optimus One, P500 Original Android Development] rishabh22:
Hmm im sorry i'm not very familiar with waakelocks. Those are what prevent deep sleep right?

Earlier i was having no deep sleep and battery stats mentioned a wakelock like that. After clearing stats i checked for deep sleep using cpu spy and it was present. I haven't checked for a wavelock after that but phone goes into deep sleep for sure.

And no you don't have to reflash.
[Optimus One, P500 Original Android Development] shinobisoft:
Time is my issue here. It takes time to learn a new OS, let alone how to program for it. Thanks for the input tho. To make a point as I may be taking this -- "I mean you'll get better with practice as everything in life" -- the wrong way, I'm 42 :eek: years old bro, I know all about life and it's trials and tribulations.

Unfortunately, auto-correct can't help me write a program :silly: LOL. Anyway, never said I wouldn't try, that's just one of those things that I have to squeeze in with all the other stuff I'm trying to accomplish.
[Optimus One, P500 Original Android Development] Dovidhalevi:
Battery Drain, more ...

The GPS Fix fixes the phone's insomnia. But this creates another battery drain problem and one sees wakelocks relating to location services, maps, etc. Running the paid version of DS-batterysaver or SuperUser to schedule GPS, data, etc., when the screen is off will "solve" that. I am getting very good battery life now. One might also want to tweak the gps.conf file, see mine and other posts, search threads on this.

I have not seen a wakelock relating to the non-functioning bluetooth.

GPS, when continuously active, and WIFI are the major battery drains. These need be tweaked/optimized/fixed to alleviate some of this problem.
[Optimus One, P500 Original Android Development] russian392:
uh fyi bluetooth works, Gps NEVER WORKED
[Optimus One, P500 Original Android Development] Rashed97:
I'll fix Bluetooth and GPS and run a build tomorrow and see what I get. If I am guessing (more like inferring) correctly, battery life should jump a good bit.
[Optimus One, P500 Original Android Development] gabrielking9:
Psyke got kernel 3.0.8 booting on galaxy 5
[Optimus One, P500 Original Android Development] Rashed97:
Yes, I know. Makes me think that us working with 3.0.31 was a bad idea :p
[Optimus One, P500 Original Android Development] just1nsama:
FYI, thats not true, tried to flash P509 .zip on my girlfriend's P500 and recovery refuses to flash it, maybe its the same hardware but it doesnt recognize it as the same .. thought i would let poeple know ...
[Optimus One, P500 Original Android Development] shinobisoft:
Its the recovery, not the ROM. Use OOne ROM Editor to remove the assert statement from the ROMs updater-script. It works. I flash P500 ROMs on my P509 all the time. And FYI, nobody here is gonna try to steer you in the wrong direction.

Sent from my LG-P509
[Optimus One, P500 Original Android Development] just1nsama:
Alright thanks man, will try that :good:
[Optimus One, P500 Original Android Development] hristodipchikov:
Does this mean that you build version 8.
[Optimus One, P500 Original Android Development] just1nsama:
Just to be sure, once i hit apply after removing assert statement, should it be creating another copy of the rom or its now edited ? Cant try to flash right now since im at work, so i just want to know before i get home.

Thanks for your time

EDIT: Build Rom was unavailable after only clicking "remove assert statement", so i removed appolo.apk and was able to build the new rom, guess that should answer my question ... hope this works.
[Optimus One, P500 Original Android Development] shinobisoft:
Bluetooth and GPS don't work on the 4.2.1 builds. I know for a fact bluetooth works on 4.1.2 build #7 cause I use it every day :eek:, dunno about GPS tho, never use it :silly:
[Optimus One, P500 Original Android Development] vincentshjuan:
GPS works on 4.1.2, tried it on Google map and Waze, works perfectly
[Optimus One, P500 Original Android Development] filipeataide:
Same here! It works perfectly!
[Optimus One, P500 Original Android Development] Dovidhalevi:
As said, the GPS "fix" gets GPS and sleep working but GPS is a big drain in and of itself with this.

WIFI is the biggest drain for the 4.2 ROM and needs adjustment.

The attached apk (from a 4.2 bluetooth fix thread) will actually cause my Motorola earpiece to flash blue and red (trying to pair?) but bluetooth will still not turn on or operate and logcat entries, i.e. mBluetooth = 0, look the same as with ROM's Bluetooth.apk.
[Optimus One, P500 Original Android Development] ledinhsonhp:
Build 8 by Rashed + DJNoXD Kernel = Perfect JB 4.1.2 for P500
[Optimus One, P500 Original Android Development] hristodipchikov:
And we’re waiting.
[Optimus One, P500 Original Android Development] sam811:
Rashed knows that.
[Optimus One, P500 Original Android Development] arczangel:
Really love my battery life now! :good:
[Optimus One, P500 Original Android Development] Rashed97:
Minor delay.... Got an English test tomorrow. Not gonna be pretty, so I'll build with an attempted BT and GPS fix tomorrow or if I get squished for time, Friday.
[Optimus One, P500 Original Android Development] post-mortem:
Take your time. Waiters gonna wait, lol.
[Optimus One, P500 Original Android Development] just1nsama:
Alright I was able to flash the p509 ROM on the p500 of my gf (using old bb) after removing the assert command in the updater script, just wanna say sorry for saying it was not possible, thanks for helping me out!

She's now one happy girl running cm10!

Quick question ... Will the future cm10.1 ROM for p509 also use old bb?
[Optimus One, P500 Original Android Development] shinobisoft:
Yes. There was and will never be another official update for any of the Optimus One devices. So things will remain as they are. P506 & P509 are old baseband and P500 & P505 are new baseband.

Glad I was able to help.
[Optimus One, P500 Original Android Development] just1nsama:
Thanks man it worked, sorry for saying it didn't before .. Should of investigated further at first!
[Optimus One, P500 Original Android Development] Rashed97:
After a long fight with Jenkins, I give up on trying to update the damn thing.... Stupid thing wouldn't update.

Anyway, let's try a few little things, shall we? Not really that little... Candied Kernel + GPS fix CM10.1 build :p
[Optimus One, P500 Original Android Development] Alexandrc:
Without BT fix? :(
[Optimus One, P500 Original Android Development] Rashed97:
BT is driving me nuts...
[Optimus One, P500 Original Android Development] stikmenow775:
Whats is the problem?

Drivers?

Enviado desde mi LG-P500 usando Tapatalk 2
[Optimus One, P500 Original Android Development] weritos:
cm 10.1

Build and no bluetooth, and the

battery will keep better? Thank you

for your work!
[Optimus One, P500 Original Android Development] Alexandrc:
Yes... if BT removed, the battery live better ;)
[Optimus One, P500 Original Android Development] xu3sno:
Rashed, I'm using Jan 29 CM10.1 for p500 from Jenkins (http://jenkins.androidarmv6.org/vie...roduct/p500/cm-10.1-20130129-NIGHTLY-p500.zip), it's fast and smooth. GPS fixed with cougarcougar script. Deep sleep works with DS Battery Saver, eventually. Thanks.
[Optimus One, P500 Original Android Development] Dovidhalevi:
This must be a user option. Some of us need BT.

Under Froyo, BT (when active) was listed as a 25% drain. However, I never really noticed gross differences in battery life for the 1/2 to one hour a day I may have had the earpiece active. I shut off BT when not using it.
[Optimus One, P500 Original Android Development] Alexandrc:
BT does not work absolutely in current version CM10.1 but launched services drain battery :(

Therefore it is possible completely remove BT and add later, for anyone who do not want wait ;)
[Optimus One, P500 Original Android Development] shinobisoft:
I seem to get pretty good battery performance using bluetooth with CM10. My bluetooth is active 6 - 10 hours daily as I too wear a BT earpiece. Granted, I turn off BT when I'm not using the earpiece. There are times that I'll stream music via my BT earpiece and this can have a heavy load on the battery at times but it's not consistent.
[Optimus One, P500 Original Android Development] Dovidhalevi:
Have not noticed but there are apps to control launcher services.

Do not think blanket deletions is best way to develop, build ROMs.

Anyway, that Bluetooth.apk I relayed here does exercise the chip! So that, along with some correction in the .ko or .jni might fix it.
[Optimus One, P500 Original Android Development] DJNoXD:
Kernel news about our common 3.0 kernel (great work androidarmv6 team :good:):

Got past lge logo :victory: and my pc recognized the phone as a mass storage, than adb was found and some time later it reboots.
[Optimus One, P500 Original Android Development] weritos:
Great job!: Хорошо:: Хорошо:: Хорошо:
[Optimus One, P500 Original Android Development] just1nsama:
keyboard

keyboard is rather small, does anyone have one to suggest me ? or does anyon have the LG GB or Froyo Keyboard i could flash ? Sorry if im a little off topic right now, but its still CM10 ROM related =P

Thanks
[Optimus One, P500 Original Android Development] shinobisoft:
LG keyboard is incompatible with this ROM. Don't have any suggestions, sorry.
[Optimus One, P500 Original Android Development] just1nsama:
Oh well, i still have the universal GB keyboard i can tryout and the 4.2 keyboard i can flash (even tho the 4.2 is pretty much the same except for a couple of settings), i ll try that out.

Thanks anyway !
[Optimus One, P500 Original Android Development] xu3sno:
Perhaps you can try iPhone keyboard from Playstore.
[Optimus One, P500 Original Android Development] Rashed97:
I'm pretty sure all that we have left to do is update the headers in the actual ROM so it builds with 3.0 compatibility since right now its building with 2.6 hacks. Then the great rewrite of HALs begins...
[Optimus One, P500 Original Android Development] Lt.Win:
Just found this.

http://madteam.co/forum/development...el-3-0-8-porting-for-samsung-msm7x27-devices/

Will this help in any way?
[Optimus One, P500 Original Android Development] Dovidhalevi:
Go to discussion thread. Anyway, look in Play for any number of keyboards. Swype appears a bit larger, get beta from their site.
[Optimus One, P500 Original Android Development] Rashed97:
I'm building the first ROM with a hopefully working 3.0.x kernel

I'll flash it tonight if it all goes well ;) And if it boots, I will share some screenies :D
[Optimus One, P500 Original Android Development] Rashed97:
OK, Anyone with a P506 and can use ADB: http://jenkins.androidarmv6.org/job...t/p506/cm-10.1-20130131-EXPERIMENTAL-p506.zip

That has the 3.0 kernel in it. You're welcome :D
[Optimus One, P500 Original Android Development] post-mortem:
Wha...? Already?
[Optimus One, P500 Original Android Development] Rashed97:
Who do you think I am? :D
[Optimus One, P500 Original Android Development] shinobisoft:
Damn... I wanna play :silly::p My P506 is a paperweight :eek:
[Optimus One, P500 Original Android Development] Rashed97:
Building for the P500 now and then the P509 then the P500 ;)

Trust me, I'll have then TONIGHT
[Optimus One, P500 Original Android Development] soham93:
ROM Machine..ROM Machine ;)
[Optimus One, P500 Original Android Development] Rashed97:
Yup, P500: http://jenkins.androidarmv6.org/job...t/p500/cm-10.1-20130131-EXPERIMENTAL-p500.zip
[Optimus One, P500 Original Android Development] korrectmethod:
Getting 'error 404" on p506 link. Intense traffic, maybe?

edit : Nevermind, navigated to the site manually. The link for some reason just didn't work.
[Optimus One, P500 Original Android Development] Rashed97:
Ah try this:

http://jenkins.androidarmv6.org/job...t/p506/cm-10.1-20130131-EXPERIMENTAL-p506.zip

Here's the P509 link anyway ;)

Happy flashing Bill ;)

http://jenkins.androidarmv6.org/job...t/p509/cm-10.1-20130131-EXPERIMENTAL-p509.zip
[Optimus One, P500 Original Android Development] gabo_lope:
Ok tried the Lg thrive version now, and now is stuck in some kind of bootloop, but with the linux penguin (ja ja, don't know his name) and then it reboots into recovery. Here is a video i taked just now from another phone, excuse the poor quality of the video... http://youtu.be/hGWn3Pevzkg

Is this the expected output?

As you may hear in the video, my laptop detects a new hardware, Linux file CD Gadget, and also adb detects it using the command

adb devices

but when i try to get a logcat i press enter, like a second or two passes, and nothing shows, then the command prompt gets in normal state again (waiting for a command), and thats it
[Optimus One, P500 Original Android Development] Rashed97:
Ah OK, that's what DJNoXD got too :p

I didn't flash it yet for fear of that.
[Optimus One, P500 Original Android Development] gabo_lope:
That's why backups exists :D

Going back to normal 4.2.1, for now :cowboy:
[Optimus One, P500 Original Android Development] Rashed97:
All the family links now :D

P500: http://jenkins.androidarmv6.org/job...t/p500/cm-10.1-20130131-EXPERIMENTAL-p500.zip

P505: http://jenkins.androidarmv6.org/job...t/p505/cm-10.1-20130131-EXPERIMENTAL-p505.zip

P506: http://jenkins.androidarmv6.org/job...t/p506/cm-10.1-20130131-EXPERIMENTAL-p506.zip

P509: http://jenkins.androidarmv6.org/job...t/p509/cm-10.1-20130131-EXPERIMENTAL-p509.zip
[Optimus One, P500 Original Android Development] just1nsama:
this is awesome cant wait to try that out, keep up the good work!
[Optimus One, P500 Original Android Development] shinobisoft:
No complete boot here either. Got a badly colored Linux image in the upper left corner of screen for about 30 or 40 seconds and then black screen for 15 - 20 seconds then the phone rebooted into recovery. Keys did light up tho :p
[Optimus One, P500 Original Android Development] ibub:
Yup, same here.

sent from the p509 that I thought I killed again... no trouble at all :cool:
[Optimus One, P500 Original Android Development] rakeshdas:
Are these trimmed?
[Optimus One, P500 Original Android Development] shinobisoft:
Not booting anyways. No they aren't trimmed from what I can see.
[Optimus One, P500 Original Android Development] xu3sno:
Will try P500 out after downloaded it!.
[Optimus One, P500 Original Android Development] korrectmethod:
I believe the kernel might have done something to my CWM (5.0.2.0). When I went to factory reset after flashing this, it formatted data, cache, and my sd card. I wiped data/factory reset as I have done countless times before flashing a rom and I've never had it wipe my SD card also. Good thing I had a backup. :good: Just giving a head-up incase it is the kernel. If not, then I don't know what could have caused this.
[Optimus One, P500 Original Android Development] ibub:
Might be a good idea to reinstall recovery... just in case. No problem with amonra.

sent from the p509 that I thought I killed again... no trouble at all :cool:
[Optimus One, P500 Original Android Development] shinobisoft:
No problem with P500 CWM 5.0.2.7 Touch either.
[Optimus One, P500 Original Android Development] Rashed97:
No problem with the normal CWM 5.0.2.0 here either. That's weird. Now if there's some absolute Linux addict, see if there is a way to pull DMESG from previous boots. Also I need some sort of logcat
[Optimus One, P500 Original Android Development] GoliathGan:
Using P500 and getting same result, saw the little penguin then reboot back to recovery...