[Q]Apps disappear on reboot (A2SD, ICS 2.2.24, Ext3) - Nexus One Q&A, Help & Troubleshooting

Apps disappear on reboot (A2SD, miui.us ICS 2.2.24, Ext3)
I have installed ICS v2.2.24, activated a2sd (a2sd install in terminal emulator)
I can install apps, and everythin seems fine. I se that free space on the ext3 partition goes down as I install apps (so they end up on ext3 partition).
When I reboot however, all the installed apps are gone, only system apps remain, in the Launcher.
If I go to Settings, Applications, all the apps are in the list, but show as beeing moved to SD-card, and unavailable. the list shows the package names, not the app names, and no icons. If i press an app from the app list, it says App: 0B USB storage app: 0B, Data:25KB (for example)
After reinstall, i can install apps again, but they disappear every reboot. Settings do not disappear, Icon arrangement is remembered, stock widgets stay where they were....
i have tried running a2sd install several times. Also a2sd cachesd, a2sd align, a2sd fixapk. a2sd diskspace shows that ext3 has data (100mb)
I have not tried a2sd xdata (as i want to keep rest of data on phone)
I have tried all this while using CWM as my recovery as well as while having 4ext as my recovery. Rom was flashed with 4ext
Anyone else have this issue? Anyone been able to fix it?
Ps. have wiped dalvik and ext3 to start over a few times... No difference.
Also, does anyone know what a2sd script is being used in miui now?
In gingerbred it was Darktremors a2sd, but this appears to be a different script.

I have experienced this several months ago with different rom. As long as I remember, it was caused by bad partition.
Try to repartition your sd card via 4ext recovery, ext4 should be ok. Back up your sd first.
Sent from my Nexus One

Ah, forgot to mention, did that allready. Several times even. Today i also tried formatting from ext3 to ext4, just to see what happened. No change

Did you ever solve the problem?
I'm about to flash a similar set up and would hate to have the same issue.

Yes, I downloaded and installed Darktremors A2SD. Works great now?

Related

Nexus One Rom/Memory Issues

Hey guys, I have a memory issue with my Nexus One when it comes to available storage space. The rom available memory seems to get lower and lower everytime I flash a rom than the previous time. When I load roms like CM6 or Kang-o-Rang or MicroMod Supercircle 2.7 or any others I have 4-16 MB available and nothing has installed yet. I usually use A2SD EXT3 for these but now its extremely difficult to do anything when booting with so little space to begin with. A week ago, on most roms I have well around 150 MB free before installing anything. What may have caused this issue? I even tried booting CM6 with a different SD card not partitioned for A2SD and wiping everything and same result and now I really can't install anything. So is my phone faulty or is there something I can do? I am currently running recovery Amon RA 1.7.0.1 and issues seemed to have come up since using this recovery. I was using Clockwork Mod latest one before this a few days ago.
Any ideas?
Have you been wiping data + cache each time you flash?
Make sure you're calculating data space and not system space (which can be as low as it gets to be, it doesn't matter).
codesplice said:
Have you been wiping data + cache each time you flash?
Click to expand...
Click to collapse
I have wiped, cleared cache, delvik many many times. I suspect that the wipe is not working properly. I have tried two different recoveries and nothing works. My available space now running on Nexus FRF91 stock with root only I have 53.64 MB free. I have installed no third party apps yet whatsoever. I have not even logged in to google yet because it will download all my apps again. I have rebooted as well. I think theres an issue with my device and memory. Should I call HTC or my warranty is void?
Sounds like a weird problem, I would've tried to wipe a time or two more. I just wiped my device after flashing nightlies for the last two months without wiping and I noticed I had 170MB free when I booted up with a few apps installed.
I agree with SBS_. It sounds like the wipe isn't doing the job properly. Try to do it in all the possible ways (wiping through the ROM - using "Factory Reset" option, wiping through recovery - clearing data, cache and Dalvik-cache, and wiping through ADB command line), see if it changes anything.
Jack_R1 said:
I agree with SBS_. It sounds like the wipe isn't doing the job properly. Try to do it in all the possible ways (wiping through the ROM - using "Factory Reset" option, wiping through recovery - clearing data, cache and Dalvik-cache, and wiping through ADB command line), see if it changes anything.
Click to expand...
Click to collapse
I've tried everything except ADB command line. I will have to read into doing that as I am unsure what to do. I have wiped from recovery and through the rom at least 15 times each! lol
When you load a new ROM, did you try to use Root Explorer to see what's on your DATA partition? (under directory /data).
Jack_R1 said:
When you load a new ROM, did you try to use Root Explorer to see what's on your DATA partition? (under directory /data).
Click to expand...
Click to collapse
Great idea. Actually I have but not sure what suspicious files I should be looking to delete. I do own root explorer so any suggestions would be great. Thanks!
timahawk said:
Great idea. Actually I have but not sure what suspicious files I should be looking to delete. I do own root explorer so any suggestions would be great. Thanks!
Click to expand...
Click to collapse
I have this exact issue. I know how to wipe. I have gone as far as reloading HBoot and placing the stock EPF30 image. I have gone thru using clockwork and Amon. I know how to do factory resets. I know how to go to storage options with clockwork and format all partition options. I have spent months on this. Below is a readout, after blowing away everything.
~ # du -hc /data
du -hc /data
2.0K /data/lost+found
4.0K /data
4.0K total
~ # df -h
df -h
Filesystem Size Used Available Use% Mounted on
tmpfs 192.9M 0 192.9M 0% /dev
/dev/block/mtdblock5 196.3M 109.5M 86.8M 56% /data
~ #
Another user that I have been working with has the exact issues as the user here and me. He contacted HTC. They are replacing his N1. There is something weird going on with some of these units. Just like a few months back, no one knew anything about the bad boot blocks issue causing many developers to change their ROM installs to accommodate those users with this issue. This low space on /data issue is another one that sooner or later will start to show up more and more, IMHO. For instance, at best using either Evils Sense Roms or MicroMods Hybrid sense Roms, I have 23MB free on initial install. This is after basically wiping formatting, resettings factory Data etc etc. At best, lets say using Enoms latest AOSP, I have maybe 75Mb free Internal memory, after initial install and NO applications downloaded installed on my part.
I really wish that folks here and on other threads would start to take this issue a little more seriously than basically saying a user isn't properly wiping his setup prior to an install. I have my beloved N1 since third week of January this year. Never had a problem with rooting, installing any of the original CM, or Paul M stuff from the early days here and on their Kitchen setups. Something has basically changed to cause these issues on a number of Nexus one setups. I have root explorer too and no manner of deleteing, via changing partition permissions from RO to RW makes any difference after wiping, formatting whatever prior to a fresh clean install of any current ROM.
I have approximately the same issue. I can't install anything..
Even after a full wipe of /data and all caches, I installed latest nightly-219-passion and the only possible way to install apps is by manually typing the adb push commands in commandline. It DOES NOT WORK using Market, File Manager, Titaniumbackup, ....
When I nandroid restore I have all my apps back but still CANNOT install any new apps using Market, File Manager, Titaniumbackup, ....
I already tried the fix_permissions script in both Amon_RA and RomManager but without success. I have system:system permissions on /data.
Is there a way to wipe /system aswell prior to an install, or does that happen when you flash a .zip?
Saphroxx said:
I have approximately the same issue. I can't install anything..
Even after a full wipe of /data and all caches, I installed latest nightly-219-passion and the only possible way to install apps is by manually typing the adb push commands in commandline. It DOES NOT WORK using Market, File Manager, Titaniumbackup, ....
When I nandroid restore I have all my apps back but still CANNOT install any new apps using Market, File Manager, Titaniumbackup, ....
I already tried the fix_permissions script in both Amon_RA and RomManager but without success. I have system:system permissions on /data.
Is there a way to wipe /system aswell prior to an install, or does that happen when you flash a .zip?
Click to expand...
Click to collapse
How did you install the nightly. Even with my issues of 109Mb used up on data before I install anything, I have the latest nightly running along with latest Gapps and approx 50 of my own apps, with 79Mb free internal. I used clockwork recovery, then under storage options, you can run format options, on boot, system, data, cache, and SD-EXT and then under advanced, wipe dalvik-cache. I also added the data factory reset option also. I then clean installed the nightly. Then after an initial setup to just have it running, flashed the gapps. I did initially have approx 75Mb free Internal before the Gapps install. Then I went down to 53MB after gapps. I verified I had the correct settings in settings:Cyanogen Mod for the file system. I then flashed the latest Dark Tremor script, ran the commands for a2sd check, a2sd reinstall, a2sd zipalign and a2sd cachesd to move the dalvik-cache to sd. I have an EXT3 setup on my SD card. After moving Dalvik cache I jumped from 28Mb free to 79Mb free where it's pretty much staying now. Not as much as others that don't have the issues on /Data but at least useable.

[Q] Apps on SD missing after rom update, need help

Today I updated to CM7 RC4. On my phone I use S2E to run my apps from a partition on the SD card. After the update most (but not all) apps are missing, including the market and the S2E app itself. The few apps that are left appear to be either system installed apps, or apps I have recently downloaded. I tried rolling back to the backup I did before the update, but I still have the same issue after the backup.
I am guessing there is some issue with the SD partition. Anyone have any suggestions on what to do to fix / troubleshoot? Any help is much appreciated!
Not surprising.
The app, when installed, uses root permissions to install specific scripts in a boot-up sequence, that mount SD-EXT partition and point the relevant directories (/data/app, /data/dalvik-cache, etc) there.
When you updated CM7, it erased the system partition, and that included the scripts above. So now your CM7 doesn't mount the partition anymore.
Not knowing the app, I don't know what will it do if reinstalled again.
The proper way to do it, that always allows you to upgrade (as long as you flash it after each upgrade), would be flashing DT's A2SD.

[Q] Darktremor's app2sd?

Okay so my Droid is running okay, but I would like to have more memory for apps. So I figured, why not just use the app2sd script from DT after partitioning my card in CWM like I did my Ascend. I tried these steps:
1. In the CWM recovery (2.5.0.1 and 3.1.0.2) there is no option ANYWHERE to partition the SD card like in the 2.x.x.x CWM on my Ascend.
2. I partitioned in ROM Manager and chose 512 Partition with 128 MB Swap. The phone reboots and partitions the SD, and I checked in MiniTool Partition Wizard to make sure, there was a ext3 partition and a linux swap.
3. I move all apps to Internal memory, went in to CM Settings and allowed application moving.
4. Flashed DT's beta 4 script in recovery and it wouldnt boot, had to clear dalvik cache.
5. Get back in and found that the apps had moved no where. I check the sd-ext folder in Root Explorer and it said empty folder. a2sdgui does not work, if I change something, it just changes back.
6. Reflashed, tried S2E (simple2ext) and had the same issue, it isnt recognizing the ext partition.
7. Reflashed and tried various other settings with no luck.
What should I do? I really dislike having 15mb of internal memory free. Any help would be loved
Here is the info:
Was using the latest CM7 build but now I tried it on SteelDroid 9... same issue
Got view but no replies? Need some help here....
delete all previous scripts and try link2sd. i have been using it successfully.

[Q] ext4 problems when changing ROM's

So I like to switch ROM's quite frequently, the only problem is that I seem to have to format my sdcard and set up the partitions each time I switch. I feel like nandroid either doesn't restore data to the ext4 properly or messes up the partition when I do a factory reset, since it formats the ext4 partition. Whatever the case, I am unable to move apps to the ext4 after a flash.
Whenever I want to switch to another ROM I have to backup my sdcard to my computer, format the card using diskpart, create the partition again in recovery mode, restore sdcard contents, and then finally flash the ROM I want. This can take forever and makes trying new ROM's out a huge hassle.
If I don't restore a nandroid and flash a ROM from scratch, I'll install s2e, reboot, and navigate to /sd-ext using root explorer and there will be no files.
I mainly use s2e with CM7, but I have tried a2sd with similar results. As far as I know though, they both use the same technique to move apps so it shouldn't matter.
Am I doing something wrong? I use nandroid and everything, but once I do a factory reset it refuses to restore the ext4 backup, and I get an error relating to space limitations.
Thanks a lot.
I've changed ROMs a few times, and everytime I've done so, the ext4 partition has remained fine. Although, it is seriously recommended that you flash the latest darktremor a2sd script as the incorporated ones don't seem to work well.
Flash darktremors, then enter the command line emulator on your phone and type:
su
a2sd reinstall (your phone will reboot)
su
a2sd cachesd (your phone will reboot)
su
a2sd zipalign
This should always be done after a ROM switch.
Alright, I will try that out.
Just wondering, will this restore all the apps I have on the ext4 partition? For example, if I flash MIUI for the first time, then commands the commands you gave me, will all my apps be restored? I assume no since clockworkmod wipes the ext4 partition when doing a factory reset.
The S2E and DarkTremor's a2sd apps actually use different ways of utilizing the ext partition, so the two are incompatible (although, S2E includes a way to convert from DT's to its own).
And as long as you didn't wipe the ext partition (which a Factory Reset does), using those commands should restore your apps.
But with what you are doing, it may be easier to use Titanium Backup to restore your apps back rather than nandroid. This will allow you to keep all your app settings and saved info as well. Just be careful to not back up system data. Restoring those on the same ROM can cause issues, and it would probably cause a lot more if it is between two different ROMs.
Switch your Ext 4 Partition to Ext 3 and you'll notice a lot more stability when switching roms.
Some roms don't have the correct Apps2SD or Kernel installed to support ext 4 but most, if not all, support ext 3.
I recommend using AmonRa Recovery as CWM always corrupts the ext partitions.
Re-partition your SD-Card and start again.
If This Helped please Hit THANKS

Please Help me with A2SD

before i go any further on my phone please help me :
this is what i did :
1- i partioned my sd card be 4ext recovery choosing 512 on 1st and 2048 on second and 128 as swap and finally i chose 3ext
2- then i downloaded darkmetor a2sd ind installed from recovery (during this my rom was normal cyanogen0
3- then i flash medroid 7.2 based on cyanogenmod rom which supports a2sd (before that i wipe cache and dalvik)
4- then when i rebooted twice manually i saw that i still have insufficient storage
so i fully wiped and instal darkometor script again and now i already rebooted twice but when i download internal decreases , i tried typing in terminal emulator su the a2sd reinstall but it failed and it said that a2sd seems not too be booted at startup , i dont know what im doing andwhat to do anymore , please help me and guide me
Your setup is a bit off; try this:
1) I highly recommend you wipe everything (backup apps with Titanium Backup) and start over fresh. If not, you can still probably continue.
2) I would also recommend that you make the EXT partition size bigger, about 1gb. And try not to use swap (set it to 0). It has no positive effect on performance, and some rumor it can harm your SD card over time.
3) Try another script. Scripts like DarkTremor, S2E, and others have issues where the device will say low memory when the partition is only half full. Try this script (flashable in recovery), I HIGHLY recommend it; it mounts the EXT as internal and works really great. Link:
http://forum.xda-developers.com/showthread.php?t=1310309
Hope this helps. Feel free to ask any other questions.
not sure why you installed 4ext recovery then installed DT--4ext has worked quite well for me, Amon_Ra for a very long time before that
you only need 1 sdext for CM7
as mentioned 1gb and 0 swap
if using DT you flash CM7 then flash DT beta4 before rebooting, maybe even gapps between CM7 and DT--see what OP says on what's included
install Titanium Backup then just a couple apps like Term Emu if it is not already installed
then run your scripts thru terminal emulator
a2sd reinstall
a2sd zipalign
a2sd noswap
a2sd cachesd
phone will reboot after reinstall and cachesd or should--
some people reboot once right after first boot before doing anything else
most people are using sd ext4 not 3 atm, as far as I know
ken
As CSP said, you should make 1st ext bigger than the 2nd one. I even don't recommend you to make 2nd ext partition, very rarely rom that require it. Choose 1GB for 1st ext, skip 2nd ext, and skip swap. But if you want to make 2nd ext, try 1GB for 1st ext, 512/256 for 2nd. Remember to back up your sdcard first.
Before flashing the rom, try to wipe all partition except sd card, find it on recovery menu. You should flash the rom first, then flash the a2sd script. From your post, I see you screwed up the order.
To run the script, after rebooting and setting up, if you use the latest DT, type "a2sd reinstall" in terminal. I also usually run "a2sd cachesd" to move dalvik-cache, "a2sd zipalign" for alignment purpose on boot-up.
Add: Arrgg, rugmankc beat me
i did as u said , specialy moenexus but i got permission denied in TE and it didnt work
can you open and use Titanium if not you may need to reinstall Superuser or add TE to your Superuser list--in its' settings
ken
Thanks guys it worked using the script that CSP recommended , thnx to u all

Categories

Resources