Skip to content

Instantly share code, notes, and snippets.

@r0kk3rz

r0kk3rz/2.1.1 no booty Secret

Created Jul 30, 2017
Embed
What would you like to do?
sh-3.2# cat init.log
+ echo 'Running Mer Boat Loader'
Running Mer Boat Loader
+ BOOTLOGO=%BOOTLOGO%
+ ALWAYSDEBUG=%ALWAYSDEBUG%
+ DATA_PARTITION=%DATA_PART%
+ DEFAULT_OS=%DEFAULT_OS%
+ export PATH=/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/bin:/usr/local/sbin
+ PATH=/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/bin:/usr/local/sbin
+ USB_FUNCTIONS=rndis
+ ANDROID_USB=/sys/class/android_usb/android0
+ LOCAL_IP=192.168.2.15
+ DONE_SWITCH=no
+ '[' /init-debug = /init-debug ']'
+ DONE_SWITCH=yes
+ '[' yes = no ']'
+ EXPLICIT_BUSYBOX=/bin/busybox-static
+ TELNET_DEBUG_PORT=2323
+ do_mount_devprocsys
+ echo '########################## mounting devprocsys'
########################## mounting devprocsys
+ mkdir /dev
mkdir: cannot create directory `/dev': File exists
+ mount -t devtmpfs devtmpfs /dev
+ mkdir /dev/pts
mkdir: cannot create directory `/dev/pts': File exists
+ mount -t devpts devpts /dev/pts
+ mkdir /proc
mkdir: cannot create directory `/proc': File exists
+ mkdir /sys
mkdir: cannot create directory `/sys': File exists
+ mount -t sysfs sysfs /sys
+ mount -t proc proc /proc
+ HALT_BOOT=n
+ '[' -f /init_enter_debug2 ']'
+ '[' -f /init_disable_telnet ']'
+ run_debug_session 'init-debug in real rootfs' n
+ CUSTOMPRODUCT='init-debug in real rootfs'
+ echo '########################## Debug session : init-debug in real rootfs'
########################## Debug session : init-debug in real rootfs
+ usb_setup 'Mer Debug setting up (DONE_SWITCH=yes)'
+ write /sys/class/android_usb/android0/enable 0
+ echo -n 0
+ write /sys/class/android_usb/android0/functions ''
+ echo -n ''
+ write /sys/class/android_usb/android0/enable 1
+ echo -n 1
+ usleep 500000
/init-debug: line 194: usleep: command not found
+ write /sys/class/android_usb/android0/enable 0
+ echo -n 0
+ write /sys/class/android_usb/android0/idVendor 18D1
+ echo -n 18D1
+ write /sys/class/android_usb/android0/idProduct D001
+ echo -n D001
+ write /sys/class/android_usb/android0/iManufacturer 'Mer Boat Loader'
+ echo -n 'Mer Boat Loader'
+ write /sys/class/android_usb/android0/iProduct 'init-debug in real rootfs'
+ echo -n 'init-debug in real rootfs'
+ write /sys/class/android_usb/android0/iSerial 'Mer Debug setting up (DONE_SWITCH=yes)'
+ echo -n 'Mer Debug setting up (DONE_SWITCH=yes)'
+ write /sys/class/android_usb/android0/functions rndis
+ echo -n rndis
+ write /sys/class/android_usb/android0/enable 1
+ echo -n 1
+ USB_IFACE=notfound
+ /sbin/ifconfig rndis0 192.168.2.15
+ USB_IFACE=rndis0
+ '[' xrndis0 = xnotfound ']'
+ /sbin/ifconfig -a
lo Link encap:Local Loopback
LOOPBACK MTU:16436 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:0 (0.0 b) TX bytes:0 (0.0 b)
rev_rmnet0 Link encap:Ethernet HWaddr EE:45:67:74:51:C0
BROADCAST MULTICAST MTU:2000 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:0 (0.0 b) TX bytes:0 (0.0 b)
rev_rmnet1 Link encap:Ethernet HWaddr B6:0E:32:CC:96:1B
BROADCAST MULTICAST MTU:2000 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:0 (0.0 b) TX bytes:0 (0.0 b)
rev_rmnet2 Link encap:Ethernet HWaddr 56:47:B6:DB:03:95
BROADCAST MULTICAST MTU:2000 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:0 (0.0 b) TX bytes:0 (0.0 b)
rev_rmnet3 Link encap:Ethernet HWaddr 36:68:27:05:A4:EE
BROADCAST MULTICAST MTU:2000 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:0 (0.0 b) TX bytes:0 (0.0 b)
rev_rmnet4 Link encap:Ethernet HWaddr 82:39:46:0F:41:46
BROADCAST MULTICAST MTU:2000 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:0 (0.0 b) TX bytes:0 (0.0 b)
rev_rmnet5 Link encap:Ethernet HWaddr 1E:F4:03:CD:FF:FB
BROADCAST MULTICAST MTU:2000 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:0 (0.0 b) TX bytes:0 (0.0 b)
rev_rmnet6 Link encap:Ethernet HWaddr 32:FD:7D:13:3D:40
BROADCAST MULTICAST MTU:2000 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:0 (0.0 b) TX bytes:0 (0.0 b)
rev_rmnet7 Link encap:Ethernet HWaddr 2A:7B:F9:67:73:78
BROADCAST MULTICAST MTU:2000 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:0 (0.0 b) TX bytes:0 (0.0 b)
rev_rmnet8 Link encap:Ethernet HWaddr 96:AA:FA:50:7B:BC
BROADCAST MULTICAST MTU:2000 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:0 (0.0 b) TX bytes:0 (0.0 b)
rmnet_usb0 Link encap:Ethernet HWaddr EA:4C:50:89:AF:95
BROADCAST MULTICAST MTU:2000 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:0 (0.0 b) TX bytes:0 (0.0 b)
rmnet0 Link encap:Ethernet HWaddr DA:DF:50:4E:1A:C7
BROADCAST MULTICAST MTU:2000 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:0 (0.0 b) TX bytes:0 (0.0 b)
rmnet1 Link encap:Ethernet HWaddr A2:35:2B:67:FF:66
BROADCAST MULTICAST MTU:2000 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:0 (0.0 b) TX bytes:0 (0.0 b)
rmnet2 Link encap:Ethernet HWaddr FA:FB:39:31:B3:31
BROADCAST MULTICAST MTU:2000 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:0 (0.0 b) TX bytes:0 (0.0 b)
rmnet3 Link encap:Ethernet HWaddr 22:D9:97:21:63:18
BROADCAST MULTICAST MTU:2000 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:0 (0.0 b) TX bytes:0 (0.0 b)
rmnet4 Link encap:Ethernet HWaddr 22:A6:5C:BB:74:68
BROADCAST MULTICAST MTU:2000 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:0 (0.0 b) TX bytes:0 (0.0 b)
rmnet5 Link encap:Ethernet HWaddr 36:44:D6:7E:4B:36
BROADCAST MULTICAST MTU:2000 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:0 (0.0 b) TX bytes:0 (0.0 b)
rmnet6 Link encap:Ethernet HWaddr 9A:0E:B7:14:1D:2A
BROADCAST MULTICAST MTU:2000 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:0 (0.0 b) TX bytes:0 (0.0 b)
rmnet7 Link encap:Ethernet HWaddr DA:BA:D8:46:3E:91
BROADCAST MULTICAST MTU:2000 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:0 (0.0 b) TX bytes:0 (0.0 b)
rndis0 Link encap:Ethernet HWaddr BE:A0:BC:24:F0:CB
inet addr:192.168.2.15 Bcast:192.168.2.255 Mask:255.255.255.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:0 (0.0 b) TX bytes:0 (0.0 b)
sit0 Link encap:UNSPEC HWaddr 00-00-00-00-00-00-28-C6-00-00-00-00-00-00-00-00
NOARP MTU:1480 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:0 (0.0 b) TX bytes:0 (0.0 b)
+ '[' xrndis0 = xnotfound ']'
+ echo 'start 192.168.2.20'
+ echo 'end 192.168.2.90'
+ echo 'lease_file /var/udhcpd.leases'
+ echo 'interface rndis0'
+ echo 'option subnet 255.255.255.0'
+ echo '########################## starting dhcpd'
########################## starting dhcpd
+ /bin/busybox-static udhcpd
+ HALT_BOOT=n
+ set_welcome_msg n
+ cat
+ '[' yes = no ']'
+ cat
+ cat
+ HALT_BOOT=n
+ '[' n = y ']'
+ '[' yes = no ']'
+ '[' -z ']'
+ echo '########################## starting telnetd'
########################## starting telnetd
+ /bin/busybox-static telnetd -b 192.168.2.15:2323 -l /bin/sh
+ usb_info 'Mer Debug telnet on port 2323 on rndis0 192.168.2.15 - also running udhcpd'
+ echo '########################## usb_info: Mer Debug telnet on port 2323 on rndis0 192.168.2.15 - also running udhcpd'
########################## usb_info: Mer Debug telnet on port 2323 on rndis0 192.168.2.15 - also running udhcpd
+ sleep 1
+ write /sys/class/android_usb/android0/iSerial 'Mer Debug telnet on port 2323 on rndis0 192.168.2.15 - also running udhcpd'
+ echo -n 'Mer Debug telnet on port 2323 on rndis0 192.168.2.15 - also running udhcpd'
+ '[' n = y ']'
+ rm /dev/block
+ '[' -x /sbin/preinit ']'
+ INIT=/sbin/preinit
+ exec /sbin/preinit --log-level=debug --log-target=kmsg
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.