Smartphones and satellite data help indigenous people in the Peruvian Amazon to limit deforestation.