[maemo-developers] [maemo-developers] Working on getting root

From: Thomas Glanzmann sithglan at stud.uni-erlangen.de
Date: Fri Oct 21 19:45:54 EEST 2005
Hello,
I am still trying to get root. I found the following:

        sudo -l
        sudo /usr/sbin/gainroot

But to my knowledge you need to set a damn bit using the flasher which
only works on Linux (and the linux flasher isn't available yet). So I
started to extract the root filesystem of the firmware update available
from nokia to patch the sbit or modify it and try to flash the device.
Does somebody know a bit more in how to get root or 'do a custom image'?

        wget http://nds2.nokia.com/files/support/global/phones/software/Nokia_770_software_update.zip

        unzip Nokia_770_software_update.zip

        perl -le 'undef$/; print index <>, pack "L", 0xe0011985' SU-18_0.2005.40-18_PR_F5_MR0_ARM.bin
        101905

        dd if=SU-18_0.2005.40-18_PR_F5_MR0_ARM.bin skip=1 bs=101905 of=jffs2.img
        591+1 records in
        591+1 records out
        60327612 bytes transferred in 2.425726 seconds (24869921 bytes/sec)

        file jffs2.img
        jffs2.img: Linux jffs2 filesystem data little endian

        jffs2dump -c jffs2.img | grep sudoers 
                 Dirent     node at 0x0032278c, totlen 0x0000002f, #pino     7, version   192, #ino       194, nsize        7, name sudoers

Anyone did any more progress?

        Thomas

More information about the maemo-developers mailing list