yashsingh1/xdaforums huggingface dataset:
[Optimus One, P500 Android Development] xu3sno:
[MENTION=2980661]bigsupersquid[/MENTION]

Well, not actually, since I intent just simply install the latest nightly rom without wipe. Current rom has gapps already. But it's right to gain more space to flash gapps when you make a clean install.

Here what I did. Sorry, a bit primitive way :)

1. Unzip (extract) rom, go to extracted folder and open it.

2. Delete /extras

3. Go to /system/app> delete browser, calendar, calculator, live wallpaper, live wallpaper picker.

4. Go to /system/fonts> delete Droidsanfallback.ttf, and local fonts.

5. Go to /system/media>audio delete some files (>20kb) in alarm, ringtones, notifications. Didn't touch ui!

You may replace bootanimation.zip with Android L animation for p500 by noe a.k.a [MENTION=4553005]Notonlyeyes[/MENTION]. Thanks to him, then.

6. Go to /system > edit build.prop with text editor. Find line script dalvik.vm.dexopt-data-only=1 and change its value to 0. Add script qemu.hw.mainkeys=0 in order to enable navigation bar with softkeys. save and exit text editor.

7. Zip the extracted folder, and you have trimmed ROM, flash it, reboot system. Got ca. 30MB free space in /system. Boot to recovery > flash GappsLight > reboot system > install the latest Google Play Services.apk > log in G server and you're safe.
[Optimus One, P500 Android Development] bigsupersquid:
cool.

/extras doesn't flash but it does take up space uploading, downloading, and storing the zip.

I figured out a way to add ota_trash_file to thin the extras down to only usable softwares (gets rid of the build artifacts and such as it makes the zip instead of putting them in /extras) which helps a little with that. then the /extras folder can be copied into /system for os2sd ports without thinning it down. For os2sd builds, the ota_extras_file can be completely empty as long as the ota_trash_file has all the unusable cruft in it.

Thanks for those specifics. Optimus S users are telling me similar things.

I was trying to find other than the big apps to trim, though.

I'm building everything instead of porting, so I can add those props (I'm already building with dalvik.vm.dexopt-data-only=0 anyway, but the qemu.hw.mainkeys=0 for navbar softkeys is really nice data.)

Getting rid of some of the things like NFC from the repo before building seems to help a tiny bit. So I'm looking into what's really extra cm and base aosp to try to trim down the build. I remember thunderc 4.4.2 was around 140MB when built thin, (and around 100MB when trimmed comparable to what you're doing now) but now, ugh. huge builds, over 180MB, and getting bigger all the time.

thunderc has even less space than thunderg. optimus s only has 155 or so MB in /system, and with the MTD swap still only 165. So I'm dredging around for ways to maintain internal builds while still not crippling extra smartphone functions or forcing /data installs of those apps (which ends up needing link2 methods and I've already invested time in os2sd for that.)

I'm really hoping Multirom kexec will work with the 3.0 kernel... that'll dodge all the trimming bullets and allow full-size builds to be installed.

Thanks again for your info!
[Optimus One, P500 Android Development] Dovidhalevi:
Cool, but not so cool.

When I learned development, economy was important. Wow, my two (count 'em) 10 meg (not gig) Winchesters (>30cm diameter) were quite a luxury. Ram? No one knew what giga meant. Remember overlaying linkers--oy vay! Times have changed, BUT ...

Is there really a need for 40meg keyboards, 50meg browsers, 200meg ROMs that include the kitchen sink? It may be convenient to simply shove everything onto system, new higher-end multi-giga devices can take it, but we see the results. And ... not everyone has or can afford these devices.

I would like multirom to experiment with differing ROMs and builds, but not as one more last stand for unbridled gluttony and lack of economic discipline.
[Optimus One, P500 Android Development] bigsupersquid:
I too would enjoy it if people wrote software again with size in mind.

How many games and other pieces of software could you fit on a 1.44MB floppy back when those were the big thing after the 512-720KB soft floppies? Or, (shudder) 32K on a cassete tape?

And, when I had my Amiga, and got an old 20MB external hard drive, I wasn't able to fill more than 1/4 of it with everything good I'd collected.

There's a few android apps in the single MB instead of tens of MB. Mostly everything is bloated anymore, though, desktop or mobile device.

I build hackers keyboard for internal install to save 2.5 MB over AOSP keyboard for example.

Gapps now take up over 200MB for a full set? In Gingerbread they were in the 10's of MB still. The OS itself has doubled, tripled, in size at least since GB.

I'm looking for solutions to continue use the latest and greatest software. Plus I have 16GB highspeed sd cards I bought for under $10 with tax... Ridiculous amounts of fast storage are easily available.

After all, Google never really intended anything past GB to run on our and other 'legacy' hardware. There's minimal build support for armv5 in kitkat, none at all in ics or jb (aosp or cm.)

Without androidarmv6 team and similar, we'd still be on GB. Modified stock or legacy CM. Yuck. Without link2 methods or os2sd or multirom, we can't even fit a complete build of JB or kitkat on the phone without gimmicks, and have to hack it down rudely.

That's why I'm experimenting, and still trying oddball things to push the hardware limits.

There's also the possibility of a minimal functional build with no built in bells and whistles. Install browser, bluetooth, calendar, almost everything outside of /system sideloading from /extras.

//end OT

//end rant
[Optimus One, P500 Android Development] xu3sno:
OT

Just made a fun by tasting OnePlus One in tiny (or mighty) Optimus One :)

Followed this: http://www.xda-developers.com/android/turn-smartphone-oneplus-one-xdatv/ and then this:

However, flash the zip file failed, hence pushed extracted files to /system/app and /system/priv-app, manually. Must have >20MB free space in /system to do it. Therefore original camera.apk and gallery2.apk were converted to user apps.

Issue: Gallery (original) FC; System running bit laggy :(

Nothing to loose if you give a try yourself :) Need CM-11!

Enjoy OnePlus One!

End of OT
[Optimus One, P500 Android Development] Dovidhalevi:
Cool. Hoped someone would try that out. I do not run CM-11.

Does the camera work fully (all the colorations correctly, all the exposure levels, etc.)? Installed over omni/omega, looks good until I try the colorations (up and down guestures). Now locked in mono, sepia, solarized. No normal color available, mono box grayed. Only have a few exposure setting.
[Optimus One, P500 Android Development] xu3sno:
Well, actually the camera works as the CM camera. Exposure (default) 3+. I think OpenCamera better than this, although bit laggy.
[Optimus One, P500 Android Development] Notonlyeyes:
Test3 separate kernel 3.0.101 for p500 cm11...by noe

- update kernel

- fix install pack files
[Optimus One, P500 Android Development] Dovidhalevi:
Wow! First new kernel in ages!

Only for cm11 or an aosp derivitive?

What is new in this kernel?
[Optimus One, P500 Android Development] Notonlyeyes:
build by [MENTION=4974969]HardLight[/MENTION] (all's Thanks) for support f2fs...by noe
[Optimus One, P500 Android Development] :
A bit OT but....

Guys , how much digits should IMEI code for p500 contain usually ?

I recently recovered my phone with KDZ and when I checked IMEI it was 17 ditited...

two zeros were added at the last of actual 15 digit code ...

Is that O.K ? or have I breaked IMEI ??!!!

Post ur replys ., screenshots etc...

thanks.

regards,
[Optimus One, P500 Android Development] mns123:
WiFi does not come "ON"
[Optimus One, P500 Android Development] Notonlyeyes:
Sorry..Test:

- go recovery > unmount system > install kernel > reboot

...by noe
[Optimus One, P500 Android Development] mns123:
system already unmount

test..

-go recovery > mount system > install kernel > reboot..

WiFi Not working. rest all OK

On- CyanogenMod version 11.0-20140906
[Optimus One, P500 Android Development] xu3sno:
Okay, just tried again with clean install (format system and factory reset; this time TWRP did just fine :).

System rebooted as it should be. Gallery (and Camera using OnePlus One), no fc. :cool: OnePlus One theme is installed, and it's cool. Enable switch between Holo (default) and Hexo (CyanogenMod's OnePlus One)! See screenshot in my previous post.

Home button behaves inconsistent. When it's tapped, occasionally works and lock screen running accordingly. But sometime not and lock screen doesn't appear. :(

Known issues persist. It's worth to give a try, though.
[Optimus One, P500 Android Development] Notonlyeyes:
Test4 fix files...by noe
[Optimus One, P500 Android Development] mns123:
OK. Now it works.
[Optimus One, P500 Android Development] chalo99:
I have a question, I installed this in my brother's p500, and he wants the swap partition. So i made a 500mb ext4 for linktosd and a 500mb swap (for swap of course), but how I know it's working, ot it's enabled, I turned on the option in Settings-Perfomance-Memory- Use swap part.
[Optimus One, P500 Android Development] bigsupersquid:
in adb shell or terminal

type

free
[Optimus One, P500 Android Development] xu3sno:
Confirmed! See screenshot, WiFi icon on status bar.

Kernel-3.0.101 (Test4 by noe ...aka Notonlyeyes, thanks bro!) works on cm-11-20140906-NIGHTLY. See About phone in screenshot.
[Optimus One, P500 Android Development] xu3sno:
CM-11 RC10

Stable build CM-11 RC10 is out, started by user: androidmeda. Many thanks dev :good:

It's amazing. Legacy device with the most stable advance OS (Android 4.4.4_r2, KTU84Q). Even the newer release devices are being jealous. :)

Download:

http://download.androidarmv6.org/_builds/p500/stable/cm-11.0.0-RC10-p500.zip

Changes:

http://download.androidarmv6.org/_builds/p500/stable/cm-11.0.0-RC10-p500.txt

It's worthwhile, will give a try :).
[Optimus One, P500 Android Development] xu3sno:
Simply flashed the trimmed ROM over 20140906-NIGHTLY and system rebooted just fine! :good:

Known issues remain. :( Portable WiFi hotspot works, once it turned off, system rebooted automagically, though. Duh! Spirit FM doesn't work. :(

As usual, Link2SD needs further tweak in order to work properly :(.

Using Hexo theme by CyanogenMod, instead of Holo (Android). UI looks and feels good. :cool:
[Optimus One, P500 Android Development] :
Please anybody can tell me what is the best frequency for overclocking on cm 11 ?
[Optimus One, P500 Android Development] CCXAlex:
Personally i have it it set min 250mhz and max 768mhz, but you can go up to 802mhz without problems. If you experience glitches you can lower it :D
[Optimus One, P500 Android Development] jaibar:
Well, I actually really bricked my first phone by over clocking to 800MHz (by mistake, the danged frequency slider, my big finger and the small screen happened to be lethal [emoji44] ).

The second one, at 768MHz will stop responding, the screen just shows noisy vertical lines and only battery pull and reverting to lower frequency will help.

At 748MHz it keeps stable.

So, like in many devices, it is a matter of each individual device. Although they are all the same model (p500 etc.) they are not really all behave the same, at least not in response to OC and UV.

My advice- want to OC? Do it carefully, gradually, find your device's limit, don't exaggerate. Not worth bricking for the sake of a few more MHz. P500 will never get even close to a quad core device anyway...
[Optimus One, P500 Android Development] apvm:
Sold my Optimus One last Friday and reverted back to stock rom. OP, thank you so much for your work.
[Optimus One, P500 Android Development] xu3sno:
Tested trimmed 20140914-NIGHTLY over RC10.

System rebooted just fine. Once Link2SD executed, storage space running out, as usual. Really got headaches every time to relink apps, dexes and libs.

Consider to move /data to SD as developed by [MENTION=4974969]HardLight[/MENTION].
[Optimus One, P500 Android Development] Dovidhalevi:
Worth a look.

Depending on how much over your dexes are, a few larger-dexed apps can be temporarily removed to avoid the problem, restore them afterwards using Titanium.

Also, when I upgraded the Omega Beta 8 without doing this, I found that relinking dalvik and rebooting until its OK worked just fine. Do not relink or clean anything else at this point. Once all dexes are relinked, should be OK.

Remember that CM-11 robbed 10 meg of data space to exchange with system. Thought the dexopt-dataonly=0 would have made things much easier.
[Optimus One, P500 Android Development] bigsupersquid:
I've got no working o1 to be sure with testing now,

but if you want i can provide a patched legacy mtd mount/no tls otherwise up to date kernel to flash over current cm11 in a kernel-patched twrp 2.7 i can also supply.

they should work ok, just make sure you're fastboot enabled so you don't Bork your device like i did testing twrp2.8

or would it be easier for me to offer my 130mb internal build with the legacy kernel and patched twrp? everything the build system stripped, about 60mb, is in extras.

is a dumbphone build, phone and messaging functions mostly.
[Optimus One, P500 Android Development] hariraj96:
can u upload rc 10 dumbphone build??:D
[Optimus One, P500 Android Development] bigsupersquid:
not before 'fixing' twrp for legacy internal mounts.

and it'll all be untested. my device folder used to work but I'll have to revert it to stock androidarmv6 to make an rc10 build I'm fairly sure would run on thunderg (o1)... all I can test on lately is my thunderc, which is what I'm really playing with until I find another reasonable priced o1.
[Optimus One, P500 Android Development] Notonlyeyes:
Test5 update separate kernel 3.0.101 for p500 cm11...by noe

OT : CMAccount work ...
[Optimus One, P500 Android Development] xu3sno:
Yes, kernel (test5) works just fine on RC10 and 20140914-NIGHTLY :good: Thanks!

However, just noticed that Portable WiFi Hotspot didn't work completely on RC10 and 20140914-NIGHTLY

both with original 3.0.8 and test5 kernel :(.

It works on rom before RC10 (with 3.0.8 and test4 kernel), even the system rebooted automatically when it's turned off :)

IMHO, the culprit: ROM itself, not the kernel?

OT:

[MENTION=4553005]Notonlyeyes[/MENTION]

How can I enable CM account? Settings > Add account > No CM icon showing! :(

TIA

End of OT
[Optimus One, P500 Android Development] Notonlyeyes:
CMAccount.apk in system/priv-app permission rw-r-r...by noe

[MENTION=4685929]xu3sno[/MENTION] kernel test6 it is for Portable WiFi Hotspot , test it please....by noe

EDIT:

[MENTION=4685929]xu3sno[/MENTION] Portable WiFi Hotspot work for me in RC10 + test5 kernel
[Optimus One, P500 Android Development] xu3sno:
Got it!. Thanks [MENTION=4553005]Notonlyeyes[/MENTION]. Finally figured out the culprit. Faults in my side :silly:. My apology, cm-11 for p500 devs.:)

Portable WiFi Hotspot didn't turn on (RC10 and 20140914 both with native 3.0.8 and test6-3.0.101 by noe..) caused by modification on /system/app and /system/priv-app in order to have Hexo CM theme as in OnePlus One. :)

Tried to install pure (full wipe, without trimming) RC10 and 20140914-NIGHTLY both with native and test6, and Portable WiFi Hotspot works (partly, since when it turned off, system rebooted itself).

OT

Now successful added CM account. Thanks noe...... :good:

End of OT
[Optimus One, P500 Android Development] marrduk:
Interesting

Guys, is there any chance, that somebody could dig into wifi drivers to modify it somehow to prevent this insane battery drain? Or, maybe, it's impossible?
[Optimus One, P500 Android Development] xu3sno:
Keep informed:

CM-11.20140920-NIGHTLY-p500 is up.

You may give a try as a weekend project.

Download ROM from Jenkins, as usual.

Test6 3.0.101kernel by noe ...., as native 3.0.8 works as it should be.

Portable WiFi hotspot works (partly).
[Optimus One, P500 Android Development] haoss07:
Hmm. i flashed the cm11 stable build (rc10). and gaps light from mukulsoni . but i'm getting a error when y try to login with my gmail. There was a problem communicating with google servers. Any ideas ? i'm doing something wrong ?

or give me a gaps that work with rc10 ?
[Optimus One, P500 Android Development] Notonlyeyes:
Search GooglePlayServices...by noe
[Optimus One, P500 Android Development] haoss07:
who is noe ?

also why are you guys talking about latest cm11 and kernels in mukulsoni thread (4.4.2 rom ) ?
[Optimus One, P500 Android Development] Notonlyeyes:
GooglePlayServices = PrebuiltGmsCore.apk

by = bye

noe = NotOnlyEyes
[Optimus One, P500 Android Development] ibub:
OT

LOL

/OT
[Optimus One, P500 Android Development] xu3sno:
mukulsoni had allowed to post it as long as it's KitKat (and I think kernel related to cm-11, too) in this thread. Many thanks to [MENTION=5396524]mukulsoni[/MENTION] :) We miss your post, bro! :)

---------- Post added at 04:16 AM ---------- Previous post was at 03:57 AM ----------

You must have enough space left in /system. If you don't have it, trim the rom or delete some apps in /system or convert to user apps. Grab the newer or latest Google Play Services (160 DPI) from here or search it as noe a.k.a Notonlyeyes said, install it and try again to login G server.
[Optimus One, P500 Android Development] :
It will be great.....
[Optimus One, P500 Android Development] Mr. Kaz:
Error in zip file.. (Status 0) Installation aborted
[Optimus One, P500 Android Development] Mr. Kaz:
Installed TWRP and flashed...Working fine now :)
[Optimus One, P500 Android Development] HTCore:
I need help, more and more I'm reading, I'm getting more confused;

I flashed "cm-11-P500-Ver12.zip" on my P505, but I got color problem, it only shows green/blue colors. Same goes with CWM and Aroma during flashing but I do not have this issue when I restore my backup (stock).

Currently I'm using V20f baseband. Is it a baseband issue? should I downgrade it to V10 and use old BB fix?
[Optimus One, P500 Android Development] ibub:
I believe p505 has different display/drivers. Has nothing to do with baseband (radio). You can download stable cm11 builds for p505 here:

http://download.androidarmv6.org/_builds/p505/stable/

May need to trim before flashing gapps.
[Optimus One, P500 Android Development] HTCore:
Thank you. It was my incorrect understanding that P500 roms are compatible P505!

What you mean by "trim before flashing gapps"? Do you mean using lite version of gapps or install less gapps modules for it?
[Optimus One, P500 Android Development] ibub:
Uncompressed size of ROM + Gapps must be less than 190Mb

/system partition.
[Optimus One, P500 Android Development] xu3sno:
Weekly Report

CM11-20140927-NIGHTLY-p500

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

Changes: http://download.androidarmv6.org/_builds/p500/cm-11-20140927-NIGHTLY-p500.txt

Simply installed it without wipe over 20140920. Running well both on native and test5-3.0.101 kernel .... by noe (aka Notonlyeyes). Incremental update worked, only if the current rom have not been modified (trimmed, edited build.prop, etc).

Known issues remain. Hey, new UI on Setting >More > Tethering & portable hotspot > Portable WiFi hotspot. However, WiFi hotspot works just partly. Still, once it turned off, the system reboot itself :(
[Optimus One, P500 Android Development] Notonlyeyes:
[MENTION=4685929]xu3sno[/MENTION] this is pack kernel 3.0.101 for cm-11-20140927-NIGHTLY-p500 ...by noe

changed in build prop :

- qemu.hw.mainkeys=0 add in build.prop

- ro.config.low_ram=false

- dalvik.vm.dexopt-data-only=0

framework:

- add soft reboot ( http://review.androidarmv6.org/7480 )

add new strings in build prop:

- ro.sys.fw.bg_apps_limit=12 ( http://review.androidarmv6.org/7530 )

- ro.config.max_starting_bg=6 ( http://review.androidarmv6.org/7530 )
[Optimus One, P500 Android Development] xu3sno:
Flashed test7 over 20140927 and works out of the box. :good: Thank ...noe :)

Feel the system running smoother and faster than stock kernel.

CM-11's known issues (portable WiFi hotspot, FM Radio) persist, though :(
[Optimus One, P500 Android Development] xu3sno:
CM-11 RC11

CM-11 RC11 for p50x(Stable channel) has been released :good:

Thanks to androidmeda, our great dev! :good:

Changes: http://download.androidarmv6.org/_builds/p500/stable/cm-11.0.0-RC11-p500.txt

ROM: http://download.androidarmv6.org/_builds/p500/stable/cm-11.0.0-RC11-p500.zip

Since it's stable rom, I think it's worthwhile to give a try as a weekend project.

Happy flashing! :)
[Optimus One, P500 Android Development] J3lackHeart:
How is camera? :D
[Optimus One, P500 Android Development] xu3sno:
Just updated to RC11 using incremental update through OTA over RC10. Downloaded patched file (12MB) instead full ROM (118MB) through cmupdater.

Open script recovery automatically flashing the updater file :cool:

Warning:

Incremental update through OTA works only if the current ROM system never be trimmed ( do not remove ./extras) or edited (do not edit build.prop).

You may do it later, once updating is completed.

Camera works as it should be for armv6 device!.

Test7 kernel... by noe flashed successfully but didn't work, caused system boot loop :) This kernel is designed for 20120927 see attachment.

Soft reboot already merged into stock kernel.

/***************

OT

Hey, try this CM-11 RC11. May be this is yur last chance to flash CM for free, before Google Inc. and other company to acquire Cyanogen Inc. :)

Read this http://www.xda-developers.com/android/google-failed-cyanogen-acquisition/

End of OT

*******************/
[Optimus One, P500 Android Development] Notonlyeyes:
Test8 kernel 3.0.101 for CM11 RC11...by noe
[Optimus One, P500 Android Development] xu3sno:
Yes!!, now it's working out of the box :good:. Thanks noe aka [MENTION=4553005]Notonlyeyes[/MENTION].

My current system CM11-RC11, kernel 3.0.101 by noe with soft reboot enable :cool:

Suggestion on naming the file use: test-rcXX-kernel-3.0.101 for RC instead of testX and test-2014XXXX-kernel-3.0.101 for nightly. Using testX a bit confuse for users, at least for me :)

Meanwhile, cm11-20141004-NIGHTLY is out.: http://jenkins.androidarmv6.org/job/cm-ota/895/

Will give a try? Must download full package. No incremental OTA update on top of RC11 :(

Download ROM: http://download.androidarmv6.org/_builds/p500/cm-11-20141004-NIGHTLY-p500.zip

Changes: http://download.androidarmv6.org/_builds/p500/cm-11-20141004-NIGHTLY-p500.txt
[Optimus One, P500 Android Development] Notonlyeyes:
Ok and Thanks [MENTION=4685929]xu3sno[/MENTION] for suggestion on naming...

cm11-20141004-NIGHTLY = RC11 not important change...by noe
[Optimus One, P500 Android Development] Notonlyeyes:
OT

New style Boot Android L completed...by noe
[Optimus One, P500 Android Development] xu3sno:
OT

I'm using the older one ..... by noe , the newest one look nicer :good: :cool: [MENTION=4553005]Notonlyeyes[/MENTION]. Download link bootanimation.zip, please. :) TIA

End of OT
[Optimus One, P500 Android Development] mns123:
flashed over CM11-RC11.. works out of the box. Seems smoother and faster definitely.

thanks.
[Optimus One, P500 Android Development] Notonlyeyes:
Info: Install this bootanimation.zip in data/local and rw-r-r permission...by noe
[Optimus One, P500 Android Development] xu3sno:
Okay, it works out of the box. :cool: Need move some apps from /system or delete them to have more space for boot animation (7Meg +), though. Anyway, thanks Notonlyeyes :good:
[Optimus One, P500 Android Development] xu3sno:
No nightly build p50x this week! All failed :(

http://jenkins.androidarmv6.org/job/cm-ota/
[Optimus One, P500 Android Development] :
Sooooperb.........;) thank you sooooo much.........:thumbup: