- Put device in developer mode (if not done already), see for example:
- http://www.androidcentral.com/how-enable-developer-settings-android-42
- then
sudo fastboot oem unlock
from fastboot menu
- Install adb plus fastboot
- Reboot device, hold down volume-down key to get to fastboot screen
- or
adb reboot bootloader
- At fastboot screen,
fastboot boot boot/mako-boot.img
- This will not flash this kernel, so next time you reboot you are back to your original kernel.
- Run
adb push rootfs/ /data
- Run
adb push busybox /data
- Connect to device:
adb shell
,cd /data
- On device, extract files:
cat sid-armhf.tar.gz_a* |./busybox tar xvz
- Stop android UI and start chroot:
stop
,/data/sid/start-chroot.sh
,./enter-chroot.sh
- start X:
LD_LIBRARY_PATH=/usr/local/lib Xorg :0
,DISPLAY=:0 LD_LIBRARY_PATH=/usr/local/lib fluxbox
- install anything else you need with
apt
, add usersadduser
, ...
for more information, refer to: https://github.com/freedreno/nexus4-fedora