![]() |
#16 |
Onyx-maniac
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 3,971
Karma: 17500001
Join Date: Feb 2012
Device: Nook NST, Glow2, 3, 4, '21, Kobo Aura2, Poke3, Poke5, Go6
|
When you're trying out an SD card, use a plain vanilla, single partition FAT32 SD card.
After you've seen that it works, convert it to whatever filesystem you like/need. You have to change the mount. The mount is usually done by fstab. If you have a root console you can do it manually (but not practical for regular use). Code:
mount -t vfat /dev/block/mmcblk1p1 /mnt/media_rw/extsd <-- one possible command for Android based things mount -t vfat /dev/mmcblk1p1 ~somewhere~ <-- one possible command for Linux based things You also have to figure out where you want it mounted. You might even have to create that directory. (Sorry, I'm not familiar with PocketBook or where its mount point are.) |
![]() |
![]() |
![]() |
#17 |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 3,055
Karma: 18821071
Join Date: Oct 2010
Location: Sudbury, ON, Canada
Device: PRS-505, PB 902, PRS-T1, PB 623, PB 840, PB 633
|
Things are harder on PocketBook devices because I don't think you can root them. You can do a lot without root privileges, but editing /etc/fstab and modifying the kernel are not possible without hacking the device somehow.
|
![]() |
![]() |
Advert | |
|
![]() |
#18 |
Onyx-maniac
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 3,971
Karma: 17500001
Join Date: Feb 2012
Device: Nook NST, Glow2, 3, 4, '21, Kobo Aura2, Poke3, Poke5, Go6
|
I wouldn't know.
There are exploits and then there is my usual way: Pop the back off and look for the root console UART. What do you use for getting stuff sideloaded? UMS, FTP, MTP, ADB? I went to the PocketBook website, it made my eyes bleed. |
![]() |
![]() |
![]() |
#19 |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 3,055
Karma: 18821071
Join Date: Oct 2010
Location: Sudbury, ON, Canada
Device: PRS-505, PB 902, PRS-T1, PB 623, PB 840, PB 633
|
The devices run a custom linux OS, so no android exploits. You can use UMS to sideload, or FTP, or SSH. Like I said above, you can sideload all kinds of programs for the device; they aren't that draconian at stopping things from running. They are just careful about not letting you get root access (probably because some of the software on the device is commercially licensed and they have to make an effort to stop anyone from pirating it).
If the internal SD card can be removed, then it may be possible to insert an SUID program into the root filesystem and execute it via a terminal, but it's complicated because the root filesystem is compressed. I'm not sure how easy it is to access it in another system. |
![]() |
![]() |
![]() |
#20 |
Onyx-maniac
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 3,971
Karma: 17500001
Join Date: Feb 2012
Device: Nook NST, Glow2, 3, 4, '21, Kobo Aura2, Poke3, Poke5, Go6
|
Well, it is possible to run ADB on non-Android things.
It's just Linux USB Gadget. You'd need to make a g_adb.ko and add adbd The only non-Android eReader that I have is a Kobo Aura. The root filesystem is just ext4 on /dev/mmcblk0p1 Androids use kernel/ramdisk. It's easy to modify them in a single step using a single utility. |
![]() |
![]() |
Advert | |
|
![]() |
#21 | |
cosiñeiro
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,406
Karma: 2451781
Join Date: Apr 2014
Device: BQ Cervantes 4
|
Quote:
Be sure to modify the Kconfig and the Makefile too! This is only for the kernel driver. I'm not sure but the adbd running on the device might rely on android binder. That's the core IPC android mechanism, so probably a lot harder to port. |
|
![]() |
![]() |
![]() |
#22 |
Onyx-maniac
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 3,971
Karma: 17500001
Join Date: Feb 2012
Device: Nook NST, Glow2, 3, 4, '21, Kobo Aura2, Poke3, Poke5, Go6
|
You wouldn't have to run adbd as a composite device, you could run it as a single interface.
adbd doesn't use binder. |
![]() |
![]() |
![]() |
#23 |
Connoisseur
![]() Posts: 60
Karma: 10
Join Date: Sep 2017
Device: PocketBook
|
I don'tb see
On my ereader Pocketbook, I cannot see ant /etc folder, nor any fstab file...
Probably I cannot see all the files and folder (because of permissions?). I see the ereader as mass storage in Kubuntu 18.04. |
![]() |
![]() |
![]() |
#24 |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 3,055
Karma: 18821071
Join Date: Oct 2010
Location: Sudbury, ON, Canada
Device: PRS-505, PB 902, PRS-T1, PB 623, PB 840, PB 633
|
What you see via UMS is only one of the partitions on the device. That partition contains the files that are modifiable by you or system software. The root filesystem (with /etc and fstab) is in another partition that is read-only and isn't exported via UMS. The easiest way to see what is on the device is to install something that gives you a shell, and then browse the device that way. You can install pbterm to get an interactive shell on the device itself, or install utelnetd to get telnet access from your desktop. I recommend that you familiarize yourself with the whole system before doing anything drastic like changing the filesystem exported by UMS.
|
![]() |
![]() |
![]() |
Tags |
fat32, filesystem, ntfs |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
PRS-T1 getting T1 to run NTFS sd card | FinancialWar | Sony Reader Dev Corner | 5 | 04-25-2013 11:46 AM |
NTFS on Honeycomb Tablets | aceflor | Android Devices | 7 | 07-24-2011 04:08 AM |
FAT12 ,FAT16 ,FAT32 OR NTFS ? | vugtitan | Amazon Kindle | 6 | 09-05-2010 11:51 PM |
FAT or NTFS | junior | Bookeen | 3 | 04-30-2008 03:40 PM |
I know now the FAT32 Problem... | Gogolo | iRex | 7 | 02-01-2008 11:43 AM |