yashsingh1/xdaforums huggingface dataset:
[Android Software/Hacking General [Developers Only]] nachoparker:
Dear suiller & Amarullz:

I met the same problem: after doing some performance tweaks (in init.d, before the script) and updating busybox, (though I don't think this was the cause), it appears as if the /dev system was not ready at the time of script execution.

This lead to /dev/block/mmcblk0p2 not being found, and /data not being mounted, and caused a bootloop... but not always! so to make the story short, I added these lines to make sure the SD is ready before all the juggling with the mounting stuff...

# NACHOPARKER - fix to wait for the SD to become available
while [ ! -b /dev/block/mmcblk0p2 ]
do
log -p i -t 40ad2sdx-fix "Waiting for SD to become available"
/system/xbin/sleep 1
done

At the very top

Hope it helps! Again all credits to Amarullz, and thanks man, you saved my miserable only-a-few-apps life.

Performance is worse at first, but with a few tweaks, almost the same as before. I recommend everyone sysctl tweaks and increasing read_ahead

/system/xbin/echo 2048 > /sys/block/mmcblk0/bdi/read_ahead_kb

At the very top

Cheers
[Android Software/Hacking General [Developers Only]] firtvid20:
Tested on MIUI.us Ice Cream Sandwich (latest ROM) and it works! Thanks for this it works much better than A2SD. :D
[Android Software/Hacking General [Developers Only]] abrahamt24:
the recovery installer causes bootloop on my xperia play (doomkernel v14 + gin2ics 1.6.8)

can you fix the recovery installer.? thanks :D
[Android Software/Hacking General [Developers Only]] andreasfw:
my dump file

View attachment ad2sdx-dump.txt

I use a galaxy mini, rom that I use cyanmobile revo A,

I often run into problems WhatsApp, and another app that often force close when I clean the temporery file, can you please help me think about where the problem ....

thank you for this great scrip.
[Android Software/Hacking General [Developers Only]] peet47:
Hi,

did you try to wipe your cache, devlik-cache and also fix-permissons?

your Problem is maybe caused by 70zipalign Script. Try to delete it and try again.

http://xdaforums.com/showthread.php?t=1604319&page=15

Greetings,

Peet
[Android Software/Hacking General [Developers Only]] nqkoidrug:
Hi all,

this mod works on sense 3.5 ROM`s for HD2? Has anyone tried? Thanks.
[Android Software/Hacking General [Developers Only]] GabrielSousa:
i did try this on Class 4 sdcard.

was to slow.

on a Class 10 the speed is like on phone rom ?
[Android Software/Hacking General [Developers Only]] NYLimited:
This was covered many times already.

My own (fairly old) post on this is

here

.
[Android Software/Hacking General [Developers Only]] GabrielSousa:
on my class 4 was so slow :(
[Android Software/Hacking General [Developers Only]] NYLimited:
What brand was it? Try one or more of the following:

SanDisk class 4 or 6 card

Format the sd-ext partition to EXT4 file system. Don't forget to change the script to match that.

Experiment with the buffer specified in the script. Default setting is 8192 I think. Try dropping it to 4096 - it may or may not help.

Use more aggressive min free settings if your rom supports sysctl.conf

Try more aggressive Auto Memory Manager setting.

You might be pleasantly surprised... ;)

---

Human nature is, above all things, lazy.. (via Tapatalk)
[Android Software/Hacking General [Developers Only]] GabrielSousa:
Brand: Kingston

Capacity: 8GB

Class: 4
[Android Software/Hacking General [Developers Only]] plopingo:
Same here on my Xperia Arc S using this setup

Arconium-ICS-2.4_AROMA + Baseband 72 + Stock ICS Kernel 4.1.A.0.562 with CWM 5.5.0.4

I will try manual install

Feedback asap :)
[Android Software/Hacking General [Developers Only]] :
This looks good. I will try on my Arc S running on FXP CM9. I also bought a Class 10 Sandisk memory card designed for Android phones to increase read/write speed.
[Android Software/Hacking General [Developers Only]] peet47:
Hi,

this Script won't work for you because it is not in init.d

You have to copy the Script in /system/etc/init.d add don't forget to fix the permissions.

Greetings,

Peet
[Android Software/Hacking General [Developers Only]] plopingo:
I have removed the script for booting my phone and make a dump otherwise my phone bootloop ......
[Android Software/Hacking General [Developers Only]] peet47:
Place the Script, wipe the cache and fix the permissions.
[Android Software/Hacking General [Developers Only]] plopingo:
will try

report asap
[Android Software/Hacking General [Developers Only]] plopingo:
no succes :(

The script work on stock rom rooted with stock kernel ?
[Android Software/Hacking General [Developers Only]] R0yke:
[ROM][BETA][ICS 4.0.4] Nikez Lente [1.0.1b1][01.07.12]

Hello,

just installed with above rom. Works perfect!! :fingers-crossed:

Keep you posted on stability and speed.

Made a clean install, used the installer from recovery.

1,5g ext 4

THANK YOU!!! :highfive::highfive::highfive:
[Android Software/Hacking General [Developers Only]] rashid.fairus:
i want to try this,did you apply this mod with fresh rom or after using rom?
[Android Software/Hacking General [Developers Only]] R0yke:
made a clean install.

Read this:

bullet # 3

3.You should not have any a2sd or any other such script like darktremor or link2sd installed.You must uninstall them or delete them from /system/etc/init.d folder

---------- Post added at 09:31 PM ---------- Previous post was at 09:07 PM ----------

I made a seperate thread here

For now the boot time is significant shorter.
[Android Software/Hacking General [Developers Only]] rashid.fairus:
the titanium issue still not solved right??umm im a heavy titanium user..
[Android Software/Hacking General [Developers Only]] R0yke:
I recovered some apps using titanium.

The option within titanium to recover from an nandroid.

The nandroid was from the same rom.
[Android Software/Hacking General [Developers Only]] rashid.fairus:
ok,interesting trick,is it only app or app+data?or maybe data only?because i always backup my com.android.providers.telephony's data which contain sms and mms(a big important things for me).
[Android Software/Hacking General [Developers Only]] R0yke:
data only.

Apps i always install fresh from play
[Android Software/Hacking General [Developers Only]] rashid.fairus:
nice:D:D:D:Dthanks for encouraging me to use this:D
[Android Software/Hacking General [Developers Only]] R0yke:
No problem. you know where to find the thanks button :angel:
[Android Software/Hacking General [Developers Only]] R0yke:
It is working for three days fine now. no excessive laggs.

Only google play stopped workig on wifi and 3g?? i have no idea if that has anything to do with AD2SDX?

Anyone??
[Android Software/Hacking General [Developers Only]] R0yke:
I changed rom now. From Nikez to Runnymede 5.0

Everything works again?

For some reason i could not install anything anymore, not even apk's which are on the phone??

Now i have runnymede wit ad2sdx. Works also fine.

Except for the fact that there is nog more space left, for installing apps.

I have read somethingearlier with a filled up cache:confused:. gonna read that now.

:cool:
[Android Software/Hacking General [Developers Only]] nscxp2005:
This runs great!!

The only problem I get is that I installed Swiftkey X 3 paid version and it keeps force closing.

Do you know any way I can fix this?
[Android Software/Hacking General [Developers Only]] Mr.Mefisto:
What version of Swiftkey X 3 paid version exactly because i have the same problem and many others users from exactly the same paid app?!!
[Android Software/Hacking General [Developers Only]] nscxp2005:
Version 3.0.0.281

That is the latest version.
[Android Software/Hacking General [Developers Only]] rashid.fairus:
has anyone has try this mod on xperia arc s using fxp cm9 with ext2??im trying but no luck at all..
[Android Software/Hacking General [Developers Only]] NYLimited:
Did you by some chance try to install it in system ROM? Don't know why but it doesn't like that. When I tried to move everything it (with ROM Toolkit) it was doing exactly that. Moved it back to a user app and it is fine.

---

A fine is a tax for doing wrong. A tax is a fine for doing well. (via Tapatalk)
[Android Software/Hacking General [Developers Only]] jolas:
Does moving Dalvik to ext4, causes the low volume bug, with your script?
[Android Software/Hacking General [Developers Only]] Robsterboy:
Lags... and more Lags...

Frist, this MOD is great. Even with my probs. But maybe someone can help me.

My Phone is a HTC HD2 Leo.

I installed ICS ROM fresh this weekend and directly after that the AD2SDX Mod, like recommended. But it laggs massively:

-when startion telephone-mode, display go black, after a few secounds the dialing starts

-when open APPs overview, secounds of lag

-when pressing homecreen button, many secounds lag

-sometimes with Live-Background Nexus, the lines stopps for >10secs any moving, phone completely freezes, only on/offbutton can switch display on/off.

-some apps running with massive lags, example videoplayer with .avi.

At same time, when some parts are massive lagging, others work smooth and fine. Before ICS I used CM mod7 with the same apps but without any "appmoving"-mod, only A2SD-app, and without any laggs.

Please help me, I am nearly going to give another phone a chance :eek:

Robsterboy
[Android Software/Hacking General [Developers Only]] NYLimited:
Sounds as though you were low on ram and the device is swapping things.

How much ram do you have?

Have you turned off zram?

If you think you may be short on ram try setting your min free values:

Dirty ratio: 10

Dirty background ratio: 10

VFS cache pressure: 50

Set your Auto Memory Manager to the values:

6, 8, 16, 66, 76, 115

These settings are not the most aggressive but should help if it is a ram issue. You can set these values easily with various apps - I use ROM Toolkit.

---

There are nights when the wolves are silent and only the moon howls... (via XDA app)
[Android Software/Hacking General [Developers Only]] arys64:
My phone is galaxy Ace S5830 with Apocalypse rom.

At the begining I had boot loops and after 3 or 4 times I checked the file and this is what I did to fix it:

I just noticed this line in the file:

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 /data;

So I change that line for this one:

busybox mount -t ext3 -o noauto_da_alloc,data=ordered,commit=15,barrier=1,nouser_xattr,errors=continue,noatime,nodiratime,nosuid,nodev /dev/block/mmcblk0p2 /data;

And now is working like a charm
[Android Software/Hacking General [Developers Only]] -Light-:
SD Card removal

can i boot without SD card temporarily? how can i temporarily disable the script so i can remove sd card preserving the basic function of phone?

Should i reflash the rom if i need to change the SD card??

Note: using galaxy ace CM9 beta 9 with camera fix and this script is working fine in it!!
[Android Software/Hacking General [Developers Only]] valence23e:
By the way, is this compatible with S5830i?
[Android Software/Hacking General [Developers Only]] Contumil:
arys64, can you explain-me how you do it.

I'm trying to install it in my Apocalypse ACE, by the recovery way using the tezgomez zip file, after installing the rom and beffore the three patch step. Dont work.

Try it also editing the 40ad2sdx file to ext3 like you describe but no luck.

Edit. Found it, have to mount system first and then install the script.
[Android Software/Hacking General [Developers Only]] doctorasgr:
Can't find a solution....

Same eperience for me too. I have tried all what you said you have tried but nothing came up. Problem is still there. No sound control with the keys on the left of my phone, no home & call button, and when somebody calls me the phone rejects the call automaticaly......so so so sad :(

Has anybody a working solution? :confused:
[Android Software/Hacking General [Developers Only]] R0yke:
Stil having the same problem??

for some reason after installing about 10 apps, google Play stops working.

i can then install some apps via google play website.

Everything stops???

The download does not even start. cleared cache, reboot anything, nothing works.. :(

Therefore i also have no errors..

anyone having the same problem???
[Android Software/Hacking General [Developers Only]] donzzy:
How is the script doing? Is this applicable to all ROMs and devices? :)
[Android Software/Hacking General [Developers Only]] ngkongArm:
[ask] guys, what i understand from this script is switch between internal memory to /sd-ext which is still let using (true internal memory). cmiiiw

i've installed about +25 applications and my internal memory (sd-ext) still have much space. and i take a look from TB my a2sd memery (which is the true internal memory) is about 50mb free (from about 115mb free space, because i used CM9 which is takes much internal memory).

my question is, can I move anything that in my a2sd (65mb that i already used) into my internal memory (/sd-ext) ??

i'm wondering if my a2sd (which is 50mb left) would be full, can i still install application?

thanks,
[Android Software/Hacking General [Developers Only]] triadiaureus:
thanks its work on my ace without bugs :D

Sent from my ace - apocalypse final :)
[Android Software/Hacking General [Developers Only]] legalmantra:
What about titanium backup? Is it working fine with the scrip[t?
[Android Software/Hacking General [Developers Only]] atishey23:
When i partition my sd card acc to the procedure given on a site ("Connect your phone to your pc.

To manually format the partition and make sure that is not corrupt, run the following command: adb shell mke2fs /dev/block/mmcblk0p2

Wait for ADB finish the process, exit.")

I get this msg after comleting the adb command "/dev/block/mmcblk0p2 is apparently in use by the system; will not make a filesystem here!"

Plz help. Partioned sdcard with a successful conformation msg but i didnt get that space which i specified??? do i get that space after installing a script??
[Android Software/Hacking General [Developers Only]] thunder888:
2

Please don't make 2nd partition directly from your phone. But use card reader for it, otherwise you will got error. You can try Minitool for create 2nd partition. And choose ext4 format partition.

Or if you don't have it. You can make 2nd partition under Recovery Mode in advanced menu but backup your 1st partition of your sdcard first. Cause it will format all your sdcard when make sd-ext partiton. Hope this will help you.
[Android Software/Hacking General [Developers Only]] legalmantra:
Does it work well with titanium Backup?
[Android Software/Hacking General [Developers Only]] triadiaureus:
yes its work. backup and restore work very nice.. :)

Sent from my ace - apocalypse final :)
[Android Software/Hacking General [Developers Only]] gametv:
thanks amarullz :D

working on galaxy ace with cm9 beta 9 keren om :D

now reseult 0.9 GB but i have 1 problem :( ... i always stuck with wipe data (formating sd-ext) and must format/system before wipe data
[Android Software/Hacking General [Developers Only]] atishey23:
I have created the partition succesfully with recovery mode, but as u know the recovery mode's default partition is ext3, so i only want to convert it in ext4,(i read a tutorial on xda to do ut via adb given in my previous post) but when i do it i get error or some thing. Can u tell a way to know which type of partition we have? And why the adb method didn't work to convert it in ext4.
[Android Software/Hacking General [Developers Only]] Jar3112:
Can't you just format the partition with minitool or gparted?

Sent from my Ace on Apocalypse Rom
[Android Software/Hacking General [Developers Only]] atishey23:
Can u expand, BTW, what will I get on formating again.
[Android Software/Hacking General [Developers Only]] Jar3112:
I'm sorry but I didn't understand this question. What do you mean?

Sent from my Ace on Apocalypse Rom
[Android Software/Hacking General [Developers Only]] donzzy:
I think he meant "Can you explain why there's a need to format the SD". :)

By the way, on Titanium Backup, I can see the Memory usage Status (attachments)

So if I sum Internal + SD card (a2sd) -- it gives 403MB free?

But I only get about 220MB as per App 2 SD app. :confused:
[Android Software/Hacking General [Developers Only]] Jar3112:
If you meant why to format again here's the explanation. Since cwm only formats in ext3 easiest way to have an ext4 partition is to use a program to do the job. Minitool for windows and gparted for Linux work well. Connect your SD to your PC (Not mount it using your phone, use an adapter). Then, start the program. You can format again the ext3 partition, converting filesystem to ext4. If you need more detailed instructions please send me a pm or search the forums, no need of other OT posts in here!

Sent from my Ace on Apocalypse Rom
[Android Software/Hacking General [Developers Only]] thunder888:
Btw, where you create 2nd partition? Is true you can create through your phone by usb cable but it will be un usable. Please use Minitool from your pc by card reader. There are have partition format option when you format sd-ext partition (ext2, ext3, ext4). After you have done with it, you can install amarullz under recovery mode.

Make sure you make nandroid of your rom before install amarullz cause not every rom or kernel compatible with amarullz. If not compatible you will got boot stuck or you can't turn wifi on. If you can't get your wifi or data network you can try wipe dalvik and fix permission.

Hope this will help you.
[Android Software/Hacking General [Developers Only]] benjamingwynn:
Um this isn't working for me

I did the following to get an output

adb reboot; adb wait-for-device; adb shell ./system/etc/init.d/40*

but was followed by the following errors...

umount: can't umount /sd-ext: Invalid argument
mount: can't read '/etc/fstab': No such file or directory
mv: can't overwrite directory with non-directory
mv: can't overwrite directory with non-directory
mv: can't overwrite directory with non-directory
mv: can't overwrite directory with non-directory
mv: can't overwrite directory with non-directory
mv: can't overwrite directory with non-directory
mv: can't remove '/sd-ext/dalvik-cache': Is a directory
ln: /data/dalvik-cache/dalvik-cache: File exists
ln: /data/dalvik-cache/dalvik-cache: File exists
ln: /data/data_s/data_s: File exists
ln: /data/lost+found/lost+found: File exists
ln: /data/system/system: File exists
ln: /data/tombstones/tombstones: File exists
ln: /sd-ext/lost+found/lost+found: File exists
ln: /sd-ext/system/system: File exists
ln: /sd-ext/tombstones/tombstones: File exists
com.htc*: No such file or directory
[Android Software/Hacking General [Developers Only]] athe_s:
I only have 187 mb on a2sd ext, how should i manage to have at lease 850 mb on a2sd ext? I always have 850 mb on s2e or dt2sd.
[Android Software/Hacking General [Developers Only]] rashid.fairus:
cant understand your question..
[Android Software/Hacking General [Developers Only]] plopingo:
guys for the script work (in most of case) you need a kernel who support init.d, it's not rom related it's kernel related so read the infos of your kernel you using ;)

(stock kernel doesn't support init.d script)
[Android Software/Hacking General [Developers Only]] GentZu:
mantab pak... di unikom jurusan si,ti,mi di ajarin kek gini gak ya?
[Android Software/Hacking General [Developers Only]] Jar3112:
English please.

Sent from my Ace on Apocalypse Rom
[Android Software/Hacking General [Developers Only]] legalmantra:
WHen I uninstall any application and reboot super user stop working and also some other application like titanium backup, calengoo, juice defender etc.? It has happened 3 times and only thing I do is to fresh install. I'm using ACE apocalypse 9-7-12. And if I try to install application it says not enough memory?
[Android Software/Hacking General [Developers Only]] rawrv42:
Did anyone get this working on Munjeni's 4.0.4 Rom for HTC Aria/Gratia?
[Android Software/Hacking General [Developers Only]] plopingo:
what's your kernel ?
[Android Software/Hacking General [Developers Only]] rawrv42:
Running CM9 using custom kernel: 2.6.35.13-munjeni-ICS-r10

EDIT: Nevermind, I got it working :D I hadn't properly partitioned SD Card.
[Android Software/Hacking General [Developers Only]] Psychokilz:
If i want to uninstall this script and flash another one, how would i go about doing that? Can i simply just flash the other script over this one?
[Android Software/Hacking General [Developers Only]] adell_:
Hi amarullz,

This has been an alpha for quite a long time. Do you have any plan to update?

---------- Post added at 04:11 PM ---------- Previous post was at 04:09 PM ----------

I believe you can uninstall it by deleting 40ad2sdx in /system/etc/init.d/.
[Android Software/Hacking General [Developers Only]] -Light-:
I dont think you can!! I tried once and got stuck in boot loop!! Had to reflash my rom so better be careful!!

I am also searching way to temporarily disable this script so we can boot without removing SD card!!
[Android Software/Hacking General [Developers Only]] -iNCEPTiON-:
Just a question.. I have installed stock rom (S5830DXKT5_S5830OLBKT3_XSO) , i want to know if i can install this script on this rom after CF-Rooting it ? i really want to use this script LOLZ
[Android Software/Hacking General [Developers Only]] arys64:
Confirmed on S3 Evolution for Ace

http://xdaforums.com/showthread.php?t=1775257
[Android Software/Hacking General [Developers Only]] -iNCEPTiON-:
anyone??
[Android Software/Hacking General [Developers Only]] -iNCEPTiON-:
I am installing the script on stock ROM and bootloops :( any suggestion?
[Android Software/Hacking General [Developers Only]] XtremX10:
This project is death ???
[Android Software/Hacking General [Developers Only]] -Light-:
Guys want the way to disable this rom so we can patch updates in our roms!! Patching update takes phone in boot loop!! Any solutions??
[Android Software/Hacking General [Developers Only]] arys64:
Remember to delete all a2sd scripts inside /init.d folder...
[Android Software/Hacking General [Developers Only]] -iNCEPTiON-:
There is nothing in that folder except this script :(
[Android Software/Hacking General [Developers Only]] rawrv42:
Have you properly partitioned your SD card?
[Android Software/Hacking General [Developers Only]] -iNCEPTiON-:
Yeah , i have partitioned it using Minitool software on Windows PC.

I am currently on Apocalypse now atleast i have this scriptt working .. but i would rather be on Stock ROM coz it gives gud battery life :(
[Android Software/Hacking General [Developers Only]] -iNCEPTiON-:
I have installed this ROM > http://xdaforums.com/showthread.php?t=1534804

This is a stock ROM and it supports init.d scripts too , but when i install the script , it just doesn't boot :( stucks on galaxy ace logo with a blue sign on the left upper corner ..

anyone has actually made this work on stock rom or no?
[Android Software/Hacking General [Developers Only]] SalviaLover:
Hey guys,

This script works great on my HD2 device running CM9 (NexusHD2 ICS ROM). IT's way better than the other scripts, but I do have an internal memory issue and hence one question for you.

As Amarullz had explained this script leaves /data_s and /dalvik-cache in internal memory. HD2 has quite small internal memory (/sd-ext is 220 MB) and it gets full with some 40 apps installed. Most of it is the Dalvik (140 MB), but there are also some files in /data-s (~80MB). As I understand the latter was supposed to be for system apps, but I do see some programs moved to the sd ext partition have files inside (mostly lib files). As I see data_s and dalvik-cache are symlinked in /data to /sd-ext.

I was wondering if I could move manually some dalvik and data_s files to the sd extension to free up some internal memory. My plan is to move some .dex and .lib files of a few rarely used programs to a folder in /data and set sym links in /sd-ext.

Has anyone tried to manually move dalvik cache files? Is there anything that I should be aware of before doing this? I haven't looked at the scripts much, so I'm not sure if ad2sdx won't overwrite /sd-ext at some point and I though I should ask.