[G2 and Desire Z Android Development] Sphaerophoria:
I figure a lot of the people out there are like me and bought the desire z hoping that some genius people would root it and give us stock android. While I'm sure that will still happen and is in the process of happening I figured I'd share what I did to get me as far as I could without root.

This guide will NOT give you stock android, but it'll get you pretty darn close

You can revert any changes done here by either enabling all the disabled apps or doing a wipe of your phone

I am still in the process of getting through all this, some apps (like the broswer and messaging, dialer and contacts apps) will still look like they're a part of sense ui, you can find your own apps that you like for this.

I know this is dead simple and most of you guys have already figured this out by reading the G2 forum but I figured it would be easier to copy paste my work than to go through each package manually ;)

There are some things that may not work after this, still working out what's needed and what's not. Post will be updated as I find bugs

Step 1: Make sure you have working ADB

Step 2: Make sure you have temp root (visionary in market)

Step 3: Install stock apps we're going to need (find a stock rom and install the apps you want http://xdaforums.com/forumdisplay.php?f=758)

adb install all of the apps, for linux I did

find *.apk -exec adb install {} \;

Step 4: Disable all of the nasty sense UI crap (and preinstalled games and bell apps and such... anything unneeded)

adb shell

su

pm disable com.htc.FriendStreamWidget
pm disable com.htc.dcs.impl
pm disable com.htc.TwitterWidget
pm disable com.htc.fm
pm disable com.htc.android.mail
pm disable com.htc.htcmailwidgets
pm disable com.htc.provider.CustomizationSettings
pm disable com.htc.opensense
pm disable com.htc.htctwitter
pm disable com.htc.rosiewidgets.datastrip
pm disable com.htc.cspeoplesync
pm disable com.htc.rosiewidgets.backgrounddata
pm disable com.htc.htclocationservice
pm disable com.htc.copyright
pm disable com.htc.lockscreen
pm disable com.htc.appsharing
pm disable com.htc.ringtonewidget
pm disable com.htc.profilewidget
pm disable com.htc.StockWidget
pm disable com.htc.widget.clockwidget
pm disable com.htc.htccalendarwidgets
pm disable com.htc.htccontactwidgets
pm disable com.htc.CustomizationSetup
pm disable com.htc.searchanywhere
pm disable com.htc.android.wallpaper
pm disable com.htc.htcmsgwidgets
pm disable com.htc.music
pm disable com.htc.dcs.service.stock
pm disable com.htc.fieldtest
pm disable com.htc.recommend.widget
pm disable com.htc.connectedMedia
pm disable com.htc.AddProgramWidget
pm disable com.htc.htcsyncwidget
pm disable com.htc.dlnamiddlelayer
pm disable com.htc.android.htcime
pm disable com.htc.streamplayer
pm disable com.htc.googlereader
pm disable com.htc.dcs.service.utility
pm disable com.htc.launcher
pm disable com.htc.skinpicker
pm disable com.htc.rosiewidgets.dataroaming
pm disable com.htc.flashlight
pm disable com.htc.UpgradeSetup
pm disable com.htc.android.htcsetupwizard
pm disable com.htc.wdm
pm disable com.htc.musicmarkeditems
pm disable com.htc.cs
pm disable com.htc.FMRadioWidget
pm disable com.htc.searchanywhere.widget
pm disable com.htc
pm disable com.htc.android.teeter
pm disable com.htc.WeatherWidget
pm disable com.htc.soundrecorder
pm disable com.htc.htccompressviewer
pm disable com.htc.ringtonetrimmer
pm disable com.htc.FilePicker
pm disable com.htc.WifiRouter
pm disable com.htc.googlereaderwidget
pm disable com.htc.htcMessageUploader
pm disable com.htc.dmc
pm disable com.htc.album
pm disable com.htc.calendar
pm disable com.htc.htcsettingwidgets
pm disable com.htc.android.Stock
pm disable com.htc.OnlineAssetDetails
pm disable com.htc.recommend
pm disable com.htc.weather.agent
pm disable com.htc.rosiewidgets.screentimeout
pm disable com.htc.sync.provider.weather
pm disable com.htc.htcbookmarkwidget
pm disable com.htc.photo.widgets
pm disable com.htc.autorotatewidget
pm disable com.htc.wotaproviders
pm disable com.htc.flashliteplugin
pm disable com.htc.rosiewidgets.powerstrip
pm disable com.htc.android.calculator.widget
pm disable com.htc.android.image_wallpaper
pm disable com.htc.MusicWidget
pm disable com.htc.providers.uploads
pm disable com.htc.friendstream
pm disable com.htc.Weather
pm disable com.htc.socialnetwork.facebook
pm disable com.htc.rosiewidgets.tip
pm disable com.htc.android.quicklookup
pm disable com.htc.socialnetwork.flickr
pm disable com.htc.rosiewidgets.screenbrightness
pm disable com.htc.WeatherWallpaper
pm disable com.htc.provider.settings
pm disable com.htc.android.worldclock
pm disable com.htc.android.htcime.misc
pm disable com.htc.provider.weather
pm disable com.htc.messagecs
pm disable com.telenav.app.android.bell
pm disable com.quickplay.android.bellmediaplayer
pm disable com.SIE.Legend.BM.Tunes_and_Apps
pm disable ca.bell.wt.android.searchwidget
pm disable ca.bell.android.BellRpvr
pm disable com.gameloft.android.ANMP.GloftAsphalt5free.asphalt5
pm disable com.gameloft.android.GAND.GloftUNO.uno
pm disable com.gameloft.android.BELL.GloftLG09.LetsGolf
pm disable com.melodis.midomiMusicIdentifier.freemium
pm disable com.enstream
pm disable com.svox.pico
pm disable com.kobobooks.android
pm disable com.cyberon.cvc
pm disable com.broadcom.bt.app.system
pm disable com.futuredial
pm disable com.qo.android.htc

(hit enter a couple times at the end to make sure it worked out)

Step 5: REBOOT

*Edit do not disable com.htc.settings.accountsync, if you have

pm enable com.htc.settings.accountsync

do not disable com.htc.android.psclient

do not disable com.htc.sdm

If you want touch input you should probably leave com.htc.android.htcime enabled. This also gives some extra hardware keyboard support