04-24-2011, 09:20 PM | #1 |
Junior Member
Posts: 2
Karma: 98
Join Date: Apr 2011
Device: Rooted Pocketbook 602
|
Instruction to get root on 60x/90x + remote telnet & FTP
Here: http://www.the-ebook.org/forum/viewtopic.php?t=19171 I've published an instruction on getting root on 60x/90x.
Partial translation: 1. Connect your device to PC 2. Extract http://www.multiupload.com/A49K088F4J to the root of internal memory on device (so files would get to /mnt/ext1/applications and /mnt/ext1/system/bin) 3. Run get_root.app get_root.app would connect to WiFi and launch FTP and Telnet daemons. So you can connect to your device from your PC via "telnet <device ip address over WiFi>" or "ftp://<device ip address over WiFi>". No password would be asked. If you don't have Wifi - you can get a root shell in pocket term. Just launch poterm, type there: /mnt/ext1/applications/get_root.app and after several seconds you'll get a root shell (type "whoami" to check that you are root). Note: Be very careful while playing with root rights on your device! You can remount system partitions as read-write and you can easily destroy them by mistake. Uninstallation: Just delete the files or format internal memory. |
05-02-2011, 10:15 AM | #2 |
Banned
Posts: 404
Karma: 15194
Join Date: Dec 2009
Location: Planet Earth (Milky Way, Solar System)
Device: PB360
|
Thanks!
|
Advert | |
|
05-02-2011, 11:11 AM | #3 | |
Connoisseur
Posts: 83
Karma: 10
Join Date: Nov 2010
Device: 902
|
Quote:
|
|
05-02-2011, 01:43 PM | #4 |
Wizard
Posts: 3,007
Karma: 18401861
Join Date: Oct 2010
Location: Sudbury, ON, Canada
Device: PRS-505, PB 902, PRS-T1, PB 623, PB 840, PB 633
|
Not without a _lot_ of work. As far as I can tell, there aren't any compilers or even header files on the device, so you can't build any C/C++-based packages on it as is. You would first have to install compilers and a development environment, which would be a fair bit of work. It's much easier to build packages using one of the unofficial SDK's on a PC and then copy them over to the device.
As far as installing goes, you can already install things on the public internal SD card partition (/mnt/ext1) and on the external SD card (/mnt/ext2), and the device is set up reasonably well to look in those areas for software and configuration files (thanks PB ). There are some partitions that are mounted read-only, and those could be remounted with write privileges with root access. However, as the original poster says, changing the contents of those partitions could result in their being unusable (if some sort of checksum lockout is being used). So, it will take someone who is not afraid of bricking their device to play around with that. Having root access will allow one to look at files that are currently unreadable by the reader login account, run daemons (services) that require root privileges, play with the networking... So I think it will be more useful for opening up existing capabilities of the device as opposed to adding software to it (which you could do pretty well before). |
05-02-2011, 01:51 PM | #5 |
Wizard
Posts: 3,007
Karma: 18401861
Join Date: Oct 2010
Location: Sudbury, ON, Canada
Device: PRS-505, PB 902, PRS-T1, PB 623, PB 840, PB 633
|
(sorry, duplicate post)
Last edited by rkomar; 05-02-2011 at 04:06 PM. Reason: duplicate post |
Advert | |
|
05-24-2011, 01:19 PM | #6 |
Connoisseur
Posts: 58
Karma: 3050
Join Date: Dec 2010
Device: Pocketbook pro 602, Nook Simple Touch, Inkbook Classic 2, T63 JDRead
|
I wanted to use this tip to change the default "styles.xml" of FBreader in order to customize a bit the fonts/the font size/... (on the original FBReader, not the FBReader180)
I am able to connect by telnet to the device. Apparently, I am logged as root. There is two "styles.xml" files, (located in /ebrmain/share/FBReader/default/ and /usr/share/FBReader/default/ ) But I can't copy or rename anything, because it says : "Read-only file system" Is there anything I can do to solve this problem ? |
05-24-2011, 02:30 PM | #7 | |
Wizard
Posts: 3,007
Karma: 18401861
Join Date: Oct 2010
Location: Sudbury, ON, Canada
Device: PRS-505, PB 902, PRS-T1, PB 623, PB 840, PB 633
|
Quote:
mount -o remount,rw /ebrmain Running 'mount' by itself shows you what is mounted and what options were used in each case. You can use "-o remount,ro" to put it back to read-only afterwards. Good luck. Last edited by rkomar; 05-24-2011 at 02:34 PM. Reason: Added note for setting read-only |
|
05-24-2011, 04:17 PM | #8 |
Connoisseur
Posts: 58
Karma: 3050
Join Date: Dec 2010
Device: Pocketbook pro 602, Nook Simple Touch, Inkbook Classic 2, T63 JDRead
|
Thank you rkomar, it worked.
But unfortunately, replacing styles.xml doesn't seem to do anything. |
05-24-2011, 05:10 PM | #9 |
Wizard
Posts: 3,007
Karma: 18401861
Join Date: Oct 2010
Location: Sudbury, ON, Canada
Device: PRS-505, PB 902, PRS-T1, PB 623, PB 840, PB 633
|
I'm not sure what those files are for. I looked inside the fbreader.app executable, and it seems to know about /mnt/ext1/system/config/styles.xml. Maybe you can modify that file as needed (without even needing to root the device).
|
05-25-2011, 04:45 AM | #10 |
Connoisseur
Posts: 58
Karma: 3050
Join Date: Dec 2010
Device: Pocketbook pro 602, Nook Simple Touch, Inkbook Classic 2, T63 JDRead
|
Yes, it worked before. Since firmware update 2.0.? (I don't remember which one), it is broken. Modifying /mnt/ext1/system/config/styles.xml has only an effect on FBReader180. That's why I wanted to modify the default styles.xml.
|
05-25-2011, 11:41 AM | #11 | |
Wizard
Posts: 3,007
Karma: 18401861
Join Date: Oct 2010
Location: Sudbury, ON, Canada
Device: PRS-505, PB 902, PRS-T1, PB 623, PB 840, PB 633
|
Quote:
Anyway, have you searched your fbreader.app file for strings that might reveal the new location of the config file? |
|
05-25-2011, 04:59 PM | #12 |
Connoisseur
Posts: 58
Karma: 3050
Join Date: Dec 2010
Device: Pocketbook pro 602, Nook Simple Touch, Inkbook Classic 2, T63 JDRead
|
|
06-12-2011, 05:07 PM | #13 |
Connoisseur
Posts: 52
Karma: 90
Join Date: May 2011
Device: PocketBook Inkpad 3 Pro; Android: PocketBook & ReadEra
|
shut active connection
I love this tool: It works so much faster then PoTerm.
Thanks for this! One remark: during an active connection (telnet OR ftp), the connection bails out after appr. 10 minutes. This is very annoying. Is there another solution to terminate the app (or the network connection)? Regs, Kuba |
06-13-2011, 01:53 PM | #14 |
Zealot
Posts: 110
Karma: 138
Join Date: Mar 2011
Device: PB903, PB603
|
Thank you so much!
Hi mamaich,
great tool this "get_root". Now finally i am able to open my reader's directories even in (Windows-)Explorer. It's very easy now to put groups of files to or from the 903 - without even connecting USB -cable. And I can continue reading a book while files are transferred. For programming with the SDK it is really usefull, that i do not need to plug in and plug out USB-cable for each try out of a modifikation. And the telnet-connection with a better busybox is as well a great thing. Thanks so much! MartinZ Edit: After updating firmware to 2.1.1 "get_root.app" does not work any more! Seems PB have closed the "hole", so exploit is no longer possible. What a pity! I do not need root access. But accessing File-System by ftp and accessing command line by telnet was really great. Last edited by MartinZ; 06-14-2011 at 05:00 AM. |
08-25-2011, 05:34 PM | #15 |
Zealot
Posts: 110
Karma: 138
Join Date: Mar 2011
Device: PB903, PB603
|
Any news?
Hi mamaich,
1) is there any progress in making a "get_root" for the latest firmware 2.1.1? I tried to understand the discussions in the russian forums, but google translator makes a lot of nonsense and there for i can not really follow. 2) Is there a possibility of realizing a samba server or a ftp server or a telnet server on the pocketbook without root access? I do not really need root access, but i would like to get wireless file access to the PB from my PC as i had it with get root on firmware 2.0.6. |
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
remote shell access on 90x,60x | review | PocketBook | 9 | 08-08-2020 09:56 AM |
603 Toolchain for the 60x and 90x ? | bibomator | PocketBook Developer's Corner | 6 | 04-24-2011 09:11 PM |
Reversi for Pocketbook 3xx and 60x-90x | yuryfdr | PocketBook | 4 | 03-07-2011 04:11 PM |
Remote shell auf 60x/90x | wongdong | PocketBook | 7 | 01-12-2011 12:25 PM |
Fragen zum 60x/90x | darthvader | PocketBook | 41 | 12-08-2010 10:03 AM |