yashsingh1/xdaforums huggingface dataset:
[Desire Android Development] woti23:
its easier, if you use gparted and you have a card reader, call (as superuser), assuming your micro sdhc is sdb (notice its parted, not gparted)

# parted /dev/sdb

you get another commandline, then type

# align-check opt number_of_partition

do it for all partitions you have
[Desire Android Development] ngkwdaniel:
Hey can I just use data2sd script only but not Darktremor Script for apps2sd
[Desire Android Development] T3h vICE:
can you tell if it works with the latest 2.1.2 version of reflex s and give a short howto do it with data2whatever and an ext4 partition? and how did you the partitioning? through amonra or something else?
[Desire Android Development] dlnraja:
when for this rom http://xdaforums.com/showthread.php?t=988570 or this http://xdaforums.com/showthread.php?t=1081864 or 3.0 rom?
[Desire Android Development] fire girl:
Hi

I copy d2we v4d to Devnull 1.0.3 rom

Its android 2.3.4

Every thing is ok

But when i try to install any application

My phone is rebooted

please help me

what should i do?
[Desire Android Development] Bibracte:
:)

This script (v0.4d) is it still useful ?

It is not compatible Edify.

Is there another script to use instead (Example: for ROM Reflex 2.1.7) ?
[Desire Android Development] keyra74:
try the old app2sd zip from cyanogen nightly. i always used this one
[Desire Android Development] Bibracte:
You can specify where you find the ZIP ?

Not found here and here.
[Desire Android Development] oostah:
I have the HTC hero cdma and have been running the life on the edge and data2whatever-v0.4d.zip with AOSP roms and the gengersense rom with out any issues great speed increase thanks for all involved
[Desire Android Development] zleep3r:
any chance to work on LeeDrOiD HD V3.3.1 - Port - R2 A2SD++ ?

Thanks
[Desire Android Development] Borat38:
I'm a total noob to data2whatever, so at first glance, the procedure of flashing ROM + data2we + lifeontheedge seems pretty straightforward.

However, when I did just that (w/ EXT4 partition) this is what I got:

Finding update package...

Opening update package...

Installing update...

Amend scripting (update-script) is no longer supported.

Amend scripting was deprecated by Google in Android 1.5

It was necessary to remove it when upgrading to the ClockwordMod 3.0 Gingerbread based recovery. Pls switch to Edify scripting (updater-script and updater-binary) to create working update zip packages.

Installation aborted.

*I'm by no means a techie, so the above quoted is a head-scratcher for me. ANyone help?
[Desire Android Development] iinga:
I imagine that you are using clockwork mod 3+. Amend scripting language was stopped for clockworkmod 3 onwards. Let me see what I can do for you

Sent by Owl Post

EDIT: http://www.iinga.net/desire/data2we-cwm3.zip should work on cwm3
[Desire Android Development] Alex-V:
Simple..flash a older recovery :) it can handle both scripts
[Desire Android Development] Terepin:
I always wondered what happened to melethron. Is he OK?
[Desire Android Development] Borat38:
Actually, I'm using 4ExtRecovery, newly switched over from Amon_Ra 2.0.1. I guess I should switch back to Amon_Ra?

Also, is anyone here a previous/current Data2SD user? How does data2WE compare to Data2SD w/ regards to speed, stability? I'm ok w/ Data2SD's speed, but the thing with it is, sometimes when I reboot, data corruption shows in the form of bootloops. Reflashing Starburst and the Data2SD Re-installer solves the problem, but it's too much hassle if I have to do that everytime.
[Desire Android Development] Borat38:
I get it, went back to Amon_Ra 2.0.1, and the data2whatever flashed without a hitch. Now to see what it brings...
[Desire Android Development] Alex-V:
I wrote him a pm but no answer...but i hope also..
[Desire Android Development] Alex-V:
Nice to here :)
[Desire Android Development] Borat38:
Anyone? :)

Thanks Alex-V
[Desire Android Development] swemoza:
I think data2w is all about stability and reduce data corruption (with no life on the edge).. but if you preferred speed you can use data2sd or data2ext.

But data2w + sqlite3 hack is very fast..

unfortunately no sqlite3 hack for gb sense..

We need melethron and ownhere here..
[Desire Android Development] Terepin:
The last post from him didn't indicate he wants to leave. Or any other post for that matter. I have bad feeling something bad happened to him. :(
[Desire Android Development] Borat38:
How do I flash the sqlite3 hack? Is it ROM + data2WE + lifeontheedge + sqlite3 in succession, without rebooting in between any stage?
[Desire Android Development] melethron:
Sorry, you didnt hear from me for quite some time. I have almost no time and so I will not update my stuff in the near future and cant give any support. Sorry for that.

Apart from that, i cant hack the sqlite lib myself. Ownhere did this. All credit for the hack goes to him and you have to ask him if he can hack the lib for gb.

BTW: Feel free to use everything i made here for xda. You dont need to ask for permission.
[Desire Android Development] devil466:
Hello,

FIY: I tried to use 0.4c with the latest stable Insertcoin stock HBOOT version but it didn't work at all. Different htc apps like settings weren't able to start. I also tried to use 0.4c and 0.2 with the latest AceSMOD007 cm7r2 build without any success. It even wasnt possible to start the rom after flashing.

DeViL466
[Desire Android Development] shankly1985:
I also tried them RoM, ended up giving up and going with MIUI.
[Desire Android Development] Borat38:
Which version of MIUI did you use? I tried 1.7.22, which incorporated data2WE successfully, although it didn't show up on the Settings at all. Settings showed 0Mb space for a2sd, but I successfully restored w/ Titanium 180 user apps w/ 1.5Gb spare space left in my EXT4, as QuickSystemInfo showed.
[Desire Android Development] vuolia:
Is there any way to get this script working with GingerVillain 2.8? when I flash this script I'm stuck on boot... (flashing right after rom flash and full wipe, ext4 1gb partition).
[Desire Android Development] jullman:
hello,

i have this error message " Error installd 401 cannot create dir '/data/data/com.htc.flashlight': I/O error"

how to correct it please

thank you
[Desire Android Development] UlvWolf:
Very frustrating. Refuses to flash on HTC Wildfire S.

"Amend scripting was deprecated by Google in Android 1.5. It was necessary to remove it when upgrading to Clockwork Mod 3.0 Gingerbread-based recovery. Please switch to Edify scripting (updater-script and update-binary) to create working update zip package. Installation Aborted."

There is no older version of Clockwork Mod recovery (or any other custom recoveries for that matter) which works with the WildFire S. Please fix immediately.
[Desire Android Development] swemoza:
Did you even see some post above you...

he said that he no longer continue this development..

so if you want edify script.. you can try to change it by yourself...
[Desire Android Development] Liam_K:
Yep, i know that feeling! Was missing the senseless ROMs i always used through ROM manager, so i went back to the ported version...but what i left, jikaranu's rom, had data to whatever, and boy do i miss it...pity that this is not happening.
[Desire Android Development] reds971:
Hi melethron,

I am kind of new to these tweaks, please excuse me if my question is silly :o

Will the data2whatever script work as good as data2sd? or whats the advantage?

How much intenal memory can i get for this?

and what is the best recommended ext3/4 partition i can spare?

I am currently on stock hboot.

Will this work for Runnymed AIO Rom by sebastian?

Experts, please feel free to answer me and share your best practices. :D
[Desire Android Development] TheCJMan:
Not Installing

Hi

Downloaded the version 2. has HTC Wildfire S with CMW 4.0.4.

Steps followed as per first post, but when it starts to install it everytime moans about XYZ install function has been depreciated by google after asdf and needs to use the new method...

Sorry did flash last night and only post message here now...

---------- Post added at 02:02 PM ---------- Previous post was at 01:56 PM ----------

Found this post : http://xdaforums.com/showthread.php?t=1273461
[Desire Android Development] Fightspit:
I don't know if it has already been said but I found an interesting post in the Nexus S forum. It is posted by supercurio himself and he talks about

how to improve the speed in the ext4 file system

;)

From here:

http://xdaforums.com/showthread.php?p=9869974#post9869974
[Desire Android Development] melethron:
Nice, thanks for the info. Im still on btrfs so can't test this atm. But ill test this soon. The overhead of ext really sucks on ssds, so this might be of use.
[Desire Android Development] ownhere:
quote about noauto_da_alloc:

I can not imagine, Samsung developers, who think the data integrity as the most important thing, put forward this proposal
[Desire Android Development] melethron:
I asked him and to avoid the zero-length-file issue is that noauto_da_alloc is only used in lagfix in conjuction with enabled barriers. That was also already in his posting.

btw: didnt you want to stop that discussion? ;-)
[Desire Android Development] ownhere:
check this:

http://www.pubbs.net/201002/pgsql/46139-hackers-directory-fsync-and-other-fun.html

Nothing is 100% safe, Therefore, such as "suck loop, **** vfat" is not fair terms.

Do you think so?

I do not want your non-rational discussion, just a statement of fact.

Phone is needed is a smoother experience and acceptable safety, mobile phones are not the server.
[Desire Android Development] melethron:
I did never say i want 100% safety. Also the quote of this wasn't my arguments but only my opinion. Also what you linked me is a rather different task. Look at the text again. I quote:

And this is what actually applies in someway to a loop device.

Think of this:

A app writes to the db in /data/data. After that it forces a disk write with fsync.

Scenario one:

The disk is read only like in the link you sent me. The fsync wouldnt work -> data loss.

Scenario two:

The "disk" is a loop file. This would cause a fsync to change the loopfile but the loopfile is NOT written to the "real" device then. If the system then stops before the usually commit interval wrote the loopfile to the device-> data loss

Scenario three:

The filesystem is on a real device. The fsync writes the data and there is no data loss.

I do know that the system could still crash before the fsync is called and there could also be data loss. This is a risk that is always there. But if the fsync is done proberly and the "real" disk write is delayed up to the 19 seconds of the commit interval (used in your v4 script) on your real disk is something i call an avoidable risk.

If you think these arguments aren't rational and i'm "superstitious" then may it be. Ill look for other ways to get a smooth data2sd expirience without trading speed for safety.
[Desire Android Development] sibere:
Was surfing the web and read an intersting article about alignment for SSD.

This could be quite relevant for hour SD card.

Basically it says that the partition has to be "bloc" aligned. bloc can be 128K to 1024K size.

this depends on the technology, type of device/memory used and manufacturer.

Say you align your partition to a 128K bloc (should be the case for sd cards) with fdisk or equivalent tool.

Now you have to align ext4 to the same 128K bloc size.

They use a RAID option for this: -E stride=

So if you make your ext4 partition with a -b 4096, stride should be 32 for a 128K bloc (32x4=128)

mkfs.ext4 -b 4096 -E stride=32 -O options_you_like etc...
[Desire Android Development] melethron:
Or you simply use gparted for that with align to mb and you are done :)
[Desire Android Development] sibere:
Is it aligning the ext4 partition with the stride option too?
[Desire Android Development] melethron:
Op updated.

No but it is not nescassary since we dont have a raid here. SSD is like a tiny raid but the lba provided is not split up by the controller (on raid you have 2 block devices behind a raid controller - on ssd you have one simulated block device "on top" of the controller/ftl). If the partition is aligned the filesystem will be also.
[Desire Android Development] mattiadj:
The latest version need two ext partition?what is the max size for data?2gb?

sent from the future
[Desire Android Development] MemAllocatoR:
melethron thanks for the script update!

but i can confirm that this one is not working with reflextsense 1.5...

i did exactly as you said but its not working..
[Desire Android Development] melethron:
Same as app2sd. One Partition Fat and one ext (or "whatever").

Max size is still 2gb. As i already told you the issue with partition larger than 2gb is not a bug of the scripts but an issue of Android/market.

Ok i take a look at it. Maybe it installs some stuff on sd-ext.
[Desire Android Development] Fightspit:
Does it need removing the current "app2sd" script in the init.d folder because I think it can cause some problem if I let this script in it.
[Desire Android Development] mutokenji:
i just flash this and oxygen 2 RC 2..

but i can't see the different. i already wipe all data, flash oxygen, flash data2whatever, reboot..

is there any sign if the installation succeed?

Edit: i just realize that oxygen doesnot use app2sd.. Wanna try it using leedroid now.. :D
[Desire Android Development] ownjoouk:
I take it this wont work with CM6 as this rom doesn't have native a2sd?

Just tried it anyway but doesn't seem to have made a difference :(
[Desire Android Development] iinga:
It uninstalls most of the common apps2sd scripts.

@melethron:

I don't know if this is anything, but I think that most of these ROMs failing already have 01 scripts.
[Desire Android Development] iinga:
CM6 requires something else. try http://xdaforums.com/showpost.php?p=9982352&postcount=955
[Desire Android Development] ownjoouk:
OK thanks.

This is a little advanced for me, so I'll sit back for now until there is an easier solution :o
[Desire Android Development] mutokenji:
not working in LeeDroid v2.3b.. it's just normal a2sd.. :(
[Desire Android Development] melethron:
Ok from the first look at it i cant see the issue. Ill flash it myself later. I think i can fix it till tomorrow. BTW: Sure you did a full wipe before???

quote from the code:

cd /system/etc/init.d/
busybox rm -f 10apps2sd;
busybox rm -f 40a2sd;
busybox rm -f 04apps2sd;
busybox rm -f 03stuff2sd;

;)

I forgot to add that to the feature list.

You'll see more space in the preferences at "internal storage" ;)

It also should work on non app2sd versions but it surely doesnt work with a data2sd/data2ext version.

As above it can work. Youll see more "internal storage" if so.

That doesn't matter as long it doesn't run a app2sd script before my script is run. Also i didn't respect the layout of most ROMs since i dont wanna download every ROM and test before releasing this. I'll rather let users try and fix it if doesn't work.
[Desire Android Development] vivmar:
If i install latest cm6 + Darktremor Apps2SD 2.7.5.2 and after data2whatever, this should work?
[Desire Android Development] melethron:
Ok thats strange. I expected issues on many ROMS but not on leedroid....

Ill check that after reflex....

At both of you. CM will not work without this: http://xdaforums.com/showpost.php?p=9982352&postcount=955

Also dartktremor might cause issue i only respected the typical cyanogen app2sd scripts.
[Desire Android Development] ownjoouk:
no it doesn't i tried it
[Desire Android Development] iinga:
testing it again
[Desire Android Development] mutokenji:
btw, if i not wrong, after installing this ROM, i should have 1GB internal storage didn't i??

I have 1 GB ext4 partition.. :D
[Desire Android Development] Ninolina:
I tryed it on LeeDroid v2.3b A2SD and the internal memory is not changed.. it is about 139mb without any app installed.. I have a 2gb ext3 partition.. I wipe everything before instalation rom and the data2whatever.zip.. what is wrong? thank you..;)
[Desire Android Development] vivmar:
doesn't work...
[Desire Android Development] iinga:
Sorry i'm testing a CM solution is what i meant
[Desire Android Development] Mike_52:
tested on gingervillain rom who seems have app2sd and it doesn't work :)
[Desire Android Development] melethron:
Damn. I know where the issues lies: i made some last minute changes and didnt test them and there was a ` missing. This tiny backquote made the whole script not working:

/system/etc/init.d/01data2whatever: 248: Syntax error: EOF in backquote substitution

Fixed it and updated the OP. I can confirm that it works now (for leedroid at least - may still be issues on other ROMs so i still need feedback).
[Desire Android Development] Mike_52:
I'm going to test it on gingervillain rom and add my feedback then
[Desire Android Development] vivmar:
Sorry,but i haven't understood what i have to do for install your script with a CM....what i have to modify?
[Desire Android Development] iinga:
Try http://www.iinga.net/desire/data2sd/CM6-data2we-signed.zip for CM6 and let me know.

@melethron: many thanks :) beats my hacked together script
[Desire Android Development] mon@diac:
Thanks for great script...great works on MIUI 0.12.18 R3.... super :)))
[Desire Android Development] ownjoouk:
I can confirm working with Gingerbeard Oxygen RC2 (that rom uses cyanogen a2sd)
[Desire Android Development] Nodders:
Do you need the CM fix for Oxygen seeing as it uses CM a2sd?
[Desire Android Development] gizz68erz:
will this work for gingerbread apps2sd roms in future?
[Desire Android Development] melethron:
From what i see the init.local.rc shouldnt cause problems on other roms so i add this to the next version. But i make a quick test with leedroid for this.

Should work already. Had a stupid syntax error in the first script.
[Desire Android Development] vivmar:
Work on ginger villain,i have 1.56 gb free...but just to inform i haven't good benchmark score...(about 1400)
[Desire Android Development] mattiadj:
Works on rom like Z rom which has sdext folder?
[Desire Android Development] MrDevil:
I tried a this on cm with dta2sd and without full wipe both times. still seeing no change in space. am i doing it wrong? i have a 1gb ext partition.
[Desire Android Development] vivmar:
i have only 119mb left..i think not work...
[Desire Android Development] azure89:
Uhm, i've tried to flash it on MIUI 0.12.18 but got FC on every apps that i download from Market, any idea?
[Desire Android Development] MrDevil:
took a look in init.local.rc, i'm no expert but could this be the fault in inga's script not working?

service 55data2whatever /system/etc/init.d/55data2whatever

user root

group root

oneshot

when the filename is 01data2whatever? pls correct me if i'm wrong. :)
[Desire Android Development] iinga:
Are you guys wiping and flashing cm then that zip straight after?
[Desire Android Development] vivmar:
full wipe and sd-ext format to ext4
[Desire Android Development] MrDevil:
yup. just like the 1st post said.
[Desire Android Development] Ninolina:
I tryed it with new data2whatever v0.2 on LeeDroid v2.3b A2SD and wiped all before flashing it but this time my phone becomes unusable... I got the lockscreen on but when I unlock it I only got the white HTC screen... The phone is responding on home button and ON/OFF button but that is all... I only can shut it down with ON/OFF button and cannot use the phone.. What is wrong? I have 2GB EXT3 partition and it worked with other ROMs with DATA2EXT.. Can anybody help me???
[Desire Android Development] radiohitec:
I confirm works good on Leedroid 2.3b, must test it now for speed etc.

What have I done No wipe when you have a Leedroid ROM, boot at clockwork flash the Leedroid 2.3b on new, after flash don't reboot, flash the DATA2whatever and reboot, done and you have al your settings....

Edit: wooow no bad preformance, a little lag on some menu's but acceptable, the best dataext for so far!

Keep on the good work melethron!!!!
[Desire Android Development] melethron:
Do you have the same issue cenkaan as him:

If you did a wipe and tried to reinstall it already and have still the same issue then i need the output of "adb shell df".

Any data2sd is actually a bit slower than normal. If you want some fake scores you can use the "life-on-the-edge" mod. But as i said it is a fake score and doesnt show the real performance (although the real performance IS slightly better but not as much as the score suggests).

The best performance without live-on-the-edge gives a partition with ReiserFS but you need a kernel that supports it (benee will maybe make one for gingerbread - don't know for sure ... at least he wanted to implement it in his vork kernel) and you need linux to format. I update my other thread soon with REAL benchmark results.
[Desire Android Development] MrDevil:
@melethron how'd you get it to work on cm6? tried twice with no success.
[Desire Android Development] mon@diac:
No.. It great works on MIUI 0.12.18 R3...I didn't take any FC's on apps..
[Desire Android Development] vivmar:
me too...not working on cm6
[Desire Android Development] melethron:
Hmm i put CM to unconfirmed for now. Maybe you can help them sort the issue.... im not really familiar with that rom.

Sometimes the phone needs a bit time to load the first setup. I had this issue before. You should wait one minute and it may work then. Also after the first reboot data2whatever is a bit slow. If the setup doesn't start you can try to flash it again.
[Desire Android Development] iinga:
I'll get onto testing cm6. Currently on MIUI and it works perfectly and smoothly.

Gonna flash cm6 now.
[Desire Android Development] melethron:
Sorry i added it to the post because i thought it works for iinga. I moved it to uncofirmed. Maybe iinga can help.... i have to go the next min and cant test (also i need to flash back my own rom because i need the phone ^^)

Could you try it again. It was a error that made the script not work at all. Can't test it now because i have to go the next minutes.
[Desire Android Development] Mike_52:
working fine on gingerbread, have tested with 3go+ fat 32 with 512 mo ext3 (partition with gparted)

Nice work data2sd for all, you made it Melethron
[Desire Android Development] MrDevil:
I changed the entry on the init.local.rc file now it it says i have 807mb free space :D

Thanks for the script guys!!

edit: sadly i'm getting constant fcs on the messaging app.
[Desire Android Development] vivmar:
can u explain? thx
[Desire Android Development] melethron:
Ext4 is slightly better then ext3 because of the extends feature for files larger than 4kb.
[Desire Android Development] iinga:
yes my bad, i used an init.local.rc i was using for a 55 script. reuploading
[Desire Android Development] MrDevil:
I changed the 55 to 01 in the init.local.rc file in iinga's script.

service 55data2whatever /system/etc/init.d/55data2whatever

user root

group root

oneshot

fyi a reboot fixed the messaging fc.
[Desire Android Development] MrDevil:
beat me to it. thanks for the script.
[Desire Android Development] iinga:
now, redownload it guys.

CM6: http://www.iinga.net/desire/data2sd/CM6-data2we-signed.zip

I had too many init.local.rc scripts lying around i got confused. Checking the files, it was easy to see my mistake. Sorry to those guys who already flashed.

Have also updated my page to reflect new changes.
[Desire Android Development] vivmar:
seem work...testing it..thx
[Desire Android Development] Mike_52:
Will test it later ... :)

What is exactly life on the edge add on ?
[Desire Android Development] iinga:
@MIUI users:

Do you get FC in Settings>System>SD Card Settings?

I noticed that it would FC unless i added:

ln -s /mnt/sdcard /data/sd

to the 99complete script..

This would however bug out on the sd card settings and display app2sd storage as the SD card storage. Any real solution is appreciated
[Desire Android Development] grg_argy:
can you tell me the first boot how much time is taking?????
[Desire Android Development] iinga:
Normal amount of time for a fresh install...about 2mins max.

What rom are you using. Do you notice any looping in the boot animation?
[Desire Android Development] lipers:
test and confirm. work great on Ginger Villain ROM;)