Dans le fichier
/snap/ubports-installer/current/.cache/ubports/ubports-installer.log
J'ai ceci :
{"level":"debug","message":"using adb: /snap/ubports-installer/334/app/resources/app.asar.unpacked/node_modules/android-tools-bin/dist/linux/x86/adb"}
{"level":"debug","message":"using fastboot: /snap/ubports-installer/334/app/resources/app.asar.unpacked/node_modules/android-tools-bin/dist/linux/x86/fastboot"}
{"level":"debug","message":"using heimdall: /snap/ubports-installer/334/app/resources/app.asar.unpacked/node_modules/android-tools-bin/dist/linux/x86/heimdall"}
{"level":"info","message":"Welcome to the UBports Installer version 0.8.4-beta!"}
{"level":"command","message":"exec: {\"cmd\":[\"adb\",\"-P\",5037,\"kill-server\"],\"stderr\":\"cannot connect to daemon at tcp:5037: Connection refused\"}"}
{"level":"command","message":"exec: {\"cmd\":[\"fastboot\",\"devices\"],\"stdout\":\"42967a0a\\tfastboot\"}"}
{"level":"command","message":"exec: {\"cmd\":[\"adb\",\"-P\",5037,\"wait-for-any-any\"],\"error\":{\"message\":\"Command failed: adb -P 5037 wait-for-any-any\",\"signal\":\"SIGTERM\",\"killed\":true}}"}
{"level":"command","message":"exec: {\"cmd\":[\"heimdall\",\"detect\"],\"error\":{\"message\":\"Command failed: heimdall detect\\nERROR: Failed to detect compatible download-mode device.\",\"code\":1},\"stderr\":\"ERROR: Failed to detect compatible download-mode device.\"}"}
{"level":"command","message":"exec: {\"cmd\":[\"adb\",\"-P\",5037,\"start-server\"],\"stderr\":\"* daemon not running; starting now at tcp:5037\\n* daemon started successfully\"}"}
{"level":"command","message":"exec: {\"cmd\":[\"adb\",\"-P\",5037,\"shell\",\"getprop ro.product.device\"],\"error\":{\"message\":\"Command failed: adb -P 5037 shell getprop ro.product.device\\nadb: no devices/emulators found\",\"code\":1},\"stderr\":\"adb: no devices/emulators found\"}"}
{"level":"command","message":"exec: {\"cmd\":[\"fastboot\",\"devices\"],\"stdout\":\"42967a0a\\tfastboot\"}"}
{"level":"command","message":"exec: {\"cmd\":[\"fastboot\",\"getvar\",\"product\"],\"stderr\":\"product: msm8996\\nFinished. Total time: 0.001s\"}"}
{"level":"info","message":"device detected: oneplus3"}
{"level":"info","message":"Installing Ubuntu Touch on your Oneplus 3/3T (oneplus3)"}
{"level":"info","message":"configuring..."}
{"level":"info","message":"settings: {\"channel\":\"16.04/arm64/hybris/stable\",\"wipe\":true,\"bootstrap\":true}"}
{"level":"verbose","message":"running step {\"actions\":[{\"core:download\":{\"group\":\"firmware\",\"files\":[{\"url\":\"http://cdimage.ubports.com/devices/halium-unlocked-recovery_oneplus3.img\",\"checksum\":{\"sum\":\"ca6359915a692523d7d12f6f0ca85e81d89328e7ad5bd46779e0af5c4b8c850b\",\"algorithm\":\"sha256\"}}]}}],\"condition\":{\"var\":\"bootstrap\",\"value\":true}}"}
{"level":"verbose","message":"running core action download"}
{"level":"debug","message":"checking previously downloaded firmware files"}
{"level":"verbose","message":"running step {\"actions\":[{\"adb:reboot\":{\"to_state\":\"bootloader\"}}],\"fallback\":[{\"core:user_action\":{\"action\":\"bootloader\"}}],\"condition\":{\"var\":\"bootstrap\",\"value\":true}}"}
{"level":"verbose","message":"running adb action reboot"}
{"level":"command","message":"exec: {\"cmd\":[\"adb\",\"-P\",5037,\"reboot\",\"bootloader\"],\"error\":{\"message\":\"Command failed: adb -P 5037 reboot bootloader\\nerror: no devices/emulators found\",\"code\":1},\"stderr\":\"error: no devices/emulators found\"}"}
{"level":"debug","message":"attempting to handle Error: no device"}
{"level":"verbose","message":"running core action user_action"}
{"level":"verbose","message":"running step {\"actions\":[{\"fastboot:wait\":null}]}"}
{"level":"verbose","message":"running fastboot action wait"}
{"level":"command","message":"exec: {\"cmd\":[\"fastboot\",\"devices\"],\"stdout\":\"42967a0a\\tfastboot\"}"}
{"level":"verbose","message":"running step {\"actions\":[{\"fastboot:flash\":{\"partitions\":[{\"partition\":\"recovery\",\"file\":\"halium-unlocked-recovery_oneplus3.img\",\"group\":\"firmware\"}]}}],\"condition\":{\"var\":\"bootstrap\",\"value\":true}}"}
{"level":"verbose","message":"running fastboot action flash"}
{"level":"command","message":"exec: {\"cmd\":[\"fastboot\",\"devices\"],\"stdout\":\"42967a0a\\tfastboot\"}"}
{"level":"command","message":"exec: {\"cmd\":[\"fastboot\",\"devices\"],\"stdout\":\"42967a0a\\tfastboot\"}"}
{"level":"command","message":"spawn:start: {\"cmd\":[\"fastboot\",\"flash\",\"recovery\",\"/home/pinky/snap/ubports-installer/334/.cache/ubports/oneplus3/firmware/halium-unlocked-recovery_oneplus3.img\"]}"}
{"level":"command","message":"spawn:exit: {\"cmd\":[\"fastboot\",\"flash\",\"recovery\",\"/home/pinky/snap/ubports-installer/334/.cache/ubports/oneplus3/firmware/halium-unlocked-recovery_oneplus3.img\"]}"}
{"level":"verbose","message":"running step {\"actions\":[{\"fastboot:erase\":{\"partition\":\"cache\"}}],\"condition\":{\"var\":\"bootstrap\",\"value\":true}}"}
{"level":"verbose","message":"running fastboot action erase"}
{"level":"command","message":"exec: {\"cmd\":[\"fastboot\",\"erase\",\"cache\"],\"stderr\":\"******** Did you mean to fastboot format this ext4 partition?\\nErasing 'cache' OKAY [ 0.020s]\\nFinished. Total time: 0.043s\"}"}
{"level":"verbose","message":"running step {\"actions\":[{\"fastboot:boot\":{\"group\":\"firmware\",\"file\":\"halium-unlocked-recovery_oneplus3.img\"}}],\"fallback\":[{\"core:user_action\":{\"action\":\"recovery\"}}],\"condition\":{\"var\":\"bootstrap\",\"value\":true}}"}
{"level":"verbose","message":"running fastboot action boot"}
{"level":"command","message":"exec: {\"cmd\":[\"fastboot\",\"boot\",\"/home/pinky/snap/ubports-installer/334/.cache/ubports/oneplus3/firmware/halium-unlocked-recovery_oneplus3.img\"],\"stderr\":\"Sending 'boot.img' (20880 KB) OKAY [ 0.850s]\\nBooting OKAY [ 0.536s]\\nFinished. Total time: 1.407s\"}"}
{"level":"verbose","message":"running step {\"actions\":[{\"systemimage:install\":null}]}"}
{"level":"verbose","message":"running systemimage action install"}
{"level":"debug","message":"Downloading system-image file 1 of 8"}
{"level":"debug","message":"Downloading system-image file 2 of 8"}
{"level":"debug","message":"Downloading system-image file 3 of 8"}
{"level":"debug","message":"Downloading system-image file 4 of 8"}
{"level":"debug","message":"Downloading system-image file 5 of 8"}
{"level":"debug","message":"Downloading system-image file 6 of 8"}
{"level":"debug","message":"Downloading system-image file 7 of 8"}
{"level":"debug","message":"Downloading system-image file 8 of 8"}
{"level":"command","message":"exec: {\"cmd\":[\"adb\",\"-P\",5037,\"wait-for-any-any\"]}"}
{"level":"command","message":"exec: {\"cmd\":[\"adb\",\"-P\",5037,\"get-state\"],\"stdout\":\"recovery\"}"}
{"level":"command","message":"exec: {\"cmd\":[\"adb\",\"-P\",5037,\"shell\",\"mount -a\"],\"error\":{\"message\":\"Command failed: adb -P 5037 shell mount -a\\nmount: mounting /dev/block/bootdevice/by-name/userdata on /data failed: Invalid argument\\nmount: mounting /dev/block/bootdevice/by-name/persist on /persist failed: No such file or directory\\nmount: mounting /dev/block/bootdevice/by-name/dsp on /dsp failed: No such file or directory\\nmount: mounting /dev/block/bootdevice/by-name/modem on /firmware failed: No such file or directory\\nmount: mounting /dev/block/bootdevice/by-name/bluetooth on /bt_firmware failed: No such file or directory\",\"code\":5},\"stderr\":\"mount: mounting /dev/block/bootdevice/by-name/userdata on /data failed: Invalid argument\\nmount: mounting /dev/block/bootdevice/by-name/persist on /persist failed: No such file or directory\\nmount: mounting /dev/block/bootdevice/by-name/dsp on /dsp failed: No such file or directory\\nmount: mounting /dev/block/bootdevice/by-name/modem on /firmware failed: No such file or directory\\nmount: mounting /dev/block/bootdevice/by-name/bluetooth on /bt_firmware failed: No such file or directory\"}"}
{"level":"command","message":"exec: {\"cmd\":[\"adb\",\"-P\",5037,\"shell\",\"cat /etc/recovery.fstab\"],\"stdout\":\"# Android fstab file.\\n# The filesystem that contains the filesystem checker binary (typically /system) cannot\\n# specify MF_CHECK, and must come before any filesystems that do specify MF_CHECK\\n\\n#TODO: Add 'check' as fs_mgr_flags with data partition.\\n# Currently we dont have e2fsck compiled. So fs check would failed.\\n\\n#<src> <mnt_point> <type> <mnt_flags and options> <fs_mgr_flags>\\n/dev/block/bootdevice/by-name/boot /boot emmc defaults defaults\\n/dev/block/bootdevice/by-name/recovery /recovery emmc defaults defaults\\n/dev/block/bootdevice/by-name/system /system ext4 rw,barrier=1,discard wait\\n/dev/block/bootdevice/by-name/userdata /data ext4 nosuid,nodev,noatime,barrier=1,noauto_da_alloc wait,check,encryptable=footer,formattable,length=-16384\\n/dev/block/bootdevice/by-name/persist /persist ext4 nosuid,nodev,barrier=1 wait\\n/dev/block/bootdevice/by-name/dsp /dsp ext4 ro,nosuid,nodev,barrier=1 wait\\n/dev/block/bootdevice/by-name/modem /firmware vfat ro,shortname=lower,uid=1000,gid=1000,dmask=227,fmask=337 wait\\n/dev/block/bootdevice/by-name/bluetooth /bt_firmware vfat ro,shortname=lower,uid=1002,gid=3002,dmask=222,fmask=333 wait\\n/dev/block/bootdevice/by-name/misc /misc emmc defaults defaults\\n/dev/block/bootdevice/by-name/logo /logo emmc defaults defaults\\n\\n/devices/soc/6a00000.ssusb/6a00000.dwc3/xhci-hcd.0.auto/usb* auto auto defaults voldmanaged=usbdisk:auto\"}"}
{"level":"command","message":"exec: {\"cmd\":[\"adb\",\"-P\",5037,\"shell\",\"rm -rf /cache/*\"]}"}
{"level":"command","message":"exec: {\"cmd\":[\"adb\",\"-P\",5037,\"shell\",\"mkdir -p /cache/recovery\"]}"}
{"level":"debug","message":"adb created /cache/recovery directory"}
{"level":"command","message":"spawn:start: {\"cmd\":[\"adb\",\"-P\",5037,\"push\",\"/home/pinky/snap/ubports-installer/334/.cache/ubports/system-image/pool/ubports-ccc209b4becf6fd10d9c7fa5a96d95314d165ce77b40764845c67682fe8e1813.tar.xz\",\"/home/pinky/snap/ubports-installer/334/.cache/ubports/system-image/pool/ubports-ccc209b4becf6fd10d9c7fa5a96d95314d165ce77b40764845c67682fe8e1813.tar.xz.asc\",\"/home/pinky/snap/ubports-installer/334/.cache/ubports/system-image/pool/device-7eaf9aeb3bf19385608a035490aa20b85cb90da27cc024934c9ef72b85dbfde4.tar.xz\",\"/home/pinky/snap/ubports-installer/334/.cache/ubports/system-image/pool/device-7eaf9aeb3bf19385608a035490aa20b85cb90da27cc024934c9ef72b85dbfde4.tar.xz.asc\",\"/home/pinky/snap/ubports-installer/334/.cache/ubports/system-image/pool/keyring-4c4e7ef380ebcfa2c31084efa199138e93bfed8fc58aa3eb06bdf75a78af9b57.tar.xz\",\"/home/pinky/snap/ubports-installer/334/.cache/ubports/system-image/pool/keyring-4c4e7ef380ebcfa2c31084efa199138e93bfed8fc58aa3eb06bdf75a78af9b57.tar.xz.asc\",\"/home/pinky/snap/ubports-installer/334/.cache/ubports/system-image/pool/version-3.tar.xz\",\"/home/pinky/snap/ubports-installer/334/.cache/ubports/system-image/pool/version-3.tar.xz.asc\",\"/home/pinky/snap/ubports-installer/334/.cache/ubports/system-image/gpg/image-signing.tar.xz\",\"/home/pinky/snap/ubports-installer/334/.cache/ubports/system-image/gpg/image-signing.tar.xz.asc\",\"/home/pinky/snap/ubports-installer/334/.cache/ubports/system-image/gpg/image-master.tar.xz\",\"/home/pinky/snap/ubports-installer/334/.cache/ubports/system-image/gpg/image-master.tar.xz.asc\",\"/home/pinky/snap/ubports-installer/334/.cache/ubports/system-image/ubuntu_command\",\"/cache/recovery/\"]}"}
{"level":"command","message":"exec: {\"cmd\":[\"adb\",\"-P\",5037,\"shell\",\"mount\"],\"stdout\":\"rootfs on / type rootfs (rw,size=2846448k,nr_inodes=711612)\\ntmpfs on /dev type tmpfs (rw,nosuid,relatime,mode=755)\\ndevpts on /dev/pts type devpts (rw,relatime,mode=600,ptmxmode=000)\\nproc on /proc type proc (rw,relatime,gid=3009,hidepid=2)\\nsysfs on /sys type sysfs (rw,relatime)\\ntmpfs on /tmp type tmpfs (rw,relatime)\\ntmpfs on /storage type tmpfs (rw,relatime,mode=050,gid=1028)\\npstore on /sys/fs/pstore type pstore (rw,relatime)\\nadb on /dev/usb-ffs/adb type functionfs (rw,relatime)\\n/dev/block/bootdevice/by-name/system on /system type ext4 (rw,relatime,discard,data=ordered)\"}"}
{"level":"warn"}
{"level":"command","message":"spawn:exit: {\"cmd\":[\"adb\",\"-P\",5037,\"push\",\"/home/pinky/snap/ubports-installer/334/.cache/ubports/system-image/pool/ubports-ccc209b4becf6fd10d9c7fa5a96d95314d165ce77b40764845c67682fe8e1813.tar.xz\",\"/home/pinky/snap/ubports-installer/334/.cache/ubports/system-image/pool/ubports-ccc209b4becf6fd10d9c7fa5a96d95314d165ce77b40764845c67682fe8e1813.tar.xz.asc\",\"/home/pinky/snap/ubports-installer/334/.cache/ubports/system-image/pool/device-7eaf9aeb3bf19385608a035490aa20b85cb90da27cc024934c9ef72b85dbfde4.tar.xz\",\"/home/pinky/snap/ubports-installer/334/.cache/ubports/system-image/pool/device-7eaf9aeb3bf19385608a035490aa20b85cb90da27cc024934c9ef72b85dbfde4.tar.xz.asc\",\"/home/pinky/snap/ubports-installer/334/.cache/ubports/system-image/pool/keyring-4c4e7ef380ebcfa2c31084efa199138e93bfed8fc58aa3eb06bdf75a78af9b57.tar.xz\",\"/home/pinky/snap/ubports-installer/334/.cache/ubports/system-image/pool/keyring-4c4e7ef380ebcfa2c31084efa199138e93bfed8fc58aa3eb06bdf75a78af9b57.tar.xz.asc\",\"/home/pinky/snap/ubports-installer/334/.cache/ubports/system-image/pool/version-3.tar.xz\",\"/home/pinky/snap/ubports-installer/334/.cache/ubports/system-image/pool/version-3.tar.xz.asc\",\"/home/pinky/snap/ubports-installer/334/.cache/ubports/system-image/gpg/image-signing.tar.xz\",\"/home/pinky/snap/ubports-installer/334/.cache/ubports/system-image/gpg/image-signing.tar.xz.asc\",\"/home/pinky/snap/ubports-installer/334/.cache/ubports/system-image/gpg/image-master.tar.xz\",\"/home/pinky/snap/ubports-installer/334/.cache/ubports/system-image/gpg/image-master.tar.xz.asc\",\"/home/pinky/snap/ubports-installer/334/.cache/ubports/system-image/ubuntu_command\",\"/cache/recovery/\"]}"}
{"level":"verbose","message":"running step {\"actions\":[{\"adb:reboot\":{\"to_state\":\"recovery\"}}],\"fallback\":[{\"core:user_action\":{\"action\":\"recovery\"}}]}"}
{"level":"verbose","message":"running adb action reboot"}
{"level":"command","message":"exec: {\"cmd\":[\"adb\",\"-P\",5037,\"reboot\",\"recovery\"]}"}
{"level":"verbose","message":"running step {\"actions\":[{\"core:end\":null}]}"}
{"level":"verbose","message":"running core action end"}
{"level":"info","message":"All done! Your device will now reboot and complete the installation. Enjoy exploring Ubuntu Touch!"}
{"level":"info","message":"Good bye!"}
{"level":"command","message":"exec: {\"cmd\":[\"adb\",\"-P\",5037,\"kill-server\"]}"}
libremax a écritBien regarde ce qu'il y a dedans particulièrement dans Ubuntu actions.
Dans le menu "Ubuntu actions" du recovery Android, il y a les sous-menus suivants :
- Reboot system now
- Replace ubuntu android system
- Install ubuntu zip
- Install ubuntu preinstalled
- Wipe date/factory reset
libremax a écritOui, les outils adb sont utilisables dans une installation d'UT sur un portable à base d'android et indispensables pour l'installeur.
Je te demandais ça car dans le terminal, lorsque que je saisis :
adb devices
Il ne me liste plus mon Oneplus 3T.
Comme il n' y a plus Android, c'est peut être normal ? :rolleyes: