yashsingh1/xdaforums huggingface dataset:
[Android Software/Hacking General [Developers Only]] voyager20021:
Good thing about this script> flashing another kernel keeps M2SD, so i don`t have to reflash the script every time i change kernel, as other a2sd scripts. I hope this is normal behaviour, cause it`s great. Thanks man.

Question> can i flash 4.2.0. aroma over 3.0.4 legacy withoul losing installed apps?
[Android Software/Hacking General [Developers Only]] topgeardave:
Hey DK, I love your script but I face the same problem as the other 2 guys on the Mildwild CM 4.3 ROM. It just results in the joker splashscreen. I can provide a log for you if you want. And I can attach the init.d folder if you wish?

Edit: Do you know which files in the init.d are used by apps2sd?
[Android Software/Hacking General [Developers Only]] Fightingirish:
Okay, so I installed the zip file as per the instructions. Now my phone is stuck on the IHO splash screen. It won't do anything else. I tried removing the battery and going into reboot mode. Nothing! What's going on here???

EDIT: Figured it out. Just reflashed CM7 and got back in.
[Android Software/Hacking General [Developers Only]] voyager20021:
Man, thanks a lot for you versatile script.

Please read this

http://xdaforums.com/showthread.php?p=25198376#post25198376

I would appreciate your input on the matter.
[Android Software/Hacking General [Developers Only]] Ryther:
I have the same problem as other people, installed 4.2.0 over a couple of ROMs (MW CM 4.6, GV 3.3, COS-Bravo) and stuck at the splashscreen, tried both Aroma and Legacy with the same result; I've tried to flash 3.0.4 over 4.2.0, but still stuck at splashscreen. 3.0.4 works without problem.

I cannot provide a logcat atm, but i think it's the same problem as the others!

Regards, and thanks for this marvelous script :D
[Android Software/Hacking General [Developers Only]] topgeardave:
Mate could you upload 3.0.4? It seems as 4.2.0 has something broken. I want to try this script on GB AOSP builds
[Android Software/Hacking General [Developers Only]] Ryther:
The script is really good and customizable ;)

Here the previous build, but there is only the legacy one, no Aroma installer for this ;)
[Android Software/Hacking General [Developers Only]] topgeardave:
Cheers :) Works fine on Mildwild 4.3 :D
[Android Software/Hacking General [Developers Only]] bladez:
Hello.

Can somebody tell me is it worth to go from

S2E

to these scripts? Will there be a performance gain or free space gain?
[Android Software/Hacking General [Developers Only]] jackson0829:
Hi,dk_zero-cool:

Can you upload "mounts2sd-3.0.4_Aroma" which suitable for my Hauwei V8150

customer ROM ?

P.S:mounts2sd-4.2.0_Aroma could not work with my Hauwei V8150 customer ROM as well?

Thanks
[Android Software/Hacking General [Developers Only]] Ryther:
There was no aroma installer for 3.0.4
[Android Software/Hacking General [Developers Only]] voyager20021:
Aroma 4.2.0 not working for me either on custom CM9. Stuck on boot animation.
[Android Software/Hacking General [Developers Only]] mansamihai:
HTC Desire STOCK 2.2.2 Root APP2SD Script?

Hello all.I got a question.I have an HTC Desire rooted with stock android 2.2.2.I want more space so i heard about APP2SD script that does the job.The question is :This scripts are compatible with stock android 2.2.2 ?? If yes plss help me get an script that is compatible.

PS: I found this:http://xdaforums.com/showthread.php?t=1342387

Its compatible?
[Android Software/Hacking General [Developers Only]] dk_zero-cool:
No Stock ROM's are not supported because they do not have init.d support which means no way of running the script during boot. You need a custom ROM with init.d support. And there is no other scripts either. You will always need init.d in order to execute scripts during boot.
[Android Software/Hacking General [Developers Only]] deckoff:
Hello.

I use HTC HD2 with Froyo-Sense ROMs. I need Froyo, GB roms not stable enough.

I badly want the m2sd rmount option, but when I install the zip, the ROM will bootloop (tried with two different ROMs)

My questions:

- Is this script compatible with froyo.

- how can I check if the ROM has init.d support.

- Can this support be added later

I know the last two questions a little bit off-topic, but wont refuse any help given.

Or probably older busybox version or busybox on wrong location. Busybox is version 1.15, there are some scripts in /etc/init.d - so there is init.d support...
[Android Software/Hacking General [Developers Only]] Ryther:
Try with the 3.0.4 version I've posted some page back, 4.2.0 don't work on a lot of rom
[Android Software/Hacking General [Developers Only]] jackson0829:
Who can provide me 3.0.4 version Aroma Installer?

My Huawei U8150 Android phone only can work with "Aroma" Installer!
[Android Software/Hacking General [Developers Only]] DIXES:
Can't it work with Huawei IDEOS S7 running custom 2.2.2 ROM with init.d support?

The tablet won't boot in system after flashing this script with CWM.
[Android Software/Hacking General [Developers Only]] starix:
dk_zero-cool

What the hell Arm v7 binaries doing inside the package?

What about Arm v6 devices. It hangs my LG P500 during boot. I think the same situation with another devices
[Android Software/Hacking General [Developers Only]] jackson0829:
My Huawei U8150 Android phone(Arm v6 devices) was hanged during boot as well no matter installed "mounts2sd-4.2.0_aroma or legacy .

Somebody indicated mounts2sd-3.0.4 has no problem to installation.

maybe you can try it! (currently only "mounts2sd-3.0.4_legacy "available!

http://xdaforums.com/showpost.php?p=24138810&postcount=209 )
[Android Software/Hacking General [Developers Only]] dk_zero-cool:
Might be the problem for some, but I have also seen Desire issues which is an Arm v7 device.

However, I will work on the issues and also on a way around the binaries.
[Android Software/Hacking General [Developers Only]] Caffeine81:
I have serious problems with M2SD. I'm using the BCM ROM (3.3U1) for HTC Desire which has M2SD included.

After a while the sd-ext partition is remounted readonly. Of course this causes many apps to crash and I eventually have to reboot the phone.

In the output of dmesg I can see that there are read/write errors to the SD. I recently bought a new class 10 SD card and increased readahead to 2048kb. Could this be an issue or is the SD card broken, maybe?
[Android Software/Hacking General [Developers Only]] klausalex:
Well...the installation was easy and smooth only that immediately after the phone gets stuck at "post".

I read here that sometimes takes 5-6 minutes to load everything at first reboot after installing the script so I let the phone on my desk for 30 minutes and it's on the same "Why So Serious?" screen by Alpharev recovery with no sign that will move forward.

Is there anything I can do or just wipe and start installing a new rom from scratch?

Edit: Yeah, well, wipe + rom reinstall "fixed" it
[Android Software/Hacking General [Developers Only]] Caffeine81:
After setting readahead to the default value of 512kb the problem seems to be gone. Phone is stable for two days now.
[Android Software/Hacking General [Developers Only]] dk_zero-cool:
It took longer than expected (Mostly due to lack of time), but issues regarding boot loop etc. has now been fixed. I have tested it in several 2.2, 2.3 and 4.0 ROM's (Including the Desire ROM's posted in this thread regarding boot problems)
[Android Software/Hacking General [Developers Only]] jackson0829:
Thanks for new mounts2sd-4.4.0_aroma & legacy update!

I will test it in my Hauwei V8150 Andriod phone and feedback to you soon!!:D
[Android Software/Hacking General [Developers Only]] ced-rick:
Hello dk_zero_cool I've tried m2sd with leedroid 5.4 GB and the first install with aroma is ok "succesfully" but after reboot nothing! with terminal emulator "m2sd not found":confused:

I take a look in init.d and nothing then I extract the 2 files and with root explorer I paste the 2 files in the init.d and change permission, I reboot and surprise when I look in Titanium back-up I have the partition with a2sd:) but when I type m2sd in terminal emulator m2sd not found:confused:
[Android Software/Hacking General [Developers Only]] dk_zero-cool:
Run "ln -s /system/etc/init.d/10mounts2sd /system/bin/m2sd". That command is just a link to the script.
[Android Software/Hacking General [Developers Only]] ced-rick:
Ok Thanks:)
[Android Software/Hacking General [Developers Only]] starix:
Las version says "Error: ... mounts2sd-4.4.0_legacy.zip (Status 6)"

So I repacked and signed legacy version. Try it if You got the same error
[Android Software/Hacking General [Developers Only]] .Ejekt:
So, let me get this straight. This is a flashable zip that migrates all system data and user apps to the SD card? Without sacrificing performance or anything of the sort? Well, that's just awesome.
[Android Software/Hacking General [Developers Only]] dk_zero-cool:
Depends on the speed of your sdcard. Moving the Apps to the sd-ext partition does no harm. Moving Dalvik Cache and App Data might do some to the performance with slow SD-Cards. I have a class 6 sdcard. I don't see much drop in the performance by moving Dalvik and App Data other than the boot time. My old class 2 did not like having the App Data on the sdcard even after the phone was booted. The APK's files however had no problems.
[Android Software/Hacking General [Developers Only]] jackson0829:
Hi,dk_zero-cool :

I tested "mounts2sd-4.4.0_aroma" in my Hauwei V8150 Andriod phone

(ARM V6 device) and come out the results as beneath:

(1) "mounts2sd-4.4.0_aroma" can be successful installed in my Hauwei V8150.

(2) There are strange symptoms come out between different customer's ROM:

a. In "LeanFUSION 2.0"_Android2.2 ROM

(http://xdaforums.com/showthread.php?t=1660322) :

could not move /data/dalvik-cache into /sd-ext/dalvik-cache

(only can move /data/app & app-private,app-system into /sd-ext/xxx...,)

b. Another " CyanogenMod 7.2-RC2_Android2.37 ROM

(http://xdaforums.com/showthread.php?t=1456890)

can move all data/dalvik-cache,app,app-private,app-system into

/sd-ext/xxx... no problem.

I have try to resetting all the "mounts2sd-4.4.0_aroma" custom option

still could not move /data/dalvik-cache into /sd-ext/dalvik-cache for

"LeanFUSION 2.0"_Android2.2 ROM,can you teach me how to improve

it??:confused:

Thanks a lot
[Android Software/Hacking General [Developers Only]] FUSIONdev:
LeanFUSION moves dalvik cache on /cache/dalvik-cache using a symbolic link for the dalvik-cache directory

Cyanogenmod has dalvik cache directly created on cache partition.

I didn't look at this script source, but leanfusion supports officially link2sd, use it.
[Android Software/Hacking General [Developers Only]] ShadowEO:
Glad to see the ARM7 specific binaries were removed used to remove them and then release a modified package over at Android Central for the Optimus S users. It works great by the way, you do great work :-)
[Android Software/Hacking General [Developers Only]] dk_zero-cool:
I need a "df -h" command output.

I you look at that log you will see

Zip inflate: write failed: No space left on device

This is properly do to the fact that you are trying to move dalvik to a partition with to little partition size to store the dalvik-cache. The script checks the space before moving any content from one partition to another, but since the dalvik-cache is not moved but rebuild, it cannot do an available free space check for this.

But since you are using a Sandvold based ROM I guess that you are using an HTC Desire, so I will try this ROM with my script on my own Desire later to day.
[Android Software/Hacking General [Developers Only]] 1982Strand:
Ok, here's the output:

a/local/bin:$PATH <
app_54@android:/ $ su
app_54@android:/ # df -h
Filesystem Size Used Available Use% Mounted on
tmpfs 202.6M 32.0K 202.6M 0% /dev
tmpfs 202.6M 0 202.6M 0% /mnt/asec
tmpfs 202.6M 0 202.6M 0% /mnt/obb
/dev/block/mtdblock3 250.0M 168.4M 81.6M 67% /system
/dev/block/mtdblock5 147.6M 61.7M 85.9M 42% /sd-ext
/dev/block/mtdblock4 40.0M 1.4M 38.6M 4% /cache
/dev/block/mmcblk0p2 1007.9M 138.8M 817.9M 15% /data
/dev/block/mtdblock5 147.6M 61.7M 85.9M 42% /cache/download
/dev/block/vold/179:1
13.8G 4.5G 9.3G 33% /mnt/sdcard
/dev/block/vold/179:1
13.8G 4.5G 9.3G 33% /mnt/secure/asec
app_54@android:/ #

Hope it's readable, it's done from the phone :-)

Sendt fra min HTC Desire med Tapatalk2
[Android Software/Hacking General [Developers Only]] dk_zero-cool:
Makes on sense, there are plenty of space on every partition. I will install and test this ROM later to day, then we will see
[Android Software/Hacking General [Developers Only]] 1982Strand:
Ok, one thing I left out. This output is made with my original rom, with the data2ext script, but I believe the output would be the same, as I'm trying to do the same setup with your script? Otherwise my output is obsolete.. When I get home I'll see if I get the same output after installing your script, if it's at all possible when it won't boot?

Sendt fra min HTC Desire med Tapatalk2
[Android Software/Hacking General [Developers Only]] dk_zero-cool:
It would be more valid with my script as this is what coursing the problem. And yes, ADB should work (If boot.img is currectly made).
[Android Software/Hacking General [Developers Only]] korline:
Hi,

I'm using m2sd (move apps, data, download cache) in your rom BCM, and I don't find how to move only non system data.

I don't think if this option exist in m2sd, but it was added in amaraluz's ad2sdx and in timbit's ia2sd.

Is there a special combo with options to do this ? I don't find it ;)

Thanks !
[Android Software/Hacking General [Developers Only]] dk_zero-cool:
That cannot be done in M2SD. I don't like the hacked way it is done in other scripts and the limited init.d is not great for this kind of thing. However if you are using my ROM, then you now have the extended init.d system which I am working on a new A2SD script for that will be optimized for the BCM ROM. This script will be able to keep system data and system dalvik-cache on the internal while storing the rest on sd-ext.

I will also at some point build these options into M2SD for ROM's using the extended init.d
[Android Software/Hacking General [Developers Only]] dk_zero-cool:
The problem was that there was still some other scripts available. I have added a new update where I have added a lot more scripts to the auto search and delete option. It works fine now.
[Android Software/Hacking General [Developers Only]] 1982Strand:
Wow, great! Thanks :)

May i ask what extra scripts it deletes from the rom i use? Thought it was only the 2 in init.d i mentioned earlier..
[Android Software/Hacking General [Developers Only]] dk_zero-cool:
sd ext scripts, mounting scripts, cache scripts, swap scripts etc. Everything that does what m2sd can do.
[Android Software/Hacking General [Developers Only]] twics:
Hi:)

I tried to install this but I couldnt get it to work, the Aroma version is pretty cool, is this a AOSP only script? Iwould like to run this on (Runny Rom sense3). as AD2SDX seems a little slow.
[Android Software/Hacking General [Developers Only]] dk_zero-cool:
It is made to work with anything. At least that's the goal. But I will need a little more information other than it does not work?

From what I have seen lately, most of the issues is coursed by other sd-ext scripts not being deleted before M2SD is installed. You cannot have two scripts doing the same job. So provide a little more information of your problem and check /system/etc/init.d to make sure that there is no other script working on cache, swap and sd-ext.

EDIT:

By information I mean, description of your problem, link to the ROM your using, which device your using etc.
[Android Software/Hacking General [Developers Only]] twics:
OK well first of all thanks for replying, I did what install instuctions said, I got the impression from reading OP it should work on any Rom too, I assumed it would delete my AD2SDX setup and install M2SD. Using Aroma version/custom install, on first boot couldnt get past HTC boot screen it was just hanging pulled battery but same result, so I did full wipe of everything (factory user data/ cache and dalvik cache battery stats) reinstalled (Runny Rom v6.0) Aroma install) and without reboot installed M2SD Aroma install version too and then rebooted, this time phone booted up but I was getting low memory warning insufficiant space internal memory full, and Market app(play store) and titanium backup fc all the time as I tried to install terminal emulator, at this point I assumed all evidence of my AD2SDX setup was gone so I tried to install M2SD again but got stuck at the HTC boot screen again:confused:

Discription of my setup is my Sig but Im using v6.0 not 6.1.1:)

Edit> with M2SD Internal mem was 400kb after restoring AD2SDX im back to 707mb
[Android Software/Hacking General [Developers Only]] redplate:
Hi, first thanks for this script. Very good work. I think its working fine since all installed apps are on sd-ext partition (checked with root explorer).

But why im not able to see the additional space in settings->apps?

I still have the default systemspace left.

And anohter question is how exactly does the swap partition work?

Thanks in advanced.

Redplate
[Android Software/Hacking General [Developers Only]] dk_zero-cool:
Well I will have a look at this to day

When android looks for available space, it checks how much space there is left on the /data partition. The script moves things away from /data and places them on /sd-ext where it links them back to /data. Android does not see the extra space because it does not check the available space on /sd-ext, but it will see the space you are saving on /data by moving things away from there.
[Android Software/Hacking General [Developers Only]] Cookie Ninja:
Hi, I installed your script by aroma installer. I have a class4 16 Gb card with a 1 Gb ext4 SD ext partition and a 512 Mb swap partition. I am running ARHD 2.13 ROM with 4ext touch recovery. Your script does not seem to move anything to SD ext, though I selected apps and swap to SD card in aroma launcher.

Second point, your aroma launcher does not accept touch inputs and uses primitive vol up/down and select by power button (no touch to select). Am I doing something wrong?
[Android Software/Hacking General [Developers Only]] twics:
Thanks alot:)
[Android Software/Hacking General [Developers Only]] ale8530:
Hello dk_zero meanwhile, thank you for your excellent work, I just wanted to point out, that works M2SD, not working properly, enabling and disabling commands "m2sd dalvik" and "m2sd cache", does not change the application memory in the "sd ext", so after applying the terminal gives me some memory too low.
[Android Software/Hacking General [Developers Only]] :
I have a problem ater installing this script. Data connection for all installed ROMs (ICS HWA) is lost. Root directory / and /system are always RO after reboot (Is it normal?).

Is it any solution for it? THX in advance

root@android:/ # free
free
total used free shared buffers
Mem: 413124 399304 13820 0 15132
-/+ buffers: 384172 28952
Swap: 249800 0 249800
root@android:/ # df
df
Filesystem Size Used Free Blksize
/dev 201M 48K 201M 4096
/mnt/asec 201M 0K 201M 4096
/mnt/obb 201M 0K 201M 4096
/system 200M 143M 56M 4096
/data 205M 40M 164M 4096
/mnt/cache 5M 784K 4M 4096
/sd-ext 915M 216M 698M 1024
/data/dalvik-cache 915M 216M 698M 1024
/data/app 915M 216M 698M 1024
/data/app-private 915M 216M 698M 1024
/data/app-system 915M 216M 698M 1024
/mnt/sdcard 13G 4G 9G 32768
/mnt/secure/asec 13G 4G 9G 32768
/mnt/asec/com.ebomike.ebobirthdaycontactsync-1 2M 100K 1M 4096

1|root@android:/ # mount
mount
rootfs / rootfs ro,relatime 0 0
tmpfs /dev tmpfs rw,nosuid,relatime,mode=755 0 0
devpts /dev/pts devpts rw,relatime,mode=600 0 0
proc /proc proc rw,relatime 0 0
sysfs /sys sysfs rw,relatime 0 0
none /acct cgroup rw,relatime,cpuacct 0 0
tmpfs /mnt/asec tmpfs rw,relatime,mode=755,gid=1000 0 0
tmpfs /mnt/obb tmpfs rw,relatime,mode=755,gid=1000 0 0
none /dev/cpuctl cgroup rw,relatime,cpu 0 0
/dev/block/mtdblock3 /system yaffs2 ro,noatime,nodiratime 0 0
/dev/block/mtdblock5 /data yaffs2 rw,nosuid,nodev,noatime,nodiratime 0 0
/dev/block/mtdblock4 /mnt/cache yaffs2 rw,relatime 0 0
/dev/block/mmcblk0p2 /sd-ext ext4 rw,nosuid,nodev,relatime,commit=15,barrier=1,data=ordered,noauto_da_alloc 0 0
/dev/block/mmcblk0p2 /data/dalvik-cache ext4 rw,nosuid,nodev,relatime,commit=15,barrier=1,data=ordered,noauto_da_alloc 0 0
/dev/block/mmcblk0p2 /data/app ext4 rw,nosuid,nodev,relatime,commit=15,barrier=1,data=ordered,noauto_da_alloc 0 0
/dev/block/mmcblk0p2 /data/app-private ext4 rw,nosuid,nodev,relatime,commit=15,barrier=1,data=ordered,noauto_da_alloc 0 0
/dev/block/mmcblk0p2 /data/app-system ext4 rw,nosuid,nodev,relatime,commit=15,barrier=1,data=ordered,noauto_da_alloc 0 0

/dev/block/vold/179:1 /mnt/sdcard vfat rw,dirsync,nosuid,nodev,noexec,relatime,uid=1000,gid=1015,fmask=0702,dmask=0702,allow_utime=0020,codepage=cp437,iocharset=iso8859-1,shortname=mixed,utf8,errors=remount-ro 0 0
/dev/block/vold/179:1 /mnt/secure/asec vfat rw,dirsync,nosuid,nodev,noexec,relatime,uid=1000,gid=1015,fmask=0702,dmask=0702,allow_utime=0020,codepage=cp437,iocharset=iso8859-1,shortname=mixed,utf8,errors=remount-ro 0 0
tmpfs /mnt/sdcard/.android_secure tmpfs ro,relatime,size=0k,mode=000 0 0
/dev/block/dm-0 /mnt/asec/com.ebomike.ebobirthdaycontactsync-1 vfat ro,dirsync,nosuid,nodev,relatime,uid=1000,fmask=0222,dmask=0222,codepage=cp437,iocharset=iso8859-1,shortname=mixed,utf8,errors=remount-ro 0 0

root@android:/ # m2sd status
m2sd status

Status:
-------
Mounts2SD [loaded]
- Apps [loaded]
- Data []
- Dalvik [loaded]
- CmDalvik []
- Cache []
- SWAP [loaded]
- RMount []

Device info:
------------
SD-EXT device [/dev/block/mmcblk0p2]
Swap device [/dev/block/mmcblk0p3]

Locations:
------------
Cache []
[Android Software/Hacking General [Developers Only]] dk_zero-cool:
Well that is new. Can't see how M2SD would be the course of this in any way. And yes of course the system directory should be RO, changing it can break the system. The root directory does not really matter because this is restored from the ramdisk image on each boot (You can't change it from within a booted system).
[Android Software/Hacking General [Developers Only]] hcnimda:
i can confirm it...I have to switch to another script, but i m not happy with it. Hope you can fix M2SD soon.

thx
[Android Software/Hacking General [Developers Only]] :
Thx for your answer. OK system can be r/o but /etc is need to prepare some conf. files for prepare data connection. It always set to r/o after m2sd install process.

But this script is the best from all. Only this one thing...
[Android Software/Hacking General [Developers Only]] dk_zero-cool:
Well without more information, I cannot fix anything. Data works fine on my Desire with ICS HWA, so I cannot collect any of the needed information from my own phone. If you think that this has to do with the script, then I will need to know what device and ROM you are using. I need some logcat's, m2sd logs. I need to know your m2sd configurations. I need output of your mountpoints (df -h) and so on.
[Android Software/Hacking General [Developers Only]] dk_zero-cool:
Android is build on the fact that the /system operates in RO mode, so it will not in any way try to change something there. This is why we have the /data partition.

But I will change the script to only reset the /system partition's RO mode if the filesystem was already in that mode when M2SD was started. That should take care of that part.
[Android Software/Hacking General [Developers Only]] hcnimda:
:o seems it was a missunderstanding...your guys told about the data filesystem i think. I have an other problem. After flash a rom boot first time I have data connection to my provider E or H. After I install M2SD and boot again I have no data connection to my provider. I use Paranoid for hd2. Maybe there is problem with ROM in combination with M2SD. I don t know!

Cu