yashsingh1/xdaforums huggingface dataset:
[Desire Android Development] Droidzone:
Sibere's latest Data2SD on StarBurst ROM

It practically flies! This is a collage which I made for StarBurst..Kernel used is snq StarBurst kernel.

And this is on a Class 4 card. I wonder what it delivers on a Class 10 card!
[Desire Android Development] DaNiEl FrEnCh:
Does this work on gingerbread, I'm running cyanogen mod 7, does that have unit.d support?
[Desire Android Development] Droidzone:
It certainly does. Use the aosp version/or still better, the StarBurst files
[Desire Android Development] sibere:
It would probably work on eclair and even donut :)
[Desire Android Development] DaNiEl FrEnCh:
cheers :) what kernel should i use? i have a battery saving one atm, done by richard i think, ManU-1.3.GB-HAVS-AXI-128-CFS

EDIT: i installed anyway and the install all seemed to go well, however when I've rebooted there was no change in internal memory, still at 405mb, why is that? do you think it was something to do with the kernal? or busybox? so confused :S
[Desire Android Development] blowy666:
Thanks for your reply.

Well, I´m pretty sure I´ve flashed the "Data2SDInstallerV5_aosp.zip" file.

I´m using the REDUX 1.0.2 ROM at the moment...
[Desire Android Development] zongamin:
Hi - Can anyone provide a link to a change log?

I'm on 0.7tiny, I'm just trying to find out what is new in the later versions?

Sorry if I have missed it. I'be searched the thread and can't it.
[Desire Android Development] sibere:
ho well AOSP roms a quite different from Sense ones. I can't be of a great help there. Droidzone tried many AOSP roms and his zip worked on some of them but not all.

you have to check if the init.d hack is in the init.rc of you rom. Them maybe you can do the DATA2SD hack manually on your phone with the help of the OP of this thread.
[Desire Android Development] teorouge:
Is it ok to nandroid (and restore, of course) a DATA2SD enabled ROM? I mean, does it keep all the DATA2SD redirections I applied after first ROM flash (app2sd killer and data2sd_installer?) and all the scattered files in ext4 partition? May I see any issues restoring the backup? Thanks for your help.

Moreover, I read about some updated DATA2SD beta in another thread: is it real? Is there any flashable zips to try that out? :)
[Desire Android Development] Droidzone:
Regarding the first qn,yes Nandroid should work fine.

Regarding the second, yes, on the StarBurst thread. I found that flashing each Rom and seeing if the flashable zips work on them was very time consuming. So I didnt release them. You can use the zips from starburst site, modify the version of installable zip on this thread with the 01data and data2sdscript.sh from starburst to get it to work on Aurax.
[Desire Android Development] teorouge:
Nice, I'll try that for sure. I was going to nandroid and try RCMix S 0.2 (I'm so eager! :D ), but I think I won't nandroid and after RCMix trial I'll be going back to AuraX and I'll try the updated DATA2SD version. Thank you guys ! ;)
[Desire Android Development] teorouge:
Which DATA2SD can you suggest? Is the W version similar to v5 in this thread (though I never had any issue with 250 apps)? Or should I try X with so many apps?
[Desire Android Development] Droidzone:
For best performance: W7

For a combo of performance and features: X1

Older stabler version: 1.3tiny (Similiar to the OP description, but includes some bugfixes)

I recommend X1, our most advanced version.

Note that all versions of Data2SD hosted on StarBurst are built for StarBurst, so you cannot directly use the zips there (Many files will be missing). You will have to use the 01data and data2sd.sh from those zips and add them to the zips I've uploaded for this thread (http://xdaforums.com/showpost.php?p=10692249&postcount=1299) and use the procedure and files from this link.
[Desire Android Development] teorouge:
I prepared the zips (both install and re-install) for all 3 DATA2SD flavours, do you want me to upload them somewhere if anyody needs?

Now I'm flashing RCMix and gonna try new DATA2SD later. By the way, do you think there's any chance DATA2SD will work on the brand-new-alpha-release-quite-beta-nearly-ported RCMix v2?
[Desire Android Development] Droidzone:
Not unless you can confirm that it works with all the Roms you've tested it on. I typically carry out a series of tests to confirm a working flashable zip.

First boot

Second boot

Installation of market apps

Kernel flashing after Data2SD install

e2fsck and tune2fs logs

If it passes successful boots and the logs are clean, I upload a file for each Rom. If you can confirm that it works successfully on RCmix, do post links where we can test it out.
[Desire Android Development] Droidzone:
Data2SD flashable zips updated

http://xdaforums.com/showpost.php?p=10692249&postcount=1299
[Desire Android Development] sibere:
Many thanks for all those updates and all the work you've put in developing and updating those scripts.

I hope that everybody will appreciate your great work! (and data2sd too :) )
[Desire Android Development] Nitin985:
Hopefully this time it will work for me
[Desire Android Development] getan:
This is probably a noob question but is it possible to do this to a stock ROM? If not, why? If yes, how? Hehe! Or maybe could someone direct me to the proper thread? I can't seem to find it. -_-
[Desire Android Development] Droidzone:
Read the first few paragraphs
[Desire Android Development] teorouge:
Thanks, are these the same as Starburst site's? I'm trying X1 version (on the good old AuraX 8.4) and I'm having no problems at all, maybe phone's even a little snappier than the v5 here. Do you need some bench/trial? I already restored 250 apps using TB with no issues and had some Market update, if that matters.
[Desire Android Development] krobra:
Hey guys,

I have currently using Cyanogen 7 nightly build 15 for my Desire, and am S-OFF'd.

I successfully installed Data2SD and everything is working as it should be apart from having a fair bit of laggyness while using the phone. Happens in pretty much any application and when I run a quadrant benchmark (flame suit on) all tests are extremely fast apart from the IO test which seems to take forever on 'DATABASE WRITE" and file system write.

I am using a Class 10 16GB MicroSD card and have confirmed the write/read speeds with a seperate card reader.

I am currently looking for any info that may be able to help me figure out why I have so much lag. If anyone has any ideas I would appreciate hearing from you :)
[Desire Android Development] raster77:
Hi,

it looks specific to 2.3 roms... i tried with redux, gingervilain, oxygen, amethyst... and same results.

Trying logcat, i have to check all log (a few lines :-) ).

Looks like a problem with the sdcard driver (don't know how to call that...)

Mediascanner takes ages to scan all medias, when it's done, it's quite faster.

No more at the moment, trying to have a deeper look inside later, and really don't know where to begin...
[Desire Android Development] Droidzone:
The one I've included by default corresponds to Sibere's OP. But you can use the versions from StarBurst site on top of these if you just substitute the data2sd installer posted here with that from StarBurst site. The A2SD killer has been revamped to make that happen.

CM7 nightlies always seemed lag free for me.
[Desire Android Development] teorouge:
Thanks, so I'm going to take your updated A2SD killer and use that, in future. Final question (I beg your pardon for being such a pain in the ass): should I just trash the zips I updated manually merging the old v5 located here with Starburst's and use stock StarBurst site's zips (W7, tiny 1.3, X1 and whatever future versions) in future?

And I do wonder how Sibere's differs from yours (tiny, W or X version). :confused:
[Desire Android Development] Droidzone:
Oh no..It's all Sibere's code. I've just tweaked the flashable zips here and there with a few little code annotations and minor modifications as suggested by our combined tests and kernel flashes. Even the settingfix version (X1) and beta (W) is his code. The differences between the code is described on the StarBurst site http://starburstrom.wordpress.com/starburst-rom-home/resources/download-links/

Sibere has released all his beta code on StarBurst initially and is as much a part of the StarBurst ROM development as me.

The tiny code is what is described on the OP here and is the stablest code. There is nothing unstable about the other versions, it's just that they are more advanced.

In tiny version, Sibere has shifted the whole of the old /data to ext4 partition, which is mounted as /data at boottime (busybox runparts). Advantage of this version is that the amount of internal storage and number of apps that you can install is virtually limitless. Disadvantage is that System settings (Wifi, language etc) tends to be forgotten/reset at each boot.

In beta version (W), he has experimented with moving the actual Nand settings data to Nand along with dalvik-cache (after creating the /data mount) so that there is a huge performance boost. We found that there was a disadvantage of running this code on non-deodexed systems. We noticed that dalvik-cache tended to increase and fill the Nand space so that there is a limit imposed on the absolute number of apps that can be installed.

The Settingfix version tends to overcome the app install limit of beta version, while overcoming the "settings forgotten" bug of the stable version. In this, Sibere has left dalvik-cache of apps on sdcard along with the rest of /data, while shifting the settings portion back to Nand. So this is in effect the most advanced version. There is a performance drop however compared to beta version.

hope that helps. Sibere might be able to give more details if you need, but he's very busy atm.

You should be able to use all StarBurst files directly in combination with the A2sd killers posted here, since I've designed the zips to be future proof and compatible with StarBurst files.
[Desire Android Development] Nitin985:
So basically I can use starbust files on this, v5 didn't work on baadnwz hd wondering if these will
[Desire Android Development] Droidzone:
That situation is unlikely to change. These HD Roms rely on A2sd to symlink the extra files. As you'd know Desire HD/Z etc have >250Mb in /system (usually over 300Mb) which wont fit on standard Desire Nand. So once you kill A2SD, the whole Rom breaks. You'd have to customize Data2SD to suit your purpose, which is beyond the scope of this thread.
[Desire Android Development] Nitin985:
Oh :( data2ext for me then, will try you starbust rom, looks nice :)
[Desire Android Development] raster77:
Tried CM7 with data2sd and d2w... same result, media scanning is very slow (gallery and music take ages to display music and pictures...).

I really need a hand on this !
[Desire Android Development] thejust:
installed on cm7 nightly

So i went through the manual process everything works great accept ive noticed some lag here and there like when i reply too an sms with handcent or something, ran quadrant and seems to lag a lot on database write. is there a reason for this?

ive got a 16gb class 6 sd
[Desire Android Development] sibere:
did u change libsqlite.so for the patched one ?

Sent from my A70S using the XDA mobile application powered by Tapatalk
[Desire Android Development] thejust:
Damn missed that ill try when i get a chance and let you know.

have you gotten good speeds on AOSP roms?
[Desire Android Development] sibere:
What are the results now ?

Sent from my HTC Desire with DATA2SD :)
[Desire Android Development] thejust:
tried again but now i cant seem to be able to boot up it just stays at htc boot screen

i ran logcat during bootup looks like something to do with mounting the partition, so i just reverted back, ill trying again later tonight when i get a chance, it was late.

you recommend using busybox 1.18 or the version your providing?
[Desire Android Development] sibere:
I recommend the 1.17.2 but 1.18 *should* be fine.

be careful to use the appropriate lib. Some are for aosp and others for sense.
[Desire Android Development] thejust:
out of the one's you provided? because i just followed your tut and pushed all to the phone. If so can you provide which one's i shouldn't be pushing out of your bunch?
[Desire Android Development] sibere:
The one I patched is for sense roms only.

See the entire thread to find the AOSP version if any.
[Desire Android Development] teorouge:
Hello, is this SD card mod safe for DATA2SD/EXT users? Did anyone check the results? This should boost DATA2SD/EXT speed big time, reading at all the posts... am I wrong?
[Desire Android Development] Droidzone:
Actually the gb aosp roms already have all the necessary files. Only the script should be needed.

Swyped with my Starburst based Desire. Forgive any typos!
[Desire Android Development] [deXter]:
The instructions provided by sibere and the flashable zips by droidzone already has the readahead patch. You don't have to do anything.
[Desire Android Development] teorouge:
Thanks for the tip. If I'm right, I read in the OP it's set to 64kb by default: anyone tried increasing that and see the results in actual phone usage?
[Desire Android Development] sibere:
This tweak of the read_ahead_kb setting is obviously compatible with data2sd. But like quadrant, don't pay too much attention to the benchmarks scores. Do you really think that one can get more than 100Mb/s read speed out of a mSD card?! Seriously?!

Setting it to a too high value will actually slow down your phone mainly because in real life, you phone is not accessing a contiguous file of 150mb but many small files of a few kb.

So basically, every time your phone wil try to read a file of a few kb, it will read 2 3 or 4 Mb of data, slowing everything down dramatically!

If you have a big amount of photos on you sd card, try this:

boot you phone, with a normal 64 or 128kb setting and open gallery.

then reboot the phone, set the read_ahead_kb to 4096 and open gallery agin.

See the difference?
[Desire Android Development] teorouge:
I get your point Sibere, was just amazed at reading so many users improving real life phone usage with 2/3 MB cache and I was wondering if anyone actually tried that here... might as well try as soon as I have time to play, thanks for your usual help. ;)
[Desire Android Development] sibere:
they're improving benches not real life usage ;)
[Desire Android Development] iinga:
benches with an app that has now been fixed and doesn't report those fake results ;)
[Desire Android Development] sibere:
I'm waiting for a bench tool which will do random read/writes, and then I may change my mind.

So far, I still think (and I can see it on my phone too) that a big read ahead will slow down random read.
[Desire Android Development] iinga:
I think you misunderstood what I meant. The app has now been fixed and no one is getting OMG60MB/S speeds anymore. They are back to real SD card read speeds (showing that the fix didn't speed up SD card), as the app benchmarks properly. The results now are similar to those that SD Card Speed Tester/Antutu Benchmark Tools will give.

That "fix" doesn't really do much apart from use more RAM for a read ahead. People say it speeds up gallery and it may well do, but overall it doesn't do anything else.
[Desire Android Development] sibere:
Ho ok got you now :)

Well I stick with 64 or 128Kb :D
[Desire Android Development] Kashban:
I have an update question here:

I am running LeeDroid with data to sd and want to update to the latest version of the rom. How do I proceed without losing any data?
[Desire Android Development] Droidzone:
Flash the rom, do not reboot, remove a2sd files from /system, copy the data 2sd files including 01 data then reboot

Alternately follow my procedure for using the flashable zips.

Swyped with my Starburst based Desire. Forgive any typos!
[Desire Android Development] dirtylarry10:
how to increase data2ext size?

I'm looking to increase the data2ext size from 150mb to 512mb....how would I do this?
[Desire Android Development] Droidzone:
You can increase the partition size in gparted

Swyped with my Starburst based Desire. Please ignore any typos or grammos.
[Desire Android Development] sibere:
Even tho this is data2sd and not data2ext, you have to reduce size of fat32 partiton and then resize ext4 all with gparted.

Sent from my HTC Desire with DATA2SD :)
[Desire Android Development] dieselboy:
That's a lot of spazio
[Desire Android Development] dirtylarry10:
Could someone explain a little better?...is gparted for windows? Do I put my SD card in to card reader and then what exactly do I change? And can I do this without losing any info off the card ...do I have to do anything with the cache? Thanks much ..
[Desire Android Development] [deXter]:
GParted is a Linux program but you can download a live cd such as Parted Magic, boot from it and run the program. Of course, the SD card should be in a card reader connected to your computer. Once you launch GParted, you'll have to select your card from the list of drives from the combo box on the top-right corner. Then you'll have to resize your fat32 partition so there's some empty space between the two partitions, then you can resize your ext partition such that the empty space becomes part of the partition. Just read the guide

http://partedmagic.com/doku.php?id=using_gparted

and/or watch the videos for more detailed info.
[Desire Android Development] bbilko:
I also have the problem with laggyness on CM7

Are you saying that the SQL file is correct and does not need to be replaced if I used your latest scripts?

Does anyone else have any suggestions?

CM7.0 RC2 was awesome with these scripts, it has only seemed bad since RC 4, however I also upgraded my SD card from 8Gb Class 6 to 32Gb class 10.

I was expecting that to offer an improvement however?!?!

too clarify one of the main symptoms is a message that keeps coming up saying

"Activity EXAMPLE (in application EXAMPLE APP) is not responding

[Force Close] [Wait]

Pressing wait puts me into the app as requested.
[Desire Android Development] [deXter]:
Did you align your partition properly, as per the instructions in the first post? Also, a benchmark of your new card would be helpful (bench it using a PC and a card reader)
[Desire Android Development] bbilko:
I'm not 100% sure I aligned the card, so I will backup and redo the partition with the option enabled.

I will also bench the card, but in the phone it came out at over 10mb/s

EDIT: Well that's weird, when I rebooted into recovery to go a titanium backup I found the SD card was missing BOTH partitions.

Everything is backed up so no losses, but I will start from scratch with the latest Gparted tonight and see if that solves the problem.

Most frustrating.
[Desire Android Development] Droidzone:
The sqlite patch will have to be manually applied. It's not included.

Swyped with my Starburst based Desire. Please ignore any typos or grammos.
[Desire Android Development] bbilko:
ok,I will have to look into that tonight.

I've not previously done that and have been getting superb performance from data2sd with your flashable zips.

I reformatted my card with Mib aligned partitions (needed a newer gparted version as it happened.) and touch wood today I have had no problems, lag or errors.

My only issue now is that my Asus Transformer arrived last night so I have not been giving my phone the attention it needs to know it is 100% working...
[Desire Android Development] Droidzone:
It's not an error prone procedure. :)

Swyped with my Starburst based Desire. Please ignore any typos or grammos.
[Desire Android Development] sibere:
Ho I know what you're talking about, I've played a lot with my last little toy (Archos A70IT), leaving the Desire a bit on the side. The good thing is that the desire's battery life is much better now ;)
[Desire Android Development] Droidzone:
Gonna test how data2sd fares with the new ginger sense rom. If everything goes well, you may expect dev credits on yet another rom! :)

Data2sd is the best thing that's ever happened for the desire. I'm wondering how I lived without it!

Swyped with my Starburst based Desire. Please ignore any typos or grammos.
[Desire Android Development] Terepin:
Quick question: Does script supports BTRFS?
[Desire Android Development] sibere:
I'm really looking forward to the official HTC GB release for our Desire!
[Desire Android Development] Droidzone:
Great..you can finally use StarBurst with Gingerbread and see how well your scripts work on the rom! :)

I'm waiting for snq to upload the new ginger sense kernel, and will start work in a couple of days..

But it is indeed based on the test leaked build.

Swyped with my Starburst based Desire. Please ignore any typos or grammos.
[Desire Android Development] sibere:
I'd better wait for the official release ;)

I'm not a flash maniak :D
[Desire Android Development] teorouge:
Hi guys, nice movement in Desire(s) forums these days. I plan trying RCMix 07 and LeeDroid 3.0.2, did any of you already tried applying DATA2EXT to these? We finally have ext4 (and a bunch of other modules) thanks to the mighty -snq in GB, what do you think?
[Desire Android Development] Droidzone:
I know.. :)

I'd give it 4 monthsfor the official release, if it really happens.

Swyped with my Starburst based Desire. Please ignore any typos or grammos.
[Desire Android Development] Droidzone:
If it's data2sd that you mean, try the manual scripts and give your feedback. I'm busy setting up my own data2sd based gb rom, to try anything else.

Swyped with my Starburst based Desire. Please ignore any typos or grammos.
[Desire Android Development] teorouge:
DATA2SD of course, sorry. :)

No luck on "modded" LeeDroid 3.0.2 until now, gonna try again with stock ROM.
[Desire Android Development] Droidzone:
Sibere, what would be the disadvantages of using ext3 instead of ext 4?

Swyped with my Starburst based Desire. Please ignore any typos or grammos.
[Desire Android Development] teorouge:
Hello, my report on LeeDroid 3.0.2.

Applied a2sd killer after ROM flash and ROM boots ok (very fast! :) ).

After usual initial setup, reboot to recovery, pushed latest busybox, installed X3E version but stuck on "Why so serious?" from 20 mins. Stupid me, I did't nandroid backup. :D
[Desire Android Development] sibere:
Performances mainly

Sent from my HTC Desire with DATA2SD :)
[Desire Android Development] Droidzone:
I already mentioned a couple of times that the unmodified flash able zip s will cause boot loops

Edit: realized that it was in my rom thread

Swyped with my Starburst based Desire. Please ignore any typos or grammos.
[Desire Android Development] teorouge:
Thanks for the EDIT, I though I was going blind! :)

Anyway in AuraXTSense 8.4 I just killed A2SD, reboot, start phone, reboot and flash the zip... nothing else, and it worked perfectly. Shame it ain't the same for the new ROMs I'm trying: LeeDroid 3.0.2 dies after DATA2SD installer, RCMix 07 doesn't fit in NAND (yet) so I'm not even trying. ;)
[Desire Android Development] Droidzone:
Yea. It will take some effort to get it ready for new software. But sibere's manual instructions should always work if the kernel is ready.

Swyped with my Starburst based Desire. Please ignore any typos or grammos.
[Desire Android Development] teorouge:
Hello, are the v11 everything data2sd zips in edify or amend scripting?
[Desire Android Development] ali8383:
is there any script works good with oxygen 2.1.1 ?
[Desire Android Development] Droidzone:
They used to work fine in oxygen, haven't tested the recent scripts in oxygen.. depends on what binaries come with oxygen..

Swyped with my Starburst based Desire. Please ignore any typos or grammos.
[Desire Android Development] Droidzone:
I don't remember.. But I transitioned to edify way before most of the others, so I believe that even the oldest ones are in edify..

Swyped with my Starburst based Desire. Please ignore any typos or grammos.