yashsingh1/xdaforums huggingface dataset:
[Optimus One, P500 Android Development] HardLight:
I see you encounter a lot of mess every time you install an update :D

To save time and skip all steps from 2 to10 just flash attached zip after flashing new rom.

It includes:

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

2. link2sd script and proper /sd-ext size fix for About phone>Partition info

P.s. As I'm using other script I can't check this zip so I leave it to you. If something won't work inform me.
[Optimus One, P500 Android Development] xu3sno:
Many thanks HardLight. Will give a try and report it. :)

---------- Post added at 02:10 PM ---------- Previous post was at 02:05 PM ----------

Yes, both through usual reboot and recovery > reboot system. Bit annoying :(, but I can live with it :)

Maybe mukulsoni will fix it :)
[Optimus One, P500 Android Development] apvm:
Does anyone still see "Android is updating apps" every time during boot up after updated to 10.3?
[Optimus One, P500 Android Development] mukulsoni:
I just found the cause of "Android is updating" on reboot. In data/app and data/app-lib there are few apps are existing in duplicates and if you remove them manually then reboot is normal. Needs to find internal script to delete duplicates.

Thanks [MENTION=4974969]HardLight[/MENTION] to find the solution for Link2sd script, I will test this script by merging into rom, hope it should work, will report soon guys.
[Optimus One, P500 Android Development] Dovidhalevi:
Most encouraging post I have seen on this! More or less my original work-around for the Link2sd Achilles heel: Remove enough larger-dexed apps, go through upgrade process ..., reinstall those apps. Unfortunately, this can be many apps and gets to be a big pain in the ...

Link2sd will regain the space or a bash script can do it, followed by the rest of the link2sd exercises described. Unfortunately, the problem repeated entirely at next boot. So this may be the first instance of after-the-fact cure!!

Great! I'll have a look, especially the sd-ext size fix. Does this change the bootup problem or just for the Partition info?

Also good news. Sometimes, mount-script recreation stops the annoyance (that is if it is not an entire upgrading apps sequence!). Information should be passed on to link2sd devs.

Maybe, someday real soon, we can relieve this upgrade mess behind and really enjoy our ROMs, keeping them current.

---------- Post added at 11:37 AM ---------- Previous post was at 11:02 AM ----------

The link2sd mount script here is old. Recent versions KK and onwards have a last line:

chmod 773 /data/dalvik-cache

(Wierd but that is what the program produces.)

The size fix:

Symlink or mount -rbind /data/sdext2 /sd-ext ??

Symlink enough for info. Question is whether the whole recurring upgrading apps sequence is related to built-in selinux permissions available to sd-ext/dalvik-cache (as well as /data and /cache dalvik-cache folders) but not to /data/sdext2/dalvik-cache. Does the symlink fix it? If not, would the bind work? Since I am using Omni right now and do not have a live adb during boot, a bit problematic for me to try this out myself.

Some sort of script to treat those redundant app-lib entries might also be helpful (until link2sd takes this up). Sdmaid does not detect these as duplicates because these are folders and contents not identical.

---------- Post added at 11:50 AM ---------- Previous post was at 11:37 AM ----------

The link2sd mount script here is old. Recent versions JB and onwards have a last line:

chmod 773 /data/dalvik-cache

(Wierd but that is what the program produces.)

The size fix:

Symlink or mount -rbind /data/sdext2 /sd-ext ??

Symlink enough for info. Question is whether the whole recurring upgrading apps sequence is related to built-in selinux permissions available to sd-ext/dalvik-cache (as well as /data and /cache dalvik-cache folders) but not to /data/sdext2/dalvik-cache. Does the symlink fix it? If not, would the bind work? Since I am using Omni right now and do not have a live adb during boot, a bit problematic for me to try this out myself.

BTW, from adb, even after adb remount, that script will not run, permission denied!

Some sort of script to treat those redundant app-lib entries might also be helpful (until link2sd takes this up). Sdmaid does not detect these as duplicates because these are folders and contents not identical.
[Optimus One, P500 Android Development] xu3sno:
Did it, however after system booted, the problem persists. Storage space running out :( system more stable, though. User apps, e.g root explorer works fine, so went to check using RE:

/system/build.prop. In the last line, the script just added the line # End ... tweaksdalvik.vm.dexopt-data-only=0. Hence effected nothing in moving /data/dalvik-cache/system@*.dex to /cache, even I did wipe cache right after install your flashable.zip. (see screenshots)

Partition info works as it should be. Bonobo prepared this fixed info script for Cm-10.2 months back.

Have to edit buid.prop manually, reboot, system@*.dex moved to /cache by the script, but other copies remain in /data/dalvik-cache. Removed them manually.

Went to Link2SD, select all user apps >relink. Clean up dalvik cache and clear up all apps cache. Rebooted the system, "Android is upgrading" (will apply mukulsoni suggestion for removing this annoying message), regained spacious free memory in internal partition, without removing and reinstalling apps. :good:

I think [MENTION=4974969]HardLight[/MENTION] and [MENTION=5396524]mukulsoni[/MENTION] will fix the problem. TIA
[Optimus One, P500 Android Development] irha:
Not related to the active topic, I forgot to mention that I had to add `modprobe ext4` to the mount script generated by link2sd, or it would not mount during the boot.
[Optimus One, P500 Android Development] Dovidhalevi:
So you have a ext4.ko module? This is what modprobe ext4 will load. If this be built into kernel, why would one need this? Result wouild be "module ext4 not found." Guess mine has it buit in.

---------- Post added at 01:14 PM ---------- Previous post was at 01:10 PM ----------

Reboot again. Does the whole business recur or are you now "cured?"
[Optimus One, P500 Android Development] xu3sno:
Adding to my previous post.

Yes, with the latest HardLight's flashable zip, regained spacious space in internal memory, BUT only half compare with manual method I did. Thanks to HardLight, anyway.

Tried to delete duplicate files in /data/app but not in /data/app-lib, since in this folder there's no duplicate file. Reboot the system and problem with annoying message persists :(
[Optimus One, P500 Android Development] irha:
I am using the kernel that came with the rom.
[Optimus One, P500 Android Development] Dovidhalevi:
Fire up adb shell or terminal emulator and enter the modprobe. See what you get.
[Optimus One, P500 Android Development] chalo99:
[MENTION=5396524]mukulsoni[/MENTION] Will be an update with HALO in the future? Anyway, this is a amazing ROM, and i'm sticking to it since ver 9.

Yes, i'm becoming a fanboy.
[Optimus One, P500 Android Development] HardLight:
Auto Updater v0.2

Here is new fixed script, it should work now (even I can't test on phone).

[MENTION=5396524]mukulsoni[/MENTION]: previously build.prop editing failed because your build.props doesn't have line feed (LF) on last line.

Now I made that script itself puts it but make sure pressing enter one more time after editing files. :)

[MENTION=4708203]Dovidhalevi[/MENTION]

As you see from script it symlinks data/sdext2 to /sd-ext (because most of apps of system processes are checking /sd-ext for ext partition)

so it fixes ext size not been shown under Partition Info. About what bootloop you are talking?

11link2sd script updated to latest now.

Can't tell about Omni much, but once I used this symlinking script with link2sd and I didn't have problems with upgrading apps on bootup.

Try and see if it works for you.

11link2sd permission should be fixed.
[Optimus One, P500 Android Development] mukulsoni:
Will include it in next ROM version as an option in Aroma.

Which last line you are talking about? Did you updated script in previous post or forget to attach here, if so please attach the updated zip. Tried the previous script by merging into rom, but it did not work and gives many FC.
[Optimus One, P500 Android Development] irha:
I get

1|root@p500:/ # modprobe ext4
modprobe: module 'ext4' not found

I guess that means my change to 99link2sd didn't fix anything :)
[Optimus One, P500 Android Development] apvm:
Thank you so much for the work since I have no idea how to get to data/app and data/app-lib and what to look for. Can you tell me how? Thank you, thank you.
[Optimus One, P500 Android Development] mukulsoni:
You have to install "root browser" apk from the play store first and then you can access that folder.

Can you see "org.ilwt.tools-1.apk" in Data/app folder? Just delete that, it is also existing in system/priv-app, check all apps again and reboot device to check if it is working or not.
[Optimus One, P500 Android Development] chalo99:
Hey guys, a little noob question, I flashed freshly this ROM afollowing the procedure. But since it boots, Google play services and googleplay store Force Close. I'm using link2sd and I didn't link those app and never touched it. Tried unistalling and reinstalling other versions, but nothing, the FC keep going. Any tips?
[Optimus One, P500 Android Development] mukulsoni:
Open Google Play Services App info and clear data and cache and reboot device. If still get error, follow this http://xdaforums.com/showpost.php?p=51368664&postcount=1182
[Optimus One, P500 Android Development] eran32:
Hi

why i cant pick lwp?

when i try its said "app Isnt install

how can i fix it?
[Optimus One, P500 Android Development] xu3sno:
Tested the script. After system rebooted, go to /data/dalvik-cache and all dexes links were gone, while system@app*.dex, indeed moved to /cache. Go to Link2SD, relink dalvik, data@app*.dex linked to sdext2. Reboot the system, and again, all links were gone :(

[MENTION=4974969]HardLight[/MENTION], here is the log.
[Optimus One, P500 Android Development] chalo99:
The googleplay services worked like a charm. Now play store still gives error, hell FC. I tried clearing data app, but nothing. Any way to solve it?. Thanks for the quick response [MENTION=5396524]mukulsoni[/MENTION]
[Optimus One, P500 Android Development] mcd_legend:
u have set google launcher as home launcher right ???

in system settings > personalization > home

and selected launcher and not launcher3

select launcher, blue one
[Optimus One, P500 Android Development] simplicio11:
Changelog (27 dec - 31 dec) ( http://review.androidarmv6.org/#/q/status:merged+branch:cm-11.0,n,z ):

- Remove languages unsupported by SMALLER_FONT_FOOTPRINT

- fix some ldpi overlay

- Disable outdated LatinIME English dictionary

- Delete all autocomplete dicts except

- Camera HAL: workaround for QCOM legacy camera parameters on KitKat

- Update storage configuration & development settings

- Set default to MTP for usb config	Merged

- Show notification dialog to choose USBMS/MTP/PTP mode if primary sdcard

Right?
[Optimus One, P500 Android Development] Rogue8X:
You have to know that after installed, Google launcher CAN'T RUN so you can't set it as default launcher. If you press Home button, don't display launchers to you choose, and don't exist "Home" in Settings/Personalization.
[Optimus One, P500 Android Development] hariraj96:
there are only for samsung devices....
[Optimus One, P500 Android Development] Rogue8X:
I solved the problem: uninstall Google launcher, reinstall it. Press Open when install complete, Google account will sign in, Google search will FC but Google Now still sign in successful. Return Home screen then set it as default launcher, enable Google Now. Done!
[Optimus One, P500 Android Development] simplicio11:
nope. there are common commits and lge commits too.
[Optimus One, P500 Android Development] mukulsoni:
I am using SDEXT4 mount script and mine is FAT format as this is a 2GB Sdcard. In this script you dont need to relink manually dex (typo above). I never used this on any Kitkat ROM build before Dec27 infact always used on CM 10.xx versions. December 27 build has an bug which do not auto clean apps dalvik cache on reboot and therefore always android app upgradation on boot screen and after boot it occupy Data space. To clean Apps dalvik cache in Link2sd, wait to upload all apps there and then click on left menu and clean up the dalvik-cache. IMHO this is not selinux error, its working fine. :good: Personally I do not prefer dirty flash. Try clean flash of trimmed DEC31 rom and check, its working man...:highfive:

Absolutely right.... I found these changelogs. thanks
[Optimus One, P500 Android Development] Opteronvoz:
Yes indeed. I did follow such procedure.

I also have about 20MB left for system after flashing the CM11 zip (nothing else flashed or installed yet).

Installation of Link2sd took 5 minutes. OC to 729Mhz and changing governor to On demand helps improve things a bit.

As someone up there saying that this rom needs a fast SDcard. It may make sense when installing apps to SD. However, with an empty phone (just after flashing the rom zip), the SD card shouldn't be a problem!
[Optimus One, P500 Android Development] mukulsoni:
QQ: did you inserted active simcard while firstboot? if not try this and let me know.
[Optimus One, P500 Android Development] sam811:
i simply replaced the LatinIME in the rom. working perfectly. Thanks a lot. Rom size down to 91MB even after integrating a few apps.
[Optimus One, P500 Android Development] Opteronvoz:
What kind of sorceress is this?

I don't understand how that works but indeed it works!

When I was dealing with a galaxy S on ICS, removing the sim card actually brought about smoothness. This is totally mad!!!

Anyway, I did a clean installation with an active sim card. SD card was also formatted in CWM recovery.

Now can't see SDEXT4 in Link2sd. Autolink option is also greyed out in Settings.

What should I do???
[Optimus One, P500 Android Development] mukulsoni:
Hmmm.... for sdext4 see http://xdaforums.com/showpost.php?p=49005886&postcount=104

So guys... who complains that ROM is not working , insert active simcard in then flash. :highfive:
[Optimus One, P500 Android Development] Dovidhalevi:
wow! is this fixed in December 31 nightly? What a disruptive bug.
[Optimus One, P500 Android Development] Opteronvoz:
Indeed, insert an active sim card.

For the partitions in sdcard: I figured out that I needed 2 partitions on SD card.

However the CWM 6.0.4.6 Dec 26 (the one linked from your instruction post, post #1) doesn't have that option. It doesn't even have "fix permission" option!

:eek:
[Optimus One, P500 Android Development] mukulsoni:
Read carefully the link bro... follow this http://www.incpak.com/tech/how-to-increase-android-phones-internal-memory-using-link2sd/
[Optimus One, P500 Android Development] Opteronvoz:
Haha, I know the other method (I deal more with computers than phones).

Sadly there's no microSD adapter in the house. Otherwise I wouldn't moan :crying:
[Optimus One, P500 Android Development] mukulsoni:
then you need to find older recovery and make sd partition there, Just toggle between recoveries ;)

EDit SEcond method:

You can do the second method without adapter, just install proper driver of device and your pc can read your sdcard through that.
[Optimus One, P500 Android Development] sam811:
i used amonra recovery to create EXT4 then flashed CWM. slightly time consuming.
[Optimus One, P500 Android Development] Opteronvoz:
OK.

Have been trying this ROM with its full fledge, everything has been great except 1 thing:

In Settings > more > mobile network > A pop up window would show up to choose between 3G and 2G

2G box is hidden and thus cannot be clicked.

Can you fix this, please? :D
[Optimus One, P500 Android Development] Mr. Kaz:
Great rom and the new camera has a working video recorder.. Battery drain is more than expected, woke up now after 5hrs and it went down by 22% :(

edit: but this camera app is from JB
[Optimus One, P500 Android Development] mukulsoni:
Go to Settings>Accounts>Sync Google account. If still get error reboot device and check. There is nothing related to Google play store in OTA updates.
[Optimus One, P500 Android Development] Dovidhalevi:
More glad tidings:

1. New link2sd beta that will symlink app data. One more way to eek more internal space on our device. Use sparingly on apps that the slower sdext access speed will not hurt. http://xdaforums.com/showthread.php?t=919326

2. How about a near-fully functioning Google Search/Now? As previously cited here, there is a widget that will use old Voice Search and feed the text to Google Search. On more recent versions, one might need to set the Google Search settings->voice->language to something other than English and other default-supported languages to prevent FC on voice and typed searches (dont ask me why). Voice commands work anyway. http://xdaforums.com/showthread.php?t=2709285. Hint: Use Overlays to cover the Google mic icon with this one.
[Optimus One, P500 Android Development] chalo99:
Sorry, but no way, still FC. By the way, can you provide me the play store that is inside the ROM? I unistalled it and installed other when started FCing, and now I want to try the "stock" Play Store but I can't find it inside the ROM package.

Thanks.
[Optimus One, P500 Android Development] rharshit:
Now that's really helpful :good: :good: :good:
[Optimus One, P500 Android Development] toughtiger:
Sokp for our beloved lg p500

Dear mukul,

Thanks for great work and because of you I am still rocking my OO1.
[Optimus One, P500 Android Development] ratheeshraj:
Cannot update using otaupdater

Hello,My OTAupdater is not working...Anyone got the downloaded zip to share here??ota updater error'No address associated with host name'
[Optimus One, P500 Android Development] irha:
Had anyone seen this weird behavior with the battery? I don't know if it is fluke or if the battery really drained. At night, I just removed it from one charger (when it was about 95% charged) and connected it to another. In the morning, the battery level was shown as 5% while still being charged. There is nothing wrong with the charger, as I charge a few other devices with it, and even charged this very phone many times. Besides, the battery level drop is unbelievable, from almost full to empty in 26 seconds. Update: I misinterpreted the 26 seconds as the duration in the graph, sorry.

Update 2: It might be something to do with my recent Llama rule to turn on wifi when plugged in. On wifi, I guess it is consuming more power than what is being supplied? Perhaps there is some difference in the two charges that I was using, the first one must have been able to supply plenty for it to charge to 95%, while the second couldn't?
[Optimus One, P500 Android Development] ruelericsapalaran:
What version have you installed? OTAupdater works in 10.1
[Optimus One, P500 Android Development] alonsoch:
AWESOME! [MENTION=5396524]mukulsoni[/MENTION]

the only "bug"... when the download is complete(OTA) and the phone boot to recovery, the automatic flash doesn't start, i need to flash manually...
[Optimus One, P500 Android Development] thedirtchamber:
Hello. The UserGAPPS link doesn't work anymore, could someone please add a mirror? Thanks. :) I got the "Couldn't sign in" thing, so this ROM is quite useless atm...
[Optimus One, P500 Android Development] ruelericsapalaran:
I believe the gapps on this thread works on this ROM: http://xdaforums.com/showthread.php?t=2397942. Just go through the files in the zip.
[Optimus One, P500 Android Development] toughtiger:
Sokp for our beloved lg p500

I think you do not need gaaps. Its included in ROM. Rest you can download from market, instead of posting offensive words like useless. It takes time, money and dedication to compile a ROM. And when devs get such remark from users it hurts. They are not paid for this buddy.

My intention is not to hurt anyone but at the same time you should respect devs too.
[Optimus One, P500 Android Development] Notonlyeyes:
Official Link2sd v3.4.1 ( The long awaited feature to link data files is available. You can now move the internal data of the apps to SD card and free up more space. ) download : https://play.google.com/store/apps/details?id=com.buak.Link2SD&hl=it

Theme KitKat (not Blue) for Theme Chooser :

- http://xdaforums.com/showthread.php?t=2685553

- http://xdaforums.com/google-nexus-5/themes-apps/theme-kitkat-ui-0-3-goodbye-holo-blue-t2718202
[Optimus One, P500 Android Development] thedirtchamber:
Dude, I don't think you read my post. I didn't say that this ROM is useless, I said that it's useless in THAT CONDITION, with that error. And some pages ago someone else had the same issue, and the resolution was to install that premium-something.apk from UserGAPPS. And the download link didn't work for me, it does now, however.

So please, pay some more attention next time, before you post a reply like this. ;)
[Optimus One, P500 Android Development] mukulsoni:
If you read the same issue on previous page then you should also read the solution on previous pages before commenting the "rom is useless atm...". I have already mentioned it many times to what to do in that case. And FYI all links are working fine, please check twice/thrice before commenting anything here.
[MENTION=4727626]toughtiger[/MENTION] has quoted you absolutely correct in very polite way. In fact you should pay more attention next time.

BTW guys I am working on version 11 and will release it very soon with some new features.
[Optimus One, P500 Android Development] apvm:
I am still on 10.1 since it is working fine, too lazy to fix the "Android is updating app" thing on newer version. Will version 11 fix that automatically? Thank you for your work.
[Optimus One, P500 Android Development] mukulsoni:
Hopefully I will fix this in next version.
[Optimus One, P500 Android Development] gavraz:
Please help

Hi,

I installed the CWM version you specified.

Installed from sd without wiping anything.

Followed the aroma menu (and also didn't wipe anything)

Chose the a2dp something you said might be slow

And it's stuck on boot with four colors animation for over 45 minutes! :crying:

What should I do?

Thanks
[Optimus One, P500 Android Development] mukulsoni:
Are you moving from another rom to my rom? If yes, then you have to select wipe option 2 in Aroma for clean flash. And if you are upgrading from previous version and want to use ad2sdx script, in that case too you have select wipe option 2.
[Optimus One, P500 Android Development] gavraz:
I 'hacked' my phone today for the first time, your rom is the first I install on this device

Should I turn it off and try again with full wipe?
[Optimus One, P500 Android Development] gavraz:
Tried again after fullwipe from aroma - still stuck on boot for about an hour \=

I was able to restore. any ideas what could possibly go wrong?
[Optimus One, P500 Android Development] irha:
I don't remember how the volume was with previous roms (as the phone was not in use for almost two years), but I am finding that it is pretty quiet now. The speaker phone especially is so quiet that I can barely hear when the ceiling fan is running. Is this what is expected from this hardware?
[Optimus One, P500 Android Development] mukulsoni:
Are you using class 10 sdcard? In Aroma dont select any google apps and whatsapp, try with clean flash and check,.

Do you mean Speaker in call or Speaker volume for notification and ringtones? Speaker in call is good and it is as normal as it was in JB. For notifications and ringtones go to settings>Sounds>Volumes>uncheck Link ringtones & notification volume and increase Notifications vol bar.
[Optimus One, P500 Android Development] gavraz:
I guess I am (2GB micro-SD card).

Will try again with full wipe dalvik etc

Is there a way that it didn't boot up because the phone was connected to the charger?

Thanks.
[Optimus One, P500 Android Development] mukulsoni:
suggest you to choose Link2sd instead of a2sdx with 2gb sdcard. connecting with charger doesn't related to boot.