[Q] [i9001] CM7 Question for YardE - Android Q&A, Help & Troubleshooting

@YardE
First off, many thanks for your efforts on porting CM7 to our lovelly device. Great work, I hope it will reach the stage when we can flash it for 24/7 use.
I was wondering about the internal/external storages, and some common problems there are there.. Since I cannot post in your thread (not yet to 10 posts), I decided to post it here, so someone would notice and bring it to your attention..
Have a look at forum.cyanogenmod.com/topic/28396-internal-storage-wasted-merge-with-sd-card/ - although it's another device, the described problem is the same a i9001 user can face..
Most apps do not "see" the external SD, because it's under /sdcard/external_sd/, and they install in /sdcard/.. However in our phone, that's the internal storage which can fill pretty easilly, especially if you load a ton of apps with downloadable data, such as navigators.. This kinda nullifies the benefits of a 32GB card, because you can only use it for music/videos/torrents/etc, and not install stuff on it..
So, is it possible (through cyanogen) to merge the external and internal sd cards? (prefferably without a raid system, as I assume that would lead to corruptions if the phone boots without it's external sd? dunno, you know better)
or at least merge the phone storage with the internal storage (internal sd), and mount the external one solelly on /sdcard/?
I'm still pretty green, as I have gotten my phone for around a month.. And it's pretty much my first android.. However I'd like to have an option besides hacking *.apks to change their downloaded data dir.. Moving apps to SD only moves them into the internal card.. So pretty much I feel my external is useless..
Many thanks again for your time and dedication

Related

[Q] Moving apps on Gingerbread Hero

I installed the magnificent Cronos 0.0.9 ROM (Android 2.3 Gingerbread) in my HTC Hero, following dkelley's instructions on the Developer forum for that device. It works brilliantly, speed is superb, and it looks like battery life is going to be better than the Cyanogen 6.1 it replaced.
Everything works for me : Camera, compass, GPS (sort of), auto brightness.
But there is one unusual problem. I cannot find any other forum threads that refer to this. When I use menu->Settings->Applications->Manage Applications, I can move apps to or from the SD card. Except it doesn't work most of the time. I get this message: "Failed to move application. There is not enough storage left"
I have 24MB free on the phone and 2.4GB free on the SD card. So it should not have a problem when I try to move anything (all but 2 of my apps are under 7MB). I have seen a case of being successful with an app of 730K moving to SD. But when I remove that, and try again with a 410K app, it fails. 90% of apps I have tried have failed.
I was very successful with this in my previous ROM, so I know it's not read errors on the SD.
I did forget to delete the old apps dot directory on the SD card before the upgrade. I don't know if that can cause a problem.
As I am too shiny and new, I can't post on the developer forum. A good rule, if it keeps the noise level slightly lower.
So I thought I would post here & see if anyone knows of general fixes for app 2 SD problems of this kind. Maybe it's just that the ROM is too Beta & it's to be expected. That's what happens out at the ragged edge
If u don't have an ext partition on your sdcard then I'm afraid it won't work on Cronos GB 0.0.9 Beta because the apps moved to External are moved on the fat partition and they Force Close all the time anyway on this rom. Now ... app2sd works verry weird on this rom. If u have an ext partition on your sdcard and if u want your apps to be on that partition (and they wont FC on you) all you need to do is let them on Internal (move to phone) and not External (move to sdcard). The apps are installed/moved to the ext partition instead and not on the phone's actual memory (again... as I said weird but it works). If u want to be able to move the apps to sdcard .. I recomend you back-up your files from sdcard to your pc, go to recovery and make an ext partition and wipe it(just in case) and boot your phone and try installing your apps.I'm installing my apps automaticaly to the ext partition by choosing the Install Location to Internal from CM Extra->Application settings. Sorry I wrote alot and if I haven't made myself clear but I'm still at work (3rd shift) and I am tired.
Example: I have a 2gb sdcard... On it I have the ext partition of 240MB, the rest is the fat partition.If I leave my apps on Internal(move to phone), my Phone's Memory is 140/173MB and my ext partition 47.5/240MB .. If I move them to External(move to sd card), My Phone's Memory is 140/173 and my ext partition is about 230/240 MB because the apps are moved to the fat partition (with your errors) and they Force Close when launched on this rom.
You're right, I can see that in the release notes. I am surprised, it's a long time since I have used a ROM that supported ext partitions. Most of them seem to use the Google apps2SD method now.
Cyanogen has even stated that it is no longer officially supported by them.
So I guess it's just individual developers who still prefer the ext approach that still use it.
It's not too hard to do...
Thanks for the tip
You're welcome! Remember that your sdcard content will be deleted when you will partition your sdcard so make a backup if you need them. I find ext is better than normal because you can use the apps from your sdcard while you phone is connected to the computer (your PC mounts the fat partition and leaves the ext partition to be used as normal on the phone and I find that a good thing)

Adjusting Storage Allocation (SD/USB/Apps)

I have 25Gb of available space but less than 2Gb for apps? I'd like to use all internal storage for apps and the external card for media. Any idea how I set that up?
I have a Galaxy S2 Epic (SPH-D710) stock ROM, rooted with the zermax kernel and fited with a Sandisk 16Gb class 4 micro sd card.
Problem discovered while installing Navfree. Got the error message "not enough space". So I can't install and move.
Settings>Applications>Maganage applications>All shows
112Mb used of 1.9Gb available.
Settings>Storage>USB storage shows
Total space is 11.5Gb and Available space 11.5Gb
Settings>Storage>SD card shows
Total space 14.83Gb (aka 16Gb!) and Available space 14.81Gb.
syco123 said:
Settings>Storage>SD card shows
Total space 14.83Gb (aka 16Gb!) and Available space 14.81Gb.
Click to expand...
Click to collapse
That's perfectly normal dude.. The system uses a chunk of the built-in 16GB for the ROM's use (/system, /data, /cache plus a few other partitions), and the rest is assigned to /sdcard, hence the 11.5GB (I know, that's kind of like false advertisement but what you wanna do ? Sue Samsung ?)
And for the external SD, that's also normal. I'm surprised you didn't notice this detail on the capacity of your harddrive before : end-users tend to think in "base2" (whereas 1KB=1024 bytes, 1MB=1024KB, 1GB=1024MB, and so on), while media manufacturers count in "base10" (i.e. 1KB=1000bytes, 1MB=1000KB, etc). It's a cheap way to reach the symbolic "GB", "TB", "PB" (etc) landmarks more quickly (at least, quicker than the competition).
Do the maths, you'll see that over 16GB that makes a huge chunk of "magically" disappeared storage, but it never was there to begin with.. Also false advertising there, kind of.. But we're all in the same boat here. :S
Snakeforhire said:
That's perfectly normal dude..
Click to expand...
Click to collapse
Yea, I understand that, that why I put "(aka 16Gb") as I'm referring to a 16Gb card but listing 14.83Gb available. It was to not cause confusion, guess I failed there!
The problem I'm having is, I need around 4Gb (apparently) to install Navfree. I only have 2Gb available to apps even though I have 25Gb of storage.
People must be installing Navfree, so I must be doing something wrong.
16GB is 16000000000btye/1024/ 1024/1024 = 14. 9GB.
So it is 16Gb and not 16GB.
No such 4gb large program for android. The program is maybe 10-20mb. And the 4gb is the DATA. You can store the 4gb in your SD card.
Accidentally sent from my Google Nexus S using XDA Premium
I just tried again and it installed with a file size of 15.53Mb. Weird, Oh well, thanks anyway.
yeah i was gonna say : you might find some bloatware on the android market here and there, but by and large it is still pretty much immune to this phenomenon..
A 4GB program is something you might encounter under Windows, but Linux ?
Sorry that my first post is reviving an old-ish thread, but the initial question asked hasn't been answered (and a search of the forum didn't help me)..
Is it possible to resize the partitions of the internal storage on my s2, and if so, how?
And whilst on the subject of the internal storage, can someone please clarify if flashing a custom ROM will affect files on the "USB storage" partition, or only the files stored on the "internal" storage partition?
Sorry if these seem like noobish questions, but I am new to this customising malarkey, and want to make sure I don't lose any data unnecessarily, like I did countless times with my iPhone...
nope, flashing a rom (either stock or custom) *should* not alter usb or internal sdcard storage. If it does, that's a surefire sign that the guy who cooked the said rom has no friggin clue whatsoever about what he's messing with and to steer clear from this particular rom...
It must be possible to alter the partitioning scheme to resize the internal storage. At least that's the theory, we're dealing with a flavor of linux here, and everything is doable with linux -and enough effort and dedication.
However, as this partition lies on the same emmc chip as the system, data, cache and kernel/recovery/bootloader partitions, I highly recommend *NOT* to mess with it in any way -not unless you have another smartphone lying around that you could use as backup while your borked SGS2 is shipped back to the samsung service centre, and you're prepared to spend some $$ over the repairs (since rooting is absolutely necessary for this kind of manipulation, your warranty would theoretically be null&void in the process)...

[Q] [CM 10.1] Link2SD and internal SD

Hi there, noob speaking... (at least in terms of Android)
Let's start with the fact that I bought rooted phone with Cyanogenmod alredy installed which is my 1st Android device. That way I omitted few steps of learning how to root, how to flash it, etc. not to mention that I'm not a Linux guy, so even the way system handles folders and files is new for me. As the problem is more phone-related than system-related I'm posting it here, on XDA.
I'm trying to learn how to partition an "internal SD card" to make it work with Link2SD. I've found lots of tutorials how to do this with an external memory card, but there is not much info about doing the same with internal storage. I've found a tutorial for a diffrent phone, but I'm worried that droid devices seem to be very diffrent and simply retyping everything without understanding what I'm actually doing may cause more harm than good.
My biggest objection is the fact that I'm alredy using my internal SD and beside various media files (photos, music, etc.) there are lots of system, or app related stuff there. There are folders like .android_secure which as I guess store app-related files (or even parts of apps that I moved to SD with build-in feature). If this was Windows, I'd simply back up everything, format it, partition into "general storage" and "app memory" and put backed up files back directly onto new partition only worrying to keep correct letters assigned to new partitions. I'm preety sure that doing same in Android (by copying everything to PC and back to phone) would not work because all those permisions, or am I wrong?
Anyway - Any advice how to do this?
Additional question is related to accessing whole phone memory via PC connected by USB. I know that Android phones are made with security in mind and "system" partition is hidden when connecting USB, but there should be some other way than browsing everything from some phone apps with root permissions. I'd really like to browse my phone both for educational reasons and to check what really takes up space on my "system storage". I'm suspecting that some app went crazy eating lots of space, because once every time I uninstalled something my storage after few minutes was again at 20mb level and it continiued for some time.
BTW: Is there any reason why having about 200mb empty space for apps is not enough to install or update some small applications, while other install even when just 100mb is left?
Tl;dr:
-How to partition internal SD to make it work with link2sd while there are some system/app files on internal SD alredy?
-How to browse "system memory" from PC via USB?
-Why some apps don't install when there is still 200mb+ free space?

helpp

I've been using cyanogenmod ROM on my tab 2 p3100 that has been acting weird; maps force closing, black screens constantly, apps freezing for extended periods of time, and I want to start fresh. I'm going on a road trip for the holidays and would really like to use maps as they were intended.
I wiped all my personal data but there are still some pictures showing up in gallery and some app folders that didn't get deleted. My understanding is that this is all on the internal SD card. Is the ROM itself (AOKP 4.1.2) on the internal SD card also? If I were to go into CWM and format the internal SD would I lose everything and would the phone be unable to boot or would I be able to simply re-flash the ROM? if i were to put the new ROM on an external SD card would i be able to go back into CWM and flash it from there?
If I'm missing something feel free to correct me or point me in the right direction (a guide would be ideal). I've searched on various sights and can't find exactly what I'm looking for, everything seems a little vague.
Siddharth121 said:
I've been using cyanogenmod ROM on my tab 2 p3100 that has been acting weird; maps force closing, black screens constantly, apps freezing for extended periods of time, and I want to start fresh. I'm going on a road trip for the holidays and would really like to use maps as they were intended.
I wiped all my personal data but there are still some pictures showing up in gallery and some app folders that didn't get deleted. My understanding is that this is all on the internal SD card. Is the ROM itself (AOKP 4.1.2) on the internal SD card also? If I were to go into CWM and format the internal SD would I lose everything and would the phone be unable to boot or would I be able to simply re-flash the ROM? if i were to put the new ROM on an external SD card would i be able to go back into CWM and flash it from there?
If I'm missing something feel free to correct me or point me in the right direction (a guide would be ideal). I've searched on various sights and can't find exactly what I'm looking for, everything seems a little vague.
Click to expand...
Click to collapse
i was wondered this a long time ago also bare with me as i try my best to explain what i know. so since tabs normally come with a lot of internal space and from what my knowledge is it makes the internal the default storage. for every file manager i use it defaults to the internal if you pop a micro sdcard into it the internal will still be the default apps will install on the internal only first (unless you use apps2sd or your internal has run out of storage) as for where the rom is at. yes it is inside the sdcard thats why when we buy the 16gig and we only end up with 14g its for the rom and other necessity's the tab needs to live. i dont know how you would format the internal sd card but im sure you would lose your rom if you do it. its very confusing i lost my stock backup (got the tab 2 also) because i thought the backup went to the external but it when to the internal and i wipped data and flashed a new rom. not sure if i answered your questions or answered any of them at all.
Also please remove this from your signature "hit thanks, instead of saying thanks" you shun yourself saying that we are here to help people not feel cool because we have alot of likes :/

insufficient storage available / can't Link2SD

Hey guys,
(running Xperia Z2 on Cyanogenmod version cm-11-20141206-NIGHTLY)
i know, i know. this question was asked a thousand times before and most of the time the solution was simple. but it seems, like the xperia Z2 has a different reason for this behaviour. i bought the 16 GB Version a couple days ago and the Power of this thing is incredibly, considering i had a Samsung Wave II before.
installed a few apps like Instagram, Twitter, etc. and tried out some games. of course, running them was no struggle for this Flagship, of course. but soon, my storage was already full. After uninstalling the huge games and some smaller apps, cleaning up the leftovers, clearing the cache, rebooting...still "insufficient storage available".
Turns out around 7 GB of Storage were used by "other" files, says android. so i hit up "other", check every file in there, delete 'em, reboot - still the same problem.
next thought: maybe 16 GB just isn't enough for all the background data that comes together after installing a few apps. so i put a 32 GB micro SD in, tried Link2SD. which failed. would post a screenshot but i don't run Android in English.
Says something like "App2SD is not support by your device, because its primary external memory is emulated from the interal storage."
i'm not familiar with unix and it's data system, but to me, this sounds like a plugged in micro sd would be added to the internal storage. which would make linking apps unneccessary. but then, i wouldn't have this storage problem.
i didn't need to make a swap/linking partition on my SD card before, but maybe i need to do it for this phone.
downloading partition app...surprisingly successfully, tried to reformat, delete all partitions, create a big one for private storage and about 8 GB for the swap. failed. every app i tried just wouldn't work. no errors, just won't apply the changes. i tried it with the SD card mounted and unmounted. i made sure i was going to partition the SD card, not the internal memory.
this is depressing and really takes the fun out of a Overkill-Phone like this.
i hated the bloated and customized Sony UI on the original Firmware, but i didn't have a storage problem. but i shouldn't need to "downgrade" just because of this bug.
could it be the development progress on this phone? i'm running a nightly, but there are no stable versions yet. but this stuff worked with an unofficial port, on an really outdated phone.

Categories

Resources