yashsingh1/xdaforums huggingface dataset:
[Optimus One, P500 Android Development] FabianoT:
more than 400 messages looked.. a bit.. long to read :)

I have read in main post that ROM release is very recent, 2018 but--imho--this info alone did not guarantee that the ROM is updated with the last security patches. This is the reason of my question.

Following your suggestion, and looking at posts near #472 I found "patch security level July 2018", great!! Thank you for pointing out.

[MENTION=4974969]HardLight[/MENTION]

imho, I think that this information should be explicitly highlighted in the first (main) post.

Thankyou again for supporting P500 and thank you [MENTION=5252269]josehbermudez[/MENTION] for the help here.

Regards
[Optimus One, P500 Android Development] FabianoT:
Google Services Problem

First, thanks for this great ROM.

STATUS and PROBLEM

I successfully installed TWRP 3.0.2, lineage-11.0.1-20180717-OS2SD-p500.zip and gapps-4.4.4-20161215-OS2SD-p500.zip taken from the download area, on my beloved LG Optimus One p500, but I keep receiving an error from Google Services process, after booting, I get few times a grey Dialog in the middle of the screen with "Google Services stopped abnormally" (I am translating from italian message, orginal english may differ).

Any attempt to log in with a Google Account fails (it says connection failed and then it suggests to try later) and naturally I'm not able to use the play store.

I have tried also to reinstall with Open GApps, but it does not install anything, I think/suppose this is related being incompatible with OS2SD ROM.

QUESTIONS

Is this a problem with too old gapps in gapps-4.4.4-20161215-OS2SD-p500.zip?

Is there any way to modify Opengapps in order to make it compatible with a OS2SD ROM? (perhaps it is not compatible with ARM6.. am I right?)

OT QUESTION:

Is the lineage-11.0.1-20180717-OS2SD-p500.zip ROM from the main post of this thread for ext4 or is for f2fs?

(I have /data as f2fs partition)

Any tip is welcome.

Regards
[Optimus One, P500 Android Development] FabianoT:
Other Problems (described in the thread but found no solution for the first)

Status: last ROM with (broken) Google Services (gapps)

the phone 'lives' about 5-6 hours standby with battery

last ROMS lack certs

For the battery it seems a problem with WiFi wakelocks but found no clear solution for this.. Do you have any tip?

For the second problem, I found a solution in this thread, I created a new lineage*.zip ROM archive by adding the certs from another older lineage*.zip ROM (always from Hardlight Dowload area).

But I created the new ROM archive in a different way, I used the Linux command zip -gr on my Linux PC as described in the post here in order to add the certs in the proper folder /system/etc/security/cacerts . That is quite more comfortable that using Android utilities.

I fear it is better to forget Google Service stuff and use the phone vanilla with F-Droid (that I suppose needs the certs)
[Optimus One, P500 Android Development] FabianoT:
I try the "vile" ad personam mayday for my previous two posts :)
[MENTION=5252269]josehbermudez[/MENTION]
[MENTION=4974969]HardLight[/MENTION]
[Optimus One, P500 Android Development] josehbermudez:
Fabiano.

Look for post #481.

Hard light deodexed this ROM to enable signature spoofing. Then use just microg and don't flash any gapps.

Clean Flash the last rom, then directly follow exactly microG thread steps here in xda.

Use f-droid and install microg repositories.

Last version is up and running.

Remember. Microg has it's own thread for questions.

Give it a try.

Enviado desde mi NX406E mediante Tapatalk
[Optimus One, P500 Android Development] FabianoT:
Ok, I'll try that, for wakelocks I read on another ROM thread that it is an ARM6 issue. I fear I should find a way to turn on the wifi only when screen is on... I found no other solution

---------- Post added at 01:03 PM ---------- Previous post was at 01:02 PM ----------

Ok, I'll try that, for wakelocks I read on another ROM thread that it is an ARM6 issue. I fear I should find a way to turn on the wifi only when screen is on... I found no other solution
[Optimus One, P500 Android Development] FabianoT:
Finally,

I installed only the last Hardlight ROM (with added certs) + FDroid, and also I manually installed OperaMini and OsmAnd (Works fair good).

I installed Wifi Automatic from F-Droid, in order to shut down wifi autmatically when screen is locked.

I abandoned the idea of google services stuff but the phone works quite well. My main purpose was to have a more secure phone, there are few old Android vulnerabilities that I like to avoid (i.e., mms vulnerability)

I found no post about the wakelock issue (no tip about?), I have estimated that with WiFi enabled my p500 battery lasts only 3 hours.

Regards
[Optimus One, P500 Android Development] HardLight:
LineageOS 11.0

20190313 build uploaded!

Changelog:

Download

Android File Host | XDA
[Optimus One, P500 Android Development] ibub:
[MENTION=4974969]HardLight[/MENTION]

Was the missing cacerts because of a build error? Just curious ;)
[Optimus One, P500 Android Development] HardLight:
After upstream change a while ago, there was a missing repo containing certificate files, so build system did not include them :)
[Optimus One, P500 Android Development] ibub:
That makes sense. I tried to search and find the reason it was not included, but couldn't. But I'm not syncing the source either. Thanks. :)
[Optimus One, P500 Android Development] mortalman:
Hi! I'm getting two messages when I try to install Lineage. The first one is "kernel does not have support for reading SE Linux contexts" and the other is "error executing updater binary in zip."

Flash failed. Any ideas what to do? Thanks!
[Optimus One, P500 Android Development] bigsupersquid:
Try the TWRP recovery version listed in the first post (should be linked in HardLight's signature on that post)
[Optimus One, P500 Android Development] mortalman:
So after reading your reply I realized I had not partioned properly. Followed the instructions and the install still failed. I have an older version of twrp and want to install 3.1.1 but the p500h will not go into fast boot mode, constantly just reboots into the current rom (CM10). I don't want to use rom manager as it seems to cause problems sometimes. Stuck again. Any ideas?
[Optimus One, P500 Android Development] bigsupersquid:
Can you use the older twrp to install the newer one?If it's old enough to not flash .img files, you might have to use a zip installer and I'm not sure there is one or not.

I guess you could use dd in adb shell in your old twrp version as a last resort. Just make sure you've got a viable, bootable ROM installed before you go messing around with the recovery partition.
[Optimus One, P500 Android Development] mortalman:
I just installed the recommended twrp from a zip in the download link of hardlight's original post. Just finished when I got notification of your post. :good:

I'm going to try it now. Thanks!
[Optimus One, P500 Android Development] mortalman:
It worked, yay! I had to use mini partition tool to format because twrp couldn't format. Probably the sdcard was messed up from me fooling around. After re-formatting the install went perfect. Thanks for your help, you got me going on the right track. :victory:
[Optimus One, P500 Android Development] FabianoT:
Sorry have not faced similar issues with my p500 (not h), installed twrp + 4.4.4 few months ago (followed the guidelines). But I think I have an older twrp than 3.1.1 now.
[Optimus One, P500 Android Development] mortalman:
I am finding I have quite a lag with this rom. It may be because gapps keep crashing. I Installed the gapps 4.4.4 from Hardlight's download link. Is there some way to correct this problem?
[Optimus One, P500 Android Development] FabianoT:
Personally, I have decided to not use gapps. I have understood that gapps for p500 needs to be a very old version that is not working very well (this is because Google dropped ARM v6 support). I wasn't able to make it work properly.

My question.. for what use?

Another problem is that enabling wifi, or data, raises battery drains in a way that consumed all the battery in 3hrs.

My solution is, let's install "FDroid" apk in place of "Google Play" (an old working version too, simply try), install Opera mini web browser, use an old version of OrmAnd for maps in place of "Google Maps". When Internet is needed, I put the widget button for enabling wifi into the home page.

Google application are Molochs, forget about them, IMHO

I have not installed an email client, but I think it is easy with FDroid (when non working, try older versions of the app).

In FDroid there is also an application (don't remind the name, works like a charm in p500) that permits to enable data/wifi automatically for few minutes every hour or similar, ..., this is a good workaround for the battery drain (caused by problems with wakelocks).

OperaMini works like a charm.

P.s: Has anyone solution for the data/wifi wakelocks issue?? Any magical driver fix or similar?
[Optimus One, P500 Android Development] Baboo85:
I know I have a slow 4GB Class 4 microSD (I partitioned it to use 1024MB ext3 as internal memory) but why it keeps forever to boot up the first time? It's been an hour with the logo ongoing forever....
[Optimus One, P500 Android Development] mune72:
Sorry for the necroposting.

I found an ancient LG 500 laying in a box.

The reason I left it at that was its short memory capacity.

I was happy to see that somebody else faced the same issue. This post give me the idea to try it again.

I installed TWRM but, after better reading, I think that one that puts the OS in the SD (ie a special one) is required.

The links aren't no longer existing, can someone point me to the place where I can download such old stuff?

Thanks

Federico
[Optimus One, P500 Android Development] Raj.prices:
i can download and updated but gapps not working
[Optimus One, P500 Android Development] kayuz:
The rom works but it’s laggish and most importantly, I cannot install anything. WhatsApp crashes Telegram too, Gdroid too…

I use a 64gb Samsung Sdcard and partitioned for having 20gb for system and 4gb swap and the rest for data
[Optimus One, P500 Android Development] kprsnt:
can u attach full logcat.....??
[Optimus One, P500 Android Development] HardLight:
Uploaded new 14.08.13 version.

Also changed mount options a bit, so tell me if that changes rom performance for you.
[Optimus One, P500 Android Development] pradipsoman:
Do i need to do a clean install or would flashing this over the 2.08.14 version let me keep my installed applications intact?
[Optimus One, P500 Android Development] xu3sno:
AFAIK, simply flash it over 2.08.14 without wipe, so you can keep installed apps. Do not forget to make nandroid backup first, prior to flash just in case.
[Optimus One, P500 Android Development] marrduk:
Hardlight, thanks for your work. Is it possible to apply bigsupersquid's patch to the ROM? This wifi battery drain is just driving me nuts. And this problem is most serious to me, because of dead power controller, so I have to pull off the battery and charge it with universal charger. That's why I really need good battery perfomance, but without loosing ability to keep wifi turned on. TIA.
[Optimus One, P500 Android Development] ruelericsapalaran:
RC9 Update?

Is the CM Updater working correctly? Just right now, I received a notification regarding a new rom update. Is this okay to update? I don't want to mess my current rom which is so amazing that's I want to make sure if this is okay or not :)
[Optimus One, P500 Android Development] HardLight:
New version 2014.08.18

Used new mount options for /data that should theoretically improve r/w performance by 10% on this partition. Please leave your feedback.

@ everyone

Is it OK to upload upcoming versions only to Google drive for all of you? I prefer it because of speed.

[MENTION=4328776]ruelericsapalaran[/MENTION]

No, do not update anything through CM updater because it will install regular rom directly from jenkins. Flash rom zip from 1st post.

[MENTION=3926110]marrduk[/MENTION]

It is possible to apply bigsupersquid's patch on this rom but first his kernel must be compiled with TLS support. After that I can make changes to fstab to work properly with OS2SD mod.
[Optimus One, P500 Android Development] MagusWRM:
Well it's working great; previews versions had some lag in calling operations but tested it now and it's working as a charm!

I didn't have a chance to test performance by the new mount options but for me it's working quite good.

And I do prefer download by google-drive too ;)
[Optimus One, P500 Android Development] HardLight:
Twrp 2.7.1.0 multi 14/08/19

Here is new version of TWRP-2.7.1-MULTI recovery that supports switching modes between Internal and OS2SD.

To do this go to Advanced->Switch Internal/OS2SD Mode. This allows to flash OS2SD and regular roms without changing recovery.

Also in OS2SD mode you can repartition your SD card for OS2SD rom (ext4, swap, ext4). It may take some time so be patient.

In this recovery you can take screenshots. Press power+volume down, screenshots are saved in /sdcard/Pictures/Screenshots (if /sdcard is mounted) or /tmp

Note:

This recovery will flash only TLS enabled roms (feature of all TWRP from 20140725)

Rapidly switching modes can cause recovery to halt, if this occurs remove battery (bug)

Credits and thanks to [MENTION=2980661]bigsupersquid[/MENTION] for making this to work on p500. His original thread.

Download
[Optimus One, P500 Android Development] fozzyag:
Very good rom. Well done!

Finally more space to install apps and the rom is generally very stable and fast. Battery usage is very good when not using Wifi.

Two things that keep happening for me for all 3 versions I used so far (20140729, 20140802, 20140813)

"Clock" stops responding intermittendly. And after changing the ring type (mute, vibrate and sound/vibrate) on the notification drawer/quick access ribbon, it takes a second or two before this change is applied (icon changes). Nothing major and I do disable and remove a lot of stuff I don't need, also have no background processes.

Keep up the awesome work!!!

Surprised there is only so few comments on this amazing rom but that only shows how good it is :)
[Optimus One, P500 Android Development] xu3sno:
Congrats!. Great works! One fits far all :cool:

Wow. Now I can take the recovery screenshots :cool:

As you said, it's happened here. Once bug fixed, it'll be a perfect recovery :good:
[Optimus One, P500 Android Development] bigsupersquid:
thanks. this wouldn't exist yet if HardLight hadn't made a p500 OS2SD rom and thus tempted me into cross device collaboration.

it's not quite the One Recovery yet (one recovery to rule them all, one recovery to flash them...) until i get the old/new internal partition patched.

2.7.1 has some extra nifty features.

I'll be working on the mode switch bug.

//edit: mode switch fixed and extra files dropped from build. continuing testing.
[Optimus One, P500 Android Development] ruelericsapalaran:
This so far the best rom I've used so far since HardLight's ICS release ( I'm now a fan :)). I would like to know though if anyone experiences random deep sleep. I am so I would like to know if there is a fix for this or any run around. Other than that, this is an awesome rom! :D
[Optimus One, P500 Android Development] haoss07:
how do you overclock this baby ? can't find any settings
[Optimus One, P500 Android Development] xdema:
after you have unlocked the dev settings, at the end of settings menu you can find "performance" menu

i keep the 652mhz, someone 729mhz, if you're lucky can arrive @806
[Optimus One, P500 Android Development] haoss07:
and how do you unlock the dev settings then ?

P.S. Seems last night the phone died on me. There is a blank space in battery history . Strange....
[Optimus One, P500 Android Development] ibub:
Go to settings > about phone, tap on build number 7 or 8 times. Go back to settings, and developer settings and performance settings should be there. [emoji4]
[Optimus One, P500 Android Development] bigsupersquid:
not perfect but I believe that particular bug is fixed. released TWRP2.7.1.0_multi_p500_v4.

thread here.

it doesn't 'pkill recovery' to switch anymore, and the mode switch doesn't reboot it any other way either. cleaner switch, rescans partitions list from fstab instead of rebooting.

less extra files (3 fstab and 2 xml) in source and recovery binary as well.

it'll pick up one extra fstab file again when I figure out the pre-MTD swap flashing though. not yet.
[Optimus One, P500 Android Development] xdema:
strange things:

today using the gps (high precision mode, data+gps) and copilot (a free gps navigator app) my phone did reboot and after the LG logo freeze on a black screen, untill i pulled out and reinsert the battery. the phone was very hot

so i pushed the power button

after the power on, it showed the LG logo, rebooted itself another once and then booted normally.

someone else have seen this kind of boot-reboot?

twrp 2.7.1.0 (the old, not the v4) rom 18/08/14 (cpu 652mhz)
[Optimus One, P500 Android Development] rsbuttar7:
fix d bugs

its smooth nd faster but lag sumtimes plz fix d wifi bug nd sumtimes Bluetooth also show erratic behavior
[Optimus One, P500 Android Development] xdema:
lag: doing what? if you want no lag etc came back to hephappy's ics 9.2 or non os2sd rom

with this rom (os2sd) change the original sd with a sd class 10 is reccomended

see the how to here for performance (but we have an old device, there are no miracles).

you can test the pureperformance mod (also here in xda), flash it with bigsupersquid twrp 2.7.1.0 v4

bluethoot error? i can connect it to my car and call with that or send file
[Optimus One, P500 Android Development] rsbuttar7:
yup

bluethooth once on button goes off nd sumtime didnt connect wid other devices...

thnkuu ill try hehappy as listd above...

nd by d way cn u do sumthing abt instagram in p500 its showing camera requirements error plz
[Optimus One, P500 Android Development] xdema:
no, i've not your BT on/off problem,

i updated from 290714 rom to 180814 only with dalvik&cache wipe, have you seen the BT options in settings? enable visibility of the phone not only with paired device.

and i'm not sure i've understood your slang in second part of the message, if you have problem with camera & instagram please ask for it in the help section, probably is the lcd density value in the buld.prop i don't know how instagram detect ours devices, if a value not match for instagram automatically the phone is unknowed, so not supported.
[Optimus One, P500 Android Development] rsbuttar7:
insta

yes thnku bluethooth is now working fine as i select d visibility optn.....

nd instagram , it shows camera requirement error as my

phns camera is nt as per instagram

requirements. i downloaded older version

but it does nt work n keep on poping to

update
[Optimus One, P500 Android Development] xu3sno:
I'm on cm-11-20140823 weekly.

Install Instagram version 6.3.1 and camera works just fine. If you want to download Instagram videos or photos, installed Xposed module Instagram Downloader. Warning: Instagram videos or photos maybe subject to copyright.
[Optimus One, P500 Android Development] rsbuttar7:
thnx man

i really appreciate can u plz gimme d link for that or i cn download any module for dat
[Optimus One, P500 Android Development] xu3sno:
Link:

cm-11-20140823: http://download.androidarmv6.org/_builds/p500/cm-11-20140823-NIGHTLY-p500.zip

Instagram 6.3.1: http://instagram.en.uptodown.com/android/download/72905

Xposed Framework and Modules: http://xdaforums.com/xposed/modules

Instagram downloader: http://xdaforums.com/xposed/modules/mod-instagram-downloader-t2474364
[Optimus One, P500 Android Development] rsbuttar7:
thnx

thnku 4 ol ths.....tapped ur thnk button u deserve that
[Optimus One, P500 Android Development] HardLight:
CM11 with kernel 3.0.101

For those who are intrested here you can download CM11 with kernel 3.0.101. Everything seems to work fine for me, but YOUR FEEDBACK is very important.

Note this is internal rom!

My intent is to add f2fs for p500 so this update was necessary for further developement.
[Optimus One, P500 Android Development] rsbuttar7:
unable to flash

m unable to flash cm11 as it is showing installation aborted ..

nd instagram same problem camera requirements pic is attached
[Optimus One, P500 Android Development] xdema:
downloading...:D the f2fs file system should be faster than ext4 :fingers-crossed: maybe it will speed up ours phones
[Optimus One, P500 Android Development] bigsupersquid:
thanks. I'm giving the kernel update patch a spin on thunderc :)

I've been considering f2fs as well, and upwards movement on kernel version is always a nice surprise.
[Optimus One, P500 Android Development] xdema:
with old twrp 2.7.0.0

MULTI

i flash it with no problem

i think you're using a cwm pre TLS or a wrong recovery

cwm 5.0.2.7 for CM7-CM9 and some CM10

some cwm 6.x.x.x (mukulsoni's) for CM10+ CM11 NON OS2SD

TWRP 2.7.0.1 MULTI for CM11 OS2SD and NON-OS2SD
[Optimus One, P500 Android Development] rsbuttar7:
got that

thnku flash probm sorted out now jst that instagram problem left
[Optimus One, P500 Android Development] terrycurls:
battery issue

awesome ROM, looks good, runs fast, everything is sweet

...except...

battery life was fine, tracking for like 3-4 days on a charge, then suddenly i did something and it started chewing through full batt in 10 hours. I don't know what happened.

possibly it was turning mobile data on, and then turning it off again?

battery monitor thinks 30% "mobile standby" and 30% "phone idle"

any suggestions would be much appreciated, died overnight and alarm didnt go off for work this morning haha
[Optimus One, P500 Android Development] xu3sno:
[MENTION=4974969]HardLight[/MENTION]

Just tried it out with clean install (wipe system, factory reset) and as you posted, everything seems works just fine. Known issues (FM Radio and Portable WiFi hotspot) persist. The culprit is not the kernel but the rom itself :(

System running fast and (furious :)), as usual. Performances: feel in par with kernel 3.0.8. So far only G Play Services, G Search, and TB installed in /data. Can't say much about battery life.

Waiting for Flash Friendly File System (F2FS) implementation. As this benchmark reported that f2fs performed better than ext4, it will be interested for OS2SD.

Excerpt:

Conclusion, F2FS actually is an improvement over Ext4 for flash devices, and considering its very young age it will most likely be improved over time.

Next: Try to install over cm-20140823-NIGHTLY without wipe. Need just a separate kernel 3.0.101, so it will make installation more easier. Could you extract the rom so we have just 3.0.101 kernel? TIA

Anyway, congrats for the new kernel and many thanks.
[Optimus One, P500 Android Development] xu3sno:
Tried install cm-20140828-EXPERIMENTAL-gerrit-7463-1 on top of 20140823 without wipe.

TWRP-2.7.0.0-20140725 said:

"Can't install this package on top of incompatible data. Please try another package or run a factory reset" :(

Failed.
[Optimus One, P500 Android Development] Notonlyeyes:
separate kernel 3.0.101 for p500 cm11...by noe
[Optimus One, P500 Android Development] haoss07:
Anyone has problem with phone not exiting deep sleep ? I can call it. But nothing happens. can't wake it up. does not ring. :(
[Optimus One, P500 Android Development] HardLight:
f2fs

Success, kernel supports f2fs.

Download to test
[Optimus One, P500 Android Development] Notonlyeyes:
Test2 separate kernel 3.0.101 for p500 cm11...by noe