[Q] No room to put dalvik back....... - HTC Aria General

Im currently running s2e and i have no room to put dalvik back onto the internal memory. I wondering if i can just go into root explorer and go into /data/dalvik-cache/ and delete everything to clear dalvik? so like right before flashing a rom? I just want to see if this method works. I used to do a titanium back up, and then start deleting apps that were pretty large to make room for dalvik and that's a big pain in the booty. thanks guys.

tommyguns818 said:
Im currently running s2e and i have no room to put dalvik back onto the internal memory. I wondering if i can just go into root explorer and go into /data/dalvik-cache/ and delete everything to clear dalvik? so like right before flashing a rom? I just want to see if this method works. I used to do a titanium back up, and then start deleting apps that were pretty large to make room for dalvik and that's a big pain in the booty. thanks guys.
Click to expand...
Click to collapse
You can make an Ubuntu installation cd (I actually use an Ubuntu USB). You can actually run Ubuntu from a disc, no need to install. From there you can actually mount the ext as USB storage and add/delete things from it.
The Ubuntu website has Ubuntu for download for free and also provides instructions on making a bootable disc.
Sent from my cm7 Aria.

Ill have to check Ubuntu out. Especially if I can do it via USB. I was wondering If i weren't by a computer, is there a way like root explorer or a terminal command? Im usually never by a computer. Just seeing some more options.
sent from cm7 rc4 ladios, 6-7 kernel

tommyguns818 said:
Ill have to check Ubuntu out. Especially if I can do it via USB. I was wondering If i weren't by a computer, is there a way like root explorer or a terminal command? Im usually never by a computer. Just seeing some more options.
sent from cm7 rc4 ladios, 6-7 kernel
Click to expand...
Click to collapse
If you have a root access file manager such as Root Explorer you can delete the dalvik cache easy. In Root Explorer go to:
/sd-ext/dalvik-cache/
just select all and delete it power off the phone/boot into recovery. Im not sure if this will also clear the dalvik in /data/dalvik-cache, so you may want to check that as well. The sd-ext and /data/ are both able to be modified with the phone on. I personally use Root Explorer. Sure it costs, but its the best file manager around. I use to wipe the dalvik off the sd-ext, but never thought to wipe the /data/dalvik-cache. I usually just wipe sd-ext from RE, and then boot into recovery and wipe dalvik that way too just to be on the safe side. But I suppose its easier to just use R.E. to wipe it all

Just relized that my work is very strict on running programs off of CDs and usb. So ubuntu wont work for me. Thanks so much though. anybody else out there have a different way of clearing dalvik on ext3 without a computer or moving back onto internal memory?
sent from cm7 rc4 ladios, 6-7 kernel

tommyguns818 said:
Just relized that my work is very strict on running programs off of CDs and usb. So ubuntu wont work for me. Thanks so much though. anybody else out there have a different way of clearing dalvik on ext3 without a computer or moving back onto internal memory?
sent from cm7 rc4 ladios, 6-7 kernel
Click to expand...
Click to collapse
Read the post above yours
EDIT: You can use EStrongs File Explorer to do the same thing and its Free in the market. You have to go into settings and scroll all the way down to Root Options and select the two check boxes first. Then you will be able to access the sd-ext and /data/

Didn't see that post above. Oopps. I have RE. I will try this out. Thanks again.
sent from cm7 rc4 ladios, 6-7 kernel

Related

Save app settings between builds?

With so many great builds here at XDA, I of course want to try them all. Is there a way so save the settings on all or some of my apps. I have my apps on the SD card so I don't have to reinstall all of them at least. For example, its kind of a pain to set up the app Locale with all my situations every time.
Is there some xml or something for these apps that I could back up?
As it is right now I have a Nandroid of Haykuros 1.5, The Dude's, and JF's and I can load an older ROM, the restore the Nandroid backup and update with a non-wipe update, but its not ideal.
bittermormon said:
With so many great builds here at XDA, I of course want to try them all. Is there a way so save the settings on all or some of my apps. I have my apps on the SD card so I don't have to reinstall all of them at least. For example, its kind of a pain to set up the app Locale with all my situations every time.
Is there some xml or something for these apps that I could back up?
As it is right now I have a Nandroid of Haykuros 1.5, The Dude's, and JF's and I can load an older ROM, the restore the Nandroid backup and update with a non-wipe update, but its not ideal.
Click to expand...
Click to collapse
You can copy all info of the particular app you want to save settings from by copying its folder from /data/data
you can use adb pull or the terminal to cp
then push the /data/data/? to your phone when you reinstall the app...
Did this when I wanted to keep my level in bonsai blast during a wipe...
smeyerhuky said:
You can copy all info of the particular app you want to save settings from by copying its folder from /data/data
you can use adb pull or the terminal to cp
then push the /data/data/? to your phone when you reinstall the app...
Did this when I wanted to keep my level in bonsai blast during a wipe...
Click to expand...
Click to collapse
Would this be necessary if I'm running my apps from the SD? Does wipe remove the ln commands done to link the apps to SD?
cigar3tte said:
Would this be necessary if I'm running my apps from the SD? Does wipe remove the ln commands done to link the apps to SD?
Click to expand...
Click to collapse
I don't know, never done apps2sd, haven't really had a problem on my phone with storage. (I keep backups of the apps/data that I don't use much on my sd and install/push-data when necessary.)
I personally like the innovation but don't like the idea of apps2sd as I use my sdcard to transfer and store work files all the time and don't like what happens when you take the sdcard out/mount it.
however...
I can guestimate the answer....
Did you push the /data/data/ path to your sd also. Because if you did then you still have all that on your sd.
After doing a wipe when you link the folders again for the sd remember to keep the files that have been there already..
smeyerhuky said:
You can copy all info of the particular app you want to save settings from by copying its folder from /data/data
you can use adb pull or the terminal to cp
then push the /data/data/? to your phone when you reinstall the app...
Did this when I wanted to keep my level in bonsai blast during a wipe...
Click to expand...
Click to collapse
Thanks for the tip. I'll give it a shot next time I flash. I assume if I had put all my data on the SD card I wouldn't have this problem, but that seemed to slow stuff down last time.
cigar3tte said:
Would this be necessary if I'm running my apps from the SD? Does wipe remove the ln commands done to link the apps to SD?
Click to expand...
Click to collapse
Yes, a wipe removes the link, but your apps are still on the SD card. Just use the AppstoSD app and it will rebuild the link (or do it manually)
smeyerhuky said:
I don't know, never done apps2sd, haven't really had a problem on my phone with storage. (I keep backups of the apps/data that I don't use much on my sd and install/push-data when necessary.)
I personally like the innovation but don't like the idea of apps2sd as I use my sdcard to transfer and store work files all the time and don't like what happens when you take the sdcard out/mount it.
Click to expand...
Click to collapse
If you partition your card and apps2sd is on the ext2 partition you can mount and unmount your sd card as much as you want to your pc and not affect the apps2sd at all
however...
I can guestimate the answer....
Did you push the /data/data/ path to your sd also. Because if you did then you still have all that on your sd.
After doing a wipe when you link the folders again for the sd remember to keep the files that have been there already..
Click to expand...
Click to collapse
Putting /data/data on the sd slows down your phone, and gives the possibilty of getting the STALENFS error if the phone is syncing and you reboot. if you do that you'd want a class 6 microSD for sure. Thanks for the idea of pushing and pulling the data though, I have never thought about doing that. That would have saved me so many friggin headaches
bat file
Don't know if this will help anyone, but here is a BAT file I wrote that copies files from data/data to a folder on the sd card. You could edit it with the files you want to keep.

Is it safe to move dalvik-cache and data folders to sdcard also?

well i have app-privaate and apps in the sd card.. but when i install apps, internal memory still goes down.. after somesearching i found out that dalvik-cache and data folders also take up space when istalling apps.. will it be ok if i also move these into the sdcard?
You should use the new apps to sd script. Its way better. But if you don't want to then you can move the dalvik cache but donlt move the data. It'll make your system really unstable.
ohh ok thank youu
after i do that, is it safe to flash a theme on
and i heard the new apps to sd didnt work on haykuros 6.0r1
is that true?
How are you currently doing the apps to sd? are you using the symlinks? If so dalvik-cache should be fine. You can try the data as well but you might have to undo it if things start acting up.
yes i used symlinks.. i transfered apps, app-private, and dalvik cache.. im not transfering data.. ill keep it like this.. its running well thanks guys
i have one question tho.. will everything be fine if i flash a theme on it? the aero one for 6.0r1

[GUIDE][07/07/11]How to Partition your SD Card

With the GingerSense ROM’s being the new hotness right now, there is a overwhelming amount of questions about partitioning. This guide is intended to help anyone that may want to partition their SD and not sure where to start. This information was gathered from The Mynions and posted several times in Myn’s Warm2p2 and Project Synergy threads. This guide was created while using Project Synergy RC1, which runs a CM script that has been modified. Come get assimilated!
Please, READ first before attempting if you are a noob, it’ll save you some gray(grey) hair. I am in no way responsible for any issues you have for following this guide, use at your own risk.
WARNING: This will erase EVERYTHING on your SD card so please transfer the contents of your SD card to a computer or external hard drive PRIOR TO starting this procedure.
1. Boot into recovery (hopefully you have amonRA v2.3)
2. Select "Partition SD Card". You will be prompted to set an amount for the SWAP, ext2 and FAT.
3. Enter zero for the SWAP size, 1024 or 2048 for ext2 and the rest for FAT*
4. After the process finishes, select "Upgrade ext2 to ext3"
5. When the process is complete, go to the wipe menu and wipe EVERYTHING in it.
6. From the main menu, select USB-MS (your phone should be connected to your PC) and copy the Synergy ROM(or your ROM of choice) to the root of your SD Card.**
7. Flash Synergy(or your ROM of choice)
8. Be patient at initial bootup because it can be quite long.
9. I recommend that your 3rd party apps be installed freshly from the market initially. They will automatically be place in the ext3 partition. You can verify it by checking to see that they are listed in the /system/sd/ folder which itself contains 3 folders: app, app-private & dalvik-cache.
After you have followed the directions to partition your card, followed by a flash of the rom and installation of your 3rd party apps & games, go to Menu-Settings-SD & phone storage and check your available internal storage space. If it is 300+, it is safe to assume that the built-in a2sd is working. Furthermore you will need a system level file manager to see the /system/sd/ folder. The Astro File Manager cannot see it.
*These sizes are only used for reference, but excellent choices. You may want to consider a swap partition, even though the stock HTC kernel does not support it. Future kernel development may take advantage of swap and doing so now can save the hassle of re-partitioning later. Food for thought.
**This guide was done while using THE Project Synergy ROM, however it should work across the board.
Hope this helps.
Special thanks to dougjamal, lowetax and all the Mynions helping out around the world (We Global!)
F.A.Q.
Q: Do I have to partition my card?
A: No. The main reason people partition is to take advantage of Apps2SD script. This allows for more internal memory and, depending on which version, control over various system settings (Ex.: http://forum.xda-developers.com/showpost.php?p=7021317&postcount=1).
Q: Do I need to format my SD Card after partition?
A: Actually, no. Will it hurt if you do? No. Creating partitions wipes the SD Card, sets up logical drives(partitions) and formats the space(or you couldn’t write to it). The time consuming part of partitioning is the Card formatting.
Q: Can I run the stock/android A2SD after partitioning?
A: No. The Apps2SD script is different from stock. Using the stock A2SD will give you problems.
Q: Can I do a nand restore after I partition?
A: No. Your SD card's file system has changed and you may experience unfavorable results.
Since there is no "thanks" on the mobile app. Nice guide.
EVO4G SALVAGEMOD TIAMAT YES
Do you need to do this every time you flash a rom?
Chris 2155 said:
Do you need to do this every time you flash a rom?
Click to expand...
Click to collapse
No.. it's just like windows partitions.. Once they are setup you don't have to redo them. Just wipe the data and reinstall...
interloper said:
Since there is no "thanks" on the mobile app. Nice guide.
EVO4G SALVAGEMOD TIAMAT YES
Click to expand...
Click to collapse
Thanks, I appreciate it.
Since the stock Kernel doesn't support Swap, after first boot, go to terminal, type Su then enter, then type a2sd check.
It will probably say swap not running at boot. It should say that the partition is present and a bunch of other things.
Next type a2sd swappy10 then enter.
Now type a2sd reswap.
If you get an error, you can run a2sd reinstall which will reboot your phone.
Go back to terminal and type Su and then a2sd reswap.
Should be good to go, but you have to run the reswap after every boot til we get custom kernels.
Swyped From The Hippest Phone Using XDA Premium
Chris 2155 said:
Do you need to do this every time you flash a rom?
Click to expand...
Click to collapse
As answered, no. Remember however, when you do a wipe now, include SDEXT if you don't already.
Also might want to add in there to backup your SD to your computer so you won't lose any important files, music, or backups.
And after using cm or darktremmors a2sd do not use the Android a2sd or you will have problems.
HipKat said:
Since the stock Kernel doesn't support Swap, after first boot, go to terminal, type Su then enter, then type a2sd check.
It will probably say swap not running at boot. It should say that the partition is present and a bunch of other things.
Next type a2sd swappy10 then enter.
Now type a2sd reswap.
If you get an error, you can run a2sd reinstall which will reboot your phone.
Go back to terminal and type Su and then a2sd reswap.
Should be good to go, but you have to run the reswap after every boot til we get custom kernels.
Swyped From The Hippest Phone Using XDA Premium
Click to expand...
Click to collapse
Thanks for the added info HipKat! When we get custom kernels for GingerSense, I'm going to update the OP with swap instructions. I will use your info provided with it.
androidsupra said:
Also might want to add in there to backup your SD to your computer so you won't lose any important files, music, or backups.
And after using cm or darktremmors a2sd do not use the Android a2sd or you will have problems.
Click to expand...
Click to collapse
The warning was already there, i just put it in bold to stick out. I will add the stock A2SD info to the faq.
Thanks.
If I am already running Synergy but have not done this, can I just follow the steps and reboot phone or do I need to reflash the ROM to take advantage of the benefit? And if I need to reflash, can I just wipe cache and dalvik or is a total wipe required.
Thanks for the instructions.
Dredz said:
*These sizes are only used for reference, but excellent choices. You may want to consider a swap partition, even though the stock HTC kernel does not support it. Future kernel development may take advantage of swap and doing so now can save the hassle of re-partitioning later. Food for thought.
Click to expand...
Click to collapse
Damn.. i wish i would have known this last night.. I would have added this part..lol
derrickj said:
If I am already running Synergy but have not done this, can I just follow the steps and reboot phone or do I need to reflash the ROM to take advantage of the benefit? And if I need to reflash, can I just wipe cache and dalvik or is a total wipe required.
Thanks for the instructions.
Click to expand...
Click to collapse
You will have to reflash the rom, this WILL erase your entire SD Card. Total wipe required for best results.
one last question... after doing this.. when installing apps from market or whatever... you don't have to run an apps2sd app??? They just automatically install to the sd card???
yznhmr said:
Damn.. i wish i would have known this last night.. I would have added this part..lol
Click to expand...
Click to collapse
Well I'm running a 2GB part on the OG 8GB card w/no swap. I always wipe everything when I flash a ROM. When we get custom kernels, i will flash the ROM with at the same time. Then I will get SWAP.
Chris 2155 said:
one last question... after doing this.. when installing apps from market or whatever... you don't have to run an apps2sd app??? They just automatically install to the sd card???
Click to expand...
Click to collapse
Yes, as long as the ROM you are flashing supports it.
Dredz said:
When we get custom kernels, i will flash the ROM with at the same time. Then I will get SWAP.
Click to expand...
Click to collapse
Huh??
Dredz said:
Yes, as long as the ROM you are flashing supports it.
Click to expand...
Click to collapse
so what if it doesn't? Do you use the apps2sd app?
yznhmr said:
Huh??
Click to expand...
Click to collapse
My bag. I will flash the ROM and The kernel at the same time. Since this requires a full wipe(by my standards anyway) I will re-partition then and designate a swap size.

Getting Error downloading certain apps from the market

I flashed the CM7 Epicmtd selfkang 12/13 build today and i am noticing that certain apps that i have purchased and free ones as well give me an error "insufficient space on the phone" i am attaching a screenshot of it. I checked the internal storage at its indicating i have 433mb of free space. Can you anyone help? I wiped data / cache and dalvik 3x prior of flashing this build. The ROM I was using before was cm7 Epic selfkang 11/24 build (BML).
Your phone has very limited space for app storage. You need to either delete unused apps or move whichever apps that will go to the sd card.
Sent from my SPH-D700 using XDA App
I had the same problem all u got to do is wipe ur cache & dalvik. I looked in the cm7 thread but it took awhile go thru and read all the posts but it was worth it.
Sent from my SPH-D700 using XDA App
migmartinez said:
I had the same problem all u got to do is wipe ur cache & dalvik. I looked in the cm7 thread but it took awhile go thru and read all the posts but it was worth it.
Sent from my SPH-D700 using XDA App
Click to expand...
Click to collapse
Thanks for the response, but i wiped dalvik and cache and still a no go. Its only on certain apps not all which is mind boggling. Any other suggestions???
kennyglass123 said:
Your phone has very limited space for app storage. You need to either delete unused apps or move whichever apps that will go to the sd card.
Sent from my SPH-D700 using XDA App
Click to expand...
Click to collapse
Thanks for the advice but do i still move the apps to my SD even though the phone has a lot of free space in the internal storage??
alfalvarez81 said:
Thanks for the advice but do i still move the apps to my SD even though the phone has a lot of free space in the internal storage??
Click to expand...
Click to collapse
No. I know what your problem is now. You have pieces of those apps still on your phone causing that error. It happened to me with the ebay app and youtube. You need to use root explorer to search your phone storage for any filename with the name of the app. For example youtube. You may find files like com.android.youtube. or simiiliar. You will need to delete those remnants and then you should be good.
Sent from my SPH-D700 using XDA App
Thanks for info, but still a no go. I deleted all the files associated with the app using root explorer till the built in search didn't turn up any results. I read a post from another user with this ROM having trouble installing apps larger than the size of the cache partition, so I'm guessing that could be it. Just unsure....
Sent from my Epic MTD CM7
Yeah bro... the cache partition is where Market tries to put the download and if you are on current CM7 MTD your cache is 25MB total. That's a no go for some apps on the market. You can see your cache size and free space by running df -h in term emulator.
You can:
1. Restore app with Ti if you had it installed before and backed up in Ti
2. Wait for next version of CM7 MTD and hope cache partition is bigger (would require a fresh CM7 install as it will redo partitions (eg fdisk'ing will wipe them clean))
3. Go back to non MTD ROM and get app installed and backed up with Ti so you can restore it once you go back onto CM7 MTD
Sent via Decadent Epic 4G CM7
codest3r said:
Yeah bro... the cache partition is where Market tries to put the download and if you are on current CM7 MTD your cache is 25MB total. That's a no go for some apps on the market. You can see your cache size and free space by running df -h in term emulator.
You can:
1. Restore app with Ti if you had it installed before and backed up in Ti
2. Wait for next version of CM7 MTD and hope cache partition is bigger (would require a fresh CM7 install as it will redo partitions (eg fdisk'ing will wipe them clean))
3. Go back to non MTD ROM and get app installed and backed up with Ti so you can restore it once you go back onto CM7 MTD
Sent via Decadent Epic 4G CM7
Click to expand...
Click to collapse
Thanks for the confirmation, I will do the steps you provided for the apps I really can't live without haha. Hope the next build has more space than 25mb in the cache.
Sent from my Epic MTD CM7
I'm sure it'll be adjusted, seems like I've heard the 25MB Cache partition was more proof of concept. But I'm not one of the devs so take it with a grain of salt
I found another work around. If you could get a hold of the apk, then it'll install.
I used my wife's phone to download Frontline Commando, pulled it with Total Commander (or your favorite file explorer) and copied it over. It installed fine.
The file was 27.## MB.
Sneezy is right, that will work if you have a spare device.
Or try this: http://forum.xda-developers.com/showthread.php?p=20388693
[ROM] Epicmtd CM7 SELFKANG - 2.3.7 [NOW WITH MORE E911]
Market Fix link!?
Sent via Decadent Epic 4G CM7

How to install roms?

I've rooted, installed a custom recovery.. but I cant seem to mount my storage to transfer rom files to my N7. Is there another manner of installing a rom?
Phen0m said:
I've rooted, installed a custom recovery.. but I cant seem to mount my storage to transfer rom files to my N7. Is there another manner of installing a rom?
Click to expand...
Click to collapse
Download them directly to your tablet. I haven't done PC transfer for ROM files since my first ROM or two on my skyrocket. Its an unnecessary burden. I flashed aokp today on my nexus 7. The downloaded files show up in your downloads folder. You could make a specific folder if you wish
-------------------------------------------------
Sent from my Skyrocket i727 running Slim Bean
-----------Nexus 7 running AOKP M1-----------
Phen0m said:
I've rooted, installed a custom recovery.. but I cant seem to mount my storage to transfer rom files to my N7. Is there another manner of installing a rom?
Click to expand...
Click to collapse
Have never transfered files through a usb cable since I found out about apps like Wifi explorer Pro or Airdroid.
Personally I use Wifi explorer pro to transfer files from and to my PC wirelessly
You can use adb push and adb pull commands too
Ive done that, but im trying to install Paranoid Android. He requests that we do a factory restore.. which wipes everything as I understand it. So wont the downloads folder be wiped as well?
Phen0m said:
Ive done that, but im trying to install Paranoid Android. He requests that we do a factory restore.. which wipes everything as I understand it. So wont the downloads folder be wiped as well?
Click to expand...
Click to collapse
Wiping data, system, cache and dalvik cache would suffice to install any rom.
All these procedures do NOT wipe ur sd card
EDIT: To be more precise if you are using TWRP just do a factory reset from the wipe options there and then wipe system, cache and dalvik cache.
Then install the ROM.
You will be fine
^^ I feel like an idiot lol. So excited to play with the thing, checkedout on common sense. Thanks guys!
Phen0m said:
^^ I feel like an idiot lol. So excited to play with the thing, checkedout on common sense. Thanks guys!
Click to expand...
Click to collapse
No problem mate.
Hope everything goes well

Categories

Resources