yashsingh1/xdaforums huggingface dataset:
[Hero, G2 Touch Android Development] nprussell:
VillainROM4.0 Beta2 – More Stable BUILD

Overview

This BETA build is a port of a recent WWE 2.1 Legend dump. You'll be pleased to know that the speed of Rosie is double what it was before.

This is a very solid build, which is incredibly stable.

Features

HTC Quietly Brilliant Bootscreen (Please feel free to create some bootanimation.zips!

*

Notification Trackball doesn't flash like mad

*

Eris Port speed from a FULLY functional legend build

*

Fully working market – all apps, protected or otherwise working

*

Apps2SD - Working

*

Busybox

*

Root

*

Video Working

*

Optimized PNGs & Zip Aligned apks

*

All Legend goodies – Wallpaper, Friendstream, new widget designs

*

Working Google Navigation

*

Working embedded webpages/ip (yey!)

*

Working 3D Gallery (May FC once on first boot)

Known Issues

See post #3 for known issues.

Special thanks to:

RaiderX (for saving me hours with Rosie fix)

anon2212/Pulser (for his perseverance, dedication and inspiration)

Benham (as some of this build is taken from his ORIGINAL Legendary rom, before any fixes were applied)

Kendong (for his support & something I can't share just yet).

LennyUK (for help & support)

...& Everyone else that’s remained incredibly loyal, friendly and supportive throughout what has turned out to be an epic project.

WHEN INSTALLING> Follow this process:~

1. Nandroid Backup

2. FULL WIPE (Might work without if coming from Villain 4.0 Beta

3. Flash the ROM

4. Follow the setup wizard

5. When Sense has fully loaded, reboot.

6. Download Spare Parts from market and set transitions to FAST.

7. Restore/Install all apps, then reboot again> this should cache some of your apps, and speed up the system.

8. Test, Test, Test!

Once again, Thank you for your continued support.

If you like this rom, or any of my work, please consider making a small donation using the link below. I could really do with the cash as I've been on the baked beans diet all week.

Thank you,

NPR

*********

Downloads:

Www.villainrom.co.uk/villain4Beta2.zip

Www.villainrom.co.uk/usmirror/villain4Beta2.zip

More mirrors to follow

*********

Please use the BUG TRACKER for bug reporting!

.

I would like to dedicate this space as a permanent THANK YOU to Mike Perry, from Union City in the US. Mike kindly donated a HTC Hero for dev use. After my original G2 broke, I was left with only one again. Now I have a lot more time for testing thanks to his incredibly generous donation. Thank you, once again Mike.

​

GRAPHICAL GLITCH FIX & SENSE CRASH FIX - COURTESY OF HOMERSP. Thank you; you've saved me some work there! :)

FLASH THIS OVER VILLAIN4.0 BETA2 ONLY!
[Hero, G2 Touch Android Development] nprussell:
22/03/10 - Villain 4.0 BETA 2

- Back end Speed Tweaks

- Rosie speed/laginess completely fixed

- Fixed Apps2SD

- Fixed frantic flashing trackball notification

GRAPHICAL GLITCH FIX & SENSE UI CRASH FIX - COURTESY OF HOMERSP. Thank you; you've saved me some work there! :)

It was caused by the Google Search bar widget after all.

FLASH THIS OVER VILLAIN4.0 BETA2 ONLY!
[Hero, G2 Touch Android Development] nprussell:
Known Issues

Google Search Bar widget causes the Sense FC - Homersp has fixed this, and the update.zip has been added to first post.

*

GPS issue still exists. Please reboot phone with GPS on from settings for a temp fix. I am working on fixing this across all 2.1 Sense roms. Again, Please wait until Monday/Tuesday.

*

Rotation Bug still exists in Gallery3D-MT
[Hero, G2 Touch Android Development] Lennyuk:
ATTENTION ALL PEOPLE LOOKING AT THIS ROM

As Nathan is away for the weekend there has been various update.zip hot fixes made in his absence to fix tiny bugs and problems.

Please go to this link to find these http://www.villainrom.kriev.com/

There are fixes for Apps2SD issues (if you have any) as well as removing the flashing trackball lights (if it bothers you that much)

Thanks goes out to all those involved in these fixes, and hosting them.

Thank you for your time :)

Back to origional post:

See i was going to post and ruin your reserved, but decided not to, downloading now and will flash as soon as I can, bit slow at work this afternoon now anyway.
[Hero, G2 Touch Android Development] tombriden:
Awesome!!! Thanks a lot for all your hard work. Will be getting this flashed when i'm home from work :)
[Hero, G2 Touch Android Development] nprussell:
Lol, bloody stupid 30 second rule...

I SO nearly missed it!
[Hero, G2 Touch Android Development] kosworld:
Thanks but what the difference off behaam build
[Hero, G2 Touch Android Development] Lennyuk:
putting it on sd card to flash now :)
[Hero, G2 Touch Android Development] nprussell:
I haven't tried Benham's build without the changes, so I couldn't tell you.

The first blindingly obvious difference is that all apps show in the market.

Other than that, it should be slightly quicker right from the go... but give it 2-3 days, and I'll HUGELY improve the speed.

Updates should all be no-wipe, too :)
[Hero, G2 Touch Android Development] fleming222:
Great Work, Can't wait for the speed tweaks!
[Hero, G2 Touch Android Development] kevinlow:
just wondering..is this comes with the original theme?? or the 3.4 theme??
[Hero, G2 Touch Android Development] ashes:
Nandbackuping ... and preparing to flash
[Hero, G2 Touch Android Development] boypower:
Installing Now :)

Thanks Lot, really appreciate your work ... :)
[Hero, G2 Touch Android Development] pulser_g2:
Hi Nathan,

I presume you have no issue with me 'holding the fort' while you're at the weddings? (ie. Any hotfixes or update.zips as discovered.

I'll use this thread, or new site if it gets sorted...

Hopefully we'll hear from the guy offering the villainrom domain. i suggested a php bug tracker. Just to keep it easier to see any bugs...
[Hero, G2 Touch Android Development] drygmasken:
About 3min to flash :D
[Hero, G2 Touch Android Development] Lennyuk:
I am in first boot now, its taking a while :)

Edit: taking absolutely ages
[Hero, G2 Touch Android Development] pulser_g2:
It will be stock sense. I will look ay 'collecting' themes this weekend and tonight...
[Hero, G2 Touch Android Development] nprussell:
Excellent mate. No, I have no issue with this whatsoever.

I'm about to PM you.
[Hero, G2 Touch Android Development] Lennyuk:
I really think we should be using hashtags while in this thread in order to make it easier to identify problems, especially as nathan is gone this weekend.

#bugs for bugs

#ideas for new ideas

etc :)
[Hero, G2 Touch Android Development] kevinlow:
many thanks..will prefer the espresso type of rosie & lockscreen . ..

thanks
[Hero, G2 Touch Android Development] kiz:
Is facebook integration working for everyone else? It says I have zero friends when I try to link my contacts to their FB profiles.

Other than that, excellent rom, thank you very much.
[Hero, G2 Touch Android Development] Mick70:
bug or feature?

I wonder that double press on "Menu" button unlocks the phone. Had the same with Villainrom 3.4.

Is that a bug or feature?
[Hero, G2 Touch Android Development] vjprakashbe:
This feature exists since 1.5; nothing new!!!
[Hero, G2 Touch Android Development] Mick70:
Didn´t recognise it before... thanx!
[Hero, G2 Touch Android Development] zzzz2006:
Thanks for great work,but no Chinese and Chinese touch input
[Hero, G2 Touch Android Development] Bunnygum:
I am experiencing problems with the first boot up. I have tried 6 times waiting up to 30 minutes but cannot get it to go pass the white "quietly brilliant" splash screen. Unfortunately with that flash screen does not indicate if the software is still running or that the device has seized. I have not seen comments on this here so I figure it is just my device.

Any suggestions on how to remedy this would be appreciated.
[Hero, G2 Touch Android Development] arshad14:
Have you done a complete wipe?

-Wipe factory/reset

-Wipe dalvik

-Wipe ext

Then flash the ROM. See if that helps. The first boot always does take quite some time. Up to 10 minutes I'd say...
[Hero, G2 Touch Android Development] antz88c:
this is a great release compared to those i've tested.

is it Sunday or Monday already? LOL!!!
[Hero, G2 Touch Android Development] pulser_g2:
Run adb logcat and post the output. I'll take a look at it...
[Hero, G2 Touch Android Development] pulser_g2:
I am making you an update.zip right now. It will put in HTC_CIME, and comes untested (I wouldn't know what to do with Chinese input :)). If you nandroid first, and know how to restore, I'll give you the file...

EDIT: OK. Untested HTC_CIME added at the link in my signature (the one surrounded by red writings) :)

Report back and I'll mention that it's tested if it works. You'll need to add it using the keyboards section of settings as usual...
[Hero, G2 Touch Android Development] awsy44:
your amazing bro, had been looking everywhere to fix this trackball going nuts, :) now my trackball works in peace!. cheers man
[Hero, G2 Touch Android Development] murdoch1:
this rom is brilliant. I had been using the alpha release from bencharm but once again nathan works his magic. Can someone please fix the sort by issue within bookmarks please? It keeps defaulting to newest sand I want most used. Lol. I find this rom quick as it is. I Use minfree app and it works a treat. Andy
[Hero, G2 Touch Android Development] pulser_g2:
I've made an update.zip for the VillainROM 4.0 Beta including A2SD hotfix, as suggested by nathan.

It is available at this link. I haven't tried it yet, but it should work fine.
[Hero, G2 Touch Android Development] png6:
Many thanks for this great ROM. This kind of work really sets android apart from other mobile os's. Is there any chance that more languages will come as a update or alternative? Like - Swedish? :-)
[Hero, G2 Touch Android Development] alexh_:
Hi,

- I have 2 questions. Which ist the best recovery rom to flash the 4.0beta villain rom?

- The introduction says in point 7 "Restore/Install all apps, then reboot again> this should cache some of your apps, and speed up the system." --> How can i do this? With the Nandroid Backup?

Thanks a lot.
[Hero, G2 Touch Android Development] pulser_g2:
Doesn't morelocale on market let you do this? (I've never tried it, just heard it does this...)
[Hero, G2 Touch Android Development] pananza:
Morelocale let's you set a lot of different languages as system and/or input language, but it does not contain dictionaries for all the languages.

So in my case I can set english as system language, norwegian as input language (the way I prefer it). But I'll have no dictionary in norwegian so I'll have to tap all my input completely.
[Hero, G2 Touch Android Development] sakolaas:
This means that you either install all the apps from market, or restore them with Titantium Backup. If you've never used it before, I suggest you install it right away and get used to it :)
[Hero, G2 Touch Android Development] nscxp2005:
# Internal Memory Issue

Hello to all,

I'm having a problem that I cant fix. I have flashed the ROM, and restarted it, then restored my apps using Titanium Backup. Once finished I restarted again but when I get back to the home screen I noticed most of my internal space has been taken, even tho i have App2SD setup.

Please can somebody help me resolve this issue.

It says i have used up 127 of 165.

Thank you for your time

All the best

NSCXP2005
[Hero, G2 Touch Android Development] kevinlow:
is this auto A2SD??or do i need to redo my sd card partition??

thanks
[Hero, G2 Touch Android Development] pulser_g2:
I'm off out now, but this sounds like A2SD isn't working right. How many apps have you put in? I'm wondering if your dalvik cache isn't on SD or something like that...

The ls -l in /data/app shows the redirect fine?
[Hero, G2 Touch Android Development] nscxp2005:
I have restored 135 apps.

When I use that command, does it show where the apks are located? i.e /system/sd/app?

All the best

NSCXP2005

PS When I flashed the ROM I also applied the Fix you made.
[Hero, G2 Touch Android Development] o_tiger:
FC Nimbuzz

I like this ROM - thankx!

Nimbuzz is FC often - do we know any workaround?
[Hero, G2 Touch Android Development] ratson:
I guess dalvik stays in data like on behero. could it be also moved to sd? i have the same space problem....
[Hero, G2 Touch Android Development] Moonshield:
Hello

Great rom but still the battery life is quite poor, can this be fixed?

Another thing- the WIFI location does not find my specific city location (Be'er Sheva, Israel) only my country location (Israel). This is most notable in the weather icon in HTC flipping clock widget.

Again thanks for the great work, and can't wait for the speed tweaks :D
[Hero, G2 Touch Android Development] J-Zeus:
Well this is what I did - and slightly strange results.

I first did a full wipe ( dalvick, ext. etc ) - then flashed the rom - went through setup wzard as normal.

Then came against the Market not showing all apps I'd downloaded - so I decided to do it the hard way, and repartitioned my SD card.

Then flashed the rom again - now here is the strange bit - when I rebooted, all my settings were remembered and there was no setup required. I thought partitioning the SD card took you back to year zero???:confused::confused:

After that I used the Apps2SD fix, but it no work as far as I can tell - I've gone down to 90mb memory left, and only downloaded a few of my previously installed apps.
[Hero, G2 Touch Android Development] Lennyuk:
Morning all, I had to go out last night, guess I missed a lot.

Rom working fine for me. Rossie is a little slow but apart from that its not too much different from 3.4 really.

#Bug

- Bluetooth audio during calls does not work (old bug is now back??) found out when trying to arrange my night out and the call connected then no audio at all :)

-Facebook not syncing with contacts? will try the old fixes to get it to work now
[Hero, G2 Touch Android Development] Gtot:
Hi.

This rom is working really good for me. The speed is funny enough the same for me as 3.4, and the benchmark for CPU is even better with 4.0 (159 now 143 with 3.4)

#bugs

I only have a few problems:

Missing Danish T9 Keyboard (no, more locales can't do the trick)

FC when entering settings in Messages (i use Handsent, so it is not that bad, but i can't get in and turn off notifications in the standard messages app).

Rgds

Gtot
[Hero, G2 Touch Android Development] Lennyuk:
#Bug

- phone hangs sometimes on boot up as soon as the lock screen shows, forced to do a battery pull to fix.
[Hero, G2 Touch Android Development] nailist:
Yep, i had same issue with welcome screen - controls on wifi + modible or wifi only are select, not checkboxes.

Other than that the ROM seems stable but slow - and way better than behero.

Last time I tried behero (1.3.1) it had graphic corruption in the market app, crashed when setting APNs, used an old version of the music app with non-final artwork, and had an old friendstream with non-final artwork and a small widget. These are obvious bugs and Behnam still says '100% bug free'.

VR4 beta has the current Friendstream, Music & Stocks apps. It does crash using sudo and when setting APKs, but nprussell at least tells people it's a beta rather than saying it's perfect like Behnam does.

So yes, it's better than BeHero and nprussell is a lot more honest about the status of his ROMs. I can live with the imperfections and I recommend VR 4 over any other 2.1 ROM.
[Hero, G2 Touch Android Development] Lennyuk:
Ok my phone seems to not boot properly now after removing HtcLockScreen.

loads up to the homescreen (loading) then freezes

Dammit really don't want to have to wipe and start over again
[Hero, G2 Touch Android Development] mattywoz:
Bluetooth seems to be working for me although not sure if it's a bug or not. When connected either to my mac or my thinkpad, the phone shows paired but not connected but can still use file transfer. I have also had a quick test with my old Sony Ericsson headset and that seems to be working for audio although can't test the car kit as the wife's go out in the car :(
[Hero, G2 Touch Android Development] Lennyuk:
Ok I am reflashing (with wipe) will start over then nandroid then test removal of the lock screen again.

Silly me

Has anyone managed to successfully remove HtcLockScreen.apk on this rom?
[Hero, G2 Touch Android Development] pulser_g2:
Isn't there an option in recovery to move dalvik to the SD? I'm currently looking at the scripts to see if anything's different between now and Villain3.4
[Hero, G2 Touch Android Development] Lennyuk:
yes it is in recovery, but not all roms support it I don't think.
[Hero, G2 Touch Android Development] nikiforos:
I had the same problem, I applied the instructions on the following link and now I have dictionaries in both Turkish and English, only problem is Turkish letters does not appear in full keyboard, so I'm using compact qwerty keyboard.

http://ostebaronen.dk/changing-htc_ime-language-to-danish/
[Hero, G2 Touch Android Development] pulser_g2:
OK. I was just wondering... I checked the script for a2sd, and it is the same one as used in pretty much all the ROMs I looked in. Did 3.4 put dalvik to the SD card?

As far as I can see, this looks to be normal behaviour. Should I look at making a script to move dalvik, or is no-one too bothered?
[Hero, G2 Touch Android Development] Lennyuk:
No need to do that when you can do it in recovery anyway
[Hero, G2 Touch Android Development] pulser_g2:
Cool. I've got the commands anyway, but it would be a bugger to use them - apparently you get trouble if you don't make the changes 'offline' in recovery. I think the fix for this should be to use recovery to move the dalvik cache. That way, saves us worrying about scripts.

The a2sd script looks like it will support the move OK. Anyone fancy doing a before/after benchmark using the usual Pi, Linpack, etc.? (I'm too busy working on other stuff to faff with dalvik right now :()
[Hero, G2 Touch Android Development] kendong2:
actually it should be done in the apps2sd script. using the recovery option makes it absolutely static, it has to be reapplied after every rom update and will make the phone not booting without the sdcard inserted, or without ext partition on the card. changing lines 45, 63 and 95 in /etc/init.d/04apps2sd from

for i in app app-private;

to

for i in app app-private dalvik-cache;

should do it.
[Hero, G2 Touch Android Development] pulser_g2:
Update.zip for this uploading right now :) This will be another modification, and will appear on the mirror in my sig asap.
[Hero, G2 Touch Android Development] JayCe98:
about the FC when using the standard messaging application: I had it when restoring data with Titanium backup but not anymore after wipe + SMS restore via wavesecure. I guess low level data restore may not always be safe?
[Hero, G2 Touch Android Development] Phanes:
short report on battery consumption ...

Unplugged today in the morning 6:00, now 7 hours later 3% has been used in total. Thats very good!
[Hero, G2 Touch Android Development] mlanca:
i have a proble,m i don't see the goggle contatcs why?
[Hero, G2 Touch Android Development] pulser_g2:
Change uploaded to the page. Not tested it yet (I'm doing other stuff ;)), so please let me know how it goes.

If anything was to screw up, it's just one file to switch back, so should take 2 mins to fix, although I think it's fine...

Thanks kendon ;)
[Hero, G2 Touch Android Development] pulser_g2:
Yeah. Battery life in these legend ROMs is pretty impressive! Was that purely standby usage (ie. screen off) or was there any usage? (Just to give folk an idea)
[Hero, G2 Touch Android Development] eujene:
Tried 4.0.

It's nice, but way too slow yet.

#bugs: after titanium restore got a force close in sms, after few reboots cannot connect to home wifi network.

going back to 3.4.
[Hero, G2 Touch Android Development] Keefo:
can anyone tell me if its possible to install the HTC battery info app....

the one that was in Villain 3.4... i tried getting it from the market but was a no go!
[Hero, G2 Touch Android Development] Phanes:
@anon2122

Some push, one long call (34 min) and a few SMS ...
[Hero, G2 Touch Android Development] pulser_g2:
Update.zip on the way... :)
[Hero, G2 Touch Android Development] pulser_g2:
Link removed. As kendon points out quite correctly, this only works on Hero and Eris ROMs. This is a legend ROM, and it isn't compatible...
[Hero, G2 Touch Android Development] Keefo:
i had that, so i just didnt use Titanium backup and all was good.

Titanium backup just caused LOADS of problems for me once i restored everything...
[Hero, G2 Touch Android Development] Keefo:
cheers matey!

so i just flash that and all should be good for that app?
[Hero, G2 Touch Android Development] kendong2:
not gonna work. the htc widgets are for hero and eris, this rom is legend.
[Hero, G2 Touch Android Development] jhonnyD2:
thank u alot
[Hero, G2 Touch Android Development] pulser_g2:
Doh! Forgot about that. Gonna pull the link...

Links removed. :o
[Hero, G2 Touch Android Development] Phanes:
Sorry if it´s been asked already, but do you have Homer Simpson too in the display when you make a call?
[Hero, G2 Touch Android Development] pulser_g2:
If you're referring to my little green android friend, then yes :)
[Hero, G2 Touch Android Development] Phanes:
:D no, it is Homer instead of the Android. But I haven´t loaded anything like that on my phone.

Edit: I think tristan202´s nexus zip is the reason.
[Hero, G2 Touch Android Development] duanes:
google or goggle?
[Hero, G2 Touch Android Development] pulser_g2:
Weird. I don't get that. You flashed anything except stuff I've posted recently? (I've not touched that apk, so it's not me)

EDIT: I think you're right. Nexus theme sounds like the issue.
[Hero, G2 Touch Android Development] duanes:
Did you found a solution for removing the lockscreen??
[Hero, G2 Touch Android Development] kevinlow:
Ya..is there anyway to remove the homer caller id?

Many thanks
[Hero, G2 Touch Android Development] antz88c:
what link? I've already installed the "move dalvik-cache" how to revert back?
[Hero, G2 Touch Android Development] pulser_g2:
Put in the original phone.apk into /system/app and that should do the trick IIRC.
[Hero, G2 Touch Android Development] kendong2:
this was about the battery widget, not dalvik-cache. if you installed the dalvik move and your phone boots up you are good. would be nice if you could give us the output of "adb shell ls -l /data"...
[Hero, G2 Touch Android Development] pulser_g2:
No. Don't worry. that was to do with the old HTC battery widget... The A2SD fix for dalvik is fine :)

Unless you're having trouble... Since you're the only person I know who's tried it, could you do

adb shell
cd /data
ls -l

and post the output for me to check...

EDIT: Kendon beat me to it... :)
[Hero, G2 Touch Android Development] antz88c:
lrwxrwxrwx root root 2010-03-20 20:21 dalvik-cache -> /system/sd/dalvik-cache
prw-r--r-- system system 2010-03-20 11:55 gps_nmea_fifo
drwx------ system system 2010-03-20 20:22 backup
drwxrwxr-x system system 2010-03-20 20:56 system
drwxrwx--x system system 2010-03-20 19:25 anr
lrwxrwxrwx root root 2010-03-20 11:37 app-private -> /system/sd/app-private
lrwxrwxrwx root root 2010-03-20 11:37 app -> /system/sd/app
-rw-r--r-- root root 105 2010-03-20 11:37 fix_permissions.log
drwxrwxrwx bluetooth bluetooth 2010-03-20 20:23 btips
drwxrwxrwx root root 2010-03-20 11:37 DxDrm
lrwxrwxrwx root root 2010-03-20 11:37 drm -> /data/local
drwx------ root root 2010-03-20 20:57 property
drwxrwx--x system system 2010-03-20 20:18 data
drwxrwx--x shell shell 2010-03-20 11:37 local
drwxrwxrwx wimax wimax 2010-03-20 11:37 wimax
drwxrwx--t system misc 2010-03-20 20:57 misc
drwxr-x--- root log 2010-03-20 11:37 dontpanic
drwxrwx--- root root 2010-03-20 11:37 lost+found
#
[Hero, G2 Touch Android Development] kevinlow:
Mind to upload the original phone.apk?I can't see it..

Many thanks..
[Hero, G2 Touch Android Development] pulser_g2:
You're working fine :) All good
[Hero, G2 Touch Android Development] kendong2:
works fine, thanks for confirmation.

phone.apk can be found in the original rom's update.zip in /system/app.
[Hero, G2 Touch Android Development] pulser_g2:
Sure. Original phone.apk at this link