Skip to content

Instantly share code, notes, and snippets.

@rosterloh
Created October 12, 2016 11:20
Show Gist options
  • Save rosterloh/8ce4dc00cc8449ee5a592c5d4b6f00a8 to your computer and use it in GitHub Desktop.
Save rosterloh/8ce4dc00cc8449ee5a592c5d4b6f00a8 to your computer and use it in GitHub Desktop.
Notes from Coursera IoT Course 2

DragonBoard 410c Cheatsheet

Coursera Page

Useful Links

Enable adb over wifi

$ adb root
$ adb remount
$ adb shell "echo service.adb.tcp.port=5555 >> /data/local.prop"
$ adb shell chmod 0644 /data/local.prop
$ adb reboot

Port redirection

$ adb root
$ adb remount
$ adb pull /etc/init.qcom.post_boot.sh
$ echo "/system/bin/iptables -t nat -A PREROUTING -p tcp --dport 80 -j REDIRECT --to-port 8080" >> init.qcom.post_boot.sh
$ adb push init.qcom.post_boot.sh /etc/
$ adb reboot
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment