Diff
checker
Text
Text
Images
Documents
Excel
Folders
Legal
Enterprise
Desktop
Pricing
Sign in
Download Diffchecker Desktop
Compare text
Find the difference between two text files
Tools
History
Display
Layout
Split
Unified
Real-time editor
Hide whitespace changes
Hide unchanged lines
Disable line wrap
Diff precision
Smart
Syntax
None
Change appearance
Process
Ignore
Transform text
Go to first change
Edit input
Diffchecker Desktop
The most secure way to run Diffchecker. Get the Diffchecker Desktop app: your diffs never leave your computer!
Get Desktop
Untitled diff
Created
8 years ago
Diff never expires
Clear
Export
Share
Explain
142 removals
Lines
Total
Removed
Characters
Total
Removed
To continue using this feature, upgrade to
Diff
checker
Pro
View Pricing
168 lines
Copy
15 additions
Lines
Total
Added
Characters
Total
Added
To continue using this feature, upgrade to
Diff
checker
Pro
View Pricing
42 lines
Copy
[adb.adb_commands] Now inside def Shell(self, command, timeout_ms=None) (line 378)
[adb.adb_commands] Now inside def Shell(self, command, timeout_ms=None) (line 378)
[adb.adb_commands] command: dumpsys power | grep "Display Power"
[adb.adb_commands] command: dumpsys power | grep "Display Power"
[adb.adb_commands] timeout_ms: None
[adb.adb_commands] timeout_ms: None
[adb.adb_protocol] Inside StreamingCommand(cls, usb, service, command='', timeout_ms=None) (line 518)
[adb.adb_protocol] Inside StreamingCommand(cls, usb, service, command='', timeout_ms=None) (line 518)
[adb.adb_protocol] command before type test: dumpsys power | grep "Display Power" (<class 'str'>)
[adb.adb_protocol] command before type test: dumpsys power | grep "Display Power" (<class 'str'>)
[adb.adb_protocol] cls: <class 'adb.adb_protocol.AdbMessage'>
[adb.adb_protocol] cls: <class 'adb.adb_protocol.AdbMessage'>
[adb.adb_protocol] usb: <adb.common.TcpHandle object at 0x7fb494cf5c18>
[adb.adb_protocol] usb: <adb.common.TcpHandle object at 0x7fb494cf5c18>
[adb.adb_protocol] service: b'shell'
[adb.adb_protocol] service: b'shell'
[adb.adb_protocol] command after type test: b'dumpsys power | grep "Display Power"' (<class 'bytes'>)
[adb.adb_protocol] command after type test: b'dumpsys power | grep "Display Power"' (<class 'bytes'>)
[adb.adb_protocol] timeout_ms: None
[adb.adb_protocol] timeout_ms: None
[adb.adb_protocol] Now inside def Open (line 429)
[adb.adb_protocol] Now inside def Open (line 429)
[adb.adb_protocol] destination: b'shell:dumpsys power | grep "Display Power"'
[adb.adb_protocol] destination: b'shell:dumpsys power | grep "Display Power"'
[adb.adb_protocol] cls: <class 'adb.adb_protocol.AdbMessage'>
[adb.adb_protocol] cls: <class 'adb.adb_protocol.AdbMessage'>
[adb.adb_protocol] usb: <adb.common.TcpHandle object at 0x7fb494cf5c18>
[adb.adb_protocol] usb: <adb.common.TcpHandle object at 0x7fb494cf5c18>
Copy
Copied
Copy
Copied
[adb.adb_protocol] Sending msg: <adb.adb_protocol.AdbMessage object at
0x7fb45822f860
>
[adb.adb_protocol] Sending msg: <adb.adb_protocol.AdbMessage object at
0x7fb494b63d30
>
[adb.adb_protocol] Now inside def Pack(self) (line 251)
[adb.adb_protocol] Now inside def Pack(self) (line 251)
[adb.adb_protocol] self.format: b'<6I'
[adb.adb_protocol] self.format: b'<6I'
[adb.adb_protocol] self.command: 1313165391
[adb.adb_protocol] self.command: 1313165391
[adb.adb_protocol] self.arg0: 1
[adb.adb_protocol] self.arg0: 1
[adb.adb_protocol] self.arg1: 0
[adb.adb_protocol] self.arg1: 0
[adb.adb_protocol] len(self.data)): 43
[adb.adb_protocol] len(self.data)): 43
[adb.adb_protocol] self.checksum: 3973
[adb.adb_protocol] self.checksum: 3973
[adb.adb_protocol] self.magic: 2981801904
[adb.adb_protocol] self.magic: 2981801904
[adb.adb_protocol] packed: b'OPEN\x01\x00\x00\x00\x00\x00\x00\x00+\x00\x00\x00\x85\x0f\x00\x00\xb0\xaf\xba\xb1'
[adb.adb_protocol] packed: b'OPEN\x01\x00\x00\x00\x00\x00\x00\x00+\x00\x00\x00\x85\x0f\x00\x00\xb0\xaf\xba\xb1'
[adb.adb_protocol] Now inside def Unpack (line 271)
[adb.adb_protocol] Now inside def Unpack (line 271)
[adb.adb_protocol] cls: <class 'adb.adb_protocol.AdbMessage'>
[adb.adb_protocol] cls: <class 'adb.adb_protocol.AdbMessage'>
Copy
Copied
Copy
Copied
[adb.adb_protocol] message: b'CLSE\xedk\x00\x00\x01\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\xbc\xb3\xac\xba'
[adb.adb_protocol] message: b'WRTE\
xf8k
\x00\x00\x01\x00\x00\x00\x1
8
\x00\x00\x00
b
\x08\x00\x00\xa8\xad\xab\xba'
[adb.adb_protocol] cmd: 1163086915
[adb.adb_protocol] arg0: 27629
[adb.adb_protocol] arg1: 1
[adb.adb_protocol] data_length: 0
[adb.adb_protocol] data_checksum: 0
[adb.adb_protocol] unused_magic: 3131880380
[adb.adb_protocol] Now inside def Read (line 296)
[adb.adb_protocol] msg: b'CLSE\xedk\x00\x00\x01\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\xbc\xb3\xac\xba'
[adb.adb_protocol] cmd: 1163086915
[adb.adb_protocol] arg0: 27629
[adb.adb_protocol] arg1: 1
[adb.adb_protocol] data_length: 0
[adb.adb_protocol] data_checksum: 0
[adb.adb_protocol] command: b'CLSE'
[adb.adb_protocol] expected_cmds: [b'CLSE', b'OKAY']
[adb.adb_protocol] Received following results from cls.Read. Now back inside Open
[adb.adb_protocol] cmd: b'CLSE'
[adb.adb_protocol] remote_id: 27629
[adb.adb_protocol] their_local_id: 1
[adb.adb_protocol] _: b''
[adb.adb_protocol] Inside if cmd == b'CLSE': (line 450)
[adb.adb_protocol] Now inside def Unpack (line 271)
[adb.adb_protocol] cls: <class 'adb.adb_protocol.AdbMessage'>
[adb.adb_protocol] message: b'OKAY\xeek\x00\x00\x01\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\xb0\xb4\xbe\xa6'
[adb.adb_protocol] cmd: 1497451343
[adb.adb_protocol] arg0: 27630
[adb.adb_protocol] arg1: 1
[adb.adb_protocol] data_length: 0
[adb.adb_protocol] data_checksum: 0
[adb.adb_protocol] unused_magic: 2797515952
[adb.adb_protocol] Now inside def Read (line 296)
[adb.adb_protocol] msg: b'OKAY\xeek\x00\x00\x01\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\xb0\xb4\xbe\xa6'
[adb.adb_protocol] cmd: 1497451343
[adb.adb_protocol] arg0: 27630
[adb.adb_protocol] arg1: 1
[adb.adb_protocol] data_length: 0
[adb.adb_protocol] data_checksum: 0
[adb.adb_protocol] command: b'OKAY'
[adb.adb_protocol] expected_cmds: [b'CLSE', b'OKAY']
[adb.adb_protocol] cmd: b'OKAY'
[adb.adb_protocol] remote_id: 27630
[adb.adb_protocol] their_local_id: 1
[adb.adb_protocol] _: b''
[adb.adb_protocol] connection: <adb.adb_protocol._AdbConnection object at 0x7fb458115c88>
[adb.adb_protocol] Now inside _AdbConnection class def ReadUntil (line 143)
[adb.adb_protocol] self.usb: <adb.common.TcpHandle object at 0x7fb494cf5c18>
[adb.adb_protocol] expected_cmds: (b'CLSE', b'WRTE')
[adb.adb_protocol] self.timeout_ms: None
[adb.adb_protocol] Now inside def Unpack (line 271)
[adb.adb_protocol] cls: <class 'adb.adb_protocol.AdbMessage'>
[adb.adb_protocol] message: b'WRTE\
xeek
\x00\x00\x01\x00\x00\x00\x1
9
\x00\x00\x00
\xa0
\x08\x00\x00\xa8\xad\xab\xba'
[adb.adb_protocol] cmd: 1163154007
[adb.adb_protocol] cmd: 1163154007
Copy
Copied
Copy
Copied
[adb.adb_protocol] arg0: 276
3
0
[adb.adb_protocol] arg0: 276
4
0
[adb.adb_protocol] arg1: 1
[adb.adb_protocol] arg1: 1
Copy
Copied
Copy
Copied
[adb.adb_protocol] data_length:
25
[adb.adb_protocol] data_length:
24
[adb.adb_protocol] data_checksum:
2208
[adb.adb_protocol] data_checksum:
2146
[adb.adb_protocol] unused_magic: 3131813288
[adb.adb_protocol] unused_magic: 3131813288
[adb.adb_protocol] Now inside def Read (line 296)
[adb.adb_protocol] Now inside def Read (line 296)
Copy
Copied
Copy
Copied
[adb.adb_protocol] msg: b'WRTE\
xeek
\x00\x00\x01\x00\x00\x00\x1
9
\x00\x00\x00
\xa0
\x08\x00\x00\xa8\xad\xab\xba'
[adb.adb_protocol] msg: b'WRTE\
xf8k
\x00\x00\x01\x00\x00\x00\x1
8
\x00\x00\x00
b
\x08\x00\x00\xa8\xad\xab\xba'
[adb.adb_protocol] cmd: 1163154007
[adb.adb_protocol] cmd: 1163154007
Copy
Copied
Copy
Copied
[adb.adb_protocol] arg0: 276
3
0
[adb.adb_protocol] arg0: 276
4
0
[adb.adb_protocol] arg1: 1
[adb.adb_protocol] arg1: 1
Copy
Copied
Copy
Copied
[adb.adb_protocol] data_length:
25
[adb.adb_protocol] data_length:
24
[adb.adb_protocol] data_checksum:
2208
[adb.adb_protocol] data_checksum:
2146
[adb.adb_protocol] command: b'WRTE'
[adb.adb_protocol] command: b'WRTE'
Copy
Copied
Copy
Copied
[adb.adb_protocol] expected_cmds:
(
b'CLSE',
b'WRTE')
[adb.adb_protocol] expected_cmds:
[
b'CLSE',
b'OKAY']
[adb.adb_protocol] Back inside _AdbConnection class def ReadUntil (line 149) after returning from AdbMessage.Read(...)
[adb.adb_protocol] cmd: b'WRTE'
[adb.adb_protocol] remote_id: 27630
[adb.adb_protocol] local_id: 1
[adb.adb_protocol] data: b'Display Power: state=OFF\n'
[adb.adb_protocol] self.remote_id: 27630
[adb.adb_protocol] Inside class _AdbConnection(object) def _Send (line 115)
[adb.adb_protocol] command: b'OKAY'
[adb.adb_protocol] arg0: 1
[adb.adb_protocol] arg1: 27630
[adb.adb_protocol] data: b''
[adb.adb_protocol] message: <adb.adb_protocol.AdbMessage object at 0x7fb458115748>
[adb.adb_protocol] Now inside def Pack(self) (line 251)
[adb.adb_protocol] self.format: b'<6I'
[adb.adb_protocol] self.command: 1497451343
[adb.adb_protocol] self.arg0: 1
[adb.adb_protocol] self.arg1: 27630
[adb.adb_protocol] len(self.data)): 0
[adb.adb_protocol] self.checksum: 0
[adb.adb_protocol] self.magic: 2797515952
[adb.adb_protocol] packed: b'OKAY\x01\x00\x00\x00\xeek\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\xb0\xb4\xbe\xa6'
[adb.adb_protocol] Now inside _AdbConnection class def ReadUntilClose (line 170) after turning from self.ReadUntil(...)
[adb.adb_protocol] cmd: b'WRTE'
[adb.adb_protocol] data: b'Display Power: state=OFF\n'
[adb.adb_protocol] data.decode('utf8') (line 532): Display Power: state=OFF
[adb.adb_protocol] Now inside _AdbConnection class def ReadUntil (line 143)
[adb.adb_protocol] self.usb: <adb.common.TcpHandle object at 0x7fb494cf5c18>
[adb.adb_protocol] expected_cmds: (b'CLSE', b'WRTE')
[adb.adb_protocol] self.timeout_ms: None
[adb.adb_protocol] Now inside def Unpack (line 271)
[adb.adb_protocol] cls: <class 'adb.adb_protocol.AdbMessage'>
[adb.adb_protocol] message: b'CLSE\xeek\x00\x00\x01\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\xbc\xb3\xac\xba'
[adb.adb_protocol] cmd: 1163086915
[adb.adb_protocol] arg0: 27630
[adb.adb_protocol] arg1: 1
[adb.adb_protocol] data_length: 0
[adb.adb_protocol] data_checksum: 0
[adb.adb_protocol] unused_magic: 3131880380
[adb.adb_protocol] Now inside def Read (line 296)
[adb.adb_protocol] msg: b'CLSE\xeek\x00\x00\x01\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\xbc\xb3\xac\xba'
[adb.adb_protocol] cmd: 1163086915
[adb.adb_protocol] arg0: 27630
[adb.adb_protocol] arg1: 1
[adb.adb_protocol] data_length: 0
[adb.adb_protocol] data_checksum: 0
[adb.adb_protocol] command: b'CLSE'
[adb.adb_protocol] expected_cmds: (b'CLSE', b'WRTE')
[adb.adb_protocol] Back inside _AdbConnection class def ReadUntil (line 149) after returning from AdbMessage.Read(...)
[adb.adb_protocol] cmd: b'CLSE'
[adb.adb_protocol] remote_id: 27630
[adb.adb_protocol] local_id: 1
[adb.adb_protocol] data: b''
[adb.adb_protocol] self.remote_id: 27630
[adb.adb_protocol] Now inside _AdbConnection class def ReadUntilClose (line 170) after turning from self.ReadUntil(...)
[adb.adb_protocol] cmd: b'CLSE'
[adb.adb_protocol] data: b''
[adb.adb_protocol] About to self._Send(b'CLSE', arg0=self.local_id, arg1=self.remote_id) from ReadUntilClose(self) (line 174)
[adb.adb_protocol] self.local_id: 1
[adb.adb_protocol] self.remote_id: 27630
[adb.adb_protocol] Inside class _AdbConnection(object) def _Send (line 115)
[adb.adb_protocol] command: b'CLSE'
[adb.adb_protocol] arg0: 1
[adb.adb_protocol] arg1: 27630
[adb.adb_protocol] data: b''
[adb.adb_protocol] message: <adb.adb_protocol.AdbMessage object at 0x7fb458115748>
[adb.adb_protocol] Now inside def Pack(self) (line 251)
[adb.adb_protocol] self.format: b'<6I'
[adb.adb_protocol] self.command: 1163086915
[adb.adb_protocol] self.arg0: 1
[adb.adb_protocol] self.arg1: 27630
[adb.adb_protocol] len(self.data)): 0
[adb.adb_protocol] self.checksum: 0
[adb.adb_protocol] self.magic: 3131880380
[adb.adb_protocol] packed: b'CLSE\x01\x00\x00\x00\xeek\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\xbc\xb3\xac\xba'
Saved diffs
Original text
Open file
[adb.adb_commands] Now inside def Shell(self, command, timeout_ms=None) (line 378) [adb.adb_commands] command: dumpsys power | grep "Display Power" [adb.adb_commands] timeout_ms: None [adb.adb_protocol] Inside StreamingCommand(cls, usb, service, command='', timeout_ms=None) (line 518) [adb.adb_protocol] command before type test: dumpsys power | grep "Display Power" (<class 'str'>) [adb.adb_protocol] cls: <class 'adb.adb_protocol.AdbMessage'> [adb.adb_protocol] usb: <adb.common.TcpHandle object at 0x7fb494cf5c18> [adb.adb_protocol] service: b'shell' [adb.adb_protocol] command after type test: b'dumpsys power | grep "Display Power"' (<class 'bytes'>) [adb.adb_protocol] timeout_ms: None [adb.adb_protocol] Now inside def Open (line 429) [adb.adb_protocol] destination: b'shell:dumpsys power | grep "Display Power"' [adb.adb_protocol] cls: <class 'adb.adb_protocol.AdbMessage'> [adb.adb_protocol] usb: <adb.common.TcpHandle object at 0x7fb494cf5c18> [adb.adb_protocol] Sending msg: <adb.adb_protocol.AdbMessage object at 0x7fb45822f860> [adb.adb_protocol] Now inside def Pack(self) (line 251) [adb.adb_protocol] self.format: b'<6I' [adb.adb_protocol] self.command: 1313165391 [adb.adb_protocol] self.arg0: 1 [adb.adb_protocol] self.arg1: 0 [adb.adb_protocol] len(self.data)): 43 [adb.adb_protocol] self.checksum: 3973 [adb.adb_protocol] self.magic: 2981801904 [adb.adb_protocol] packed: b'OPEN\x01\x00\x00\x00\x00\x00\x00\x00+\x00\x00\x00\x85\x0f\x00\x00\xb0\xaf\xba\xb1' [adb.adb_protocol] Now inside def Unpack (line 271) [adb.adb_protocol] cls: <class 'adb.adb_protocol.AdbMessage'> [adb.adb_protocol] message: b'CLSE\xedk\x00\x00\x01\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\xbc\xb3\xac\xba' [adb.adb_protocol] cmd: 1163086915 [adb.adb_protocol] arg0: 27629 [adb.adb_protocol] arg1: 1 [adb.adb_protocol] data_length: 0 [adb.adb_protocol] data_checksum: 0 [adb.adb_protocol] unused_magic: 3131880380 [adb.adb_protocol] Now inside def Read (line 296) [adb.adb_protocol] msg: b'CLSE\xedk\x00\x00\x01\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\xbc\xb3\xac\xba' [adb.adb_protocol] cmd: 1163086915 [adb.adb_protocol] arg0: 27629 [adb.adb_protocol] arg1: 1 [adb.adb_protocol] data_length: 0 [adb.adb_protocol] data_checksum: 0 [adb.adb_protocol] command: b'CLSE' [adb.adb_protocol] expected_cmds: [b'CLSE', b'OKAY'] [adb.adb_protocol] Received following results from cls.Read. Now back inside Open [adb.adb_protocol] cmd: b'CLSE' [adb.adb_protocol] remote_id: 27629 [adb.adb_protocol] their_local_id: 1 [adb.adb_protocol] _: b'' [adb.adb_protocol] Inside if cmd == b'CLSE': (line 450) [adb.adb_protocol] Now inside def Unpack (line 271) [adb.adb_protocol] cls: <class 'adb.adb_protocol.AdbMessage'> [adb.adb_protocol] message: b'OKAY\xeek\x00\x00\x01\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\xb0\xb4\xbe\xa6' [adb.adb_protocol] cmd: 1497451343 [adb.adb_protocol] arg0: 27630 [adb.adb_protocol] arg1: 1 [adb.adb_protocol] data_length: 0 [adb.adb_protocol] data_checksum: 0 [adb.adb_protocol] unused_magic: 2797515952 [adb.adb_protocol] Now inside def Read (line 296) [adb.adb_protocol] msg: b'OKAY\xeek\x00\x00\x01\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\xb0\xb4\xbe\xa6' [adb.adb_protocol] cmd: 1497451343 [adb.adb_protocol] arg0: 27630 [adb.adb_protocol] arg1: 1 [adb.adb_protocol] data_length: 0 [adb.adb_protocol] data_checksum: 0 [adb.adb_protocol] command: b'OKAY' [adb.adb_protocol] expected_cmds: [b'CLSE', b'OKAY'] [adb.adb_protocol] cmd: b'OKAY' [adb.adb_protocol] remote_id: 27630 [adb.adb_protocol] their_local_id: 1 [adb.adb_protocol] _: b'' [adb.adb_protocol] connection: <adb.adb_protocol._AdbConnection object at 0x7fb458115c88> [adb.adb_protocol] Now inside _AdbConnection class def ReadUntil (line 143) [adb.adb_protocol] self.usb: <adb.common.TcpHandle object at 0x7fb494cf5c18> [adb.adb_protocol] expected_cmds: (b'CLSE', b'WRTE') [adb.adb_protocol] self.timeout_ms: None [adb.adb_protocol] Now inside def Unpack (line 271) [adb.adb_protocol] cls: <class 'adb.adb_protocol.AdbMessage'> [adb.adb_protocol] message: b'WRTE\xeek\x00\x00\x01\x00\x00\x00\x19\x00\x00\x00\xa0\x08\x00\x00\xa8\xad\xab\xba' [adb.adb_protocol] cmd: 1163154007 [adb.adb_protocol] arg0: 27630 [adb.adb_protocol] arg1: 1 [adb.adb_protocol] data_length: 25 [adb.adb_protocol] data_checksum: 2208 [adb.adb_protocol] unused_magic: 3131813288 [adb.adb_protocol] Now inside def Read (line 296) [adb.adb_protocol] msg: b'WRTE\xeek\x00\x00\x01\x00\x00\x00\x19\x00\x00\x00\xa0\x08\x00\x00\xa8\xad\xab\xba' [adb.adb_protocol] cmd: 1163154007 [adb.adb_protocol] arg0: 27630 [adb.adb_protocol] arg1: 1 [adb.adb_protocol] data_length: 25 [adb.adb_protocol] data_checksum: 2208 [adb.adb_protocol] command: b'WRTE' [adb.adb_protocol] expected_cmds: (b'CLSE', b'WRTE') [adb.adb_protocol] Back inside _AdbConnection class def ReadUntil (line 149) after returning from AdbMessage.Read(...) [adb.adb_protocol] cmd: b'WRTE' [adb.adb_protocol] remote_id: 27630 [adb.adb_protocol] local_id: 1 [adb.adb_protocol] data: b'Display Power: state=OFF\n' [adb.adb_protocol] self.remote_id: 27630 [adb.adb_protocol] Inside class _AdbConnection(object) def _Send (line 115) [adb.adb_protocol] command: b'OKAY' [adb.adb_protocol] arg0: 1 [adb.adb_protocol] arg1: 27630 [adb.adb_protocol] data: b'' [adb.adb_protocol] message: <adb.adb_protocol.AdbMessage object at 0x7fb458115748> [adb.adb_protocol] Now inside def Pack(self) (line 251) [adb.adb_protocol] self.format: b'<6I' [adb.adb_protocol] self.command: 1497451343 [adb.adb_protocol] self.arg0: 1 [adb.adb_protocol] self.arg1: 27630 [adb.adb_protocol] len(self.data)): 0 [adb.adb_protocol] self.checksum: 0 [adb.adb_protocol] self.magic: 2797515952 [adb.adb_protocol] packed: b'OKAY\x01\x00\x00\x00\xeek\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\xb0\xb4\xbe\xa6' [adb.adb_protocol] Now inside _AdbConnection class def ReadUntilClose (line 170) after turning from self.ReadUntil(...) [adb.adb_protocol] cmd: b'WRTE' [adb.adb_protocol] data: b'Display Power: state=OFF\n' [adb.adb_protocol] data.decode('utf8') (line 532): Display Power: state=OFF [adb.adb_protocol] Now inside _AdbConnection class def ReadUntil (line 143) [adb.adb_protocol] self.usb: <adb.common.TcpHandle object at 0x7fb494cf5c18> [adb.adb_protocol] expected_cmds: (b'CLSE', b'WRTE') [adb.adb_protocol] self.timeout_ms: None [adb.adb_protocol] Now inside def Unpack (line 271) [adb.adb_protocol] cls: <class 'adb.adb_protocol.AdbMessage'> [adb.adb_protocol] message: b'CLSE\xeek\x00\x00\x01\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\xbc\xb3\xac\xba' [adb.adb_protocol] cmd: 1163086915 [adb.adb_protocol] arg0: 27630 [adb.adb_protocol] arg1: 1 [adb.adb_protocol] data_length: 0 [adb.adb_protocol] data_checksum: 0 [adb.adb_protocol] unused_magic: 3131880380 [adb.adb_protocol] Now inside def Read (line 296) [adb.adb_protocol] msg: b'CLSE\xeek\x00\x00\x01\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\xbc\xb3\xac\xba' [adb.adb_protocol] cmd: 1163086915 [adb.adb_protocol] arg0: 27630 [adb.adb_protocol] arg1: 1 [adb.adb_protocol] data_length: 0 [adb.adb_protocol] data_checksum: 0 [adb.adb_protocol] command: b'CLSE' [adb.adb_protocol] expected_cmds: (b'CLSE', b'WRTE') [adb.adb_protocol] Back inside _AdbConnection class def ReadUntil (line 149) after returning from AdbMessage.Read(...) [adb.adb_protocol] cmd: b'CLSE' [adb.adb_protocol] remote_id: 27630 [adb.adb_protocol] local_id: 1 [adb.adb_protocol] data: b'' [adb.adb_protocol] self.remote_id: 27630 [adb.adb_protocol] Now inside _AdbConnection class def ReadUntilClose (line 170) after turning from self.ReadUntil(...) [adb.adb_protocol] cmd: b'CLSE' [adb.adb_protocol] data: b'' [adb.adb_protocol] About to self._Send(b'CLSE', arg0=self.local_id, arg1=self.remote_id) from ReadUntilClose(self) (line 174) [adb.adb_protocol] self.local_id: 1 [adb.adb_protocol] self.remote_id: 27630 [adb.adb_protocol] Inside class _AdbConnection(object) def _Send (line 115) [adb.adb_protocol] command: b'CLSE' [adb.adb_protocol] arg0: 1 [adb.adb_protocol] arg1: 27630 [adb.adb_protocol] data: b'' [adb.adb_protocol] message: <adb.adb_protocol.AdbMessage object at 0x7fb458115748> [adb.adb_protocol] Now inside def Pack(self) (line 251) [adb.adb_protocol] self.format: b'<6I' [adb.adb_protocol] self.command: 1163086915 [adb.adb_protocol] self.arg0: 1 [adb.adb_protocol] self.arg1: 27630 [adb.adb_protocol] len(self.data)): 0 [adb.adb_protocol] self.checksum: 0 [adb.adb_protocol] self.magic: 3131880380 [adb.adb_protocol] packed: b'CLSE\x01\x00\x00\x00\xeek\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\xbc\xb3\xac\xba'
Changed text
Open file
[adb.adb_commands] Now inside def Shell(self, command, timeout_ms=None) (line 378) [adb.adb_commands] command: dumpsys power | grep "Display Power" [adb.adb_commands] timeout_ms: None [adb.adb_protocol] Inside StreamingCommand(cls, usb, service, command='', timeout_ms=None) (line 518) [adb.adb_protocol] command before type test: dumpsys power | grep "Display Power" (<class 'str'>) [adb.adb_protocol] cls: <class 'adb.adb_protocol.AdbMessage'> [adb.adb_protocol] usb: <adb.common.TcpHandle object at 0x7fb494cf5c18> [adb.adb_protocol] service: b'shell' [adb.adb_protocol] command after type test: b'dumpsys power | grep "Display Power"' (<class 'bytes'>) [adb.adb_protocol] timeout_ms: None [adb.adb_protocol] Now inside def Open (line 429) [adb.adb_protocol] destination: b'shell:dumpsys power | grep "Display Power"' [adb.adb_protocol] cls: <class 'adb.adb_protocol.AdbMessage'> [adb.adb_protocol] usb: <adb.common.TcpHandle object at 0x7fb494cf5c18> [adb.adb_protocol] Sending msg: <adb.adb_protocol.AdbMessage object at 0x7fb494b63d30> [adb.adb_protocol] Now inside def Pack(self) (line 251) [adb.adb_protocol] self.format: b'<6I' [adb.adb_protocol] self.command: 1313165391 [adb.adb_protocol] self.arg0: 1 [adb.adb_protocol] self.arg1: 0 [adb.adb_protocol] len(self.data)): 43 [adb.adb_protocol] self.checksum: 3973 [adb.adb_protocol] self.magic: 2981801904 [adb.adb_protocol] packed: b'OPEN\x01\x00\x00\x00\x00\x00\x00\x00+\x00\x00\x00\x85\x0f\x00\x00\xb0\xaf\xba\xb1' [adb.adb_protocol] Now inside def Unpack (line 271) [adb.adb_protocol] cls: <class 'adb.adb_protocol.AdbMessage'> [adb.adb_protocol] message: b'WRTE\xf8k\x00\x00\x01\x00\x00\x00\x18\x00\x00\x00b\x08\x00\x00\xa8\xad\xab\xba' [adb.adb_protocol] cmd: 1163154007 [adb.adb_protocol] arg0: 27640 [adb.adb_protocol] arg1: 1 [adb.adb_protocol] data_length: 24 [adb.adb_protocol] data_checksum: 2146 [adb.adb_protocol] unused_magic: 3131813288 [adb.adb_protocol] Now inside def Read (line 296) [adb.adb_protocol] msg: b'WRTE\xf8k\x00\x00\x01\x00\x00\x00\x18\x00\x00\x00b\x08\x00\x00\xa8\xad\xab\xba' [adb.adb_protocol] cmd: 1163154007 [adb.adb_protocol] arg0: 27640 [adb.adb_protocol] arg1: 1 [adb.adb_protocol] data_length: 24 [adb.adb_protocol] data_checksum: 2146 [adb.adb_protocol] command: b'WRTE' [adb.adb_protocol] expected_cmds: [b'CLSE', b'OKAY']
Find difference