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.

facasma 2011-02-13 16:49

Re: Enable RD mode if you want to break your device
 
Hi, Thks

But when I download rootsh the phone show me the same message "Not enough space in application install memory. Uninstall some applications to free enough space for this installation"

What can I do, please help

MINKIN2 2011-02-13 17:01

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

Originally Posted by facasma (Post 945102)
Hi, Thks

But when I download rootsh the phone show me the same message "Not enough space in application install memory. Uninstall some applications to free enough space for this installation"

What can I do, please help

Pretty much that really. Uninstall some programs to make some space for the installation.

IIRC rootsh is a very small package so I guess your home partition must be really full if it is giving that message? Do you have conky installed? If so, then you can easily check how much space you have left.

facasma 2011-02-13 17:18

Re: Enable RD mode if you want to break your device
 
Hi, MinKin

I uninstall some applications but nothing, I cant yet.

What can I do?

Thks

MINKIN2 2011-02-13 17:45

Re: Enable RD mode if you want to break your device
 
TBH with out any investigation as to what is using all that space, I would not know.

Maybe the size of the files you un-installed were not enough? (I would definitley run a back up before enabling R&D first though (I like making backups) )

I would have to ask you though, what do you hope to achieve by enabling R&D mode?

sev7en 2015-07-23 07:25

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

Originally Posted by erahs (Post 838198)
Install rootsh package & type sudo gainroot in X-terminal .. to get the root status.

Good morning,
rootsh is deprecated and when I run the suggested gainroot I have the error about "root is not a sudoers".
How can I fix it?


Thanks,

peterleinchen 2015-07-23 19:32

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

Originally Posted by sev7en (Post 1477632)
rootsh is deprecated and when I run the suggested gainroot I have the error about "root is not a sudoers".

What are you talking about?
In a four year old thread!
Without giving any info about device, status, commands, what ever ...
:mad:

endsormeans 2015-07-24 06:05

Re: Enable RD mode if you want to break your device
 
rootsh is deprecated?!?!?
Probably the one of the most critical things for our devices ..for lack of a better word "pooched"?
And without alarums (olde-fash-ioned term) being raised ?
I do really seriously doubt that.
I'm not sure exactly what make or model of device you are using ..
...nor the kind of commands you are trying to elicit from rootsh...
but ...
Just to test your statement ...
I just now... uninstalled and reinstalled rootsh ..
on one of my n800's ...one of my n810's...and one of my n900's...
and it still works fine to me...
sudo gainroot...bam.
soooo...unless you are using a 770...or n9.. or Jolla...
or something else I haven't tested yet...
then...it ain't rootsh .
It's all you man...

and uh-oh...
you made peter all unsmiley-facey ...
oooh and it's red too.

More deets from you would help with your problem and peter's unsmiley-smile...
:D


All times are GMT. The time now is 08:10.

vBulletin® Version 3.8.8