Create a gist now

Instantly share code, notes, and snippets.

@jtenner /Using LG Optimus G.md Secret
Last active Aug 29, 2015

What would you like to do?

Steps

  • Dowload DebianKit from the Play Store
  • Open Debian Kit and check to make sure everything is in order
  • SSH client or terminal is fine (I used ssh server)
cd /sdcard/download
wget http://sven-ola.dyndns.org/repo/debian-kit-1-5.shar
su
sh debian-kit*
  • Choose 0p and Follow all instructions on the install
./data/local/deb/deb
cd /sdcard
e2fsck -f debian.img
  • Give yourself enough space to do what you need to do, I used 10G (10 gigabytes)
resize2fs debian.img 10G
  • I was on a clean install of CyanogenMod Nightly using android 4.4.2 and had a lot of space
e2fsck -f debian.img
  • At this point do a manual reboot
./data/local/deb/deb
apt-get update
apt-get upgrade
apt-get install build-essential libssl-dev curl git-core python
curl https://raw.github.com/creationix/nvm/master/install.sh | sh
source ~/.nvm/nvm.sh
nvm install 0.11.11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment