UBports Robot Logo UBports Forum
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Register
    • Login

    Traing to install in OnePlus one

    Scheduled Pinned Locked Moved Support
    2 Posts 1 Posters 807 Views 1 Watching
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
      Reply
      • Reply as topic
      Log in to reply
      This topic has been deleted. Only users with topic management privileges can see it.
      • M Offline
        mpnegro
        last edited by

        Hi,
        I'm traing to install UT in one OnePlus One A0001.
        I'm runing the app with sudo to see whats wrong with the installer, and I'm receiving this in terminal:
        sudo ubports-installer
        debug: Using native platform tools!
        debug: Running platform tool exec cmd adb kill-server
        debug:
        debug: Running platform tool exec cmd adb -P 5038 kill-server
        debug:
        debug: Running platform tool exec asar cmd [object Object] -P 5038 start-server
        debug: adb shell: echo 1
        debug: Running platform tool exec cmd adb -P 5038 shell echo 1
        debug: Error: Command failed: adb -P 5038 shell echo 1
        error: device '(null)' not found

        at ChildProcess.exithandler (child_process.js:217:12)
        at emitTwo (events.js:106:13)
        at ChildProcess.emit (events.js:194:7)
        at maybeClose (internal/child_process.js:899:16)
        at Socket.<anonymous> (internal/child_process.js:342:11)
        at emitOne (events.js:96:13)
        at Socket.emit (events.js:191:7)
        at Pipe._handle.close [as _onclose] (net.js:510:12)
        

        debug: adb shell: echo 1
        debug: Running platform tool exec cmd adb -P 5038 shell echo 1
        debug: Error: Command failed: adb -P 5038 shell echo 1
        error: device '(null)' not found

        at ChildProcess.exithandler (child_process.js:217:12)
        at emitTwo (events.js:106:13)
        at ChildProcess.emit (events.js:194:7)
        at maybeClose (internal/child_process.js:899:16)
        at Socket.<anonymous> (internal/child_process.js:342:11)
        at emitOne (events.js:96:13)
        at Socket.emit (events.js:191:7)
        at Pipe._handle.close [as _onclose] (net.js:510:12)
        

        debug: adb shell: echo 1
        debug: Running platform tool exec cmd adb -P 5038 shell echo 1
        debug: Error: Command failed: adb -P 5038 shell echo 1
        error: device '(null)' not found

        at ChildProcess.exithandler (child_process.js:217:12)
        at emitTwo (events.js:106:13)
        at ChildProcess.emit (events.js:194:7)
        at maybeClose (internal/child_process.js:899:16)
        at Socket.<anonymous> (internal/child_process.js:342:11)
        at emitOne (events.js:96:13)
        at Socket.emit (events.js:191:7)
        at Pipe._handle.close [as _onclose] (net.js:510:12)
        

        debug: adb shell: echo 1
        debug: Running platform tool exec cmd adb -P 5038 shell echo 1
        debug: Error: Command failed: adb -P 5038 shell echo 1
        error: device '(null)' not found

        at ChildProcess.exithandler (child_process.js:217:12)
        at emitTwo (events.js:106:13)
        at ChildProcess.emit (events.js:194:7)
        at maybeClose (internal/child_process.js:899:16)
        at Socket.<anonymous> (internal/child_process.js:342:11)
        at emitOne (events.js:96:13)
        at Socket.emit (events.js:191:7)
        at Pipe._handle.close [as _onclose] (net.js:510:12)
        

        debug: adb shell: echo 1
        debug: Running platform tool exec cmd adb -P 5038 shell echo 1
        debug: Error: Command failed: adb -P 5038 shell echo 1
        error: device '(null)' not found

        at ChildProcess.exithandler (child_process.js:217:12)
        at emitTwo (events.js:106:13)
        at ChildProcess.emit (events.js:194:7)
        at maybeClose (internal/child_process.js:899:16)
        at Socket.<anonymous> (internal/child_process.js:342:11)
        at emitOne (events.js:96:13)
        at Socket.emit (events.js:191:7)
        at Pipe._handle.close [as _onclose] (net.js:510:12)
        

        debug: adb shell: echo 1
        debug: Running platform tool exec cmd adb -P 5038 shell echo 1
        debug: Error: Command failed: adb -P 5038 shell echo 1
        error: device '(null)' not found

        at ChildProcess.exithandler (child_process.js:217:12)
        at emitTwo (events.js:106:13)
        at ChildProcess.emit (events.js:194:7)
        at maybeClose (internal/child_process.js:899:16)
        at Socket.<anonymous> (internal/child_process.js:342:11)
        at emitOne (events.js:96:13)
        at Socket.emit (events.js:191:7)
        at Pipe._handle.close [as _onclose] (net.js:510:12)
        

        debug: adb shell: echo 1
        debug: Running platform tool exec cmd adb -P 5038 shell echo 1
        debug: Error: Command failed: adb -P 5038 shell echo 1
        error: device '(null)' not found

        at ChildProcess.exithandler (child_process.js:217:12)
        at emitTwo (events.js:106:13)
        at ChildProcess.emit (events.js:194:7)
        at maybeClose (internal/child_process.js:899:16)
        at Socket.<anonymous> (internal/child_process.js:342:11)
        at emitOne (events.js:96:13)
        at Socket.emit (events.js:191:7)
        at Pipe._handle.close [as _onclose] (net.js:510:12)
        

        debug: adb shell: echo 1
        debug: Running platform tool exec cmd adb -P 5038 shell echo 1
        debug: Error: Command failed: adb -P 5038 shell echo 1
        error: device '(null)' not found

        at ChildProcess.exithandler (child_process.js:217:12)
        at emitTwo (events.js:106:13)
        at ChildProcess.emit (events.js:194:7)
        at maybeClose (internal/child_process.js:899:16)
        at Socket.<anonymous> (internal/child_process.js:342:11)
        at emitOne (events.js:96:13)
        at Socket.emit (events.js:191:7)
        at Pipe._handle.close [as _onclose] (net.js:510:12)
        

        debug: adb shell: echo 1
        debug: Running platform tool exec cmd adb -P 5038 shell echo 1
        debug: Error: Command failed: adb -P 5038 shell echo 1
        error: device '(null)' not found

        at ChildProcess.exithandler (child_process.js:217:12)
        at emitTwo (events.js:106:13)
        at ChildProcess.emit (events.js:194:7)
        at maybeClose (internal/child_process.js:899:16)
        at Socket.<anonymous> (internal/child_process.js:342:11)
        at emitOne (events.js:96:13)
        at Socket.emit (events.js:191:7)
        at Pipe._handle.close [as _onclose] (net.js:510:12)
        

        debug: adb shell: echo 1
        debug: Running platform tool exec cmd adb -P 5038 shell echo 1
        debug: Error: Command failed: adb -P 5038 shell echo 1
        error: device '(null)' not found

        at ChildProcess.exithandler (child_process.js:217:12)
        at emitTwo (events.js:106:13)
        at ChildProcess.emit (events.js:194:7)
        at maybeClose (internal/child_process.js:899:16)
        at Socket.<anonymous> (internal/child_process.js:342:11)
        at emitOne (events.js:96:13)
        at Socket.emit (events.js:191:7)
        at Pipe._handle.close [as _onclose] (net.js:510:12)
        

        debug: adb shell: echo 1
        debug: Running platform tool exec cmd adb -P 5038 shell echo 1
        debug: Error: Command failed: adb -P 5038 shell echo 1
        error: device '(null)' not found

        at ChildProcess.exithandler (child_process.js:217:12)
        at emitTwo (events.js:106:13)
        at ChildProcess.emit (events.js:194:7)
        at maybeClose (internal/child_process.js:899:16)
        at Socket.<anonymous> (internal/child_process.js:342:11)
        at emitOne (events.js:96:13)
        at Socket.emit (events.js:191:7)
        at Pipe._handle.close [as _onclose] (net.js:510:12)
        

        debug: adb shell: echo 1
        debug: Running platform tool exec cmd adb -P 5038 shell echo 1
        debug: Error: Command failed: adb -P 5038 shell echo 1
        error: device '(null)' not found

        at ChildProcess.exithandler (child_process.js:217:12)
        at emitTwo (events.js:106:13)
        at ChildProcess.emit (events.js:194:7)
        at maybeClose (internal/child_process.js:899:16)
        at Socket.<anonymous> (internal/child_process.js:342:11)
        at emitOne (events.js:96:13)
        at Socket.emit (events.js:191:7)
        at Pipe._handle.close [as _onclose] (net.js:510:12)
        

        debug: adb shell: echo 1
        debug: Running platform tool exec cmd adb -P 5038 shell echo 1
        debug: Error: Command failed: adb -P 5038 shell echo 1
        error: device '(null)' not found

        at ChildProcess.exithandler (child_process.js:217:12)
        at emitTwo (events.js:106:13)
        at ChildProcess.emit (events.js:194:7)
        at maybeClose (internal/child_process.js:899:16)
        at Socket.<anonymous> (internal/child_process.js:342:11)
        at emitOne (events.js:96:13)
        at Socket.emit (events.js:191:7)
        at Pipe._handle.close [as _onclose] (net.js:510:12)
        

        debug: adb shell: echo 1
        debug: Running platform tool exec cmd adb -P 5038 shell echo 1
        debug: Error: Command failed: adb -P 5038 shell echo 1
        error: device '(null)' not found

        at ChildProcess.exithandler (child_process.js:217:12)
        at emitTwo (events.js:106:13)
        at ChildProcess.emit (events.js:194:7)
        at maybeClose (internal/child_process.js:899:16)
        at Socket.<anonymous> (internal/child_process.js:342:11)
        at emitOne (events.js:96:13)
        at Socket.emit (events.js:191:7)
        at Pipe._handle.close [as _onclose] (net.js:510:12)
        

        debug: adb shell: echo 1
        debug: Running platform tool exec cmd adb -P 5038 shell echo 1
        debug: Error: Command failed: adb -P 5038 shell echo 1
        error: device '(null)' not found

        at ChildProcess.exithandler (child_process.js:217:12)
        at emitTwo (events.js:106:13)
        at ChildProcess.emit (events.js:194:7)
        at maybeClose (internal/child_process.js:899:16)
        at Socket.<anonymous> (internal/child_process.js:342:11)
        at emitOne (events.js:96:13)
        at Socket.emit (events.js:191:7)
        at Pipe._handle.close [as _onclose] (net.js:510:12)
        

        debug: adb shell: echo 1
        debug: Running platform tool exec cmd adb -P 5038 shell echo 1
        debug: Error: Command failed: adb -P 5038 shell echo 1
        error: device unauthorized.
        This adbd's $ADB_VENDOR_KEYS is not set; try 'adb kill-server' if that seems wrong.
        Otherwise check for a confirmation dialog on your device.

        at ChildProcess.exithandler (child_process.js:217:12)
        at emitTwo (events.js:106:13)
        at ChildProcess.emit (events.js:194:7)
        at maybeClose (internal/child_process.js:899:16)
        at Socket.<anonymous> (internal/child_process.js:342:11)
        at emitOne (events.js:96:13)
        at Socket.emit (events.js:191:7)
        at Pipe._handle.close [as _onclose] (net.js:510:12)
        

        debug: adb shell: echo 1
        debug: Running platform tool exec cmd adb -P 5038 shell echo 1
        debug: Error: Command failed: adb -P 5038 shell echo 1
        error: device unauthorized.
        This adbd's $ADB_VENDOR_KEYS is not set; try 'adb kill-server' if that seems wrong.
        Otherwise check for a confirmation dialog on your device.

        at ChildProcess.exithandler (child_process.js:217:12)
        at emitTwo (events.js:106:13)
        at ChildProcess.emit (events.js:194:7)
        at maybeClose (internal/child_process.js:899:16)
        at Socket.<anonymous> (internal/child_process.js:342:11)
        at emitOne (events.js:96:13)
        at Socket.emit (events.js:191:7)
        at Pipe._handle.close [as _onclose] (net.js:510:12)
        

        debug: adb shell: echo 1
        debug: Running platform tool exec cmd adb -P 5038 shell echo 1
        debug: Error: Command failed: adb -P 5038 shell echo 1
        error: device unauthorized.
        This adbd's $ADB_VENDOR_KEYS is not set; try 'adb kill-server' if that seems wrong.
        Otherwise check for a confirmation dialog on your device.

        at ChildProcess.exithandler (child_process.js:217:12)
        at emitTwo (events.js:106:13)
        at ChildProcess.emit (events.js:194:7)
        at maybeClose (internal/child_process.js:899:16)
        at Socket.<anonymous> (internal/child_process.js:342:11)
        at emitOne (events.js:96:13)
        at Socket.emit (events.js:191:7)
        at Pipe._handle.close [as _onclose] (net.js:510:12)
        

        debug: adb shell: echo 1
        debug: Running platform tool exec cmd adb -P 5038 shell echo 1
        debug: Error: Command failed: adb -P 5038 shell echo 1
        error: device unauthorized.
        This adbd's $ADB_VENDOR_KEYS is not set; try 'adb kill-server' if that seems wrong.
        Otherwise check for a confirmation dialog on your device.

        at ChildProcess.exithandler (child_process.js:217:12)
        at emitTwo (events.js:106:13)
        at ChildProcess.emit (events.js:194:7)
        at maybeClose (internal/child_process.js:899:16)
        at Socket.<anonymous> (internal/child_process.js:342:11)
        at emitOne (events.js:96:13)
        at Socket.emit (events.js:191:7)
        at Pipe._handle.close [as _onclose] (net.js:510:12)
        

        debug: adb shell: echo 1
        debug: Running platform tool exec cmd adb -P 5038 shell echo 1
        debug: Error: Command failed: adb -P 5038 shell echo 1
        error: device unauthorized.
        This adbd's $ADB_VENDOR_KEYS is not set; try 'adb kill-server' if that seems wrong.
        Otherwise check for a confirmation dialog on your device.

        at ChildProcess.exithandler (child_process.js:217:12)
        at emitTwo (events.js:106:13)
        at ChildProcess.emit (events.js:194:7)
        at maybeClose (internal/child_process.js:899:16)
        at Socket.<anonymous> (internal/child_process.js:342:11)
        at emitOne (events.js:96:13)
        at Socket.emit (events.js:191:7)
        at Pipe._handle.close [as _onclose] (net.js:510:12)
        

        debug: adb shell: echo 1
        debug: Running platform tool exec cmd adb -P 5038 shell echo 1
        debug:
        debug: adb shell: getprop ro.product.device
        debug: Running platform tool exec cmd adb -P 5038 shell getprop ro.product.device
        debug:
        debug: getprop: A0001
        debug: adb shell: cat /etc/system-image/channel.ini
        debug: Running platform tool exec cmd adb -P 5038 shell cat /etc/system-image/channel.ini
        debug:
        debug: adb shell: echo 1
        debug: Running platform tool exec cmd adb -P 5038 shell echo 1
        debug:
        debug: reboot to bootloader
        debug: Running platform tool exec cmd adb -P 5038 reboot bootloader
        debug: fastboot: wait for device
        debug: Using fallback platform tools!
        debug: Running platform tool fallback exec asar cmd fastboot devices
        debug:
        debug: reboot to bootloader [DONE] err:null
        debug: Running platform tool fallback exec asar cmd fastboot devices
        debug: Running platform tool fallback exec asar cmd fastboot devices
        debug: Running platform tool fallback exec asar cmd fastboot devices
        debug: Running platform tool fallback exec asar cmd fastboot devices
        debug: Running platform tool fallback exec asar cmd fastboot devices
        debug: Running platform tool fallback exec asar cmd fastboot devices
        debug: Running platform tool fallback exec asar cmd fastboot devices
        debug: Running platform tool fallback exec asar cmd fastboot devices
        debug: Running platform tool fallback exec asar cmd fastboot devices
        debug: Running platform tool fallback exec asar cmd fastboot devices
        debug: Running platform tool fallback exec asar cmd fastboot devices
        debug: Running platform tool fallback exec asar cmd fastboot devices
        debug: Running platform tool fallback exec asar cmd fastboot devices
        debug: Running platform tool fallback exec asar cmd fastboot devices
        debug: Running platform tool fallback exec asar cmd fastboot devices
        debug: Running platform tool fallback exec asar cmd fastboot devices
        debug: Running platform tool fallback exec asar cmd fastboot devices
        debug: Running platform tool fallback exec asar cmd fastboot devices
        debug: Running platform tool fallback exec asar cmd fastboot devices
        debug: Running platform tool fallback exec asar cmd fastboot devices

        The phone is in fast boot mode.
        Can someone help me out?
        Miguel

        M 1 Reply Last reply Reply Quote 0
        • M Offline
          mpnegro @mpnegro
          last edited by

          Soved, by installing android and phblet tools.

          1 Reply Last reply Reply Quote 0
          • First post
            Last post