yashsingh1/xdaforums huggingface dataset:
[Legend Android Development] haha123:
Hi all! When I first flashed this ROM a year ago, I turned on a2sd as well as dc2sd immediately after. However, recently I thought the lag was too much to bear - installing/uninstalling apps would bring the phone to a complete halt, and programs would lag for no apparent reason. I was using a class 10 16GB micro sd card with an ext2 partition.

I searched this thread and many others in vain, trying to get rid of this lag. Someone said something about disabling aufs to get rid of lag, but later said it was not conclusive. I decided to take matters into my own hands and do some testing. To make a long story short, if you had dc2sd turned on, your phone might be lagging often. There doesn't seem to be a way to turn off dc2sd by itself, so in order to fix this, you must (assuming you still want a2sd on):

1. make a nandroid to be safe

2. use mybackup root to backup all apk + data

3. use terminal emulator or adb shell to turn off a2sd (a2sd --disable)

4. reboot to recovery and clear dalvik cache (?)

5. reboot to get out of recovery

6. use terminal emulator or adb shell to turn on a2sd (a2sd --enable)

7. reboot

8. restore apk+data using mybackup root

you will be missing a lot of internal storage space, but the speed increase is worth it. this is just a fyi, in case anyone has this problem..
[Legend Android Development] illysmanx:
Boot fail/ continual boot animation

I tried installing B about a half-hour ago, and the boot-animation is as far as I got- I let the phone sit for about twenty minutes.

I suspect the downgrade process to RUU 1.31 that I followed for installing custom roms has something to do with it. Here's the whole story of what the phone's been through to date.

Any suggestions on what to do/confirmations on the RUU 1.31 thing?

Thanks! :)
[Legend Android Development] link2009:
Can anyone provide a mirror, please? Looks like the author's server is down.
[Legend Android Development] Asovse1:
Check your PMs. :)
[Legend Android Development] illysmanx:
Thanks! :)
[Legend Android Development] hellpank:
Can anyone provide a mirror, please? thanks
[Legend Android Development] dgupta:
B0.04 patch is not found on the mentionned location. Can somebody plz mirror it. Thanks in advance.
[Legend Android Development] Asovse1:
ROM + Patch Download Link:

http://youtu.be/3MsXa8JJaaA
[Legend Android Development] buurmeister:
Anyone have dl link for the stock font patch?

Edit; worked already
[Legend Android Development] rsamanya:
The links are no longer valid. Does someone happen to still have this old but beautiful ROM?
[Legend Android Development] sronweb:
2 posts before your there is a link to video and rom download
[Legend Android Development] ashupanchal:
Link not working

Can you post download link again? I have old legend and though of making it alive again.
[Legend Android Development] Dr.Romca:
so cool! Looking forward to it! Thanks for the great work!
[Legend Android Development] andrekua:
Does it matter which first? If I did it with Recovery, it will partition ext first followed by FAT32.
[Legend Android Development] BlaY0:
Hmm... Windoze mounts only 1st partition of a removable drive as I recall, but I'm not sure (haven't seen Windoze for years)...

You should try...
[Legend Android Development] andrekua:
Well, I did partition before with 32mb swap and 512 ext3 finished up with fat32 for the rest. Had no problem with windows7.
[Legend Android Development] TheGrammarFreak:
You are correct
[Legend Android Development] Mikhov:
Please tell me :

1) Where i should "run "aufs --enable" " ?

2) What does the data2ext give?

3) How to make 2 perticions on my sd card? What the size of each should be?

Guys, sorry for my English and for my noob questions
[Legend Android Development] BlaY0:
OK guys, 0.2 is up but without data2ext for now... I need to iron some things in the script so prolly it will be available tomorrow with the rest of instructions etc.
[Legend Android Development] ogo2:
Thanks, BlaY0! :)

Soon there will be new stripped down version... :D
[Legend Android Development] BlaY0:
K. Just lemme know so I can edit 1st post...
[Legend Android Development] tasar:
;)Another noob with the same question... :confused:
[Legend Android Development] BlaY0:
Hmm, the question should be: "Am I gonna be a noob to the rest of my life?"...

Those questions were answered 495867456 times already...
[Legend Android Development] mbrio:
Great! But ehm... where's the download link? :D
[Legend Android Development] BlaY0:
There's a big sign in 1st post that says:

download

...maybe you didn't find it coz it's too big...
[Legend Android Development] mbrio:
Oddly enough it doesn't show in the android browser nor in Skyfire... I do see the image in the xda app but it doesn't work as link. Guess I'll have to wait till I'm home.
[Legend Android Development] TeCH-Guruz:
hahaha cheer blayo good work maybe you should have called this b 0.2 beta so if people dont know how to install it then they should wait for the full version with instructions tomorrow
[Legend Android Development] TheGrammarFreak:
Lol.

To go back to an earlier point with partitioning. On an normal SD card/USB thumbdrive Windows will only try to mount the first partition. When using the phone to mount the SD card, however, it doesn't matter. Android just shows the FAT32 partition to Windows, regardless of where it is on the SD card. :D
[Legend Android Development] mbrio:
Har har har... turns out the link doesn't show up in mobile view.
[Legend Android Development] JonasDroid:
Nice 2 see B0.2 I'll wait for the partition instructions cause I seem to figure it out :p
[Legend Android Development] TeCH-Guruz:
For a faster download I have uploaded it to my server goto BlaY0 and download from there if you like.
[Legend Android Development] i4o:
Ok BlaYO, now is tomorrow, where is the instruction for data2ext and etc. :p:D
[Legend Android Development] loscassapalle:
if i want to delete an app (before the installation), for example facebook, is sufficient delete it by the zip file?
[Legend Android Development] BlaY0:
Manual SD partitioning

For partitioning I found this tutorial noob friendly...
[Legend Android Development] Sckank:
How is performance vs stock?

Merry christmas and thank you for your work :-)
[Legend Android Development] BlaY0:
Ehh, performance is very poor ;)

Actually it depends of at least 4 factors (SD card speed, partition alignment, EXT partition format, EXT partition mount options...)
[Legend Android Development] ogo2:
Did someone notice a missing APNs in version 0.2 or it's just me?
[Legend Android Development] TeCH-Guruz:
APN's are missing in the WWE FroYo and this is based on it so thats why im guessing.
[Legend Android Development] Sckank:
Will a 32gb class4 Sandisk do the trick when the rest is optimised?
[Legend Android Development] BlaY0:
There are several different ways of acknowledging APNs. One is to flash snakehult's APNs update.

I deliberately didn't include it into my ROM coz using it some ppl (including me) have duplicated APNs then.
[Legend Android Development] CfYz:
Is it possible to go back to old battery icon with out a circle mod in b0.2 somehow?

there is hope...
[Legend Android Development] BlaY0:
Yes. Get framework-res.apk from 0.1, resign it with test cert and push it to 0.2.

Probably.
[Legend Android Development] ogo2:
@BlaY0: I put the cyanogen's apns-conf.xml in /system/etc. After that i resign the zip and flash it with ROM Manager. But no APNs again! The settings are correct, i just check it.

PS> Yes, i did the reset to default of the APN settings. No results. :(

PS2> Ok. I just put the odexed apps and frameworks back and APNs works fine now!?! Strange...

PS3> I have some progress - the APNs are not from the apns-conf.xml (they have different names), maybe are stored in some DB?
[Legend Android Development] kkeith:
hey just downloaded your rom, very happy with it so far just one quick question though, how do you enable the data2sd? on your first post it says to download it however i dont see a download.

btw if anyones interested i recorded my quadrant scores from my fresh install going through the different oc profiles:

902@600mhz

1065@768mhz

1087@787mhz

1126@806mhz
[Legend Android Development] rajasyaitan:
If its not there then its not ready yet. Read the previous page. BlaY0 already mentioned it.
[Legend Android Development] TeCH-Guruz:
Post 1 saved as an attachment
[Legend Android Development] BlaY0:
There are 3 ways of auto configuring APNs... one is via /system/etc/apns-conf.xml, second is via /system/customize/mccmnc.xml and 3rd via... well I won't tell you that ;)

What's your provider's MCC and MNC?
[Legend Android Development] loscassapalle:
I did a version without a lot of apps I don't use. I have to test it. If everithing works (and if BlaY0 wants), I'll post it this afternoon.
[Legend Android Development] JonasDroid:
I've tried to flash your data2sd. But it says enjoy darktemor app2SD.

Did you use that script for data?

Also if I try to enable system overlay. ( adb shell aufs --enable)

it returns a "aufs: not found" error
[Legend Android Development] smnrock:
I created ex4 partition and installed a2sd(found in the 1st post), but it says ext4 is not supported and use ext2 or 3 :(
[Legend Android Development] BlaY0:
Update for data2ext is yet to be uploaded. Read 2 pages back! Running aufs doesn't work from recovery mode unless you set /system/xbin in PATH variable.

So use ext2 or 3 then.
[Legend Android Development] gyroing:
@Blay0

thx for B 0.2

What is the appropriate size for ext partition for using data2ext : is 512 mb that rom manager prepare by format sd is enough or any suggestion to make bigger ext partition size?

becuase i want to prepare my sd card to apply data2ext as soon as you upload it?
[Legend Android Development] BlaY0:
For data2ext prepare ext2 partition. It can be 512 MB but you should set block size to 4 kB instead of default 1 kB. If you choose to make 1 GB ext2 partition, 4 kB block size is already default.
[Legend Android Development] smnrock:
So data2ext wont work with ext4?:confused:
[Legend Android Development] BlaY0:
Could you please read that post more carefully!! He was refering to a2sd! And you are talking about data2ext.

Don't mix apples and pears!
[Legend Android Development] waterpolo:
Which apps have you removed?
[Legend Android Development] smnrock:
^hm.. "He & you" as you referred is ME(both are same person) only :P

And i'm not mixing this and that... I was anticipating your data2ext patch and kept myself ready with ext4 partition. Meanwhile i thought of trying a2sd(one of the very earlier post, you mention that you did some modification in a2sd script) and it said ext4 is not supported :) And for this you mentioned to use ext2/ext3 and very next post you also mentioned this

So i came up with my next question...

Thats it, "Bingo. No confusion. Great combination." :P

I just explaining the situation, Please some one dont come with this question "Did you paid for this ROM?"
[Legend Android Development] BlaY0:
OK, no worries m8... a2sd is basically Darktremor which I really don't use and never did. I just tweaked it to work with B ROM. I can look at it and see why ext4 is not supported...

Second... I said to prepare ext2 coz it is easily converted into ext3 or ext4 later on and you can't convert ext4 back to ext2.
[Legend Android Development] i4o:
@BlaY0 when i did, as you said "1GB ext2 partition, 4kB block size" and put it in the phone, does it say that the card is damaged. But when you put it in card reader, everything is fine.

PS.

When i restart phone into recovery mode, SD card is readable.

PS2.

Well I re-partition and reformat SD and everything is cool now.

Now waiting data2ext script. :D
[Legend Android Development] ikdegek:
Blayo, thanks for the rom, however two questions:

- should I use the radioversion included or this one: 47.39.35.09U_7.08.35.21

- Using Sense does not give me the Sense widgets, how can I add them?

Thanks, Paul
[Legend Android Development] loscassapalle:
com.htc.FriendStreamWidget.apk
Facebook.apk
FriendStream.apk
Weather.apk
WeatherAgentService.apk
WeatherProvider.apk
WeatherSyncProvider.apk
teeter.apk
SocialNetworkProvider.apk
AppSharing.apk
Flickr.apk
Gmail.apk
com.htc.FMRadioWidget.apk
com.htc.FriendStreamWidget.apk
com.htc.MusicWidget.apk
com.htc.NewsReaderWidget.apk
com.htc.StockWidget.apk
com.htc.TwitterWidget.apk
com.htc.WeatherWidget.apk
htcbookmarkwidget.apk
HtcCalculatorWidget.apk
htccalendarwidgets.apk
htccontactwidgets.apk
HtcFacebook.apk
HtcFootprintsWidget.apk
htcmailwidgets.apk
htcmsgwidgets.apk
HtcPhotoWidget.apk
HtcProfilesWidget.apk
HtcRingtoneWidget.apk
htcsettingwidgets.apk
HTCSetupWizard.apk
HtcTwitter.apk
HtcWeatherWallpaper.apk
HtcFootprints.apk
MagicSmokeWallpapers.apk
Mail.apk

wallpapers
alarms, notifications, ringtones (except the default ones)

but blayo doesn't answered me (he never did to me, i think i'm unpleasant:))
[Legend Android Development] BlaY0:
NP m8, post the DL link here...
[Legend Android Development] loscassapalle:
ok, give me other 1 or 2 hours for test it :)
[Legend Android Development] BlaY0:
1. It doesn't matter.

2. Menu->Add to Home->Widget
[Legend Android Development] gromadsky:
BlaY0, and will be used data2ext path swap partition? If yes, what size swap partition is optimal?

P.S. Sorry for my English.
[Legend Android Development] gyroing:
@ BlaY0

after installing b 0.2 and installing some application without applying a2sd is it possible to apply future data2ext or need installation again?
[Legend Android Development] BlaY0:
@gromadski: No swap!

@gyroing: You can safely install apps. After installing data2ext and enabling it, anything relevant is copied to that partition. That includes apps.
[Legend Android Development] janarp:
@BlaYo - can u make little (HOW TO) guide

i have data plan and i want to use mobile internet but i cant....

please help
[Legend Android Development] Bricolo_fr:
BlaY0, what will the influence of data2ext on the battery be?
[Legend Android Development] andrekua:
An early christmas present... thanks you very much...

AND

Merry Christmas~
[Legend Android Development] greenolive:
Impressive for you to release an update the day before christmas!

Quick question. Any chance your data2ext script will fork on CM?

I probably will try it before you even have time to answer...
[Legend Android Development] ikdegek:
Yes of course, stupid me.

Thanks again and happy days! Paul
[Legend Android Development] BlaY0:
OK, I attached data2ext script for anyone willing to test (1st post). Make second partition on your SD card (for example 1 GB) and format it with ext2 file system. You can do the formatting while in normal mode:

adb shell mke2fs -m0 -Ldata -b4096 /dev/block/mmcblk0p2

Install update via ClockworkMod recovery. While still in recovery mode execute:

adb shell touch /data/local/dodata2ext

...to enable data2ext. reboot and watch first few lines of logcat. It should go something like this:

I//system/xbin/sysinit( 65): BlaY0's custom WWE ROM for HTC Legend
I//system/xbin/sysinit( 65): Initiating data2ext mode...
I//system/xbin/sysinit( 65): Waiting for SD card to settle...
I//system/xbin/sysinit( 65): Executing file system check...
I//system/xbin/sysinit( 65): 951 inodes used (1.52)
I//system/xbin/sysinit( 65): 2 non-contiguous files (0.2)
I//system/xbin/sysinit( 65): 4 non-contiguous directories (0.4)
I//system/xbin/sysinit( 65): # of inodes with ind/dind/tind blocks: 142/3/0
I//system/xbin/sysinit( 65): 25998 blocks used (10.39)
I//system/xbin/sysinit( 65): 0 bad blocks
I//system/xbin/sysinit( 65): 1 large file
I//system/xbin/sysinit( 65): 520 regular files
I//system/xbin/sysinit( 65): 416 directories
I//system/xbin/sysinit( 65): 0 character device files
I//system/xbin/sysinit( 65): 0 block device files
I//system/xbin/sysinit( 65): 0 fifos
I//system/xbin/sysinit( 65): 0 links
I//system/xbin/sysinit( 65): 5 symbolic links (5 fast symbolic links)
I//system/xbin/sysinit( 65): 1 socket
I//system/xbin/sysinit( 65): --------
I//system/xbin/sysinit( 65): 942 files
I//system/xbin/sysinit( 65): Mounting /dev/block/mmcblk0p2 to /data...
I//system/xbin/sysinit( 65): EXT partition /dev/block/mmcblk0p2 mounted on /data...
I//system/xbin/sysinit( 65): Data2ext enabled...
I//system/xbin/sysinit( 65): Setting hostname...
I//system/xbin/sysinit( 65): Loading modules...
[Legend Android Development] xennr3:
is this data2ext release stable, or is it just a test release und u are going to release a new version in some days?
[Legend Android Development] loscassapalle:
OK, it's ready. Everything seems to work. I called it b-0.2 - Froyo Sugar Free

Tnx BlaY0, that ROM looks very smooth!

These are the changes i made:

removed wallpapers (except the default one)

removed alarms, notifications, ringtones (except the default ones)

removed the following apps

com.htc.FriendStreamWidget.apk
Facebook.apk
FriendStream.apk
Weather.apk
WeatherAgentService.apk
WeatherProvider.apk
WeatherSyncProvider.apk
teeter.apk
SocialNetworkProvider.apk
AppSharing.apk
Flickr.apk
Gmail.apk
com.htc.FMRadioWidget.apk
com.htc.FriendStreamWidget.apk
com.htc.MusicWidget.apk
com.htc.NewsReaderWidget.apk
com.htc.StockWidget.apk
com.htc.TwitterWidget.apk
com.htc.WeatherWidget.apk
htcbookmarkwidget.apk
HtcCalculatorWidget.apk
htccalendarwidgets.apk
htccontactwidgets.apk
HtcFacebook.apk
HtcFootprintsWidget.apk
htcmailwidgets.apk
htcmsgwidgets.apk
HtcPhotoWidget.apk
HtcProfilesWidget.apk
HtcRingtoneWidget.apk
htcsettingwidgets.apk
HTCSetupWizard.apk
HtcTwitter.apk
HtcWeatherWallpaper.apk
HtcFootprints.apk
MagicSmokeWallpapers.apk
Mail.apk

That's the link for download it http://www.megaupload.com/?d=I5SKPGRH

Try the F5 trick if download doesnt' work.

MIRROR: http://www.easy-share.com/1913379439/b-0.2-FroyoSugarFree.zip

P.S.1: if Market doesn't work at first time, it works the trick of 2 reboot

P.S.2: the system starts with data connection active. if you don't want it, press power button and disable it.

P.S.3: if you have problems with live wallpaper (when you reboot), you probably moved it to SD. move it to the phone.
[Legend Android Development] loscassapalle:
BlaY0, i would indicate you 3 "bugs" of that (and the previous) version:

sometimes when i turn on WiFi, it doesn't see saved networks (it happened also in CM6.1)

Google Goggles doesn't work (kernel is missing IPv6 support)

Everytime I restart, I have to reset the clock (i read you know that)
[Legend Android Development] i4o:
@BlaY0 this script WORKKKK :)

This is on 600Mhz.
[Legend Android Development] goose2600:
Hi BalY0,

thanks again for your work!

I installed B 0.2 and BlaY0 mod kernel. Then I installed some apps and I have about 80 mb of free space on system.

Applying dta2sd-2.7.5.2b I have about 95 mb of free space.

Installing more apps the free space decreases rapidly.

I made a test: I installed B 0.1 and a lot of apps and I have about 80 mb of free system space.

Applying apply dta2sd-2.7.5.2b I have 125 mb of free system space!!!

Is it strange or not? It seems dta2sd-2.7.5.2b does not work properly non my phone running B 0.2...
[Legend Android Development] BlaY0:
I have never experienced that (yet).

Why don't you just read 1st post...

That's normal if you have set the clock to sync with the network.

Sent from my HTC Legend
[Legend Android Development] BlaY0:
First of all, you don't need to install kernel separately. Second... this is not strange. In fact it is perfectly normal since this ROM is deodexed thus dalvik-cache grows bigger. Try moving dalvik-cache to SD card.

Sent from my HTC Legend
[Legend Android Development] loscassapalle:
i have "set on boot" checked. i have to do something else?
[Legend Android Development] BlaY0:
???

Settings->Date & time->Automatic... untick it.

Sent from my HTC Legend
[Legend Android Development] loscassapalle:
LOL

little misunderstanding. I would say clock frequency, with SetCPU:)
[Legend Android Development] goose2600:
Stupid me! :) Dalvik-cache moved to sd and now I have 175 mb free on system space!

Thx
[Legend Android Development] janarp:
how u move it??
[Legend Android Development] goose2600:
Use adb shell from yourc pc:

adb shell a2sd cachesd

or using termilal emulator from your phone:

su

a2sd cachesd

Your phone will reboot (first boot is very slow due to generate dalvik-cache).
[Legend Android Development] janarp:
thanks...:D

did u try data2sd too?
[Legend Android Development] goose2600:
Not yet... I will try data2sd but I want to understand if it increases battery drain
[Legend Android Development] BlaY0:
Never had that problem. Try uninstalling and installing again.

Sent from my HTC Legend
[Legend Android Development] TheGrammarFreak:
Data2ext is pretty neat. I gotta get that on CM... *TheGrammarFreak plots**

If the whole data partition is now on the SD card, then surely so are the apps? Or am I horrendously mistaken?
[Legend Android Development] gyroing:
Why it couldn't handle a2sd and data2ext together. The data now moved to ext but indtalled aplicTion don't go to sd . Always the app size is bigger than data thrir data size . The device is rappidly lake memory by little app.
[Legend Android Development] gyroing:
I tested the apps will remains in internal.
[Legend Android Development] waterpolo:
Did you install this ROM with ROM Manager?

I get a error when I install this ROM with r4-legend-tools in Recovery Mode. The RadioWidget is missing.

Edit: ROM Manager Recovery mode has no problems.
[Legend Android Development] stegg:
did you delete those apps just deleting from the zip file?

or you had to rebuild the zip via the kitchen? :)
[Legend Android Development] sukasem:
Any wake up via trackpad feature?

Cheers,

EDIT: Just flashed B0.2, No wakeup with trackpad other than that is GREAT

Thank a lot BlaY0,
[Legend Android Development] BlaY0:
You are right. 95% of everything is copied to SD but not moved! I decided not to move because if there is a problem mounting that SD partition, you still end up with a system "snapshot" from just before data2ext was enabled. However there are still some things that are better written to internal storage.

So once again... if you are using data2ext, there's no need for a2sd. In fact you shouldn't even try to use both at the same time coz you might make a mess that would require you to wipe everything and start again from beginning.

Sent from my HTC Legend
[Legend Android Development] loscassapalle:
yes, I tryed only by rom manager

I only deleted them
[Legend Android Development] BlaY0:
As I said... everything remains on internal storage but it is not used from there any more. In fact if you are confident enough, you can delete dalvik-cache and apps from internal storage but leave everything else there! After data2ext is enabed, internal storage data can be found under /mnt/asec/data directory.

Sent from my HTC Legend
[Legend Android Development] TheGrammarFreak:
Well BlaY0, I'm gonna give this ROM a few days testing, see what I think. :D

EDIT:

Is it me, or is this REALLY slow to give root access to an app?
[Legend Android Development] Sckank:
How is first impression? :-)
[Legend Android Development] smnrock:
As i said in my earlier post, performance is very poor :( Apps loading takes so much time, it could be due to class 4 nature of my SDC.

Now i've moved to a2sd and its fine :)
[Legend Android Development] yulu1:
#aufs --enable

#tocuh /data/local/dodata2ext

reboot

data2ext is no runing

then

#aufs --disable

reboot

#tocuh /data/local/dodata2ext

data2ext open.
[Legend Android Development] waterpolo:
I did the same but my ROM isn't started. It's hanging in the bootanimation.

How long have you wait with the first startup?
[Legend Android Development] PirateNL:
Great ROM man, can we expect the Desocialized version to be updated?
[Legend Android Development] loscassapalle:
the first boot was very fast...

i don't know if it could depend on it, but i didn't unzip and rezip it, i deleted apps with winrar
[Legend Android Development] loscassapalle:
i did something similar:)

http://xdaforums.com/showthread.php?p=10060555#post10060555