yashsingh1/xdaforums huggingface dataset:
[Android Software/Hacking General [Developers Only]] ERPal:
Re: [App/Script] Mounts2SD - An All-in-one sd-ext solution (2.1.0/5.4.0 - Jan 23, 201

Hello.

I have starting tests of Mounts2SD, this using kernel serene and Rom ultimate HD 2.0.3.

my 32 SD operates with three partitions: fat32, ext4 and swap.

start testing with the version available 15 days ago in your XDA, I saw an integration adequate memory extension but slow in opening applications with some computer restarts.

task to the ramexpander program is suppressed swap and leave.

with combination is my Xperia Arc-S very well.

with your 2.1.0 latest version removed the warning of conflict in extension, but the swap option is slow.

It is worth mentioning that I I previously delete ramexpander to activate Mounts2SD swap.

Mounts2SD has given me better performance than Link2SD very good job!
[Android Software/Hacking General [Developers Only]] MetinKale38:
AW: [App/Script] Mounts2SD - An All-in-one sd-ext solution (2.1.0/5.4.0 - Jan 23, 201

That's why it needs so long to load configuration.

Just add the version at the top of the file and it works much faster:D

Tapatalked with my JellyBean powered HTC Desire
[Android Software/Hacking General [Developers Only]] BleedingIris:
Re: [App/Script] Mounts2SD - An All-in-one sd-ext solution (2.1.0/5.4.0 - Jan 23, 201

+1

Really takes for ever to load.

cm9 htc a310e
[Android Software/Hacking General [Developers Only]] dk_zero-cool:
Re: [App/Script] Mounts2SD - An All-in-one sd-ext solution (2.1.0/5.4.0 - Jan 23, 201

No. It takes time because it checks busybox configuration, which means checking every symlink in bin and xbin.

And how would adding version to the top help anything? I still need to know whether the current script in init.d is correct or not. Cant do that without checking the script.

I will look into other ways of checking busybox.
[Android Software/Hacking General [Developers Only]] hacktrix2006:
@ petrifrye i has just had the same on me. If you have the terminal app could you get by typing SU and then busybox and see if you get the permission error again like i have.

This time i used the flash version. Everything has been fine for the 14 hours its been on then rebooted it all apps gone a permission problems again. i can't even perform a logcat either.

Edit: Tried to get it working again with clean caches, fix_permissions (which got permission denied) re-flashing the zip still all my apps missing as they are all on the SD-EXT using the app so yet again it wipe start again but this time sorry i am will forgo flashing the M2SD script i will just have to cut back on the 157 apps i have to less then 20 apps.

Thanks for your great work but i am now out.
[Android Software/Hacking General [Developers Only]] NeoFox69:
Hi.

Just installed a fresh ROM ([ROM/4.2.1] [Jan 23 2013] VJ CM10.1 | Jelly Bean 4.2.1 - v4.6, and the latest Mounts2SD (2.1.0), and after that I can't install any app, it says there's no space available... :(

Before this, I was using JB v4.5 and Mounts2SD 1.2.0, and everything was working great...

Thanks!
[Android Software/Hacking General [Developers Only]] petrifyre:
Re: [App/Script] Mounts2SD - An All-in-one sd-ext solution (2.1.0/5.4.0 - Jan 23, 201

No problem with busybox..
[Android Software/Hacking General [Developers Only]] dk_zero-cool:
In the Configure screen, try checking "Disable cache folders", reboot and see if that helps? This option did not work in version 1.2.0 because of Android 4.2's new slave mount space. Maybe me fixing this, broke market for some (Which would be ironic as it was made to fix market)
[Android Software/Hacking General [Developers Only]] NeoFox69:
Sorry, but had to return to my previous ROM (the v4.5) with the Mounts2SD 1.2.0, because I needed the phone meanwhile.

When I have a little time, I'll test, and give you feedback.

Thank You for your quick response ;)

Be Cool :)
[Android Software/Hacking General [Developers Only]] hacktrix2006:
Could that option break the app totally on 4.2.1 if so then i shell try again with that disabled as that might be the issue with what i have.

@petrifyre thanks for the screenshot will have to have alook at the Source code on GITHUB for CM10.1 i am using then lol.
[Android Software/Hacking General [Developers Only]] dk_zero-cool:
Re: [App/Script] Mounts2SD - An All-in-one sd-ext solution (2.1.0/5.4.0 - Jan 23, 201

No. Only things using the cache folders like download manager and package installer
[Android Software/Hacking General [Developers Only]] BleedingIris:
Re: [App/Script] Mounts2SD - An All-in-one sd-ext solution (2.1.0/5.4.0 - Jan 23, 201

Just wanted to tell you that the 10% still remains..

No big deal..since I have only 150MB internal and don't use reversmount..

However I don't have low memory notifications..thank you..

And google play doesn't complain of low memory ....app is trying to start download in the status bar but doesn't start..

cm9 htc a310e k2.6
[Android Software/Hacking General [Developers Only]] BleedingIris:
Re: [App/Script] Mounts2SD - An All-in-one sd-ext solution (2.1.0/5.4.0 - Jan 23, 201

/data

Available 5 MB

Downloaded app 200kb..

btw,

Please do increase speed of loading mount2SD app..

Busybox was already installed from your app...I know it's for safety purposes to check every time..but really it takes solid 2+ minutes to load every time..may be add checking in the background after opening the app...or anyother way you think fit.

cm9 htc a310e k2.6
[Android Software/Hacking General [Developers Only]] MetinKale38:
AW: [App/Script] Mounts2SD - An All-in-one sd-ext solution (2.1.0/5.4.0 - Jan 23, 201

Yeah that would be a good idea :)

I said it because reading the first line is much faster than doing a md5 check. If the version isn't the same = old script.

Don't understand me wrong, I just want to help improving m2sd. :D how often do I need to open the app?

Tapatalked with my JellyBean powered HTC Desire
[Android Software/Hacking General [Developers Only]] NeoFox69:
Hello DK!

Have tried what you suggested, but, same problem, doesn't allow to install anything (I'm trying to install by file manager, not Google Play).

Same error (No space)...

Just to let you know!

Thanks Again! ;)
[Android Software/Hacking General [Developers Only]] mark.england:
missing/invalid script warning - fixed

Thanks - that did the trick. I have disabled Play auto updates for the app so it stays working !
[Android Software/Hacking General [Developers Only]] dk_zero-cool:
New update is out. The configuration load speed has been increased, even the old Galaxy Y now loads under 3 seconds.

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

I have also added an experimental method for people using the Service version of Init.d (People that is running the script in Safe-mode). This will allow you to use both the Dalvik and data Data option (Do not try R-Mount) when/if you disable Safe-mode in settings.

Note that this is an experimental method with which I have had success using on my Galaxy Y (Android 2.3) test phone and had some successful tests on the Galaxy S3 (Android 4.2). However, it is built using a very ugly hack, so I cannot promise that this will work on all devices and/or Android versions. Also on the Galaxy Y I had to pull the battery on the first reboot. It did work great after that though and still does.

So, try this at your own risk, but make a Recovery Backup first. An if you try it, then please provide some feedback. It might help me to perfect this.
[Android Software/Hacking General [Developers Only]] Hubrrr:
Android 4.2.1 dalvik sd-ext working

Wow, thanks man. I have installed "Android 4.2.1 Cm10.1 beta 6 by Wayland_ACE" ROM on my Galaxy Ace S5830 and had this script working only for Apps on sd-ext. Then i tried the new version and disabled the Safe-Mode and enabled dalvik mount option, and its working :victory:

Thanks man! If anything goes wrong in the future I can post a logcat or something.

Thanks again for the great work!
[Android Software/Hacking General [Developers Only]] dk_zero-cool:
Good to hear that it is working, and thanks for feedback :)
[Android Software/Hacking General [Developers Only]] jcgechevarria:
Sqlite error

Hi im using your 2.2.0 versión flashable zip on kernel ktg 152, an xperia t v 68 rom from zohaib, an your script is giving me sqlite 3 binary returns result code '255', can you tell me what i have to do to solve ¡t, my cell it's a Sony Ericsson lt15i arc.
[Android Software/Hacking General [Developers Only]] dk_zero-cool:
Either remove the sqlite3 binary from /system/bin/ or install the missing sqlite3 libraries into /system/lib/

The sqlite3 binary cannot work without the depended libs, which it seams that many ROM devs does not know since a lot of ROM's includes the binary, but are missing the libraries.
[Android Software/Hacking General [Developers Only]] jcgechevarria:
Then, your script need's sqlite libs to work?
[Android Software/Hacking General [Developers Only]] jasonkhoo87:
Is the sqlite3 same for all phone? If yes do u able to embed it into ur apps so that we do not need to install it again.
[Android Software/Hacking General [Developers Only]] dk_zero-cool:
Re: [App/Script] Mounts2SD - An All-in-one sd-ext solution (2.2.0/5.5.0 - Jan 26, 201

No, it needs sqlite to change the storage threshold which helps with the low storage issue android some times has

No, it differs from arm version
[Android Software/Hacking General [Developers Only]] stylishgamervizz:
how can i knw if my device is mtd device or ext4 device. i am using samsung gt s5570

how can i knw if my device is mtd device or ext4 device. i am using samsung gt s5570(galaxy pop/mini)
[Android Software/Hacking General [Developers Only]] dk_zero-cool:
The answer is written right below each download options in the first post
[Android Software/Hacking General [Developers Only]] dk_zero-cool:
It should work although init.d is executed as a service, you just don't have other than the apps option when the script is run in safe-mode.

However, if you know how to edit this, then I will explain. First remove your current sysinitsupport service in your init.rc. Then instead of "start sysinitsupport" in the bottom of "on boot" in init.rc, you type "exec /system/bin/sysinit", before "class_start core" and "class_start main".

Now add /system/bin/sysinit with the fallowing content

#!/system/bin/sh

export PATH=/sbin:/system/sbin:/system/bin:/system/xbin
/system/bin/logwrapper /system/xbin/run-parts /system/etc/init.d

Thats it, just remember to "chmod a+x /system/bin/sysinit"
[Android Software/Hacking General [Developers Only]] gu5t3r:
Could you suggest any help for migrating from Link2SD?
[Android Software/Hacking General [Developers Only]] dk_zero-cool:
Re: [App/Script] Mounts2SD - An All-in-one sd-ext solution (2.2.0/5.5.0 - Jan 26, 201

Don't know how link2sd works, but if it fallows the basic rules of sd-ext, which means using sd-ext folder names equal to it's data versions like app, data and dalvik-cache, then you should just be able to delete the app and install this. M2sd will clean up any existing sd-ext scripts in init.d when installing its own.
[Android Software/Hacking General [Developers Only]] jcgechevarria:
Sorry again, i founded libsqlite.so and libsqlite_ini.so into /system/lib and sqlite3 into /system/xbin but not into system/bin, it's this correct or have i to do something?
[Android Software/Hacking General [Developers Only]] gu5t3r:
Did I correctly modified init.rc? Because the way it was didn't worked, even when safe off. It looked like I done factory reset (after I selected to move dalvik-cache and /data/data to sd-ext).
[Android Software/Hacking General [Developers Only]] dk_zero-cool:
The init.rc file is correct, but the location of the file to execute is wrong as I wrote /system/bin/ and according to someone I helped on gtalk, it does seam to make a difference even though it shouldn’t
[Android Software/Hacking General [Developers Only]] mixednuts:
Re: [App/Script] Mounts2SD - An All-in-one sd-ext solution (2.2.0/5.5.0 - Jan 26, 201

You could try the SQLite Installer for Root on the Play Store.
[Android Software/Hacking General [Developers Only]] Rosario55:
good app. but i don't understand why i select configurations/content/applications, but it doesnt' move anything. I reebot the phone and configurations/content/applications is deselected
[Android Software/Hacking General [Developers Only]] dk_zero-cool:
Re: [App/Script] Mounts2SD - An All-in-one sd-ext solution (2.2.0/5.5.0 - Jan 26, 201

You can only move apps if the script is running in safe-mode. You disable safe-mode in settings, however this is still experimental but so far has been working for most.
[Android Software/Hacking General [Developers Only]] jcgechevarria:
No error on bot, but where is ext memory?

Ok, thanks, i installed sqlite from market an App runs with no error, but i can see where the 3 gb of ext mem are :eek:

I talk about indication under pone setings-aplications, it only shows 420 mb total mem, not the more tan 3 gb i partitioned sd-ext. On script App, i can see sd-ext total an used, but not on phone settings, and if i browse on sd-ext folder i see duplicated apps.
[Android Software/Hacking General [Developers Only]] dk_zero-cool:
Re: [App/Script] Mounts2SD - An All-in-one sd-ext solution (2.2.0/5.5.0 - Jan 26, 201

Because sd-ext has nothing to do with Android. Your OS does not even know that it exists. It is a linux hack which is why I added viewing available and used space in the app
[Android Software/Hacking General [Developers Only]] gu5t3r:
It does not work, exec command breaks up init.rc executing... It executes script but it never returns back to process remaining lines of init.rc...
[Android Software/Hacking General [Developers Only]] jcgechevarria:
So your script has nothing to be with this one?

http://xdaforums.com/showpost.php?p=33723868&postcount=1
[Android Software/Hacking General [Developers Only]] dk_zero-cool:
Re: [App/Script] Mounts2SD - An All-in-one sd-ext solution (2.2.0/5.5.0 - Jan 26, 201

Then you have a bad script in init.d which also explains why m2sd did not work for you before.

I'm saying that android has nothing to do with sd-ext. It is now known to Android, so android will not see it. It will however see the available space on data due to the fact that you are moving content away from it.

The partitions you see in Androids own settings are hardcoded into the settings app. Android will not add other partitions to this overview other than data, internal and external sdcard. So dont expect sd-ext to show up there unless your custom rom dev adds it to the settings app
[Android Software/Hacking General [Developers Only]] jcgechevarria:
Thank's for your support.

Thank's for answer quickly,
[Android Software/Hacking General [Developers Only]] harshal.n.karandikar:
a lil help needed

will this script work with the following rom

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

asking coz i tried m2sd but didnt work niether did int2ext+ worked it boot loops after int2ext+

and also if it is compatible will it show that the inernal memory is equivalent to ext-sd?

im using arc s now
[Android Software/Hacking General [Developers Only]] dk_zero-cool:
Re: [App/Script] Mounts2SD - An All-in-one sd-ext solution (2.2.0/5.5.0 - Jan 26, 201

You will have to try. I dont have an arc s, but it should work with most roms
[Android Software/Hacking General [Developers Only]] harshal.n.karandikar:
help again

can i just copy paste the file 10mounts2sd from init.d folder and use as this is my g.f's phone and she wants to see the total memory in the apps i.e in setting of phone ....and use the commands

su

m2sd apps disable

m2sd data disable

m2sd cache disable

m2sd dalvik disable

m2sd dlcache disable

m2sd readahead 512

m2sd rmount enable

and reboot

will that work?

i mean the script?
[Android Software/Hacking General [Developers Only]] dk_zero-cool:
Re: [App/Script] Mounts2SD - An All-in-one sd-ext solution (2.2.0/5.5.0 - Jan 26, 201

Shell controll was removed in script version 5. M2sd now use an app to install, view and configure.

You can setup everything from the app and then uninstall it. This will not remove the script.
[Android Software/Hacking General [Developers Only]] ashishpadave:
I had read the post and also seen the error in the log. What I wanted to know, if there is a way to circumvent the problem?

/system/bin/servicemanager is running -- does this mean init.d is running as a service or something, and that your script cannot handle it?

Is there a sequence in which init.d scripts are executed? Is it possible to make mounts2sd be the first script to be executed? There are quite a few scripts in the init.d folder on AOKP ROM, but I read somewhere that most of them are disabled by default.

Thanks.
[Android Software/Hacking General [Developers Only]] maxxinn:
Re: [App/Script] Mounts2SD - An All-in-one sd-ext solution (2.2.0/5.5.0 - Jan 26, 201

Very very useful script., i am using it now on my galaxy y. It has only 190 mb memory. And with a2sd, deep sleep was always deactivated, and link2sd, i don't like it. We can't install to many apps with it. so i was really searching for a script like this. Thanks sir.

PRESS THAT THANKS BUTTON IF YOU THINK IT IS HELPFUL....
[Android Software/Hacking General [Developers Only]] post-mortem:
I tried migrating from link2sd to int2ext. I thought it was working, but link2sd is hard to get rid of (it makes several scripts, in several places). I eventually noticed that my ext partition was still being mounted as /sdext2 , even though I had uninstalled link2sd.

Unfortunately, I think the best way to migrate is to do a complete wipe & start from scratch.

int2ext didn't work for me after a wipe (I also got stuck on boot), so I found mounts2sd & it's working great!
[Android Software/Hacking General [Developers Only]] dk_zero-cool:
Re: [App/Script] Mounts2SD - An All-in-one sd-ext solution (2.2.0/5.5.0 - Jan 26, 201

It means that m2sd would move content at the same time that multiple other services is using it, because yes, init.d is run as a service on your rom, and the script does not allow this and no script should.

However, if you read the latest changelog, you would see that I have added a solution to this. You just need to disable safe-mode in order to use it.
[Android Software/Hacking General [Developers Only]] Rosario55:
R: [App/Script] Mounts2SD - An All-in-one sd-ext solution (2.2.0/5.5.0 - Jan 26, 2013

Thanks. I have tried, i have reboot the phone but it doesn't work...

Inviato dal mio GT-S5570 con Tapatalk 2
[Android Software/Hacking General [Developers Only]] dk_zero-cool:
Re: [App/Script] Mounts2SD - An All-in-one sd-ext solution (2.2.0/5.5.0 - Jan 26, 201

I need a bit more info than that. And did you update to latest release?
[Android Software/Hacking General [Developers Only]] Rosario55:
R: [App/Script] Mounts2SD - An All-in-one sd-ext solution (2.2.0/5.5.0 - Jan 26, 2013

Of course!

Inviato dal mio GT-S5570 con Tapatalk 2
[Android Software/Hacking General [Developers Only]] dk_zero-cool:
Re: [App/Script] Mounts2SD - An All-in-one sd-ext solution (2.2.0/5.5.0 - Jan 26, 201

That was not a lot of info. What does not work? I cannot fix much based on "it does not work". You really need to explain a bit more.
[Android Software/Hacking General [Developers Only]] Rosario55:
Sorry.But I dont' know what i have done but now it works! :D I have s5570 (mini) with cm10.1. Only a couple of questions:

1. about cache: what must i have set? On/off/automatic?

2. must i disable cache folders?

thanks for help
[Android Software/Hacking General [Developers Only]] dk_zero-cool:
The cache option will move your cache to the partition (sd-ext, data or tmpfs) which contains the most available space. It you set this to auto, it will only touch the cache if get's below 40MB, so ensure that you have enough space for app installs and such.

The cache folders option will move your local tmp folder and download provider cache folder (Both used for app installs) into sd-ext if the available space on data is lower than on sd-ext. This is also to ensure successful app installs.

Configure them as you think will work best for you.
[Android Software/Hacking General [Developers Only]] crossfire77:
Re: [App/Script] Mounts2SD - An All-in-one sd-ext solution (2.2.0/5.5.0 - Jan 26, 201

Hey man it wont work with htc wildfire s..i successfully updated my busybox and then i installed app.app correctly configure busy box and init.d script..

Then i restarted but it wasn't work.app status wasnt on..its shows off..i mounted correctly ext3.

Help me if i m wrong in procedure
[Android Software/Hacking General [Developers Only]] jcgechevarria:
Hi DK.., hope this will be last question, in the attached screenshots you can see that script Works, and you will see full size on /data/App, but not on /data/data, although i have checked data folder to move to ext.

[img=http://imageshack.us/scaled/thumb/571/screenshot2013012818040.png]

[img=http://imageshack.us/scaled/thumb/818/screenshot2013012818035.png]

[img=http://imageshack.us/scaled/thumb/692/screenshot2013012818045l.png]

[img=http://imageshack.us/scaled/thumb/715/screenshot2013012818051.png]
[Android Software/Hacking General [Developers Only]] dk_zero-cool:
Click "View Log", then "menu" -> "Save log to sdcard" and attach the log here. This will explain a lot more than a few screen's
[Android Software/Hacking General [Developers Only]] ashishpadave:
Thanks it works now. :)
[Android Software/Hacking General [Developers Only]] jcgechevarria:
Here it is.
[Android Software/Hacking General [Developers Only]] ashishpadave:
I had the same problem. I was advised by DK to install the latest version of m2sd and then disable safe mode.

Worked for me on my P500 running AOKP ICS rom. The problem is due to ROMS that run init.d as a service.
[Android Software/Hacking General [Developers Only]] dk_zero-cool:
Re: [App/Script] Mounts2SD - An All-in-one sd-ext solution (2.2.0/5.5.0 - Jan 26, 201

Read the section about Safe-mode in the first post
[Android Software/Hacking General [Developers Only]] jcgechevarria:
I did it and now my cell it's on botloop :crying::crying::crying:

Edit: after 5 or 6 reboots it boots fine
[Android Software/Hacking General [Developers Only]] ashishpadave:
I would suggest to leave dalvik on internal. That looks like a tricky thing for service managed init.d's

Which phone / ROM are you using?
[Android Software/Hacking General [Developers Only]] jcgechevarria:
lt15i with Xperia T ICS rom V6.8 from Zohaib with KTG 152 kernel.

EDIT: on my configuration, disable safe mode crashes o.s. i only can use this script on safe mode.

Thanks to dk_zero & ashishpadave for your support
[Android Software/Hacking General [Developers Only]] dk_zero-cool:
Re: [App/Script] Mounts2SD - An All-in-one sd-ext solution (2.2.0/5.5.0 - Jan 26, 201

Sorry but I cannot see why that device is busy. You may have another script which handles the swap partition before m2sd is executed.
[Android Software/Hacking General [Developers Only]] paradoxiumwind:
Thanks for the quick reply. This is the ROM i'm using:

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

Can you take a quick look and see if there's something in it causing the problem?

Thanks again.
[Android Software/Hacking General [Developers Only]] post-mortem:
What is the listing of your init.d directory?
[Android Software/Hacking General [Developers Only]] paradoxiumwind:
init.d directory:
[Android Software/Hacking General [Developers Only]] post-mortem:
You don't even have 10mounts2sd there (or 90userinit, for that matter). Have you modified dk's script at all? What method did you use to install the script?

Edit: Just noticed 20userinit; I don't know what's standard for your device/ROM. Are you someone who can't stop yourself from tweaking stuff?
[Android Software/Hacking General [Developers Only]] paradoxiumwind:
that list is before installing the script, I didn't know you meant the listing AFTER installing it. I don't know how to access that.
[Android Software/Hacking General [Developers Only]] post-mortem:
Oh, ok. That's fine, actually.

I'm interested in the contents of:

05mountsd

06mountdl

remount_fullext4

and also what put those files there (i.e., what purpose were they intended to fulfill).