![]() |
Re: [Help!] Get back to factory sys-ui...
Quote:
2. It just enables you to reinstall packages without rebooting. 3. Its in the path by default if you do devel-su; opensh; But I added the full path to post for people who dont use opensh. |
Re: [Help!] Get back to factory sys-ui...
Ahhh... Ok! Thanks. Going to try it, will report after few minutes :)
|
Re: [Help!] Get back to factory sys-ui...
Ok it not work :D
I'm not used flush line, I added reboot directly after signing. Phone rebooted and suck on the "NOKIA" logo (no MALF screen, but probably it similar :) ) I tried boot up with R&D mode, but it also stuck on nokia logo... |
Re: [Help!] Get back to factory sys-ui...
I run it not via ssh, I did it directly from terminal on the phone:
Code:
ariadne sh -c "sh /path/to/script" Code:
sync Code:
#!/bin/sh |
Re: [Help!] Get back to factory sys-ui...
It works (for me atleast) if you ssh in and use copy paste on commandline with opensh. It might be that all those commands are mandatory and in that order.
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. Only the reboot command is optional, but should be runned anyways just to be sure. So if you just want it to be generic inception fixer and not tied to system-ui, you can forexample just reinstall "wget"-package. I even tested to run the script with ariadne and it worked. Updated scripts in this post http://talk.maemo.org/showpost.php?p...1&postcount=10 |
Re: [Help!] Get back to factory sys-ui...
Thanks.... It so weird, why it not work for me... Where I can get opensh to incept it ?
|
Re: [Help!] Get back to factory sys-ui...
Quote:
|
Re: [Help!] Get back to factory sys-ui...
Ahhh.. I'm not believe, it boot up now ! Probably the flush line is also important:
Code:
/usr/sbin/validator-init; aegis-loader 2>/dev/null ;echo 1 > /sys/kernel/security/validator/flush I going to reflash again and I will try from the beginning again... Thanks |
Re: [Help!] Get back to factory sys-ui...
Ok, I did another 3 tests..
1. one with line and without reinstalling something: Code:
/usr/sbin/validator-init; aegis-loader 2>/dev/null ;echo 1 > /sys/kernel/security/validator/flush Code:
/usr/sbin/validator-init; aegis-loader 2>/dev/null Code:
/usr/sbin/validator-init; aegis-loader 2>/dev/null ;echo 1 > /sys/kernel/security/validator/flush It can work only in ONE condition, the number 3 when you reinstall something and it not important if it apt-get or dpkg -i. Also before reinstallation start, you will see some errors about Aegis-loader, but it not important. Now after reboot all work perfectly! You can incept packages and restore original via apt-get. When you incept packages it leave them with origin "com.nokia.maemo" :) I will add this tweak to N9QT in the next version. Reinisto, Thank you very much for help and this fix ! :) PS. Ooh sorry, i don't saw your edited message: http://talk.maemo.org/showpost.php?p...9&postcount=25 but i understanded it via tests :D |
All times are GMT. The time now is 10:24. |
vBulletin® Version 3.8.8