yashsingh1/xdaforums huggingface dataset:
[Desire Android Development] Droidzone:
Does it normally proceed in Oxygen w/o data2sd?
[Desire Android Development] hakatu:
Yes.

I have more findings. After a few reboots, Quadrant stops for a few seconds on this step and then goes further. No more hangs.

I scored ~1400 pts with class 6 uSD with ondemand governor and default thalamus kernel. When using smartass covernor and ManU kernel, the score was around 1900 pts, but Oxygen doesn't like this kernel for some reason. That combo: Oxygen 2.1.6 + this data2sd script + ManU kernel drained my battery in 4 hours.
[Desire Android Development] alanamy0807:
I want to report a serious problem

My tf is adata 32g class10

---------------app2sd issue------------------------------------------------

Hd2 Reads data very very slow when I install apks.

The installed apks icon is empty when I boot it again.

---------------data2sd issue------------------------------------------------

After I flashing roms and A2SDKillerV11_GB .

I boot it and flash Data2SDInstallerv1.3_GB.

Hd2 Reads data very very slow when I install apks.

The installed apks icon is empty when I boot it again.

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

I'm sure my installation procedure is correct.

Maybe the original hd2 or miui donot supported the settings of app2sd or d2sd when using tf 32g class10.

Do you have time to fix the issue.

Forgive my poor English. thanks a lot.
[Desire Android Development] sibere:
ADATA C10 cards have been reported many times to cause issues on the HTC desire.

please use the search tool and you'll get answers.
[Desire Android Development] alanamy0807:
Thank a lot.I will search.

Could u tell me the keyword for this issue.Because I know nothing about that.

Thank u very much
[Desire Android Development] olly230:
could I trouble someone in the uk to go 4od and try watching content in browser please?

(I'm on my 4th rom in as many days)
[Desire Android Development] Silverexp:
Sibere, you mention if using data2sd on AOSP rom, journal must be enabled. Would this tool from this thread work?

http://xdaforums.com/showpost.php?p=13638627&postcount=1

I’ve been keeping up with Droidzone’s and your recent conversation on sdcards. Paragon’s partition manager does align the partition during the process for both fat32 & ext4. My Lexar 32gb CL10 is working fine, but not as fast as my ADATA 16gb CL10 in my Nexus One. Thanks for all info...
[Desire Android Development] sibere:
Looking at the script, the things are done a bit strangely.

For instance, looking at the tune2fs manual, to enable journal, you need to type

tune2fs -O has_journal /dev/blablabla and not tune2fs -O +has_journal.

If you already have formatted your ext4 partition and have data on it, just add the journal to your partition. It has to be done only 1 unless you restore data using a recovery who's formatting before restoring (like 4extrecovery)

boot into recovery, plug your phone, start an adb shell and enable the journal using tune2fs command

something like tune2fs -O has_journal /dev/block/mmcblk0p2 should do the job :)

Just DON'T use the script as it is because it's design for another phone and would not work on the Desire.
[Desire Android Development] Droidzone:
And if flashable zip is your way, you can add the exact command sibere mentioned, and put in a bash script, and run it from the updater-script
[Desire Android Development] Silverexp:
Appreciate the information Sibere. I need to bring down my readahead to 128kb and then try your 64kb, as you suggested. Droidzone, not sure if I’m ready to start making bash scripts & flashable zip files just yet… :o
[Desire Android Development] sibere:
Ho well you can leave 128K it's a good value anyway :)
[Desire Android Development] Silverexp:
Are the files in the e2fsprogs-arm.zip required in the rom? I noticed the update-zip files from Droidzone X15, X5E, W8E, and SNXD3 they are not in there. By the way, SNXD3 didn’t work on the Nexus One.

Oh, I had to up the readahead to 2048kb. There was noticeable difference.
[Desire Android Development] Droidzone:
That's because my Roms already everything necessary for Data2sd integrated in them. If you have another Rom, you should use the version of the installer zips which have been posted in this thread.
[Desire Android Development] sibere:
How did you notice the difference? Don't tell my that you got a better score with one of those bench apps that gives you the sequential r/w speed of your SD when the phone is doing most of the time random accesses to the card :)
[Desire Android Development] ravish_919:
Droidzone & Sibere good work...

i guess this is supported for every rom...i already have a2sd (dalvik to sd-ext script) in system/etc/init.d so i've deleted it & used your 01data file in init.d

i'm kinda stuck on htc logo... how much time will it take to boot normally... i have ext4 1gb, ext4 around 360mb & 128mb swap...
[Desire Android Development] cralias:
Possibly the best thing to happen to Desire. I just installed the flashable zip on CM and looks like it's working without any trouble.
[Desire Android Development] sibere:
You can't only just add 01data to init.d to get things working. It requires a bit more and I recommend following all steps to get it working.

DATA2SD can virtually work with any ROM but may require some adjustments which have to be done manually if it's not a supported ROM by one of Droidzone script.
[Desire Android Development] Silverexp:
No, just the “feel” moving between screens & response of the phone.

Is the libsqlite.so files in your first post safe to work on a Nexus One?
[Desire Android Development] sibere:
No. It's a froyo htc sense patched lib.
[Desire Android Development] Silverexp:
I have noticed now enabling Journaling, the roms I’m using (GRJ90 2.3.5 AOSP) are smoother and faster, but is there a way to verify Journaling is enabled? My none-scientific method is how fast TB loads or refreshes the app list.

My method is to flash:

Rom

Kernel

UOT Package

Reboot in recovery - flash

Data2sd_X14_GB

Reboot in recovery

ADB Shell command Journal tune2fs commands

Reboot

Load Titanium Backup, depending on speed of TB, reload Journal if needed

Test TB again.
[Desire Android Development] Droidzone:
tune2fs -l /dev/block/mmcblk0p2

gives you info abt journal...We've added that in the code to display info, on a per-boot basis, along with e2fsck-the latter would check for damage
[Desire Android Development] Silverexp:
Thanks... does GetlogsInteractive provide that too?
[Desire Android Development] Droidzone:
Yup, its part of the generated tar package. But note that Getlogs does not do an on-demand tune2fs/e2fsck, it takes the log generated in last boot
[Desire Android Development] Frankie-boy:
Is this data2sd still supported? It's very quiet in this thread.

I want to try it with the flux 1.5 ROM :)

EDIT: Never mind, found a Q&A
[Desire Android Development] sibere:
Great :)

Op is still valid and you can find here Droizone's flashable zips.

What would you like more ? ;)

Sent from my HTC Desire with DATA2SD :)
[Desire Android Development] Silverexp:
@Droidzone, would it be possible for you to make a flash zip to enable journal? I found myself today having to change roms, but didn’t have access to a PC to ADB shell the command in recovery to the phone.
[Desire Android Development] Frankie-boy:
I wanted to install it on Flux, but then I found SuperNova, so I'm going to try that first. Way easier for me :)

Thnx
[Desire Android Development] Droidzone:
@Sibere

Remember me telling you that after flashing any kernel, my Desire freezes? Only a battery pull would get it out of the freeze..It was not only kernels, but anything flashed would cause it. From temporal association, I felt that it could be related to my new card. Today I decided to check further into the cause. A logcat wouldnt tell me anything. I tried listing my /data, and to my surprise it could not be listed. It seemed mounted however. Finally, I ran an e2fsck in recovery and found multiple issues, which on correction fixed the initial issue too..

Apparently the e2fsck I was running at boot didnt help at all. So I'm thinking of adding a few scripts to address this issue..

First since the /system/bin/shutdown script seems the last to be executed, I'd replace it with my own script to write a toggle value to a file to detect if the file system was cleanly umounted last time. If it was not, I'll schedule an "e2fsck -pcc" at boot before the Data2sd script is executed, to correct all errors if the toggle of safe shutdown is off. Finally my script would run the actual shutdown script.
[Desire Android Development] sibere:
Good idea.

It'll had more safety to the system.

Fortunately I never had such an issue on my phone.
[Desire Android Development] Droidzone:
Added it along with the lagfix and a couple of other things.. Will forward you a PM with the libsqlite.so patch for Supernova. I havent tested it yet.
[Desire Android Development] sibere:
Hang on a minute... there is a patch for libsqlite.so like we had one for Froyo ?!
[Desire Android Development] Droidzone:
Shared by Coolexe..thanks to him.. I havent checked it out since I was getting all sorts of issues with my card.. If it works, it's awesome, isnt it? :D
[Desire Android Development] sibere:
I'm on it. If it's working it is just AWESOME !!

EDIT:

Tested... and as slow as before when passing the quadrant "database write" test. It was almost instantaneous with the froyo patched libsqlite.so :(

*disappointed*
[Desire Android Development] sm_rasmy:
so do i have to do all that again with every rom i try to flash right ?
[Desire Android Development] APC73:
Is v11 the latest flashable zip?
[Desire Android Development] dan281082:
help

hi guys fiinally figured out the commands but right at the end i get this error.

i have 8gb card with a 1gb ext 4 please help!!

cd /data

/data # cp -a * /sd

cp -a * /sd

cp: write error: No space left on device

cp: write error: No space left on device

cp: write error: No space left on device

cp: can't create directory '/sd/data/com.google.android.youtube/cache': No space

left on device

cp: can't create directory '/sd/data/com.google.android.youtube/files': No space

left on device

cp: can't create directory '/sd/data/com.google.android.youtube/shared_prefs': N

o space left on device
[Desire Android Development] Droidzone:
Obviously there's no point in listing out all the error msgs when they're essentially the same! What you've missed is your mount and other important things! Redo it and post all the commands, not a partial..and I'll (no promises) take a look when I wake up... Yawn
[Desire Android Development] dan281082:
sorry mate wernt sure what people needed to no. got it running now anyway, whats this boost on the bottom of first thread?
[Desire Android Development] dan281082:
sorry sibere i dnt follow you there? what u mean?
[Desire Android Development] sibere:
You're looking for the way to run a script and do all the things at first boot don't you?

Droidzone has many zip files on his site and on his threads here @xdadev. In those zip files, you'll find how he managed to do what you're trying to do. Just unzip the files and take a look at the scripts inside those archives.

There is a bunch of zip files available here for download.
[Desire Android Development] dan281082:
so i can unzip place files into dsxida kitchen and make a data2sd rom that i wont need to install a zip or insert code in adb to use.?
[Desire Android Development] Droidzone:
No you cant. Please learn more about edify code, and bash scripts before you proceed.. The code is in the zips, you'll understand about integrating them in Roms when you understand these basic tidbits..
[Desire Android Development] dan281082:
ok, so is there a gospel for learning these things?? or is it just a case of hunting for it?
[Desire Android Development] dan281082:
hi guys i just partitioned my new sd card installed my rom and ran sibres data2sd script off his post in recovery.

but when it restarts there no extra memory? there is on the old sd crad tho same rom.
[Desire Android Development] Droidzone:
@Sibere, I can personally confirm the issues with class 10 cards and ext4. Transcend class 6 = awesome performance.

Transcend class 10= terrible lags.

Wonder if there is a faster file system. It accesses fat 32 quite fast. How about btrfs? Worth trying?

TouchPal-d from my Desire running Supernova Extreme Rom - 450 apps and counting. .
[Desire Android Development] Droidzone:
Hmm.. apparently btrfs is slow when compared to ext4 or ext3..Reiserfs?? I know you've done lot of tests with all these..

This article http://goo.gl/Jv2Yn seems to suggest that ext3 is a very good option.. Thinking about going back to ext3 for the moment and checking speeds

TouchPal-d from my Desire running Supernova Extreme Rom - 450 apps and counting. .
[Desire Android Development] ms|ayrton:
how many gigabytes is your transcend card? 16gb?

I own a 16GB Silicon Power Class 6 card which is a real dissapointment as its way, way slow.. I wanna sell it and buy a faster one.

Would it be a problem if I buy a transcend class 6 32GB card?

thank you!
[Desire Android Development] Droidzone:
Who can tell? Take a risk..

TouchPal-d from my Desire running Supernova Extreme Rom - 450 apps and counting. .
[Desire Android Development] Droidzone:
I'm back on my time tested 3cpro class 4.. Absolutely zero lag. Hope errors don't crop up

TouchPal-d from my Desire running Supernova Extreme Rom - 450 apps and counting. .
[Desire Android Development] sibere:
well I was lucky buying the transcend C6 card right from the start then.

dunno about btrfs. I don't even know if we have ARM tools for this fs like e2fsck.

Sent from my A70S using the XDA mobile application powered by Tapatalk
[Desire Android Development] Droidzone:
Yup. Transcend class 6 seems to have best performance. for some weird reason, my class 4 3cpro has started working again. So thankfully I have 1 16 GB working card. Returned the SanDisk class 6 to Ebay. That was bad too. Unfortunately, 16 or 32 GB transcend is no longer available in India.

Had enough of memory cards at the moment. :)

TouchPal-d from my Desire running Supernova Extreme Rom - 450 apps and counting. .
[Desire Android Development] DJ_Jedi:
Guys, i want to put data2sd on my MIUI but i cant find the packages to flash it directly from recovery. Can someone help me finding a2sd killer and the right zip for data2sd? Thanks
[Desire Android Development] tajimura:
Hallo.

Wanna try this on Cool Runny v2, but too lazy to do manually :-) will v11 flashable zip be enough?

Wrote the post on ma lovely Desire using XDA App.
[Desire Android Development] sibere:
Maybe we are too lazy to figure it out for you. ;)

Sent from my HTC Desire with DATA2SD
[Desire Android Development] tajimura:
I would've try it myself, but 20 MB on mobile network costs too much here in Uzbekistan, so I dinna want to download it until I'll be sure that it's the thing, bro.

Sent from the slim plastic case containing radio module, CPU&GPU, camera, etc...
[Desire Android Development] sibere:
If you want to save bandwith, manual is the way to go. You can just download the 01data script.

I haven't tried on anything else than stock sense, but is has been reported working on lots of roms.

Do a backup before doing anything.

Sent from my HTC Desire with DATA2SD
[Desire Android Development] tajimura:
Thanks.

What I was asking about v11 zip is if it contains installer/reinstaller and a2sd killer, or only installer..?

Sent from the slim plastic case containing radio module, CPU&GPU, camera, etc...
[Desire Android Development] sibere:
I dunno in details. It's Droidzone's job, he can tell you what in deeper details :)
[Desire Android Development] tajimura:
Okay bro :-)

Sent from the slim plastic case containing radio module, CPU&GPU, camera, etc...
[Desire Android Development] Droidzone:
Why not download it, open it and see? I don't remember..

TouchPal-d from my Desire running Supernova Extreme Rom - 450 apps and counting. .
[Desire Android Development] Droidzone:
It's still a Dev thread, see the label? It's designed for the Dev/senior member who understands the op properly, ergo he should have the ability to modify the scripts to suit his purpose

TouchPal-d from my Desire running Supernova Extreme Rom - 450 apps and counting. .
[Desire Android Development] tajimura:
Expensive bandwidth is so expensive...

Anyways, thanks for reply.

Sent from the slim plastic case containing radio module, CPU&GPU, camera, etc...
[Desire Android Development] paul1508:
Can I use the Data2SDv11 insatallable zip with newest MIUI and ext4 partition? Do I have tu run the A2SD killer?
[Desire Android Development] tajimura:
From what I could say, flashable zip is not working for Cool BravoS v8. Tried different tricks, even modified update-script..

Sent from the slim plastic case containing radio module, CPU&GPU, camera, etc...
[Desire Android Development] sibere:
well... it was designed for a close to stock rom and cool bravoS is far from that.

You'll have to go manual to get data2sd on this ROM

Sent from my A70S using the XDA mobile application powered by Tapatalk
[Desire Android Development] Droidzone:
Yup..these bigger roms have all sorts of data swapping.. you'll need the help of the Rom dev,as we don't use these roms.

TouchPal-d from my Desire running Supernova Extreme Rom - 450 apps and counting. .
[Desire Android Development] tajimura:
Thanks for info, bros.

Currently fighting on it ))

Sent from the slim plastic case containing radio module, CPU&GPU, camera, etc...
[Desire Android Development] tajimura:
Okay, seems it's time for som noobie questions ))

1. I already have fstab. What if I only modify mounting point of mmcblk0p2 instead of replacing whole file?

2. Some of the libs and bins are already present, should I replace them?

3. Is ur busybox somehow modified, or I may just keep latest 1.19?

Sent from the slim plastic case containing radio module, CPU&GPU, camera, etc...
[Desire Android Development] paul1508:
Is this the same for MIUI?
[Desire Android Development] danarama:
No Miui is a small ROM. It is CM7 based so doesn't need to ship anything to SD-EXT from /system
[Desire Android Development] paul1508:
Means a OK for the installable Zip v11?
[Desire Android Development] Droidzone:
Post your updater-script

TouchPal-d from my Desire running Supernova Extreme Rom - 450 apps and counting. .
[Desire Android Development] paul1508:
Pardon, thats to much for my understanding?
[Desire Android Development] danarama:
In the rom zip file go to META-INF/com/google/android/ and extract the "updater-script".

Post the contents here either as an attachment, or in the "code" tags
[Desire Android Development] paul1508:
Thank you for your assistance!
[Desire Android Development] Droidzone:
Try the GB version a2sd killer and Data2sd installer. At boot, you should run an adb logcat and post that if errors occur..

TouchPal-d from my Desire running Supernova Extreme Rom - 450 apps and counting. .
[Desire Android Development] sibere:
1/ could do the job

2/ if they are recent enough, you can keep the ones you have

3/ no. You may get everything working with your busybox.
[Desire Android Development] paul1508:
Are you expecting errors? Do I need to log the boot? Im really new to this and making me getting touch with adb logcat would take some time I guess ^^
[Desire Android Development] danarama:
Read the adb faq in my signature. Learn this stuff before trying data2sd.
[Desire Android Development] paul1508:
Other question: You prefer Gparted for partitioning the SD card?

I tired a 1GB ext4 and rest of my 8GB Class6 fat32. Windows couldn't mount the fat32 partition but see 2 partitions (one with 1GB one with rest). So i tired to format the fat32 but it formated the 1GB and so on.

So is there any disadvantage if i just partitionate with my CWM 5.0.2.0?

PS: The faq link in your signature isn't working atm.
[Desire Android Development] Droidzone:
Never tried with cwm.. However 4ext works fine with partitioning. Apparently you put ext4 first. Fat 32 should be serially the first position

There's a newbie friendly adb guide here

Blog.droidzone.in

TouchPal-d from my Desire running Supernova Extreme Rom - 450 apps and counting. .
[Desire Android Development] tajimura:
Thank you, Sir ))

Sent from the slim plastic case containing radio module, CPU&GPU, camera, etc...
[Desire Android Development] Droidzone:
Plan for the best, prepare for the worst... lol
[Desire Android Development] danarama:
Android forums is experiencing issues today. Working at the moment.

You cant expect to partion SD in recovery if it is already partitioned. You'll just create an even bigger mess than it is in now, I will only ever suggest gparted. With recovery its blind partition (often using that sdparted). With Gparted you see everything graphically that is going on.

There is also a guide to use gparted in a virtual machine in my signature. Very useful stuff.

@ Droidzone, whats not newb friendly about my faq? ;)
[Desire Android Development] Droidzone:
Oops.. I was just saying mine was too. :)

TouchPal-d from my Desire running Supernova Extreme Rom - 450 apps and counting. .
[Desire Android Development] danarama:
Ah ok! :)
[Desire Android Development] paul1508:
Wohow! See Picture!

I'll do the same when I finally get my 32GB Class10 ;)

Bigbig + for Droidzone for his files and his help and rootSU for his help! Really thank you!

Big+ for official MIUI whith it's Data2SD compatibility ;)
[Desire Android Development] Droidzone:
Big + to Sibere, the architect :)

TouchPal-d from my Desire running Supernova Extreme Rom - 450 apps and counting. .
[Desire Android Development] Droidzone:
How's this for an idea?

We abandoned the moving back DK-to-Nand because it used to consume too much space on mtd5...

Thinking why dont we move the less frequently used system apps on mtd3 to our ext, save the space and use it for dk.. Would it be possible to virtually combine mtd3 and mtd5 into one 'device' so that the space can be pooled and used for dk? I'm thinking LVM-will it work for Android?
[Desire Android Development] sibere:
Atm I use mtd5 for system dexes (apps and framework), but why not. MTD would have to be merged tho in a way the system could accept it.

Sent from my HTC Desire with DATA2SD
[Desire Android Development] paul1508:
What should I do with OTA Updates which come weekly (with MIUI for instance)?
[Desire Android Development] Droidzone:
No idea what's in those OTAs..

ls -l -R ./OTA_folder
[Desire Android Development] paul1508:
I mean, do I have to reinstall the Data2SD after updating OTA?
[Desire Android Development] Droidzone:
As I replied above, I have no idea what exactly is in that OTA file and what it transfers to your system. That is why I asked you to post the contents of the file with all its subdirectories and their contents..
[Desire Android Development] paul1508:
It's the same like the full rom. A .zip file. When I attemb to install it over the updater the phone is booting into cwm recovery and installing the update, or better would install. Now it says: SD Card marker not found...
[Desire Android Development] sibere:
Last days with my Desire ...

Hi guys.

Well, after so much time and so much fun with my Desire, It's time to say good bye.

I just ordered today a Samsung Galaxy Note.

My Desire won't be that far though, It's going into my girlfriend's hands to replace her weak Wildfire. I'll keep a benevolent eye on it ;)

I'm sure that she will enjoy using it with the huge storage and the fast and stable Supernova ROM cooked with love by Droidzone.

As a consequence, I won't update or provide support here anymore.

I'm now leaving this world behind for a new bigger (5.3" 1280x800) horizon and hope that you will still enjoy your DATA2SD rom!
[Desire Android Development] swemoza:
Finally you are joining melethron and ownhere leaving this desire forum. :(

Thank you for your hardwork on this data2sd..
[Desire Android Development] mayurh:
congrats on the new fone

sad to see you go.hoping another developer can take off where u left off for the desire

thanks for the great work
[Desire Android Development] Droidzone:
It's already a finished work. There's noone like Sibere, to replace him. :)