[vpn]
gateway=[ipv4]
ipsec-enabled=yes
ipsec-gateway-id=[ipv4]
ipsec-psk=[psk]
mru=1500
mtu=1500
password-flags=0
refuse-chap=yes
refuse-eap=yes
refuse-mschap=yes
refuse-pap=yes
require-mppe-128=yes
user=[SOCKS-proxyuser]
service-type=org.freedesktop.NetworkManager.l2tp
[vpn-secrets]
password=[SOCKS-proxypassword]
[ipv4]
dns=127.0.0.1;
dns-search=
ignore-auto-dns=true
method=auto
[ipv6]
addr-gen-mode=stable-privacy
dns-search=
ip6-privacy=0
method=ignore
Replace [ipv4], [psk], [SOCKS-proxyuser], [SOCKS-proxypassword]. Enjoy!
replace ‘sda2’, ‘cryptDisk’, ‘cryptvg’, ‘home’ and ‘+250G’ with your own values. resize sda2 with gparted before beginning. some lines and/or values may not actually be needed.
cryptsetup luksOpen /dev/sda2 cryptDisk
vgscan --mknodes
vgchange -ay
cryptsetup resize cryptDisk
pvresize /dev/mapper/cryptDisk
pvchange -x y /dev/mapper/cryptdisk
lvresize -L +250G /dev/cryptvg/home
pvchange -x n /dev/mapper/cryptdisk
e2fsck -f /dev/mapper/cryptvg-home
resize2fs -p /dev/mapper/cryptvg-home
for i in *.m4a;do f=${i##*/};ffmpeg -i “$i” -vn -acodec mp3 “${f%.*}”.mp3;done
adb push update-supersu.zip /sdcard/.
adb reboot bootloader
sudo fastboot devices
#sudo fastboot oem unlock
sudo fastboot boot recovery.img
wait for the recovery boot, install the superSU.zip, reboot
No package ‘vala-1.0’ found
$ valac –version
Vala 0.29.3
in cairo-compmgr-0.3.0 directory:
sed -i ‘s!vala-1.0!libvala-0.30!’ configure
sed -i ‘s!vala-1.0!libvala-0.30!’ vapi/cairo-compmgr.deps
export CAIRO_COMPMGR_LIBS=”-L/usr/lib64 -lXcomposite -lXdamage -lXfixes -lXext -lXi -lSM -lpixman-1 -lgtk-x11-2.0 -lgdk-x11-2.0 -latk-1.0 -lgio-2.0 -lpangoft2-1.0 -lpangocairo-1.0 -lgdk_pixbuf-2.0 -lcairo -lpango-1.0 -lfreetype -lfontconfig -lvala-0.30 -lgobject-2.0 -lglib-2.0″
export LIBS=”-L/usr/lib64 -lXcomposite -lXdamage -lXfixes -lXext -lXi -lSM -lpixman-1 -lgtk-x11-2.0 -lgdk-x11-2.0 -latk-1.0 -lgio-2.0 -lpangoft2-1.0 -lpangocairo-1.0 -lgdk_pixbuf-2.0 -lcairo -lpango-1.0 -lfreetype -lfontconfig -lvala-0.30 -lgobject-2.0 -lglib-2.0″
./configure –prefix=/usr –libdir=/usr/lib64 && make && sudo make install
There are still more errors, but I won’t put the fixes here.
I will give some hints, when the error says “cannot be marked as override, virtual, or abstract”, I change it to “private void”
If it can’t find some .h file, I just comment it out.
If overriding some function clashed with some other one, just fix it to take the same type and parameters…
I think this is what we call ‘hacks’.
Banange.






