This is how to REAL install Remix OS on VirtualBox. rootfs could be writable!!!
- any linux liveCD iso file (Xubuntu here)
- Remix OS iso file ("Remix_OS_for_PC_Android_M_32bit_B2016092201.iso" here)
- VirtualBox
| #!/bin/sh | |
| # | |
| # This script should prevent the following suspend errors | |
| # which freezes the Dell Inspiron laptop. | |
| # | |
| # Put it in /usr/lib/systemd/system-sleep/xhci.sh | |
| # | |
| # The PCI 00:14.0 device is the usb xhci controller. | |
| # | |
| # kernel: [67445.560610] pci_pm_suspend(): hcd_pci_suspend+0x0/0x30 returns -16 |
| #!/bin/bash | |
| ############################################# | |
| # Process Memory consumption # | |
| # # | |
| # Usage: psmem <process_name> [<user_grep>] # | |
| # psmem nginx # | |
| # psmem php5-fpm www-data # | |
| # # | |
| # Author: Dumitru Uzun (DUzun.me) # |
| #!/bin/bash | |
| # Automatically setup routing and DNS for a PiZero connected over a USB-network | |
| # NOTE: Before running this script for the first time, you need to run the | |
| # following two commands on your Linux PC | |
| # sudo sysctl -w net.ipv4.ip_forward=1 | |
| # sudo iptables -t nat -A POSTROUTING -s 169.254.0.0/16 -o eth0 -j MASQUERADE | |
| # (replace eth0 in the second command with your internet-facing network device, | |
| # e.g. wlan0 on a laptop) | |
| # The Avahi-discovered hostname |
###Step by step
sudo apt-get install smartmontoolsbotfather.https://api.telegram.org/bot{YOUR_TOKEN}/getUpdates.Simple guide for setting up OTG modes on the Raspberry Pi Zero - By Andrew Mulholland (gbaman).
The Raspberry Pi Zero (and model A and A+) support USB On The Go, given the processor is connected directly to the USB port, unlike on the B, B+ or Pi 2 B, which goes via a USB hub.
Because of this, if setup to, the Pi can act as a USB slave instead, providing virtual serial (a terminal), virtual ethernet, virtual mass storage device (pendrive) or even other virtual devices like HID, MIDI, or act as a virtual webcam!
It is important to note that, although the model A and A+ can support being a USB slave, they are missing the ID pin (is tied to ground internally) so are unable to dynamically switch between USB master/slave mode. As such, they default to USB master mode. There is no easy way to change this right now.
It is also important to note, that a USB to UART serial adapter is not needed for any of these guides, as may be documented elsewhere across the int
| #!/bin/bash | |
| # bash generate random alphanumeric string | |
| # | |
| # bash generate random 32 character alphanumeric string (upper and lowercase) and | |
| NEW_UUID=$(cat /dev/urandom | tr -dc 'a-zA-Z0-9' | fold -w 32 | head -n 1) | |
| # bash generate random 32 character alphanumeric string (lowercase only) | |
| cat /dev/urandom | tr -dc 'a-z0-9' | fold -w 32 | head -n 1 |