Skip to content

Instantly share code, notes, and snippets.

@0312birdzhang
Last active March 7, 2019 13:35
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save 0312birdzhang/a7074c8a1bb6b3a3d65596ff61585ee4 to your computer and use it in GitHub Desktop.
Save 0312birdzhang/a7074c8a1bb6b3a3d65596ff61585ee4 to your computer and use it in GitHub Desktop.
ubports on vince first init
sudo -i
insmod /system/lib/modules/wlan.ko
mount -o remount rw /
mkdir /run/user/32011 && sudo chown phablet /run/user/32011 && sudo chmod 0700 /run/user/32011
adduser --force-badname --system --home /nonexistent --no-create-home --quiet _apt
chmod 4777 /usr/lib/dbus-1.0/dbus-daemon-launch-helper
chown root:messagebus /usr/lib/dbus-1.0/dbus-daemon-launch-helper
chmod u+s /usr/lib/dbus-1.0/dbus-daemon-launch-helper
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment