yashsingh1/xdaforums huggingface dataset:
[Android Software/Hacking General [Developers Only]] pantsman28:
I have just download and installed that without any issue but just tried the MTD version of the M2SD but still wont install startup script. I have tried to install rom etc from fresh... and same problem with the M2Sd script start up. I have verified the init apk and it verifies ok. I am going to uninstall m2sd and try the other version.

I have been on this all weekend and just can't get more space on the N1
[Android Software/Hacking General [Developers Only]] dk_zero-cool:
You could have a busybox problem. Try installing another version of busybox
[Android Software/Hacking General [Developers Only]] jackson0829:
No, and I checked /system/etc/init.d in the Root explorer did not change

after installed the "Mount2SD" file and /system & /data memory space size

same as before ??
[Android Software/Hacking General [Developers Only]] DirkStorck:
Hi. I have used your script with an ICS ROM. Now I jumped back to my old Gingerbread ROM (CM7) and wonder if I can use your script with that ROM too :) ?
[Android Software/Hacking General [Developers Only]] dk_zero-cool:
When does it quit the install?

Sure it does :)
[Android Software/Hacking General [Developers Only]] jackson0829:
I do not know whether it is "quit the install" or just "did not start to install"?

There are not any message during install??

By the way, Can I directly to add on the scripts (in Mount2SD.zip) to the bin/etc/lib/xbin of root explorer ?
[Android Software/Hacking General [Developers Only]] dk_zero-cool:
I think know what the problem is.

I used the aroma installer from my ICS Rom as base, and in that I exit the install if anything other than Bravo/Desire devices uses the ZIP. Forgot to remove it :D

Sorry, I will update the ZIP right away :)

EDIT

Looked at the updater script, and it is fine. No device checks or anything. You can use root explorer to copy the files yes, and I will add a regular update.zip as extra in case the aroma does not work.
[Android Software/Hacking General [Developers Only]] jackson0829:
Thanks for your answers and also awaiting update.zip file ASAP
[Android Software/Hacking General [Developers Only]] iwan.booster:
I hope it can work perfect on my wildfire,

Download now n testing :)
[Android Software/Hacking General [Developers Only]] khankll:
hi

i m total noob to android,,

i have Huawei Ideos U8150. it has intewrnal storage of 150 mb,, i installed app to sd and whenever i install any app i move that to sd ,, i hafve 8 gb fat 32 class 2 sd card,, but it tests out as class 4 on most softwares,,also it can writ upto 6 MB /sec in windows,,

so far i have rooted my ideos, its default everything,

i m getting low storage like error..

now i want to be able to use a partition on my sd card as internal storage,, for that i tried minitools to partition may card as first 4 gb as fat32 3.5 gb ext2 , rest as swap,, but the minitools cant partition this sd card it just shows the percentage as 0 percent even after 2 hours.. whareas on youtube u watcghed videos where the percentage goes quickly within two minutes,, imy card was totally empty,,

so i cant partition sd card,

now suppose i do partition it will i be able to use this feature? on stock rom? how do i know that my rom supports custom boot scripts?

i have tried rom manager but that cant find any recovery for my ideos,,
[Android Software/Hacking General [Developers Only]] dk_zero-cool:
First of. sd-ext partition should not be more than max 1.4gb

Second, to see if you support init.d (which stock do not), you can enter an adb shell and type "cat init.rc | grep sysinit" and see if anything is printed. If not, then no support.

Also check /system/etc/ to see if the init.d directory exists.
[Android Software/Hacking General [Developers Only]] dk_zero-cool:
Try downloading the new Aroma version. I changed the original update-binary with a newer one. I think it was an issue with the old one on your device.

The legacy version will not work as it uses the old binary. Just in case of devices not supported by the new one.
[Android Software/Hacking General [Developers Only]] jackson0829:
Hi,dk_zero-cool:

Thanks for your prompt update new zip files and Finally I have successful

to install "Mounts2SD-2.1.4_aroma.zip" and confirmed all the scripts

in "Mounts2SD-2.1.4_aroma.zip" have already updated & added in

system/bin or /etc/init.d or /lib or /xbin of root explorer !!

But something strange happen: Afterward I double checked the RAM/system

space still 127MB used/42MB free & RAM/ Data space 79MB used/87MB free ??

(no matter installed from "default" or "customize" of M2SD change log)

I am wondering RAM system& data still did not move to 1000MB SD-ext partition?

I checked the original Link2SD script in etc/init.d already removed

but all linked apps still keep in Link2sd assigned locations??

for your reference and help me to find the solution!

P.S: I try to install another "Mounts2SD-2.1.4_legacy.zip" thru CWM5.0.2.7

and got installation aborted!!
[Android Software/Hacking General [Developers Only]] dk_zero-cool:
If you want to check available space, use "df -h" in terminal.

But try to give me "m2sd status", "m2sd log" and "ls -la /data/app"

Remember to type "su" first to gain super user rights.

And it should. That one still uses the old updater binary that gave you problems before. I only updated it in the aroma version.
[Android Software/Hacking General [Developers Only]] jackson0829:
Due to too much wording after "df -h" & "m2sd status ...Can you teach me how to copy the wording from "terminal Emulator " to PC ,then I can show you

error messages?
[Android Software/Hacking General [Developers Only]] dk_zero-cool:
Well in my linux terminal I mark everything I want to copy using the mouse. Then I right click with the mouse and choose "Copy" (Keyboard shortcut will not work).
[Android Software/Hacking General [Developers Only]] jackson0829:
As beneath are my error messages:

(1) df -h:

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

sh-3.2$ su

sh-3.2# df

/dev: 91184K total, 12K used, 91172K available (block size 4096)

/mnt/asec: 91184K total, 0K used, 91184K available (block size 4096)

/system: 174080K total, 130476K used, 43604K available (block size 4096)

/data: 170624K total, 88932K used, 81692K available (block size 4096)

/cust: 20480K total, 10628K used, 9852K available (block size 4096)

/tmp: 43008K total, 24K used, 42984K available (block size 4096)

/data/sdext2: 984280K total, 195360K used, 788920K available (block size 4096)

/cache: 170624K total, 88932K used, 81692K available (block size 4096)

/mnt/sdcard: 14513136K total, 5677648K used, 8835488K available (block size 8192)

/mnt/secure/asec: 14513136K total, 5677648K used, 8835488K available (block size 8192)

/mnt/asec/com.opensrc.phoenix.sim-1: 2088K total, 92K used, 1996K available (block size 4096)

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

(2) m2sd status & logo & ls -la /data/app:

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

sh-3.2$ m2sd status

Status:

-------

Mounts2SD []

- Apps []

- SysApps []

- Data []

- Dalvik []

- Cache []

- SWAP []

Device info:

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

SD-EXT device []

Cache device []

- Location []

Swap device []

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

sh-3.2$ m2sd log

v/Initiating Mounts2SD (v:2.1.4) [Thu Mar 1 07:45:31 CST 2012]

v/Initiating the props system...

v/Checking configurations...

v/Remounting /system with noatime...

v/Waiting for sdcard to initiate...

v/Running e2fsck on sd-ext...

e/Error while checking sd-ext. e2fsck returned exit code 0!

v/Umounting /cache to make the directory ready for linking...

v/Linking /cache to /data/cache...

v/Mounts2SD has been loaded!

Registered properties:

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

[mounts2sd.cache.device]: [/dev/block/mtdblock6]

[mounts2sd.cache.location]: [/cache]

[mounts2sd.cache.status]: [loaded]

[mounts2sd.sdext.device]: [/dev/block/mmcblk0p2]

[mounts2sd.swap.device]: [/dev/block/mmcblk0p3]

Mount Points:

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

sh-3.2$ ls -la /data/app

-la: No such file or directory

opendir failed, Permission denied

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

For your reference and find the solutions
[Android Software/Hacking General [Developers Only]] dk_zero-cool:
There is something strange with this. Seams that something else is using the sd-ext partition.

Try going to a terminal and type "su".

Not type and copy the fallowing commands here.

1: "busybox.m2sd df -h"

2: "ls -la /etc/init.d"

3: "ls -la /etc/sdext2"

This time type the commands exactly as I wrote them.
[Android Software/Hacking General [Developers Only]] jackson0829:
Follow your comment and got beneath messages:

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

sh-3.2$ busybox.m2sd df -h

Filesystem Size Used Available Use% Mounted on

tmpfs 89.0M 12.0K 89.0M 0% /dev

tmpfs 89.0M 0 89.0M 0% /mnt/asec

/dev/block/mtdblock4 170.0M 127.4M 42.6M 75% /system

/dev/block/mtdblock6 166.6M 81.3M 85.4M 49% /data

/dev/block/mtdblock7 20.0M 10.4M 9.6M 52% /cust

tmpfs 42.0M 24.0K 42.0M 0% /tmp

/dev/block/vold/179:2

961.2M 192.4M 768.8M 20% /data/sdext2

/dev/block/mtdblock6 166.6M 81.3M 85.4M 49% /cache

/dev/block/vold/179:1

13.8G 5.4G 8.4G 39% /mnt/sdcard

df: /mnt/secure/asec: Permission denied

/dev/block/dm-0 2.0M 92.0K 1.9M 4% /mnt/asec/com.opensrc.phoenix.sim-1

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

sh-3.2$ ls -la /etc/init.d

-la: No such file or directory

fbfix

FUSIONboost

12FUSIONremix

10mounts2sd

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

sh-3.2$ ls -la /etc/sdext2

-la: No such file or directory

/etc/sdext2: No such file or directory

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

RAM/System and RAM/data space still not move to SD-EXT??

I confirm my original Link2sd still using the sd-ext partition,

(I can find /data/sdext2 folder and all link2sd apps inside)

maybe I have to move back all apps from SD-ext to RAM in advance??

P.S: I could not download latest Mounts2SD-2.1.5_aroma.zip ???
[Android Software/Hacking General [Developers Only]] dk_zero-cool:
You have a script in your init.d folder that mounts sd-ext to /data/sdext2. This is a problem. What does this folder contains? And what does /data/app contain?

"busybox ls -la /data/app"

"busybox ls -la /data/sdext2"

Download links has been fixed :)
[Android Software/Hacking General [Developers Only]] jackson0829:
EDIT: Beneath are correct messages from Terminal

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

sh-3.2$ su

<ybox ls -la /data/app

drwxrwx--x 1 1000 1000 2048 Mar 1 06:19 .

drwxrwx--x 1 1000 1000 2048 Feb 29 23:45 ..

lrwxrwxrwx 1 0 0 37 Feb 27 02:41 aming.app.NewsBook-1.apk -> /data/sdext2/aming.app.NewsBook-1.apk

lrwxrwxrwx 1 0 0 44 Feb 27 02:36 app.demo.iTaiwanWifiByChe-1.apk -> /data/sdext2/app.demo.iTaiwanWifiByChe-1.apk

lrwxrwxrwx 1 0 0 37 Feb 27 02:33 app.real.sweettube-1.apk -> /data/sdext2/app.real.sweettube-1.apk

lrwxrwxrwx 1 0 0 38 Feb 27 02:33 au.com.phil.minepro-1.apk -> /data/sdext2/au.com.phil.minepro-1.apk

lrwxrwxrwx 1 0 0 32 Feb 27 03:33 com.ClockofAV-1.apk -> /data/sdext2/com.ClockofAV-1.apk

lrwxrwxrwx 1 0 0 47 Mar 1 02:13 com.acer.inputmethod.chewing-1.apk -> /data/sdext2/com.acer.inputmethod.chewing-1.apk

lrwxrwxrwx 1 0 0 34 Feb 27 02:31 com.app.HDPFans-1.apk -> ....

....

.....

.....

.....

....

lrwxrwxrwx 1 0 0 39 Feb 27 02:35 tw.com.nexttv.rtnews-1.apk -> /data/sdext2/tw.com.nexttv.rtnews-1.apk

lrwxrwxrwx 1 0 0 43 Feb 27 02:39 tw.com.sharpdaily.reader-1.apk -> /data/sdext2/tw.com.sharpdaily.reader-1.apk

lrwxrwxrwx 1 0 0 36 Feb 27 02:33 yesmobee.idoltube-1.apk -> /data/sdext2/yesmobee.idoltube-1.apk

lrwxrwxrwx 1 0 0 45 Feb 27 02:35 zapDroid.ChineseNewsOnline-1.apk -> /data/sdext2/zapDroid.ChineseNewsOnline-1.apk

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

<ybox ls -la /data/sdext2

drwxr-xr-x 5 0 0 4096 Mar 1 06:19 .

drwxrwx--x 1 1000 1000 2048 Feb 29 23:45 ..

-rw-r--r-- 1 0 0 883459 Feb 27 02:41 aming.app.NewsBook-1.apk

-rw-r--r-- 1 0 0 85045 Feb 27 02:36 app.demo.iTaiwanWifiByChe-1.apk

-rw-r--r-- 1 0 0 223284 Feb 27 02:33 app.real.sweettube-1.apk

-rw-r--r-- 1 0 0 157125 Feb 27 02:33 au.com.phil.minepro-1.apk

-rw-r--r-- 1 0 0 368683 Feb 27 03:33 com.ClockofAV-1.apk

-rw-r--r-- 1 0 0 426325 Mar 1 02:13 com.acer.inputmethod.chewing-1.apk

-rw-r--r-- 1 0 0 703606 Feb 26 10:25 com.advancedprocessmanager-1.apk

-rw-r--r-- 1 0 0 2234067 Feb 27 02:31 com.app.HDPFans-1.apk

-rw-r--r-- 1 0 0 3095462 Feb 27 02:42 com.chaozh.iReaderFree-

-rw-r--r-- 1 0 0 1538681 Feb 27 02:32 com.latedroid.juicedefender-1.apk

....

....

....

....

-rw-r--r-- 1 0 0 112558 Feb 27 02:33 yesmobee.idoltube-1.apk

-rw-r--r-- 1 0 0 2064952 Feb 27 02:35 zapDroid.ChineseNewsOnline-1.apk

sh-3.2#

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

I can find /data/sdext2 folder and all link2sd apps inside.

maybe I have to move back all apps from SD-ext to RAM in advance??
[Android Software/Hacking General [Developers Only]] PerfectSlayer:
Is there a way to insert data in the zip before flashing it ? (get it from my device to put it in the zip for all the next rom flashs)

Install apk by zip will it be automatically updated by play store ? (I think yes, but to be sure)
[Android Software/Hacking General [Developers Only]] 4D3:
ok, flashed the kernel you posted, installed mount2sd and configured busybox and installed the script, started ADB used command "adb logcat" and robooted, cmd windows is showing "waiting for device"

my evo is bootlooping and nothing is displaying on the cmd window...looks like the kernel didnt do anything, or it didnt flash!

EDIT: Flashed the original rom again and my phone booted.. im not sure whats going on here, why is it so difficult to do something that others seem to have zero problem with...

thanks in advance
[Android Software/Hacking General [Developers Only]] pantsman28:
I hold my hands up!!! I can't get me head around this. I have tried the MTD version installed through recovery. I have installed Busybox 1.20.2-jb, installed and confirmed use of Universal init.d support. its been varied to work but can not get the startup script to work. it could not be copied to the system partition :(

Would this be a problem with either permissions or is there away I could manually install the script?
[Android Software/Hacking General [Developers Only]] dk_zero-cool:
You can extract the script from the zip and manually place it in the init.d folder.
[Android Software/Hacking General [Developers Only]] pantsman28:
may sound like a stupid question but is the init.d folder on the /system

i have just gone into terminal and df

/dev/block/mtdblock3 used 266236 available 104 100% used is this correct? should this be full?
[Android Software/Hacking General [Developers Only]] dk_zero-cool:
Well that explains why you cant copy the script.

No it should not be full. Chances are that you are also missing some ROM files.
[Android Software/Hacking General [Developers Only]] pantsman28:
just tried to push the script and sure enough it says there is no space...

i used blackrose to create the partitions...

I used this http://xdaforums.com/showthread.php?t=1804571 to create the JB of 260/8/168

I assume the 260 is what the system for the rom is using... just wondering if I increased the size would it mess up the whole thing?
[Android Software/Hacking General [Developers Only]] TVT73:
I have maybe problems with cache. (could not attach /internal-cache/dalvic-cache to sd-ext/cache/dalvic-cache) although under cache sd-ext/cache is 183MB of 961MB. And also Quick System Info Pro says the same on system-cache.

where do i find the full log to give it to you?

what are the best settings for a low mem device like htc pico/explorer? I don´t need so many apps, but without such scripts i run fast in memory full issues.

I use cm10beta 3 or aopk beta2 on htc Pico with an 8GB SDHC Class 10 Card. Readahed is 2048.

Thank you for your easy script!
[Android Software/Hacking General [Developers Only]] dk_zero-cool:
This means that system dalvik has been placed in /sd-ext/cache/dalvik-cache instead of /internal-cache/dalvik-cache

But i need the log file to see the problem, but I need the debug one. So enable debug, reboot the phone and paste the log here
[Android Software/Hacking General [Developers Only]] 4D3:
Is there any ideas?

thanks
[Android Software/Hacking General [Developers Only]] TVT73:
ok here is the logfile. I first thought the log would be automaticly written, if something goes wrong, but i had to copy it manually to sdcard over the options button.
[Android Software/Hacking General [Developers Only]] dk_zero-cool:
It is written to a temp folder until you write it to the sdcard. No need to place garbage on peoples storage if they will not be needing it.

But like I said, you need to enable debug first. I dont have enough info from the normal log.
[Android Software/Hacking General [Developers Only]] dk_zero-cool:
I dint have any more. Adb should be started before init.d with the boot.img i provided. It works fine on all my test and daily devices.

The only thing I can think of, is that your device might be stalling way before, which means that it is not from any init.d scripts
[Android Software/Hacking General [Developers Only]] itsmebhupendra:
Ho do I do that?
[Android Software/Hacking General [Developers Only]] BenniBenassi:
Installed fresh ROM (the one I'm using now)

64gb sdcard with 2,34gb SD-EXT formatted as EXT3

Installed Mounts2SD

Mounts2SD did not reckognise the sd-ext partition as EXT3 at first, so I manually chose the filesystem as EXT3 in the menu

Rebooted

Now Play Store and Mounts2SD apps are gone.
[Android Software/Hacking General [Developers Only]] axymk:
readahead value

What readahead value I should choose for class 6 sd card?

Also please specify readahead values for all sd cards in your first post.
[Android Software/Hacking General [Developers Only]] TVT73:
You will need to test it by benchmarking with sd-tools. And you should better choose a class 10 card when using a memory increasing script.

Normally are values between 1024-2048. But it differs to Card Speed Class an also for the card himself. Its nothing to define generally.
[Android Software/Hacking General [Developers Only]] dk_zero-cool:
Actuakly, many class4 cards can beat the hell out of most class10 cards.

Class4 and Class6 scandisk cards are your best choice.

Myself I use a 16gb class4 scandisk. I can place anything on sd-ext, incl data, without slowing down my system
[Android Software/Hacking General [Developers Only]] dk_zero-cool:
If you dont daily copy big files to and from your sdcard and pc, I would go with lowest setting
[Android Software/Hacking General [Developers Only]] HTCDreamOn:
Can this mess up Linux / Linux.loop

I installed, using the chroot method, a Debian shell to a 768Mb Linux.loop file in /data/local/tmp/ . It was working fine, but only brought up problems after I installed this script :crying: . I've heard that a2sd can cause problems with chroot, but I hadn't installed anything Linux related to sd-ext. The problem was that Debian could no longer mount. All I had moved to /sd-ext/ was /data/app/ .

Any suggestions? I know this is slightly off topic, but I have a feeling this may have been the cause.
[Android Software/Hacking General [Developers Only]] kevinbobo123:
which zip can i use for galaxy fit running jellybean 4..2.1.....???
[Android Software/Hacking General [Developers Only]] abhishek046:
I've checked the Settings in the Mounts2sd app. Configure Busybox reads "Busy box is fully configured" & Install script says "The init.d startup script is installed and upto date". Still it gives me an error that Script was not fully executed during boot!!
[Android Software/Hacking General [Developers Only]] dk_zero-cool:
You still needs init.d support
[Android Software/Hacking General [Developers Only]] TVT73:
This will be maybe with noname lowcost China SD Card. But a good manufacture will follow the minimum speed witch is defined by classes. So normally a Sandisk Class 10 is definatly faster than a Class 6 or 4. That´s a industrial definition, which can be found explaiend anywhere on web.

In fact on an smartphone it sometimes doesn´t matter, because the devices can´t handle higher speeds?

But when we talks about low end devices, which needs more memory, what we assign from sdcard, so much usefull is Class 10 for best performance, because of theoretically internal ram is normally faster than the sdcard performance. In praxis we don´t see the difference. Thats nice to know.

If someone must buy a new card, we are talking about a difference from less than 2-10 € by cards with max. 32GB.

Next thing is the wearlevel by using a sdcard for those proposes. Lowcost cards may fail or corrupt data earlier. For testing purposes it´s equal, for daily use it´s a better advice to use high quality cards.

Anywhere, it´s amazing how easy such low cost devices with an custom rom and your script will work better than ever before! :D
[Android Software/Hacking General [Developers Only]] genseng:
The OP is referencing empirical evidence that has shown a good quality class 4 and class 6 cards, such as the Sandisk ones, perform better in the a2sd applications (such as this script) than almost all class 10 cards due to better random reads & writes, particularly 4K. There are several threads on the subject on this site and others with test results from many manufactures. The industrial classification only accounts for minimum sequential write speeds which have very little impact on the a2sd script performance outside of say installing an application. I believe there are just now class 10 cards coming to market that can compete on the random writes (e.g. Sandisk & Samsung).
[Android Software/Hacking General [Developers Only]] dk_zero-cool:
I did say that manufactures like scandisk was recommended, Samsung do also have a few cards which can comped. So I am not talking about lowcost cards. What I am saying is that a class4 and class6 scandisk card will kick ass next to a class10 scandisk card (Note same manufacture). Like mentioned in the thread above, this is A2SD related. Maybe the class10 can do some other task better, but not when it comes to the sd-ext partition. You can find posts about this all over XDA Developers and articles across the web explaining some of the reasons. There have even been a few people in this thread, as far as I remember, whom have gained better performance by replacing their class10 scandisk with a class4.

It's like with a PC. A lot of RAM and a fast CPU is not everything that makes up a great and fast computer. The same goes for sdcards, the class alone means nothing, no mater what manufacture we are talking about.
[Android Software/Hacking General [Developers Only]] TVT73:
I had enabled it, but forgotten to reboot? I dom´t know, but here is the full log.
[Android Software/Hacking General [Developers Only]] angelgzg:
How do I move data / data to data / sd-ext, move only after configuring the app and not the data?
[Android Software/Hacking General [Developers Only]] pantsman28:
Finally I got it well kind of working now. Used black Rose to set the partitions to 270/10/156 and with a new rom it installs and showing to be working. My problem was space and something to watch if the script wont run from start!!!

Everything works great but still can't get m2sd to more apps to sd! M2sd is installed and running and have check the reformat of the SD it does have EXT4. I have checked the log and no errors.....

Does m2sd only use the sd once the internal is full? for some reason I was expecting the internal storage to display 1gb which is what I set EXT4 to?

or am i missing a setting or script?
[Android Software/Hacking General [Developers Only]] dk_zero-cool:
Could I get a full log?