1865
Comment:
|
← Revision 7 as of 2019-12-24 11:10:28 ⇥
2487
|
Deletions are marked like this. | Additions are marked like this. |
Line 4: | Line 4: |
== 2019 Using docker https://github.com/sorccu/docker-adb == 1. run adb server {{{ docker run -d --privileged -v /dev/bus/usb:/dev/bus/usb --name adbd sorccu/adb }}} 1. run adb command, need to autorize on phone {{{ ~$ docker run --rm -ti --net container:adbd sorccu/adb adb devices List of devices attached 977673415955384f5a device }}} |
|
Line 5: | Line 14: |
1. capture image of the phone screen {{{ $ docker run --rm -ti --tty=false --net container:adbd sorccu/adb adb exec-out screencap -p > screen.png }}} == 2016 Commands == |
|
Line 17: | Line 32: |
* 2016 - Info Linux & Flash http://free-electrons.com/blog/managing-flash-storage-with-linux/ |
adb - Android debug
2019 Using docker https://github.com/sorccu/docker-adb
run adb server
docker run -d --privileged -v /dev/bus/usb:/dev/bus/usb --name adbd sorccu/adb
run adb command, need to autorize on phone
~$ docker run --rm -ti --net container:adbd sorccu/adb adb devices List of devices attached 977673415955384f5a device
capture image of the phone screen
$ docker run --rm -ti --tty=false --net container:adbd sorccu/adb adb exec-out screencap -p > screen.png
2016 Commands
adb start-server
adb reboot-bootloader adb root
adb logcat
adb push C:\SANKET\apps\papertoss.apk /sdcard/nimbuzz
adb shell Run remote shell interactively
2016 - Info Linux & Flash http://free-electrons.com/blog/managing-flash-storage-with-linux/
- 2016-01 Problem the sg-i9001 just loops on "teamwin" blue screen, not booting.
- adb shell works while the screen loops, and i can push files to the phone.
from http://forum.xda-developers.com/showthread.php?t=1694617 got
- 2.3.2.1 as flashable image file
fastboot devices http://wiki.cyanogenmod.com/wiki/Fastboot
- fixed with
- adb shell
- /sdcard # dd if=twrp2.3.2.1-recovery.img of=/dev/block/mmcblk0p13
- found partition from # cat fstab.qcom
- rom booted - Resurrection-Remix-LP-v5.5.8-20151024-ariesve.zip
- Started updating app's
- Gave error, encryption of device failed , needed factory reset.
- Reboot into twrp recover factory reset and reboot again.
- Started updating app's
- adb shell
- Old notes - did not work
HBOOT * Recovery using adb 1. adb push twrp2.3.2.1-recovery.img /sdcard/. 1. adb shell 1. flash_image recovery /sdcard/twrp2.3.2.1-recovery.img 1. # flash_image partition file.img adb push flash_image /data/local adb push recovery.img /sdcard chmod 755 /data/local/flash_image /android/gt-i9001-s+# adb push flash_image /sdcard/ /android/gt-i9001-s+# adb push twrp2.3.2.1-recovery.img /sdcard/recovery.img cp /sdcard/flash_image /system/bin cd /system/bin chmod 777 flash_image /system # cp /sdcard/recovery.img . # cat fstab.qcom | grep rec * Reboot into fastboot mode with abd * grab new usb id 04e8:6601 Samsung Electronics Co., Ltd Mobile Phone * new udev file * 04e8:685e Samsung Electronics Co., Ltd GT-I9100 / GT-C3350 Phones (USB Debugging mode)
...