Reply
Thread Tools
Posts: 46 | Thanked: 7 times | Joined on Jan 2011 @ AU/MY
#1
Hi there,

I am trying to root my friend's N900 to install preenv. The following describes the method I used and the problem I faced trying while trying to root the device.

1. I installed the rootsh application on the N900
2. Restarted the phone (don't know if it was necessary but did it anyways)
3. Opened XTerminal, and typed in
Code:
 sudo gainroot
A password prompt was given. Tried typing "user" and 12345 and a few others but still wasn't right.

However, if I close and reopen Xterminal, and type in
Code:
root
no password prompt was given. but doing an apt-get install would give "unable to lock the admin directory"

I'm quite new to the linux world, but theres a few questions that is on my mind.
  • Shouldn't the rootsh remove the password prompt when sudo gainroot is typed?
  • Shouldn't the two codes (sudo gainroot) and (root) be the same?
  • Why does one asks for a password and the other doesn't?
  • Is the "Unable to lock the admin directory related to the fact that we weren't (in my definition) "fully rooted?



I also tried uninstalling rootsh through the app manager but it returned stating that rootsh was unable to uninstall. Any help and explanation is appreciated. Thanx


__
First thread, and 2nd post in forum , I hope I was clear about my query. I've also searched the forums, tried doing a
Code:
sudo passwrd root
, tried uninstalling rootsh, tried quite a few variety of password recommendations but to no avail.
 
Posts: 99 | Thanked: 36 times | Joined on Mar 2010
#2
Originally Posted by mdziaf View Post
Hi there,

I am trying to root my friend's N900
fnar fnar....sry very childish but always makes me laugh out loud.
 

The Following User Says Thank You to ziggadebo For This Useful Post:
Posts: 2,102 | Thanked: 1,937 times | Joined on Sep 2008 @ Berlin, Germany
#3
Warning, wild guess ahead: Did you install some other root-enabling package like sudser, open-ssh or other before, so that sudo gets modified somehow to ask for a password?
 

The Following 4 Users Say Thank You to michaaa62 For This Useful Post:
Posts: 463 | Thanked: 103 times | Joined on Jul 2010 @ Mumbai, India
#4
@michaaa62

I probably feel he installed open ssh because that is the only one that asks for a password i think.
 
Posts: 46 | Thanked: 7 times | Joined on Jan 2011 @ AU/MY
#5
Originally Posted by funkmunk View Post
@michaaa62

I probably feel he installed open ssh because that is the only one that asks for a password i think.
actually no..my girlfriend's N900 is new. Got it 3 days ago..
 
Posts: 490 | Thanked: 191 times | Joined on May 2010
#6
try sudo su. And sudo gainroot only works when your phone is in RD mode.
 
Posts: 2,225 | Thanked: 3,822 times | Joined on Jun 2010 @ Florida
#7
I'm guessing he has that other root package already installed. I never get sudo gainroot asking for a password.

Either way, only difference is root puts you in the /root directory. You can probably just use "root", then run "passwd root" (without the sudo, since you'd be root already) that way.

But I wouldn't be doing that for another person's N900, unless they've made it very clear that they're okay with you doing it.

- Edit -

"sudo gainroot" works just fine without RD mode. Just installing rootsh enables it.

Last edited by Mentalist Traceur; 2011-01-10 at 16:26. Reason: Post before mine is wrong.
 

The Following User Says Thank You to Mentalist Traceur For This Useful Post:
Posts: 5,335 | Thanked: 8,187 times | Joined on Mar 2007 @ Pennsylvania, USA
#8
Originally Posted by aligatro View Post
try sudo su. And sudo gainroot only works when your phone is in RD mode.
Or if you install rootsh.

Originally Posted by mdziaf View Post
1. I installed the rootsh application on the N900
__________________
maemo.org profile
 

The Following User Says Thank You to sjgadsby For This Useful Post:
Posts: 46 | Thanked: 7 times | Joined on Jan 2011 @ AU/MY
#9
Originally Posted by aligatro View Post
try sudo su. And sudo gainroot only works when your phone is in RD mode.
okay will give that a shot.
just out of curiosity,what do you mean by the phone is in RD mode?
 
Posts: 490 | Thanked: 191 times | Joined on May 2010
#10
Originally Posted by mdziaf View Post
okay will give that a shot.
just out of curiosity,what do you mean by the phone is in RD mode?
Service mode. Or debugging mode
 
Reply


 
Forum Jump


All times are GMT. The time now is 20:22.