[Android General] psychem:
adb devices doesnt show the phone

fstab drives are different

# mount point fstype device [device2]
/firmware vfat /dev/block/platform/msm_sdcc.1/by-name/modem flags=mounttodecrypt;fsflags=ro;display="Firmware"
/system ext4 /dev/block/platform/msm_sdcc.1/by-name/system
/data ext4 /dev/block/platform/msm_sdcc.1/by-name/userdata flags=encryptable=/dev/block/platform/msm_sdcc.1/by-name/reserve2
/cache ext4 /dev/block/platform/msm_sdcc.1/by-name/cache
/persist ext4 /dev/block/platform/msm_sdcc.1/by-name/persist flags=backup=1;display="Persist"
/boot emmc /dev/block/platform/msm_sdcc.1/by-name/boot
/recovery emmc /dev/block/platform/msm_sdcc.1/by-name/recovery flags=backup=1
/misc emmc /dev/block/platform/msm_sdcc.1/by-name/misc
/efs1 emmc /dev/block/platform/msm_sdcc.1/by-name/modemst1 flags=backup=1;display=EFS
/efs2 emmc /dev/block/platform/msm_sdcc.1/by-name/modemst2 flags=backup=1;subpartitionof=/efs1

/external_sd auto /dev/block/mmcblk1p1 /dev/block/mmcblk1 flags=display="MicroSD Card";storage;wipeingui;removable
/usb_otg auto /dev/block/sda1 /dev/block/sda flags=display="USB-OTG";storage;wipeingui;removable

# Android fstab file.
# The filesystem that contains the filesystem e2fsck binary (typically /system) cannot
# specify 'check', and must come before any filesystems that do specify 'check'

# NOTE: /system partition is now early-mounted and the fstab entry is specified in device tree (duplicated below for recovery image purposes only):
# /proc/device-tree/firmware/android/fstab/system

#<src> <mnt_point> <type> <mnt_flags and options> <fs_mgr_flags>
/dev/block/platform/msm_sdcc.1/by-name/boot /boot emmc defaults defaults
/dev/block/platform/msm_sdcc.1/by-name/recovery /recovery emmc defaults defaults
/dev/block/platform/msm_sdcc.1/by-name/system /system ext4 ro,barrier=1 wait,recoveryonly
/dev/block/platform/msm_sdcc.1/by-name/userdata /data f2fs noatime,nosuid,nodev,inline_xattr wait,check,formattable,encryptable=/dev/block/platform/msm_sdcc.1/by-name/reserve2
/dev/block/platform/msm_sdcc.1/by-name/userdata /data ext4 noatime,nosuid,nodev,barrier=1,noauto_da_alloc wait,check,formattable,encryptable=/dev/block/platform/msm_sdcc.1/by-name/reserve2
/dev/block/platform/msm_sdcc.1/by-name/cache /cache f2fs noatime,nosuid,nodev,inline_xattr wait,check,formattable
/dev/block/platform/msm_sdcc.1/by-name/cache /cache ext4 noatime,nosuid,nodev,barrier=1 wait,check,formattable
/dev/block/platform/msm_sdcc.1/by-name/persist /persist ext4 noatime,nosuid,nodev,barrier=1 wait
/dev/block/platform/msm_sdcc.1/by-name/modem /firmware sdfat ro,uid=1000,gid=1000,dmask=227,fmask=337 wait
/dev/block/platform/msm_sdcc.1/by-name/misc /misc emmc defaults defaults

/devices/msm_sdcc.2/mmc_host* auto auto defaults voldmanaged=sdcard1:auto,encryptable=userdata
/devices/platform/xhci-hcd/usb* auto auto defaults voldmanaged=usb:auto

i think the error at 83% could be the problem too?

root@mx:~/losTWRP# mka recoveryimage
============================================
PLATFORM_VERSION_CODENAME=REL
PLATFORM_VERSION=9
TARGET_PRODUCT=omni_onyx
TARGET_BUILD_VARIANT=userdebug
TARGET_BUILD_TYPE=release
TARGET_ARCH=arm
TARGET_ARCH_VARIANT=armv7-a-neon
TARGET_CPU_VARIANT=krait
HOST_ARCH=x86_64
HOST_2ND_ARCH=x86
HOST_OS=linux
HOST_OS_EXTRA=Linux-4.9.146-antix.1-amd64-smp-x86_64-Debian-GNU/Linux-9-(stretch)
HOST_CROSS_OS=windows
HOST_CROSS_ARCH=x86
HOST_CROSS_2ND_ARCH=x86_64
HOST_BUILD_TYPE=release
BUILD_ID=PQ1A.190105.004
OUT_DIR=/root/losTWRP/out
============================================
ninja: no work to do.
ninja: no work to do.
No need to regenerate ninja file
No need to regenerate ninja file
[ 33% 4/12] Building Kernel Config
make: Entering directory '/root/losTWRP/kernel/oneplus/onyx'
GEN /root/losTWRP/out/target/product/onyx/obj/KERNEL_OBJ/Makefile
#
# configuration written to .config
#
make: Leaving directory '/root/losTWRP/kernel/oneplus/onyx'
make: Entering directory '/root/losTWRP/kernel/oneplus/onyx'
GEN /root/losTWRP/out/target/product/onyx/obj/KERNEL_OBJ/Makefile
scripts/kconfig/conf --savedefconfig=defconfig Kconfig
make: Leaving directory '/root/losTWRP/kernel/oneplus/onyx'
[ 41% 5/12] Building Kernel Headers
make: Entering directory '/root/losTWRP/kernel/oneplus/onyx'
GEN /root/losTWRP/out/target/product/onyx/obj/KERNEL_OBJ/Makefile
#
# configuration written to .config
#
make: Leaving directory '/root/losTWRP/kernel/oneplus/onyx'
make: Entering directory '/root/losTWRP/kernel/oneplus/onyx'
CHK include/linux/version.h
make: Leaving directory '/root/losTWRP/kernel/oneplus/onyx'
[ 50% 6/12] Building Kernel
make: Entering directory '/root/losTWRP/kernel/oneplus/onyx'
GEN /root/losTWRP/out/target/product/onyx/obj/KERNEL_OBJ/Makefile
scripts/kconfig/conf --silentoldconfig Kconfig
GEN /root/losTWRP/out/target/product/onyx/obj/KERNEL_OBJ/Makefile
CHK include/linux/version.h
CHK include/generated/utsrelease.h
Using /root/losTWRP/kernel/oneplus/onyx as source for kernel
make[2]: 'include/generated/mach-types.h' is up to date.
CALL /root/losTWRP/kernel/oneplus/onyx/scripts/checksyscalls.sh
CHK include/generated/compile.h
GZIP kernel/config_data.gz
CHK kernel/config_data.h
Kernel: arch/arm/boot/Image is ready
LD arch/arm/boot/compressed/vmlinux
OBJCOPY arch/arm/boot/zImage
Kernel: arch/arm/boot/zImage is ready
CAT arch/arm/boot/zImage-dtb
Kernel: arch/arm/boot/zImage-dtb is ready
make: Leaving directory '/root/losTWRP/kernel/oneplus/onyx'
Building DTBs
make: Entering directory '/root/losTWRP/kernel/oneplus/onyx'
make[2]: Nothing to be done for 'arch/arm/boot/dtbs'.
make: Leaving directory '/root/losTWRP/kernel/oneplus/onyx'
[ 83% 10/12] ----- Making uncompressed recovery ramdisk ------
cp: cannot stat '/root/losTWRP/out/target/product/onyx/root/init.recovery.*.rc': No such file or directory
[ 91% 11/12] ----- Compressing recovery ramdisk ------
----- Making recovery image ------
----- Made recovery image -------- /root/losTWRP/out/target/product/onyx/recovery.img
[100% 12/12] build /root/losTWRP/out/target/product/onyx/system/etc/recovery-resource.dat

#### build completed successfully (16 seconds) ####