Skip to content

Instantly share code, notes, and snippets.

07-10 12:30:41.334 20630-20630/? I/art: Late-enabling -Xcheck:jni
07-10 12:30:41.369 20630-20630/? D/ActivityThread: hoder:android.app.IActivityManager$ContentProviderHolder@26335007,provider,holder.Provider:android.content.ContentProviderProxy@12a56534
07-10 12:30:41.378 20630-20640/? E/art: Failed sending reply to debugger: Broken pipe
07-10 12:30:41.378 20630-20640/? I/art: Debugger is no longer active
07-10 12:30:41.381 20630-20630/? D/Proxy: setHttpRequestCheckHandler
07-10 12:30:41.833 20630-20630/? D/ActivityThread: installProvider: context.getPackageName()=ru.evotor.devices.drivers.dto.ipp320paysystem
07-10 12:30:41.837 20630-20630/? I/InstantRun: starting instant run server: is main process
07-10 12:30:41.854 20630-20630/? D/ActivityThread: BIND_APPLICATION handled : 0 / AppBindData{appInfo=ApplicationInfo{36aae5a3 ru.evotor.devices.drivers.dto.ipp320paysystem}}
07-10 12:30:41.866 20630-20630/? D/ActivityThread: SVC-Creating service: CreateServiceData{token=android.os.BinderProxy@17cda0a0 className=r
07-10 13:03:07.145 1783-1783/ru.atol.tabletpos D/FeatureProxyBase: FeatureProxyBase class constructor
07-10 13:03:07.145 1783-1783/ru.atol.tabletpos D/FeatureProxyBase: getService(), serviceName = multiwindow_service_v1
07-10 13:03:07.141 1783-1783/ru.atol.tabletpos V/Evotor: Report onUserInteraction
07-10 13:03:07.150 1783-2503/ru.atol.tabletpos D/Surface: Surface::setBuffersDimensions(this=0xb93dc3a0,w=1024,h=600)
07-10 13:03:07.171 1783-2503/ru.atol.tabletpos D/Surface: Surface::setBuffersDimensions(this=0xb93dc3a0,w=1024,h=600)
07-10 13:03:07.191 1783-2503/ru.atol.tabletpos D/Surface: Surface::setBuffersDimensions(this=0xb93dc3a0,w=1024,h=600)
07-10 13:03:07.210 1783-2503/ru.atol.tabletpos D/Surface: Surface::setBuffersDimensions(this=0xb93dc3a0,w=1024,h=600)
07-10 13:03:07.229 1783-2503/ru.atol.tabletpos D/Surface: Surface::setBuffersDimensions(this=0xb93dc3a0,w=1024,h=600)
07-10 13:03:07.250 1783-2503/ru.atol.tabletpos D/Surface: Surface::setBuffersDimensions(this=0xb93dc3a0,w=1024,h=600)
07-10 13:03:07
07-10 13:14:21.701 339-339/? D/ADB_SERVICES: closing because is_eof=1 r=-1 s->fde.force_eof=0
07-10 13:14:21.701 339-339/? W/ADB_SERVICES: entered. LS(28) fd=27
07-10 13:14:21.726 339-339/? I/A_OPEN: :A_OPEN shell:logcat -v long
07-10 13:14:21.726 339-339/? W/ADB_SERVICES: create_local_service_socket() name=shell:logcat -v long
07-10 13:14:21.726 339-339/? W/ADB_SERVICES: service_to_fd() name=shell:logcat -v long
07-10 13:14:21.726 339-339/? W/ADB_SERVICES: read_meminfo() mem_free=112716
07-10 13:14:21.726 339-339/? W/ADB_SERVICES: CALLING ADB SHELL WITH ARGS: -c & logcat -v long
07-10 13:14:21.727 339-339/? W/ADB_SERVICES: create_subproc ret_fd=27 pid=2910
07-10 13:14:21.727 339-339/? W/ADB_SERVICES: LS(29): bound to 'shell:logcat -v long' via 27
07-10 13:14:21.728 2910-2910/? W/ADB_SERVICES: adb: unable to update oom_score_adj
07-10 13:19:20.227 339-339/? D/ADB_SERVICES: closing because is_eof=1 r=-1 s->fde.force_eof=0
07-10 13:19:20.227 339-339/? W/ADB_SERVICES: entered. LS(32) fd=27
07-10 13:19:20.258 339-339/? I/A_OPEN: :A_OPEN shell:logcat -v long
07-10 13:19:20.258 339-339/? W/ADB_SERVICES: create_local_service_socket() name=shell:logcat -v long
07-10 13:19:20.258 339-339/? W/ADB_SERVICES: service_to_fd() name=shell:logcat -v long
07-10 13:19:20.259 339-339/? W/ADB_SERVICES: read_meminfo() mem_free=100044
07-10 13:19:20.259 339-339/? W/ADB_SERVICES: CALLING ADB SHELL WITH ARGS: -c & logcat -v long
07-10 13:19:20.259 339-339/? W/ADB_SERVICES: create_subproc ret_fd=27 pid=2998
07-10 13:19:20.260 339-339/? W/ADB_SERVICES: LS(33): bound to 'shell:logcat -v long' via 27
07-10 13:19:20.261 2998-2998/? W/ADB_SERVICES: adb: unable to update oom_score_adj
07-10 13:27:56.551 339-339/? D/ADB_SERVICES: closing because is_eof=1 r=-1 s->fde.force_eof=0
07-10 13:27:56.551 339-339/? W/ADB_SERVICES: entered. LS(45) fd=27
07-10 13:27:56.589 339-339/? I/A_OPEN: :A_OPEN shell:logcat -v long
07-10 13:27:56.589 339-339/? W/ADB_SERVICES: create_local_service_socket() name=shell:logcat -v long
07-10 13:27:56.589 339-339/? W/ADB_SERVICES: service_to_fd() name=shell:logcat -v long
07-10 13:27:56.590 339-339/? W/ADB_SERVICES: read_meminfo() mem_free=93024
07-10 13:27:56.590 339-339/? W/ADB_SERVICES: CALLING ADB SHELL WITH ARGS: -c & logcat -v long
07-10 13:27:56.591 339-339/? W/ADB_SERVICES: create_subproc ret_fd=27 pid=3224
07-10 13:27:56.591 339-339/? W/ADB_SERVICES: LS(46): bound to 'shell:logcat -v long' via 27
07-10 13:27:56.593 3224-3224/? W/ADB_SERVICES: adb: unable to update oom_score_adj
07-13 14:34:17.170 1907-3297/ru.evotor.devices V/DTO9: Java-command: EC 04 f4 01 F5 02 60 40 F0 00 50 05 23 69 46 FF F7 0D FB 1C BD 00 EB 80 00 01 EB 81 01 00 EB 81 00 13 46 00 F5 02 60 40 F0 00 50 05 22 19 46 1A F0 99 BA 1C B5 00 EB 80 00 00 F6 8C 20 0A 46 40 F0 00 50 05
07-13 14:34:18.292 1907-3297/ru.evotor.devices V/DTO9: Java-command: EC 04 58 02 FD F6 F7 57 FE 20 68 92 28 CD D1 30 68 31 28 11 D1 F6 F7 3A FE 16 20 8D F8 08 00 02 A8 FD F7 D6 FE F6 F7 47 FE 06 E0 8D F8 0C 50 03 A8 FD F7 15 FF 00 06 01 D5 20 68 B6 E7 10 20 8D F8 08 00 02
07-13 14:34:19.398 1907-3297/ru.evotor.devices V/DTO9: Java-command: EC 04 bc 02 D5 09 F0 3E F9 D3 E7 FB F7 68 FC 00 06 01 D5 30 68 CF E7 28 88 20 F0 B0 00 28 80 06 48 34 60 04 60 78 46 05 49 08 60 00 20 C3 E7 00 00 02 00 00 10 08 00 00 10 0C 00 00 10 10 00 00 10 FE 49 00
07-13 14:34:20.530 1907-3297/ru.evotor.devices V/DTO9: Java-command: EC 04 20 03 FB 00 06 4E D4 9D F8 50 00 C0 07 02 D0 01 20 F4 F7 D0 FD 00 21 2B 4A 08 46 05 F0 89 FC 00 06 40 D4 00 21 29 4A 08 46 05 F0 8
private String getHexCounter(int i) {
String hex = Integer.toHexString(i);
switch (hex.length()) {
case 1:
return '0' + hex + " 00";
case 2:
return hex + " 00";
case 3:
return hex.substring(1) + " 0" + hex.charAt(0);
case 4:
std::wstring toFormattedHex(int input) {
const int max_int_length = 10;
wchar_t* temp = new wchar_t[max_int_length + 1];
swprintf( temp, max_int_length, L"%x", input);
std::wstring hex(temp);
delete [] temp;
std::wstring result = L"00 00";
switch (hex.length()) {
case 1: {
private void flashFromJava(final IHasKKM kkm, final String fileName) {
new Thread(new Runnable() {
@Override
public void run() {
try {
if (runCommand("EC 01") != 0) {
handler.post(new Runnable() {
@Override
public void run() {
Toast.makeText(getApplicationContext(), "Error running EC 01", Toast.LENGTH_SHORT).show();
std::wstring toFormattedHex(int input) {
const int max_int_length = 10;
wchar_t* temp = new wchar_t[max_int_length + 1];
swprintf( temp, max_int_length, L"%x", input);
std::wstring hex(temp);
delete [] temp;
std::wstring result = L"00 00";
switch (hex.length()) {
case 1: {