yashsingh1/xdaforums huggingface dataset:
[Android Apps and Games] pkscwc:
It works on CM11 Android Kitkat 4.4.4 with my Redmi1S phone.

In Redmi1s, there is only 8gb internal memory. So, I bought 64gb card with hope that it will serve my needs. However, the updated stock rom of Redmi1s (miui rom) allowed for only limited use of memory card. Which forced me to use CM11, Android Kitkat 4.4.4 unofficial rom developed by Kra1o5. (great job)

Thereafter, I started with super apps2sd. It partially worked.

Finally, I opted for Mounts2sd. It's working now for a month with some minor adjustments.

First, after installation of apk, I have to modify the file /system/etc/init.d/10mounts2sd-runner by adding 2 lines on the top for mounting / and /system in rw mode.

mount -o rw,remount /

mount -o rw,remount /system

Thereafter, to remount these directories in ro mode, I have to modify the file /system/etc/mounts2sd.sh by adding similarly 2 lines in the end.

mount -o ro,remount /

mount -o ro,remount /system

Further, and most important, to keep the mounts2sd running over reboots, I have to install scriptmanager and add the 10mounts2sd-runner script in it to run as root during boot process.

All is well thereafter. http://cdn3.xda-developers.com/images/smilies/good.gif
[Android Apps and Games] lordbone:
Hello everyone!

I'm having difficulties running either Link2sd or mount2sd, and they give the same errors (Invalid argument when trying to mount). I included a log file so maybe someone smarter than me can help me out how to make this work.

I have a 32 GB SD card with ~24 GB FAT32 partition and ~12 GB ext2/3/4 (tried all of them) partition (in this order). The System and File managers have no problem accessing the FAT32 partition.

I use CM 11 ROM (with CWM recovery) and I have a Samsung Galaxy Tab S 8.4 (TM700). I also noticed in the logs it says I have S-on on system partition, but I thought that is a HTC only thing, and also I have custom rom and recovery so it shouldn't be possible?

If anybody has any ideas I would really appreciate it, since the internal 16 (12) gigs are not enough for the apps and games I want. Thank you in advance.
[Android Apps and Games] andy hall:
I need to raise an issue that is affecting the latest builds of Lollipop Roms built for the HTC Sensation (the only device I can test it on)

What we are observing is as follows.

Install M2SD and add the application script. (granting SU)

I reboot at this point

Go into M2SD and add Davlic Cache to be moved to SD-EXT

Reboot

Android is Upgrading

Starting APPS

Device Works fine

Add some apps to the device, does not seem to mattter how many at this point.

Reboot again

Get low on storage message, however the amoutn of data on SD-EXT has reduced and also see a message about /data being full.

This has bee seen on LiquidSmooth (unofficial) Lollipop build 2015-01-24 and Ivanich CM12 2015-01-29

Reverting to LiquidSmooth (unofficial) Lollipop build 2015-01-13 and the issue does not exist.

I understand the issue has only appeared on the latest version of the Ivanich Rom as well.

Sorry no logs at present as device is in daily use.
[Android Apps and Games] tobitege:
[MENTION=3750366]andy hall[/MENTION]: do you see any errors in Mount2SD's own log (might need to enable it if not already done)?
[Android Apps and Games] andy hall:
logging is on but I cannot try the move again fro a couple of days as the phone is my daily driver.
[Android Apps and Games] andy hall:
Here are the Logs, I can see differences but am hugely rusty on my unix/linux stuff.

Dailed Debug was taken off the device after it finally stopped working correctly, working was taken while it was working but on a different rom version.

Both debugs are taken from the same device same rom but only one build apart.

Please do not home in on the S-ON statement as it says that for both the working and failed.
[Android Apps and Games] andy hall:
I think the S-ON is a red herring, I do have a htc and it says that in the script log even when it works perfectly
[Android Apps and Games] tobitege:
Idk what the app is not doing when it detects S-ON, so I rather not speculate on that or its side-effects.

The "failed" log has these kind of warnings:

W/Not everything from '/data/user' could be moved to '/sd-ext/user'

Could be either that sd-ext was full at the time or the source files could not be copied/moved due to permissions.

Still unclear, if S-On has anything to do with it or not. Sorry, but can't provide any solutions for you except to go with S-Off as it works with that here at least. ;)
[Android Apps and Games] andy hall:
OK, I can see that s-on can be an issue it does cause problems. What I am struggling with is that Both logs are from the same device, both running liquid smooth lollipop ROM, working is build 2015-01-13 failed is build 2015-01-24. No mods to device in between and is reproducible. The same device has moved dalvic on Viper 4.1 Carbon 4.4.4 and previous 5 ROMs of different flavours with no problems. The HBOOT shows as S-OFF. Is there a foolproof check for S-OFF. I obtained the Off using rumrunner.
[Android Apps and Games] tobitege:
[MENTION=3750366]andy hall[/MENTION] Have you tried SELinux mode changer app?

Maybe it's due to enforced mode (instead of permissive) on your rom?
[Android Apps and Games] andy hall:
I have not, I can give it a go, just for reference here is hte hboot.

What I shall alos do is drop an older ROM onto the device, probably Viper and see what the logs come back with.

Also just for info, I am not the only one on snesation seeing this issue.
[Android Apps and Games] jaxenroth:
thx for your input guys. ill mess around with it tonight and see what happens. thx. jake
[Android Apps and Games] dk_zero-cool:
Use the new app which can be downloaded from in here. It is better suited for handling existing scripts.
[Android Apps and Games] nagas89:
After uninstalling the market app and installing the mounts2sd app from xda, I reboot my nexus. Now when I turn it on, it loads till the cyanogenmod animation and there it still stays after 2 hours. I can push any button without reation.when I take the akku out and start it again it loads to the same screen .

And now ?
[Android Apps and Games] dk_zero-cool:
You might have a build-in sd-ext solution in the ROM that you are using. This cannot just be removed like regular scripts, and so it creates issues when used together with other solutions like this one. Not much to do, other than finding another kernel for your device and ROM.
[Android Apps and Games] nagas89:
I made a full wipe and installed your app version again. Now when I try to install the script over your app I get a fail message...so it says fail to copy mounts2sd to system/etc/ mounts2sd. Sh

In my clockwork recovery I can mount different options like cache, data but without any issues...

What to do ?
[Android Apps and Games] dk_zero-cool:
Do you have an HTC device with S-On? In that case you will have to use the old app for now. I am currently adding the recovery fallback installs for these devices into the new app, but the one currently available does not have this so on S-On devices you will not be able to install the script from the app.
[Android Apps and Games] Nasheich Xfiles:
safe ?

is it safe use this ?
[Android Apps and Games] Skippernl:
Are you serious?

If you know what you are doing it is safe. The program has various safeguards to prevent mishap.

Skippernl

Verstuurd vanaf mijn HTC Desire met Tapatalk 4
[Android Apps and Games] Donat.Callens:
SQLite3 binary bootloop

While using version 3.2.0 and after applying the fix to the SQLite3 binary I get a bootloop and the phone never gets further than the boot animation. I can confirm it was working beforehand as I did a successful test prior to installing the fix for the SQLite3 binary. All options were left untouched. I can give full specs of the phone and logs, if you can direct me to the correct procedure to do so.
[Android Apps and Games] dk_zero-cool:
No need for logs, your ROM most likely does not like the binary I packed, I will have a look at them. However, if your ROM requires sqlite3 in order to boot, then it must mean that yours is working just fine, so why try to fix it?
[Android Apps and Games] MetinKale38:
If you havent, install adb on your computer (google is your friend)

First wait a while (not longer than it would normaly take to boot) to make sure the script is executed.

Then check if adb is running on your phone with "adb devices".

If your phone is offline or not even shown you can't access anything, the logs will be erased on a reboot (e.g. to recovery) because they are on a tmpfs folder.

If it is online, just enter "adb pull /mounts2sd-tmp" and all the logs will be copied to your computer.

Tapatalked... just Tapatalked...
[Android Apps and Games] crullick:
nothing to add

+1
[Android Apps and Games] TopperBG:
Confirm, same to me (device and ROM are in my sign) ver. 3.3.0.

With XDA App I don't see newer 3.4.0 with fix, as I hope.

I've got boot to kernel and nothing happens. Removed script from init.d but nothing again.

Will restore nandroid backup little old but.... and will try latest 3.4.0
[Android Apps and Games] dk_zero-cool:
I am working on a fix for this, but I had some more important issues to fix which was spamming the crash reporter on Play Store. For now, just avoid installing the sqlite3 binary from the app.

B.t.w, current version is 3.3.2 :)

And this version does not fix sqlite, so don't attempt it before version 3.3.4 which should be the release with this fix.
[Android Apps and Games] TopperBG:
Sorry my mistake 3.3.2 :/

And thank you for your effort and care of us panic users :)

BTW:Can't you check for existing sqlite binaries before copy within app ? Obviously most ROMs have their own (maybe patched) versions
[Android Apps and Games] dk_zero-cool:
I can't. Only 10% of the threshold issues is due to missing sqlite3 binary, 90% is due to broken sqlite3 binary. So this feature needs to copy the binary regardless of whether this exists or not.

But I do think I have the problem figured out, so it should not take long before an update is out. And to be sure, just do a recovery backup before trying it. That way, you can quickly go back if it goes wrong.
[Android Apps and Games] dk_zero-cool:
Okay, new version is out with a hopefully fixed sqlite install problem
[Android Apps and Games] TopperBG:
Reporting: 3.3.4 resolve threshold problem, also Data is proper displayed (w/o any additional error infos). W/o installing sqlite binaries !
[Android Apps and Games] dk_zero-cool:
Okay, thanks for feedback :)
[Android Apps and Games] tobitege:
You could update your HBoot to 1.29 which is out since at least 2012. :)
[Android Apps and Games] olegoil:
The same problem, but have nothing changed.. ((
[Android Apps and Games] andy hall:
being cheeky :D, got a link lurking around
[Android Apps and Games] tobitege:
I had to re-search myself... all so long ago, but eventually read that you should be fine with 1.27 that you have and that version doesn't sound to be related to the issue at hand (didn't find an actual download link for 1.29, but you might still try the Sensation forums).

I'd hope for the developer of this tool, though, to chime in and share some light on your logs and the causes for different messages.
[Android Apps and Games] kenil89:
Without root we can use???

Mod edit: Link removed
[Android Apps and Games] andy hall:
found it, did it, made a couple of differences, only got the S-ON line now, no data locks.

Still blew out at the second reboot.

am now trying the previously working version of the rom to ensure all is equal.
[MENTION=3147360]dk_zero-cool[/MENTION] any ideas or illuminations you could give us?
[Android Apps and Games] Saakshath:
Is der any script used in terminal to move dalvik-cache 2 sd-ext for cm11 roms with art as runtime.?
[Android Apps and Games] radhx:
Is it true that using SWAP depletes the life-span of SD card? Read this warning from few swapping apps on Google Play Store.

I'm already using Mounts2SD with 25GB FAT32 and 4GB sd-ext partitions without any issues.

Now if I want to use swap, I will have to repartition my SD card. I can take backup of FAT32 partition, but how to take backup of sd-ext partition? Or do I have to uninstall Mounts2SD completely before proceeding with creation of new partitions?

Please advice.

Thanks & Regards.

Edit:

After moving Applications and Data to sd-ext, I gained around 500+MB on internal memory, so now I have around 775MB free out of 1.18GB.

Libraries option is not available , may be because my handset is S-ON, correct me if I'm wrong.

If I move System Apps also to sd-ext, how much gain can I expect? And will it affect overall performance of handset?
[Android Apps and Games] smint86:
Unfortunately, it's not possible to flash the recovery zip on my HTC Desire S (saga). I'm using the latest available TWRP for my device, which is 2.8.1.2-unofficial. It's also recommended by the ROM maintainers. But the aroma installer always gives me an error and aborts the installation. Would it be possible to deliver a non-aroma version? I already tried to do it on my own, but the aroma stuff is a little bit to complex for me.

---------- Post added at 06:15 PM ---------- Previous post was at 06:05 PM ----------

I looked a little bit deeper, maybe someone could give some more tips.

In /META-INF/com/google/android/ I found aroma-config, with the following code:

﻿### LICENSE:
#
# Copyright (C) 2011 Ahmad Amarullah ( http://amarullz.com/ )
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
#
###

textbox(
# -- Headline -- #
"Mounts2SD Recovery Installation",

"<b>Install the Mounts2SD upstart script to the system partition</b>",

# -- Icon -- #
"@info",

# -- Text -- #
"This installation will restore the Mounts2SD upstart script to the system partition in case the script was lost due to ROM update or other reasons.\n\nPress next to start the installation."
);

setvar("exit_icon", "alert");

pleasewait("Unpacking installation content...");
if
ziptotmp("startup_script.sh", "install.sh") && ziptotmp("10mounts2sd-runner", "10mounts2sd-runner") && ziptotmp("mounts2sd.sh", "mounts2sd.sh")
then
pleasewait("Running Installation...");
if
exec("/tmp/aroma-data/install.sh")
then
setvar("exit_icon", "done");
endif;
endif;

ini_set("text_next", "Exit");

textbox(
# -- Headline -- #
"Script Output",

"<b>Output from the installation</b>",

# -- Icon -- #
"@" + getvar("exit_icon"),

# -- Text -- #
read("/tmp/install.log")
);

If I'm getting this right, while installing it takes "10mounts2sd-runner", "mounts2sd.sh" and "startup_script.sh" from the main folder and extracts it to /tmp (renaming "startup_script.sh" to "install.sh"). After this, it executes "install.sh" (former "startup_script.sh").

So if I'd try to create a new flashable zip without aroma, I'd have to take the two .sh-scripts and the "10mounts2sd-runner" init.d-script inside a new file, making it execute "startup_script.sh". So far so good? :D

I hope a get a helping hand at this point.
[Android Apps and Games] panel1:
Thank you very much for your application. It have successfully saved my Samsung Galaxy Xcover 2 from being ended in trash :D

If you are interested, I can make Slovak translation for you.

Best regards,

Pavol
[Android Apps and Games] AABplay:
Great app, thanks!
[Android Apps and Games] Eversmile23:
does not work, my phone hangs during boot.

It does not work on my Lenovo A 7000, It created problems, my phone booted , then tried to reboot and hang midway at the logo. I restored system previously backed up. Uninstalled the app immediately.
[Android Apps and Games] andy hall:
There are several issues with Lollipop
[Android Apps and Games] ali20031986:
sd ext mounted problem

sd-ext partition not mounted. What I did wrong. BusyBox is installed. I create partition ext4.
[Android Apps and Games] dk_zero-cool:
I think the log (second tab) might contain some answers
[Android Apps and Games] ali20031986:
View attachment 3391934
[Android Apps and Games] phil_greg2001:
Hi all,

This app works wih LP ?

:cowboy:
[Android Apps and Games] dk_zero-cool:
The script has not been executed during boot, do you have init.d support in your ROM?

These type of apps/scripts are more ROM and device dependent than Android version dependent. Best way to know if it will work for you, is to backup your device and then try it.
[Android Apps and Games] anbaalie:
question

can i move the apk with it is data

or apk only

and does it needs root for this?

many thanks.
[Android Apps and Games] andy hall:
Have to have Root to do anything, what you can move sucessfully depends on the ROM and device, you might need to experiment.
[Android Apps and Games] ali20031986:
my rom stock jb v10 I do not know if there is support init.d. How do I know init.d support in my rom
[Android Apps and Games] dk_zero-cool:
Well, Stock software does not have this. What you need is a custom kernel. Your Stock ROM is fine, but you need to find a different kernel for it, which mostly always has added init.d support. Without this the script (which is the part that does all of the work) will not be executed during boot. The app itself is only used to view current state and to configure the script.
[Android Apps and Games] ali20031986:
I can not find stable running custom ROM for optimus g pro. Do you have any advice to me. Any costume ROM or kernel. Is it possible to inject different kernels into the original ROM
[Android Apps and Games] dk_zero-cool:
I don't know the exact type of your device, but the links below should work for you. You have two options to make this work.

First option is to fallow these steps in the link to flash a custom kernel with init.d support.

Second option is to only flash a custom recovery and then try my Injector which will inject init.d support into your current stock kernel. Just remember to make a backup in the recovery first in case it does not work. Aso remember to download the

Init.d Injector

and not the template.
[Android Apps and Games] ali20031986:
init.d support was active. mounts2sd installed but it caused the collapse of all applications. All applications to crash when the device is restarted
[Android Apps and Games] cptMikky:
project status

Hello,

before I start pushing bug reports, what is the current status of this project in relation to Android 4.4.4 (CM11)? Is KitKat even supposed to be supported?

thanks.
[Android Apps and Games] yisfromer:
Reverse Mount

Hi, I downloaded the latest version of Mount2sd from the Play Store (3.4.8) and I do not see any "reverse mount" option in the configuration options.. Is that option not available anymore?
[Android Apps and Games] timofonic:
Hello.

The project looked very promising. Any plans about a new release or fork of it?

Kind regards.
[Android Apps and Games] dk_zero-cool:
Not sure. This project was developed when devices had 256/512 MB internal storage. With devices rounding up 16/32 GB, soon to be 64/128 GB, and with Android's merger of the Data and Media partitions, I don't see much future for this type of script. Also with Android's constantly improving security, I am not even sure how long a script like this will be able to function. Even recoveries has lost their sd-ext support. This concept is fading away I am afraid.
[Android Apps and Games] timofonic:
Oh. So Android if going to have the worst of Windows and iOS, but using Linux kernel. That's Amazing!
[Android Apps and Games] dk_zero-cool:
Not really. Android's changes is for security purposes mostly. Google is not trying to lock people out like Apple and Microsoft, they are just trying to remove the possibility of cracking the device with various hacks. But since many of the fun things in Android is using various hacks, it will affect those things as well. So it really comes down to prioritizing fun vs. security. I for one are possibly one of the most paranoid sons of *****es on this side of the world, with complete disk encryption, SELinux and IP-Tables setup and more on every single Phone, Tablet, Laptop and Desktop that I own. I love playing with hacks, but I love security a lot more, so even though it can be a pain in the ass with all of this improved security, I would not have it any other way. What I would like instead, was for google to allow access to more of their hidden classes/methods within their framework. This would remove most of the need for these hacks. The framework contains plenty of tools, Google has just removed access to it for regular applications.
[Android Apps and Games] ImmYBhaI:
hi

i tried it out. Works much better than expected. much better compared to link2sd, etc. However, had a small issue. when restarting, it is not detecting my sd suddenly. what to do now?
[Android Apps and Games] timofonic:
Is that sarcasm? You're really funny. Next time please put more paragraphs. Your writings are hilarious and amazing!

Do you still believe in Santa Claus? :D
[Android Apps and Games] ShapeShifter499:
Why not put in some kind of mechanism or script that would wait for the /data partition to mount properly?

EDIT: sadly I still have a kitkat device and I would love to have encryption for some apps and /data partition while still using my MicroSD card for some other apps storage.
[Android Apps and Games] Shnoulle:
Good partition table (ZTE, CM13)

Hi,

I have a ZTE Open C with unofficial CyanogenMod 13 (cm-13.0-20160507-UNOFFICIAL-KonstaKANG-kis3), rooted etc ...

I have an issue with partition table : if i add a 2nd partition in ext2 on my SDCARD : i can never donwload any file : phone mount the sdcard and (seems) to try to download file via browser to the ext2 partition.

What i want : files (picture/video/download/books/music etc ....) on the first partition, and only use the 2nd (ext2) partition for Mounts2sd.

I try to set my partition table just after installing CM13 : issue happen. Then i remove the 2nd (and 3rd) partition : OK : i can donwload again.

Then : i restart recovery , create again a new partition, restart phone : issue again : can not download anythink and seems 2nd partition tabe is set to all. Mounts2SD log file can not be saved : 'Unable to save log on SD card) logfile seems empty.

My partition table (via adb):

(parted) print
print
Model: SD SD08G (sd/mmc)
Disk /dev/block/mmcblk1: 7969MB
Sector size (logical/physical): 512B/512B
Partition Table: msdos

Number Start End Size Type File system Flags
1 32.3kB 5856MB 5856MB primary fat32 lba
2 5856MB 7904MB 2048MB primary ext2
3 7904MB 7968MB 63.5MB primary linux-swap(v1)

Did someone have an idea ? I need to see with KonstaKANG (who manage CM13 unofficial for ZTE), any idea ?

Thanks a lot :)

------

EDIT

Now, with this partionning:

mkpartfs primary ext2 0 2048
mkpartfs primary fat32 2048 7904
mkpartfs primary linux-swap 7904 7968

I have my partitions, fat32 is loaded at "media" partion, but ext2 is loaded ad another media partition too, not as SD-EXT partition. Do you know a way to force/update ?