yashsingh1/xdaforums huggingface dataset:
[Desire Android Development] Droidzone:
It is good for only ext4. Also following the alignment of ext4 with Gparted in MB align, you should allow the data2sd script to reformat it with stride and stripe. For Fat32 alignment, manual alignment with fdisk followed by formatting with mkfs is best
[Desire Android Development] DroidBois:
ah right so I click on MB align in Gparted and then run fdisk and mkfs for the FAT32 partition. Ok...

The next thing I need to consider is updating my radio version. Any thoughts on any benefits I could experience? I have avoided it so far for fear of it going wrong.
[Desire Android Development] Droidzone:
It's to be done in the exact opposite way. Make a Fat32 partition for the entire disk in fdisk with alignment. Then resize it to make free space at the end, use Gparted in that with MB aligned option
[Desire Android Development] DroidBois:
Hmmm, wish I read this first. May explain why I just got this error. OK I will do it all again.

E:Can't mount /dev/block/mmcblk0 (or /dev/block/mmcblk0p1)

(Invaild Argument)

E:Can't mount /sdcard

Why not just use Gparted for both? Isn't that the same thing as fdisk but easier to use?
[Desire Android Development] sibere:
As long as the partitions are MB aligned, it's OK. BUT in order to get full speed on your FAT32 partition, you'll have to format it using mkfs.vfat and follow the tutorial (link on data2sd thread OP)

I personally prefer the manual (fdisk) way to make sure that I control all the parameters and that things are done properly ;)
[Desire Android Development] DroidBois:
Fair enough. I still don't fully understand why Gparted wouldn't achieve the same results but that's fine.

What's the whole 'aligning' thing all about anyway?
[Desire Android Development] DroidBois:
I'm still getting these errors, although to try and avoid having to copy stuff across again (about an hour) with Gparted, I just resized the FAT32 partition to full, shrunk it, created an aligned EXT4 partition, still got that error when trying to do anything with it in recovery, then tried CHOWNing it to myself in Linux and assigning full read / write permissions to that partition, still same problem.

I can't work it out.

I guess the only next logical step is to do as you say, create a FAT32 partition first, resize it, then create a EXT4 partition. I was just hoping to avoid an hour of copying data. All good.
[Desire Android Development] Yekxmerr:
Because when you're resizing the Fat32 aligned you're breaking the aligment. If the fat32 partition have 4mb or whatever unallocated at the end leave it that way don't touch it.
[Desire Android Development] DroidBois:
There was 70 MB unassigned, I left it.

Don't understand the errors though. I did notice that the FAT32 partition was sdb2 though, wonder of that's it. It otherwise mounted fine on the Ubuntu PC from recovery via USB.

Swyped from my Xoom
[Desire Android Development] rusty27:
can somehow integrate latest htc sense??
[Desire Android Development] sibere:
70MB? That's a bit excessive to get a MB alignment.

if the 2nd partition is FAT32, it cannot work. /dev/xxx1 should be fat32 and /dev/xxx2 should be ext4; both formatted with the right options. All this is not useless but as already stated, it is for performance purpose in order to avoid lags.
[Desire Android Development] Droidzone:
Excellent tutorial. I personally feel that this deserves its own thread..But of course that means having to answer all the questions that people post about it..

Pls explain something though.. Why are we leaving Cylinder 1? Are we reserving it for something?
[Desire Android Development] sibere:
actually the "system" is keeping a few kb at the beginning of the device for stuff like boot sector, etc. So if you ask for starting on cluster 1, it will not start at 0 but a few KB after the physical start of the SD, misaligning the 1st partition. In one way, 1st Cylinder is reserved for the BIOS.

I have linked this tutorial on my OP for future reference.

Answering questions? What do you mean? It's not clear enough? ;)

EDIT: Just voted for Supernova following your signature link :)
[Desire Android Development] Droidzone:
I just meant that maintaining a thread is so difficult esp if it's a tutorial. The OP is expected to answer every question asked!
[Desire Android Development] Yekxmerr:
Im a great explorer i love when i've problems on my desire and search for the solutions or trying new things. But there are other times when i'm lazy as hell. This is a great tutorial nontheless. Why this kind of "Tweaks" can't be included on a recovery ? Is it to hard to script the fat32 partition aligment into a recovery ? This is a question to Sibere and Droidzone ( and i know there is the Ext4 recovery but it isn't the same, it may be better but is poorly organized i prefer CWM in this matter )
[Desire Android Development] sibere:
It's a good question, but as you're asking to include this into a recovery, you would probably get more from a recovery dev than from a rom cooker, don't you? :)

I have on my HDD a script to align automatically partitions to the MB, made by Melethron quite a while ago.

But it doesn't align the FAT32 filesystem. This has to be done manually, mainly because the implemented version of mkfs.vfat into busybox is simplified and doesn't have the options used to align the Filesystem.
[Desire Android Development] Yekxmerr:
Sorry my point was " If it is possible " and by your answer it is. But im not a developer and im on pause ATM in Android App creation ( Still on learning curve. Not easy at all !) so getting into recovery stuff is out of my league.

Thanks for the answer Sibere
[Desire Android Development] sibere:
ok, made a new thread with it :)
[Desire Android Development] Yekxmerr:
I've a question that's a bit off topic on this but what kind of SDcard brand is recommended for the desire ?

( I've a teamgroup 4gb c6, and i think it sux a bit )
[Desire Android Development] sibere:
Not really off topic but you can't imagine how many times this question has been asked !

A word of advice: use the search tool.
[Desire Android Development] Yekxmerr:
With the aligment using Oxygen 2.2 i scored W6.9mb and R13.9mb on sd tools. A bit too low for a class 6 ?
[Desire Android Development] Yekxmerr:
I've used the search tool but and i can't see a good answer. For what i've learn Desire is a bad device in terms of SD Compability. But i'm trying to find a Sandisk 8GB Mobile Ultra Class6 because im seing good feedback on it. I'm going to align again because im seing low scores on Sd Tools. This time i'm going to lose some time on your manual tutorial Sibere.
[Desire Android Development] sibere:
Class 6 means a write speed of 6Mo/s and that's what you're getting.

But it's true that well known brands like Sandisk or Transcend give you usually a bit more than the rated class.

Keep in mind that the most important for an SD and DATA2SD is not the sequential write speed but the random write speed.
[Desire Android Development] Droidzone:
Data2sd Alternate Installer for people with lags

Since it was suggested that people had lags on the latest Data2sd code and not with Data2ext, I've tweaked a version of Sibere's code that we pushed to the background after development of the more advanced current code..

It should be faster, and hopefully take care of the lags.,. It's a version that keeps dalvik-cache on Nand, improving speed, but with a maximum app install limit which is lower than the current version.

Go to the SuperNova Site->Beta

Download the zips and follow instructions in the page. Of course aligning your card with Sibere's new tutorial is recommended along with this..
[Desire Android Development] Yekxmerr:
Will test it tonight and tomorow i'll give feedback on it. Thank you.
[Desire Android Development] sibere:
I'm on a professional trip atm. But if I've got some spare time, I'll get in touch with you Droidzone via PM to see if changing a few parameters in the way the Ext4 partiton is mounted could help a bit.

I know that some scripts are using a loop device for /data/data to get a buffering effect close to wat we've got with the sqlite library hack. It's clever and it's working. But it means that we would be back to a less safe configuration.

Sent from my HTC Desire with DATA2SD :)
[Desire Android Development] vichimp:
I love this rom....it is all i need , but i can't use it i have a huge laggg...
[Desire Android Development] sibere:
Did you at least fully aligned your partitions ?
[Desire Android Development] sagorap:
I have created an account on http://supernova.droidzone.in but I still cannot see the download links of Xtreme edition.... ıt says "Note: You will need to register as a member on the site/forum to download some of the more popular files. Look for the “Register” link on the Right side!"
[Desire Android Development] Droidzone:
You need to be logged in. its fully automated.
[Desire Android Development] DroidBois:
Whoa... that's a lot to follow but I'm sure it's worth it. I'll sit down with this when I get some time and work it all out. There's clearly some calculations involved to get an aligned FAT32 partition. I think understand why it's required now too (so the filesystem is properly aligned with the write medium).

I think I'm going to struggle with the FAT32 aligning bit though... Seems complicated. But perhaps the only bit we need to work out for ourselves is this?

-R 78 - Use 78 Reserved Sectors (instead of 32)

Is the rest just follow the bouncing ball??
[Desire Android Development] booce:
Ok, followed all the instructions and aligned my kingston 16gb cl4. Wiped phone, flashed rom and setup. No difference in performance at all. 10 minute boot time, phone is so slow as to be unuseable.

Oh well, back to the drawing board for me.

Booce
[Desire Android Development] sibere:
For those of you with a super laggy phone.

Did you have the same lags with Starburst?

We are working with Droidzone on solutions. One of them would be pretty radical but efficient. This would involve loosing a bit of the safety we're having atm with the current script by rolling back to the very first

version of Data2SD.

I think that DZ could offer it as an option to flash in the only case of a laggy phone

Sent from my A70S using the XDA mobile application powered by Tapatalk
[Desire Android Development] sibere:
10 minutes on the 1st boot is normal.

It is not after a few boots. Do you give enough time to your phone after startup to finish all it's background tasks?

Is it laggy everytime even when just starting an app?

FYI lags are almost inevitable when installing apps.

Sent from my A70S using the XDA mobile application powered by Tapatalk
[Desire Android Development] booce:
7 mins to boot after several startups with 20 mins between boots. Lags on all app launches, not just installs. Same on starburst but not as bad.

Also, cpu is 100% utilization all the time, never seems to go idle.

Booce
[Desire Android Development] sibere:
Woow. Might no be a data2sd issue then...

Sent from my HTC Desire with DATA2SD :)
[Desire Android Development] Yekxmerr:
Sibere i've now confirmation that the problem is on D2SD scripts. I've tested CoolBravoS v3 for a day now and it runs perfectly ( runs 100% on 250MB System partition ) ! I'll try to give you more info.
[Desire Android Development] sibere:
Wasn't really necessary to quote the entire tutorial , was it? ;)

Yes, calculating this -R XX value is one of the keys to get good FAT32 write performance.

But It's pretty straightforward. Humm maybe not, but I've done it so many times that it's looking straightforward to me now :D
[Desire Android Development] booce:
I would have been inclined to agree except that this card works with ownheres script on the alexv rom.

Booce
[Desire Android Development] sibere:
You've tested another script AND another ROM with maybe another kernel too. Booce reported having 100% cpu all the time and this is not due to DATA2SD. The thing is that not all users are reporting having such lags on their phones. If it was the case, we (DZ and I) would have maybe blamed the script. Many parameters are playing together and it's not easy without all details and logs to figure-out where the issue is.

But I think DZ will release a couple of "anti-lag" scripts for those of you who are experiencing big lags.

I'm repeating myself but the consequence of this process might involve trading safety for speed. You'll just have to choose what suits you better :)

Have you tried to flash the 1st fix DZ posted?
[Desire Android Development] Droidzone:
And so it should on sibere's initial script and the dalvik on nand scripts.. Did you try them? The version of data2sd I uploaded should fix the issues some of you had, since as Sibere mentioned, it's our ancient script.. Try it and tell us.

And how can you compare roms like cool where there's no data2sd or data to ext..
[Desire Android Development] sibere:
Woo you're too fast for me!

Just PM'd you about this ;)

So you've made 2 scripts right? one with just dalvik on nand and the other one with loop device?
[Desire Android Development] sagorap:
I have already logged in but I still cannot see the links...
[Desire Android Development] sibere:
Do you have the 100% cpu usage on alexV rom? I don't think that DATA2SD is sucking cpu cycles like that :)

You'll have to troubleshoot because there is nothing I can do without more details and logs and so on.

I would first flash SB xtrem rom without data2SD and see what happens. If cpu is stuck at 100% before flashing data2SD, then the issue is somewhere else.

Try also the beta script (dalvik to nand) recently uploaded by Droidzone on his site.
[Desire Android Development] Droidzone:
No. I just uploaded the Dalvik-on-Nand script. I still dont fully understand the loop device script. :) Sent a reply just now.. Was in class. :)
[Desire Android Development] Droidzone:
In that case, I have no idea what is happening.. I can see the links while logged in. But the site takes care of the links, and no direct links are stored there except for the Donor links which also need you to be logged in.

Here's the Hotfile link anyway..

http://hotfile.com/dl/126519558/3303e28/SuperNova_Classic_2.0.2.0.zip.html
[Desire Android Development] sagorap:
I was looking for the extreme edition.. not the classic one ??
[Desire Android Development] Droidzone:
What's in a name? ;)

It's the same..Only Xtreme Classic has better scripts..
[Desire Android Development] sibere:
BETA script for people suffuring big lags

For the few of you who experience big lags, we've uploaded a "test" script here.

Droidzone has been nice enough to make both Data2sd installer/Reinstaller versions even though you should only need the reinstaller version. It's called W11i version and has to be tested only if w10i is not working for you.

Try and report. Please if it is not working, give details and adb logcat logs or we won't be able to troubleshoot.
[Desire Android Development] UltimateGoblin:
Hi Droidzone! I'm about to reach home from holidays, the 26 I'll probably be up and rooting! I thought I would be sticking to Starburst, but I saw a quite self-explaining post of yours in your forum (like "how many of you still have not upgraded to Supernova Extreme?" ), so I changed my mind ;)

Three questions, if you may:

1) Is it ok if I set the ext4 partition to exactly 2GB (as to say, 2048MB)? Isn't it too big (and hence cause of some problems with market downloads)? Do you have any recommendations about the size of this partition?

2) With Supernova, are we allowed to further move installed apps in the Fat32 partition (I mean, as I'm doing it now with my stock ROM)? If this is the case, is it better to do so or not?

3) Talking about recovery... You said that CWM may convert ext4 in ext3 while flashing (have not fully understood that part). Should I (we) just use 4EXT Recovery, then?

Thanks again for your active support!! :)
[Desire Android Development] sibere:
Do so and test the SD on your computer if you can, with good sdcard reader and a software like ATTO.

sdtools is not the best tool and can be fooled by changing the read_ahead kernel parameter with a huge cache like 2Mb.

And It's doing only a sequential R/W test where we need random ones.

In everyday life, your phone is doing random accesses, not sequential ones :)
[Desire Android Development] Droidzone:
@UltimateGoblin, remind me to reply within two days.. Have a class again tomorrow and reading up now..
[Desire Android Development] UltimateGoblin:
Don't worry, mate... Have a good lesson!

Ps: class in August? Wow! :D
[Desire Android Development] sagorap:
I have ınstalled the rom... before the installation I have created the neccesssary partition by using gparted than Installed.. I have S-off (Joker with card)..

After the installation my desire stuck at Joker screen... waiting around 10 minutes
[Desire Android Development] sagorap:
I have successfully installed the rom, but it has toooo many lagss... especially in the lock screen
[Desire Android Development] sagorap:
I made a full wipe to reinstall the rom and flash the Data2SDReInstaller for Supernova Classic 2.0+ W (2) fot Lag issue.. and my desire again stuck at Joker Screen??? Is there any one who can help me to solve this problem?
[Desire Android Development] DroidBois:
Well, maybe not all of it, but I did think it was necessary to refer to it, but I should have only quoted the calculation bit.

How long does it take to do all this, about an hour? My phone is quite laggy and I believe it is the SD card so I'm looking forward to trying the Sandisk Class 4 16GB over the Sandisk Class 2 16GB that I currently use.

Studying for exams right now so maybe in a week or so I'll have another go and write up a simple tutorial as I go for the benefit of others.
[Desire Android Development] dbolichowski:
Flashed the w11 Reinstaller over the ROM and it just hands at the HTC screen.
[Desire Android Development] sagorap:
I have installed the rom again, without beta script... I still have some lags, for example.. while loading some apps and using menus and apps for the 1st time..

baseband.. 32.56.00.32U_5.17.05.08

Kernel.. 2.6.35.10-g3f4372

Build number.. iData2SD Renaissance Edition X6E droidzone..

software number.. supernova 2.0.2.0
[Desire Android Development] DroidBois:
is it safe to update from Version 2.0 to the latest version by installing from Zip in recovery and then using DATA2SD re-install script?
[Desire Android Development] Droidzone:
What latest version? The beta is well..a beta. Recommended only for people with lags. It offers no advantage over the stable version in terms of features, and may be prone to crashes (like Data2ext and Data2whatever scripts to which it is similiar). It is NOT recommended for anyone for whom the stable Data2sd script works fine.. It is only for those complaining of lags because of unsupported cards..
[Desire Android Development] Droidzone:
It's absolutely pointless posting like this. How are we supposed to read your logs? Unlike Microsoft, we've not incorporated any code which magically sends feedback to us saying what is the problem with your device. If we were taking a statistical analysis of how many people have issues vs those who havent, then maybe..

I'm irritated by posts like this when I have a big topic on my site stating "HOW TO ASK FOR HELP REGARDING INSTALLATION ISSUES" @ http://supernova.droidzone.in/?page_id=137

For those who cant get it to work without lags,

You have these options:

Optimize your sdcard and install again and see if it gets rid of the issue

Uninstall the Rom + script and move on to whatever works for you.

If you still think the Rom offers significant advantages for you, in comparison to other Roms out here on XDA, you can try Sibere's Beta version specially tweaked for such cards-available here

FYI-The lags are known issue of certain sdcards. Unfortunately, we cannot tell you which cards dont work currently, and which do. There is a poll on my site which may give you some idea about this from a statistical point of view if you believe in figures.

And no, despite the recent mass phobia from seeing some people posting about lags, there isnt some sudden issue of lags, and we havent changed much in the code from prior version of Data2sd which works on Supernova, StarBurst and GingerBurst, and is still the same responsible for the phenomenal success of StarBurst, and which still gets me more than a dozen Thanks mails daily.

For those for who do have lags:

Try the optimization

Install the beta code.

Post logs with the flashable tool

Post adb logs if you know anything about Android

If you cant do all of the above, stop complaining.. It doesnt help the thread with a minority of users filling the thread with useless posts about how it's laggy. You can open individual threads on my Troubleshooting forum for any issues. Kindly leave the main thread clean and open for anything new and interesting that new users have to say about it. Of course anything constructive and creative is always welcome, so is suggestions to improve the code.
[Desire Android Development] sibere:
[I Like] [+1]

Sent from my A70S using the XDA mobile application powered by Tapatalk
[Desire Android Development] Droidzone:
Now to answer your question as promised. :)

It seems that if you go above the 'Sibere limit' of 2 GB, there is a higher chance of your phone becoming laggy. To test out whether there were any issues, I had made a partition of 2500 MB, and restored my apps. My phone which was cruising along very fast on a 1.7 GB ext 4 became very slow. I haven't tested out the exact size of 2048 MB. But I have to say that I didn't have the market issues that Sibere reported.

I don't recommend that you use the froyo apps 2 sd in conjunction with data2sd. Accessing data on two partitions might make the system slower. But unlike the a2sd +, there shouldn't be any reason why it shouldn't theoretically work.

Yes, 4 ext recovery is definitely recommended for anyone using an ext partition based rom. Based on cwm, this has a lot of excellent features which make your data2sd life better. I'm thinking of adding this recovery as a built in software in my newer roms.

The question I proposed to users was a rhetorical one, and I was quoting Shakespeare's Hamlet-To be or not to be.. ;)

Gingerbread doesn't really give you many significant advantages over froyo. Power management seems to be better. But for the Desire, one definite advantage I noticed is that the camera is better at auto focus. The button seems be better at shooting too. Some widgets don't work with gb, so much so that I went back to Froyo for a while, but upgraded again because of the aforesaid advantages of the camera
[Desire Android Development] DroidBois:
When I get a chance after I optimise my card I will write up guide for others, may be up to two weeks though.

Swyped from my Xoom
[Desire Android Development] Droidzone:
Isnt Sibere's guide easy to understand? :)
[Desire Android Development] Droidzone:
Since there is no wipe involved at any point of the process, no, you dont..provided you're using 4ext reovery to restore and not some other recovery.
[Desire Android Development] DroidBois:
I was intending to just use Nandroid recovery from the most recent backup, copied across on the FAT32 partition, I shouldn't use that?

I'm on the first release, Version 2, I'll leave it then.
[Desire Android Development] Droidzone:
Sure you can..
[Desire Android Development] DroidBois:
So just copy my FAT32 partition across, then Nandroid restore from last backup, and reboot, that's it.. Impressive.

Give me a week to pass my next exam and I'm happy to write all this up on your Wiki if you like, to save further questions like this.
[Desire Android Development] Droidzone:
Yup..

You're just recreating aligned partitions. The "restore" via recovery is only a copy process, preserving file permissions and ownerships. So even if you change the size of your partitions, a simple restore should restore everything..provided you dont touch /cache partition, which is used by my script to store your settings..