[ROM] B 0.8.4 based on stock HTC FroYo (04/13/2011)

BlaY0

Retired Recognized Developer
Sep 15, 2007
1,553
566
0
Medvode
LadieZ and gentZ, here I present to you B FroYo ROM for Legend!




Download links

Here are download links for those who don't see the upper image ;)
Screenshots

Requirements

  • rooted Legend
  • ClockworkMod recovery
  • wipe if you are switching from some other ROM (not necessary if you are upgrading)
  • second (primary) partition on your SD card formatted as ext2, ext3 or ext4 if you plan to use a2sd or data2ext
Features

  • based on stock HTC version 3.15.405.3 and 3.30.415.6
  • deodexed
  • customized OC kernel 2.6.32.17
  • run-parts on /data (/data/local/init.d)
  • system overlay (not enabled by default)
  • a2sd (not enabled by default)
  • data2ext (not enabled by default)
  • wake on trackpad
  • extended power menu
  • module loading facility
  • hostname support
  • resolv.conf support
  • dropbear SSH server
  • ext4 support (with e2fsprogs 1.41.10)
  • cifs support
  • some grafx improvements (see screenshots)
Updated apps

  • Adobe Reader 10.0.1
  • Facebook 1.5.2
  • Market 2.3.4
  • Gmail 2.3.4.1
  • Maps 5.2.1
  • Street View 1.6.0.6
  • YouTube 2.1.6
Languages

English, German, Spanish, French, Italian, Dutch, Danish, Polish,
Portuguese, Slovakian, Russian, Romanian, Hungarian, Norwegian, Finnish,
Swedish, Czech, Greek, Turkish, Chinese, Thai, Japanese, Korean, Vietnamese,
Slovenian, Croatian, Serbian and Arabic
Installation

Installation is done via recovery mode using ClockworkMod recovery. If your phone is S-OFF then I guess you know what to do.
Upgrade

Wipe dalvik-cache before upgrade.
Patches

Patching is done via recovery mode like any other update. For changes see changelog!

Issues

  • Adobe Reader FC when you press BACK
  • installation of HTC widgets not possible
  • using system overlay with data2ext followed by a power failure may corrupt ext2 file system on SD card
  • hostname resolution not working due to changes in framework
  • two suns/moons on clock widget
  • some resource grafx inconsistencies
  • missing some APNs from stock ROM
  • Stocks app FCs
  • some people reported ocasional Wi-Fi problems (it shows connected but no data can go through)
  • some people reported problems syncing contacts from FaceBook
  • Opera Mini FCs with Arabic framework
Notes

1st boot will take several minutes for dalvik-cache to generate coz ROM is deodexed! Because every app is deodexed, dalvik-cache will grow ~20 MB bigger.

kernel
Default kernel speeds are 246 MHz min and 600 MHz max. It can be overclocked to max 806 MHz and underclocked to min 123 MHz. Default governor is ondemand. To change those parameters (speed or governor), use SetCPU or you can make a script run by run-parts that sets those parameters for you on every boot.
kernel modules
Loading kernel modules is done by editing /data/local/modules file. Modules are added separated by spaces or one per line (ext4 and ipv6 added by default).
system overlay
You can check this thread on how to use it but in general just execute "aufs --enable" and reboot for changes to take effect.
partitioning
If you want to use a2sd or data2ext you need 2nd partition on your SD card. For partitioning you can use my customized CWM fake-flash but if you want to know more about partitioning consider consulting this guide.
formatting
To use your newly created partition you first have to format it using format_sd-ext utility via adb shell or some terminal app (not while in CWM). Utility accepts one parameter which can be either ext2, ext3 or ext4 according to your needs.
a2sd
To use this feature you have to enable it first. You do that by executing "a2sd --enable" via adb shell or some terminal app. To relocate dalvik-cache also, execute "a2sd --dc2sd" too. Reboot for changes to take effect. To see how much space do you have on relevant partitions execute "a2sd --free". If you want to disable a2sd, execute "a2sd --disable". In this case you loose all apps and dalvik-cache needs to be recreated upon reboot so make sure to backup apps before disabling.
data2ext
To enable this feature, execute "data2ext --enable" via adb shell or some terminal app. Reboot for changes to take effect. If you have problems, logcat 1st several lines of boot process to see what's going on and post your findings. Questions like "Why is data2ext not working on my phone?" will be ignored! Mind also that a2sd and data2ext can not run simultaneously!

CAUTION! Rebooting your phone while using this feature might result in some or all user data being lost!
SSH server
SSH server is disabled by default. If you wanna use it enable it by executing "chmod 755 /data/local/init.d/50sshd" and reboot your phone. Authentication is done by private/public key pair. To login you need to populate /data/dropbear/authorized_keys with your public ssh key.
hostname
Changing hostname of your phone is done by editing /data/local/hostname file. Default hostname is "legend". If you don't want your phone to have hostname just delete contents of /data/local/hostname (make it zero size).
boot animation
If you want to change boot animation just "adb push" new bootanimation.zip to /data/local directory.
F.A.Q.

Answer to any frequently asked question here is:

SEARCH THE THREAD COZ IT WAS ANSWERED BEFORE! PROBABLY MORE THAN ONCE!

...so if you are tempted to ask a question, you now know what to do 1st!
If anyone wants a stripped down and moded version of this ROM, our friend ogo2 prepared us one. It is called nDAF!

Big thanx goes to FeaRThiS and whitetigerdk for hosting this ROM and cryshop for grafx...
 
Last edited:

BlaY0

Retired Recognized Developer
Sep 15, 2007
1,553
566
0
Medvode
Changelog

0.8.4 (April 13, 2011)
  • reverted back to WWE framework
  • new Arabic support patch
  • some minor bug fixes
  • some translation corrections
  • added ro.modversion to build.prop

0.8 (April 6, 2011)
  • merged versions 3.15.405.3 and 3.30.415.6
  • support for Arabic RTL + translations
  • Croatian, Slovenian and Serbian translations
  • extended power menu (ogo2 waZ here)
  • ext4 and ipv6 support by default
  • sd-ext formatting script (ext2/3/4)
  • lower auto brightness levels (ogo2 waZ here)
  • some packages updated
  • unified wizard settings
  • some grafix fixes
  • ...

0.7 (February 1, 2011)
  • newest kernel
  • wake on trackpad
  • new market (2.2.11)
  • tweaked HTC IME (missing pipe added)
  • grafx resources fixed
  • missing APNs fixed
  • added some smooth notification icons
  • even smaller boot animation

0.6 (January 14, 2011)
  • improved reliability
  • improved IO performance
  • improved a2sd script + new option
  • customized busybox (1.18.1)
  • added new market (2.2.10)
  • some new/improved notification icons
  • new default font (Confortaa)
  • new notification area skin
  • new lockscreen skin
  • optimized boot animation
  • no more two suns/moons

0.5 (January 5, 2011)
  • added own a2sd
  • added data2ext (still in test phase)
  • added dropbear SSH server
  • hostname resolution now actually works
  • added parted (for partitioning SD card)
  • added dexopt-wrapper (for anyone wanting to reodex)
  • minor changes to some scripts
  • reverted to stock voice search since its upgrade is location based

0.2.9 (December 31, 2010)
  • system overlay script rewrite

0.2.8 (December 29, 2010)
  • changed bugreport key combo to BACK + HOME
  • added routine for safe unmount upon shutdown

0.2.6 (December 28, 2010)
  • fixed HTC widget install
  • fixed Adobe Reader FC
  • fixed permissions of some files in /data/local

0.2 (December 23, 2010)
  • deodexed
  • OC kernel integrated
  • system overlay
  • ext4 support
  • some grafx touch
  • newest apps

0.1 (December 9, 2010)
  • initial release based on stock HTC version 3.15.405.3
 
Last edited:

JonasDroid

Senior Member
Apr 12, 2010
423
50
0
Nice to see your building ROM's now :D
Are you planning to include the CM OC freq table (or something similar)?

I'll keep my eye on this.
 

JonasDroid

Senior Member
Apr 12, 2010
423
50
0
yeah I know about thatone (used it for a little while when I was running vodafone rom) but that's "only" 787 and I like to use my phone's full potential 825~844 I use 825 for daily and 844 and sometimes even 864 for benchmark but 864 usually crashes before it can do the whole benchmark :p.
 

krasenk

Senior Member
Dec 13, 2009
126
3
0
Sofia
BlaY0, could you please let me know if we can make rooted ROM from the official Froyo OTA following the steps you used for the Vodafone OTA:

OK here's the deal.... as I can't UL everything to the internets (I'm on EDGE) here's what I did.

- Downloaded Voda RUU, OTA to 2.05.161.1 and OTA for FroYo

- Flashed system.img from RUU

- edit first OTA's updater-script - deleted checks and flash of firmware.zip

- flash tweaked first OTA via ClockworkMod

- edit second OTA's updater-script - deleted checks and flash of firmware.zip

- flash tweaked second OTA via ClockworkMod

- extracted radio.img from second OTA and flash it separately

- root boot.img from second OTA and flash it separately

- added su and Superuser.apk

- rebooted
I assume this should work, just wanted to confirm with you ;)

Thanks in advance.
 

nofear2k

Senior Member
May 30, 2010
91
6
0
Is there any major differences between the vodafone version and wwe except the vodafone crap? I would like to know that before flashing wwe version :)
 

andrekua

Senior Member
Oct 25, 2010
110
9
0
the random freezes continued until i flashed BlaY0 latest kernel. seems to be running stable now. seems very odd to me!?
Maybe I should try your solution. Freeze on mine too after a few minutes.

Update:

Restoring to Voda Froyo... changing kernel disabled wifi therefore will wait for further update from Blayo.
 
Last edited:

BlaY0

Retired Recognized Developer
Sep 15, 2007
1,553
566
0
Medvode
Does this ROM support a2sd?
It does... you just need to install and configure it. Will add that in future versions.

BlaY0, could you please let me know if we can make rooted ROM from the official Froyo OTA following the steps you used for the Vodafone OTA:
Yes. That's the way I made this one too.

Is there any major differences between the vodafone version and wwe except the vodafone crap? I would like to know that before flashing wwe version :)
Try it and tell us if you want.

I'm running it right now, so far quite a few freezes... had to pull the battery 3 times already. did a clean wipe before flashing.
Perflock is disabled via kernel module from SetCPU. If you use kernel without perflock, then you should use SetCPU or similar software to set some profiles. Stock kernel in Voda ROM also had some problems with ondemand governor (dunno if this is still the case with this one) forcing the proc to the highest frequency most of the time which is not good for your battery I guess. Maybe it is not such a good idea to disable perflock with this kernel after all so here is how you can enable it again:
Code:
adb shell chmod 644 /data/local/init.d/90perflock
adb reboot
...or use my kernel from the other thread (I know you already tried that). Future versions of this ROM will also contain OC kernel etc.
 
Last edited:
  • Like
Reactions: Daihogo

BlaY0

Retired Recognized Developer
Sep 15, 2007
1,553
566
0
Medvode
OK, I have a request for you guys...

Can someone put this ROM to some other file sharing sites posting the link here and I will update 1st post adding the link.

Please test all aspects of this ROM so we could isolate the problems and try to find solutions for them...