yashsingh1/xdaforums huggingface dataset:
[Optimus One, P500 Original Android Development] Herox:
I have tried this and many other roms. The screen transitions, the size of the rom, hell it takes 3 minutes to load angry birds. 30 seconds on a CM7 rom. I've tried a few 4.1.x and 4.2.x, and they are all very sluggish. Not to mention I have to fight for space. I installed 2 damn games, moved them to the SD card, and I only have 30mb left? I have over 125mb left with Cm7. This phone cannot take JB, and I seriously need someone to explain why I would be better with it. Sorry to go off topic but there is not a compelling argument for this. It makes the phone very slow.
[Optimus One, P500 Original Android Development] ibub:
@ herox

Yeah, I noticed some lag in cm10.1 rom, and that is one of the things that needs to be improved. But this is a development thread. The efforts of these developers is nothing short of extraordinary. The p500 family of devices, as you said yourself, was never meant to run jellybean, or ics for that matter. But that is the whole point, as I see it. To get these roms to even build, much less boot, is a major accomplishment. ICS has only recently become as functional as it has, and that took a good number of months. There are some months work in cm10, but cm10.1 development has just barely begun. The fact that these roms can be made to work at all, on our devices, is historic. And the devs should be appreciated for their hard work. If you cannot or will not use these experimental roms, that is your choice, and yours alone. Only you know what your needs are.

EDIT: Sorry for OT Rashed

sent from my p509, running whatever rom that I happened to flash last... I think? :confused:
[Optimus One, P500 Original Android Development] Rashed97:
Not in my opinion. I've been using anything BUT the stock ROMs for that reason. No one is forcing you to use this ROM.

And yes, welcome me back people :P

Sorry, was on a little break: Pirates of the Caribbean marathon ;)

Now, anyone need me? Also the kernel builds :D It won't boot though. DJNoXD says its a boot cycle: LG logo -> restart -> LG logo and so on... However it only builds for the P500 and P509. The P505/6 still have issues :P Will fix soon. So who's in the mood of flashing dead kernels? :P
[Optimus One, P500 Original Android Development] ibub:
Can you even get a log when it does that?

sent from my p509, running whatever rom that I happened to flash last... I think? :confused:
[Optimus One, P500 Original Android Development] gabrielking9:
It not logcat it is dmesg
[Optimus One, P500 Original Android Development] ibub:
Don't have adb set up. Was expecting to use terminal emulator.

sent from my p509, running whatever rom that I happened to flash last... I think? :confused:
[Optimus One, P500 Original Android Development] username1234321:
Deleted
[Optimus One, P500 Original Android Development] DJNoXD:
Now it stucks at lge logo (again).

And no, no log.
[Optimus One, P500 Original Android Development] gazdajezda:
True. Other functionality is ok, problem is only that speakerphone bug. At least as far i know, because that P500 is from gfriend, i have CM10-ed SGS2 :P

Anyway, kudos to Rasheed & other devels here!
[Optimus One, P500 Original Android Development] shishimaru1000:
Is Panorama expecting to work? It doesn't work with me.
[Optimus One, P500 Original Android Development] Rashed97:
I still haven't flashed the 3.0 kernel since I'm still in a constant battle with the Novatek driver for the P505/6. It insists on giving me build errors. Stupid thing.

And no logs. Its called a DMESG, or kernel output ;) Getting that kinda assumes its semi working, so we still have some work to do :p

Anyway, if anyone wants to go ahead and flash the crapped up, non-working kernel, here it is for the P500: http://jenkins.androidarmv6.org/job...ifact/zip/lge-3.0.31-p500-20130125-085411.zip
[Optimus One, P500 Original Android Development] thachtunganh:
Since people haven't understood about kernel 3.0 porting project yet, i will explain about it.

Porting kernel 3.0 to our device aren't for increasing battery life driving your phone fast enough to play GTA 3 and NOVA 3 without lag... Porting kernel 3.0 is for getting up-to-date, and making more ICS/JB features to work on your phones.

But even if you ported kernel 3.0 successfully to P50X, it would be less stable than 2.6.35...
[Optimus One, P500 Original Android Development] Herox:
@rashed

No sir its JB roms in general. I just went back to a Cm7 nightly for the P500. Straight up nothing special nightly. I'm actually going to backup and try this rom again as soon as I'm confirmed a speaker phone fix.

Also can anyone tell me the differences between 4.1.2 and 4.2? And maybe a way to conserve space?
[Optimus One, P500 Original Android Development] weritos:
3.0

Hey. Kernel 3.0 is not sewn = (

E:can't find script
[Optimus One, P500 Original Android Development] shinobisoft:
3.0 kernel doesn't even boot. Why look for it?
[Optimus One, P500 Original Android Development] Rashed97:
Hm, oops. Gotta add the stuff to turn it to a flashable zip :p
[Optimus One, P500 Original Android Development] ibub:
Was just getting ready to ask about that. How about original kernel too. Would make it quicker to flash back and forth. :rolleyes:

EDIT: Hey bill, will that update.zip that you posted work for this?

EDIT: Nevermind. Updater script only mounts /data

Edit: Thought about swapping the zimage in a flashable caf kernel zip, but I don't know about the system/lib/modules/wireles.ko that's included. Would that be different in 3.0 kernel?

sent from the p509 that i thought i killed...just a minor setback
[Optimus One, P500 Original Android Development] rr0yy:
@Rashed..

There are few patches.. trimmed apps and many usefull things buried between all these conversations. So.. can you please add them on first page??

This will be very helpful for the people who havent followed the thread for a while.

Or anyone else wants to help.. can create a thread in general section with all the useful stuffs for using this rom.
[Optimus One, P500 Original Android Development] Rashed97:
I'll do that when I build build 8.
[Optimus One, P500 Original Android Development] Rashed97:
HA!! EAT MY DUSK STUPID NOVATEK DRIVER!!! Finally got the damned Novatek screen driver to compile on the P505/P506 kernel builds. Now my dear friends, lets get this thing booting :D
[Optimus One, P500 Original Android Development] rakeshdas:
*DUST
[Optimus One, P500 Original Android Development] Rashed97:
Ah same difference :P
[Optimus One, P500 Original Android Development] rakeshdas:
Haha :laugh: BTW What's the novatek driver?
[Optimus One, P500 Original Android Development] Rashed97:
The P500 and P509 have a screen manufactured by Hitachi, and their driver worked fine after porting from 2.6

The P505 and P506 have a screen manufactured by Novatek, and their driver did NOT work fine after porting.
[Optimus One, P500 Original Android Development] gabo_lope:
i'ts the driver for the display on the p505 and p506; is different from the p500, which if i remember correctly, is hitachi
[Optimus One, P500 Original Android Development] Rashed97:
Yup.

Now to get a DMESG from these things and see whats wrong.
[Optimus One, P500 Original Android Development] rakeshdas:
Ahhh... Thanks man. Best developer on XDA! :good:
[Optimus One, P500 Original Android Development] Lt.Win:
Shouting can make you feel better at times :D

Go on, make me proud! :p
[Optimus One, P500 Original Android Development] ibub:
So I took a flashable caf kernel zip that I had, renamed it, swapped the zimage for the 3.0 zimage, and swapped out the system/ lib/ modules/ wireless.ko for the one from build 7. Restored my backup of build 7, rebooted recovery, and flashed the zip. No, it doesn't boot. But then, I'm still not sure about the wireless.ko.

sent from my p509 running cm10, build 7
[Optimus One, P500 Original Android Development] Rashed97:
The wireless.ko should affect nothing. And don't worry, the one from build 7 is the same (I think). The newer zips will have the modules built in. Hopefully they will be flashable too. Can you get me a DMESG from your phone and send it to me?

adb shell cat /proc/kmsg > 20130125-dmesg.txt

Thanks!

EDIT: Here's a new kernel: http://jenkins.androidarmv6.org/job...ifact/zip/lge-3.0.31-p500-20130125-231220.zip

This one has all the modules in it ;)
[Optimus One, P500 Original Android Development] stikmenow775:
works ?
[Optimus One, P500 Original Android Development] ibub:
adb devices

80a"my imei" recovery

adb reboot

error: closed

manually rebooted to lg logo and it never connected

adb shell cat /proc/kmsg > 2013125-dmesg.txt

device not found

:(
[Optimus One, P500 Original Android Development] gabo_lope:
the same...

Maybe we might get better results if we try from ubuntu, or another linux distribution...

I was reading yesterday that adb ( in windows) works only if the device is in some kind of a stable state, in my case when the CM10.1 bootanimation appears, and then, i can get a dmesg, logcat...
[Optimus One, P500 Original Android Development] ibub:
Was reading on linfo about a smaller version of Linux you can boot from a floppy. But I'd have to use a stick with my laptop. No floppy drive.

Edit: Not used to win8 either. Couldn't find the command line. Ran from power shell, after I figured it. out.

sent from my p509 running cm10, build 7
[Optimus One, P500 Original Android Development] weritos:
Kernel 3.0 is not sewn, the error E:Can't find update script.Installation aborted

P.S At what CM put this core?
[Optimus One, P500 Original Android Development] mvgadagi:
Apps Not Compatible In Play Store

After installing Build 7 In the play store many applications are showing Not Compatible with ur device Any help??

EvenThough i set DPI to 160
[Optimus One, P500 Original Android Development] borchaniz:
How to use the 3.0 kernel?? there's no script in the zip!

Where do I copy it's content
[Optimus One, P500 Original Android Development] shinobisoft:
The 3.0 kernel still doesn't boot, unless you're gonna try an get DMESG logs for Rashed, you're really wasting your time ATM. As for installing the kernel, Rashed forgot to include the updater-script in the package. If you want to try to place the files from the zip to your phone, the directory structure is laid out in the kernel's zip file. What ever directory is shown for a particular file in the zip is the directory to use on the device.
[Optimus One, P500 Original Android Development] Rashed97:
I didn't forget to do that. Even if I did, its in a zImage format, which can't be flashed. I have to devise some way to get it compiled into a boot.img which can be flashed.
[Optimus One, P500 Original Android Development] ibub:
This method did work. The updater script is "ANYKERNEL updater by KOUSH", which calls a mkbootimg.sh included in the kernel folder. The only glitch afaics is a UI_print ("CAF-P500 kernel") command which messes with my OCD. If you'd like, I can upload to mediafire, and PM a link. :D

sent from the p509 that I thought I killed again... no trouble at all :cool:
[Optimus One, P500 Original Android Development] emyller:
abootimg

Hey, Rashed. Are you on Ubuntu? There is abootimg, check it at your universe repository. I've used it before, works flawlessly.

Description-en: Tool to read/write/update android boot images
Android devices use a special partition format to boot any
operating system on the devices. These boot-images contain
a kernel image, a ramdisk, optionally a 2nd stage boot loader
and the commandline passed to the kernel when booting.
The original mkbootimg from Android can only create these images
where abootimg can also extract and modify them.
Handling android boot images is necessary when bringing other
operating systems to android devices.

Also, I personally discourage you to release a zip for now. Since this is a developer thread and Kernel 3.0 porting/testing is a very specific thing, only people with a minimum development experience at least should be doing things like this. So, IMHO, it's better if you just leave the compiled kernel files, then we won't see posts like "it's broken" here, but useful feedback from those who managed to actually install it.

When we finally have a working version [alpha+], we can release a flash-able version.
[Optimus One, P500 Original Android Development] ibub:
That's a wise assessment. I agree.

sent from the p509 that I thought I killed again... no trouble at all :cool:
[Optimus One, P500 Original Android Development] Uff182:
Trim the rom and install Gapps.
[Optimus One, P500 Original Android Development] shinobisoft:
Oops, my bad :eek: :silly: :p
[Optimus One, P500 Original Android Development] rishabh22:
Battery fix

Guys guess what! i think i have found the solution to fix the phone not going into deep sleep issue. :D

It was working for cm10 and hopefully should also work for cm10.1.

Will test and post results(and method ofcourse) after trying on cm10.1
[Optimus One, P500 Original Android Development] FCORivers:
I'm no dev or anything, just a Guy with two old phones and bleeding to death pockets who likes to flash different roms. With that in mind, don't flame me if what I'm posting is not possible or simply a stupid idea based on my lack of knowledge about android in general.

As I've read a lot here, the oone has small internal storage and that makes impossible to install a full cm10.1 rom, as compiled, with out being slimed down first.

As you can see by the end of this post, my other phone is an HTC hd2 which is very different in terms of CPU but most the same in terms of internal and ram memory, I think. That said, I've flashed tons of roms with a script created by a member of this forums, at least at the hd2 forum on xda, which mounts data to ext partition on installation of the rom and use little space from internal memory(nand) making it possible to flash big roms on that device.

I recommend to take a look at Phoenix thread about DatatoExt script on the hd2 nand android development forum to see if you can adapt that method of install and maybe the aroma installer too which has been used a lot by the devs of that section of this forums.

http://xdaforums.com/showthread.php?t=1843062

Don't want to be thanked by this, but don't flame me either if not useful. Just ask me to delete it and ill do.
[Optimus One, P500 Original Android Development] rishabh22:
YES It works :victory::victory::victory:

Does anybody remember the google guy who had started the ~Clear Battery Stats is useless~ buzz?

Cause apparently he was wrong.

That is what solves the whole problem :cool:

Now we can focus on the bluetooth/gps issue as we no longer have the battery being such a pain in the ass! :)
[Optimus One, P500 Original Android Development] shinobisoft:
Thanks for the constructive post. There are several scripts around that do the same. But, they just move your internal "user data" partition to the sdcard. Unfortunately, that has nothing to do with the system partition, which is where the OS is installed to. Now if someone could come up with a way to move the system partition to the sdcard, we'd have something, kind of. The catch there is that reading/writing from/to the sdcard is much slower than reading/writing from/to internal memory.

There are several allocated partitions on the OOne that in my opinion should and could be utilized for something else. But that's beyond the scope of my skill set as I'm a Windows programmer, not a Linux programmer.

---------- Post added at 10:14 AM ---------- Previous post was at 10:13 AM ----------

I always clean my battery stats when flashing a ROM. That may explain why I have fewer problems with these ROM than some of the others here.
[Optimus One, P500 Original Android Development] rishabh22:
Even i used to do it earlier but then more and more people started saying it was useless and so i stopped. i had no problem when i was switching b/w jb 4.1 roms but with 4.2 my phone stopped going into deep sleep. Earlier i had thought it was a rom bug but then today i switched back to 4.1 and had the same prob. That is what made me realize...
[Optimus One, P500 Original Android Development] korrectmethod:
Can you provide proof please? Like a before and after? or do we just take your word for it.
[Optimus One, P500 Original Android Development] rishabh22:
Why the hell would i lie about this? You could have simply "taken my word for it" and tried it for yourself. It wouldn't have done you any harm.

Anyway the "before" i had posted earlier in the cm10.1 thread which is now hidden/deleted(There was no deep sleep).

After:
[Optimus One, P500 Original Android Development] borchaniz:
I wouldn't lie either :p

I use cm10.1 with 2g network only, and Google location disabled and after a whole night, I find on CPU spy 99% deep sleep maybe I'll post screen shot tomorrow. I think it's Google location is the problem behind preventing deep sleep

And is it possible to resize system partition on HD 2? In the link above it's mentioned that he uses 500 mb on system ... If so why can't we?
[Optimus One, P500 Original Android Development] ibub:
Okay, now we need to figure out why it works. And also, I do recall that maps/location services stayed on, after closing the app, and was major contributor to battery drain (with screen off).

sent from the p509 that I thought I killed again... no trouble at all :cool:
[Optimus One, P500 Original Android Development] Rashed97:
Did I mention that keeping it at 600 max and 122 min with Wi-Fi off gives something like 40 hours standby?
[Optimus One, P500 Original Android Development] rishabh22:
I think you missed my earlier post.
[Optimus One, P500 Original Android Development] username1234321:
And which CPU governor to choose?

Thanks.
[Optimus One, P500 Original Android Development] shinobisoft:
If I'm not mistaken, Rashed has said SmartAssV2 for the governor.
[Optimus One, P500 Original Android Development] angelgzg:
This is without any application installed?
[Optimus One, P500 Original Android Development] ibub:
Development settings. If not listed, go to settings/about phone and tap build number repeatedly. This will enable development in main settings menu.

sent from the p509 that I thought I killed again... no trouble at all :cool:
[Optimus One, P500 Original Android Development] username1234321:
Congratulations to Rashed for getting 7000 thanks :):thumbup:
[Optimus One, P500 Original Android Development] angelgzg:
What I meant is that if the battery life is no application installed
[Optimus One, P500 Original Android Development] ibub:
No, no application .

sent from the p509 that I thought I killed again... no trouble at all :cool:
[Optimus One, P500 Original Android Development] franchixco:
The 3.0 kernel is only for android 4.1.2?
[Optimus One, P500 Original Android Development] Dovidhalevi:
Battery Issues!

Clearing the battery stats may or may not be sooo useful but I do it anyway, either when flashing or better, after a full charge, pull the plug and run "calibrate battery" app which basically does the same thing. In any event, no harm done.

The drain issues we have are due to GPS. Keep it off and the phone sleeps. Install that GPS fix and the phone will sleep but GPS will be a major drain. Use BS-batterysaver to schedule GPS, data, etc, while screen if off, get good battery life.

Note that the gps.conf in the fix is for someone living in Latvia. Probably no problem but the NTP (time-server) lines would better reflect closer servers including the country's local server. Search for threads on this. Another parameter is the ACCURACY_THRES. I have seen this set to 5000 and even 10000 instead of 0, claiming quicker lockins-->better battery. Harmless to try.

CPU governors are compile into the kernel/ROM. I have found SmartassV2 quite good, also for performance, also for battery life.
[Optimus One, P500 Original Android Development] SubZeroNexii:
where's cm 10.1 i cant find it anywhere!
[Optimus One, P500 Original Android Development] shinobisoft:
Thread temporarily removed
[Optimus One, P500 Original Android Development] hDusan:
How to Install 3.0 kernel ? :)
[Optimus One, P500 Original Android Development] xu3sno:
You can find it (nightly build) here http://download.multipleandroidcoding.net/index.php?dir=builds/cm10.1/lg/p500/
[Optimus One, P500 Original Android Development] ibub:
It's not ready yet. Better to wait.

sent from the p509 that I thought I killed again... no trouble at all :cool:
[Optimus One, P500 Original Android Development] xu3sno:
It still not works. Read previous bill.weckel's posts in this thread!
[Optimus One, P500 Original Android Development] hDusan:
well, just so it's easier for me, because I do not speak English

Küldve az én GT-I9100-emről
[Optimus One, P500 Original Android Development] xu3sno:
Hi Bill, you are a programmer, so I think is not hard for you to try Linux with your skill.:) Sorry for OT!
[Optimus One, P500 Original Android Development] shinobisoft:
This is OT so I'll make it short...

I do "fool around" with Linux on occasion but I'm by no means "fluent", if you know what I mean. I'm sure I probably could, but I'm not a full time programmer, I'm a full time electrician. Programming is only a hobby for me.

---------- Post added at 05:16 PM ---------- Previous post was at 05:14 PM ----------

According to Rashed, the kernel is built in zImage format which is not directly flashable to our device. Also Rashed has stated that it's not even booting. So IMHO, it's better to wait ;)
[Optimus One, P500 Original Android Development] sweetnsour:
Just looking around in android software and hacking general and I found this:

http://xdaforums.com/showthread.php?t=1959691

Had to go deep into the section to find it, and it's only a two-page thread, so my guess is that this might be a possible solution that we may have missed, or am I wrong? Hopefully it might be useful.
[Optimus One, P500 Original Android Development] -DarkKnight-:
That's not an excuse to not read

For More than half on XDA's users, English isn't their first language either, but they have to read posts like everyone else

If you don't understand, then use Google translate. I use itbfir other languages

I completely understand your position

I'm trying to learn Chinese(and failing :D ) and I understand how hard a second language can be

Thread Not Closed
[Optimus One, P500 Original Android Development] ibub:
Wow sweet, I read that OP, and that is REALLY interesting. As I understand, the repartitioning would be prepackaged in the kernel. I recall some discussion early in this thread concerning this possibility, and others, of addressing our lack of /system space. And now, with cm10.1 being so huge, a solution like this seems even more urgent. There are problems with this. Any device that does not have fastboot would not be able to format the new partitions. And, as stated there, to restore the original partitions would require a complete reflash of stock. I presume that they mean kdz. So an undo button (kernel) would be nice. Also, this would need to be tested to a "tried and true" certainty before release.

Edit: Possibly just flashing stock from the repository would do the job.

sent from the p509 that I thought I killed again... no trouble at all :cool:
[Optimus One, P500 Original Android Development] Rashed97:
No I saw it don't worry :p

I read every single post here

I really do need to fix GPS, don't I :p
[Optimus One, P500 Original Android Development] post-mortem:
I call placebo.

Every time you unplug your device from the charger, when the device is at or near a full charge, the battery stats get cleared. The ability to clear battery stats in recovery may have been useful back in the days of Donut or Eclair, but if you're running CM10+, that option in recovery is essentially superfluous.
[Optimus One, P500 Original Android Development] Rashed97:
Hm, I've got a little GPS hack for CM10.1 I'll add to the source trees tomorrow. Also, the new kernel does help battery life. I'll play with that. And build 8 will use my modded version of DJNoXD's Candied kernel (yes, I have his permission) so that should enhance it big time :D