yashsingh1/xdaforums huggingface dataset:
[Optimus One, P500 Android Development] case-sensitive:
First, thanks for all your work!

I I have a P509, running on a rooted 2.2 rom (!) and I'd like to update it to your CM11. I repartitioned my sdcard using gparted and then successfully installed TWRP-MULTI 3.0.0.0 from your depo. However, when I tried to flash the latest CM11 + GAPPS it complains that

mount: failed to mount /dev/block/mcblkop2: Device or resource busy

mount: failed to mount /dev/block/mcblkop4: Device or resource busy

(I might have misspelt the "mcblkop" part --- the letters are really tiny). I pulled the battery and tried it again, but first I went to "Mount" in TWRP and noticed that the box for data and system were not checked. I checked both boxes and still got stuck at the same place. I tried to flash again with the two boxes unchecked and still no dice.

When I replaced this new, repartitioned sdcard with the old one I was able to boot back to the old root 2.2 rom.

I really would like to update my P509. Your help and assistant is most welcome. THANKS!
[Optimus One, P500 Android Development] bigsupersquid:
you need to use twrp to partition the card.
[Optimus One, P500 Android Development] case-sensitive:
Thanks! I just tried that and got the following error message:

sgdisk -- --zap-all /dev/block/mcblk0 process ended with ERROR: 132 unable to remove partition table

After I encounted this error, I went back to the main TWRP menu, go to Advanced->Mount and uncheck all the boxed (cache/data/system/sdcard) and the error message stays the same. Help!

And thanks!
[Optimus One, P500 Android Development] bigsupersquid:
sounds like your card is bad, maybe use a pc tool to format it without partitioning and try twrp again.
[Optimus One, P500 Android Development] kingindika:
I cant flash Your Latest rom

i have experience your previous roms works well, And They successfully works in my p500 ,(but your last Updated-2016/03/08) rom does not flash ..always a error message appears on TWRP-MULTI recovery ..the memory card i use 8gb..here how i partition{ 500ext4 ,256 Linux swap, 1.19Ext4} Please Help me how?? But Cant Flash The rom file
[Optimus One, P500 Android Development] minos2026:
Thanks a lot for this rom! I have some FC with google services and playstore but flashed the rom again without gapps but instead with apkpure and everythig is perfect, so far-so good!
[Optimus One, P500 Android Development] Vendict:
It's ok. I recive this message and try another version of TWRP, ext3 and ext2 for /data (/dev/sdb4) and etc., but after some time I try to wait 5-10 minutes (ext4, TWRP 2.8.3.0multi). And rom was flashed.
[Optimus One, P500 Android Development] aayushARM:
I have some questions and I request the answers asap...

1) The 1st post says partition using Minitool, then it says repartition using TWRP Multi. Why I need to do this again? Also, I found TWRP Multi itself can partition the SD Card in OS2SD /data,/system and /swap. So why use Minitool?

2) Even after partitioning using TWRP, it won't flash ROM, gives error:

How should I proceed further?
[Optimus One, P500 Android Development] A.Shaferov:
Hi! Thanks for cool ROM!

All good, but hangouts do not work, even it can not show main screen. Here is logcat: http://pastebin.com/01r6LgeQ
[Optimus One, P500 Android Development] ibub:
Line 27 in your logcat says it all :

W/Babel * (11850): Calls not supported due to: no_armv7

This processor uses armv6 instruction set. Armv7 is not supported.
[Optimus One, P500 Android Development] ibub:
mount("f2fs", "EMMC", "/dev/block/mmcblk0p4", "/data");

This is from updater script of both ext4 and f2fs roms.

Use twrp-multi to change /data (/dev/block/mmcblk0p4) to f2fs. Sorry for late reply brother. Been busy. :)
[Optimus One, P500 Android Development] gtsfreak:
is this rom stable for daily use if not can u mention some bugs and how's the battery life?

sorry for bothering I'm new to this thread
[Optimus One, P500 Android Development] A.Shaferov:
Looks like it is not just hangouts problem, sometimes it works.

Now I get a lot of messages "Google services stopped".

I tried to install old version com.google.android.gms-6.5.99, but no success.

(I googled that versions before 2015 without this bug)

Is it possible to fix it?
[Optimus One, P500 Android Development] calvinlam911:
I also get a lot of messages "Google services stopped" and the battery drain problems. I think the latest Google Play Services is not compatible for the mobile. However, the Google Play Services was updated automatically after I connect to Internet.
[Optimus One, P500 Android Development] calvinlam911:
I fixed the google services stopped problem. Go to setting -> security -> Devices administrators. Disable Allow Android Device Manager to lock or..... Then, uninstall update for Google Play Services.

However, the battery drain problem still exist. My mobile keep warm even I off the screen.
[Optimus One, P500 Android Development] the-her0:
It worked well. I like this rom and recovery.
[Optimus One, P500 Android Development] A.Shaferov:
Which version of google services you are using now? How about Hangouts, Gmail, no problems?
[Optimus One, P500 Android Development] calvinlam911:
The version of google services is 7.099 which inside the Gapps file in the first post of the topic.

I don't know if Hangouts or Gmail has problem or not. Because I don't use them.
[Optimus One, P500 Android Development] calvinlam911:
Just installed the Gmail but it pop up "Gmail won't run unless you update Google Play services" while opening the apps. The Gmail cannot work.

Indeed, I think that the mobile is too old. Even that it is running Android 4.4, some apps still cannot be run. For example, I tried to install the latest version of YouTube and the mobile failed to run it. Then, I installed the version of YouTube which released two years ago, the mobile still failed to run it. I finally installed the version 5.6.32 and it run successfully.
[Optimus One, P500 Android Development] bigsupersquid:
you have to work around the fact that many apps built past gingerbread only run on newer armv7 chips. Google made an assumption that only armv7 would be used in devices that ran anything newer than GB, and the Optimus one is an armv6.

sometimes you have to use old versions of apps just so they can run. Google play services is one of those glitchy apps, that released an armv5 version supposedly but it seems to have armv7 code in it that crashes.
[Optimus One, P500 Android Development] A.Shaferov:
Which version of google services is good?
[Optimus One, P500 Android Development] bigsupersquid:
the one in hardlight"s gapps zip.

for working vversions of other apps, gpogle armv6 /appname/

like armv6 hangouts

and as long as it's not an app like Google earth that was never compatible at all maybe you can find an old version that works.
[Optimus One, P500 Android Development] calvinlam911:
I understood that. That why I tried to install apps by using the older version of the apps.

But..... it is true that many apps need the latest Google play services. :crying:
[Optimus One, P500 Android Development] bigsupersquid:
I'm not sure how many of the modules would have to be tweaked or rebuilt to run on gb, but there's xposed modules like "this app doesn't need play services"

and some settings in appopps individual permissions can be blocked to remove unneeded functions from those dumb apps that demand play services. (widgets>settings>AppOpps)

haven't tested on kitkat, but microg open source play services alternative is working pretty well for me as a substitute. (there's a signature spoofing xposed module needed for that too)

maybe look into that if you're desperate enough.
[Optimus One, P500 Android Development] bjnmonkey77:
Thanks for your work on this rom
[Optimus One, P500 Android Development] calvinlam911:
Thanks and I really appreciate their great effort. They made many great ROM. :good:
[Optimus One, P500 Android Development] dranicon:
Backup fail

Hello everyone, I have a problem with my p500.

Since last mounth, the phone got randomly stuck at boot, restarting until a black screen.

I've tried to make a backup before reinstalling a newer version of the rom, but the backup failed at the data part (

Version 11.0.0-20160101-O2SD-p500, TWRP 2.8.3.0-multi-OS2SD).

Is someone having the same problem?
[Optimus One, P500 Android Development] bigsupersquid:
your card may be failing/failed.

does it fail with out of space or unable to mount/read /data?

if it's not able to read /data you can try to go to wipe>advanced wipe> select os2sd data > repair or change filesystem > repair

maybe it'll fix it.
[Optimus One, P500 Android Development] HardLight:
Extended final 3

Third version of extended support CyanogenMod 11.0 and TWRP 3.0.2 for P500 uploaded.

Changelog:
[Optimus One, P500 Android Development] bigsupersquid:
Your os2sd repo is pretty nice by the way.

Builds good for thunderc too.
[Optimus One, P500 Android Development] CCHIPSS:
Of the two choices, F2FS and EST4, which one would you recommand? I guess the default is F2F2. How do I format it to EST4? =)
[Optimus One, P500 Android Development] HardLight:
F2FS is meant for flash storage so it should be theoretically better. Of course best is try both your self. Default is EXT4, in OP you can find instructions to convert it to F2FS.
[Optimus One, P500 Android Development] CCHIPSS:
I am having a hard time installing TWRP. For some reason when I tried to get to the recovery (volume down, power, home) it only lasts for like a second. Then the phone will reboot into the OS.

I tried installing a custom recovery from both Windows and Android apps but it doesn't change anything.

Is the bootloader locked on the Koodo version? =)
[Optimus One, P500 Android Development] SimolSem:
Good afternoon!

Thank you for the firmware.

Help solve the problem.

I have the P500.

Established cm-11.0.0-20160720-OS2SD-EXT4-p500

All well and stably.

But I set GApps. He first works.

Then he upgraded to the latest version of the application and GApps permanently stopped and not running. Constantly pops up a message that he stopped.

I tried http : //4pda.ru/forum/index.php?s=&showtopic=360984&view=findpost&p=30039688 and http : //opengapps.org/ (ARM + 4.4 + (nano and pico))

Please give me a link above to GApps
[Optimus One, P500 Android Development] SimolSem:
Unfortunately skype does not run on the firmware cm-11.0.0-20160720-OS2SD-EXT4-p500
[Optimus One, P500 Android Development] bigsupersquid:
I don't think any version of Skype is armv6 compatible, but maybe a 2010 version or another similarly aged would run.
[Optimus One, P500 Android Development] bonsoljoshua:
I have resolved the problem with installing the latest 2016 rom, I used twrpMULTI 2.8.3.0 to flash the latest ROM BUT BEFORE THAT I USE THE twrpMULTI 2.8.3.0 to partition the sdcard EXACTLY LIKE THIS

FAT32 primary for /sdcard

ext4 primary for /system (400 MB or more)>>>> 400 mb or more

linux swap primary for /swap (128MB or more)>>>>> swap for lg p500 for me is 192 MB

ext4 primary for /data (1024 MB or more)>>>> 1024+

I FOLLOWED THE INSTRUCTION CAREFULLY AND IT WORKED!!!

the only problem for me is with the camera, it is dark can any one help me with that?
[Optimus One, P500 Android Development] Sachin B V:
just now installed on lgp500 works like a gem. little lag. but not an issue. it kicks up after first boot. for starters firstly install twrp properly i used cwm to install it :D later flashed without changing data file system to f2fs. "ENCRYPTION UNSUCCESSFUL" Was in deep **** NOW. WHY? I DINT TAKE A BACKUP TO RESTORE OR RESET. AS ALWAYS HAVE A BACKUP MADE. CHANGE FILE SYSTEM TO F2FS. INSTALL. 2 MINUTES AND ITS DONE. ENJOY. THANKS TO ALL. There is no google apps so get it by yourself. WELL GOOGLE IT :D
[Optimus One, P500 Android Development] CCHIPSS:
The Play Store loads. But it would always crush once I try to search for apps. Any idea how to fix this?

Edit: Actually any Google play service will crush. Even the Google Account. I installed the GApps_4.4.4-20150511-OS2SD-p500.zip in your download page.

Edit 2: I can sort of go around this problem by pressing the "Report" button instead of the "Close" button when Google Play Store crushes, then hitting back once. But this is still annoying.
[Optimus One, P500 Android Development] Sachin B V:
True has been so with me too. Still no suitable solution than stock rom.
[Optimus One, P500 Android Development] CCHIPSS:
Be sure to disable all auto updates and auto backup. Gapps still crushed and less now.
[Optimus One, P500 Android Development] HardLight:
CM11.0

20161214 build uploaded!

Changelog:

Up-to-date GApps uploaded. It should solve Google Play services crash issue.

Download

Android File Host | XDA
[Optimus One, P500 Android Development] bigsupersquid:
Nice.

I saw the repo was updated a few days back. Great work.
[Optimus One, P500 Android Development] biswabratabhakta:
Hi,

Unfortunately my memory card is corrupted and I do not have a new one. How can I remove this ROM and install some other? in TWRP when I try change File system, it fails to mount /data, /system as my memory card is not there. Please help with some other ROM which works without sdcard, I can survive with that till manage a new sdcard.

Thanks,

Biswa
[Optimus One, P500 Android Development] moriel5:
Try using Emergency Mode to flash the stock 2.3.3, and go on from there.
[Optimus One, P500 Android Development] biswabratabhakta:
If I go to emergency mode the screen stalls there and nothing comes after that. I am using power button+back key+vol down

Thanks,
[Optimus One, P500 Android Development] moriel5:
You need to have the proper drivers installed on your computer, as well as LG's flash tool.

And of course, the firmware.
[Optimus One, P500 Android Development] biswabratabhakta:
LG Flash tool 2014 detects my phone in emergency mode, then I go for phone type 3GQCT and with the V20D_00.kdz; after that the LG Software Update Tool cannot connect my phone and asks to reconnect my device and retry but that doesn't connect.

If I use Desktop Flash Tool while my phone is in TWRP recovery mode, it says no valid storage partitions. What I suspect is because of the "[ROM][4.4.4] CyanogenMod 11.0 for LG Optimus One [OS2SD][16/12/14] by HardLight", the fstab and mount of partitions are changed to sd card and that's why it's failing. Can we revert the mount points and do it in phone ROM instaed of sdcard?

Thanks,
[Optimus One, P500 Android Development] moriel5:
I tried lookibg around, and unfortunately I don't have an answer.

Perhaps flashing an ordinary version of TWRP can help?

Warning: Please don't rush anything, as long as we are not sure of what to do, to prevent damage to the phone.
[Optimus One, P500 Android Development] ibub:
Use the file manager in twrp to look at internal /system (ROM, not sdcard). Your previous ROM may still be there. If it is , then you should be able to flash a normal (non os2sd) custom kernel that will already have the proper mount points.
[Optimus One, P500 Android Development] ibub:
Just in case anyone hasn't noticed.

Cyanogen services shutting down

https://cyngn.com/blog/cyanogen-services-shutting-down

Lineageos will be the new cyanogen os.

Androidarmv6?
[Optimus One, P500 Android Development] biswabratabhakta:
First of all Thank you all for your replies. Replies from such senior members really give newbies like me the sense of support and the courage to play around with our phone for experimental and learning purpose out of curiosity.

I've managed to revive my LG P500 after placing a different recovery (CWM) and then able to flash the nightly ROM "cm-7-20130201-NIGHTLY-p500"; So I understand the recovery (TWRP) is os2sd that works for this ROM and it was not letting me flash other in-memory ROMs. Please correct me if my understanding is wrong.

Merry Christmas to All and In Advance a happy and prosperous New Year 2017.

Thanks,
[Optimus One, P500 Android Development] HardLight:
CM11.0

20161229 build uploaded!

Changelog:

Download

Android File Host | XDA
[Optimus One, P500 Android Development] Orof:
just installed everything, but can log in to my google account - "google server problem"

also, gapps services crashes non-stop.

any solution?
[Optimus One, P500 Android Development] moriel5:
Although it is not the solution to your issue, I recommend you to try using microG instead of the official Play Services.
[Optimus One, P500 Android Development] Orof:
Thanks for the reply!

it took me 9 hours, but i managed to install the recovery, rom, v10basebandfix (MANUALY) and the google play version that i used was the old one which gives the errors but atleast logs me in.

now i can give this phone back to my father, so he can continue using the whatsapp app (that dropped support for the 2.2 froyo and 2.3 gingerbread)
[Optimus One, P500 Android Development] eddie120:
Hi Orof,

Can you please place link to v10basebandfix here?

My old fix doesn't work with this rom.

Thanks

solved.
[Optimus One, P500 Android Development] hitman72:
how is possible have a working gaps?!? otherwise this rom is useless... in case is there any FULL working OS2SD rom for optimus one? thank you
[Optimus One, P500 Android Development] moriel5:
You don't want GAPPS on such a weak device as this.

Google has bloated the Play Services APK with unnecessary code, so it requires much better hardware to properly run.

Try microG, it may help you.

And do not forget, the developer behind this rom (as well as many other developers behind many different projects) is working on it as a volunteer (yes, he is still working on it), and that means that he is pouring his own time and money (electricity costs money, and he isn't being payed for working on this ROM) into this ROM.

So you shouldn't disrespect him like that.
[Optimus One, P500 Android Development] HardLight:
Gapps

cm-11.0.1-20161229-OS2SD-p500.zip and gapps-4.4.4-20161215-OS2SD-p500.zip combination is tested and working. If you have problems make sure to do clean install. Also then reporting issue if possible attach logcat and in this particular situation output of 'adb shell ls -la /data/app' command.
[Optimus One, P500 Android Development] hitman72:
ciao, cm-11.0.1-20161229-OS2SD-p500.zip and gapps-4.4.4-20161215-OS2SD-p500.zip tested and not working. the problem is Google Play Service (Playstore is ok with every version), latest working version is 5.0.89 that means no gmail, no hangouts... but is ok, was only a test to use again this great phone :)
[Optimus One, P500 Android Development] bigsupersquid:
You have to stop play services from updating. The one in the zip should work. The latest from Google will be broken because they have no respect for the armv6 chipset.

Basically you have to create a folder in /data/app with the name of play services (com.google.android.gms-1 usually) before play services auto updates. Or delete the file and create the folder.
[Optimus One, P500 Android Development] HardLight:
As [MENTION=2980661]bigsupersquid[/MENTION] stated you need to keep Play Services from 20161215 gapps zip (it's version 5.4.89 - last version working with armv6). Just use apkmirror site to download older versions of gmail, hangout and other Google apps, compatible with this Play services.

If possible try avoiding gapps at all it makes phone much slower, check running apps: Play services always uses more than 30MB...

Thats done automatically with gapps-4.4.4-20161215-OS2SD-p500.zip :)
[Optimus One, P500 Android Development] MagusWRM:
I'll try out this rom for sure!

There are two things that I love in a ROM:

- Bright control through status-bar

- Lock-screen when click in the clock

I don't know if it's possible in this rom, if not does someone knows how to?

Thanks!
[Optimus One, P500 Android Development] xu3sno:
Brightness control works through sliding across the status bar. Setting > Status bar.

Which clock?

Simply double tap status bar and screen locked.
[Optimus One, P500 Android Development] MagusWRM:
I do have a problem with my physical power button, in sort of it's almost dead. So to restart or shutdown the phone I just press-and-hold the clock (top right corner from the main screen) for a couple of seconds to open shut-down options. It was said as a customization in another rom, I'm not sure if it's a default in Cyanogen.

Thanks in advance, I'll try your rom this weekend :good:
[Optimus One, P500 Android Development] xu3sno:
Both features are native features in cm-11 (4.4.4). Me either, don't like physical buttons. :) As far as possible, try to avoid using it, except for 3 buttons combo. Therefore, I prefer TWRP over CWM, enable soft buttons in navbar :cool: I'm using also Anreboot, grabbed it from Playstore, thanks to [MENTION=4163507]sumansur2008[/MENTION] for pointing it, if I rightly recalled, to save my physical buttons.

This is [MENTION=4974969]HardLight[/MENTION] ROM. Credit goes to him :good: And it's worthwhile to give a try. :cool:
[Optimus One, P500 Android Development] nomancoolboy:
Partitioned ..

Primary partition is not being recognized by windows ..

Used mini partition tool ..

And I am not going to install linux just to partition my sdcard [emoji12]

Sdcard is not mounting in recovery

Now partitioning from old twrp ..

1.5 GB ext4 (then I will split this partition in 1 gb and 512 mb )

128 swap

And the rest fat32

Let's see what happens now
[Optimus One, P500 Android Development] xdema:
i wrote a tutorial to minitool here :D and some others "how to" for this awesome&beautiful rom and his great dev.

It's normal that primary partition has not recognized by windows before a restart :)

see here you can find in the "how to" the power button mod & enable soft keys
[Optimus One, P500 Android Development] MagusWRM:
I think I may just have bricked my phone: didn't flash anything just formated the SD Card and copy the files to it; trying to recover-boot (home + volume down + power) LG logo appears and then black screen only (waited for more than 30 minutes), doesn't boot at all even in the previous rom.

Any help/suggestion? Already try boot without SD but no success :(
[Optimus One, P500 Android Development] nomancoolboy:
I just checked that my sdcard is class 4 .. Too slow [emoji20][emoji20][emoji20]

Btw the rom is good ..

But due to slow mmc . rom was lagging heavily..

Any chance to install it in internal memory ?
[Optimus One, P500 Android Development] HardLight:
Yes, go to jenkins.androidarmv6.org and download latest nightly for p500.

Very strange, maybe you flashed another recovery? If not sd partitioning couldn't broke anything with booting. To flash another recovery in this situation use fastboot, there is few threads with tutorial for it. Good luck!
[Optimus One, P500 Android Development] xdema:
it's not bricked, if you only format the sd (external sd) did you have installed the twrp before format sd, and if yes wich one, the multi-rom or the old os2sd twrp?

pull out and reinsert the battery, and try to enter in recovery mode with 3 buttons,

after press the power button you can use also the only home buttons+vol down

the black screen it's normal if you didn't flash the rom (and with this os2sd rom if you start the phone without an sd it's the same)

[MENTION=4974969]HardLight[/MENTION]

i see in the updater-script that the mount point is set to this

mount("ext4", "EMMC", "/dev/block/mmcblk0p2", "/system")

a simple question, if i use this updater script mod with other rom (i.e. rhar****'s omega) and your TWRP could i make my "omega os2sd" or there is something else to change?

ah i pushed the thanks button, but however i want to say Thank you for your work
[Optimus One, P500 Android Development] bigsupersquid:
you also have to change the fstab.p500 in the ramdisk, and the init.p500.rc, init.qcom.rc, or init.rc, whichever of those is actually mounting /system and /data.
[Optimus One, P500 Android Development] MagusWRM:
I did flash nothing, phone was working fine then shutdown and removed SDCard, formated it and got a non bootable p500 :(