Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Kobo Nia: diagnostics mode on installation #47

Closed
mu88 opened this issue Apr 22, 2023 · 39 comments
Closed

Kobo Nia: diagnostics mode on installation #47

mu88 opened this issue Apr 22, 2023 · 39 comments

Comments

@mu88
Copy link

mu88 commented Apr 22, 2023

Hi 👋🏻

I've flashed the storage of my Kobo Nia, everything worked smoothly. When turning the device on for the first time and since then, I always end up in inkbox Diagnostics and Recovery - it never booted "normally".

How can I exit this loop?

@Szybet
Copy link
Collaborator

Szybet commented Apr 22, 2023

https://web.archive.org/web/20230323191406/https://inkbox.ddns.net/wiki/index.php?title=Basic_diagnostics_kernel

this? it's not supported... and never tested, how? @tux-linux
this is propably a bigger issue, please join discord / matrix to figure out to fix it

@tux-linux
Copy link
Contributor

tux-linux commented Apr 22, 2023 via email

@Szybet
Copy link
Collaborator

Szybet commented Apr 22, 2023

Yea, I wonder why

@mu88
Copy link
Author

mu88 commented Apr 22, 2023

Because it's listed here... https://inkbox.ddns.net/downloads.html

@mu88
Copy link
Author

mu88 commented Apr 22, 2023

IMG_20230422_201627

@tux-linux here you go

@tux-linux
Copy link
Contributor

Please try to check, then uncheck Always boot to recovery and reboot it.

@mu88
Copy link
Author

mu88 commented Apr 22, 2023

I've checked, unchecked, rebooted and now it is stuck in Rebooting for the last hour

IMG_20230422_224748

When holding the power button pressed for ten seconds, I'm back in recovery mode.

@Szybet
Copy link
Collaborator

Szybet commented Apr 22, 2023

@tux-linux how is it even possible? Nia doesn't have a second button to enter this mode during boot?

@tux-linux
Copy link
Contributor

@tux-linux how is it even possible? Nia doesn't have a second button to enter this mode during boot?

You can enter this mode by pressing the power button repeatedly or just holding it in this case. The BDK is for other devices which have a secondary button. This boots a basic GUI using FBInk with serial-only user interaction to perform first-necessity recovery operations.
This particular recovery mode is made with Qt components and allows for a broader range of recovery operations, and you can also rescue your system by flashing, say, a new rootfs via USBNet more easily than with the BDK.

@tux-linux
Copy link
Contributor

I've checked, unchecked, rebooted and now it is stuck in Rebooting for the last hour

IMG_20230422_224748

When holding the power button pressed for ten seconds, I'm back in recovery mode.

Try to reflash the image to the SD card, sync three times and report back.
--- or ---
Connect it via serial port and we can try to figure out what's wrong...
--- or ---
Enable DISPLAY_DEBUG (in Flags tab) and take a screenshot of what's happening at boot.

@mu88
Copy link
Author

mu88 commented Apr 23, 2023

Enable DISPLAY_DEBUG (in Flags tab) and take a screenshot of what's happening at boot.

Nothing happens when enabling this option - on reboot, the display only shows Rebooting

Try to reflash the image to the SD card, sync three times and report back.

How do I sync?

@Szybet
Copy link
Collaborator

Szybet commented Apr 23, 2023

sync linux command
If you are on windows then format the sd card ( completly ) and flash it again, then unmount it safely

@mu88
Copy link
Author

mu88 commented Apr 23, 2023

After reflashing on Windows, the problem remains the same: after holding and releasing the power button for three seconds and waiting five minutes, nothing happens. After holding and releasing the power button for ten seconds, the Kobo enters diagnostics mode.

So I tried it with my Raspi, but still without success. Here's what I did:

  • Copy downloaded firmware from Windows to Linux via `scp -r scp -r .\inkbox-1.9-n306.xz myUser@myRaspi:/home/myUser/temp
  • Detect MicroSD card via sudo fdisk l/dev/sdb
  • Format MicroSD and install:
sudo su
mkfs -t ext2 /dev/sdb
xzcat inkbox-1.9-n306.xz | dd of=/dev/sdb status=progress

The problem is still the same, the Kobo end up in diagnostics mode.

@Szybet
Copy link
Collaborator

Szybet commented Apr 23, 2023

well the only option i see now is to connect a serial port to the ereader, could you do it?

@mu88
Copy link
Author

mu88 commented Apr 23, 2023

With a manual/guidance I can give it a try, sure

@Szybet
Copy link
Collaborator

Szybet commented Apr 23, 2023

Could you join discord / matrix server? it would be faster to explain than here

@mu88
Copy link
Author

mu88 commented Apr 23, 2023

Now at least the DISPLAY_DEBUG seems to work

IMG_20230423_125250
IMG_20230423_125149

@tux-linux
Copy link
Contributor

Now at least the DISPLAY_DEBUG seems to work

IMG_20230423_125250
IMG_20230423_125149

You seem to have a power button stuck in place, or something else producing an unwanted input event in your hardware. It's really strange

@mu88
Copy link
Author

mu88 commented Apr 23, 2023

IMG_20230423_130116

@mu88
Copy link
Author

mu88 commented Apr 23, 2023

IMG_20230423_130951
IMG_20230423_130957
IMG_20230423_131014
IMG_20230423_131021
IMG_20230423_131026

@tux-linux
Copy link
Contributor

New Nia hardware...
(Reporting back from Discord)

@mu88
Copy link
Author

mu88 commented Apr 23, 2023

IMG_20230423_131404
IMG_20230423_131407

@Szybet
Copy link
Collaborator

Szybet commented Apr 23, 2023

img4

for context, the original ( charging IC changed, crystal oscilator next to cpu, a new 3 pin IC on the bottom, and propably another PCb manufacturer )

@Szybet
Copy link
Collaborator

Szybet commented Apr 23, 2023

at least the bottom is the same

@Szybet
Copy link
Collaborator

Szybet commented Apr 23, 2023

also a diffrent battery ( chinesium )...

@Szybet
Copy link
Collaborator

Szybet commented Apr 23, 2023

Ok, the top of the PCB has a serial number, me and Kuratius have 4A2 and mu88 has 4C1

where is B?...

@mu88
Copy link
Author

mu88 commented Apr 23, 2023

IMG_20230423_134848
IMG_20230423_134832

@mu88
Copy link
Author

mu88 commented Apr 23, 2023

IMG_20230423_135236

@mu88
Copy link
Author

mu88 commented Apr 23, 2023

IMG_20230423_140044
IMG_20230423_135939

@mu88
Copy link
Author

mu88 commented May 11, 2023

@Szybet and @tux-linux, is there any news about this?

@Szybet
Copy link
Collaborator

Szybet commented May 11, 2023

Maybe soon ( I got access to another Nia, maybe it's the C variant, haven't checked yet ).
Anyway, we are waiting for you to return to port InkBox to it

@mu88
Copy link
Author

mu88 commented May 11, 2023

Sounds good 👍🏻 well I'm back and can try to assist you. Do we need another "interactive session" like on the weekend before my vacation? If yes, I can try to devote one or two hours on the weekend to it.

Otherwise, if we could do it asynchronously I'll see what I can do

@Szybet
Copy link
Collaborator

Szybet commented May 11, 2023

As of me I won't have time on this weekend
yep, asynchronously is the best way to go

@mu88
Copy link
Author

mu88 commented May 12, 2023

Okay, so just leave me a comment here about what I shall do

@Szybet
Copy link
Collaborator

Szybet commented May 13, 2023

Go on discord to make it faster ;p

@KitKat-ok
Copy link

I also have this device
IMG_20230529_193642
IMG_20230529_193701
IMG_20230529_193706
IMG_20230529_193718
IMG_20230529_193729
IMG_20230529_193742
IMG_20230529_193748
IMG_20230529_193811
PICT0001
PICT0002
PICT0003
PICT0004
PICT0005
PICT0006
PICT0007

@kajusK
Copy link

kajusK commented Jul 31, 2023

Same problem here, the serial number ends with 4C1. Is there something I can do to help with debugging this? I have some Linux + embedded software background, so if you point me to a direction to look, I can help a bit.

@Szybet
Copy link
Collaborator

Szybet commented Jul 31, 2023

Recently released, support for kobo nia model c
downloadable here:
http://pkgs-inkbox.duckdns.org:25560/bundles/inkbox/native/n306c/inkbox-2.0-n306c.img

notes:

  • dont turn on dark mode - the kernel will panick ( this will be redesigned for 2.1 so don't worry )
  • xorg is unstable sometimes

@tux-linux we need add it to the download page, so people will know

Also this issue can be closed

@Szybet
Copy link
Collaborator

Szybet commented Jul 31, 2023

Oh and as for help you are offering: Your model has been luckely ported already as I mentioned, but you are welcome to contribute to the project in other ways 😃

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants