The Following 3 Users Say Thank You to matemana For This Useful Post: | ||
|
2017-03-10
, 21:12
|
Posts: 163 |
Thanked: 279 times |
Joined on Feb 2017
@ Tbilisi, Georgia (caucasus)
|
#172
|
It's not emulated. It's just a chroot. The kernel (and some other resources, hence the bind mounts) are shared.
See: https://en.wikipedia.org/wiki/Chroot
#!/bin/bash if [[ "$1" != "terminal" ]] && [[ "$1" != "startlxde" ]]; then echo "No known args, please pass correct argument." echo "for terminal only 'terminal'" echo "for GUI 'startlxde'" exit fi mount --bind /dev /opt/easychroot/Arch/dev mount --bind /dev/pts /opt/easychroot/Arch/dev/pts mount --bind /proc /opt/easychroot/Arch/proc mount --bind /run /opt/easychroot/Arch/run mount --bind /sys /opt/easychroot/Arch/sys mount --bind /var/lib/dbus /opt/easychroot/Arch/var/lib/dbus mount --bind /var/run/dbus /opt/easychroot/Arch/var/run/dbus mount --bind /tmp /opt/easychroot/Arch/tmp mount --bind /dev/shm /opt/easychroot/Arch/dev/shm #mount --bind /etc/ssl/certs /opt/easychroot/Arch/etc/ssl/certs mount --bind /home/nemo/.config/pulse /opt/easychroot/Arch/home/nemo/.config/pulse mount --bind /home/nemo /opt/easychroot/Arch/home/nemo/real_home mount --bind /home/nemo/Downloads /opt/easychroot/Arch/home/nemo/Downloads mount --bind /home/nemo/android_storage /opt/easychroot/Arch/home/nemo/android_storage mount --bind /home/nemo/Music /opt/easychroot/Arch/home/nemo/Music mount --bind /home/nemo/Videos /opt/easychroot/Arch/home/nemo/Videos mount --bind /home/nemo/Pictures /opt/easychroot/Arch/home/nemo/Pictures mount --bind /home/nemo/Documents /opt/easychroot/Arch/home/nemo/Documents if [ $1 == 'terminal' ]; then chroot /opt/easychroot/Arch /bin/bash fi if [ $1 == 'startlxde' ]; then chmod 1777 /dev/shm resolution=`cat /sys/class/graphics/fb0/modes | grep -o -P '(?<=U:).*(?=p)'` x=${resolution%%x*} y=${resolution##*x} echo "selected screen resolution" echo $y $x sleep 3 chroot /opt/easychroot/Arch bash /usr/share/easychroot/scripts/start_xwayland_user_shell.sh $y $x $1 fi
The Following 5 Users Say Thank You to matemana For This Useful Post: | ||
|
2017-03-25
, 04:00
|
|
Posts: 172 |
Thanked: 628 times |
Joined on Apr 2010
@ Albuquerque, NM, USA
|
#173
|
|
2017-03-25
, 08:25
|
|
Posts: 172 |
Thanked: 628 times |
Joined on Apr 2010
@ Albuquerque, NM, USA
|
#174
|
|
2017-03-25
, 08:58
|
|
Posts: 172 |
Thanked: 628 times |
Joined on Apr 2010
@ Albuquerque, NM, USA
|
#175
|
The Following 23 Users Say Thank You to preflex For This Useful Post: | ||
|
2017-03-25
, 22:26
|
|
Posts: 172 |
Thanked: 628 times |
Joined on Apr 2010
@ Albuquerque, NM, USA
|
#176
|
The Following 5 Users Say Thank You to preflex For This Useful Post: | ||
|
2017-04-04
, 11:05
|
Posts: 578 |
Thanked: 994 times |
Joined on Dec 2012
|
#177
|
The Following 5 Users Say Thank You to elros34 For This Useful Post: | ||
|
2017-04-04
, 15:56
|
Posts: 63 |
Thanked: 106 times |
Joined on Mar 2017
|
#178
|
I have compiled glibc 2.23 using crosstool-ng for those who have 3.0 kernel. In ubuntu 17.04 there is 2.24 version but it requires 3.2 kernel, however 2.23 works.
Also, I had to forget something because you need to create few symlinks from /lib/arm-linux-gnueabihf/*so* to /lib/.
The Following User Says Thank You to moodroid For This Useful Post: | ||
|
2017-04-04
, 16:54
|
Posts: 578 |
Thanked: 994 times |
Joined on Dec 2012
|
#179
|
|
2017-04-05
, 04:42
|
|
Posts: 172 |
Thanked: 628 times |
Joined on Apr 2010
@ Albuquerque, NM, USA
|
#180
|
I have compiled glibc 2.23 using crosstool-ng for those who have 3.0 kernel. In ubuntu 17.04 there is 2.24 version but it requires 3.2 kernel, however 2.23 works.Also, I had to forget something because you need to create few symlinks from /lib/arm-linux-gnueabihf/*so* to /lib/.
The Following 3 Users Say Thank You to preflex For This Useful Post: | ||
preflex
i used xfce on my nexus and that setting in fonts does not change anything. now i tried this on my nexus 4 and everything is so much better.
1 everything is much bigger and easy to use.
2 terminal in arc linux works
Nexus 4 is amazing device for SFOS and this too. Aliendalvik works on it without issues, google play, video playback, camera everything works. I even think to have nexus 4 as my daily driver not nexus 5 haha