yashsingh1/xdaforums huggingface dataset:
[Android Software/Hacking General [Developers Only]] ckethan:
And does this script moves all apps n data again if rebooted does it run the script everytime or skips once all had been moved to sdext?

Is symlink removed when rebooted? Beacause i find it takes while to boot
[Android Software/Hacking General [Developers Only]] DIXES:
I've tried it and it works for me.

But I don't know if this is a bug, when I tried reboot to recovery and wipe dalvik-cache then boot in system, I found the dalvik-cache folder on /system/sd(internal memory mount point) became a folder not a Symbolic link, and there is also a dalvik-cahce folder in /data(EXT4 mount point), and also a dalvik-cache folder in /data/dalvik-cache, so it is like this, /data/dalvik-cache/dalvik-cache/dalvik-cache/dalvik-cache/.....and so on.

If I use this script then I can't wipe dalvik-cache in recovery, right?
[Android Software/Hacking General [Developers Only]] 216Monster:
I was able to wipe cache and dalvik cache just fine myself. Using doomkernel in all 3 recoveries listed in dooms boot manager.
[Android Software/Hacking General [Developers Only]] DIXES:
Did you use the original script in this thread?

I got that "/data/dalvik-cahce/dalvik-cahce/dalvik-cahce/...." issue from the script modified by mine(#344) for moving all dalvik-cache except system apps to EXT4 partition.
[Android Software/Hacking General [Developers Only]] 216Monster:
I used the recovery zip and flashed it that way.

Sent from my R800x
[Android Software/Hacking General [Developers Only]] DIXES:
I think that script in the recovery zip does not move dalvik-cache to EXT partition, so you can wipe dalvik-cache in recovery mode without problem.:)
[Android Software/Hacking General [Developers Only]] earthnfire78:
delvik-cache

The mvdalvik also creates a Delvik-Cache folder in the Cache partition and that script runs first, so what happens is that you have two copies one in your Cache Partition and one on the ext partition.

I took the install a mad a few changes, in that it formats the Cache and deletes the init.d folder and installs a new one.

PM my and I give out the link, as I cannot post links right now
[Android Software/Hacking General [Developers Only]] deviler:
Great job.:D:D will try this
[Android Software/Hacking General [Developers Only]] la72pt:
AD2SDX and ICS

hello amarullz.

first of all thank you for your great script. i'm using it on my blade with cm7 and the diference of with and without your script is evident. know i'm thinking to update my blade to ics, and my question is . . .

your script is compatible with ics? thaks in advance.

I hope you can continue your great work

(hope you understand my english)

L.A.
[Android Software/Hacking General [Developers Only]] ckethan:
Which is best and stable this or dt_a2sd?
[Android Software/Hacking General [Developers Only]] MarkAtHome:
Why don,'t you try both, and let us know? That would be helpful.

____________________

Sent from my HD2 ICS CM9 with XDA Premium
[Android Software/Hacking General [Developers Only]] innocence07:
easier way of doing this is partitioning your sd card with one fat32(preferred larger than ext4 par) and the other one ext4 then give assisgned them both primary then install S2E on setting check mount as ext4 then reboot done... all installed app will directly go to ext4 with delvik cache so when u connect your cp to pc u can still use apps installed on the ext4 ahaha cheers... if your confuse in my instructions u can always google S2E app for better explanation :thumbup::thumbup::thumbup:

My Beloved MT15i miui 2.4.6 by taaviu :)
[Android Software/Hacking General [Developers Only]] NYLimited:
Not helpful to me. If I wanted to know more about Darktremor I would read and play but, as the old saying goes, been there, done that.

---

Fighting for peace is like screwing for virginity
[Android Software/Hacking General [Developers Only]] ckethan:
@ny_limited

I tried your mod script it keeps recurssing dalvik-cache folder help me!
[Android Software/Hacking General [Developers Only]] la72pt:
Ad2sdx & ics

i've tried AD2SDX 'alpha2' and '1.00-RC01' on blade with ics ColdFusionX but hangs on boot.

someone has succeeded in applying this script in ics?

thanks in advance.
[Android Software/Hacking General [Developers Only]] NYLimited:
I *really* thought this was someone's support thread but it seems that I was wrong. Looks more like the advertising channel now. :(

---

Fighting for peace is like screwing for virginity
[Android Software/Hacking General [Developers Only]] NYLimited:
Yes.

---

Fighting for peace is like screwing for virginity
[Android Software/Hacking General [Developers Only]] NYLimited:
Well, it isn't my script but tell me more of what you have done.

Was it a newly flashed ROM with factory reset or updating an existing system?

What files do you have in the /etc/init.d folder?

What partitions and what format are on the sd card? They are primary? What sequence?

Anything else you think may help..

---

I put a dollar in a change machine. Nothing changed.
[Android Software/Hacking General [Developers Only]] MarkAtHome:
Not much of a description, but I am guessing this.
[Android Software/Hacking General [Developers Only]] NYLimited:
That article uses a lot of words to (maybe) say "circular link". :D

---

I put a dollar in a change machine. Nothing changed.
[Android Software/Hacking General [Developers Only]] ckethan:
Yes circular link .. the mod script by adding dalvik-cache to sd ..
[Android Software/Hacking General [Developers Only]] NYLimited:
Circular links are often created if the ROM did not initialize fully before the script was installed. Especially when using the Alex-V mod, the Dalvik cache should have been initialized before this script is ran.

For example, when installing a new ROM, it should be booted completely at least once before this script is added to init.d and all other *2SD scripts need to be removed at that time.

---

I put a dollar in a change machine. Nothing changed.
[Android Software/Hacking General [Developers Only]] mbaban:
Amazing with easy steps and no problems !!!
[Android Software/Hacking General [Developers Only]] la72pt:
yes, how?

BLADE, COLDFUSIONX, AD2SDEXT?

can you tell me how. i'm tired of trying without success . . .

i'm have succes with cm7, but not with cm9 coldfusion.
[Android Software/Hacking General [Developers Only]] denzel09:
Hi i need to know if this script need of a deodexed rom to work.

Thanks
[Android Software/Hacking General [Developers Only]] DIXES:
What is this file /data/dun? It is a symbol link to /system/sd(my ext4 mount point), but I checked that there is not dun file in /system/sd.
[Android Software/Hacking General [Developers Only]] Bib_x:
Hi, can i use this script on my already running rom or do i have to do a fresh install?
[Android Software/Hacking General [Developers Only]] ivaneris:
with titanium backup pro 5.0 this script is flawless...i can run batch restore smoothly :D

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

btw i use ext3 for my 2nd partition..

i think you could use it...see the page one :)

but for best result i think you should have a fresh install..don't forget to backup your current rom...and titanium backup batch restore run flawlessly too :)
[Android Software/Hacking General [Developers Only]] Abraham310:
I'm using CM 7.2 on my galaxy min, But the script hinders my device...

It's something.. slow...
[Android Software/Hacking General [Developers Only]] Aternus:
Updated Version

@amarullz

I've done some refactoring on your script.

Please see attached. Should work better! :)
[Android Software/Hacking General [Developers Only]] ckethan:
Hi can you list the features and addition towards original one ? what are the changes ?
[Android Software/Hacking General [Developers Only]] Aternus:
Refactoring means code optimization so no major changes here. Its just more organized with better debugging. Theoretically it should also be faster to execute...
[Android Software/Hacking General [Developers Only]] thunder888:
Hi, i use this script from recovery mode (alph02) and i got 959mb internal memory but i can't detect network service. It say no sevice (can't detect manually also). For information : i use aokp 35 from team xperia with sirkay kernel (cm9 base) on my neo. :(
[Android Software/Hacking General [Developers Only]] Cr3sc3nt:
After a fresh Flash using this version, my phone hangs during boot up, but if I use the original version, everything goes smoothly.
[Android Software/Hacking General [Developers Only]] jozef710i:
Doesnt work i have fc all my apps
[Android Software/Hacking General [Developers Only]] amarullz:
If you willing to help me, please provide some information about your storage http://xdaforums.com/showpost.php?p=18561141&postcount=2
[Android Software/Hacking General [Developers Only]] Klewe:
tried the script with a fresh install of Runnymede v3 and with EXT4 and everything works fine! No problems with Titanium, shortcuts on homescreen are there and no problems with wifi. And the best of all: about 500 mb on internal storage :p

thanks amarullz for this great script!
[Android Software/Hacking General [Developers Only]] icke:
Same here with beta2. But the script is compared to beta1 much slower for me.:confused:
[Android Software/Hacking General [Developers Only]] icke:
Here is my dump:

DF
==
Filesystem Size Used Free Blksize
/dev 205M 32K 205M 4096
/mnt/asec 205M 0K 205M 4096
/mnt/obb 205M 0K 205M 4096
/system 95M 65M 29M 4096
/mnt/cache 5M 804K 4M 4096
/sd-ext 311M 71M 239M 4096
/data 793M 177M 615M 4096
/mnt/sdcard 14G 13G 1G 65536
/mnt/secure/asec 14G 13G 1G 65536
/mnt/asec/de.goddchen.android.x.bash-1 2M 268K 1M 4096
/mnt/asec/de.tm.android.allgemeinwissen.lite-1 2M 416K 1M 4096
/mnt/asec/de.motain.iliga-1 12M 10M 2M 4096
/mnt/asec/no.rosben.go_theme_honeycomb_pro-1 3M 1M 1M 4096

LIST /data
==========

LIST /sd-ext
============

LIST /system
============

LIST init.d
===========

Script seems not working here. Get many "-la: no such file or directory"

And another weird thing: when I download an app in market I get many .apk's in /data/download (downloadfile-1.apk, downloadfile-2.apk...and so on) and all with same size (3.33mb) . So when I download a few apps I get systeme cache crowded and android forces me to delete some apps.:confused:

This wasn't there in beta1.
[Android Software/Hacking General [Developers Only]] Klewe:
Here is my code. Runnymede v3 on Desire Amoled.

DF
==
Filesystem 1K-blocks Used Available Use% Mounted on
tmpfs 206676 64 206612 0% /dev
tmpfs 206676 0 206676 0% /mnt/asec
tmpfs 206676 0 206676 0% /mnt/asec/download
tmpfs 206676 0 206676 0% /mnt/obb
tmpfs 8192 0 8192 0% /app-cache
/dev/block/mtdblock3 148480 124080 24400 84% /system
/dev/block/mtdblock5 294528 258300 36228 88% /sd-ext
/dev/block/mtdblock4 5120 1172 3948 23% /cache
/dev/block/mmcblk0p2 983796 432248 501572 46% /data
/dev/block/vold/179:1
14544360 13377144 1167216 92% /mnt/sdcard

LIST /data
==========

LIST /sd-ext
============

LIST /system
============
drwxr-xr-x 1 0 0 2048 Oct 20 13:25 .
drwxr-xr-x 15 0 0 0 Oct 21 09:02 ..
lrwxrwxrwx 1 0 0 13 Oct 20 13:25 app -> /sd-ext/app_s
drwxr-xr-x 1 0 2000 2048 Oct 20 13:25 bin
-rw-r--r-- 1 0 0 6012 Aug 1 2008 build.prop
drwxr-xr-x 1 0 0 2048 Oct 20 13:24 customize
drwxr-xr-x 1 0 0 2048 Oct 20 13:25 etc
drwxr-xr-x 1 0 0 2048 Oct 20 13:24 fonts
lrwxrwxrwx 1 0 0 17 Oct 20 13:25 framework -> /data/framework_s
drwxr-xr-x 1 0 0 2048 Oct 21 09:01 lib
drwxr-xr-x 1 0 0 2048 Oct 20 13:24 lost+found
drwxr-xr-x 1 0 0 2048 Oct 20 13:25 media
drwxr-xr-x 1 0 0 2048 Oct 20 13:25 usr
drwxr-xr-x 1 0 2000 2048 Oct 20 13:25 xbin

LIST init.d
===========
drwxr-xr-x 1 0 2000 2048 Oct 20 13:24 .
drwxr-xr-x 1 0 0 2048 Oct 20 13:25 ..
-rwxr-xr-x 1 0 2000 446 Aug 1 2008 00aroc
-rwxr-xr-x 1 0 2000 1167 Aug 1 2008 02ramtweaks
-rwxrwxr-x 1 1000 1015 3471 Oct 19 18:50 40ad2sdx
-rwxr-xr-x 1 0 2000 1499 Aug 1 2008 97zipalign
-rwxrwxrwx 1 0 0 806 Oct 20 18:48 99SuperCharger
-rwxr-xr-x 1 0 2000 176 Aug 1 2008 99complete

Always glad to help!
[Android Software/Hacking General [Developers Only]] amarullz:
You dump it not in recovery mode isn't it??... hmmm, I can't see /data and /sd-ext directories... list of /data and /sd-ext was the most important for me...

try ls -l in /data and /sd-ext,

or do this to dump into file

ls -l > /sdcard/dump.txt
[Android Software/Hacking General [Developers Only]] jozef710i:
How i install this?? I just flash Blisss Mod 007 fresh install. What is chmod 755/777
[Android Software/Hacking General [Developers Only]] tezgomez:
Just install rom zip file from recovery

(full wype if you come from other rom)

and then flash the script

then reboot

just that

(the script is not signed so you have to turn off signeture verification)
[Android Software/Hacking General [Developers Only]] jozef710i:
Where i download flasable version of script??
[Android Software/Hacking General [Developers Only]] tezgomez:
My system:

Blisss Mod 007

SD-EXT Mod - AMARULLZ DATA TO SD-EXT

Titanium -- ok

shortcuts -- ok

Market -- ok

wiffi -- ok

app -- ok

all configuration -- ok

no problem at all from this script

very fast the best i tried

( just from rom bluetooth don't work )

---------- Post added at 12:27 PM ---------- Previous post was at 12:22 PM ----------

http://xdaforums.com/showpost.php?p=18602050&postcount=19
[Android Software/Hacking General [Developers Only]] icke:
Ok...this is what I get:

# ls -l /data
ls -l /data

drwx------ system system 2011-10-20 17:57 secure

lrwxrwxrwx root root 2011-10-20 17:56 dontpanic -> /sd-ext/dontpanic

drwxrwx--x system system 2011-10-21 10:43 data

lrwxrwxrwx root root 2011-10-20 17:56 local -> /sd-ext/local

drwxrwxrwx root root 2011-10-20 17:56 framework_s

drwxrwxr-x system system 2011-10-20 19:04 anr

lrwxrwxrwx root root 2011-10-20 17:56 property -> /sd-ext/property

drwxrwxrwx root root 2011-10-20 17:56 lib_s

lrwxrwxrwx root root 2011-10-20 17:56 cache -> /sd-ext/cache

lrwxrwxrwx root root 2011-10-20 18:05 data_s -> /sd-ext/data_s

drwxrwx--x system system 2011-10-21 10:51 app

lrwxrwxrwx root root 2011-10-20 17:56 download -> /sd-ext/download

drwxrwxrwx root root 2011-10-20 17:56 app_s

drwxrwxr-x system system 2011-10-21 14:29 system

lrwxrwxrwx root root 2011-10-20 17:56 lost+found -> /sd-ext/lost+found

drwx------ system system 2011-10-20 17:57 backup

lrwxrwxrwx root root 2011-10-20 17:56 dalvik-cache -> /sd-ext/dalvik-cache

lrwxrwxrwx root root 2011-10-20 17:56 misc -> /sd-ext/misc

drwxrwx--x system system 2011-10-20 19:14 app-private

#

# ls -l /sd-ext
ls -l /sd-ext

drwxrwx--- system cache 2011-10-20 17:56 cache

lrwxrwxrwx root root 2011-10-20 18:05 secure -> /data/secure

lrwxrwxrwx root root 2011-10-20 18:05 anr -> /data/anr

lrwxrwxrwx root root 2011-10-20 18:05 system -> /data/system

lrwxrwxrwx root root 2011-10-20 18:05 backup -> /data/backup

drwxrwxrwx root root 2011-10-20 18:05 data_s

drwxrwx--x shell shell 2011-10-20 17:56 local

lrwxrwxrwx root root 2011-10-20 17:56 framework_s -> /data/framework_s

lrwxrwxrwx root root 2011-10-20 17:56 app -> /data/app

lrwxrwxrwx root root 2011-10-20 17:56 app_s -> /data/app_s

lrwxrwxrwx root root 2011-10-20 17:56 lib_s -> /data/lib_s

lrwxrwxrwx root root 2011-10-20 17:56 app-private -> /data/app-private

lrwxrwxrwx root root 2011-10-20 17:56 data -> /data/data

drwx------ root root 2011-10-20 17:57 property

drwxrwx--t system misc 2011-10-21 12:25 misc

drwxr-x--- root log 2011-10-20 17:56 dontpanic

drwxrwx--x system system 2011-10-21 10:51 dalvik-cache

drwxrwxrwx cache system 2011-10-21 10:51 download

drwxrwx--- root root 2011-10-20 17:56 lost+found

#

ROM: http://xdaforums.com/showthread.php?t=1291442
[Android Software/Hacking General [Developers Only]] maja:
With this version on a device absolutely unknown [4geek Horus] everything is perfect, thanks
[Android Software/Hacking General [Developers Only]] victor0888:
this is correct?

i use cm7r2 hboot

how to move dalvik cache to internal memory?
[Android Software/Hacking General [Developers Only]] amarullz:
Yes, Correct filesystem. "you dump it not in the recovery mode, isn't it?"

/dev/block/mtdblock5 294528 206920 87608 70% /sd-ext
/dev/block/mmcblk0p2 983796 486684 447136 52% /data

Something like that maybe happened if the /data already accessed before ad2sdx initialized, but the number "40" in 40ad2sdx is safest number in init.d to initializing this script.

I will improve speed in next alpha3.

NOTE: I think framework_s in Internal Memory will do better than in SD-EXT... but maybe I am wrong :eek::confused:
[Android Software/Hacking General [Developers Only]] chihliouma:
Hi amarullz, nice work, but after I flash the UOT file in order to change the battery icons, it change NOTHING. May that be because the directory is change after applying your script ? Is yes, please advice how to modify the UOT flash file in order to make that change happen ? I am using "Cool3D Sense 3.5" v3 (the framework-res.apk locates in "\data\framework_s" directory). Thanks.
[Android Software/Hacking General [Developers Only]] Klewe:
Yesterday i nandroid back to version without your script and I have to say that original version is faster when opening and closing apps and everything else. Hope this helps to improve speed in the next versions. Looking forward to it. Thanks for your work.
[Android Software/Hacking General [Developers Only]] le_da:
hello,

there you have it corect version for ICS ?
[Android Software/Hacking General [Developers Only]] DIXES:
How to uninstall this AD2SDX script safely?

I tried using Titanium Backup Pro to uninstall all user apps and deleted this script then reboot my device, and it freezed on boot screen. So I have to use flashtool to reflash it.

---------- Post added at 10:03 PM ---------- Previous post was at 09:57 PM ----------

Excuse me, what is this "data2sdext" command in your script?

Can I use your modified script on stock ROM?
[Android Software/Hacking General [Developers Only]] heinz gruber:
didn'T work for me. format 4ext with amaon ra and flash it after a clean rom install. then reboot twice. when i go to apps there are still 192 mb free!?

i'm on newest cm7 nightly
[Android Software/Hacking General [Developers Only]] thunder888:
Finally is done. First i use fxp119 kernel and install alpha02 from cwm and then flash neo-aokpv1.1 kernel. Now i got 959mb internal memory and my still can detect network service. :)
[Android Software/Hacking General [Developers Only]] X-Droidinary:
Did a clean install of Arconium ICS then tried to flash the Aternus version but it wouldn't install and just said installation aborted. Then tried the Tezgomez version and worked a treat. Now I have 1.79GB of internal storage all up. The first pic is from Titanium Backup Pro but I don't think it's very accurate not really sure.

Sent from Noah's Arc using Tapatalk 2
[Android Software/Hacking General [Developers Only]] JeremyGuan:
Guys, How do I install an Update of my ROM without loosing this a2sd script function?
[Android Software/Hacking General [Developers Only]] NYLimited:
First, make a CWR *and* a Titanium Backup - just in case.

Open your Rom's zip file and add your a2sd script to the init.d folder before flashing. Make sure you remove other a2sd scripts that may have been there.

---

If you lined up all the cars in the world end to end, someone would be stupid enough to try to pass them. (via Tapatalk)
[Android Software/Hacking General [Developers Only]] megam4n:
Hi!

this script is really amazing but what should I do when SD Card (a2sd) is full?

right now I can't install anything cause a2sd is full!

What should I do?

Thanks in advanced!
[Android Software/Hacking General [Developers Only]] NYLimited:
Get a 32 gb card?

You know that you also have some things in conventional sd space, right? Not much has but something..

---

If you lined up all the cars in the world end to end, someone would be stupid enough to try to pass them. (via Tapatalk)
[Android Software/Hacking General [Developers Only]] megam4n:
lol!

Why should I buy a 32Gb sd card when I'm super ok with my 8GB?

I don't have sd card space issues...

My problem is that my I cannot find a way to increase the sd (a2sd) space!

this script changes my internal successfully to 1GB but the a2sd is too small...
[Android Software/Hacking General [Developers Only]] NYLimited:
OK, on the serious side.. What is your a2sd and what is it used for?

You are showing a 1 gig sd-ext (internal) partition. That is where your apps and data should go and you have room there.

Are you by chance moving apps manually to "sd"? If yes, why?

I am confused...

---

Inside every cynical person, there is a disappointed idealist.. (via XDA app)
[Android Software/Hacking General [Developers Only]] peet47:
Hi,

that's also my Problem. If you get an closer look into the Script you will see that the devlik-cache and also some other program es, was not moved to the ext4 (because of some performance issues.. The index of Titanium Backup is wrong.

The internal Memory is your ext4 and the A2SD is your internal memory.

Greetings,

Peet
[Android Software/Hacking General [Developers Only]] megam4n:
Yeap! exactly!

My 1GB ext4 is now my internal and my really small internal

is now my a2sd, the problem is that for the 172 apps that I have, dalvik is bigger that

my internal (a2sd) and I cannot install my apps...

show the really solution is if I can move dalvik with this script to my 1GB ext4 aka (internal)
[Android Software/Hacking General [Developers Only]] 216Monster:
Did anyone ever get this working on any CM9 builds?

Sent from my R800x
[Android Software/Hacking General [Developers Only]] peet47:
So if done some modification like amarullz said, now the devlik cache is also moved to ext4. Fell free to use it. All credits go to amarullz.

Greetings,

Peet
[Android Software/Hacking General [Developers Only]] NYLimited:
The Dalvik will grow as more apps are added so indeed it can use up the nand memory space.

If installing a lot if apps try the Alex-v mod of the script (see link in my signature) which also moves the Dalvik.

---

Inside every cynical person, there is a disappointed idealist.. (via XDA app)
[Android Software/Hacking General [Developers Only]] peet47:
You only have to flash the zip with CWR and don't forget to fix permission. It look if other A2SD Scripts are in etc/init.d/ and delete it. After you flash it, you are good to go.

PS: The Axel-V-mod is pretty the same. We deleted the same lines...
[Android Software/Hacking General [Developers Only]] Nocturne Seigneur:
Working with few bugs..

[KERNEL][ARC/ARC S] DooMKernel {ICS} [Rel:v5]

[ROM][ARC/ARC S] Arconium ICS 3.a - Test Release [FW:562]

Xperia Arc

bugs : no signal,baseband become unknown version.

THIS APPS IS SUPERB!!!!
[Android Software/Hacking General [Developers Only]] suiller:
dear Amarullz I added two lines to check if exists any ext partition, flashing the script without any ext partition gives issue

added at the beginning:

[COLOR="Gray"]###
# Initializing
###[/COLOR]

[COLOR="Red"]busybox mount -t ext4 -o noauto_da_alloc,data=ordered,commit=15,barrier=1,nouser_xattr,errors=continue,noatime,nodiratime,nosuid,nodev /dev/block/mmcblk0p2 /sd-ext;
if [ $? != "0"]; then
exit 69;
fi [/COLOR]
[COLOR="gray"]#-- Unmount /sd-ext if it already mounted
busybox umount /sd-ext;[/COLOR]
[Android Software/Hacking General [Developers Only]] X-Droidinary:
If you have a version with the lines you added please share.

Sent from Noah's Arc using Tapatalk 2
[Android Software/Hacking General [Developers Only]] benbailey84:
so what is the difference in this and s2e?
[Android Software/Hacking General [Developers Only]] stan_fear:
thank you very much,

I'm using your script on my phone and it semmes to work well

My phone is a LG GT540 running on miroslav 4.0.4 CyanogenMod

your script finaly give me space for more than 100Mo to install app !! THANK YOU

but, is this normal that when I've installed busybox, it makes my phone bootloop ?

and while without busybox, it work (even thow it is very slow ...)

anyway, thank you again