maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Maemo 5 / Fremantle (https://talk.maemo.org/forumdisplay.php?f=40)
-   -   [Fun/Learning] Root access on freshly flashed N900 using on-device tools only (https://talk.maemo.org/showthread.php?t=94494)

iHaveNoNames 2021-06-21 12:25

Re: [Fun/Learning] Root access on freshly flashed N900 using on-device tools only
 
Nop, rootme does not work as passwd. My problem is that also the apt-get refuse to install packages. I lost the root access but, I would like to restore it without reflash all the devise. In fact, I search an hack to inject the command " initctl start sshd " without having root privilege and after I probably could repair the damage file from sftp. My config is the old 1.2 maemo version with some program like gcc g++ javac tclsh vim alarmed (sort of cron planner) gftp and the standard linux command. My N900 is stable except I can not be root to start sshd and set the clock.

peterleinchen 2021-06-21 12:42

Re: [Fun/Learning] Root access on freshly flashed N900 using on-device tools only
 
Just download the deb, click on it via file manager and it should install.
Then 'sudo gainroot'

freemangordon 2021-06-21 15:02

Re: [Fun/Learning] Root access on freshly flashed N900 using on-device tools only
 
boot rescueos, mount /, chroot and change the root password (or whatever you want) from there

iHaveNoNames 2021-06-21 21:40

Re: [Fun/Learning] Root access on freshly flashed N900 using on-device tools only
 
Quote:

Originally Posted by peterleinchen (Post 1572110)
Just download the deb, click on it via file manager and it should install.
Then 'sudo gainroot'

It seems I have lost capabilities for packages installations. The manager launches and crashes...


Quote:

Originally Posted by freemangordon (Post 1572111)
boot rescueos, mount /, chroot and change the root password (or whatever you want) from there


That's seem to be a nice solution. I will try it !... After having reading the frugal instructions Thk :)

nonsuch 2021-06-24 03:21

Re: [Fun/Learning] Root access on freshly flashed N900 using on-device tools only
 
Additionally,
Code:

su
is available, but it says:
Code:

must be suid to work properly
A quick search wil tell you how to change that; caveat: you need to be root.

iHaveNoNames 2021-06-25 12:24

Re: [Fun/Learning] Root access on freshly flashed N900 using on-device tools only
 
Hi,
I give you the conclusion of my unexpected fail.

That was effectively /etc/sudoers which was corrupted and RescueOs was perfect to fix the problem. Thanks again freemangordon.



But, Flasher3.5 does not work with Windows10 nor WindowsXp into a virtual machin. Luckily, 0xFFFF works very well under a virtual machin where fedora34_x86_64 is installed.

Thank you, folks.


All times are GMT. The time now is 18:31.

vBulletin® Version 3.8.8