yashsingh1/xdaforums huggingface dataset:
[Optimus One, P500 Android Development] rharshit:
The main problem is ART in android L. Partition size isn't an issue. We can use SD ext for that.

Secondly, I feel proud to be one of the people to build AOSP 5.0 :P (for an armv7 device)

Hereby, I stop development for armv6 (except omega, it lives) may comeback after androidarmv6 builds lollipop.

And I believe it to be soon. That team is just awesome!
[Optimus One, P500 Android Development] CCXAlex:
Could lollipop fit on our 200mb partition? If they could manage that our optimus is one true legendary phone :fingers-crossed:
[Optimus One, P500 Android Development] Dovidhalevi:
A nicely designed if long obsolete device. The true legends are the devs that make all this happen. Without them ... well it did work nicely with Froyo :)
[Optimus One, P500 Android Development] doppelganger95:
This rom needs partition and gapps?? Give me a little tutorial please!!
[Optimus One, P500 Android Development] Any PlayStore:
Click to see how to create SDEXT4

Full Wipe

Flash Rom

Flash super_trim.zip

Flash GAPPSLight

Enjoy
[Optimus One, P500 Android Development] doppelganger95:
thnks!

Edit: What its trim? Google play store doesnt appear and only shows me 10 apps.

I reflashed again without trim and gapps and play stores does not appear....
[Optimus One, P500 Android Development] CCXAlex:
Trimming means baseicaly deleting unnecesary aplications/fonts/ringtones etc. from /system partition. You can read more here : http://xdaforums.com/showthread.php?t=2742785

About that Play Store, the steps i did when i flashed were:

1. wiping everything ( /data, /system, /cache, /dalvik cache)

2. flashing the rom

3. MOUNT /data and /system partitions

4. flash gappslight

5. flash super_trim

6. Reboot.

One last thing you need to do is installing google play services.apk, otherwise you will get an error when trying to add your google account.

Good luck!
[Optimus One, P500 Android Development] Dovidhalevi:
Please note post erroneously place on the Q&A thread. Thanks.
[Optimus One, P500 Android Development] t2nekski12:
What recovery should I use?

Hey, I'm on a Kitkat rom by mukulsuni. Currently on clockwork mod recov. Is it okay if I flash the latest directly with this recovery I have?
[Optimus One, P500 Android Development] rharshit:
You need wipe everything before flashing. System,data and cache
[Optimus One, P500 Android Development] Dovidhalevi:
Do not know if and when a lollypop based ROM will be around for the P500. Since I am heavily into Xposed, am not so eagerly awaiting it until Xposed can work on ART which may or may not happen. A lollypop-based paranoid ROM would be an alternative.

My longest run ROMs were a paranoid 2.5, cm-10.2 despite its bugs, and this omega-omni. This has been quite stable, generally a good performer. Hope to see it continued meanwhile, fixed bugs, etc. The main problem with the cm process is that the new android comes out and the old bugs never get fixed, just on to the newest.

Bugs I have noticed:

1. Minor, if a bug at all: The right-down gesture for the "quick-settings" seems not working. Need to toggle from other status drawer pane.

2. Normal. Bluetooth. Toggles, pairs, but does not work.

3. Possibly major--after phone on a while, RAM seems to get lost (problem with recents that I mentioned maybe a fluke or a symptom rather than cause). I can run the whole day without this happening, but often enough, it will occur. Normal free RAM is up to 120-140meg. It can get down to half this (no recent apps shown) and then the phone is too laggy. Must reboot it. Performance settings seem not to effect this.

4. Minor. Not having the system dalvik to cache partition option. I do not consider this a show-stopper and have lived well without it. Would merely postpone the inevitable--that space gained will get filled up with added apps. Link2sd's "Achilles heel" remains when I need to flash a full newer version ROM. Must live with it.
[Optimus One, P500 Android Development] Dovidhalevi:
Longevity (not OT!)

It should not come as any surprise: Recent upgrades of Google Play Services a has huge thirst for the juice. That great battery life I had been having has been sucked away.

Our ROM has an App Permissions settings (similar to app-ops which was removed from JB and Kitkat but there are alternatives about). Battery view showed excessive usage of location and keeping awake was mentioned in posting as well. So canceled the permissions for location and keep awake for Play Services! Got a lot, but not all of the battery life back. Also mentioned in postings was Google (Search/Now) keeping awake so canceled that as well--seems to make little or no difference. Maps is now ahead of Play Services so canceled its keep awake--little or no difference. Obviously Maps and Now require location access to be of any use but turning GPS off when screen is off (using Tasker and secure settings) seemed to have little effect either).

Canceling the permissions of Play Services seems to not effect phone operation. But I have still lost a lot of battery life.
[Optimus One, P500 Android Development] rharshit:
OP updated with new screenshots! :highfive:

Well, there's a sad news. I won't be able to bring up the next version as i don't have any device to test on.

I will try to give a new build for testing, but cant be sure when. I have my exams going on.

So, possibly, after my exams, I'll provide the final build.

Thank you all for the support
[Optimus One, P500 Android Development] Dovidhalevi:
Nice to hear you are still with this, interesting new icon.

Take your time, ace your exams, current version still the best ROM out there.

Traded, refurbished (or abandoned) P500s are around on the cheap. Check around.

I am willing to test, though it becomes a whole procedure. I am eccentric, however, not necessarily following posted instructions. Preferred upgrade scheme is a small mod-zip or bunch of files, usually more painless.
[Optimus One, P500 Android Development] rharshit:
I am not getting any p500 for cheap here.

Thanks for supporting. I'd consider you for testing. And yea, I will send out small patch's for testing as my net connection is very slow. Can't upload big files every time.

Again, thanks
[Optimus One, P500 Android Development] Dovidhalevi:
I can confirm that this is most always after incoming calls. I do not talk a lot which is why the problem is sporadic. (I believe, but cannot confirm, that unanswered calls are even worse.) RAM indication might even look normal, but lag and battery drain still occur.
[Optimus One, P500 Android Development] rharshit:
Version 1 is up

THIS IS NOT TESTED! YOU NEED TO TEST IT FIRST!

http://www.mediafire.com/download/ccdogum3lxq8fm0/Omega-Version1-p500.zip
[Optimus One, P500 Android Development] Dovidhalevi:
What is changed/fixed?

New features?

Would be much easier to test without having a completely new flash, but to change certain files. Possible?
[Optimus One, P500 Android Development] rharshit:
Updated to latest omni sources and gapps included are the major changes.

I'll write a systematic changelog soon
[Optimus One, P500 Android Development] mns123:
Which recovery to use?
[Optimus One, P500 Android Development] rharshit:
KitKat compatible, without TLS
[Optimus One, P500 Android Development] mns123:
Not booting, No boot animation?
[Optimus One, P500 Android Development] CCXAlex:
Same here
[Optimus One, P500 Android Development] rharshit:
No bootanimation. Wait for some time and see. If it still doesn't boot, inform me
[Optimus One, P500 Android Development] CCXAlex:
Well, i waited about and hour and it didnt booted :(
[Optimus One, P500 Android Development] Notonlyeyes:
(not tested this rom)

bootanimation.zip dont present in /system/media ...by noe
[Optimus One, P500 Android Development] Dovidhalevi:
Without the bootanimation, the word "Android" is silver varying letters should appear like in early stock ROMs.

Anyway, I will add the file before trying. I already have the recovery used for flashing previous versions which should still work (No TLS, normal system and data partitioning). If trying this over recent CM-11, need to switch recovery which may or may not work out, main reason I did not try any of those ROMs.
[Optimus One, P500 Android Development] rharshit:
Guess the build is not good. It didn't boot in cooper too.

I'll make another build and inform you asap
[Optimus One, P500 Android Development] mns123:
Thanks for the information
[Optimus One, P500 Android Development] Dovidhalevi:
Tried to flash it with same recovery as the betas. On "installing update," immediately got an error in zip, status 0.

Could be my fault because I edited the ROM, but deleting a few apks should not cause this. ROM had the boot animation added. I commented the format system line. I have stuff on system I want to keep, i.e. some gapps items, the GPS stuff, iwconfig, etc. So if there was something missing there that prevented it from booting, I would still have it. Should have gotten further.

Will try the next build (unless there are some ideas about why I had the error).

EDIT: Error reported is something to do with boot..., could not read text. However, I placed the boot.img from Beta9 and retried. Same error. Nothing gets written.
[Optimus One, P500 Android Development] rharshit:
I just noticed that the build I uploaded isn't the one I intended to :|

Wtf?! How can I miss it?!

Sorry guys, I'll be uploading the other one soon.

BTW, can someone confirm that the one I uploaded has gapps or not?
[Optimus One, P500 Android Development] ywor1:
I tried to port to another device firmware is started. I can say that the work GAPPS and download and do not give out-of-memory message in the firmware but there is a problem with the systemUi when choosing a recent application systemUi crashes.
[Optimus One, P500 Android Development] Dovidhalevi:
Has a phonesky (earlier version of Play which would soon be auto-upgraded as user app) and various providers and frameworks. I did not notice a gmscore version (Play Services).

I found that for some odd reason, that phoneksy needs be around, even though the upgraded version is installed. The upgraded Play Services is enough without a previous version system app.

As I previously posted, any item missing from system I will still have around once I can get it to flash.
[Optimus One, P500 Android Development] rharshit:
Things are getting worse day by day. I'm stopping this project.

Version 1 wasn't a big change over beta 9. Just a few addition and minor layout fixes. You can move without that too.

So, that's it. That's all I had to offer. Thank you everyone for your response.
[Optimus One, P500 Android Development] Dovidhalevi:
Sorry to hear this. Hope things get better for you, with or without any project. Without a device, one is shooting blind.

Could I have a link to sources. Might play sometime. (Would like to prove the L nay-sayers wrong as well, but I have been using the same UX since cm-10.2 so makes little difference). Your ROM ran best of any recent ROMs for this dinosaur.
[Optimus One, P500 Android Development] rharshit:
Here you go https://github.com/Omega-ROM/android

P.S this is NOT full source or stable one. You cannot (mostly) boot any build with this source. You need to disable TLS in the device's source or enable TLS in ROM source.

For Bluetooth, port it form cm11, I got it working before loosing my sources.

One of the reasons I'm leaving is, I planned to bring it up for my new device and add features, but day before yesterday, my device gave up, out of no where. So had no other option than moving on to dad's phone which I can't root. So the project stopped.

Hope you do good with the sources and make a better ROM. Good luck
[Optimus One, P500 Android Development] Dovidhalevi:
Update: (Should probably take this "off-line," but hoping some others (more qualified/better equipped than me) will take it up as well)

All I get off git is the xml and the readme. Repo times out. So I have no where to even begin as of yet.

(Asked on q/a thread:) Are the cm-11 bluetooth files such that I can push them and try, or do they need be compiled along with the kernel and ROM (i.e. .ko)?
[Optimus One, P500 Android Development] ibub:
review.androidarmv6 (gerrit) will shut down at the end of the month. Their github account will however remain. There is a line in default.xml (omega) that lists review.androidarmv6. I don't know that it matters, but one might eventually remove that line. Possibility might cause problem with repo sync. But at the time of this posting that link should still be valid. Meaning...I don't know why repo sync times out.

EDIT: Line can be removed via local manifest.xml, or rharshi could edit default.xml on his github, or you could open your own github account, fork omega and edit yourself and then repo init to your own github, or you could clone the default.xml (but I've never done that yet).
[Optimus One, P500 Android Development] Dovidhalevi:
Probably best to fork. BTW, you were one of the folks I had in mind.
[Optimus One, P500 Android Development] rharshit:
Repo times out? Never faced the issue. Try deleting eigen from manifest. That caused problems sometimes for me. And for Bluetooth, you first need to add bluetooth repos in the source and then add bluetooth in frameworks too, from cm. Then compile

It'd be better to fork it to your git and try. I even recommend forking framework repos and sending pull request.
[Optimus One, P500 Android Development] Dovidhalevi:
Sort of need detailed step by step for all this. Never did this before.

UPDATE: Got rid of "review" item. Got timeout. I have never had anything work off git using domain like git://..... Using https://....., init worked. Sync is giving me everything from Andoid 2.* onwards. Some errors on "deltas." Continuing.

Once it stops, what do I do next, seeing I have the kitchen sink plus watch stuff as well?
[Optimus One, P500 Android Development] ibub:
I just realized that the reason sync previously timed out might be because you haven't installed git to your debian. I believe all those branches of android are from aosp and this is normal (sort of like downloading the SDK). Sync will take a loooong tiiiiime (possibly more than 24 hours). I think it's something like 28 gigs. Deltas (I believe) have to do with tracking the download. If a server is temporarily unavailable, then it should be put on hold, and resolved later during sync. For building, look at the readme file here:

https://github.com/Omega-ROM/android

But you probably want to look at the source first in your working_dir (or whatever you've named it). Proud of you brother. You are on your way...Think I might need to sync some source myself. ;)
[Optimus One, P500 Android Development] ibub:
[MENTION=4708203]Dovidhalevi[/MENTION]

You may find this useful:

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

Using a local manifest, it is fairly easy to control which sources you will sync, while still keeping an unaltered copy of default.xml. I have found that changes made to source locally can cause errors at compile time, because they don't match what has been synced. So with local manifest you can point to your modified sources instead (whether they be on github or local).
[Optimus One, P500 Android Development] Dovidhalevi:
Maybe trying to revive this. Still the best ROM for our device and L and M upgrades will not be happening. Unfortunately, I have not been able to get proper build environment set up so looking more for quick-fixes pushing files (remember when we had no root and no GPS?). Using same UI for months and months since before this ROM. Not much to gain from L or M that some Xposed module will not supply.

Bugs looking for a simple solution?

1. Bluetooth. Pairs but does not function, at least for calls (have not tried music or file transfer). I would use it more than occasionally if it worked (but it is a battery draw).

2. Button LEDs. Did not even take notice until a poster pointed it out they are not lighting. In reality, do not miss them. Low priority.

3. Off-line charging. Most of our recent ROMs have not had it. Can cheerfully continue living without this as well. Can simply plug in, optionally put in airport mode and let it charge quietly. Tasker script to turn off when done under certain circumstances? This is the bootloader, of course.
[Optimus One, P500 Android Development] rharshit:
1. Bluetooth. The most important of all. Maybe we can take it from cm and implement it in omni/omega. Yeah, this will take some time

2. lol

3. I think we can fix offline charging though. We need to copy a few files in the boot and its done, for most part. At least this is how it works for many devices

Glad to see this reply on the thread. Again, I'm sorry, but i cant do it anymore. I have the sources up, if anyone wants to try and modify it.

Moreover, my phone is partially dead by now. i'm on cm7.2 for music. Yes, I use it only for media, can't compare its audio quality! *-*
[Optimus One, P500 Android Development] Dovidhalevi:
Really great to hear from you!

Yep, the older devices can be recycled for use the mp3 players, etc. Maybe made them less crappy a few years back.

As more and more of Google's own apps become architecture dependent, will soon enough have the spring for that moto or asus. but hanging on for now. After all, this is a phone.

Playing with software from ... Microsoft! Some of there stuff is thinly veiled armv7 native apps but much of it is proper Android/Java apps the way it should be. They have a decent launcher and a couple of nice lock-screen overlays. Bing's voice recognition works on the old dinosaur and is faster than Google's. Unfortunately, I have yet to get Cortana to work though it is listed as compatible.

As for attempting to modify sources, I need a means of getting everything (so far, failed), and to know how to correctly build it. I would not be surprised if one of CM's or your older bluetooth files will do it. Seeing that it pairs, maybe the system app(s)? Changing the bootloader would require a rebuild, I would guess.
[Optimus One, P500 Android Development] rharshit:
Not sure if CM's or older bluetooth files would work because its integrated in the framework too.

And for the offline charging, you don't need to change the bootloader. Just need a kernel (boot, to be correct)

And if you want to learn compiling/building ROMs, take a guide and start with cm11. Then try some other rom, say, omega. And then try editing the source and compile again.

Yes, you might take time to learn this stuff
[Optimus One, P500 Android Development] alonsoch:
[MENTION=3765078]rhar[/MENTION]****

First... great work!

i will test your rom in my old p500

thanks again

the play store doesn't work using the minimal gapps for cm11
[Optimus One, P500 Android Development] Dovidhalevi:
Mine works on a previous omnirom build. How much space left on /system?
[Optimus One, P500 Android Development] rharshit:
Use this gapps package.

If you haven't added anything in the system, you need not trim the ROM. Its compatible with the original ROM size with just a few kb's left after gapps installation.

One more thing, its still a beta version. Its pretty stable, but still... so if it still doesn't work. wait for stable one with gapps preinstalled
[Optimus One, P500 Android Development] Dovidhalevi:
A few kb's left is not enough. Some apps, including link2sd, possibly Play?, and some hardware (home button?) will fail at this. A few meg is better. if not necessary.
[Optimus One, P500 Android Development] rharshit:
Those few kb's are ample for link2sd and proper hardware buttons (including modded)

I myself use both of them. Plus i have even pushed DSP Manager to system and still 200 kb left.

Want even more, trim it
[Optimus One, P500 Android Development] alonsoch:
What's mean trim??

Enviado desde mi Moto G mediante Tapatalk
[Optimus One, P500 Android Development] rharshit:
Remove unwanted things from ROM to get more space in system. Eg. unwanted apps, ringtones, unused language packs, even the bootanimation if needed. You can also remove apps like Gallery and Camera and install it as a user app.

But its not needed in beta 5 even for gapps
[Optimus One, P500 Android Development] Dovidhalevi:
200kb is not a few kb's. I was told (I keep my own copy around anyway) that link2sd needs 330kb to form its mount script. Cm-10 users having problems with hardware keys have had this blamed on too little system space. I myself do not run into these problems because I maintain much more system space, more to enable experimentation than because all of it is necessary. I ran ICS for a long time with no more than 3 meg without ever a problem.

There is stuff being kept in all these ROMs for some reason no longer valid. That usr/srec folder, no small item, is an example. I symlink that to a copy on sdext but when I forgot to do so, noticed no difference. Calendar is installed from Play. No earthly need for a simple calculator on system but small enough. Cameras and Gallery are user apps. Using Google Search (side-loaded as user app) so QuickSearchBox is off. Apollo, etc. CM's filemanager works fine as a user app. Non-Latin fonts have been removed by armv6 dev team (against my judgement--I keep them). Ringtones can sit anywhere and Android will find them so no need for a zillion of them on system. Myabe fonts as well?
[Optimus One, P500 Android Development] rharshit:
That's the perfect trimming. I too used to do the same. Why don't you make a thread on this topic? It'll be really useful for many users.

BTW, you shouldn't remove the fonts. As some things (like apps, sites, etc) may need it. And as far as alarm tones and ringtones are concerned, you can make folders named alarm and ringtones, respectively, in sdcard and place tones there. It saves a lot of space.
[Optimus One, P500 Android Development] Dovidhalevi:
Idea, maybe will do this. Here 'tis: http://xdaforums.com/showthread.php?t=2742785

I do not remove fonts. The non-Latins were removed against my judgement. However, there must be some way of "installing" user-fonts similar to the ringtones and such.
[Optimus One, P500 Android Development] xu3sno:
First of all, thanks to [MENTION=3765078]rhar[/MENTION]**** for the great ROM even in beta state. :cool:

Just installed the rom and here is my experience after using it for quite a while:

Trimming ROM before flashing and tweaking build.prop (davik.vm.dexopt-data-only=0 and qemu.hw.mainkeys=0) failed. System booted with errors notifications.

Trimmed the ROM after flashing. It works just fine, got ca. 8MB in /system, quite enough to install Link2SD. Since dalvik-cache failed to move using the above script, then it's moved to /cache manually. After installing apps with large size such as, dropbox, drive, evernote, hangout, whatsapp, got 120MB in internal (/data). Link2SD works out of the box. :cool:

Installed root.zip (super user) prepared by rhars***, in order to get root apps work.

No need to install gapps. Look into /system/priv-app. Google*.apk is included but google play. Just installed gmscore.apk (Google play services), and everything related to Google services work just fine.

WiFi, portable wifi hotspot works as it should be.

USB not works. :( Need soft power menu (just tap clock in status bar) instead of pressing the power button.
[Optimus One, P500 Android Development] anhsmile:
who is share link GAPPS?
[Optimus One, P500 Android Development] xu3sno:
http://www.mediafire.com/download/2ppd2ndlcqr187f/GAPPSlight.zip

Thanks to mukulsoni :)
[Optimus One, P500 Android Development] rharshit:
First of all, Thanks for the review.

System should not have been booted with errors notifications. Weird

USB works fine, you just need a workaround to enable MTP or Mass Storage mode

In termial Type the following

I can't configure statusbar clock to act as power button. Instead, in Quick settings, there's a tile "Sleep". It does the same thing. Or use mod keys

You can get gapps from here