Nexus One Rom/Memory Issues - Nexus One Q&A, Help & Troubleshooting

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.

Related

Why would my hero be completely stable on 1.6, but reboot frequently on any 2.1 rom?

I am extremely frustrated at this point so I have decided to make a thread.
My hero has been a good phone and runs 1.5/1.6 roms without any problems, and has for 6+ months. However, as soon as the 2.1 leaks came around, I was eager to try them. NONE of them will work. I have tried 6 or 7 different versions. My phone will shut off very frequently, which essentially makes it unusable.
Has anyone else experienced this and was able to fix it, or otherwise have any advice for me?
Any help would be greatly appreciated.
pixie dust!!!..jk
I have no idea why.. have u wiped everything and flashed?
spiritcrusher33 said:
pixie dust!!!..jk
I have no idea why.. have u wiped everything and flashed?
Click to expand...
Click to collapse
Haha. Yeah man, factory reset + dalvik cache wipe. Would a bad SD card cause something like this?
sounds like you didn't properly wipe... once you wipe EVERYTHING.. (after a nandroid).. you shouldn't have problems installing any ROM whether it be 1.5, 1.6, 2.1, 4.2 (coming to the htc hero6 in 2013)
edit: you mentioned factory reset... are u doing the factory reset thats installed in the settings menu or are you wiping everything from recovery?
Have you tried to go back to 1.5/1.6 to see if the problem occurred? This might help eliminating the hardware issue.
Which ROM did you tried? The latest one that I ran which is stable (no over clocking) is Fresh 2.1.1, look for this thread title "[ROM] 05/14/10 | Fresh Rom 2.1.1 | Official Sprint RUU + The normal fresh rom goodies"
I have always do this when installed the new ROM.
-Back up all your private apps (not system apps) with Android Commander (search the forums) to your PC.
-Use Recovery and wipe the followings:
1. Wipe Factory / Data reset
2. Wipe Dalvik cache
3. Wipe EXT partition
4. Wipe Battery Stat
Trust me this will save you a lot of hassle and time.
- Re-Installed all your Apps from Scratch using Adroid Commander. This always work best for me. I found less problem and less time consuming doing it this way.
Most of my problems occurred when I am too lazy to WIPE and install new ROM on top of the OLD one with out wiping dalvik and ext partition. An this make it more time consuming.
That's my experience. Hope this help.
roadster92 said:
Have you tried to go back to 1.5/1.6 to see if the problem occurred? This might help eliminating the hardware issue.
Which ROM did you tried? The latest one that I ran which is stable (no over clocking) is Fresh 2.1.1, look for this thread title "[ROM] 05/14/10 | Fresh Rom 2.1.1 | Official Sprint RUU + The normal fresh rom goodies"
I have always do this when installed the new ROM.
-Back up all your private apps (not system apps) with Android Commander (search the forums) to your PC.
-Use Recovery and wipe the followings:
1. Wipe Factory / Data reset
2. Wipe Dalvik cache
3. Wipe EXT partition
4. Wipe Battery Stat
Trust me this will save you a lot of hassle and time.
- Re-Installed all your Apps from Scratch using Adroid Commander. This always work best for me. I found less problem and less time consuming doing it this way.
Most of my problems occurred when I am too lazy to WIPE and install new ROM on top of the OLD one with out wiping dalvik and ext partition. An this make it more time consuming.
That's my experience. Hope this help.
Click to expand...
Click to collapse
Couple of questions. Is wiping the ext partition wiping your SD card? Also, how do I wipe the battery stat? I just booted to my recovery mode but I didn't see that as an option. Maybe I need a new flashrec or something?
splayde said:
Couple of questions. Is wiping the ext partition wiping your SD card? Also, how do I wipe the battery stat? I just booted to my recovery mode but I didn't see that as an option. Maybe I need a new flashrec or something?
Click to expand...
Click to collapse
what recovery rom are u running? and no wiping the ext partition is not wiping your SD card... just the partition you created..
dont wipe the battery but wipe the sd ext.
the sd ext only wipes what apps you have installed when you partition your sd card. it doesn't remove music, picutres, etc...
splayde said:
Couple of questions. Is wiping the ext partition wiping your SD card? Also, how do I wipe the battery stat? I just booted to my recovery mode but I didn't see that as an option. Maybe I need a new flashrec or something?
Click to expand...
Click to collapse
The one I am using now is overclock. But the previous one that I used is "recovery-RA-heroc-v1.6.2-blue.img"
You might have the older version. Battery Stat Wipe is just reference for me every time I using a new ROM to see how the battery life is.
As mentioned above, wipe EXT partition will not wipe any pictures or data on the FAT32 of the SD card.
im having a similar issues i cant get my phone to stop restarting. ive wiped everything you can even repartitioned and it sill does it.
are we doing somehting wrong?
i have a thread i started not seeing this one.
http://forum.xda-developers.com/showthread.php?t=684727
check the hardware
As someone suggested, please be sure to rollback to 1.6 to rule out a hardware problem.
I have a battery -- one of four in rotation -- that consistently reboots the phone after it draws down to 80% or so. This is probably the battery that I misplaced and didn't use for a few months. Before I pinned the problem down to this particular battery, I thought 2.1 was haywire, rebooting all the time. Once I pulled the battery out of rotation 2.1 became relatively stable again.

[Q] About Darktremor A2SD

I am using the rom which is Darktremor A2SD compatible. Every time I change another rom then all apps will get force close. I need to reinstall those apps.
Is it normal?
Anyone can help me? Thanks!!
When you change ROMs, it's advised to ALWAYS WIPE EVERYTHING. That includes EXT partition.
If you want your programs to run after moving to another ROM - back them up using Titanium, change ROM, and restore them.
Jack_R1 said:
When you change ROMs, it's advised to ALWAYS WIPE EVERYTHING. That includes EXT partition.
If you want your programs to run after moving to another ROM - back them up using Titanium, change ROM, and restore them.
Click to expand...
Click to collapse
Actually I'm not sure wiping EXT is necessary but certainly data, caches etc.. If problems continue, then wipe EXT too.
EXT should just have the APK's on it, they should just work.
If you're wiping /data, then you're left with APKs on EXT and no data structure for them in /data/data. Might be just the reason for force-closes.
Jack_R1 said:
If you're wiping /data, then you're left with APKs on EXT and no data structure for them in /data/data. Might be just the reason for force-closes.
Click to expand...
Click to collapse
most roms detect and "re-install" the ext apps on first boot. All 200+ for me
Wiping ext would be the very last thing I'd do to solve a problem.
I used to do this. But i learned that it breaks some apps, and the built in rom restore function will restore any apps you got from the market. You need to do a full wipe when going to a new rom. upgrade may not need this, but some devs like king dont know how to make upgrades so all of his new versions require a full wipe.
Thanks you all! Seems that full wipe is necessary

[Q] cant install clean froyoMOD

Hi all, i installed the FroyoMOD 2.6.0 and its all good.
When i install one of the few next versions, i cant do a clean install.
After each installation, i still have all my apps and settings
Even after the three wipes.
Also when i try factory reset, still nothing.
The only thing i get after wipes or factory reset is to sign to my google account.
Any idea what can i do to get a pure clean install for the 2.7.0?
Tx, Shahar.
Sent from my SGT using my hands.
shahar2k9 said:
Hi all, i installed the FroyoMOD 2.6.0 and its all good.
When i install one of the few next versions, i cant do a clean install.
After each installation, i still have all my apps and settings
Even after the three wipes.
Also when i try factory reset, still nothing.
The only thing i get after wipes or factory reset is to sign to my google account.
Any idea what can i do to get a pure clean install for the 2.7.0?
Tx, Shahar.
Sent from my SGT using my hands.
Click to expand...
Click to collapse
Do you have an ext2 partition? Because I have one and I'm wondering if, even after a wipe, all of my apps are still there because of my ext2 partition.
Yeap, ext2.
Tx, Shahar.
Sent from my SGT using my hands.
I'm really wondering if because our apps are moved to the sd-card, if that is what is making all of our apps get reinstalled on the first boot of a new ROM.. It would mean I don't even need to restore from TB, it's doing it already
Try re-flashing the 2.2.1 sbf with vulnerable recovery, then achieving root, then updating to froyo mod. If you need help refer to this thread (only the beginning after you achieve root then apply the custom rom) or if mine is too difficult to comprehend, there is anotehr guide in this forum. : http://forum.xda-developers.com/showthread.php?t=932196 good luck
Using apps2ext means AOR cannot wipe your your app data and dalvik-cache because it looks for these on the phone, not on the EXT partition of your card.
So, before you flash a new ROM, manually delete the /app, /app-private and /dalvik-cache folders in /system/sd (or /sd-ext where applicable) to wipe these files off.
You can use Root Explorer or any similar app to do so.
Or if you use Linux, just mount the EXT partition and delete the files within.

[Q] Wipe issue

I've been learning to edit and make ROMs for couple of months, some of the early works had been uploaded to a Chinese Milestone developers' BBS.
But there is a simple question which still confused me a lot. (- =)
Some senior developers in that Chinese BBS reminded their supporters in their threads to wipe before and AFTER applying the Rom in Open Recovery. But, why should we wipe AFTER applying the Rom? I've viewed some threads here, but none of them require to wipe after applying.
So I wonder if it is really necessary to wipe AFTER applying a new ROM. I'm very appreciate if you guys can answer my question and tell me why. Thx~~~
BTW, Xda is an excellent website. And it's much more professional than the BBS I used to visit. May you have a nice day~
It's a common myth. I'm not sure why it gets repeated over and over again.
One wipe is enough. Dalvik-cache is not populated again until the system is booting for the first time. While you are in recovery, it also doesn't matter if you wipe before or after you apply the update (unless the updater script in some particular update.zip also installs something to /data or /cache partition, which is not very common).
You can read cvpcs's thoughts on this matter here: http://cvpcs.org/blog/2011-06-05/time_to_wipe_data/cache
kabaldan said:
It's a common myth. I'm not sure why it gets repeated over and over again.
One wipe is enough. Dalvik-cache is not populated again until the system is booting for the first time. While you are in recovery, it also doesn't matter if you wipe before or after you apply the update (unless the updater script in some particular update.zip also installs something to /data or /cache partition, which is not very common).
Click to expand...
Click to collapse
Thanks a lot~ (I'm looking for some threads which can explain how "wipe" works. Actually I still got some problem about that, like " Why system app still maintain after wipe? Is it because those system app has a backup in Flash Memory, and it will restore after wipe the EEPROM?")
(This message is only for testing whether it is reply to the original poster or the people who answer it....)
[E]Xtreme said:
Thanks a lot~ (I'm looking for some threads which can explain how "wipe" works. Actually I still got some problem about that, like " Why system app still maintain after wipe? Is it because those system app has a backup in Flash Memory, and it will restore after wipe the EEPROM?")
Click to expand...
Click to collapse
System apps are installed into a different partition (/system), which also holds the OS files. Wiping data and cache only wipes the /data and /cache partitions and leaves /system alone. Otherwise the phone wouldn't work at all.
Dave Lister said:
System apps are installed into a different partition (/system), which also holds the OS files. Wiping data and cache only wipes the /data and /cache partitions and leaves /system alone. Otherwise the phone wouldn't work at all.
Click to expand...
Click to collapse
Got it~ That's very kind of you.

[Q]Apps disappear on reboot (A2SD, ICS 2.2.24, Ext3)

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?

Categories

Resources