equal
deleted
inserted
replaced
167 Show system log:: |
167 Show system log:: |
168 |
168 |
169 $ adb logcat |
169 $ adb logcat |
170 $ adb logcat "*:W" |
170 $ adb logcat "*:W" |
171 |
171 |
|
172 dumpsys |
|
173 ======= |
|
174 |
|
175 Info from all services:: |
|
176 |
|
177 $ adb shell dumpsys |
|
178 |
|
179 List of available services:: |
|
180 |
|
181 $ adb shell service list |
|
182 |
|
183 Info from concrete service:: |
|
184 |
|
185 $ adb shell dumpsys phone |
|
186 $ adb shell dumpsys diskstats |
|
187 $ adb shell dumpsys usb |
|
188 $ adb shell dumpsys activity |
|
189 $ adb shell dumpsys package |
|
190 $ adb shell dumpsys display |
|
191 $ adb shell dumpsys gfxinfo |
|
192 $ adb shell dumpsys power |
|
193 $ adb shell dumpsys battery |
|
194 $ adb shell dumpsys batteryinfo |
|
195 $ adb shell dumpsys cpuinfo |
|
196 $ adb shell dumpsys dbinfo |
|
197 $ adb shell dumpsys meminfo |
|
198 $ adb shell dumpsys account |
|
199 $ adb shell dumpsys netstats |
|
200 |
|
201 * https://source.android.com/devices/tech/debug/dumpsys.html |
|
202 * http://stackoverflow.com/questions/11201659/whats-the-android-adb-shell-dumpsys-tool-and-what-are-its-benefits |
|
203 |
172 List partition. |
204 List partition. |
173 =============== |
205 =============== |
174 |
206 |
175 List partitions (with sizes):: |
207 List partitions (with sizes):: |
176 |
208 |
179 |
211 |
180 List mounted file systems:: |
212 List mounted file systems:: |
181 |
213 |
182 android# mount |
214 android# mount |
183 android# df |
215 android# df |
|
216 |
|
217 Remount /system as RW |
|
218 ===================== |
|
219 |
|
220 Usually with:: |
|
221 |
|
222 $ adb remount |
|
223 |
|
224 If you have root but above command fail:: |
|
225 |
|
226 $ adb shell |
|
227 android# su |
|
228 android# mount | grep /system |
|
229 ... |
|
230 android# mount -o remount,rw /system |
184 |
231 |
185 Controlling Android from PC. |
232 Controlling Android from PC. |
186 ============================ |
233 ============================ |
187 |
234 |
188 * http://code.google.com/p/androidscreencast/ |
235 * http://code.google.com/p/androidscreencast/ |