Commit Graph

909 Commits

Author SHA1 Message Date
Elliott Hughes c500be926c Fix flashstation breakage.
We need to reset 'writable' each time round the loop (i.e. for each device).
2009-10-07 17:24:39 -07:00
Elliott Hughes b4add9b745 Make fastboot say "no permissions" for non-writable devices.
Without this patch, "adb devices" will say "no permissions" when it sees
a device it can't write to, but "fastboot devices" will silently ignore it.
This is confusing to n00bs, especially since it doesn't seem to be widely
known that a device's USB id might be different in the bootloader (meaning
two udev rules are needed). It can also be confusing if you're sshed in,
when you can't access the device because you won't be in the "plugdev"
group, but "fastboot devices" won't make this clear.

I'm not sure about the Mac OS and Windows changes. AIUI, devices are always
writable on those platforms, but I don't use either, so I can't test this.
This patch shouldn't alter the behavior on either of those platforms.
2009-10-06 18:07:49 -07:00
Android (Google) Code Review 04b7f9d42e Merge change I67a2ea3d
* changes:
  Now all the callers are gone, remove adb_networking.*.
2009-10-02 20:17:02 -04:00
Android (Google) Code Review c936376b74 Merge change Iab9ad144
* changes:
  Add back missing libdl in linker command.  The executables here contain call to function defined in libdl.so but the library is missing the linker commands. Currently, the library is linked via dependency of another library.  While this works, it is not the right thing to do.
2009-10-02 19:29:57 -04:00
Elliott Hughes 67a2ea3dea Now all the callers are gone, remove adb_networking.*.
(This is the final patch removing adb networking.)

Bug: 1122968
2009-10-02 13:29:47 -07:00
Doug Kwan ab9ad14429 Add back missing libdl in linker command. The executables here contain call
to function defined in libdl.so but the library is missing the linker commands.
Currently, the library is linked via dependency of another library.  While this
works, it is not the right thing to do.
2009-10-02 12:02:02 -07:00
Tom Zhu cad5c9ad4b am 4d0b21f4: am 4833d9f4: init: builtins: trancate target file in do_copy
Merge commit '4d0b21f4ac5908f695c9c0759c3a34511d8fd97b'

* commit '4d0b21f4ac5908f695c9c0759c3a34511d8fd97b':
  init: builtins: trancate target file in do_copy
2009-10-01 12:18:11 -07:00
Dan Egnor e18ddc50d6 am a39840b0: am 04ea5b97: Add backup_initialize event to track initializeDevice() requests
Merge commit 'a39840b0402f9345e037396639223ef2004fa5fd'

* commit 'a39840b0402f9345e037396639223ef2004fa5fd':
  Add backup_initialize event to track initializeDevice() requests
2009-10-01 11:47:19 -07:00
Jeff Hamilton 6a4cb89243 am e76eacac: am 9e42da45: Add a new event log tag for corrupted database files.
Merge commit 'e76eacac590ab1f9f5a08da0a92b0b1acac5037b'

* commit 'e76eacac590ab1f9f5a08da0a92b0b1acac5037b':
  Add a new event log tag for corrupted database files.
2009-10-01 11:18:38 -07:00
Tom Zhu 4d0b21f4ac am 4833d9f4: init: builtins: trancate target file in do_copy
Merge commit '4833d9f4986d6dafacff841beb3bf93172c84bdc' into eclair-plus-aosp

* commit '4833d9f4986d6dafacff841beb3bf93172c84bdc':
  init: builtins: trancate target file in do_copy
2009-09-30 14:25:47 -07:00
Tom Zhu 4833d9f498 init: builtins: trancate target file in do_copy
add O_TRUNC flag in open(), which will truncate the target file,
otherwise, copy will keep the old content of the target file.

Signed-off-by: Tom Zhu <ling.zhu@motorola.com>
Signed-off-by: San Mehat <san@google.com>
2009-09-30 14:15:49 -07:00
Dan Egnor a39840b040 am 04ea5b97: Add backup_initialize event to track initializeDevice() requests
Merge commit '04ea5b974d12753d9ceae280fea0037cae1ba192' into eclair-plus-aosp

* commit '04ea5b974d12753d9ceae280fea0037cae1ba192':
  Add backup_initialize event to track initializeDevice() requests
2009-09-29 19:18:38 -07:00
Dan Egnor 04ea5b974d Add backup_initialize event to track initializeDevice() requests 2009-09-29 19:11:03 -07:00
Jeff Hamilton e76eacac59 am 9e42da45: Add a new event log tag for corrupted database files.
Merge commit '9e42da45cf8de612107fb14660763eeca7582b8f' into eclair-plus-aosp

* commit '9e42da45cf8de612107fb14660763eeca7582b8f':
  Add a new event log tag for corrupted database files.
2009-09-29 12:22:04 -07:00
Jeff Hamilton 9e42da45cf Add a new event log tag for corrupted database files.
Change-Id: I6b920de4e7c86257cb56a75e570c01a42fb2d082
2009-09-29 11:46:46 -07:00
Ben Cheng fcf7a09bab am 78e7e400: am 09e71378: Print code around PC and LR in the inline log.
Merge commit '78e7e400a8bb49bffaa312c856bd9e948b1a7ba3'

* commit '78e7e400a8bb49bffaa312c856bd9e948b1a7ba3':
  Print code around PC and LR in the inline log.
2009-09-28 11:27:30 -07:00
Ben Cheng 78e7e400a8 am 09e71378: Print code around PC and LR in the inline log.
Merge commit '09e713789e31f640a80af1cddb2fc40cbeb02ad5' into eclair-plus-aosp

* commit '09e713789e31f640a80af1cddb2fc40cbeb02ad5':
  Print code around PC and LR in the inline log.
2009-09-28 11:21:35 -07:00
Ben Cheng 09e713789e Print code around PC and LR in the inline log.
8 more lines should provide more crucial information in weird cases.
2009-09-28 11:09:22 -07:00
Android (Google) Code Review 2b2e61bc63 Merge change 27323
* changes:
  Fix up ls -s.
2009-09-28 10:20:48 -04:00
Andy McFadden 9feee025a0 Fix up ls -s.
Added the "total" line, which makes it easy to answer questions like,
"how the hell much space am I wasting on /data/dalvik-cache?".

Also fixed the -s filename output, which was showing mostly-full paths
when a simple filename was called for.
2009-09-27 15:13:56 -07:00
Ethan.Du 45e8468f60 am 9e421c94: am 3afe20b0: vold: Add support for /dev/block/mmcblk1
Merge commit '9e421c9410a1b1ec95db298a23e29fb4dd200ea4'

* commit '9e421c9410a1b1ec95db298a23e29fb4dd200ea4':
  vold: Add support for /dev/block/mmcblk1
2009-09-25 11:06:56 -07:00
Jean-Baptiste Queru e7f9411f62 am 814215f4: am ff7d5835: Merge change 26093 into eclair
Merge commit '814215f44e804e198538b9cf679a4d2f1a69d904'

* commit '814215f44e804e198538b9cf679a4d2f1a69d904':
  Add NOTICE file and license tag for adb
2009-09-25 11:05:11 -07:00
David 'Digit' Turner 1199c43a44 am 6b4e9ebc: am a0c98ef0: Ensure -user builds can run the dex preopt pass in the emulator.
Merge commit '6b4e9ebc4cab1dab3b8769a27868addd202a29b5'

* commit '6b4e9ebc4cab1dab3b8769a27868addd202a29b5':
  Ensure -user builds can run the dex preopt pass in the emulator.
2009-09-25 08:52:49 -07:00
Ethan.Du 9e421c9410 am 3afe20b0: vold: Add support for /dev/block/mmcblk1
Merge commit '3afe20b0beb7e274eee195de436211a3e8d1b0ce' into eclair-plus-aosp

* commit '3afe20b0beb7e274eee195de436211a3e8d1b0ce':
  vold: Add support for /dev/block/mmcblk1
2009-09-24 10:52:13 -07:00
Ethan.Du 3afe20b0be vold: Add support for /dev/block/mmcblk1
Signed-off-by: Ethan.Du <a7233c@motorola.com>
Signed-off-by: San Mehat <san@google.com>
2009-09-24 10:16:15 -07:00
Jean-Baptiste Queru 814215f44e am ff7d5835: Merge change 26093 into eclair
Merge commit 'ff7d5835d91b979836b66dc42fac69adf2c6c3a3' into eclair-plus-aosp

* commit 'ff7d5835d91b979836b66dc42fac69adf2c6c3a3':
  Add NOTICE file and license tag for adb
2009-09-24 09:50:03 -07:00
Android (Google) Code Review ff7d5835d9 Merge change 26093 into eclair
* changes:
  Add NOTICE file and license tag for adb
2009-09-24 12:45:49 -04:00
David 'Digit' Turner 6b4e9ebc4c am a0c98ef0: Ensure -user builds can run the dex preopt pass in the emulator.
Merge commit 'a0c98ef01a4c5a859fdde35fed7977b1eb919007' into eclair-plus-aosp

* commit 'a0c98ef01a4c5a859fdde35fed7977b1eb919007':
  Ensure -user builds can run the dex preopt pass in the emulator.
2009-09-23 11:43:23 -07:00
Robert CH Chou 8a0ba1b1e4 am 9aaa76a7: am 79aedbee: Merge change 26423 into eclair
Merge commit '9aaa76a7af547a34251c4eb480a4aa3d7485b56d'

* commit '9aaa76a7af547a34251c4eb480a4aa3d7485b56d':
  Add support for Acer devices
2009-09-23 11:33:04 -07:00
Dan Egnor 05c2df2b41 am 5864a8c9: am b92174db: Add event parameter for the restore set (device id) data is being restored from
Merge commit '5864a8c9021240e061ce2e4e76c95e2b3d3daa9e'

* commit '5864a8c9021240e061ce2e4e76c95e2b3d3daa9e':
  Add event parameter for the restore set (device id) data is being restored from
2009-09-23 11:31:45 -07:00
David 'Digit' Turner a0c98ef01a Ensure -user builds can run the dex preopt pass in the emulator.
This is done by ensuring that /init.goldfish.rc and /system/etc/init.goldfish.sh
are part of the system image, even if it lacks other emulator related bits.
2009-09-23 11:22:31 -07:00
Robert CH Chou 9aaa76a7af am 79aedbee: Merge change 26423 into eclair
Merge commit '79aedbee8ff9d9c37ae063fc970632faa3f90227' into eclair-plus-aosp

* commit '79aedbee8ff9d9c37ae063fc970632faa3f90227':
  Add support for Acer devices
2009-09-22 13:36:50 -07:00
Android (Google) Code Review 79aedbee8f Merge change 26423 into eclair
* changes:
  Add support for Acer devices
2009-09-22 16:29:09 -04:00
Robert CH Chou 7953b89e8d Add support for Acer devices
Change-Id: I7045249f86e2b628c31c888e95eb5ba6f6c47251
2009-09-22 13:03:14 -07:00
Dan Egnor 5864a8c902 am b92174db: Add event parameter for the restore set (device id) data is being restored from
Merge commit 'b92174db6d93521656893a2c5108950417532c1d' into eclair-plus-aosp

* commit 'b92174db6d93521656893a2c5108950417532c1d':
  Add event parameter for the restore set (device id) data is being restored from
2009-09-22 12:47:36 -07:00
Dan Egnor b92174db6d Add event parameter for the restore set (device id) data is being restored from 2009-09-22 10:42:52 -07:00
Christopher Tate 6985357875 am 02f31506: am 061b6de7: Add event log tag for server-prompted reset of backup data
Merge commit '02f315068e02aa82bc7846b58c4ae959c4b97a24'

* commit '02f315068e02aa82bc7846b58c4ae959c4b97a24':
  Add event log tag for server-prompted reset of backup data
2009-09-21 13:26:21 -07:00
Christopher Tate 02f315068e am 061b6de7: Add event log tag for server-prompted reset of backup data
Merge commit '061b6de7b350a03a969a82b273a4d585ffbd086c' into eclair-plus-aosp

* commit '061b6de7b350a03a969a82b273a4d585ffbd086c':
  Add event log tag for server-prompted reset of backup data
2009-09-21 13:21:16 -07:00
Christopher Tate 061b6de7b3 Add event log tag for server-prompted reset of backup data 2009-09-21 13:12:09 -07:00
Doug Zongker a07e147790 am b4da08cd: am 88003b0d: Merge change 26051 into eclair
Merge commit 'b4da08cd7447c98a9f9b5f39e07c3d5a7b5e7ffc'

* commit 'b4da08cd7447c98a9f9b5f39e07c3d5a7b5e7ffc':
  add account field to the sync log event
2009-09-21 09:31:20 -07:00
Doug Zongker b4da08cd74 am 88003b0d: Merge change 26051 into eclair
Merge commit '88003b0de2d1d9c24ef4542473e6eabca79d0bd7' into eclair-plus-aosp

* commit '88003b0de2d1d9c24ef4542473e6eabca79d0bd7':
  add account field to the sync log event
2009-09-21 09:25:44 -07:00
Android (Google) Code Review 88003b0de2 Merge change 26051 into eclair
* changes:
  add account field to the sync log event
2009-09-21 12:21:08 -04:00
Mike Lockwood 505f05e490 am 8afb03fc: am 6ae92563: adb: Add USB Vendor IDs for LG and Huawei
Merge commit '8afb03fc12c131de8e8e0dae932dcead0a107949'

* commit '8afb03fc12c131de8e8e0dae932dcead0a107949':
  adb: Add USB Vendor IDs for LG and Huawei
2009-09-21 05:29:54 -07:00
Mike Lockwood 8afb03fc12 am 6ae92563: adb: Add USB Vendor IDs for LG and Huawei
Merge commit '6ae9256322053354c7d2badccc0ce5c24b37c243' into eclair-plus-aosp

* commit '6ae9256322053354c7d2badccc0ce5c24b37c243':
  adb: Add USB Vendor IDs for LG and Huawei
2009-09-21 05:24:54 -07:00
Mike Lockwood 6ae9256322 adb: Add USB Vendor IDs for LG and Huawei
Change-Id: Ib47e3e39609bac9cf34f2b9334aa95184b3db71d
Signed-off-by: Mike Lockwood <lockwood@android.com>
2009-09-21 08:09:59 -04:00
Chia-chi Yeh 3a5ae8753c am eed96af1: am 9b4f1ff2: init.rc: specify keystore directory and fix permissions.
Merge commit 'eed96af19d81803d982c8cb91e2a120c8035e980'

* commit 'eed96af19d81803d982c8cb91e2a120c8035e980':
  init.rc: specify keystore directory and fix permissions.
2009-09-20 23:06:44 -07:00
Chia-chi Yeh eed96af19d am 9b4f1ff2: init.rc: specify keystore directory and fix permissions.
Merge commit '9b4f1ff210c449920890581b191da3568c10fbd1' into eclair-plus-aosp

* commit '9b4f1ff210c449920890581b191da3568c10fbd1':
  init.rc: specify keystore directory and fix permissions.
2009-09-20 20:56:33 -07:00
Chia-chi Yeh 9b4f1ff210 init.rc: specify keystore directory and fix permissions. 2009-09-21 11:47:02 +08:00
Jean-Baptiste Queru 2fcdaf9907 Add NOTICE file and license tag for adb
BUG=1716164
2009-09-20 19:02:02 -07:00
Doug Zongker 6f9d1c2174 add account field to the sync log event 2009-09-20 15:48:22 -07:00