Guest User

Untitled

a guest
Jun 11th, 2019
76
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. + echo 'Running Mer Boat Loader'
  2. Running Mer Boat Loader
  3. + BOOTLOGO=%BOOTLOGO%
  4. + ALWAYSDEBUG=%ALWAYSDEBUG%
  5. + DATA_PARTITION=%DATA_PART%
  6. + DEFAULT_OS=%DEFAULT_OS%
  7. + export PATH=/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/bin:/usr/local/sbin
  8. + PATH=/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/bin:/usr/local/sbin
  9. + USB_FUNCTIONS=rndis
  10. + ANDROID_USB=/sys/class/android_usb/android0
  11. + GADGET_DIR=/config/usb_gadget
  12. + LOCAL_IP=192.168.2.15
  13. + DONE_SWITCH=no
  14. + '[' /init-debug = /init-debug ']'
  15. + DONE_SWITCH=yes
  16. + '[' yes = no ']'
  17. + EXPLICIT_BUSYBOX=/bin/busybox-static
  18. + TELNET_DEBUG_PORT=2323
  19. + do_mount_devprocsys
  20. + echo '########################## mounting devprocsys'
  21. ########################## mounting devprocsys
  22. + mkdir /dev
  23. mkdir: cannot create directory `/dev': File exists
  24. + mount -t devtmpfs devtmpfs /dev
  25. + mkdir /dev/pts
  26. mkdir: cannot create directory `/dev/pts': File exists
  27. + mount -t devpts devpts /dev/pts
  28. + mkdir /proc
  29. mkdir: cannot create directory `/proc': File exists
  30. + mkdir /sys
  31. mkdir: cannot create directory `/sys': File exists
  32. + mount -t sysfs sysfs /sys
  33. + mount -t proc proc /proc
  34. + mkdir /config
  35. + mount -t configfs none /config
  36. + HALT_BOOT=n
  37. + '[' -f /init_enter_debug2 ']'
  38. + '[' -f /init_disable_telnet ']'
  39. + run_debug_session 'init-debug in real rootfs' n
  40. + CUSTOMPRODUCT='init-debug in real rootfs'
  41. + echo '########################## Debug session : init-debug in real rootfs'
  42. ########################## Debug session : init-debug in real rootfs
  43. + usb_setup 'Mer Debug setting up (DONE_SWITCH=yes)'
  44. + '[' -d /sys/class/android_usb/android0 ']'
  45. + usb_setup_android_usb Mer Debug setting up '(DONE_SWITCH=yes)'
  46. + G_USB_ISERIAL=/sys/class/android_usb/android0/iSerial
  47. + write /sys/class/android_usb/android0/enable 0
  48. + echo -n 0
  49. /init-debug: line 171: /sys/class/android_usb/android0/enable: Permission denied
  50. + write /sys/class/android_usb/android0/functions ''
  51. + echo -n ''
  52. /init-debug: line 171: /sys/class/android_usb/android0/functions: Permission denied
  53. + write /sys/class/android_usb/android0/enable 1
  54. + echo -n 1
  55. /init-debug: line 171: /sys/class/android_usb/android0/enable: Permission denied
  56. + usleep 500000
  57. /init-debug: line 230: usleep: command not found
  58. + write /sys/class/android_usb/android0/enable 0
  59. + echo -n 0
  60. /init-debug: line 171: /sys/class/android_usb/android0/enable: Permission denied
  61. + write /sys/class/android_usb/android0/idVendor 18D1
  62. + echo -n 18D1
  63. /init-debug: line 171: /sys/class/android_usb/android0/idVendor: Permission denied
  64. + write /sys/class/android_usb/android0/idProduct D001
  65. + echo -n D001
  66. /init-debug: line 171: /sys/class/android_usb/android0/idProduct: Permission denied
  67. + write /sys/class/android_usb/android0/iManufacturer 'Mer Boat Loader'
  68. + echo -n 'Mer Boat Loader'
  69. /init-debug: line 171: /sys/class/android_usb/android0/iManufacturer: Permission denied
  70. + write /sys/class/android_usb/android0/iProduct 'init-debug in real rootfs'
  71. + echo -n 'init-debug in real rootfs'
  72. /init-debug: line 171: /sys/class/android_usb/android0/iProduct: Permission denied
  73. + write /sys/class/android_usb/android0/iSerial Mer
  74. + echo -n Mer
  75. /init-debug: line 171: /sys/class/android_usb/android0/iSerial: Permission denied
  76. + write /sys/class/android_usb/android0/functions rndis
  77. + echo -n rndis
  78. /init-debug: line 171: /sys/class/android_usb/android0/functions: Permission denied
  79. + write /sys/class/android_usb/android0/enable 1
  80. + echo -n 1
  81. /init-debug: line 171: /sys/class/android_usb/android0/enable: Permission denied
  82. + USB_IFACE=notfound
  83. + /sbin/ifconfig rndis0 192.168.2.15
  84. + USB_IFACE=rndis0
  85. + '[' xrndis0 = xnotfound ']'
  86. + /sbin/ifconfig -a
  87. lo Link encap:Local Loopback
  88. LOOPBACK MTU:65536 Metric:1
  89. RX packets:0 errors:0 dropped:0 overruns:0 frame:0
  90. TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
  91. collisions:0 txqueuelen:0
  92. RX bytes:0 (0.0 b) TX bytes:0 (0.0 b)
  93.  
  94. rmnet0 Link encap:Ethernet HWaddr 58:02:03:04:05:06
  95. BROADCAST MULTICAST MTU:1500 Metric:1
  96. RX packets:0 errors:0 dropped:0 overruns:0 frame:0
  97. TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
  98. collisions:0 txqueuelen:1000
  99. RX bytes:0 (0.0 b) TX bytes:0 (0.0 b)
  100.  
  101. rmnet1 Link encap:Ethernet HWaddr 58:02:03:04:05:07
  102. BROADCAST MULTICAST MTU:1500 Metric:1
  103. RX packets:0 errors:0 dropped:0 overruns:0 frame:0
  104. TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
  105. collisions:0 txqueuelen:1000
  106. RX bytes:0 (0.0 b) TX bytes:0 (0.0 b)
  107.  
  108. rmnet_ims Link encap:Ethernet HWaddr 58:02:03:04:05:0D
  109. BROADCAST MULTICAST MTU:1280 Metric:1
  110. RX packets:0 errors:0 dropped:0 overruns:0 frame:0
  111. TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
  112. collisions:0 txqueuelen:1000
  113. RX bytes:0 (0.0 b) TX bytes:0 (0.0 b)
  114.  
  115. rmnet_ims1 Link encap:Ethernet HWaddr 58:02:03:04:05:0F
  116. BROADCAST MULTICAST MTU:3000 Metric:1
  117. RX packets:0 errors:0 dropped:0 overruns:0 frame:0
  118. TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
  119. collisions:0 txqueuelen:1000
  120. RX bytes:0 (0.0 b) TX bytes:0 (0.0 b)
  121.  
  122. rmnet_vowifi Link encap:Ethernet HWaddr 58:02:03:04:05:0E
  123. BROADCAST MULTICAST MTU:1500 Metric:1
  124. RX packets:0 errors:0 dropped:0 overruns:0 frame:0
  125. TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
  126. collisions:0 txqueuelen:1000
  127. RX bytes:0 (0.0 b) TX bytes:0 (0.0 b)
  128.  
  129. rmnet2 Link encap:Ethernet HWaddr 58:02:03:04:05:08
  130. BROADCAST MULTICAST MTU:1500 Metric:1
  131. RX packets:0 errors:0 dropped:0 overruns:0 frame:0
  132. TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
  133. collisions:0 txqueuelen:1000
  134. RX bytes:0 (0.0 b) TX bytes:0 (0.0 b)
  135.  
  136. rmnet3 Link encap:Ethernet HWaddr 58:02:03:04:05:09
  137. BROADCAST MULTICAST MTU:1500 Metric:1
  138. RX packets:0 errors:0 dropped:0 overruns:0 frame:0
  139. TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
  140. collisions:0 txqueuelen:1000
  141. RX bytes:0 (0.0 b) TX bytes:0 (0.0 b)
  142.  
  143. rmnet4 Link encap:Ethernet HWaddr 58:02:03:04:05:0A
  144. BROADCAST MULTICAST MTU:1500 Metric:1
  145. RX packets:0 errors:0 dropped:0 overruns:0 frame:0
  146. TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
  147. collisions:0 txqueuelen:1000
  148. RX bytes:0 (0.0 b) TX bytes:0 (0.0 b)
  149.  
  150. rmnet5 Link encap:Ethernet HWaddr 58:02:03:04:05:0B
  151. BROADCAST MULTICAST MTU:1500 Metric:1
  152. RX packets:0 errors:0 dropped:0 overruns:0 frame:0
  153. TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
  154. collisions:0 txqueuelen:1000
  155. RX bytes:0 (0.0 b) TX bytes:0 (0.0 b)
  156.  
  157. rmnet6 Link encap:Ethernet HWaddr 58:02:03:04:05:0C
  158. BROADCAST MULTICAST MTU:1500 Metric:1
  159. RX packets:0 errors:0 dropped:0 overruns:0 frame:0
  160. TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
  161. collisions:0 txqueuelen:1000
  162. RX bytes:0 (0.0 b) TX bytes:0 (0.0 b)
  163.  
  164. rndis0 Link encap:Ethernet HWaddr 1A:96:52:0B:61:0D
  165. inet addr:192.168.2.15 Bcast:192.168.2.255 Mask:255.255.255.0
  166. inet6 addr: fe80::1896:52ff:fe0b:610d/64 Scope:Link
  167. UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
  168. RX packets:6 errors:0 dropped:0 overruns:0 frame:0
  169. TX packets:2 errors:0 dropped:0 overruns:0 carrier:0
  170. collisions:0 txqueuelen:1000
  171. RX bytes:890 (890.0 b) TX bytes:520 (520.0 b)
  172.  
  173. sit0 Link encap:UNSPEC HWaddr 00-00-00-00-00-00-E1-A9-00-00-00-00-00-00-00-00
  174. NOARP MTU:1480 Metric:1
  175. RX packets:0 errors:0 dropped:0 overruns:0 frame:0
  176. TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
  177. collisions:0 txqueuelen:0
  178. RX bytes:0 (0.0 b) TX bytes:0 (0.0 b)
  179.  
  180. wlan0 Link encap:Ethernet HWaddr 00:90:4C:11:22:33
  181. BROADCAST MULTICAST MTU:1500 Metric:1
  182. RX packets:0 errors:0 dropped:0 overruns:0 frame:0
  183. TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
  184. collisions:0 txqueuelen:1000
  185. RX bytes:0 (0.0 b) TX bytes:0 (0.0 b)
  186.  
  187. + '[' xrndis0 = xnotfound ']'
  188. + echo 'start 192.168.2.20'
  189. + echo 'end 192.168.2.90'
  190. + echo 'lease_file /var/udhcpd.leases'
  191. + echo 'interface rndis0'
  192. + echo 'option subnet 255.255.255.0'
  193. + echo '########################## starting dhcpd'
  194. ########################## starting dhcpd
  195. + /bin/busybox-static udhcpd
  196. + HALT_BOOT=n
  197. + set_welcome_msg n
  198. + cat
  199. + '[' yes = no ']'
  200. + cat
  201. + cat
  202. + HALT_BOOT=n
  203. + '[' n = y ']'
  204. + '[' yes = no ']'
  205. + '[' -z ']'
  206. + echo '########################## starting telnetd'
  207. ########################## starting telnetd
  208. + /bin/busybox-static telnetd -b 192.168.2.15:2323 -l /bin/sh
  209. + usb_info 'Mer Debug telnet on port 2323 on rndis0 192.168.2.15 - also running udhcpd'
  210. + echo '########################## usb_info: Mer Debug telnet on port 2323 on rndis0 192.168.2.15 - also running udhcpd'
  211. ########################## usb_info: Mer Debug telnet on port 2323 on rndis0 192.168.2.15 - also running udhcpd
  212. + sleep 1
  213. + write /sys/class/android_usb/android0/iSerial 'Mer Debug telnet on port 2323 on rndis0 192.168.2.15 - also running udhcpd'
  214. + echo -n 'Mer Debug telnet on port 2323 on rndis0 192.168.2.15 - also running udhcpd'
  215. /init-debug: line 171: /sys/class/android_usb/android0/iSerial: Permission denied
  216. + '[' n = y ']'
  217. + rm /dev/block
  218. + '[' -x /sbin/preinit ']'
  219. + INIT=/sbin/preinit
  220. + exec /sbin/preinit --log-level=debug --log-target=kmsg
RAW Paste Data