yashsingh1/xdaforums huggingface dataset:
[Android Software/Hacking General [Developers Only]] mpis:
HD2 with tytung ICS beta10 - Experience with ad2sdx_rc2t.zip

-Call and Home hard buttons not works

-Incoming calls not works

-Menu on power button is changed:

before.................................................................after

With 40ad2sdx-a2Recovery.zip is all OK.
[Android Software/Hacking General [Developers Only]] THUNDERASS:
Not working on i9000 galaxy s 2.3.5 jvt rom.

Vold file included

## Vold 2.0 Generic fstab

## - San Mehat (san@android.com)

##

#######################

## Regular device mount

##

## Format: dev_mount <label> <mount_point> <part> <sysfs_path1...>

## label - Label for the volume

## mount_point - Where the volume will be mounted

## part - Partition # (1 based), or 'auto' for first usable partition.

## <sysfs_path> - List of sysfs paths to source devices

######################

# sdcard mount for the P1

# internal sdcard

{

ums_path = /sys/devices/platform/usb_mass_storage/lun0/file

discard = disable

asec = disable

}

dev_mount sdcard /mnt/sdcard 1 /devices/platform/s3c-sdhci.0/mmc_host/mmc0

# externel sdcard

{

ums_path = /sys/devices/platform/usb_mass_storage/lun1/file

asec = enable

}

dev_mount sdcard1 /mnt/sdcard/external_sd auto /devices/platform/s3c-sdhci.2/mmc_host/mmc2

#end line ## keep this line

Waiting for supporting
[Android Software/Hacking General [Developers Only]] MarkAtHome:
I have the same experience.

40ad2sdx-a2Recovery.zip, as long as it is flashed *after* a first ROM boot (so that the system partition initializes first), and *then* fix permissions, works flawlessly for me.

----

Sent from my ICS HD2 with XDA Premium
[Android Software/Hacking General [Developers Only]] mwarizmiwafiq:
hi there, first I have android I use ungaze. That's make me abel to install ton of apps.

now I wanna try this.

but I have a few question, I finished install it then my TB read my a2sd SD Card and it show that my sdext used about 455mb. And where we should install our app? on internal or external? :/
[Android Software/Hacking General [Developers Only]] leaskovski:
Does using this stop us from having to use the fix permissions option in CWM to resolve the issue.

What is the reason for having to use fix permissions anyway? Any why is it required when using an App 2 SD style add on??
[Android Software/Hacking General [Developers Only]] caracal reloaded:
1) Only a issue: email client like "Maildroid" not works

Voip app like "Bria" not works, crash on boot app.

(I think they need to be installed on internal memory)

any solution?

2) When I install a new rom, I have to reinstall the patch recovery (40ad2sdx-a2Recovery.zip)

---------- Post added at 09:44 PM ---------- Previous post was at 09:08 PM ----------

1) Only a small issue: email client like "Maildroid" not works

Voip app like "Bria" not works, Sygic not works - "Cyberon Voice" not works- crash on boot app.

(I think they need to be installed on internal memory)

any solution?

2) [in future] When I install a new rom, I have to reinstall the patch recovery (40ad2sdx-a2Recovery.zip)

someone can help me?
[Android Software/Hacking General [Developers Only]] lewrydiboys:
So, to install it, I have to install my rom again? I have installed my rom about 12h or so.
[Android Software/Hacking General [Developers Only]] pingwin114:
work perfect on Samsung Galaxy Mini @ CyanogenMod 7.2.0 RC4
[Android Software/Hacking General [Developers Only]] caracal reloaded:
Too much beta.

Substantial slowdown, and setting lost every reboot, applications that crashes at launch.

Excellent storage memory, but on the whole system very unstable.

NOT FOR DAILY USE

Development effort much appreciated, I hope that it improves
[Android Software/Hacking General [Developers Only]] tin2404:
I haven't experiance any problems so far, just widgets doesn't hold screen possitions.

On fresh HyperDroid-CM7-v5.7.0 installation without reboot, installed 40ad2sdx-a2Recovery.zip.But I have noticed files in my sd-ext partition on images below.

It seems that Dolphin and Opera browsers likes it a lot because I haven't had such stabillity with them any before.Works great ! Gallery works fastest I have experianced (no more "loading" messages).Everything (except widgets ) just works in my case. We shell see behavouring after week or two everyday usage.

Images of sd-ext folder contents are below.
[Android Software/Hacking General [Developers Only]] lewrydiboys:
My phone now it's very laggy. I have rebooted three times, waited about 10 min after phone restarts to start using it. Very slow.
[Android Software/Hacking General [Developers Only]] C0qRouge:
on Hyperdroid 5.7 @ HD2 can't use Titanium Backup... It works but because of titanium Backup i will switch back
[Android Software/Hacking General [Developers Only]] joeyvanhummel:
Just thought I'd share my feedback.

I am using Tytungs ICS AOSP rom Beta 10 (did task29 before installing.) For the LEO512

I can say that this works great, I have a lot more storage space now. However, I notice that apps (facebook, Tumblr) are a lot slower now. It may be my SD card (it's a Sandisk, but doesn't have any class specified. It hits about 6MB/s read and write with normal (MP3s etc) file transfers.) but I'm not sure.

I also notice that lately my music is starting to hang for a second every few minutes. The MP3s sound fine on my PC though so it's not a corrupted file.

I am also experiencing a volume bug, but only on the inbuilt speaker. Headphones are fine.

I am not asking for help since I realize this is still in development. Merely reporting.
[Android Software/Hacking General [Developers Only]] ikidntu:
My phone with class 2 card become very laggy compared to normal a2sd.

Anyone with class-10 success with this build as I'm ordering 1 :D ?
[Android Software/Hacking General [Developers Only]] g3rrydanc3:
how can i make this script execute on boot?

i have copied the script to system/etc/init.d

but not execute on boot
[Android Software/Hacking General [Developers Only]] tmihai20:
Make the script executable. You can either use Terminal Emulator on phone or adb shell (with the phone connected through USB). In Terminal Emulator run first "su", then "chmod a+x /system/etc/init.d/<script_name>.sh" and it should make it executable. On adb just run "chmod a+x /system/etc/init.d/<script_name>.sh" (you are already logged in as root).
[Android Software/Hacking General [Developers Only]] ikidntu:
I think I share the same experience with facebook. Even though I use class 10, many wait and force close issue. It appears to me that some apps eventually need to be run on the internal memory.

Therefore I made a quick fix for it by editing the script located at /system/etc/init.d/40ad2sdx

Find this line at the near end

cd /data/data/;
for i in `ls -d com.htc* com.android*`;
do
#-- Only Non Symlink
if [ ! -h /data/data/$i ]
then
busybox mv /data/data/$i /sd-ext/data_s/;
fi;
done;

and update it to

cd /data/data/;
[COLOR="Red"]for i in `ls -d com.htc* com.android* com.facebook*`;[/COLOR]
do
#-- Only Non Symlink
if [ ! -h /data/data/$i ]
then
busybox mv /data/data/$i /sd-ext/data_s/;
fi;
done;

Save and then reboot !

You can do that for any app that slow in your phone I guess. just add the app apk file name that way. You can find the name of your app by listing

ls -al /data/data/

Hope that helps somebody that faces the same problem with facebook :D and hopefully this will be included in some future release.
[Android Software/Hacking General [Developers Only]] Aphelion:
Latest version of the script

Wondering what is the latest version of the script or the latest zip installer.
[Android Software/Hacking General [Developers Only]] zamrong:
Hallo Agan AMarullz

I try this scrip in xperia play wit domkarnel but not work...

my stroge space 0.00

what can i do... :D

kumaha Nya???
[Android Software/Hacking General [Developers Only]] honki:
i have running the script on tytungs CM9 ics 1.2 rom (with 1GB ext3) but the performance is very bad! Especially in apps like Whatsapp or Gmaps...

is this script not compatible with ics?
[Android Software/Hacking General [Developers Only]] ikidntu:
read my post to fix it manually (previous page or in my signature). However if you use class 2 better not to use this script
[Android Software/Hacking General [Developers Only]] fatimarvin_15:
any help for rooted stock xperia neo?

what are the other requirements?

and step by step process?

sorry by being noob here...

thnks
[Android Software/Hacking General [Developers Only]] xperseus:
Thanks very much.. Works great on Sony Ericsson Xperia Arc.
[Android Software/Hacking General [Developers Only]] schwarzsurfer:
Doesn't work with Reflex S v2.1.7 :(
[Android Software/Hacking General [Developers Only]] fatimarvin_15:
nakchea - can u help me to make this work on xperia NEO?

can you give me background of your phone before you did it? (requirements such as what kernel, what rom) so i have an idea. thanks.
[Android Software/Hacking General [Developers Only]] schwarzsurfer:
Now it works, but I get graphical errors... everything other works fine. any idea?
[Android Software/Hacking General [Developers Only]] xperseus:
I'm using rom arcronium 6.0 and Doomlord kernel v18. Your kernel must support init.d and ext partition.
[Android Software/Hacking General [Developers Only]] xperseus:
I'm using class 4. It works smooth.
[Android Software/Hacking General [Developers Only]] nujhum:
Yaps smooth herr, but take time when transfer 7-8k files...
[Android Software/Hacking General [Developers Only]] xperseus:
Report: like many others in ARC forum, my phone loses the baseband when I reboot and thus has no GSM. I solved it with a reboot to recovery and wipe cache partition, and when I boot again, it works as normal.

Hope you will be able to solve the problem soon.
[Android Software/Hacking General [Developers Only]] joeyvanhummel:
Thank you, this is a great fix! Facebook is a lot faster now.
[Android Software/Hacking General [Developers Only]] bobjbain:
I know it's a bit late reply but I've seen you quoted in another reply.

Anyway, a Class 10 card is *NOT*, seriously *NOT*, the best card to use if you want to use any a2sd scripts.

Class 10 cards are very good for sequential writing and have been developed primarliy for digital video cameras.

Android does not write sequentially and this affects the speed of data access on the card.

You will get better performance on a HD2 with a2sd with a Class 4 or 6 card.

This has been benchmarked and proved somewhere else within XDA but I can't find the links.
[Android Software/Hacking General [Developers Only]] ikidntu:
Interesting... i dont know about this... i really feel that i wasted some money...

But I think you mean the data2sd or amarullz. Because moving apk to sdcard as a2sd does not affect performance of app during running (maybe only at open).
[Android Software/Hacking General [Developers Only]] NYLimited:
You are absolutely correct. Class 4 will generally outperform class 10 due to random use by the OS. Using class 10 with Android can also cause FCs and lockups.

Those curious can easily confirm this at

https://www.sdcard.org/home/
[Android Software/Hacking General [Developers Only]] jayman1986:
Sorry if I'm being stupid but that site just says that 10 is faster than 2,4, and 6.

Couldn't see anything about it being different?

But I'll take your word for it, as I'm no expert myself.

Just wondering, what about a SanDisk mobile ultra class 6? It claims to have speeds of upto 30mbs would this have sequential writing?
[Android Software/Hacking General [Developers Only]] ikidntu:
Honestly I cant find any useful thing there as well. This link below is more informative

http://xdaforums.com/showthread.php?t=1005633
[Android Software/Hacking General [Developers Only]] jayman1986:
It's weird, so the best card to actually use is a class 2 card?
[Android Software/Hacking General [Developers Only]] MarkAtHome:
Note, also, that Class 10 utilizes a high speed bus, which our phones do not possess.

----

Sent from my ICS CM9 HD2 with XDA Premium
[Android Software/Hacking General [Developers Only]] NYLimited:
No, you are not stupid at all. The information is not very clear. Let me see if I can clarify it a little.

First, SD memory card manufacturers use different types of flash memory to create cards, so actual transfer speed can vary. Varying speeds make it difficult to determine which card will provide reliable recording of streaming content (which is what most manufacturers seem to be concerned with these days). The Class of a card is a general indication of the read/write speed. So, in theory Class 10 is faster than Class 4. As an example, recording video requires a constant minimum write speed while random access (such as our phones mostly use) does not rely on the same type of access.

Speed Classes 2, 4, and 6 assert that the card supports the respective number of MB/s as a minimum sustained write speed for a card in a fragmented state.

Class 10 asserts that the card supports 10 MB/s as a minimum non-fragmented

sequential write

speed. This is really great if you are often recording long videos but I suspect most of us use our phones a little differently. :)

Secondly, keep in mind that SD cards ideally should match the bus of the device. Not unlike a CPU which can often be overclocked (to a point) the bus can often handle faster speeds than the official rating. Most of the devices, such as the HD2 I am using currently, are rated only for Class 2 speed. Newer devices may now come with faster ratings. I can use somewhat faster cards (I am using a Class 4 now) but when I tried a Class 10 I had FCs and lockups. I would guess that one can find a device which has little problem with a Class 10 but most phones have not been designed for that.

Last, often you will get higher speeds from a card than it is rated for. For example, my Class 4 32 GB card reads much faster than one might expect it and all too often it is the read speed that makes the device "snappy" (like loading an app). Check out the image of the 32 GB Class 4 attached.

Hope this made some sense.
[Android Software/Hacking General [Developers Only]] NYLimited:
Not necessarily. I only suggested that Class 10 is an overkill for us and it may create problems. Class 2 through 6 cards are inexpensive enough to consider. Purchase it from a vendor who will let you return and exchange it if possible, such as Amazon, and try them.

Also, keep in mind that read and write speeds depend on the buffers the Android device uses. Larger buffers will yield somewhat better performance at the expense of some memory. Again, a little experimenting will quickly tell you which is the best buffer size for you. The easiest way to experiment with the buffer size is the

SD Speed Increase

app available on the Android Market.
[Android Software/Hacking General [Developers Only]] ikidntu:
This app only changes the value of "read_ahead_buffer". I think It only affects your read speed, not your write speed.
[Android Software/Hacking General [Developers Only]] annson08:
I have a question, i use s2e app to move data to ext, if i use ad2sdx should i remove s2e?
[Android Software/Hacking General [Developers Only]] perkhus:
excelent work!!
[Android Software/Hacking General [Developers Only]] oainot:
i think you should remove s2e.
[Android Software/Hacking General [Developers Only]] spikiller:
Hi thx for your script, but I´ve the following problem on my Samsung Galaxy Mini 5570:

My Rom is Chocobread v2.0, if I start your script via /system/etc/init.d/40ad2sdx I get the following error:

My dumpinfo is:

Best regards...

Edit:

After I change one line in your script my SGM works like a charm...
[Android Software/Hacking General [Developers Only]] ARieS_:
It's works perfect on Nexus One CM7.2 RC0, Class 10 SD Card, 2GB ext4 part.

Thanks.

Sent from my Nexus One
[Android Software/Hacking General [Developers Only]] CrimsonKnight13:
I can confirm it works perfectly on my Sony Ericsson Xperia Play R800x

Edit: newest script seems to bootloop. Alpha 02 doesn't but restarts scanning of sdcard every once in a while. Not sure what's going on with that.
[Android Software/Hacking General [Developers Only]] hayabusa08:
*edit* its done wooohoooo
[Android Software/Hacking General [Developers Only]] hayabusa08:
*edit* managed to do it after relocking bootloader start from stock down to rooted and unlicked. thanks happy with 2gb internal memory :p
[Android Software/Hacking General [Developers Only]] KrzysztofGW:
I have just installed this mod. No problems, 1GB free space :)

HTC Desire (modificated MildWild-CM-2.8)
[Android Software/Hacking General [Developers Only]] hasrunmd:
The file not transfer to /system/etc/init.d by using ADB.

However successfully by using androidcommander .com (partition SDCARD using CWM v5.0.2.8)

and the script works, did not edit anything and used EXT3 partiton

Samsung Mini GT-S5570 CyanogenMod 7.2.0 RC5.4 ( 2.3.7 )
[Android Software/Hacking General [Developers Only]] MarkAtHome:
Hi uzi2 -- was meaning to ask... you said that you modified Alex-V's script.

I am curious what you modified. Would I benefit from it? :D

If so, would you consider attaching it here either way?
[Android Software/Hacking General [Developers Only]] uzi2:
No. I use Alex-V's script, but I have often referred to it as a modified Amarullz script.

More recently I have reduced the read ahead value from 8096 to 2024, but otherwise it is unchanged from Alex-V's post.

SwiftKeyed from my Rogue Xoom
[Android Software/Hacking General [Developers Only]] MarkAtHome:
Thank you, uzi2. Your efforts and responsiveness is appreciated. :)
[Android Software/Hacking General [Developers Only]] rip_my_pants:
Finally I make it works for my Xperia Play R800i.:)

But i get baseband "unknown" everytime i restart my phone, so i've to fix permission in recovery, anyone can help for my problem? :confused:

Thanks for amarullz for this great script.

Xperia play R800i DoomLord v10 kernel unlock BL amarullz Data2EXT
[Android Software/Hacking General [Developers Only]] krazyakr:
This works great. I can confirm it working on my HTC HD2 running NexusHD2-ICS-4.0.3-CM9 V1.3 ROM.

Great work.
[Android Software/Hacking General [Developers Only]] chakar.dee:
Agan amarullz, I confirmed it's work perfectly in my old gadget htc dream t-mobile g1, with cyanogenmod rom, and not working with aosp based rom, nuhun kang...
[Android Software/Hacking General [Developers Only]] arielxarg:
works great on my LG Optimus One ;)
[Android Software/Hacking General [Developers Only]] FrenchOnly:
Are you using ext4 ?

---edit---

Confirmed working on ext2....works flawlessly with titanium
[Android Software/Hacking General [Developers Only]] danre:
I already use a2sd (data2sd and dalvik-cache2sd). Is it a problem if I want to use this mod? Should I move the data and dalvik-cache to original directory before I apply this mod?

Thanks
[Android Software/Hacking General [Developers Only]] oMss:
Somebody allready tried this script on Galaxy ace on cm9???

-

I don't get something clear on 1st post: do i need to do a fresh install, then install the script?
[Android Software/Hacking General [Developers Only]] Drumlistik:
I need to know that too:s
[Android Software/Hacking General [Developers Only]] Amor Cbr:
wew produk asli urang bandung euy..keren

thx ya gan its works on my xperia arc with ext2 on sdcard class 2 :hammer
[Android Software/Hacking General [Developers Only]] Magnumutz:
It's working on my Sony Ericsson Xperia PLAY R800i stock .62 ROM.

BUT every time i reboot, i have to go in CWM and fix permissions to have GSM network signal.

Is there a fix for this?
[Android Software/Hacking General [Developers Only]] leo_ng:
thz for your work.^^

it's awesome.

but is ad2ext hv conflict with DORIMANX Kernel 4.6 ?

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

I hv tried a few of miui roms + Dorimanx 3.5-4.6 + ad2ext

After restart my HD2, all the apps i just installed will hv error message + first boot setting + some of the miui backup Reply failure.

MTTY task 28,29 hv same result.
[Android Software/Hacking General [Developers Only]] leo_ng:
Thank you~^^

i tried and it can use now!

but is the I/O much more slower than b4?

In Quandrant Advanced score is lower that b4 1000scores???

As well as the \data size is bigger that b4 not a few?

beside, the miui back up only cant restore the RE (b4 is almost all fail).
[Android Software/Hacking General [Developers Only]] M_HaFeZ:
how to copy the script to the system\etc directory?

I've used root explorer but no permission

HTC Desire, 2.3.3 GB original HTC RUU, rooted
[Android Software/Hacking General [Developers Only]] ARieS_:
Tap the 'Mount R/W' button before the paste, in the /system/etc/init.d/

Sent from my Nexus One
[Android Software/Hacking General [Developers Only]] velein:
Keeps loading boot on CM9 Bravo ROM....
[Android Software/Hacking General [Developers Only]] M_HaFeZ:
Did exactly those steps from recovery

C:\>adb shell
# mount /system
# exit

C:\>adb push 40ad2sdx /system/etc/init.d/

C:\>adb shell
# cd /system/etc/init.d
# rm 40a2sd
# chmod 755 40ad2sdx
# cd /
# umount /system
# exit

then installed 40ad2sdx-a2Recovery.zip from recovery too

but nothing changed, still losing space

is there a missing step? how would I know it worked?

HTC Desire, 2.3.3 GB original HTC RUU, rooted
[Android Software/Hacking General [Developers Only]] hasrunmd:
Hi M_HaFeZ

I also failed to push the script using the command line

... however

Try to use Android Commander to transfer/push the 40ad2sdx into /system/etc/init.d then change the permission

... reboot...

Make sure your 2nd partition on SD Card is EXTx partition (I used partition tool inside CWM)
[Android Software/Hacking General [Developers Only]] amarullz:
for non-sense rom, please try this script:

http://www.amarullz.com/_downloads/tools/ad2sdx.zip

NOTE: IT WASN'T FLASHABLE ZIP.
[Android Software/Hacking General [Developers Only]] M_HaFeZ:
I've copied 40ad2sdx into /system/etc/init.d using root explorer

my second partiotion is ext 3 (or 4 not sure), how to convert to extx? I'm using orginial sens ui 2.3 rom
[Android Software/Hacking General [Developers Only]] Magnumutz:
So, everything's great, except the fact that i need to keep fixing permissions through CWM to have signal, every time i reboot.

If i don't, i don't have signal.

Any way around this?
[Android Software/Hacking General [Developers Only]] hasrunmd:
Hi M_HaFeZ

What I mean EXTx - x is any type of your partition.. EXT3, EXT4,

I used EXT3
[Android Software/Hacking General [Developers Only]] HackitZ:
Hi can you explain this, sorry for a silly question.

also do i need to first format a ext4 partition on my sd card or does the script do this?

Hope i get it working. :- )
[Android Software/Hacking General [Developers Only]] NYLimited:
Do a factory reset -wipes everything! - and setup a clean, new installation *without* using this script. Let the new rom boot completely but do not install or change anything.

If you add the script to the rom zip file before the above step is complete you will likely get some circular symlinks (not good).

After a clean boot install the script (making sure other a2sd scripts are gone) and reboot.

Let the boot process complete.

The ext4 must be created and formatted by you *before* this script is added.

---

When you get to the point where you really understand & like your phone, it's probably obsolete...
[Android Software/Hacking General [Developers Only]] sibiru:
hi bro

is it work for galaxy gio using CM7 ?

hatur nuhun
[Android Software/Hacking General [Developers Only]] Magnumutz:
Can someone make a script that fixes permissions every time the device boots?

That would make my life so much easier...
[Android Software/Hacking General [Developers Only]] leo_ng:
Hi my friends,i used this ad2sdx_rc2t, it can work but after i almost restore all my apps, i hvnt enough space in \data (total 235MB). But my internal memory (Ext partition) still hv 1.2GB feel of 1.5GB and i cant install any apps anymore.

Can any guys pls teach me how to Symlink the data\data back to the ext partition?

So that i can save some of the true internal memory? Or any other suggestion?

i hv open the 40ad2sd, but i hv no idea about that....>.<~~~

Pls help, thz a lot~^o^

My phone is HD2 and i am using Miui ROM.