Hi all,
So last night I decided to give Cyanogenmod7 a try. I came from MIUI.us 2.1.20 - I just love MIUI, but it's a bit too demanding for the Milestone. So I have CM7 up and running, and it is a lot more snappy. But now, I'm having trouble installing some apps.
I tried installing my bank's banking app, but it didn't install - checked the market and it doesn't appear. Same thing with WhatsApp!! If it were working, I might just become a CM7 user..but it's not working.
Am I missing something? I installed after doing a full wipe, after which I installed DT A2SD scripts and then gapps-20111216 (although didn't see gmail or market etc after gapps, so installed those via apk).
What's the deal here?
Thanks.
Sent from my Milestone using Tapatalk
Ok, just wiped again, and reinstalled all. CM7 then gapps then dt a2sd. So far it's working.
Sent from my Milestone using Tapatalk
googleservicesframework.apk and vending.apk are all you need for using market. Try to reinstall them. May you success.
Ok, so now my problem is A2SD. It's not working! A2SDGUI refuses to go in, and when I do a check, I get a segmentation fault...I've never had this issue before. I've tried reinstalling DT A2SD from withing recovery and still, nothing. Please assist, I just need to get set up properly now.
Regards
Sent from my Milestone using Tapatalk
DT scripts dont work ...use an external partition (app2ext)
d.casper.b: CM7 for Milestone already comes with its own ap2ext scripts that are automatically used if there is ext partition present on your sdcard.
You should not install any 3rd party app2ext scripts as they are very likely to be conflicting with the scripts that are already there.
Thanks kabaldan.
I'll check it out.
I was even going so far as trying to use Link2SD from the market..
How'd I know if it's working? By monitoring the available internal storage?
Sent from my Milestone using Tapatalk
d.casper.b said:
Thanks kabaldan.
I'll check it out.
I was even going so far as trying to use Link2SD from the market..
How'd I know if it's working? By monitoring the available internal storage?
Sent from my Milestone using Tapatalk
Click to expand...
Click to collapse
when you will enable app2ext you will see the total space in your storage rise to 197 mb
I am not winning. I did a factory reset and flashed cm7 and gapps (not dt a2sd).
I did a test, internal storage was at 191mb, then I installed opera mobile and it went down to 182mb. Then uninstalled it again. Went into cyanogenmod settings and set install location to external. Installed opera again, but it was no different. Moving it to sd under 'manage applications' increased the internal memory again, but that's just moving the app to the FAT32 partition of the sd card.
So it's not seeming to work for me for some reason.
Sent from my Milestone using Tapatalk
EDIT: I really don't want to be a nuisance, but now, looking at the available storage using "Quick System Info", I noticed after uninstalling "Opera Mobile", 9mb was freed on internal storage & 13mb on the ext partition.
So, perhaps it is working, and since the dalvik cache is (I assume) on internal storage, the storage is still decreasing. Am I correct? If so, is there a way to also move dalvik cache to the ext partition - I had it like this on MIUI & never looked at available memory ever again.
First of all, have you really partitioned your SD card? Make sure you followed the 3rd step on this guide: http://www.mrmuh.com/2012/01/update-a-motorola-milestone-from-motorola-firmware-to-cyanogenmod-7/ . You should have your SD Card partitioned with two partitions, the first should be FAT32 that's used normally on Android, and the second EXT3 or EXT4. Obviously, make sure you have a backup of your FAT32 partition before partitioning.
Second, you should understand how the apps2ext scripts on CM7 work. Application installs that would be stored on internal memory are rerouted to the EXT3/4 partition on the SDCard. This happens at the underlying system (linux) level, Android (that runs on top of linux) is not aware of this rerouting, so, as far as Android "knows", apps that are rerouted to the EXT partition are on the phone's internal memory. That means that you should make sure that apps you need installed on the EXT partition of the SD card are shown in "Applications > Manage applications" list to be installed on the internal memory. Yep, it's confusing, but once you understand how it works and why it works that way, it makes sense.
Third, the fact that apps are rerouted to the EXT partition doesn't mean that everything about the app will live on the ext partition: it means only the main application package will live on the ext partition, application data is still stored on the internal memory. For most apps, the amount of data used for application data are much smaller than the application package, but in some apps the amount of application data from the app may often surpass the size of the app itself - for example, in my phone, Tweekdeck stores about 9Mb of data, which is about 10 times the size of the application itself (820kb) - presumably this amount of data is cached tweets, pictures, etc. But that case is usually the exception, not the rule, I've just mentioned it so you understand that using apps2ext doesn't mean your internal memory will always stay unused, it just means it will be used (way) less.
Finally, regarding the CyanogenMod Settings location setting, if you understood what I said above, you should now understand that it should actually be set to always install to "Internal", rather than external. However, there's a bug in this that you should be advised, that not all apps will respect this setting: some apps will install to external regardless of how you've configured that setting (meaning the app will use Froyo/Gingerbread native Apps2SD, hence being installed to the FAT partition of the SDCard). So, when you install a new app, check on app management if it didn't get installed to the SDCard, and move it to the internal memory if that's the case. For these kind of apps, you'll have to do it every time you update the app too.
Thanks, I edited my previos post..
I actually have 3 partitions, a FAT32, an ext2 (maybe it's ext3, but doubt it - partitioned some months ago, so my memory's hazy), and a SWAP - which I should get rid of, but am too lazy.
I understand entirely what you've said, I know that internal is really ext if working, and sd is FAT32 partition.
You see, I'm just new to this rom and have to trial and error until I understand, with miui you just flashed the rom and the a2sd scripts and didn't bother again (maybe only to move an app that installed to FAT partition). But it seems CM7 is simply just to flash the rom and you're good to go. But as I was pondering in my previous post...is there any way to move dalvik cache to ext?
Thanks for putting up with me..I'm almost there.
Sent from my Milestone using Tapatalk
d.casper.b said:
Thanks, I edited my previos post..
I actually have 3 partitions, a FAT32, an ext2 (maybe it's ext3, but doubt it - partitioned some months ago, so my memory's hazy), and a SWAP - which I should get rid of, but am too lazy.
I understand entirely what you've said, I know that internal is really ext if working, and sd is FAT32 partition.
You see, I'm just new to this rom and have to trial and error until I understand, with miui you just flashed the rom and the a2sd scripts and didn't bother again (maybe only to move an app that installed to FAT partition). But it seems CM7 is simply just to flash the rom and you're good to go. But as I was pondering in my previous post...is there any way to move dalvik cache to ext?
Thanks for putting up with me..I'm almost there.
Sent from my Milestone using Tapatalk
Click to expand...
Click to collapse
in the market you will find an app called s2e which moves app data, davlik cache to sd
also link2sd also free's up more space and makes cm7 snappier
please don't install such things to CM7 for Milestone unless you know what you are doing and you are able to resolve conflicts with the existing scripts
dalvik-cache is already moved automatically
if you want to free more space in /data, enable lib2ext to move native libraries to ext - it's mentioned in the changelog for 7.1.2 release
app data itself should not be moved as it can cause instability
d.casper.b said:
Thanks, I edited my previos post..
I actually have 3 partitions, a FAT32, an ext2 (maybe it's ext3, but doubt it - partitioned some months ago, so my memory's hazy), and a SWAP - which I should get rid of, but am too lazy.
Click to expand...
Click to collapse
Yeah, get rid of swap, there won't be any use for it (for now anyway) and it's best for you at this point to have a known working structure (two partitions, 1st FAT, 2nd ext3/4) for your SD as you're troubleshooting your problems/questions, it'll make it easier for us too as this will eliminate potential points of failure or inconsistencies. And you should really consider upgrading to a journaled filesystem, either ext3 or ext4. Using ext2 is unreliable because Android doesn't umount the ext partition cleanly on reboot or shutdown, so you may have problems with apps disappearing or misbehaving every other reboot. Using ext3/4 with journal elimitates this problem since the journal is just replayed for the uncleanly umounted partition and the filesystems behaves more consistently.
d.casper.b said:
You see, I'm just new to this rom and have to trial and error until I understand, with miui you just flashed the rom and the a2sd scripts and didn't bother again (maybe only to move an app that installed to FAT partition). But it seems CM7 is simply just to flash the rom and you're good to go. But as I was pondering in my previous post...is there any way to move dalvik cache to ext?
Click to expand...
Click to collapse
The apps2ext script built on CM7 should do this by default - you probably already have your dalvik-cache on the ext partition. To check this, go into OR, enter the console and type: "ls /sddata/dalvik-cache" . If it returns a list of files, you've already got the dalvik-cache on your ext partition. Another option is setting the option dalvik.vm.dexopt-cache-only to 1 in the file /system/build.prop . This will put all dalvik-caches (both from user apps and system apps) on the phone's internal cache partition, thus still freeing space on the internal memory but without using the ext partition, but that's not recommended if you install too many apps because the cache partition may run out space and that will spawn all kinds of weird behavior on Android. The safer route is just using the default configuration anyway (user apps dalvik-cache on sd-ext).
Another option to further reduce internal memory use is using lib2ext, that will move user apps native libraries to the ext partition, but the memory gain in this case is dependent on which apps you use and how big their native libraries (if they even have one) are. To activate it, just go into the Terminal app (with Android booted) and type:
$ su
# lib2ext
And reboot. The libraries will be moved to the ext partition during boot. Make sure you have a big enough ext partition to hold everything (apps, dalvik-cache and apps libs) - the size to recommend is very dependent on how many apps you use and how big they are, but I'd say 512Mb would be the bare minimum.
in the market you will find an app called s2e which moves app data, davlik cache to sd
also link2sd also free's up more space and makes cm7 snappier
Click to expand...
Click to collapse
DON'T! JUST DON'T! These third-party apps will cause all kinds of problems with CM7 builtin apps2ext.
EDIT: Oh well, Kabaldan already put all my rambling much more succintly than I could... I'm way too talky
well i was jus trying to help.. .anyway guys thanks i guess i won't be needing those apps anymore ...sorry for my noobness
Thank you so much guys!
It seems like it's working. I will check out lib2ext & the other suggestions tonight or over the weekend (on my way to work now).
I must say, I thought the move to CM7 would be a temporary one, but the speed gain is just what I needed, & the tweaks I thought I'd miss I am finding hidden in the settings .
Just wondering on the battery now - but I've been fiddling non-stop.
So let me play a bit more the weekend & I'll merge my ext2 and SWAP partition into one ext3 partition.
Thanks all, and kabaldan for your hard work on this rom.
Sent from my Milestone using Tapatalk
Just as I was on my way...
Everything's running fine, A2SD works. But now, I partitioned my SD card with a 2nd partition (ext3, it was ext2), but now widgets are not loading. Checked the apps install location, and it's 'internal', ie. ext3. I never had this before. I think maybe it's due to the filesystem now?
EDIT: Ok, ext2 is doing the same. I can't keep starting from scratch the whole time guys.
EDIT2: It's now suddenly working! Just have a Fat32 and an Ext3 partition. But I don't understand because it's been setup like this twice before with no success. I'll hold thumbs!
PS, CyanogenMod is quite up my alley now, speed is awesome and I'm happy.
Sent from my Milestone using Tapatalk
I was looking on the storage tab and I saw 4gb space taken by .. something.. I am curios , what could take so much space ? I have a database server running centos that takes less. Anyway , I havent rooted my phone yet and I am curious . Anyone could tell me what is there eating so much space ? Also with custom rom can you free more space from that ? I come from Desire S, there the stock 4.0.4 rom was using 5-600mb .
That "Other" is probably a load of cache and data that has built up over time and that you've never bothered to delete. At least 1GB of that will be Facebook if you are a heavy user.
Sent from my One S using xda premium
The phone is 5 days old. And no I don't use facebook , those 4gb in other remain there even after factory reset. That is why I am asking.
icrazy said:
The phone is 5 days old. And no I don't use facebook , those 4gb in other remain there even after factory reset. That is why I am asking.
Click to expand...
Click to collapse
You can try clicking the make more space button and clearing some apps' cache.
icrazy said:
I was looking on the storage tab and I saw 4gb space taken by .. something.. I am curios , what could take so much space ?
Click to expand...
Click to collapse
4.50 / 6.07 is just not true. You do not have 6G of app storage. You have about 2.50G.
So it's possible that you have about 1G used, and therefor about 1.50G free. (If they calculate used space from free space plus an assumption of total space..)
The layout is:
10G - sdcard
2.5G - data
1.7G - system
0.25G - cache
rest - sbl, hboot, boot, recovery, radio, wifi, modem, splash, ...
Touch of jobo what you say makes sense , but I just dont understand what can be in /data to eat 2.5gb or in system to eat 1.7gb
icrazy said:
Touch of jobo what you say makes sense , but I just dont understand what can be in /data to eat 2.5gb or in system to eat 1.7gb
Click to expand...
Click to collapse
Those 2.5GB and 1.7GB for data and system respectively are the partition sizes. It doesn't necessarily mean they are full. (In fact, they are not.) It means we could technically flash ROMs that have up to 1.7G of /system. (Currently, ROMs take only up to about 700M tho.)
I believe that you have about 1GB of apps and app data on your /data partition, so about 1.5GB of /data free.
-Jobo
You should download a file manager and have it inspect your SD card to see what's on it and in your internal memory(Not sure if Stock Sense had something like this) I used ES File Manager and it gives you a pretty layout showing what's using what
Thanks IntelligentAj very good ideea . Look at the 2 screenshots taken with sdmaid . The partitions look different and some space is not there
later edit.
Actualy I took it to calculator .It adds up to 5273 mb , is close enough I guess. Should help if anyone else has questions on stock JB partitions .
Sent from my HTC One S using Tapatalk 2
I would strongly recommend rooting your phone though and installing a custom ROM. Stock Sense is exponentially slower than pretty much all custom ROM's
I will root it no doubt about it . I have a desire s and lenovo tablet all rooted . But with this one is more complicated .. I have to keep it untouched for some time. And I was curious about the space .
Oh I was worried when I first rooted my phone but they have all in one tools or you can do the actual adb stuff, which isn't hard at all as long as you follow directions
Sent from my One S using xda app-developers app
Atrix 2 4.04 Rooted System ROM too FULL! What do I delete?
Forgive me XDA'ers. I'm getting older & I forget what I've learned here at XDA. It's been close to 2 years that I had my Droid X2, rooted it.
Haven't played with other phones.
So finally got an Atrix 2 & rooted it. Thank God found Boot Menu Manager here because ROM Manager wasn't working.
Anyways in Titanium Backup Pro says:
System ROM: 500 MB (7.16 MB free)
Having only 7.16 MB free concerns me greatly. What do I do to gain space? Ideally I like 20% or more free space.
Have 21 GB free on the 32 GB SD card & 4.31 GB free on the 4.88 GB Internal.
Have all the goodies installed afaik (emulator, Root Explorer etc). If you need more info or in another form let me know. Thank you kindly.
Afaik.. System partition only for system stuff.. I think its normal to have that much free space.. All other applications install in future will go to data partition.. Which is 4.31 or ur internal.. XD
This should be asked in Q&A section and not in dev section.
And to answer it, stock ROMs are full of bloatware which leaves you with least amount of space left on system folder.
So if you want more space, you can either delete unwanted system apps ( proceed with caution or you might delete a necessary file for the phone) or flash a custom ROM. I get around 100mb free space on my system with carbon ROM.
So is it ok to have minimal space left or am I just inviting trouble?
zapjb said:
So is it ok to have minimal space left or am I just inviting trouble?
Click to expand...
Click to collapse
No problem at all. It doesn't matter how much of space you Have on System folder. If you wanna make an app as system app by manually moving it to system/app with permissions or if you're gonna flash a zip to add a system app, you'll need more space on system of course. All the downloaded user apps will be in /data. It is no way related to /system.
Thank you so much. I was concerned.
And thanks to the mod who moved this thread appropriately. Sorry about that.
I've always had issues with ROMs when it comes to partition size. If I used system 3 & 4 and put a data partition of 1000M on both, the second ROM I installed would fail to boot after apps were installed. I got around this by making the data partitions 800M instead so now I can run two ROMs. I don't understand why this would be happening though. With 800M data partitions I can't have a third or fourth ROM and by the time I get my apps installed anything under 800M isn't enough space. Is there something I am missing or is this just the way that it is?
nbucko said:
I've always had issues with ROMs when it comes to partition size. If I used system 3 & 4 and put a data partition of 1000M on both, the second ROM I installed would fail to boot after apps were installed. I got around this by making the data partitions 800M instead so now I can run two ROMs. I don't understand why this would be happening though. With 800M data partitions I can't have a third or fourth ROM and by the time I get my apps installed anything under 800M isn't enough space. Is there something I am missing or is this just the way that it is?
Click to expand...
Click to collapse
How many USER apps do you have installed on system 1? Since bmm creates the additional partitions on the system 1 data partition, that has a lot to do with it.
I also have same query.
Actually after installing Kitkat ROM on my Atrix 2, I prefer to switch runtime to ART and ART consumes lot of space while retaining same number of apps like in dalvik runtime. And the usual 1 GB partition which we create during multiboot setup seems too less in case of ART, though its enough if we keep the runtime to dalvik. It fills up very soon.
Right now my preference is to keep two ROMs apart form stock ICS so total there are three ROMs in my phone.
Is there any way to create data partition of more than 1 GB? BMM refuses to create 2GB partition when there is already one custom ROM in one of the system.
Haven't tried to see if 2 GB is possible if only single custom ROM is installed along with stock ROM. If 2GB is possible in case of only single ROM along with stock then also I can live with it.
Jack Sparrow xda said:
I also have same query.
Actually after installing Kitkat ROM on my Atrix 2, I prefer to switch runtime to ART and ART consumes lot of space while retaining same number of apps like in dalvik runtime. And the usual 1 GB partition which we create during multiboot setup seems too less in case of ART, though its enough if we keep the runtime to dalvik. It fills up very soon.
Right now my preference is to keep two ROMs apart form stock ICS so total there are three ROMs in my phone.
Is there any way to create data partition of more than 1 GB? BMM refuses to create 2GB partition when there is already one custom ROM in one of the system.
Haven't tried to see if 2 GB is possible if only single custom ROM is installed along with stock ROM. If 2GB is possible in case of only single ROM along with stock then also I can live with it.
Click to expand...
Click to collapse
I don't recall who or where, but someone posted a workaround for creating a 2 GB partition. The good news is that it can be done. The bad news is the info is probably BURIED somewhere here in Q&A.