This repository supports the following devices so far:
- Fairphone 2
- Nexus 7 (grouper E1565)
Make sure lk2nd is flashed on the boot partition.
- Download latest lk2nd image here: lk2nd-msm8974.img
- Reboot your fp2 in fastboot mode.
- Run
fastboot flash boot lk2nd-msm8974.img - Reboot your phone.
- Run
cd buildroot && make BR2_EXTERNAL=../buildroot-external/ fairphone2_defconfig - Run
make BR2_EXTERNAL=../buildroot-external/ all - Reboot your fp2 in fastboot mode.
- Run
fastboot flash userdata output/images/sdcard.img - Reboot your phone
- With your phone plugged to your computer via USB, you should see a new network interface, it should be assigned the 10.0.42.2 ip automatically (the fp2 will be 10.0.42.1)
- Type
ssh root@10.0.42.1, password isroot
Replace the stock bootloader with Uboot. Follow the instructions here
You will need to recover your SBK with fusee-tools first. You will also need a stock bootloader available, you can find the full image on the google developers website.
- Run
cd buildroot && make BR2_EXTERNAL=../buildroot-external/ grouper_defconfig - Run
make BR2_EXTERNAL=../buildroot-external/ all - Press Volume down then press the power button to get into Uboot's boot menu.
- Select the UMS option and the device should appear as an external drive on your host computer.
- Flash the
buildroot/output/images/sd_card.imgwith your favorite tool (Balena etcher works well). - Reboot your Nexus 7
- With your phone plugged to your computer via USB, you should see a new network interface, it should be assigned the 10.0.42.2 ip automatically (the nexus 7 will be 10.0.42.1)
- Type
ssh root@10.0.42.1, password isroot
- Make sure you can ssh to your FP2 by following the previous section
- Use
nmcli --ask dev wifi connect <YOURSSID>
- Make sure you can ssh to your FP2 by following the instructions above
- Use
nmcli connection add type gsm ifname '*' con-name gsm apn <YOUR APN> - Then type
nmcli connection up gsm