yashsingh1/xdaforums huggingface dataset:
[Android Software Development] Ricfil:
Definetly I do believe none of this kind of scripts work on my phone:confused:. I´ve just tested a2sd+ and also S2E (similar concept), and they both installed correctly and moved all the apps to their respective Ext partitions. The thing is, whenever I reboot the phone, the scripts did not work on boot time, since the low memory message apeard again:(. And I´ve tested more than a couple of times since yesterday...

Do not know if it is a CM9/10 issue but it happened on my phone.

Just some heads up on my experience.
[Android Software Development] 4D3:
Hi,

Nothing i do seems to get any of these script working, everything just creates boot loops, I have even tried using an EXT3 partition.

I flashed a new rom, flashed the recommended kernel, flashed gapps. booted the rom, rebooted and flashed the busybox you recommended.

rebooted and everything worked.

went back to recovery, manually mounted the system (I dont think 4EXT has an issue mounting the system as te kernel writed files to the INIT.d folder, I checked this when i rebooted to check all was working), and flashed INT2EXT, fixed the permissions, flashed gapps again (I read somewhere in this thread that this can help some people)
[Android Software Development] BleedingIris:
Dude,can you check using disk usage app,what is filling up the /data partition and may be post a picture here

---------- Post added at 01:48 PM ---------- Previous post was at 01:45 PM ----------

Lol,it happens sometimes for me too..

Sometimes I really wish all these android apps come with user manual instead of a link to their website.:p
[Android Software Development] Ricfil:
:D

Relating the Data partition aspect, right now, I can´t screenshot the issue I had, because I´m experimenting using stock ap2ext on CM9 (really can´t seem much diference fomr this scripts-at least the a2sd one´s-and the stock cm9 aproach) and want to backup the result first. But what hapened was that after a reboot all the apps that were on the ext partiiton (put there using a2sd+) all reverted back to the internal storage(Data partition?). After a reboot I only had 327KB free... I checked and all the .apks were on internal data folder. And that happened using both a2sd+ and s2e. Tested twice on both, same result after reboot.

What are the main diferences from this scripts and the "stock" app2ext CM based script? Even Kabaldan (developer for Milestone´s CM Roms), says the stock script does all the app to ext stuff. It moves data and dalvik to ext partition. To move the libs we only need to use the lib2ext command on terminal and a reboot after (and it works, just confirmed it after several reboots)...:confused:
[Android Software Development] BleedingIris:
So, stock scripts are working for you.. right...

If that's the case why do you want to try different script?

Anyway, personally never heard of a stock script..never heard of a ap2ext script either...I also run cm9 unofficially ported..
[Android Software Development] mixednuts:
So, even with the gapps you have a good amount of space left, right? And, I've probably asked you this before, but you have nothing else in the INIT.d folder?
[Android Software Development] Ricfil:
What I call stock is the ap2ext script that comes bundled in Kabaldan´s Motorola Milestone CM versions. It does what A2sd+ did when I installed it (with the advantage a reboot did not break the ext apps-being that all apps remained there and the internal space was still plenty). I was experimenting with diferent scripts just to see if they had any major diference or benefit ;). I´m still struggling with some lag and crashes, even with less apps installed on the phone, but it´s better.

Still, this script does what others did, it "masks" or mounts the ext partition into the internal memory (I notice this when going into storage - on definitions - and see that my internal space appears all filled (197MB), but still it has got 1.03 GB off apps in it and has got available 145 MB :eek:. really head spinning stuff, lol. It does not have space, buit it has got space, you see ...:D

Even in Titanium if I go to an app that I want to put in the real internal memory, it does not give me that option (probably because of the ext partition mounting on internal), it also sees the app as the system sees it:confused: So, how in earth do I manage to put some apps in the REAL internal partition?...

That is why I say Link2SD was awesome in that regard :rolleyes: It had the ability to choose batch instals/reinstalls, link/unlink configurations on the fly... and recognized properly both Fat partitions. This script methods just turn my head around! Because they make the ext partition disapear into the real internal memory... arghhhh... :mad::eek:
[Android Software Development] dk75:
A2SD+:

unmounts /sd-ext if mounted beforehand

mounts second partition of SD Card to /sd-ext

makes /sd-ext/app , /sd-ext/app-private and /sd-ext/dalvik-cache directories

moves data from /data/app to /sd-ext/app

moves data from /data/app-private to /sd-ext/app-private

moves data from /data/dalvik-cache to /sd-ext/dalvik-cache

maps /sd-ext/app into /data/app , so it appears as /data/app

maps /sd-ext/app-private into /data/app-private , so it appears as /data/app-private

maps /sd-ext/dalvik-cache into /data/dalvik-cache , so it appears as /data/dalvik-cache

after that it is Linux thing, that file system thinks it is one big disk.

If you invoke "df" command (disk free), it checks real device free space - that's why you have real, small amount of free space on internal.

But if you use "du" command (disk usage), it traverse through filesystem in specified directory to count files in all directories inside that specified first directory, regardless if they are on same or different devices. Just filesystem files space count.

You can't do that with Cron's scripts.

After what they do, there is no "external" data and "internal" data. Although some data are physically on external memory, for the system, everything is on internal logically speaking.
[Android Software Development] Ricfil:
Thanks for the useful info.

So that you notice, I´m using the built in ap2ext script from Kabaldan´s CM9. I couldn´t put to work A2sd+ (or any other script on this thread for that matter). A2sd+ simply "remounts" stuff on reboot and my internal partition fills imediatly... This does not happen with the build in script. Still, the script which I´m using puts app data, dalvik data and lib data (invoquing the lib2ext command) on the ext partition. And it "masks" the ext partition as internal. So I see no real diferences from this script and A2sd+ for example :confused:

I mencioned moving apps to internal because someone around here who helped me out said he used to use Titanium to move apps that way... Using this script, it really seems impossible to do so. They do not have much flexibility for what its worth, in my mind atleast :rolleyes:... I could easily do this using Link2SD.. Pitty I can´t put it to recognize ext partitions on my phone... Miss it so much...:)

Thanks:good:
[Android Software Development] sax0406:
Stuck at bootanimation

I installed int2ext+ as given in the instructions. But my phone doesn't boot. It just gets stuck in the bootanimation. If someone can provide a solution, it would be nice. Here is the logcat:

View attachment 1567607
[Android Software Development] dk75:
Sorry, my bad.

It's not a recovery problem but your ROOT problem.

/data partition is mounted read only during BOOT phase.

Maybe it is time to change busybox?

You can try the one from TitaniumBackup (easiest way).
[Android Software Development] sax0406:
I upgraded my busybox but still its giving problems. It runs fine on CM7. But gives problem on CM9 and CM10.
[Android Software Development] post-mortem:
Did you edit the script before flashing it? What did you change to "24M"?
[Android Software Development] mbudden:
Did you make sure that you made / have a EXT3 partition on your SD card? Sounds stupid, but it was the same issue I was running into but I forgot that there wasn't a EXT3 partition.
[Android Software Development] sax0406:
Nothing. I flashed it as it was.

Yes. I've a EXT4 partition.
[Android Software Development] post-mortem:
On the 1st page of the logcat you posted, is the line:

which made me believe you had changed something. I checked my copy, and there's no "24M" anywhere in the script. Have you tried redownloading it?
[Android Software Development] sax0406:
Yes. But still getting that error :(
[Android Software Development] 4D3:
YEah with fresh install and gapps i have nearly 1gb free!

also the only things in the init.d folder are things relating to the kernel i use.
[Android Software Development] dk75:
ZIP your /system/etc/init.d folder with Android Commander and post it here.
[Android Software Development] sax0406:
Here is the init.d folder:

View attachment 1570388
[Android Software Development] 2GigayteSD:
Download links are down?
[Android Software Development] 4D3:
yeah probably because these dont work lol

(JOKE)
[Android Software Development] dk75:
It seems all ok.

Still, it looks like busybox error.

Run AndroidCommander, start terminal from it and check busybox, umount and df commands:

root@android:/ # busybox df --help
BusyBox v1.19.4-cm9 bionic (2012-02-05 18:40 +0100) multi-call binary.

Usage: df [-Pkmhai] [-B SIZE] [FILESYSTEM]...

Print filesystem usage statistics

-P	POSIX output format
-k	1024-byte blocks (default)
-m	1M-byte blocks
-h	Human readable (e.g. 1K 243M 2G)
-a	Show all filesystems
-i	Inodes
-B SIZE	Blocksize

1|root@android:/ #

1|root@android:/ # busybox umount --help
BusyBox v1.19.4-cm9 bionic (2012-02-05 18:40 +0100) multi-call binary.

Usage: umount [OPTIONS] FILESYSTEM|DIRECTORY

Unmount file systems

-a	Unmount all file systems
-r	Try to remount devices as read-only if mount is busy
-l	Lazy umount (detach filesystem)
-f	Force umount (i.e., unreachable NFS server)
-d	Free loop device if it has been used

1|root@android:/ #

Also, check /data folder permissions:

root@android:/ # stat /data
File: '/data'
Size: 4096	Blocks: 8 IO Block: 4096 directory
Device: b302h/45826d	Inode: 2 Links: 18
Access: (0771/drwxrwx--x) Uid: ( 1000/ system) Gid: ( 1000/ system)
Access: 2012-12-15 23:05:29.000000000
Modify: 2012-12-18 03:36:49.000000000
Change: 2012-12-18 03:36:49.000000000
root@android:/ #

You might check SH shell also:

1|root@android:/ # stat /system/bin/sh
File: '/system/bin/sh' -> 'mksh'
Size: 4	Blocks: 1 IO Block: 4096 symbolic link
Device: 1f03h/7939d	Inode: 1357 Links: 1
Access: (0777/lrwxrwxrwx) Uid: ( 0/ root) Gid: ( 0/ root)
Access: 2012-09-28 16:41:49.000000000
Modify: 2012-09-28 16:41:49.000000000
Change: 2012-09-28 16:41:49.000000000
root@android:/ #
[Android Software Development] sax0406:
i checked and everything is same as given in your output.
[Android Software Development] dk75:
OK.

Then last idea which I have now is to remove "02compcache" and "90userinit" from /system/etc/init.d folder.
[Android Software Development] Andrea D:
I have a question regarding this sentence:

-100mb internal is needed for every 500mb sd-ext (INT2EXT+/INT2EXT4+)

my free internal space is about 150mb, but I want 2 / 3 GB as EXT Partition.

If I use INT2EXT (not INT2EXT+) is it ok?
[Android Software Development] dk75:
Yes, it is ok, but then you will have 2GB free space on EXT and couldn't install anything because "no free space" on internal.

But it will not affect anything, and will work ok.
[Android Software Development] Ricfil:
Are you shure it will not afect anything?... Whenever I had that amount of space (lack off) in internal memory the phone became slugish as hell... I do believe free internal memory is needed for the phone to act less laggy (everything below 40MB free internal memory on my phone lagged big time), everything above 80-90 MB and the phone was pretty ok.

Just my experience on that. :good:
[Android Software Development] dk75:
You must decide about what you ask: about how big external could be or how much internal you should left free. Those are two separate questions.

Whatever you will have 10GB external EXT partition instead of 750MB it will not allow you to install more programs or it will not screw your phone.

You just will have a lot of free, unused and wasted external EXT partition - all.

Low internal memory problem is irrelevant in question of "how big external could be".
[Android Software Development] Andrea D:
What I was really asking is:

If I have 150 MB internal, how big external could be with INT2EXT+, and how big external could be with INT2EXT ?

When I was using INT2EXT+ it was around 500MB and I'm sure of that, now I'm using INT2EXT and I'm around 1GB, but I bought a new memory card and I want to upgrade the ext partition to 2 or 3GB; but I'm not sure how big I can do the partition
[Android Software Development] dk75:
Performance wise for INT2EXT+ is for every 100MB of internal you should make no more than 500MB external - with 200MB of internal then max is 1GB. That's because for every 4MB of installed application, 5MB is going to external (including "dalvik-cache) and 1MB is going to internal (roughly, it's just estimation).

For INT2EXT there is not such advice. With it, everything, except some really "small" directories are moved to external, so with every installed application no internal is filled.
[Android Software Development] Lt.Win:
Then would D2ext have the same behaviour as int2ext?
[Android Software Development] dk75:
Yes.

There is nothing left on internal... it's left clean after D2EXT. Everything goes to external.
[Android Software Development] carlese:
hi guys.. I have to choose from all these scripts to flash in my GF's phone (S5830 with droid ace 2.1). I tried link2sd but in some way it screws up the phone after some days (low space errors and so on), so what script would you reccomend? I am going to flash it from scratch and then restore all the apps with titanium, and I ant to update all the apps as well in the future.. so help me find the right script ;) thanks! :)
[Android Software Development] markusleo:
Can the INT2EXT+ script be used on CyanogenMod 10.1 (Android 4.2.1)?
[Android Software Development] Andrea D:
The last question here for me:

INT2EXT or INT2EXT4?

Is it faster or what? What's the real difference?
[Android Software Development] dk75:
Real difference between INT2EXT+ and INT2EXT4+ are mount options for EXT partition.

INT2EXT+ - mount options generic, it work out with EXT2, EXT3 and EXT4 (system chose default mount options for each file system)

INT2EXT4+ - mount options optimized for EXT4 partition only (it wont work with EXT2 or EXT3 - it stops whole script from working on those partitions)
[Android Software Development] Andrea D:
Yeah I know that, but if I can chose between those which one is better? Using EXT4 is faster?

(I clicked thanks but I want to thank you another time cause you are really helping me out)
[Android Software Development] dk75:
hmm... since mount options are optimized for EXT4 then I think it is a better choice for EXT4 users... don't you think?

Didn't you read about it in first post in scripts descriptions?
[Android Software Development] rakijaman:
Sorry guys but i'm in mess little bit can't understand what I need and just wanna ask which one script is good that not using my internal memory I mean all to be linked to ext4? Please answer :)

Sent from my GT-S5660
[Android Software Development] dk75:
Either A2SD++ (in programs like TitaniumBackup, you will see amount of internal memory as internal memory) or INT2EXT (no pluses in name - in programs like TitaniumBackup, you will see amount of ext partition as internal memory).
[Android Software Development] DirkStorck:
Hi I try to get your INT2EXT+ running with this ROM CM10 | Jelly Bean 4.1.2 - v3.0 but after the phone has booted I I have completed the setup wizard it starts rebooting....:(

Could you help please :)

Thanks!
[Android Software Development] dk75:
So, you think that someone will download 130MB of ROM not designed to his phone, just to check 4KB script resided in /system/etc/init.d because you can't provide it?
[Android Software Development] DirkStorck:
Have got the script working...have forgotten to remove the a2sd script from the ROMs init.d folder...but now I get tons of

E/WVMExtractor( 172): IsWidevineMedia not found in libwvm.so

in logcat...Please anyhelp! :)

EDIT: Everything is working fine and for a Desire very smooth! :)
[Android Software Development] dk75:
If you had system configured and programs installed with a2sd, then some programs might have their files/libraries already in /sd-ext. Cron's script just wiped it out and you ended with corrupted applications.

That why it is safe to install this script on the go with a system that haven't been touched with any ext scripts, but in any other cases it is recommended to make Titanium Backup backup, flash system fresh and then restore system with Titanium Backup.

Do you have any backup from before flashing Cron's script?
[Android Software Development] d12unk13astard:
Will this work on cm9 b1 for my e4gt? Im planning on using d2ext.
[Android Software Development] vashta:
Currently i'm using INT2EXT+ . Works fine, but i wanna back to normal again.

Now my question. How to remove this script?
[Android Software Development] dk75:
Two ways:

reinstall fresh

make TitaniumBackup backup

restart to

recovery

make

backup

in

recovery

full wipe

format ext

fresh

install

of your

ROM

reboot

install TitaniumBackup

recover apps from TitaniumBackup

just convert to "no script"

Install QtADB (you might use Android Commander, but as Linux version is discontinued for more than year, and last version is much much behind, then I'm basing this on QtADB, since I have Linux system on my laptop).

Run QtADB, go to [Tools] / [ADB] menu and chose [Restart to recovery] menu.

wait till

recovery

appears

mount

/data and /sd-ext in

recovery

set phone /data folder in left QtADB pane

set phone /sd-ext folder in right QtADB pane

move

everything from /sd-ext to /data

mount

/system in

recovery

go to phone /system/etc/init.d in QtADB

delete

40int2ext file in phone /system/etc/init.d folder

reboot

the phone

But if you have more on EXT than you have free space on /data then you have a problem and the only way for you is fresh install and recover apps from TitanumBackup, but selectively - not every apps could be recovered as you will have not enough space.
[Android Software Development] vashta:
Step 2 kinda confusing for stupid user like me :D.

Guess better using the common step, like step 1 :).

Anyway.. thx for the answer.
[Android Software Development] bubu2001:
Small bug: Ivona TTS does not seem to work with this script. I have Enhanced SMS and Call (should announce the caller's name) using Ivona TTS and after installing Int2ext4+ it does not work anymore.

In other softwares like Igo Ivona works perfectly.

Can someone create a fix for it?
[Android Software Development] siavash2death:
I don't know if this problem only occur for me or not.but when I use an script (I have tested int2ext4 and int2ext).then when rom boots up, I can't reboot the phone. I mean I can.but when phone reboots, it stucks at boot animation and phone never bootup again until I have to reflash a rom, again. I have witnessed this problem with ICS and JB roms. I can only use ad2sdx and m2sd. Any solution? Have anyone experienced this problem?:confused:
[Android Software Development] dante197:
Hi I try to use INT2EXT+ on this ROM RESURRECTION

im format all (phone and sd)

from recovery i do partition sd (256mb and no swape)

flash rom

reboot

skip first wizard setup and reboot in recovery

flash script INT2EXT+ and format sd-ext

reboot

but i always see 180mb free space. sorry for bad english

:(

edit: solved
[Android Software Development] x3rion:
hello all :) i having little problem with this script ...after reflash ROM i was so happy 2GB internal memory!!(my arc s having something like 300mb+...) but after installed some application(something like 400+mb) my phone started working very slow and laggy...when i useing my music player, web browser, facebook etc....last time i w8 5 min to open my facebook and he was very laggy...

Phone: ARC S

Kernel: Arc Fusion 4.1

ROM: AOKP JB milestone 1-r1

SDCARD: sandisk 32GB class 10

script: CronMod-INT2EXT+

THX for any help:)

P.S. sorry for my english:p
[Android Software Development] BajoPrimate:
Hi!

You could do this: do all you did but format sd-ext just BEFORE flash the script, and not after.

It worked for me.
[Android Software Development] dk75:
Try CronMod-A2SD instead (no "+" signs in it).
[Android Software Development] x3rion:
ok thx will try:)
[Android Software Development] Comrade General:
I downloaded Int2Ext+, copied it to the memory card. When I install it an error pops up:

E: Error in/ sdcard/Cronmod-Int2Ext+_signed.zip (Status 0) Installation aborted. :S

I installed Xperia-ICS[Build 13] for HTC Explorer, rebooted to recovery, formatted SD-Ext and then installed Int2Ext+ and still the error pops up. How should I fix this error? The phone has 150 MB internal memory which is a real pain. :/ Any ideas? I want the apps to install on the memory card.
[Android Software Development] sauron82:
Your download may have been corrupted. Redownload, recopy to your SD, then flash. Mount data, system & sd-ext first.
[Android Software Development] Comrade General:
Do you suggest Int2Ext+ or some other script? Which one is better in your opinion?

---------- Post added at 02:39 AM ---------- Previous post was at 02:15 AM ----------

I tried AS2D++ this time and the same error came (Status 0). o.O
[Android Software Development] sauron82:
It depends on what you want moved to the sd-ext partition. Regular moves apps (fastest), + moves apps & dalvik cache, ++ moves apps, dalvik & data (slowest).

As far as the error, try downloading it on your desktop and then copy it to your phone, instead of downloading it directly to the phone from the phone browser.
[Android Software Development] 4D3:
Dont worry about it none of these scripts work for me...currently i think this thread is a myth and i need to get a unicorn powered phone!
[Android Software Development] sauron82:
What rom are you using? Does it support init.d scripts? Very important.
[Android Software Development] 4D3:
this rom:

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

and it does use init.d
[Android Software Development] dk75:
One question I have after brief check of files from it... what partitions do you have?

Post result of "df -h" for that.
[Android Software Development] dk75:
My condolence.
[Android Software Development] impactor:
You should add:

- It there's anything I can do...

- Oh, why, yes. Now that you mention, there is something: How about writing a constructive, helpful post?
[Android Software Development] 4D3:
My advise is to try and find another solution - these do not work for me.

I have an EVO 3D, using about 7-8 different CM10 roms which all support init.d and no matter when i do these do exactly as you describe...bootloops.

I have had on some flashed where the script doesnt actually go across and needs to be manually added and have the permissions changed.

Nothing works and i have been trying to figure this out for over a month!!

I hope that helps and saves you the time i have wasted here!
[Android Software Development] impactor:
@4D3, thanks for the heads-up. Can you recommend a script that would leave as much stuff as possible on /data for speed, but move the apps on the ext (4ext)? An equivalend ot int2ext4+
[Android Software Development] 4D3:
I have no idea! I have been looking myself!

apparently the rom has to use init.d and the kernel your using has to have RAMDISK enabled.

although i have both of these but the scripts in this thread does not work...none of them do i have tried them all!
[Android Software Development] appman1234:
You may try the term-init to active the init.d, see the following thread:

http://xdaforums.com/showthread.php?t=1933849
[Android Software Development] sauron82:
Make sure you mount data, system and sd-ext before you flash. I don't think the OP says to mount sd-ext. Otherwise your rom doesn't support it for some reason.