equal
deleted
inserted
replaced
183 ``bcdedit`` can be run with alternative options:: |
183 ``bcdedit`` can be run with alternative options:: |
184 |
184 |
185 cmd# bcdedit.exe /set nointegritychecks on |
185 cmd# bcdedit.exe /set nointegritychecks on |
186 cmd# bcdedit.exe /set nointegritychecks off |
186 cmd# bcdedit.exe /set nointegritychecks off |
187 |
187 |
188 Recovery. |
188 Recovery |
189 ========= |
189 ======== |
190 |
190 |
191 To enter phone to recovery mode press ``VolumeDown``+``Power`` button or:: |
191 To enter phone to recovery mode press ``VolumeDown``+``Power`` button or:: |
192 |
192 |
193 adb reboot recovery |
193 adb reboot recovery |
194 |
194 |
195 See: |
195 See: |
196 |
196 |
197 http://teamw.in/project/twrp2 |
197 http://teamw.in/project/twrp2 |
198 Custom recovery built. |
198 Custom recovery built. |
199 |
199 |
200 ADB tips. |
200 ADB tips |
201 ========= |
201 ======== |
202 |
202 |
203 List available devices:: |
203 List available devices:: |
204 |
204 |
205 $ adb devices |
205 $ adb devices |
206 |
206 |
283 |
283 |
284 Show system log:: |
284 Show system log:: |
285 |
285 |
286 $ adb logcat |
286 $ adb logcat |
287 $ adb logcat "*:W" |
287 $ adb logcat "*:W" |
|
288 |
|
289 logcat |
|
290 ====== |
|
291 |
|
292 Get help:: |
|
293 |
|
294 adb logcat --help |
|
295 |
|
296 Clean log:: |
|
297 |
|
298 adb logcat -c |
|
299 |
|
300 Log to file:: |
|
301 |
|
302 adb logcat -f my.log |
288 |
303 |
289 dumpsys |
304 dumpsys |
290 ======= |
305 ======= |
291 |
306 |
292 Info from all services:: |
307 Info from all services:: |
316 $ adb shell dumpsys netstats |
331 $ adb shell dumpsys netstats |
317 |
332 |
318 * https://source.android.com/devices/tech/debug/dumpsys.html |
333 * https://source.android.com/devices/tech/debug/dumpsys.html |
319 * http://stackoverflow.com/questions/11201659/whats-the-android-adb-shell-dumpsys-tool-and-what-are-its-benefits |
334 * http://stackoverflow.com/questions/11201659/whats-the-android-adb-shell-dumpsys-tool-and-what-are-its-benefits |
320 |
335 |
321 List partition. |
336 List partition |
322 =============== |
337 ============== |
323 |
338 |
324 List partitions (with sizes):: |
339 List partitions (with sizes):: |
325 |
340 |
326 android# cat /proc/partitions |
341 android# cat /proc/partitions |
327 android# cat /proc/mtd |
342 android# cat /proc/mtd |
351 |
366 |
352 Getting package name, version, API requirements and permissions:: |
367 Getting package name, version, API requirements and permissions:: |
353 |
368 |
354 $ aapt dump badging $FILE.apk |
369 $ aapt dump badging $FILE.apk |
355 |
370 |
356 Controlling Android from PC. |
371 Controlling Android from PC |
357 ============================ |
372 =========================== |
358 |
373 |
359 * http://code.google.com/p/androidscreencast/ |
374 * http://code.google.com/p/androidscreencast/ |
360 * http://code.google.com/p/android-screen-monitor/ |
375 * http://code.google.com/p/android-screen-monitor/ |
361 * http://androidwebkey.com/ |
376 * http://androidwebkey.com/ |
362 |
377 |