I put
(eval-after-load "tramp"
  '(progn
     (add-to-list 'tramp-remote-process-environment "TMPDIR=/sdcard/temp")
     (add-to-list 'tramp-remote-path 'tramp-own-remote-path)
     (add-to-list 'tramp-remote-path "/system/xbin")
     (add-to-list 'tramp-connection-properties
                  (list (regexp-quote "192.168.12.66") "remote-shell" 
"sh"));but who knows how to say for adb?
     (defun tramp-adb-get-ls-command (vec)
       (with-tramp-connection-property vec "ls"
         (tramp-message vec 5 "Finding a suitable `ls' command")
         (if (tramp-adb-send-command-and-check vec "ls --color=never -al 
/dev/null")
             ;; On CyanogenMod based system BusyBox is used and "ls" output
             ;; coloring is enabled by default.  So we try to disable it
             ;; when possible.
             "ls"
           "ls")))))

(defun jidanni-connect-remote ()
  (interactive)
  '(progn
     (require 'tramp)
     (setq tramp-verbose 6)
     (dired "/adb::/sdcard/")))
;;(dired "/ssh:[email protected]#2222:/sdcard/")); yes even if not root
in .emacs and of course M-x jidanni-connect-remote does not do anything.
Not even set tramp-verbose to 6.

_______________________________________________
Tramp-devel mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/tramp-devel

Reply via email to