ddvk / remarkable2-recovery

recovery tools for reMarkable 2
GNU General Public License v2.0
227 stars 20 forks source link

Can't Mount #16

Open Nicols07 opened 2 years ago

Nicols07 commented 2 years ago

Hello all,

I'm french, my tablet is brick on this screen : image

I try procedure.

With resistor plug, i have a reconnection each 60s when i remove resistor it's ok during 60s then disconnection. image

When i remove resistor, i execute imx_usb and i have : image But i have the same screen beetween B8 not remove or B8 remove

it's a screen different beetween usb disconnect : image

What do you think about this ? How restore a good backup in the tablet ?

Thx for your help !

Nicols07 commented 2 years ago

Ok, first part is solved ! We need to mix two depot for execute sudo ./imx_usb

pi@raspberrypi:~/remarkable2-recovery $ sudo ./imx_usb
config file <.//imx_usb.conf>
vid=0x15a2 pid=0x0076 file_name=mx7_usb_work.conf
config file <.//mx7_usb_work.conf>
parse .//mx7_usb_work.conf
Trying to open device vid=0x15a2 pid=0x0076
Interface 0 claimed
HAB security state: development mode (0x56787856)
== work item
filename u-boot-ums.imx
load_size 0 bytes
load_addr 0x00000000
dcd 0
clear_dcd 0
plug 0
jump_mode 3
jump_addr 0x00000000
== end work item
header_max=10400

loading binary file(u-boot-ums.imx) to 877effd4, skip=0, fsize=9f02c type=aa

<<<651308, 651308 bytes>>>
succeeded (security 0x56787856, status 0x88888888)
jumping to 0x877f08e4
Disk /dev/sdb: 7,1 GiB, 7650410496 bytes, 14942208 sectors
Disk model: UMS disk 0
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disklabel type: dos
Disk identifier: 0x063c577e

Device     Boot   Start      End  Sectors  Size Id Type
/dev/sdb1          2048    43007    40960   20M 83 Linux
/dev/sdb2         43008   595967   552960  270M 83 Linux
/dev/sdb3        595968  1148927   552960  270M 83 Linux
/dev/sdb4       1148928 14942207 13793280  6,6G 83 Linux

When i mount four partition, in 2 and 3 , i can't find /root/.config/remarkable/xochitl.conf What is this command : grep Developer /root/.config/remarkable/xochitl.conf What is the next step for unbrick my tablet ?

Eeems commented 2 years ago

partition 2 and 3 are the root partitions, you'll want to check partition 4.

Nicols07 commented 2 years ago

partition 2 and 3 are the root partitions, you'll want to check partition 4.

Thx ! I'm so stupid !

Eeems commented 2 years ago

You'll probably want to not post your password here, it's the DeveloperPassword item.

Nicols07 commented 2 years ago

You'll probably want to not post your password here, it's the DeveloperPassword item.

Ok, i mask it ! Thx for this information. Do you know what i can try now ? Thx.

Eeems commented 2 years ago

Masking it wont work due to being able to look at the comment history. You might just want to delete the comment.

Did you have your ssh password before? If no, try rebooting it and signing in with that password. Otherwise you might want to try to look at the logs to see what is broken.

Nicols07 commented 2 years ago

Tablet is brick on remarkable is starting log.txt

Eeems commented 2 years ago

Looks like the last log line is from September 18th, when was the last time you tried to start normally? You'll likely need to look into the systemd-journald logs.

Nicols07 commented 2 years ago

i search if a file (log, ..) was modified since 2022 but nothing :( I never see this tablet start normally.... Does it possible to restore partition or backup manually ?

Eeems commented 2 years ago

The systemd-journald logs are not part of that file, they are binary files and would require using journalctl to view them.

If you want to flash one of the root partitions with an update file that would be possible. I haven't done it before though, and I don't have a rM2 so I can't walk you through it.

ddvk commented 2 years ago

you could extract an official update image (https://github.com/ddvk/remarkable-update/tree/main/extractor) and dd it to partitions 2 and 3. also there was a way to get a console via one of the pogo pins iirc