Differences between revisions 1 and 5 (spanning 4 versions)
Revision 1 as of 2016-01-09 16:44:25
Size: 236
Editor: PieterSmit
Comment:
Revision 5 as of 2019-12-24 10:56:04
Size: 2292
Editor: PieterSmit
Comment:
Deletions are marked like this. Additions are marked like this.
Line 4: Line 4:
== 2019 Using docker ==
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:

== 2016 Commands ==
Line 17: Line 28:
 * 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.

 * 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
Line 19: Line 64:
 * 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)
}}}

adb - Android debug

2019 Using docker

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

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.
  • 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)

...

mobilephone/adb (last edited 2019-12-24 11:10:28 by PieterSmit)