yashsingh1/xdaforums huggingface dataset:
[Android Software/Hacking General [Developers Only]] Co.Tibi:
Has anyone installed this on HTC Desire with Jelly Bean p9 by Nikez? If yes, how is it performing? I already installed a2sd on it (standard yny config.) and would also like to know if I need to reflash the whole thing. Cheers
[Android Software/Hacking General [Developers Only]] rockstar_slash:
how it become -111290341204 in internal memory?

anyone know how to do it? :(

I really need help so bad im currently using official cm 72 nighty cooper for ace.

always encountering there is insufficient space to install when im trying to install app from googplay.

please help me.
[Android Software/Hacking General [Developers Only]] iamtimeshift:
After a unwanted reboot, everything is gone

I've used this script to get more memory in my HTC Desire with CM 7.2.0.1-bravo. I've created a 4Gb ext3 partition and moved /data/apps and /data/data. Everything was fine and I've been never happier with my phone. Then it shuts down due to an empty battery. Since then it seems like it was reseted to factory settings. Everything is gone, apps, texts, settings. Even Superuser and Google Play are gone. I've tried to call m2sd in Terminal Emulator, but that needs root and after typing 'su' I got 'Permission denied'. A Fileexplorer shows, that the folder sd-ext is empty. So I think maybe there is something wrong with the partition but I have no clue and would appreciate any kind of help. Do you guys think there is a chance to recover the files, in particular the files of /data/data?

Thanks in advance

cheers
[Android Software/Hacking General [Developers Only]] getochkn:
Everytime I try to make a 2nd partition on a card, my phone won't read it anymore. I am trying with EASEUS Home partition software, make a 2nd part after the fat32 one, make it ext2 format, put the phone back in my card and it doesn't read at all in the phone. Delete the ext2 partition and try again and it reads fine. Is there a better software to use or try?

EDIT:

Answered my own question with google. lol. For anyone finding this thread, read here.

http://xdaforums.com/wiki/index.php?title=SD_card_partitioning

Make sure the ext2 partitions are made as primary partitions, not logical as some software may default too.
[Android Software/Hacking General [Developers Only]] cooldude9119:
Hi, im using stable CM 9.1 in my Xperia Ray, i created a 2gb sd-ext partition on my class 10 sd card using partition in CWM (swap : 0) and then flashed this script from cwm. Now i went to terminal emulator and used m2sd apps enable and turned off safe mode and rebooted my phone, how to use this app tp move all my apps to sd-ext partition. Someone pls help me!!!!!!!!!!
[Android Software/Hacking General [Developers Only]] swayjd:
So ive been trying to install this all morning on my girlfriend's galaxy Gio. I have a SGS and so I never needed such scripts.

ROM is enhanced236. based on stock from samsung.

I downloaded both the legacy and aroma and tried installing both, Neither seems to work as I go into the terminal and I get m2sd: not found.

So I saw the 4th or 5th post of this thread that you need some adb pushing, I tried doing them but on the last command I get Bad Mode.

I wasnt sure about which file to push anyway I tried pushing the 10mounts2sd that I find inside the legacy zip file and renamed it to 99mounts2sd.txt. Not really sure if this is whats intended by the OP or if the while procedure is necessaey.

I am stuck, can anyone shed some light over my case?

Thank you
[Android Software/Hacking General [Developers Only]] xyellx:
What are the recommended settings for a 32GB Class 10 Card (Nexus One)

Currently i have 1GB sd-ex with

Move Apps

Move Data

Cache Management

SWAP (256MB)

SDcard Readahead 2048
[Android Software/Hacking General [Developers Only]] stephendt0:
I'm getting exactly the same issue. m2sd: not found in terminal emulator. Can anyone shed some light on this? :( I'm using a Samsung Galaxy mini with Clockworkmod 4.0.0.5 on Cyanogenmod 7.2.0. Had to use Legacy installer as Aroma installer wasn't usable on a LDPI screen. It seems to work fine on my HTC Desire :/

Edit: Gave up and used S2E from the play store instead. Works great. Link -> https://play.google.com/store/apps/...ult#?t=W251bGwsMSwxLDMsInJ1LmtyaWt1bi5zMmUiXQ..
[Android Software/Hacking General [Developers Only]] shurane:
I think more people should be aware that

slows down a lot of apps.

Some references:

http://xdaforums.com/showthread.php?p=30266794&highlight=slow#post30266794

http://xdaforums.com/showthread.php?p=30287549&highlight=slow#post30287549

http://xdaforums.com/showthread.php?p=29957610&highlight=slow#post29957610

It's not clear enough in the first two posts, at least.
[Android Software/Hacking General [Developers Only]] techhome:
m2sd help

post deleted - wrong forum
[Android Software/Hacking General [Developers Only]] :
one quick question: will stay m2sd after flashing a new CM nightly?
[Android Software/Hacking General [Developers Only]] mbunal:
Is there any1 using this script with tytung nexushd2 rom?

NexusHD2 cihazımdan Tapatalk 2 ile gönderildi
[Android Software/Hacking General [Developers Only]] akya22:
Worked on CM10 too... cheers !
[Android Software/Hacking General [Developers Only]] imabengalimuslim:
I haven't been able to get this to work yet. I tried the Aroma Installer, and when I used that, I tried typing in m2sd help just to get the list of commands. It told me that I am missing an end quote? And then I tried the Legacy Installer, and I get syntax error: 'if' unmatched. Any one have any ideas?

I'm on a Nexus One with a Texasice Evervolv Jellybean ROM, latest very. Also using the Bexton Aroma GAPPS Installer.

Edit: I figured out that for some reason the Bexton GAPPS Installer was the reason. I tried without and it works perfectly now.
[Android Software/Hacking General [Developers Only]] The BLION Corp.:
Yes. and it works like a charm with v2.6.
[Android Software/Hacking General [Developers Only]] mbunal:
Is there any low sound bug?
[Android Software/Hacking General [Developers Only]] twoxx:
There will be no low sound bug with "mounts2s" its the greatest!!!!!!!
[Android Software/Hacking General [Developers Only]] antr34:
m2sd cmdalvik not working, tried 4 times now. is there anything i can do?
[Android Software/Hacking General [Developers Only]] rahulsa:
My experience & understanding with Mounts2SD

I had used Mounts2SD script just to enable swap for my Idea ZTE Blade with 256 MB RAM.

I created 2048 MB sd-ext and 256 MB swap partition on my class 4, 16 GB SD card, using ClockworkMod.

Experimented with various options of m2sd along with swap enabled.

My phone was much faster with just swap enabled. - The best setting.

And was slowest with rmount & swap enabled. - The worst setting.

Rmount actually mounts external SD ext2/3/4 partition as /data and internal nand partition is mounted as external /sd-ext.

With this all the contents of original /data are moved into external slow SD.

Nand partition is a way faster than class 4 or even 6 SD card.

Hence you can make compromise between speed and space.

These are moving one or more of app, private app, app data, dalvik cache, download cache.

And there are limitations of any such generic script which works on many ROMs. To elaborate, you can move All apps from internal to external or none.

You cannot choose which app to move and which not to.

So is the case with dalvik cache, you cannot choose what to move.

Also being script there is no GUI for choosing options.

If you are using CM 7/9 (& probably10) and also other compatible ROMs S2E is better choice, as it offers GUI.

But remember it also has same limitations mentioned above.

So you need to augment S2E with some custom methods.

Mounts2SD does not allow other similar scripts or methods to work.

Allowing that can potentially create a mess for a new user.

For example in my case, I had not moved apps to /sd-ext.

But I required to create empty app folder in /sd-ext, so that Titanium Backup Pro can move some apps data to /sd-ext/data2 folder, also showed space available in /sd-ext on TB's main screen.

So I created app folder in /sd-ext, only to find it deleted automatically on next reboot. So I wanted something which will me to do what I want.

Using S2E does not delete the app folder in /sd-ext even when it is empty.

For your custom needs one has to write a custom script or make one time custom arrangement.

Custom arrangements are like creating symbolic link in original location for the file or folder moved to a external SD ext2/3/4 partition.

By creating symbolic link, Android can find it in original location.

This method is used by apps like Link2SD.

This method is useful in following situation.

Many people initially all the apps to /sd-ext.

Then in want of space require data also to be moved to /sd-ext.

Now moving all apps data on /sd-ext slows down the phone.

Exactly at this point on moving some apps data to /sd-ext and keeping rest of the apps data on faster nand helps.

Also moving all user apps dalvik cache to /sd-ext and keeping system apps dalvik cache on nand, is also a typical requirement.

I can further share how I managed to get better performance with sufficient space in internal /data partition, if someone is interested !

Thanks for reading a longish post.
[Android Software/Hacking General [Developers Only]] Lycox:
I'm definately interested. :cowboy:
[Android Software/Hacking General [Developers Only]] :
+1

me2
[Android Software/Hacking General [Developers Only]] Small_town_boy:
So far so good on my galaxy mini with cm7, didn't work on cm9 and 10...!

Sent from my GT-S5570
[Android Software/Hacking General [Developers Only]] rahulsa:
What didn't work ? Can you elaborate please ?

It's m2sd or my ideas ?
[Android Software/Hacking General [Developers Only]] Small_town_boy:
It was not getting installed at all...when I tried the command m2sd status or m2sd help,it showed m2sd not found ....(I did grant superuser perms)

Tried both legacy and aroma installers...nothing got pushed into system I think....

even mounted system before flashing but nothing ....

But on cm7 it is working well...

Don't know why its not on cm9....!

Sent from my GT-S5570
[Android Software/Hacking General [Developers Only]] rahulsa:
I have red from some other thread that you have to manually copy or flash or push 20userinit script inside /etc/init.d or /system/etc/init.d folder .

I have attached the file from my CM 7.2 .

See if that helps.

Also I am using S2E now, if that makes any difference.
[Android Software/Hacking General [Developers Only]] Small_town_boy:
thanks for the info...i will try it when i flash cm9...i am now on cm7...:)
[Android Software/Hacking General [Developers Only]] rahulsa:
Its not a flashable zip.

Xda file attach interface does not allow plain script, hence zipped.

But you can manually copy it there using some file manager which can mount system as writable.
[Android Software/Hacking General [Developers Only]] getochkn:
I am using Remics (based on CM9) and have this working without the 20userinit script from CM7. In fact I deleted it from trying another app. CArd had to be partitioned as ext2 for the partition you want to use. Also when it is running check the logs to see whats going on from ADB, helped me get it going and that's how I found out it had to go from EXT4 to EXT2 and to set safemode to auto. I now have a 4gb parition running with CM9 on my SGS4G for all my apps and data on a 32GB class 10 card. 2048 cache set. Running good.
[Android Software/Hacking General [Developers Only]] shinobisoft:
Hmmm, then why do I have a flashable zip for it? And it does work, with CM9 and CM10 on a bs LG Thrive ( P506 ) & Optimus T ( P509 ) with only a 190 MB system partition.

The legacy version is the flashable zip, and the other uses the Aroma installer it install it.
[Android Software/Hacking General [Developers Only]] sander815:
just installed it with 4ext recovery, but when i do m2sd help in a terminal nothing happens:confused::confused:

i am running this rom: http://xdaforums.com/showthread.php?t=1912187
[Android Software/Hacking General [Developers Only]] kla960:
What kind of hboot is installed?
[Android Software/Hacking General [Developers Only]] primski:
Does JB 4.1.2 break this mount2sd or am i just doing something wrong ??

I installed it through 4ext touch recovery and when i go to terminal it throws an error:

# m2sd
/system/bin/m2sd[422]: syntax error: 'if' unmatched

i was running it on JB 4.1 and it worked great. today i upgraded and its giving me this error.

what could i have done wrong?
[Android Software/Hacking General [Developers Only]] Oletros:
I'm having exactly the same error using this ROM:

[DEV] [ROM] [N1] Evervolv Jellybean w/ nightly builds
[Android Software/Hacking General [Developers Only]] rodhull:
+1 for the same error on JB 4.1.2 (Nikez' p1 ROM for the Desire)
[Android Software/Hacking General [Developers Only]] sp333:
Please I need help!

I flashed AOKP for Bravo and mounts2sd with aroma installer but after installing google apps i've had som 80MB of storage. if i install any app, it's installed on my internal memore, not the ext partition. tryed to 'set up' m2sd in terminal but it's saying m2sd not found and some errors. what am i doing wrong?

thanks for your help

I've used 'props-path.zip' and it solved the not found errors from terminal. However if i try to enable m2sd dalvik, it asks me to reboot, the the apps will update and my phone will got into a bootloop..:-/ any suggestions what am i doing wrong?
[Android Software/Hacking General [Developers Only]] ldFxl:
System full

I wish to say to other m2sd and [DEV] [ROM] [N1] Evervolv Jellybean w/ nightly builds that m2sd seems to be running OK on my nexus One (vodafone EU version).

But the real aim of this post is identifying why my /system partition is getting full, and why I am getting notices from android that the phone is full.

Storage Management says:

Internal storage usage 123MB of 572MB

SD card usage : 56MB of 3,09GB

App Management says:

Internal storage usage 36MB used 536MB free

SD card usage : 56MB used 3GB free

m2sd log says that /dev/block/mtdblock3 is 260.0MB with 5.6MB free mounted on /system ... This is 98% of used space.

Is this due to m2sd ? my custom rom ? (sorry, i'm really disapointed)
[Android Software/Hacking General [Developers Only]] MarcoToo:
Are you using bash or the stock shell? Because some of the tokens m2sd uses are not supported by stock.

via XDApp
[Android Software/Hacking General [Developers Only]] l_uk_e:
I have the same problem. I'm using this ROM: http://xdaforums.com/showthread.php?t=1484648

Stock HBoot...

I tried Script version 4.6.2 aroma and 2.2.6 aroma.

I installed the Rom, then i copied all data of my SD-Card on my PC as a backup.

After that I created an ext3 partition with Clockwork Mod Recovery and copied back the SD-Card data. Then I selected "Install zip from SD-Card" to install the script and I did a restart of the phone.

Back in the system I installed Android Terminal Emulator from Play Store and typed:

su

m2sd apps enable

but i always get the same error like primski
[Android Software/Hacking General [Developers Only]] gothicman02:
I recommend you try this. Install the script created by ryuinferno located here:

http://xdaforums.com/showthread.php?t=1933849

This will give you full capability to run init.d scripts regardless if the rom supports it or not.

Follow the instructions exactly and reboot at least twice and check for the test.log in /data.

If it is there great. If not, you may need to troubleshoot further.

Now I recommend you create a backup using your favorite recovery just in case things don't work out. Then install the m2sd installer, and choose reverse mount. (this is all i have tested thus far). So far I have it working on the evervolv nightlies with all the storage on the sd-ext partition on my nexus one.

Let me know if this helps. :)
[Android Software/Hacking General [Developers Only]] zoidbrg:
Hi,

First of all :

--------------

HTC Explorer A310e

SD card : partition 1 FAT32, partitionn 2 Ext3

Rom "Unofficial CyanogenMod 9.1 for Pico Build#8"

--------------

So, I did the installation yesterday, and now I want to install Mount2SD. I copied mounts2sd-4.6.2_legacy.zip on my SD card.

Then I reboot my phone in recovery mod, but I have this error message during the installation :

-- Installing: /sdcard/mounts2sd-4.6.2_legacy.zip
Finding update package...
Opening update package...
Installing update...
[B]E:Error in /sdcard/mounts2sd-4.6.2_legacy.zip
(Status 0)
Installation aborted.[/B]

I tried th AROMA version yesterday, the installation went whithout problem, but once rebooted, no command line works.

Any idea ? Thanks a lot !

EDIT : well, I hav my answer here (http://xdaforums.com/showthread.php?t=1932874) sorry ^^
[Android Software/Hacking General [Developers Only]] tosonny:
Beginner needs help! If you need any further information about phone, rom etc. please let me know:

- HTC Desire

- I am using this rom: PA 2.52 http://xdaforums.com/showthread.php?t=1912187

- I have 1,5 GB ext space (0,9 GB free)

I returned from INT2EXT4+ now again to M2SD (with settings " data + r-mount"), because my phone was so slow that I couldn´t use it anymore. But now I have the problem that I cannot downlaod any apps from play-store anymore because - so I suppose - I have a space-problem.

Phone shows 1,5 GB internal store ...so this is definitely no problem. But solid-explorer shows for /sd-ext that there are only 4,8 MB free (from about 150 MB total space). So my questions are:

- Is this the problem why I cannot download any apps from play-store or is this space not relevant?

- Diskusage shows that 17 MB is used by google earth, 15 MB by sygic-aura (navigation), 9 MB by MXVideo and 9 MB Navigon (Navigation). Do I have to delete some of these big apps or is there a solution?

Hope you can help ...it already took hours and days to get my desire working again in a proper way. But without play-store .....
[Android Software/Hacking General [Developers Only]] :
Hi,

I've pretty much read through the entire 74 pages of this thread - and do not see any reference to the Galaxy Tab 2 7.0 P3113 from Samsung. I know none of the standard Apps2SD and other related applications work on this tablet - but was wondering if anyone has tried this on the tablet, or can confirm that it will work

Thanks in advance, appreciate any feedback

Regards,

Bill
[Android Software/Hacking General [Developers Only]] pedrofidalgo:
So i have a class 10 card, with ext-4 partition, rooted rom, kernel ext-supp.

I install the arome version, selected typical installations, when rebotted, my internal memory was the same as before.. any tips ?
[Android Software/Hacking General [Developers Only]] kowloon12:
Is there someone who knows if it's possible to reconfigure m2sd from apps+data+dalvik and no r-mount to data and r-mount enabled without losing the installed apps?

Or should I make an apps backup with titanium, wipe everything and do a clean install and a restore of apps?
[Android Software/Hacking General [Developers Only]] MarcoToo:
Your data is in the ext partition, but your app data is still in internal, disable the data option and leave only rmount enabled. You can increase your read ahead cache size with

echo 1024 > /sys/block/mmcblk0/queue/read_ahead_kb

This will most likely fix your speed issues.

Should work if it supports init.d, but that is also being said for all the other solutions.

First of all, check if your kernel supports init.d.

Then, try disabling m2sd safe mode.

Should work. The script is pretty well written concerning the changing of options. Make a backup anyway ;)
[Android Software/Hacking General [Developers Only]] bobbyphoenix:
Awesome! Works perfect for me on my N1 running Evervol ICS. :)
[Android Software/Hacking General [Developers Only]] sverfaillie:
m2sd and r-mount only on htc desire

I've been using now for a good month this m2sd script, with only r-mount and safe mode enabled.

I have a class 10 SD card, and 1.5 GB of ext4, and use AOKP 4.1.2.

I do not notice any difference compared to having /data/data internally. So far so good.

I was wondering whether somebody has experience with the extra swap option on the sdcard.

Does it improve the performance of the device ?

As I only r-mount, the old /data internal partition remains unused....

Can it be used as swap space ?

Has anybody been experimenting with this ?
[Android Software/Hacking General [Developers Only]] sverfaillie:
As long as you will keep the /data/data internally, you will come into memory problems.

I have taken the step to do only a r-mount, with safe mode, and I have no issue at all since then. ( no reboots, no spectacular delays, ... )

I am using the AOKP from Vijendrah. The 1.5 GB of sd-ext is completely available. ( I have now 1.2 GB used of my 1.5 GB sd-ext -- 236 applications ...).

I use a Transcend 32GB class 10 card.

If you want to keep the /data/data internally, for speed reasons, you will have to manage the usage of that +/- 150 MB of memory yourself.

Before I used the only the r-mount option, I managed the cleanup as follows :

a/

Move the apps with highest memory consumption to the SDCARD ( so instead of having the app on the sd-ext, you will have it on the sdcard fat32 partition. When doing so, in most cases all the data is also moved to the sdcard ... )​

To identify these high consuming apps do the following : in a terminal I issue following commands :

su

cd /data/data

du -k | sort -n

This gives a listing containing the highest memory consumers of data at the end.

...

7171 ./com.google.android.googlequicksearchbox/lib

7952 ./com.google.android.googlequicksearchbox

8309 ./com.android.providers.media/databases

8318 ./com.android.providers.media

8504 ./com.adobe.flashplayer/lib

8506 ./com.adobe.flashplayer

9716 ./mobi.mgeek.TunnyBrowser

12836 ./com.android.browser/cache/webviewCacheChromium

12857 ./com.android.browser/cache

14498 ./com.android.browser

133188 .

...

E.g. the mobi.mgeek.TunnyBrowser is using a 9.7 MB of the 162MB. This corresponds to the Dolphin browser.

So I move it to the SDCARD ( using the normal procedure - menu - manage apps - select dolphin browser and click on Move to SD card ).

Not every application allows by itself to be moved to the sdcard. You can e.g. use TB to force this.

Pay also attention that applications moved to the sdcard will become unavailable when the phone is connected as USB drive to your computer.
​

b/ Use an application like Cache Clear, that can automatically clean your cache once a day.
[Android Software/Hacking General [Developers Only]] dk_zero-cool:
With or without rmount, the internal data is still used. There are a lot of system data/config that is never moved to the sdcard as it causes problems on android 4.x

Also swap could end up eating your write limit, which is fine on an external card as it can be replaced. Your internal can't.
[Android Software/Hacking General [Developers Only]] turnerlaura05:
Thank you so much for the information!!!
[Android Software/Hacking General [Developers Only]] sverfaillie:
Thanks, never thought about that write limit - indeed, we need to be careful about this. So putting a swap internally is not an option.

With your experience, will an extra swap partition on the sdcard enhance the performance of the phone ? ( e.g. faster startup of cached / sleeping applications, .... ). or is it not worth the hassle ?

To further optimize, is it an option to reduce the internal /data partition and extend the /system partition ? I have now 3MB used of the 160 MB.

Or can we further enhance the script, by moving back some applications to the internal /data partition ? ( by using a symbolic link e.g.) when using only r-mount.
[Android Software/Hacking General [Developers Only]] BleedingIris:
I'm using Cm 9 build 11 and using this script causes a permanent low memory notification and it's not allowing me 2 install apps from play store.. can someone help me out...

Using your m2SD r mount

Data has 1.9 GB total.. 150MB free

SD ext (original data) has 140 MB free out of 150 MB

Cache 50 MB by cyanogen Dalvik filled. 5MB free

Total 359 apps