maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Newbie (https://talk.maemo.org/forumdisplay.php?f=26)
-   -   Enable RD mode if you want to break your device (https://talk.maemo.org/showthread.php?t=9750)

afdo 2007-09-15 21:43

Enable RD mode if you want to break your device
 
------------------------------------------------------------------------
Quote:
Originally Posted by mancy

1. Run x-terminal
2. Execute command sudo gainroot to enable root access privilege.
3. Copy tahoma.ttf to /usr/share/fonts/tahoma.ttf
4. Execute command fc-cache –f to rebuild system font cache information.
5. Exit from x-terminal.
6. Reboot the device
7. Now opera and all applications should be able to display Arabic font maybe not correctly but at least you've something to read.


Code:
sudo gainroot
su-
cp /media/mmc1/tahoma.ttf /usr/share/fonts/
fc-cache -f
exit
exit
reboot
------------------------------------------------------------------------


Hello
Thanks for your reply.
i tried to apply this but after typing sudo gainroot on x-terminal i got the following msg.
Enable RD mode if you want to break your device.
How can i do this please?

Thanks with best regards.

Afdo

brendan 2007-09-15 22:24

Re: Enable RD mode if you want to break your device
 
not sure why you are getting the message, which is given by /usr/sbin/gainroot (which is a shell script you can edit), but you should do your reboot before your first exit in the script, because "user" cannot execute the reboot command.

Milhouse 2007-09-15 22:40

Re: Enable RD mode if you want to break your device
 
afdo - install the "becomeroot" package or enable R&D mode using the Linux flasher. Search the forum for "becomeroot" and you should find the information you need to install the package.

cvmiller 2007-09-15 23:50

Re: Enable RD mode if you want to break your device
 
Quote:

Originally Posted by afdo (Post 75714)
------------------------------------------------------------------------
Quote:
Originally Posted by mancy



Hello
Thanks for your reply.
i tried to apply this but after typing sudo gainroot on x-terminal i got the following msg.
Enable RD mode if you want to break your device.
How can i do this please?


Afdo

The gainroot script wants to "protect" you from yourself. So there is a feature in the scirpt which prints out this message if RD is not enabled. You will need to get to root in another way before you can edit the script.

I searched these forum's on how to do this. My way of sucess was to install dropbear server and client, and it allows one to ssh to the N800 as root (kind of a security hole there, so best to change the root password afterwards), and then you can edit the gainroot script.

I hope this helps,

Craig...

Milhouse 2007-09-15 23:56

Re: Enable RD mode if you want to break your device
 
Craig, no offence but that's not a smart solution so I guess you couldn't have searched very hard. Just install becomeroot (repository: http://eko.one.pl/maemo bora user) or enable R&D mode...

zdux0012 2009-12-10 08:54

Re: Enable RD mode if you want to break your device
 
I would like to connect the device to the internet via USB. This would be the first time the decive ever connects to the internet. So Without installing this package there should be a way to become root.

However perhaps there would be a deb file that could accomidate this problem ?

iamsrp 2010-01-07 19:14

Re: Enable RD mode if you want to break your device
 
Since I had openssh installed I simply did
ssh root@127.0.0.1
to log in as root. Not as good as sudo but requires no internet connection.

erahs 2010-10-11 08:11

Re: Enable RD mode if you want to break your device
 
"rootsh" package needs to be installed in N900.

erahs 2010-10-11 08:12

Re: Enable RD mode if you want to break your device
 
Install rootsh package & type sudo gainroot in X-terminal .. to get the root status.

AlMehdi 2010-10-11 08:45

Re: Enable RD mode if you want to break your device
 
Quote:

Originally Posted by cvmiller
The gainroot script wants to "protect" you from yourself.

Ohhh... some one else thought of HAL from 2001? Sorry for OT but just had to mention it... ;)

But yeah.. you need to install Rootsh first. You'll find it in App Manager.


All times are GMT. The time now is 23:47.

vBulletin® Version 3.8.8