Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Kill Android GUI
- setprop ctl.stop media & setprop ctl.stop zygote
- Restart Android GUI
- setprop ctl.start media & setprop ctl.start zygote
- #mount chroot img;cd into folder and other mounts
- mount -o loop -t ext4 debian_arm.img deb
- cd deb
- busybox mount --bind /dev dev
- mount -t devpts devpts dev/pts
- mount -t proc proc proc
- mount -t sysfs sysfs sys
- chroot . /bin/bash
- #and link fb0
- ln -s /dev/graphics/fb0 /dev/fb0
- startx -- vt1 &
- #find display
- cd /tmp/.X11-unix && for x in X*; do echo ":${x#X}"; done
- #set display
- export DISPLAY=:1
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement