View Single Post
coderus's Avatar
Posts: 6,436 | Thanked: 12,701 times | Joined on Nov 2011 @ Ängelholm, Sweden
#1
Do not remove aegis sec. policy if you installed system packages via inception!

In "system packages" list includes apps like: unrestricted-system-ui, power pack, fix for rotating stock applications to landscape, fix for cyclotron gestures in status area, and any other mods, replacing original packages.

You should apply following script in ariadne before removing inception:
Code:
#!/bin/sh

if [ "$(whoami)" != "root" ]; then
        echo "Script should be launched as root! Exiting..."
        exit 1
fi

if accli -t tcb
then
        echo "Have tcb, continuing..."
else
        echo "Have no tcb, exiting..."
        exit 1
fi

perl -pi -w -e 's#21 com.nokia.maemo/local#15 com.nokia.maemo#smg' /var/lib/aegis/refhashlist
perl -pi -w -e 's#com.nokia.maemo/local#com.nokia.maemo#smg' /var/lib/aegis/restok/restok.conf
accli -c tcb-sign -F /var/lib/aegis/refhashlist -i /var/lib/aegis/refhashlist
accli -c tcb-sign -F /var/lib/aegis/restok/restok.conf -i /var/lib/aegis/restok/restok.conf
/usr/sbin/validator-init; aegis-loader 2>/dev/null ;echo 1 > /sys/kernel/security/validator/flush
apt-get remove inception inception-bin aegis-local-source-policy
if you don't know how to do it, please follow instructions below:
Code:
cd /home/user
wget --no-check-certificate https://dl.dropboxusercontent.com/u/26659227/harmattan/fix-local-source.sh
chmod +x /home/user/fix-local-source.sh
ariadne sh
sh /home/user/fix-local-source.sh
Now you can remove all inception packages safety.

Be careful!
__________________
Telegram | Openrepos | GitHub | Revolut donations

Last edited by coderus; 2013-07-21 at 19:08.
 

The Following 13 Users Say Thank You to coderus For This Useful Post: