Apps2sd problem - Hero, G2 Touch Android Development

I have had the latest MoDaCo rom running on my T-Mobile G2 touch a day after I recieved it and have to say that it out performs the stock rom by far. I have noticed a problem in the last 2 days or so which prompted me to do a clean install today but unfortunately did not resolve the problem.
I originally installed the MoDaCo rom using the guide over at the unlockr which was very simple and effective. I also decided that I would try and use apps2sd to help remove installed packages off my phone and store them on my 8GB SD. I had partitioned my sd card as the guide here suggests, I followed the code correctly by basically using copy and paste function in cmd so as to not make any mistakes and made note to update the ext2 to ext3 only as I read that the ext4 has issues with this particular rom.
I presumed everything was fine until today I noticed that when I install an app from the market store it seems to still be storing all the applications on the phone memory, I noticed the phone memory was reducing on every installation wheras the sdcard memory is untouched. Another thing I noticed is that in the sd card setting the sd card total space is being read as 7078MB wheras the partition was for a size of 7437MB. I have also accessed the data/apps folder on my phone through adb shell commands and low and behold all my apps are stored on there. There is also no folder on the sd card so there must be a problem.
I would be greatful if anyone could guide me as to any known issues with apps2sd on this particular rom or whether they can see where I might have done something incorrectly.
Many Thanks

With Aps2SD as I understand it, some parts of the programmes are still stored on the devices - system files etc. so The phone memory will change gradually.
Also, the browser and market caches still grow on the device, and need deleting via Application manager to keep the device memory as free as possible. (With Browser, clear cache, but not data as this clears your cookies and bookmarks )
Also, the apps from aps 2 SD are of course stored on the Ext3 partition. It doesn't get read at all as the SD Card in the device, as the device only sees FAT32 as SDCard space, so new apps loaded don't make a dint in the SD Memory seen on the device, or even in your PC, as this does the same thing, it doesn't see the Ext3 partition.
In My case, prior to installing MCR rom, I had around 50 apps on my device and my phone memory was reading around 70MB
After a wipe and installing MCR2.0 before loading any APPS - I was at around 155MB
After reinstalling ALL my 50 apps plus a fair few more - so around 60 apps(including some bulky apps like CoPilot - which I know stores around 8mb of its total of 15mb on the device itself to run smoothly and Docs To Go) I'm at around 120MB
So my advice is - Check your Browser and market caches. If your device has 50 or 60 apps on taking up around 30mb, then the bulk of those apps are being stored on your Ext 3 partition and its likely all running as it should.
If you have 50 or 60 apps and they are taking up closer to 80/90mb of your device storage, then aps2 SD might not have worked. - check on the thread for ROM that you have installed for advice on how to solve it.
Hope that helps
Dayz xx

Related

[Q] still cant transfer apps to sd on froyo 2.2 htc desire

hi to everyone.
plz plz if any body can help me m going to become mad installing and uninstalling apps on htc desire due to low memory msg.
what i have done yet.
1.i while putin rooted official htc rom with busybox, did partition of the sd card and updated the partition to ext 2then to ext3 during the process(dont exactly remember the process name) .
2.then had app 2 sd application from market, i moved applications to sdcard but the phone memory still went down.
3.then i changed the setinstalllocation on phone through adb shell to sdcard for full apps installation to sdcard but still the phone memory goes down.
4. i also used the default apps tranfer to sdcard in froyo 2.2 but no change of low memory msg
i have literally uninstalled every new app, one or two has remained and to avoid low phone memory msg i have just kept at 15mb free.
what i do???? i am becoming mad plz help me anyone.
millions of thanks for anyhelp.
should i use rom manager for partitioning the memory card again or gparted live cd.
I don't know if someone bothered to tell you but the apps don't move completely on the sdcard. For example I use the froyo apps2sd because my card went dead 10+ times when partitioned. The google earth app is 22MB and when I "move" it to sdcard it gets to the astonishing 16MB on the main memory.
If you wish, partition the card with rom manager, do a full wipe, then try to insall the apps again and see how it goes. I hope you will be lucky
thanks for the reply freakzone,
actually whatever way i have used, the application does show that the file has moved to sdcard, the app memory itself also changes but overall the phone memory is the same with no change.and low memory msg on top.
you mean partitioning sdcard is risky should i give it a try???
It might work for you, try it, but make sure you make a backup, mine died many times
thanks alot dear, will do it when the emergency in ward gets over..

[Q] free internal memory

Hello
is there a way to free space on the internal memory ?
i have something like 17 mb left which is not enough in my opinion
i havent rooted or anything, latest official rom from htc is installed and all apps that support installing on sd card are on it.
Delete apps
No other way other than to go custom and use a ROM with A2SD+
TulpiX said:
Hello
is there a way to free space on the internal memory ?
i have something like 17 mb left which is not enough in my opinion
i havent rooted or anything, latest official rom from htc is installed and all apps that support installing on sd card are on it.
Click to expand...
Click to collapse
))) Try moving what you can to sd. Or root and move everything.
hmmm ok.
thx, hoped there would be some other method, the lack of internal memory sucks
I suggest you install DiskUsage from the Market. The app shows you the .apk's on the internal storage and the size of the data connected. Click on a data position (preferably "Cache") and then Menu > Show and you are in the Settings > Applications > Manage Apps section of the phone at the respective app. You then can delete the cache data. (I would suggest that you don't touch the system apps, but your downloaded apps only.) Some apps really gather lots of data by the time, which you can easily delete, like EStrongs File Explorer.
You can also deinstall your email accounts and re-install them. This will also free a lot of internal storage. And, of course, you can go into the settings menu of the internet browser and delete all cache there.
Furthermore, under Froyo, you can use the ADB setInstallLocation (search for it in the General Topics section) command in order to shift really most apps to the SD card.
I hope this helps.
thanks
sad thing is i have done most of those things so it seems i have to possibilities, either being stuck with low storage or root and move apps to sd card.
hey
thanks again for your help.
rooted my phone and went the setinstalllocations way.
now got 28 mb free on internal which is far less than i expected. but at least i can now install all apps on sd.
strange thing: moved a 26 mb big app to sd but it doas not seem to free 26 mb of storage.
htc should make slimmer roms
Backup all your apps, reset the phone and reinstall all over. It will probably take you 30 mins and will free up way more memory. I usually do it once a month if I install/uninstall a lot of apps. There is a stupid memoryleak somewhere...at least on my phone there is.

[Q] InsertCoin rom - problems with displaying icons

Hi all,
Got a HTC Desire running InsertCoin 1.1.1 (CM7 boot) and everything seems to be running smoothly (been on it for ~1wk, upgraded from IC 1.0.8)
To save space on the phone's internal memory, I've moved several apps to SD Card (only the ones that let you move). However I found two problems each time I reboot the phone:
Apps on SD card, lose their icons and no longer appear in the lockscreen
Apps on SD card, which are put into folders lose their icons
To fix #1 I had to re-configure the lockscreen
To fix #2 I had to re-create the folder
Note:
All apps work as normal
Only apps on SD card are affected.
Apps on SD card which are placed directly on screens don't lose their icons
Was wondering if anyone else is having a similar problem, and/or know how to fix this problem.
Thanks!
pyko
ps. also had this same problem with v1.0.8
The apps you install are basically moved to the EXT part of your SD card already as it implements A2SD+ from the start. Moving apps to the SD (the only ones that let you to) simply transfers it to the fat32 of your SD card and defeats the reason for having 1GB EXT partition requirement for Insercoin ROM. Also, it may be the reason for with your icons and lockscreen breaking.
If you concerned about memory issues, it is because Dalvik cache is still saved on the internal and that is the one eating up your memory. You can either move the entire dalvik cache to EXT or selectively choosing which app's dalvik cache goes to the EXT.
Check this link as this was the script made based on Insercoin's selective data to ext transfer. http://forum.xda-developers.com/showthread.php?t=1072895
Original tip here: http://docs.insertcoin-roms.org/master/en-US/misc/free-space-without-data2ext.html
Thanks for the reply!
Just to clarify, to make sure I am understanding correctly... since there is A2SD+ with my CM7 InsertCoin Rom it is actually not a good idea to move apps to SD Card? ie. I should leave them "on phone" (since it is actually on the EXT?)
Yeah leave it on the phone since it will go to the the ext part of the sd anyway. Moving it to SD the normal Android way would just move it to the fat32 side which would be redundant don't you think.
Sent from HTC Desire via XDA App

insufficient Internal storage

Hello..
I have htc desire 816 with 8gb of internal storage ....when i bought it,it had about 4gb free of that storage.....which is quite normal.
After buying it, I updated to lollipop 5.1 then i got it rooted......
Lately i've noticed the insufficient internal sotrage,so I've uninsalled ALL the apps and games from internal and external memory,however,that only freed up about 2 gb of the intrrnal storage ....so what is taking all that space despite there is No apps ....I know that the system files are taking some space....but those files only took 4gb when i bought the phone
Now i don't have any apps ,However, there is only free 1.8gb
I tried using clean master,but it only cleaned about 300mb of junks and cache
This is strictly a personal opinion but you should lose Clean Master and anything else made by Cheetah Mobile.
As for your storage issues... You state you've rooted. Have you done a backup? If so, are you sure your recovery is saving backups to the external storage?
Sent from my YOGA Tablet 2-830F using Tapatalk
Ibrahim elhossiny said:
Hello..
I have htc desire 816 with 8gb of internal storage ....when i bought it,it had about 4gb free of that storage.....which is quite normal.
After buying it, I updated to lollipop 5.1 then i got it rooted......
Lately i've noticed the insufficient internal sotrage,so I've uninsalled ALL the apps and games from internal and external memory,however,that only freed up about 2 gb of the intrrnal storage ....so what is taking all that space despite there is No apps ....I know that the system files are taking some space....but those files only took 4gb when i bought the phone
Now i don't have any apps ,However, there is only free 1.8gb
I tried using clean master,but it only cleaned about 300mb of junks and cache
Click to expand...
Click to collapse
Had the same issue. The firmware is in it's own partition with room for updates but some of those files fill up your internal storage as well, they did for me when I updated so the solutions are either use a root file explorer or Titanium Backup app to move some user apps to system apps , use the forum here in XDA for altering your SElinux permissions and enable write permissions to your system partition(WP.MOD_KO) so that you can use Link2SD app to move your user apps to your external SD card or pay to obtain full S off using the Sunshine app and have those permissions plus more enabled at the system level so that you can also use Link2SD app to move user apps to the external SD card.
The last 2 methods are the most used and also require you to reformat your external SD card into 2 partitions using EaseUS PARTITION MANAGER on a P.C. Instructions for doing this are easy and available on Youtube and Google if you want to read them instead. These are really the only ways to help your storage issue other than just not using very many apps. I chose the full S off method and Link2SD but the other works it just alters your SElinux permissions and has to be removed to do stock updates whereas S off doesn't affect stock updates. Only system file changes do like the mod I described.
I also echo the previous posters thoughts on Cleanmaster and most all "task killing" apps. Android has built in RAM management that does a good job on its own of managing memory and there is the on screen square button on the right that shows you open apps and tabs and allows you to quickly close them all out. You'd be better off regulating Wavelocks using Amplify app and Greenify to freeze apps from staying on . Root required and there are paid version but the basics are free in both apps.
I had a brain f**t and misread that you've uninstalled "all" of your apps so the previous poster might be onto something if you've done any TWRP nandroid backups to internal instead of micro storage. They can take up to 2 to 4 gbs just on their own even with compression enabled. If you haven't and even if you have my previous info and advice is still accurate for improved storage space.
On my phone, the .thumbnails folder in DCIM takes 1 GB...
TobiBot said:
On my phone, the .thumbnails folder in DCIM takes 1 GB...
Click to expand...
Click to collapse
Yeah mine says 550 mb total in thumb data but it is not pictures from my camera like the other few kbs are. Can't open it so I wonder if it's some sort of cache for something else. Don't know all the ins and outs of the Android file structure but I do know that when I started flashing custom roms,CM in particular, my internal storage went up due to the lack of bloatware coming from my stock Rom. Good to know this though. Not going to delete it though for now till I find out what it is.
Some Facts About Thumbnails
thoctor said:
Yeah mine says 550 mb total in thumb data but it is not pictures from my camera like the other few kbs are. Can't open it so I wonder if it's some sort of cache for something else. Don't know all the ins and outs of the Android file structure but I do know that when I started flashing custom roms,CM in particular, my internal storage went up due to the lack of bloatware coming from my stock Rom. Good to know this though. Not going to delete it though for now till I find out what it is.
Click to expand...
Click to collapse
Some Apps, like WhatsApp save pics in .thumbnails to work smooth, i think.
You can delete them, but they will create themselves at the next boot again, i also tried to write an init.d script which deletes them at boot, but it doesnt work.
Also if you create a file ".thumbnails" which isnt writable, the system doesnt give you the space
Ive read something about creating this file before first boot after flashing so it works, but i havent tried it...
Damn thumbnails
Sorry if my english is horrible ^^
TobiBot said:
Some Apps, like WhatsApp save pics in .thumbnails to work smooth, i think.
You can delete them, but they will create themselves at the next boot again, i also tried to write an init.d script which deletes them at boot, but it doesnt work.
Also if you create a file ".thumbnails" which isnt writable, the system doesnt give you the space
Ive read something about creating this file before first boot after flashing so it works, but i havent tried it...
Damn thumbnails
Sorry if my english is horrible ^^
Click to expand...
Click to collapse
Your English is perfectly fine. Better even than some to whom English is their "first" language. Thanks for that breakdown and I bet that's what it is. I forgot about the apps storing their stock images in your phone. I used to love using the app called Pocket until I found that it stores all the saved links and images directly on your phone. I saved almost a full gb by deleting it finally. Great app other than that and if I had a device with more storage I'd still have it on my phone instead of just my computer. This is all why it pays to be curious about your own phone storage and learn how to navigate a good root file explorer.

[Method] Merging SD Card with Internal Storage

This post documents a method of enabling Adoptable Storage with adb commands on sony phones where previously similar solutions seem hard to find. Please link similar methods if they exist somewhere else, I am curious to read.
Personal success on SO-02K (NTT DoCoMo XZ1c ) fw version 47.2.B.5.38 Android Pie, 128G A2 card.
The method results in a fraction of the microSD Card being recognised by the system to be able to transfer apps to, and another fraction where the sd card remains external storage.
The Stock Camera will only be able to save to the mentioned external storage partition after this process, and it will fail to save to internal storage.
Some apps may not work when transferred to the sd card and have to stay in onboard storage.
Premise
I carried out the process with a freshly flashed phone, with a minimal amount of apps present in the system. I cannot guarantee same success with an almost-full phone, although in principle it should be the same. If anyone has success on a more full system please let me and others know.
ADB Debugging should be turned on in developer options and authorization of PC given in advance; root or bl unlock not necessary.
SD Card will be WIPED in the process. For your data's safety do backup everything on your phone, both internal memory and external memory before proceeding! Don't yell at me if in the end it'll have to be restored.
Process
adb shell
sm list-disks this should return two integers such as 179,0
sm partition disk:179,0 mixed xx where the 179,0 should be your result in step 2 and xx be the amount of space reserved for /sdcard ; wait until command finishes. For the mixed xx see Miscellaneous#2 for explanation. Please also reply if you know the command to revert the changes made in this step, because I'd expect it be useful in the future and I don't know what it is.
Turn on force allow apps on external in bottom of developer settings if haven't done so.
Open camera app, click on OK until warnings go away, then set save directory in SD Card. Test if it saves successfully, if not, see Miscellaneous#1.
Reboot, then try moving some apps to your sd card! Some core function apps are not movable; that is to be expected.
Miscellaneous
If your camera won't allow you to open up settings (keeps saying cannot save), then you have run into a problem I have never seen before. If you can go into camera settings but the SD Card option is greyed out, that means either you have not reserved enough space in mixed xx or the command may have gone wrong. Or the card may not be in perfect condition for Adoptable Storage. You can unplug the sd card to see if the camera works fine after that, but I haven't tried that. If anyone knows the corresponding command to revert the changes made in Process#3, please let everyone know!
The mixed xx part allows a part of the sd card to remain.... an sd card. xx% of the space in your card will be recognised as external(portable) storage by your phone, and is readable by a PC. This portion will be the place where your future photos and videos are saved in, as the camera will fail saving to internal space. Thus you may want to use the fastest card you have and set xx based on your use patterns. The other part, the (100-xx) % of space is recognised by the phone as internal storage that it can put apps in, although some apps (especially some games) will still save assets in the phone's on board storage no matter where you move the main app.
This post is re-written from original post(chinese)
Thanks for sharing this but in my experience it does not work. I followed the guide and It looks like it worked, however now I don't understand how to move the apps away from the internal memory to exploit the new storage space provided by the SD "internal" memory... each time I try to move an app I get a "not enough memory" error message although there are about 64Gb free, no matter what app I try moving. I also noticed that deleting an app from the phone and then re-installing the app in the phone will finally install it in the SD but several apps I tried didn't work any more once re-installed in the SD storage.
indago said:
Thanks for sharing this but in my experience it does not work. I followed the guide and It looks like it worked, however now I don't understand how to move the apps away from the internal memory to exploit the new storage space provided by the SD "internal" memory... each time I try to move an app I get a "not enough memory" error message although there are about 64Gb free, no matter what app I try moving. I also noticed that deleting an app from the phone and then re-installing the app in the phone will finally install it in the SD but several apps I tried didn't work any more once re-installed in the SD storage.
Click to expand...
Click to collapse
Hi and Merry Christmas!
I do get system warnings saying the phone is full while it isn't; it seems that Android freaks out a little trying to gather disk usage info when the SD card is merged with internal space. However I can move most non-system-apps.
Did you move the app with the (Press&Hold App Icon)->App Info ->Storage->Change function? I found I didn't include this part in the original writing and might have been a source of confusion. Assuming it was done in App Info, could you tell me what apps don't work, and perhaps I can try on my phone. I also wonder how much storage did you allocate to each of the two partitions on the SD card.
Another potential source of error is the card itself, in some cases, the card may have bad blocks that Android doesn't correct for and cause read problems, as my SD card now begins to show. Sometimes I wake up to see my home screen devoid of apps, and I have to reinsert and restart the phone multiple times before the SD card gets recognized by the phone again.
Did you move the app with the (Press&Hold App Icon)->App Info ->Storage->Change function?
Click to expand...
Click to collapse
yes.
Assuming it was done in App Info, could you tell me what apps don't work
Click to expand...
Click to collapse
all. I was not able to move any app.
I also wonder how much storage did you allocate to each of the two partitions on the SD card
Click to expand...
Click to collapse
50% of 128Gb, that is 64Gb each.
Another potential source of error is the card itself
Click to expand...
Click to collapse
it doesn't seem the card, since the remaining 64Gb left for external storage, that is where the camera app is saving photos and videos and some other apps save data, still works fine.
Here it is the screenshot of how Android now sees the storage configuration (android settings > storage) after I performed the procedure described above for configuring adoptable storage (writings are in Italian but I think it should be easy to understand).
indago said:
Here it is the screenshot of how Android now sees the storage configuration (android settings > storage) after I performed the procedure described above for configuring adoptable storage (writings are in Italian but I think it should be easy to understand).
Click to expand...
Click to collapse
mine looks the same. I don't know what to suggest. I'll look around on other forums to see if people have the same problem.
This post is re-written from original post in Chinese which in turn is adapted from a lost post on gfan.com.
It also turns out that googling sm partition would give a lot of information most dated back to android 6.
I've been looking around as well, but was able to find only people reporting failures in enabling odoptable storage on Sony devices. However, one difference between your phone and mine is fw version: mine has 47.2.A.11.228 (no brand) - don't know if this can make any real difference.
By the way, I'm wondering whether it could be possibile to install a rarely-used app in the internal memory, then "park" the app in the SD card's external memory by moving its files, then eventually move it back to internal memory only in the case you need opening that app. If it works, it could be a trick for keeping all the apps you want "freezed" in the phone, by taking the usually unused apps in the external memory, then moving one of them in the internal memory only in the rare circumstance you need using it. Then moving it back to the external memory if you think you won't use it any more for a long period. Obviously one could simply uninstall and reinstall those rarely-used apps on occurrence, but that would take more time, consume data traffic and lose the app existing data, so I think that >IF< this kind of trick could be feasible, I'd go for it.
indago said:
I've been looking around as well, but was able to find only people reporting failures in enabling odoptable storage on Sony devices. However, one difference between your phone and mine is fw version: mine has 47.2.A.11.228 (no brand) - don't know if this can make any real difference.
By the way, I'm wondering whether it could be possibile to install a rarely-used app in the internal memory, then "park" the app in the SD card's external memory by moving its files, then eventually move it back to internal memory only in the case you need opening that app. If it works, it could be a trick for keeping all the apps you want "freezed" in the phone, by taking the usually unused apps in the external memory, then moving one of them in the internal memory only in the rare circumstance you need using it. Then moving it back to the external memory if you think you won't use it any more for a long period. Obviously one could simply uninstall and reinstall those rarely-used apps on occurrence, but that would take more time, consume data traffic and lose the app existing data, so I think that >IF< this kind of trick could be feasible, I'd go for it.
Click to expand...
Click to collapse
Striking news in the new year-- my sd doesn't work now. Yesterday I checked everything worked, but now no apps installed on my sd card open. using sm list-volumes shows both internal and portable partitions on the SD are mounted, but the apps still refuse to open.
The card looks like it's corrupted, now the two partitions can't even be recognized with my card reader, I guess I'm screwed.
at my asus max m2 .... working, camera, i can move app to sd card and they still works
butttt the only thing is at settings/storage/ information; it shows numbers that dont are correct and a option "to forget sd card " ?!?!?
well i don't know.....

Categories

Resources