Hi Al,<br><br>I tried following the Gainroot HOTO on the Maemo WiKi - and succeeded to gain root access. I edited the Gainroot script like so:<br><br>#!/bin/sh -e<br>trap exit SIGHUP SIGINT SIGTERM<br>PATH=/bin:/usr/bin:/sbin:/usr/sbin
<br>#MODE=`/usr/sbin/chroot /mnt/initfs cal-tool --get-rd-mode`<br>#if [ x$MODE = xenabled ]<br>#then<br>#&nbsp;&nbsp;&nbsp; echo &quot;Root shell enabled&quot;<br>#&nbsp;&nbsp;&nbsp; /bin/sh<br>#else<br>#&nbsp;&nbsp;&nbsp; echo &quot;Enable RD mode if you want to break your device&quot;
<br>#fi<br clear="all"><br>and copied it back, thinking now all I need is to run sudo gainroot to become root... (as I done the first time.<br><br>Then I turned of the device and since then I cannot gainroot. It just gives me a newline with the $ (regular user).
<br><br>I tried the procedure a few times - same.<br><br>Any idea how I can gainroot again? I want to run the solution without the editor.<br><br>Do I have to re-install the software (update)?<br><br>Thanks!<br>-- <br>:====================================================:.
<br><br>Amichai Rotman<br><br>UIN#: 6401746<br>Registered Linux User#: 201192 [<a href="http://counter.li.org/">http://counter.li.org/</a>]<br><br>------------------------------------------------------------------------------------------------------------
<br><br>PLEASE READ: <a href="http://www.gnu.org/philosophy/no-word-attachments.html">http://www.gnu.org/philosophy/no-word-attachments.html</a><br><br>-----------------------------------------------------------------------------------------------------------