yashsingh1/xdaforums huggingface dataset:
[Nexus One Android Development] jayfallen:
I edited the thread title, and added download link of the script created by ownhere.

someone might wanna take a look, if you're interested in bring your N1 more I/O performance and more space for Apps.

Thanks for everyone replying this thread. I will try your suggestions.
[Nexus One Android Development] luciefer:
eVil's hd rom~

it's not work on the evil's hd sense?i try that last night~ but it's very hard!!!
[Nexus One Android Development] lsxrx7:
i m abt to try this

http://www.miui.com/thread-10723-1-1.html?extra=page=1

wish me luck
[Nexus One Android Development] jayfallen:
the thread @ miui.com was posted by me earlier...

that rom is just experimental, if you don't reboot, everything works fine.

once rebooted, config lost and homebutton lost...

I don't know how to fix, that's why I start this thread @ xda, hoping someone could make it work for N1...
[Nexus One Android Development] GuestK00233:
Wow this I want
[Nexus One Android Development] houzuoguo:
Not sure if this can help..

Found a post on HiAPK (a Chinese Android discussion forum)

here's the link to the post:

http://www.hiapk.com/bbs/viewthread.php?tid=717815&extra=page=1&amp;filter=type&amp;typeid=211

And here's the link to the ROM:

http://rom.anshouji.com/htc/N1/bbs.anshouji.com-N1-data2sd-20101208.zip

The rom is said to be based on Cyanogen Mod 6.1 Stable, with data2EXT enabled by default.

The attached screenshot comes from a user of the data2Ext rom, note that the internal storage has 0.9GB left.
[Nexus One Android Development] eViL D::
That because the current script will only move system/app to ext. There is nothing else in there to tell it to move any other folder, thus failing.
[Nexus One Android Development] jayfallen:
there's been new development...

as houzuoguo mentioned, a CM6.1stable+data2ext mod ROM is out, but there're still some issues

ownhere update his script to V3

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

1.change loopback device to real partition for powersave and better write performance.

2.disable second partition's journaling.

3.You need 3rd partition for /data/data. But even without the third partition of this script can also work(not stable). My partition settings:second partition:1.5G, thrid partition:0.5G

meanwhile, another new approach is coming out:

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

NILFS2 - data2nilf2 will be much faster then data2ext and won't have Lags.
[Nexus One Android Development] lsxrx7:
whoa

i m glad there are so many new development out everyday

feel so good knowing the n1 is not being left behind

speaking of this is pretty freaking awesome

...
[Nexus One Android Development] britoso:
That is a huge improvement in IO!

Lets hope this reaches a stable state soon :)

I wonder why quadrant weighs so much on disk IO for the total score. :confused:
[Nexus One Android Development] elracing21:
Would this be possible on other devices? lets say the g2?
[Nexus One Android Development] bcpk:
Would someone mind explaining what tangible improvements this makes? Obviously there is an impressive boost in Quadrant scores, but I'm unsure what difference it makes to the actual operation of the device.
[Nexus One Android Development] lsxrx7:
App2sd u get 512mb for ext3.

Data2ext u get at least 2gb for apps and stuff
[Nexus One Android Development] charnsingh_online:
Lol. Are u serious. For io scores it cheats. See the script. Fake ext2 for quadrant
[Nexus One Android Development] jayfallen:
truth to be told，they say TTL 2000+ and IO 3000 is the actual scroe...
[Nexus One Android Development] plex12345:
hi guys where can i find a2sd killer for rom with sense?
[Nexus One Android Development] jens1288:
The "Data2SDv11.zip" should contain all the files you require.
[Nexus One Android Development] D200P13:
For CM7 stable, i flash

CM7.zip

A2SDKillerV11_GB.zip

Data2SDInstallerv1.3_GB.zip

Data2SDReInstaller1.3_GB.zip

correct? or all of the above except A2SDKillerV11_GB.zip since the 1st post has all 3 listed but at the beginning says Installer and Reinstaller. doesnt say killer but includes it in the list...
[Nexus One Android Development] jens1288:
CM7 doesnt have DT a2sd so A2SDKillerV11_GB.zip isnt needed.

What I flashed was

CM7

reboot

back to recovery

Data2SDInstallerv1.3_GB.zip

essentially skipping the a2sdkiller flash
[Nexus One Android Development] 021311:
Whoever wrote this program is a genius:p
[Nexus One Android Development] lockab:
Can anyone tell me how to separate the appkiller GB, data installer GB and reinstaller GB out the zip package in order to follow the March 14th updated instructions. My Astro file Manager list them all but I need to flash them individually.
[Nexus One Android Development] 021311:
Use WinRAR to unzip the file then put those otehr zip files in the phone, if that's what you meant.
[Nexus One Android Development] lockab:
Sorry about recent post, feel like a fool only thing I needed to do was extract all files from zip package of Data2sd.
[Nexus One Android Development] Docmjldds:
Nah!!!!! PS....did you read my PM to your post to me? I'm going to try the latest version 5 from here on the latest MIUI 4.1.15 (Formels)
[Nexus One Android Development] lockab:
Thanks Doc, worked like a charm on CM7. You're the Man!
[Nexus One Android Development] Docmjldds:
MIUI 4.1.15 soft reboot with app installs

Tried using on Formels Rom. Installs fine. Looks like a winner. Except when I try to either install anything from the market or install an APK file, it immediately reboots and basically doesn't install anything. Not sure if it's a 4.1.15 issue or the fact it's something with the custom ROM by Formel since I did not try the basic MIUI-DEV version of stock 4.1.15. IOW, I can go to the market. Choose an app. It downloads and goes thru the now installing scenario. But as soon as the install appears to be finished, it does a quick soft reboot, gong to the boot animation screen and then thre desktop. It doesn't do the hard reboot where you get the X screen first on the Nexus One.

This was with the 1.3GB files as well as the latest version 5 files.
[Nexus One Android Development] jayfallen:
I tried with stock MIUI 1.4.15，in both ways mentioned at OP, everything's fine.

maybe there is something to do with custom miui rom, not sure
[Nexus One Android Development] Docmjldds:
Thanks for confirming. Going to try once more, now that I have some time. The performance of this is just phenomenal with CM7.
[Nexus One Android Development] miguelm75:
maybe it's a n00b question, but: have you observed any changes in battery life while using this script?
[Nexus One Android Development] miguelm75:
anybody?

technical question: which script is better for SD card life: DT or jayfallen's?
[Nexus One Android Development] jayfallen:
I assume for either sdcard life or battery life, DT's A2SD+ script is a little better...

But from my daily usage, no noticable difference
[Nexus One Android Development] thelucster:
I set this up last week, but now it has just slowed down horrendously so my phone is basically unusable. I have a Class 10 16GB SD card, that gets 12.5mb/s writes and 17.8mb/s reads so it isn't that the card is too slow. Here is what I did:

1) Full wipe /system, /data, /cache and dalvik-cache and then format SD card with ClockworkMod Recovery to have 1GB ext and no swap.

2) Flash update-cm-7.0.2.1-N1-signed.zip and leave it to boot up for a few minutes.

3) Flash Data2SDInstallerv1.3_GB.zip and leave it to boot up for a few minutes.

4) Flash gapps-gb-20110307-signed.zip and setup everything.
[Nexus One Android Development] miguelm75:
am i the only one having problem with "The process com.android.phone has stopped unexpectably. Please try again." issue?

i've tried different combinations with version of the script, flashing it right after ROM and A2SD killer or after reboot, also with different ROM-s (Evervolv, Gigglebread, CM, Kang-O-Rama, SuperAosp and clean GRJ22). still no luck, still problem appears. the only way with dealing with it was entering the PIN, but after 5 seconds the same message appeared.

any ideas? i would really like to use the script, but it is impossible.

i have SD card class 6, so it would be OK with the card, i suppose.
[Nexus One Android Development] jens1288:
Miguelm75, do you get the error with every rom?

I am on the nightlies with this script and I dont get that error.

If you're on CM7, Gigglebread, or nightlies you dont need to flash A2SD killer (doesnt hurt but unnecessary).

Always reboot after flashing the rom or else your settings dont stick.

I followed the steps outlined by Jayfallen.
[Nexus One Android Development] miguelm75:
yes, with every ROM, except CM stable. at the moment i'm on 7.0.3, will try to reflash Gigglebread and then script.
[Nexus One Android Development] miguelm75:
wrong idea, problem came back. going back to DT script, will observe this thread.
[Nexus One Android Development] sl8125:
I just flashed the new cm nightly over the previous version but I want to flash the script over it. Do I must wipe before flashing the script? Doses it work okay with ss4n1?

Anybody have another link for data2sdv11 file? The one in the op wont work for me.
[Nexus One Android Development] sl8125:
Got it done finally. Downloaded the recent file from droidzone.in flashed it without signature verification. Some how the file provided did not flash correctly. Now I am getting quadrant over 2200 and have 1.4 gb of internal space. Very nice work. Oh yeah this is flashed over cm nightly.
[Nexus One Android Development] ultra99:
Any updates on this?

What are the recommended partitioning?

Mine is:

6gb fat32

1gb ext4

300mb ext4

128mb swap

Any else i should do?
[Nexus One Android Development] b1337:
Depends on what u want to do
[Nexus One Android Development] ultra99:
Can you please elaborate?

What I want is a stable and fast configuration...that's it! This setup was ROD's config, so I don't know if it's optimal on any rom or just rod's.

PS: my card is 6gb class 6
[Nexus One Android Development] jens1288:
You dont need all those swap drives, this method of data2sd requires only 2, one fat32 and one ext4 (max2gigs).
[Nexus One Android Development] ultra99:
i changed my setup to 1 fat32 partition and 1 ext4.

I installed CM7 + data2sd. The phones seems responsive at first, but after a while and after installing a few apps the phone becomes very slow and not responsive. I mean, if I tick on untick something, it takes a couple of seconds to do that. Another example, if I delete a email from gmail, it also takes a few seconds till it does, which didn't happen to me before using data2sd.

Any ideas?
[Nexus One Android Development] jens1288:
I'm not an expert, maybe sibere can better answer your question and a fix. With all cache in sdext there may be a slight delay if you're starting gmail from a cold start or wake.
[Nexus One Android Development] mysaturdayself:
I got quite confused after reading several paragraphs.

Does this method aim to solve the "low memory" when you have many apps that will store data in the internal memory even when app2sd is enabled?

If so, it certainly is what I need. and I would appreciate if anyone could clarify what are the formatting everybody is doing? It seems the OP just said about two zip files to flash, why the formatting? thanks.
[Nexus One Android Development] charnsingh_online:
They are not actual scores, see the script carefully , at the end there is the quadrant cheating stuff. If u think that this was actual score, then i could just mount the quadran's tmpfs over the data dirs and get like whole lot of quadrant score around 4000-5000
[Nexus One Android Development] iserlohn:
I modified Paul's A2SD+ script to do /data/data as well. Appreciate any testing on other ROMS.

Anybody using A2SD based on Paul's script should be able to install it.

To install the attached script -

./adb push 40a2sd /etc/init.d/

./adb shell chown 0:2000 /etc/init.d/40a2sd

./adb shell chmod 755 /etc/init.d/40a2sd
[Nexus One Android Development] matiu:
Works on stable cyanogenmod 6.1?
[Nexus One Android Development] charnsingh_online:
Actual scores with a script n setup not as complex as owenheres would get u io 2500+ n total 1900+ easily. If u want I can port over ownhere script to cm. Maybe tomorrow
[Nexus One Android Development] jlevy73:
That would be great.
[Nexus One Android Development] Geo411m:
here's a quick update.zip of the files from the first post. It worked fine on my phone so it should work on other phones as well.
[Nexus One Android Development] touchpro247:
My phone doesn't boot after flashing this. I'm on your FRG83D Deodexed Rom. Just shows the X.
[Nexus One Android Development] jayfallen:
I did the similar earlier to move /data/data to EXT @MIUI rom with Darkstremor's 2.7.5.2 script via adb shell

cp -a /data/data /sd-ext

rm -r /data/data

ln -s /sd-ext/data /data/data

reboot

now the available internal space stays at 175MB, no matter how many apps are installed...

but it doesn't help to improve performance.
[Nexus One Android Development] Geo411m:
It took like 5 mins for my phone to boot. Also are you using my frg83d v1 or the completely stock? it wont work with completely stock rom.
[Nexus One Android Development] jayfallen:
maybe it will require a clean install with full wipe?

I'll try Geo411m's update.zip. Thanks!
[Nexus One Android Development] touchpro247:
I'm on v1. I'll try flashing it again.

Worked... Thanks!
[Nexus One Android Development] touchpro247:
Delete.......
[Nexus One Android Development] jlevy73:
What Rom are you using?

NVM helps to read :o
[Nexus One Android Development] jameztcc:
I'm on cm6.1 nightly with dt a2sd, can geo's update work?

Tried flashing in recovery buy threw errors when tried to manually do init script after boot.
[Nexus One Android Development] touchpro247:
lol I use to add it to my sig but, I try to many roms. Hopefully ginger will change that somewhat... :D
[Nexus One Android Development] jayfallen:
I tried MIUI rom 12.11(no A2SD+) clean install, and then flash Geo411m's update.zip.

it was fine at first boot, but once rebooted, those issues were still there.
[Nexus One Android Development] uw748:
Hey guys,

I just flashed the ROM from the chinese Android forum, and it is currently working fine. I simply set a 1GB ext partition and flashed over to the ROM, the first boot took a while but everything started up normally.

The internal memory now shows 0.94GB and I am running wild trying to install large games on it. For all I can tell, it is a CM6.1 but note that it comes with the google pinyin keyboard (no standard keyboard) and brut maps (no 4.7) so there's that. You can set the language to English or Chinese at first start, and then everything should act normal.

Not sure if the kernel was modified by the author, but seems stable and speedy enough. Satisfied with the ROM on my N1 and Sandisk 32GB C2.

Hope this helps anyone interested. Pics later I guess.
[Nexus One Android Development] jayfallen:
with ownhere's v4 script, I got my miui rom working, no data lost or crash after reboot/battery-removed:

1. miui rom 12.03 clean installation（a2sd+ script removed）, then flash update.zip of v4 script. working. applying 12.03 to 12.10 and 12.10 to 12.11 ota packages, working.

2. miui rom 12.11 clean installation, flash v4 update.zip, working.

3. miui rom 12.11 with a2sd+ running, 38 apps installed and /data/data moved to ext. the v4 update.zip can still do the job.

however, one problem is that Root explorer couldnot display Chinese filenames of APK , showing only ？？？. and if install those apks via root explorer, it just reports errors...

another thing i am not sure is not knowing how much v4 script could improve when there is only 1 ext partition. according to ownhere, 2 ext partitions are needed to make the best out of his v4 script...

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

Sent via the XDA Tapatalk App
[Nexus One Android Development] Hendra_sutanto:
i try flash miui rom 0.12.11 and flash update data2ext

the results is :

cannot boot for the first time i install

so know i try use cyanogen rom 6.1

hope it will work
[Nexus One Android Development] Hendra_sutanto:
first i try kang o rama 1.1 final

i flash again data2ext update can restart very well buat the problem is nothing happended
[Nexus One Android Development] Hendra_sutanto:
what the magic word so i can activated data2ext
[Nexus One Android Development] Hendra_sutanto:
what s the magic word so i can activated data2ext?
[Nexus One Android Development] chowlala:
Alakaboomshakalazam.
[Nexus One Android Development] Hendra_sutanto:
hmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmm
[Nexus One Android Development] jayfallen:
i attached data2ext_update.zip in the first post. and some new info about this topic
[Nexus One Android Development] jayfallen:
if Evil HD Rom is supporting a2sd+ with a script in /system/ect/init.d, you need to remove the file 04apps2sd or 01apps2sd first.

try the update.zip i upload in the 1st post.
[Nexus One Android Development] Hendra_sutanto:
just flash it?not to type any word after flash it?
[Nexus One Android Development] shadowring:
so if i use the newest update.zip is that still need to delete the file?
[Nexus One Android Development] cocchiararo:
crap, after reading all this and the other related threads, i end up noticing that my debian machine can't format as EXT4, so i now have to wait for an ubuntu livecd to download :P

(because, after reading all this and the other threads, i understand that having 2 ext4 partitions is ideal)
[Nexus One Android Development] matiu:
It works on cyanogenmod 6.1?
[Nexus One Android Development] lsxrx7:
I have read report it works perfect

try use the stand alone rom instead of the script.
[Nexus One Android Development] kire7415:
how do i install this if i am on cm 6.1 stable? do i just intall the update on page one from recovery? also how will i know if it is working?

I ended up installing but i dont see any changes. phone booted fine but when i went to apps and sd card in settings it still showed internal memory as 196mb

any help would be great
[Nexus One Android Development] :
this works for me but loss of the home button kind of sucks. i dont know if it is worth it
[Nexus One Android Development] cocchiararo:
i was able to test this on my nexus one running MIUI

no "weird things" broken

But i noticed "lag" everywhere, so i went back to the rom stock a2sd :(
[Nexus One Android Development] jayfallen:
i am thinking some further tests with stock cm6.1 stable, to check the performance

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

Sent from my Nexus One
[Nexus One Android Development] lsxrx7:
I m thinking abt buying a new sd card just to test this data 2 sd stuff
[Nexus One Android Development] die-hard:
maybe this link can help u in develop work

http://www.miui.com/thread-10692-1-1.html?extra=page=1
[Nexus One Android Development] jayfallen:
Thanks. The MIUI desire rom of this link, is also using ownhere's script.

I tried testing with CM6.1 stable, strangely nothing happened after flashing Data2ext_update.zip...

With one 1.7GB ext3 partition and one 0.8GB ext2 partition, MIUI rom ran into lots of FC at 1st boot, only thing I could do was to remove battery. After that, it seemed working, no data lost or crash after reboot/battery remove. But one issue i noticed was that the reboot menu got only reboot/shut down options left, no flight mode/quiet mode options...

Another problem was that Chinese filenames of APKs could not be displayed correctly under root explorer. Tried to install these APKs via root explorer, but it reported error package...
[Nexus One Android Development] craigacgomez:
Yes, strangely with CM6.1 ROMs it does not enter the if [ -e /dev/block/mmcblk0p2 ] condition... maybe we are m issing something here, but I haven't had the time to find out more...

But till then, I'm quite OK with using my own modified version of Darktremor's A2SD... which also moves /data/data to the SD ext partition... and it seems to work quite well... been using it since CM6.1 without any issues... 194MB out of 196MB free... I'm attaching my mod to this post if anyone is interested...

But do note the following if you wish to use this mod...

1. Ideally this should be done with a clean install, else you may experience issues with some apps, mostly root-enabled. A data/factory reset would work great as well.

2. You should have an SD card of class 4 or higher or you may experience operation lags.

3. Do not eject your SD and start your phone or you may lose all saved application settings the next time you boot with the SD card.

4. This has been tested only on a Nexus One and whilst it should work great, you should do this at your own risk. I will try to help you solve issue if you have any.
[Nexus One Android Development] marcelol:
On stock (rooted) FRG83D...

I'm using the Stock FRG83D from another post of Geo411m ( http://bit.ly/96x4Vp )

So there's no way to use this script to move apps to run from SD ? Or could this script not be adapted to work with a rooted stock FRG83D build ?

Just looking for some clarification here.
[Nexus One Android Development] jayfallen:
I think the problem with CM6.1 stable, is that there is also a 01xxxx script in /init.d which is conflicting with 01data2ext of update.zip, stopping the script from working...

And the way you mod Darktremor's A2SD, is similar to what I did with my daily use-MIUI, moving /data/data to EXT via commands...

It seems another new CM6.1 mod with Data2Ext coming out @ bbs.anshouji.com

http://bbs.anshouji.com/thread-3501-1-1.html, it claims that those bugs are fixed.
[Nexus One Android Development] Hendra_sutanto:
which program can partice to 2 ext

I mean 2 ext 4
[Nexus One Android Development] Hendra_sutanto:
so what is the magic word

i have already apply dT zip but still no change to data2ext
[Nexus One Android Development] jayfallen:
you can use GParted in Linux or VM software，or Acronis*Disk Director Suite in windows.

ownhere explains his theory:

[DATA2EXT] [11/Dec] FULL BENCHMARK, V4, Improve the efficiency of IO

yes，no change if you applied the zip on CM6.1
[Nexus One Android Development] craigacgomez:
Yes, I'm aware of that and already took this into consideration... I removed 05mountsd (which mounts the SD-EXT for userinit scripts) from CM and rename the data2ext file to 05data2ext, but no luck!! :(
[Nexus One Android Development] baseballfanz:
Just flash the file or what else need to be done?

Partition the SD card, ect?
[Nexus One Android Development] jayfallen:
Some new info added in the 1st post, script mod for CM6.1 stable uploaded.
[Nexus One Android Development] jayfallen:
you need to partition SD card before flashing the zip.

Now you can try the CM6.1 Mod I just uploaded in 1st post. It worked and so far no bug...
[Nexus One Android Development] Namuna:
Can you please specify how to do the install? there looks to be 2 files; txt and zip.

The txt looks like it's actually a bash script, so I imagine I need to rename it to .sh instead once downloaded?

So then I run the script from perhaps adb shell and it should create the partition, then reboot recovery and install the zip?

Sorry if I'm asking something that should be known, I just want to make sure I get this right.

Thanks!
[Nexus One Android Development] jameztcc:
Will this work with DT a2sd since apps already already moved into sd-ext
[Nexus One Android Development] jayfallen:
flashing Data2ext_update_1EXTpartition_scriptModByCarrol.zip over clean installation of CM6.1 stable is no change again...something is missing from the zip.

package removed...

But Carrol's ROM is working, I don't know how...

PS: the script will format the SDcard EXT into EXT4, so it will destroy the data on your EXT partition.
[Nexus One Android Development] loverhime:
Excuse me, I can't find Data2ext_update_1EXTpartition_scriptModByCarrol.zip on 1st post.

Is it the same as Data2ext_update.zip? Or just update.zip of v4 script?

Myabe i type chinese is better, i think you know it! 對嗎?