1 How to use adb with the HTC Hero:
3 Reference: http://theunlockr.com/2009/11/07/how-to-root-your-cdma-htc-hero-sprint-verizon/
5 . Make sure Settings: Applications: Development has USB debugging toggle on
7 . Connect Hero to USB cable
9 . On desktop cd to /opt/android/bin
11 . Start adb server as root by doing:
13 $ root ./adb start-server
15 . Verify that you can talk to the device with:
18 List of devices attached
21 if you don't see a device listed then something's wrong (Like perhaps
22 you didn't run the adb server as root)
24 . Get root shell with:
27 $ /data/local/asroot2 /system/bin/sh
29 Actually just doing adb shell gives me a root shell now.
31 . Remount /system as read/write:
33 $ mount -o remount,rw -t yaffs2 /dev/block/mtdblock3 /system
35 You now have /system mounted as read/write!
37 I think this has been simplified to adb remount before doing adb shell.
38 Not sure how to mount it read only again... Of course you could try
40 $ mount -o remount,ro -t yaffs2 /dev/block/mtdblock3 /system
42 Pushing and pulling files:
44 From Linux you can copy files to and from the Hero with
46 $ adb push <from> <to>
47 $ adb pull <from> <to>
48 --------------------------------------------------------------------------------
49 List of current apps (* saved to /scard/saved and uninstalled with pm
50 uninstall <program name>)
52 AccountSyncManager.apk
55 ApplicationsProvider.apk
56 ** Blockbuster_htc.apk
58 BrcmBluetoothServices.apk
67 CustomizationSettingsProvider.apk
68 CustomizationSetup.apk
75 DefaultContainerService.apk
76 * DownloadProvider.apk
77 * DownloadProviderUi.apk
91 GoogleCalendarSyncAdapter.apk
92 GoogleContactsSyncAdapter.apk
94 GooglePartnerSetup.apk
95 GoogleQuickSearchBox.apk
96 GoogleServicesFramework.apk
101 HTC_Evo_Sprint_NOVA_HEP_ML_320.apk
104 HtcAddProgramWidget.apk
105 HtcCalculatorWidget.apk
107 HtcCdmaMccProvider.apk
115 ** HtcFootprintsWidget.apk
117 HtcLocationPicker.apk
118 HtcLocationService.apk
121 HtcMessageProvider.apk
122 HtcMessageUploader.apk
123 HtcMusic.apk (This is tempting)
126 ** HtcRingtoneTrimmer.apk
127 ** HtcRingtoneWidget.apk
128 HtcSettingsProvider.apk
134 HtcWeatherWallpaper.apk
136 ** Kindle-1.0.2.80600055-OEM-SingleSign.apk
138 LiveWallpapersPicker.apk
139 MagicSmokeWallpapers.apk
163 SocialNetworkProvider.apk
166 * SprintTV_v1_0_4_46_124166.apk
168 * Sprint_InstallerNC_v2_1_0.apk
169 * Sprint_Navigator.apk
176 TelephonyProvider.apk
181 UserDictionaryProvider.apk
183 VisualizationWallpapers.apk
188 WeatherAgentService.apk
190 WeatherSyncProvider.apk
191 * WidgetDownloadManager.apk
196 ** com.htc.FMRadioWidget.apk
197 * com.htc.FriendStreamWidget.apk
198 com.htc.MusicWidget.apk
199 * com.htc.NewsReaderWidget.apk
200 com.htc.StockWidget.apk
201 * com.htc.TwitterWidget.apk
202 com.htc.WeatherWidget.apk
203 htcbookmarkwidget.apk
204 htccalendarwidgets.apk
205 htccontactwidgets.apk
208 htcsettingwidgets.apk
209 install_flash_player.apk
210 * nascar09-prod-release.apk
215 vtt-sprint_v5_1_60.apk