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
So....I created an Ext2 partition on my sdcard & installed Link2sd.
I then successfully created a Link to an app residing in phone memory...but i can't find any space being freed in my phone memory.
Can someone pls put some light in this regard...
ROM - Paranoid Android By ByteCode.
Sent via XDA App.
Open Link2sd >filter internal stored apps > select all > Option > Action > Create Link > Done!
If ur ext is correctly mounted, u'll have ur internal space...
Hi KiraXce,
I created a link as u said but could see space being reduced In both phone memory & ext2 partition. Is this how Link2sd works ???
I don't think there's any problem with my Ext2 Partition.
ROM - Paranoid Android By ByteCode.
Sent via XDA App.
ur ext space should decrease but not the internal...make sure that ur dalvic cache is linked(if not, do a re-link dalvic cache in option and reboot), it'll give more space...:good:
Internal memory doesn't show up as freed until you reboot. You can do a quick reboot directly from Link2SD. That's probably what your issue is.:good:
Not sure if the Reboot worked for me...but now i can see some space being freed in phone memory after linking an app.
Thanx KiraXce & Toy187 for the suggestions
ROM - Paranoid Android By ByteCode.
Sent via XDA App.
Before i close the Thread...
For all you guys who face some or the other issue with Link2SD...i suggest you go ahead with S2E, itz far less complicated than Link2SD & does what it has to do with total ease :laugh:
Download S2E (Simple2Ext) from Google Play
Phone :- Lg Optimus One
ROM :- IcySnap by Neko95.
Please Hit the ThanX button in case i helped you
Thanks
Hi,
First of all, thank you a lot for all the development effort that has been put in to bring the AOKP ROM up to this fantastic standard. I have been using the ICS AOKP for quite a while, and just switched over to the JB ROM. It feels a lot faster and smoother, thank you!
I have got a question on Link2SD after flashing this ROM. Apologies beforehand, if this is not the forum to post that. I had used Link2SD while on ICS to move most of the apps to the SD card. Now after flashing JB, Link2SD does not re-mount the SD card secondary partition. I selected all the options mentioned (ext2/3/4/FAT) but it fails to mount with any of those options. So I'm not able to re-link any of my apps. Does anyone know how to fix this and get my apps back?
I also tried the following as per suggestions in some of the threads: 1) mounting it in recovery: not working; gives the message error mounting sd-ext (2) deleting some of the apps like Downloads and Email: still not working even after deleting those two apps.
Any help will be much appreciated. Thanks in advance!
I never had any problem with link2sd and ANY rom. Im on CM 10.1
Till ICS it was easy to directly download and flash roms and Gapps.
But JB roms need trimming.
What i do is.. after a clean wipe I flash any JB rom. Then remove unwanted apps.. Instal Link2sd..
change few minor system apps to user apps (not recommended, if you dont know.. what you are doing).
After linking these apps.. I always have enough mem for Gapps.
In Gapps also you have few apps which you can convert to user app and then link it.
rr0yy said:
I never had any problem with link2sd and ANY rom. Im on CM 10.1
Till ICS it was easy to directly download and flash roms and Gapps.
But JB roms need trimming.
What i do is.. after a clean wipe I flash any JB rom. Then remove unwanted apps.. Instal Link2sd..
change few minor system apps to user apps (not recommended, if you dont know.. what you are doing).
After linking these apps.. I always have enough mem for Gapps.
In Gapps also you have few apps which you can convert to user app and then link it.
Click to expand...
Click to collapse
My issue is now fixed, but in a hard way. Formatted the secondary SD card partition, and then Link2SD automatically recognized it. All the apps are gone, but at least I got the secondary partition active. Spent another half-hour downloading all the needed apps again from the Play store.
Link2Sd not working for me on CM10.1 Rom
I am using TouchWiz JB V2 Rom
I have tried ti install int2Ext+ (CronMod Fixed version fro 4.2.2) Still no luck
Also installed Link2Sd but it gave
Unable to create mout script error
I partiotned my sdcard using recovery (CWM 5.0.2.6) (it created Ext3)
Then (Delected the sdext partition using "Mini Partition Tool Wizard" then created new partition for Ext4)
But still no luck Nothing seems to work
adcool2007 said:
I am using TouchWiz JB V2 Rom
I have tried ti install int2Ext+ (CronMod Fixed version fro 4.2.2) Still no luck
Also installed Link2Sd but it gave
Unable to create mout script error
I partiotned my sdcard using recovery (CWM 5.0.2.6) (it created Ext3)
Then (Delected the sdext partition using "Mini Partition Tool Wizard" then created new partition for Ext4)
But still no luck Nothing seems to work
Click to expand...
Click to collapse
Hi
І have also had the problem.
I removed the system software of Google voice search, voice dialing, search . (Titanium Backup / un-install all user & system apps)
format ext2 or ext4.
Run Link2sd
Apparently there was no room in the system or chmod / chown
Can you tell which version of kernel you are using?
If you are on 3.x.x version, sorry to tell you that these scripts are not working till today.
rishabhgangwar said:
Can you tell which version of kernel you are using?
If you are on 3.x.x version, sorry to tell you that these scripts are not working till today.
Click to expand...
Click to collapse
Hi
Kernel 3.0.8-perf+chocolate [email protected] #1
I have Install [UNOFFICIAL] [ROM] [4.2.2] [29.3.13] Android Open Kang Project (AOKP)|Build #1 - P500
But link2d is not working.
I tried formatting ext2 and ext4, no result was not, error mount script.I knew it or not enough memory or wrong permissions set.
I mentioned that Titanium Backup can delete system apk you need to unmount the partition.
I removed the system software of Google voice search, voice dialing, search . (Titanium Backup / un-install all user & system apps)
Run Link2sd :victory:
I also had problems with link2SD.
piavia said:
Hi
Kernel 3.0.8-perf+chocolate [email protected] #1
I have Install [UNOFFICIAL] [ROM] [4.2.2] [29.3.13] Android Open Kang Project (AOKP)|Build #1 - P500
But link2d is not working.
I tried formatting ext2 and ext4, no result was not, error mount script.I knew it or not enough memory or wrong permissions set.
I mentioned that Titanium Backup can delete system apk you need to unmount the partition.
I removed the system software of Google voice search, voice dialing, search . (Titanium Backup / un-install all user & system apps)
Run Link2sd :victory:
Click to expand...
Click to collapse
Thanks a lot man Pavai
u save me ....:victory:
The standard and not-really-necessary idea of doing a factory-reset wipe when flashing is the problem here. I also had that zong my sdext making it read-only and nothing, nothing except re-partitioning the sdcard helped.
not working !
hi ! I have a problem , I've tried to partition sd card with cwm, minitool partition , tried ext 2,ext 3 , ext 4 , flash again ROM , install first link2sd , recreate mount scripts every time i change the method but no matter what i do , it keep telling me that the 2nd partition is not mounted and wont let me recreate mount script . ( Mount script cannot be created ) . If anyone can help me , i'll very much appreciate . Thanks !
LG P500 , CM10.1
Edit : Got it to work with CM7 .
Link 2 sd second partition is removed after installing a new custom ROM , help plz
Hi, Link 2 sd second partition is removed after installing a new custom ROM , (i lost my 2gb) how to fix it ??? how can i get my second partition storage back ? Please help me out
You can open menu on link 2 sd, and in the "more" section, click 2 re-link libraries and re-link files.
Sent from my LG-P500 using xda app-developers app
HELPPP
i used link2sd and i deleted something and all of a sudde the network disappeared after restarting when i go to mobile networks it says THIS OPTION DOES NOT SUPPORT CURRENT ROM... help pls asap.. **** i regret it so much
---------- Post added at 11:32 AM ---------- Previous post was at 11:18 AM ----------
I deleted something probably dialer with LINK2SD and now my mobile network doesnt work when i do to the settings it says THIS OPTION DOES NOT SUPPORT CURRENT ROM.. please help asap..
hashdoom said:
Hi,
First of all, thank you a lot for all the development effort that has been put in to bring the AOKP ROM up to this fantastic standard. I have been using the ICS AOKP for quite a while, and just switched over to the JB ROM. It feels a lot faster and smoother, thank you!
I have got a question on Link2SD after flashing this ROM. Apologies beforehand, if this is not the forum to post that. I had used Link2SD while on ICS to move most of the apps to the SD card. Now after flashing JB, Link2SD does not re-mount the SD card secondary partition. I selected all the options mentioned (ext2/3/4/FAT) but it fails to mount with any of those options. So I'm not able to re-link any of my apps. Does anyone know how to fix this and get my apps back?
I also tried the following as per suggestions in some of the threads: 1) mounting it in recovery: not working; gives the message error mounting sd-ext (2) deleting some of the apps like Downloads and Email: still not working even after deleting those two apps.
Any help will be much appreciated. Thanks in advance!
Click to expand...
Click to collapse
Hi, you can do one of these things, by adb shell run e2fsck -fpDC0 /dev/block/mmcblk0p2 to your second partition or using gparted run a full check of second partition of your SD card in a computer card reader, after that will work. I have the same problem, but in my case i have to do this procedure EVERY DAY because at next start the read only problem starts over... ANY BETTER SOLUTION APRECIATED !!!
After factory reset, I had a read-only ext4 partition. Had to start over.
Common cause of link2sd not creating its mount scripts is too little room on /system. Try adb shell df | grep system. Need a few meg. If this be the problem, need to trim the ROM.
Can,t understand ... How to Do it In Micromax A27...in custom Rom
tell me how to do it in Micromax A27 in custom Rom Dreamboltxv2
A lot of separate issues here and in various threads:
1. Sd-ext read only after factory reset. I never do that. Had that very thing happen. Save all data from partitions to computer, repartition and copy it back.
2. Not enough room on system to process/form mount script. JB and onward, ROMs need trimming. > 3meg needed, 9meg should be plenty.
3. No room on data. Link2sd can still work and fix that. If sdext can be mounted, that is ... and a launcher can live long enough to get to lin2sd and start it!
4. Other errors creating the mount script. I am now getting "device busy ... maybe ext4 not supported ... try vfat ... etc." Ext4 is supported. I have a copy of the script which I can place myself.
5. Data integrity problems in Kitkat based ROMs. Repeated recreation of dexes on data, using it up (Link2sd's Achilles heel). Sometimes, recreating that script can stop this. If one can get it re-created. Issues 3, 4. Link2sd can get the space back, problem is keeping it.
I have raised the issues with Link2sd authors.