yashsingh1/xdaforums huggingface dataset:
[Android Software/Hacking General [Developers Only]] dk_zero-cool:
Your 5 mb cache is causing this issue, not the script. You have no more cache for the package manager to work with.

Also 359 apps? How are you even able to locate two more apps that you need? :)
[Android Software/Hacking General [Developers Only]] BleedingIris:
Thanks a lot for the reply.

I also thought so...and so I used cmdalvik fix in script and brought it 2 data.. but still the problem persists....lm not able 2 install in that 150 mb free space in my SD card..(probably because Android thinks I have no space.. since at10% internal memory low storage notification comes, which is 200 MB if you have 2 GB SD ext mounted as data., (just my conclusion))

Also I reflashed rom and script and did symlinking of data,dalvik and apps...now l,m not able 2 install any app ...not even one..package manager says out of space,even when my internal is 140 free/150mb..

SDext almost fully free . ..and SD ext contains already symlinked data,app and dalvik...(thought it was a permission issue and chmod ed 777 all folders, but no use)

Can you tell me what am l doing wrong in second method or in de first....

PS.

I actually had 419 apps when using dark tremors a2sd on my stock..did a massive massecre to 350 apps
[Android Software/Hacking General [Developers Only]] BleedingIris:
Hi dk zero cool..just wanted you to know that my problem is fixed.. thanks for your help

:):):):):):):):):):):):):):):):):):):):):)I've finally got m2sd working by symlink (moving)method. It seems for a strange reason that if I link data/data to ext/data, I wasn't able to install any apps. Anyway if I just link app and Dex, everything worked fine... and as for data, titanium backup did a nice job of moving part of it to SD ext, so I can use both my internal memory and SD ext fully without Android knowing that I have 2 GB memory. :):):):)

Screenshot below:

As you can see, 1.4 GB apps(315apps)+79 MB internal free+ most importantly no more stupid low memory notification = happy me :)
[Android Software/Hacking General [Developers Only]] dk_zero-cool:
I think you hit the 10% rule that android has. By default android wants at least 10% of the data size available before allowing more apps being installed. By moving some of the data back to the internal, you got above the 10% on the external.

However, there are ways to lower the demand of this rule. Search google for it.
[Android Software/Hacking General [Developers Only]] BleedingIris:
New problem...

Well, everything with scripts worked fine,but I'm not able to restore nandroid backups..

Everytime I do a nandroid restore I end up being in a bootloop... The log says something like can't write in data/data and native library helper unable to uncompress so and so app's library to data data etc for Evey app... (can't post log coz I don't have computer)....

Anyway, to get around it, I used aroma file manager in recovery(cwm 5) to change file permissions of data/m2sd directory fully to 777...(it was rwx-r-r before)(init.d's mount2SD was already 777)

Now my phone boots but I lost data in some apps.. and some time I lost entire app.

btw ,please tell me how to reduce that 10% notification...I got to the point that I should edit device storage notification.jar or something..

Is it possible without using a computer? If so how? If by using a computer how? I've spent 5 full days doing flashing to scripts.. help me

Edit:found it ...to edit sq lite database in com.bla.bla.settings/settings.db..right...?

Edit again: sorry the above sqlite method won't probably work...

It's the first method... editing the jar that'll work(but how to edit that? )

Well never mind..

Anyway help me in recovery...
[Android Software/Hacking General [Developers Only]] knsys:
Since Jelly Beans some paid apps from the play store installs itself encrypted in /data/app-asec using tons of precious space.

M2sd already got them in sd-ext but the system still sees that space as used in /data and makes the "You need more space advice". So Apps installing in app-asec is glitchy, because it seems that m2sd moves them to the correct place, but still they use space in our little /data partition.

If I delete them from /data/app-asec and perfom a reboot I got the free space back in /data but the app is uninstalled
[Android Software/Hacking General [Developers Only]] dk_zero-cool:
M2sd does not move this folder as far as I remember, but I will look at it.
[Android Software/Hacking General [Developers Only]] TbMa:
Hi.

For some reason i cant use m2sd with this rom [DEV] [ROM] [N1] Evervolv Jellybean (4.1)

Using 4EXT i've done 2Gb ext4 / 256Mb Swap partition on my card.

In recovery i flashed m2sd right after installed rom and gapps. No errors occured. Rebooted phone.

But apps still installing to internal memory.

Cant manage m2sd via terminal emulator:

a/local/bin:$PATH <
u0_a59@android:/ $ su
u0_a59@android:/ # m2sd help
/system/bin/m2sd[422]: syntax error: 'if' unmatched
1|u0_a59@android:/ #

Tryed everything: r-mount, enabling/disabling apps/data/dalvik flags, reformatting card, reinstalling rom. Nothing helps. Btw, built-in a2sd script working fine, but i hardly wanna use m2sd :(

Any advices?
[Android Software/Hacking General [Developers Only]] BleedingIris:
Well, why don't you check m2sd.log located in/data/m2sd I think...
[Android Software/Hacking General [Developers Only]] TbMa:
Thanks, but there is no log in /data/m2sd. only "property" directory
[Android Software/Hacking General [Developers Only]] BleedingIris:
No log just means that the script didn't even run in the 1st place..

I think you should check init.d folder whether 10mounts2SD is in place and whether it has right permissions(may be chmod 777 it)

Delete all other memory increasing scripts there..
[Android Software/Hacking General [Developers Only]] TbMa:
|u0_a59@android:/ # cd etc
u0_a59@android:/etc # cd init.d
u0_a59@android:/etc/init.d # ls
00banner 01sysctl 10mounts2sd 20extgapps
u0_a59@android:/etc/init.d # ls -l
-rwxr-x--- 1 root shell 623 Aug 1 2008 00banner
-rwxr-x--- 1 root shell 116 Aug 1 2008 01sysctl
-rwxrwxrwx 1 root root 16384 Dec 10 2012 10mounts2sd
-rwxr-x--- 1 root shell 1325 Aug 1 2008 20extgapps

everything looks fine. :(

still got syntax error

dunno maybe it will help: if i install m2sd with r-mount - i got permanent notification like my usb cable plugged (but its isnt).
[Android Software/Hacking General [Developers Only]] dk_zero-cool:
Have you installed a busybox version from the marked? Because that never works very well.
[Android Software/Hacking General [Developers Only]] TbMa:
no i don't. just checked version - its 1.20.2
[Android Software/Hacking General [Developers Only]] dk_zero-cool:
http://www.mediafire.com/?c9ne73z33dxrs82

Try to install the above and see if that helps. It will provide some proper binaries and also do a proper busybox configuration.
[Android Software/Hacking General [Developers Only]] TbMa:
its works now! :)

finally i can use my phone now. thank you
[Android Software/Hacking General [Developers Only]] snapsato:
m2sd error

I had a similar issue. From your error and the size of the 10mounts2sd script file (yours is 16Kb, the one in the install zip is ~49Kb), it looks as if the file was truncated. You can verify this by examining the file (its just text) or by looking at the beginning of a captured logcat (adb logcat > capture.txt) for the m2sd error text.

The cause of my issue was I did a full gapps install before I had installed m2sd. There wasn't enough room left in /system for the the script file.

I fixed it by doing the following (YMMV):

1) deleted old mounts2sd (in /system/etc/init.d/) and removed apps until I had enough space on /system (at least 50Kb).

2) extracted mounts2sd file from zip and pushed (adb push) it to the correct location. You may also need to change the owner (root), group (this was root or system, i forget), and permissions (0777).

You shouldn't have to re-link /bin/m2sd.

There is a script in the zip file (I used mounts2sd-4.6.2_legacy.zip) somewhere under the META-INFO directory called updater-script that was very informational.

snaps
[Android Software/Hacking General [Developers Only]] knsys:
Could you please add the feature to move "/data/app-asec" to sd-card? Now every update of a paid app installs in app-asec, making the "app" option on m2sd virtually useless.
[Android Software/Hacking General [Developers Only]] dk_zero-cool:
I have already made a new version of the script that does this, but it will not be released until the app for it is done. So within a week I think, new script and an app to control it with.
[Android Software/Hacking General [Developers Only]] knsys:
Great news! Thanks :)
[Android Software/Hacking General [Developers Only]] dagothe9:
dk_zero-kool first of all thanks for your awesome work! now i have installed your script via aroma on my girlfriends htc desire, running CM 7.2.1 and for 2 or three weeks it worked smoothly, then it stared to reboot few times during the day and anytime it does so she lost an app that she has installed, she can find them in setting application but she cant uninstall them nor move them, and she can't find them in the appdrawer too. I had to factory reset and reinstall the script and again it worked for three weeks, now we are encountering the same problem. what could be the cause? how can i solve it? i have to use the command cmdalvick enable ? or i have to factory reset everything again and then use the command before installing the apps? thanks in advance
[Android Software/Hacking General [Developers Only]] dk_zero-cool:
New script is out, this time you will also be getting an App to manage it with. So to you with issues, try the new script.

Just note that although the script is getting quite old and well tested, the App is still not in it's final stage. Try it out and give me some feedback. In the meantime, I will add the missing features and fix the small bugs I know of :)
[Android Software/Hacking General [Developers Only]] hurin8:
The app says "init.d is missing or outdated" and no configuration works.

HTC Desire running Sandvold's ICS
[Android Software/Hacking General [Developers Only]] dk_zero-cool:
The app says "The init.d startup script is missing or outdated.

Click here to install/update

"

About configurations, you will have to be a little more specific. If you have not yet installed the script, you should not even be able to get into anything else other than the install menu.
[Android Software/Hacking General [Developers Only]] hurin8:
I have installed it many times but every time I boot up, it says the same thing.

I had moved app+data+cache with 4.5.0 and at first I had much free space left. But each time I installed an app, the space was shrinking and I thought that the script might not work.

I experimentally tried the "Revert the sd-ext & data partitions so that sd-ext becomes the new /data" option and I get a black screen after booting up. Hope the nandroid does revert the changes.

Edit: Well, nandroid didn't work out. Whyis that? Shouldn't it revert to my previous configuration which worked?

Edit 2: The only way to boot is to wipe then nandroid and then run m2sd again and choose the same options. If not it fails to boot.
[Android Software/Hacking General [Developers Only]] dk_zero-cool:
Check your system space. The app checks the script using md5. If the script is not prober installed do to low system space, that sum will not match, and the script will work like I should either.
[Android Software/Hacking General [Developers Only]] hurin8:
According to Titanium, I have free 9.74mb of ROM, 105mb of Internal, 1.61gb of SD and 647mb of A2SD.
[Android Software/Hacking General [Developers Only]] dk_zero-cool:
Are we talking about the latest with app? I have tested this on 3 phones both armv6 and armv7, gingerbread, ICS and jellybean, busybox 1.17, 1.18 and 1,20

All to see the result in different environments, and I have no issues.

I install the app, on first go I get the option to install the script. When this is done I get redirected to the status screen. From here I can go to the configure screen, change the config, reboot and done.

What bugs me is that the app never redirects to the status screen if the script install fails. So I can't see how you should be able to try any config changes at all? And without the script, nothing will be moved of cause.
[Android Software/Hacking General [Developers Only]] hurin8:
Right now I have these settings :

Weird thing is that it shows data unchecked.

Edit: If I reboot without changing anything, it shows black screen after booting up.
[Android Software/Hacking General [Developers Only]] dk_zero-cool:
Everything is set to default, and nothing is loaded.

Try menu->settings and check what the script status says.

And check /probs/status.log (log viewer will be added)
[Android Software/Hacking General [Developers Only]] hurin8:
If I go into settings, the next reboot gives me a black screen.

Where can I find status.log, I don't see a folder /probs.
[Android Software/Hacking General [Developers Only]] knsys:
Installed the app and the new script and now phone won't boot, it just stay at the rom's loading animation

EDIT:

I flashed the old version and it's all good again, so there seems to be a bug in the new version.

Device: Nexus one (passion)

Room: Last stable Evervolv - Jelly Beans (4.1.2)

SD-card: category 10

Settings: apps + cache + dalvik + ext4
[Android Software/Hacking General [Developers Only]] dagothe9:
OK right now my girlfriend phone is a bit screwed but working but gapps are not working. So dk zero can you suggest me how to set everything? I will perform a fresh install of cm 7.2.1 I will format system, not just wipe data, so I'm sure to remove the old script. Can you provide me a full step guide to flash cm your awesome script and gapps so that everything will work fine? Or suggest me the best desire ROM to work with your script and the how to flash and everything. Thanks in advance...
[Android Software/Hacking General [Developers Only]] dk_zero-cool:
Okay, I borrowed a 4'th phone from a friend which helped me locate the issues my other phones did not have. So Script and App should now both be fixed.

Also, when doing backup/restore, it seams that Titanium (No surprise) and CWM Recovery (Some versions) have issues with sd-ext (Nothing to do with any A2SD Scripts). So, ALWAYS backup in recovery (No apps backup only) and don't use CWM, unless you know that YOUR version works.

This also goes for formating sd-ext. CWM on some devices can't do this properly, and people often experience issues with CWM formated sd-ext partitions. So use another recovery, or format the partition from your PC.
[Android Software/Hacking General [Developers Only]] hetalmp:
Enabling m2sd data caused way too many problems. The rest of the scripts worked fine. Using beta akop ROM
[Android Software/Hacking General [Developers Only]] dk_zero-cool:
In that case they use the wrong way of executing init.d

The old way with services cause problems because it executes init.d while booting instead of executing init.d and then start booting.
[Android Software/Hacking General [Developers Only]] karoodee:
I've got it working again - repartitioned the sd-card again, now m2sd data is working fine in aokp...
[Android Software/Hacking General [Developers Only]] |flyte|:
I'm not exactly sure how to use this - I installed the AOKP ROM, then installed a bunch of apps, and then installed the m2sd script.

When I do a m2sd status, I see Apps and Cache are loaded.

a) since I installed this after some apps, do I need to do anything to take care of the previously installed apps? (i.e.: an a2sd install equivalent)

b) with a class 10, SD card and this ROM, what would be the recommended settings? From the post above, enabling Data isn't recommended..
[Android Software/Hacking General [Developers Only]] alexdoux25:
Thank you for you script, it's real new way for mounting system.

I have two questions only:

1. How could I check executing of init.d in my ROM (Android 2.3.5, Sense 3.5 for HTC HD2) and fix it?

2. I want to introduce your script in my ROM before flashing. How I have to adjust needing for me replacement of system parts in advance? I wish, that my users will have fully prepared configuration and no need use m2sd command.
[Android Software/Hacking General [Developers Only]] dk_zero-cool:
By default all your apps is moved to sd-ext and the cache is also moved to sd-ext. If your card is fast (Class 10 is), moving dalvik and/or data/data is no problem. But it is not needed if you still have a lot of free space available on /data.

Look at THIS. That is my ROM which uses the Aroma installer. This allows users to configure the installation before flashing. You can look at my M2SD configuration part in aroma-config, updater-script and m2sd-configure

The init.d is executed from within the boot.img (Ramdisk) in the file init.rc. Here it should be executed using "exec /system/bin/sysinit" and not by using "service start sysinit" which some ROM's are using. This can also be seen in my ROM, just extract the boot.img and also have a look at the /system/bin/sysinit file.
[Android Software/Hacking General [Developers Only]] alexdoux25:
Thanks.

In my init.rc I found such lines: # Execute files in /etc/init.d before booting

service sysinit /system/bin/logwrapper /system/xbin/busybox run-parts /system/etc/init.d

disabled

oneshot

I guess this correct? Or maybe no?

Also, if I have in my ROM folder sd-ext/sys-parts/app and symlinks in updater-script and 04a2sd in the init.d, how mount2sd could move this into nand from sd-ext after installation?

I mean, I must rewhrite my updater-script and move system apps to a system folder before using your script, or no?
[Android Software/Hacking General [Developers Only]] dk_zero-cool:
No, that's the wrong way and will give you problems. This way will execute init.d along side the regular boot. This means that, for an example if you move dalvik-cache to sd-ext, android will keep rebuilding dalvik-cache while you try to move it.

The current way is to remove that part, locate the line "start sysinit" and replace that with "exec /system/bin/sysinit" and add the sysinit script to /system/bin. This will make the boot process wait until all init.d scripts has been executed.

I have no idea what you mean, but m2sd will not touch sd-ext/sys-parts/app unless you rewrite it to do so. It will handle /data/app and /data/app-private by default and /data/dalvik-cache and /data/data if you enable these parts.
[Android Software/Hacking General [Developers Only]] alexdoux25:
Thanks once more.

P.S. Finally I've understood what do you mean :). I have to change file "system/bin/sysinit" in my ROM for file from your BCM-b0.3.7. OK, i'll try it.
[Android Software/Hacking General [Developers Only]] tam3xx:
thanks man for good working

please uplouad some one to other site

its link is not allowe me to download please uploud to

mediafire.com its very important for me thanks:o
[Android Software/Hacking General [Developers Only]] |flyte|:
So here is the output of my df:

app_67@android:/ # df
Filesystem Size Used Free Blksize
/dev 202M 32K 202M 4096
/mnt/asec 202M 0K 202M 4096
/mnt/obb 202M 0K 202M 4096
/system 250M 188M 61M 4096
/data 147M 112M 34M 4096
/tmp 42M 24K 41M 4096
/sd-ext 1007M 80M 926M 4096
/data/app 1007M 80M 926M 4096
/data/app-private 1007M 80M 926M 4096
/cache 1007M 80M 926M 4096
/mnt/sdcard 13G 1G 12G 16384
/mnt/secure/asec 13G 1G 12G 16384
/mnt/asec/com.quoord.tapatalkxdapre.activity-1 4M 2M 2M 4096
/mnt/asec/org.xbmc.android.remote-1 6M 4M 1M 4096
/mnt/asec/com.handcent.nextsms.skin.metal-1 4M 2M 1M 4096
/mnt/asec/mobi.mgeek.TunnyBrowser-1 5M 3M 1M 4096
/mnt/asec/com.linkedin.android-1 5M 3M 1M 4096
app_67@android:/ #

Does this look normal? I only have 34M free in my data, so I am thinking I should attempt to move data over to sd-ext?
[Android Software/Hacking General [Developers Only]] dk_zero-cool:
If you have to many apps installed, your dalvik-cache will be quite big, so you could move that to sd-ext to free up a lot of space on /data.

su
m2sd dalvik enable
[Android Software/Hacking General [Developers Only]] abhinav quietly brilliant:
i didn't like this script much as i have a low space on sd card for my songs
[Android Software/Hacking General [Developers Only]] jackson0829:
Hello,|flyte|:

I do not know well about Linux language,

Can I put the" mounts2sd.zip"file in recovery bootloader for auto process ?

By the way , my IDEOS C8150's custom ROM already built in Linksd & OC ,whether it can add on your

mounts2sd script or not?

Thanks in advance for your answers!!!
[Android Software/Hacking General [Developers Only]] |flyte|:
Would moving dalvik over would reduce performance more than moving data over?
[Android Software/Hacking General [Developers Only]] jackson0829:
I do not know well about Linux language,

Can I put the" mounts2sd.zip"file in recovery bootloader for auto process ?

By the way , my IDEOS C8150's custom ROM already built in Link2sd & OC ,whether it can add on your

mounts2sd script or not?
[Android Software/Hacking General [Developers Only]] dk_zero-cool:
You copy it to the sdcard.

Then you reboot into recovery and select "Flash zip from sdcard".

Then you select this zip and it will install.

But you will have to remove any old scripts.

Or you can wait until tomorrow.

I am updating the installer to a graphical one where you can setup m2sd while installing, also I will add an auto detection and deletion of any existing *2sd scripts.
[Android Software/Hacking General [Developers Only]] jackson0829:
Thanks so much and I am going to await your update m2sd scripts for testing.
[Android Software/Hacking General [Developers Only]] jackson0829:
I follow above process to install new "Mounts2SD V2.1.2 " in my IDEOS V8150 custom ROM thru CWM 5.0.2.7,Unfortunately, It could not work (no matter installed from "Default" or "Customize" options

both have no response and quickly abort from "recovery menu")

?? Can you teach me how to solve it???
[Android Software/Hacking General [Developers Only]] dk_zero-cool:
Do you get an error message in the recover?
[Android Software/Hacking General [Developers Only]] darkshino:
I've got a noob question : we I update a ROM, without wiping data, I always flash mount2sd with aroma installer after flashing the ROM and before rebooting.

With new version you just provide an app which install the script and no installer usable in recovery, so is everything fine when flashing a ROM without wiping, if the script is not installed yet on first boot ?
[Android Software/Hacking General [Developers Only]] dk_zero-cool:
That's true. I will provide an installer for the recovery tomorrow.
[Android Software/Hacking General [Developers Only]] mmk.dr:
Is there anything that I should enter in terminal to move the system apps to sd-ext? Coz it didnot move them. My idea to move the system apps is to create more space in my system partition so as to flash Google Now in my ICS powered device!
[Android Software/Hacking General [Developers Only]] dk_zero-cool:
I have added a very simple log viewer with option to save log to sdcard. What does the log say, and what options have you enabled in the configure menu?
[Android Software/Hacking General [Developers Only]] Fleky911:
App keep saying that I need S-OFF to install init.d script but i already have S-OFF

Aroma version also dont work... in terminal it says system/bin/m2sd[225] : no closing quotes

What is problem? :S
[Android Software/Hacking General [Developers Only]] dimmy1405:
init.d script

the init.d script is either missing or outdated. click here to install/update... - then the init.d could not be copied to system partion, if u are htc owner make sure that u do not have S-On... as far as I know im s-off,,, i have rooted my phone woth UnRevoked and I am s-off...

what should I do in this case...?