Skip to content

Latest commit

 

History

History
 
 

lantern-mobile

README.md

Lantern Android

Overview

Lantern Android is an app that uses the Android VpnService API to route all device traffic through a packet interception service and subsequently the Lantern circumvention tool.

Building Lantern Android

Building from Android Studio

Prerequisites

Download the most recent copy of the Lantern Android source code using git:

mkdir -p ~/AndroidstudioProjects
cd ~/AndroidstudioProjects
git clone https://github.com/getlantern/lantern-mobile.git

In the welcome screen choose the "Open an existing Android Studio" option and select the lantern folder you just checked out with git.

Building from the Command Line (beta, for development only)

Prerequisites

  • Java Development Kit 1.7
  • Git

Building Tun2Socks

Lantern Android uses tun2socks to route intercepted VPN traffic through a local SOCKS server.

make build-tun2socks

Building, installing and running

Build the Debug target:

make build-debug

Install it:

make install

Run the app on the device from the command line:

make run

By default, all three tasks will be run in order with:

make

Debugging

With Lantern Android running, to filter Logcat messages:

adb logcat | grep `adb shell ps | grep org.getlantern.lantern | cut -c10-15`