maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Nokia N810 (https://talk.maemo.org/forumdisplay.php?f=28)
-   -   how to enter R&D mode on 810? (https://talk.maemo.org/showthread.php?t=18505)

Gourmand 2008-03-30 10:46

how to enter R&D mode on 810?
 
Looks like I can do this only using flasher utility. But I cannot find it for 810 - just only for 770 and 800. Will OS2007 flasher properly work in OS2008?

Or may be there is any other way to enter R&D mode on 810... I need become root.

qwerty12 2008-03-30 10:51

Re: how to enter R&D mode on 810?
 
The "flasher-3.0" (the standard & latest) program works on N800 & N810.

Easyroot is here @ www.nitapps.com

Gourmand 2008-03-30 11:17

Re: how to enter R&D mode on 810?
 
thank you, I'll try easyroot

Gourmand 2008-03-30 13:35

Re: how to enter R&D mode on 810?
 
easyroot - this damn fake script... it doesn't give root privilegies

whoami after easyroot tells - user

Gourmand 2008-03-30 16:44

Re: how to enter R&D mode on 810?
 
found easiest way to become root - tiny utility rootsh can be taken from there

http://www.iki.fi/too/sw/maemo/rootsh/

GeneralAntilles 2008-03-30 16:53

Re: how to enter R&D mode on 810?
 
Quote:

Originally Posted by Gourmand (Post 162360)
easyroot - this damn fake script... it doesn't give root privilegies

Do you even know how to use it?

Type:

Code:

root
In xterm and hit return to get a rootshell. You can tell, because it'll look like this:

Code:

/home/user #

Gourmand 2008-03-30 18:15

Re: how to enter R&D mode on 810?
 
Quote:

Type:


Code:
root
this executes script:

exec sudo gainroot --use-su

but actually does while sudo:

trap exit SIGHUP SIGINT SIGTERM
PATH=/bin:/usr/bin:/sbin:/usr/sbin
exec su -

but this does NOT make me root - it causes an error message instead

Neon Samurai 2008-08-23 19:37

Re: how to enter R&D mode on 810?
 
I just re-cloned my build to my 1.5 gig SD partition and things have been very squirrelly since. I added sudoer package which in the past also worked with "sudo gainroot". I've used it without issue since the first Diablo release but since the initfs and kernel updates; nothing but grief.

No "sudo gainroot" returns "need to be in RD mode to become root". Not a problem, I'll just pop the device back into RD mode like it should have been already:

sudo flasher-3.0 --enable-rd-mode
./flasher-3.0: line 1: syntax error: "(" unexpected

sudo flasher-3.0-static --enable-rd-mode
./flasher-3.0-static: line 1: syntax error: "(" unexpected

I downloaded both binaries fresh from the Nokia dev site. Any ideas or recommendations on other ways to enable RD?

This is really breaking my mind. With the exception of two package updates that had to be forced in through apt-get, every update since 2007 on the n800 has gone flawlessly including the jump from n800/2008 to n810/2008 and first generation Diablo. Suddenly everything is blowing up on me with Diablo generation two.

For now, I'm using both sudoer and becomeroot packages though I'd much rather have only one package to do the job.

My frustration is with my device and not being able to figure out what I'm tripping over with this last system update. My thanks to the devs and anyone else that can spot what I'm missing.

GeneralAntilles 2008-08-23 20:31

Re: how to enter R&D mode on 810?
 
Quote:

Originally Posted by Neon Samurai (Post 216799)
I just re-cloned my build to my 1.5 gig SD partition and things have been very squirrelly since. I added sudoer package which in the past also worked with "sudo gainroot". I've used it without issue since the first Diablo release but since the initfs and kernel updates; nothing but grief.

You don't understand how either package works. rootsh and sudser accomplish two different tasks. Install both, move on (and stop trying to break your device with the flasher you don't understand :)).

Neon Samurai 2008-08-27 11:16

Re: how to enter R&D mode on 810?
 
Quote:

Originally Posted by GeneralAntilles (Post 216813)
You don't understand how either package works. rootsh and sudser accomplish two different tasks. Install both, move on (and stop trying to break your device with the flasher you don't understand :)).

Cheers, that's the current solution I'm working with now; both packages installed side by side. Off hand, where might I read more to understand how the flasher and both packages work? I'd prefer to only have to ask the questions which don't require a backhanded, though correct, response. :)

(I do have to admit though that my first question posted to the forums was truly noobish.. too many years with menu's that included sorting functions so I didn't think to simply drag entries into order. :o hoops.. it's out there for posterity now though.)

GeneralAntilles 2008-08-27 18:34

Re: how to enter R&D mode on 810?
 
Quote:

Originally Posted by Neon Samurai (Post 218078)
Cheers, that's the current solution I'm working with now; both packages installed side by side. Off hand, where might I read more to understand how the flasher and both packages work? I'd prefer to only have to ask the questions which don't require a backhanded, though correct, response. :)

The gainroot script shipped with the device includes a CAL check to see if R&D mode is enabled, and will prevent itself from executing if it isn't. rootsh does a variety of things (including some nice environment setup if you call it using "rootsh"), but at its core, it basically just removes those checks from the gainroot script so you can use it without enabling R&D mode (which has other potentially negative effects).

sudser does not touch the gainroot script, as and gainroot is the method most scripts and tutorials rely on for gaining root access, it doesn't solve that issue for most people. What sudser does do is setup the sudoers file so you can use sudo to run things as root from a user shell (which is the method most people are used to).

In summary, they accomplish two different things, and serve two different purposes but complement each other nicely.

Neon Samurai 2008-08-27 22:51

Re: how to enter R&D mode on 810?
 
Cheers for the clarification on those two scripts. I was sure I'd removed the gainroot package from the previous build when I added the sudoer package. It left me a big confused when I added only the sudoer package with the fresh rebuild and bounced off the "not in RD mode" message. My suspicion after adding both packages back in this time was that they where doing two different things. I'm pretty sure I'd RD mode'd my 810 with the previous build too though. I must admit though that your first response motivated me to find out exactly what the two packages where doing and how; "what? I don't know what they are doing? Crap.. now I gotta know everything about them." (there's a title given to this kind of mind set ;) )

Now it just leads to more questions though; what am I not able to do with this device not in RD mode? I know that's documented already though so I'll go dig through the wiki first before I pose that as a serious question here. The hardware is fantastic and I don't think half of what it is capable of has been explored yet.

I also can't shake the feeling that the plastic box in the 810 covers a removable SD slot rather than a chip mounted directly to the board. If I get brave, I may explore that further and see if I can replace that.

Cheers again and hopefully I wasn't to out of place in my response; been a frustrating few weeks with my symbiot down and then most of the functions I use it for seeming to not work with the new kernel. Today it seems aircrack is working with the wireless radio again which is rather important for a security and network tech like myself. I've even had someone buy an 810 after coming to ask me about it and they're pleased as punch just using it as a portable calendar thorugh GPE/Google. (personal information on Google's servers is another issue all together.)

GeneralAntilles 2008-08-27 22:55

Re: how to enter R&D mode on 810?
 
Quote:

Originally Posted by Neon Samurai (Post 218337)
I also can't shake the feeling that the plastic box in the 810 covers a removable SD slot rather than a chip mounted directly to the board. If I get brave, I may explore that further and see if I can replace that.

Not much. It's basically just for gainroot and changes a some of the power up/down logic to be more forgiving for, you guessed it, R&D factory work! ;) It's not anything anybody needs to enable on their tablet.

Neon Samurai 2008-08-29 10:55

Re: how to enter R&D mode on 810?
 
Thanks again. I absorb this kind of info like a spunge.

Now off to other threads as this one was about escalation packages. My next issues to figure out are why aircrack no longer works since the kernel update (sometimes get a flicker of the air traffic then no further reception while the notebook beside it continues to see traffic.. grrr..). That's another issue and different thread though along with being a more specialized topic and usually the type of question we slap people around for asking over on tech republic. (well, people asking how to pop passwords tends to get humorous but unhelpful answers anyhow ;) )


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

vBulletin® Version 3.8.8