maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   MeeGo / Harmattan (https://talk.maemo.org/forumdisplay.php?f=45)
-   -   [Attention!] Right way to remove inception (https://talk.maemo.org/showthread.php?t=90797)

coderus 2013-07-21 17:42

[Attention!] Right way to remove inception
 
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!

Schturman 2013-07-21 18:59

Re: [Attention!] Right way to remove inception
 
This script exactly like rainisto origin-fixer. Why you added inception removing into the script ?
It can be removed without ariadne. But at the end we need to install something before reboot.
When rainisto created this, and I tested, I needed to flash 7-8 times in this day until we understand that we NEED install something at the end of the process. Only in this way the result without MALF.

coderus 2013-07-21 19:04

Re: [Attention!] Right way to remove inception
 
why we should install anything? we can just remove inception in same action instead of installing anything. same effect.

Timpaxi 2013-07-21 19:08

Re: [Attention!] Right way to remove inception
 
But why even have to remove inception? I thought it was great thing when it came..

mcbook 2013-07-21 19:14

Re: [Attention!] Right way to remove inception
 
cause it has been replaced with something better....

Schturman 2013-07-21 19:16

Re: [Attention!] Right way to remove inception
 
Quote:

Originally Posted by coderus (Post 1360775)
why we should install anything? we can just remove inception in same action instead of installing anything. same effect.

Ahhh if you sure that give the same effect like installation I will remove installation of wget from tweaker.
I ask it because rainisto wrote:
Quote:

Actually I did some more debugging: lines up to apt-get install --reinstall <packagename> are mandatory steps, since installing any package before reboot fixes duplicates (perl hack is doing a bit dirty tricks) out from restok. Sorry that I mentioned it to be optional.

Timpaxi 2013-07-21 19:20

Re: [Attention!] Right way to remove inception
 
Quote:

Originally Posted by mcbook (Post 1360778)
cause it has been replaced with something better....

well, why it doesn't work in my N9 then.....

coderus 2013-07-21 19:22

Re: [Attention!] Right way to remove inception
 
we can check it twice anyway. but i flashed stock firmware for tests

Schturman 2013-07-21 19:27

Re: [Attention!] Right way to remove inception
 
Already tested ? And what the result ? When I tested I tested only without installation or with installation, but never tested with UNinstallation.
Please post result when you done.
Thanks

coderus 2013-07-21 19:37

Re: [Attention!] Right way to remove inception
 
already tested and posted then


All times are GMT. The time now is 14:32.

vBulletin® Version 3.8.8