Quill-OS / quill

An open-source, Qt-based eBook reader for Kobos (and other devices).
https://quill-os.org
Other
400 stars 12 forks source link

Kobo Nia: diagnostics mode on installation #47

Closed mu88 closed 8 months ago

mu88 commented 1 year ago

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 commented 1 year ago

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 commented 1 year ago

Take a screen shot of the "Flags" tab in this program and send it please. Also I'm starting to realize we pretty much only encounter Nia inkbox users, quite funny @Szybet

On Sat, Apr 22, 2023, 1:44 p.m. Szybet @.***> wrote:

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 https://github.com/tux-linux this is propably a bigger issue, please join discord / matrix to figure out to fix it

— Reply to this email directly, view it on GitHub https://github.com/Kobo-InkBox/inkbox/issues/47#issuecomment-1518715263, or unsubscribe https://github.com/notifications/unsubscribe-auth/APB67YAXOGVFUCTCPGAM3G3XCQKINANCNFSM6AAAAAAXH64BJE . You are receiving this because you were mentioned.Message ID: @.***>

Szybet commented 1 year ago

Yea, I wonder why

mu88 commented 1 year ago

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

mu88 commented 1 year ago

IMG_20230422_201627

@tux-linux here you go

tux-linux commented 1 year ago

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

mu88 commented 1 year ago

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 commented 1 year ago

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

tux-linux commented 1 year ago

@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 commented 1 year ago

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 commented 1 year ago

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 commented 1 year ago

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

mu88 commented 1 year ago

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:

Szybet commented 1 year ago

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

mu88 commented 1 year ago

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

Szybet commented 1 year ago

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

mu88 commented 1 year ago

Now at least the DISPLAY_DEBUG seems to work

IMG_20230423_125250 IMG_20230423_125149

tux-linux commented 1 year ago

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 commented 1 year ago

IMG_20230423_130116

mu88 commented 1 year ago

IMG_20230423_130951 IMG_20230423_130957 IMG_20230423_131014 IMG_20230423_131021 IMG_20230423_131026

tux-linux commented 1 year ago

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

mu88 commented 1 year ago

IMG_20230423_131404 IMG_20230423_131407

Szybet commented 1 year ago

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 commented 1 year ago

at least the bottom is the same

Szybet commented 1 year ago

also a diffrent battery ( chinesium )...

Szybet commented 1 year ago

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

where is B?...

mu88 commented 1 year ago

IMG_20230423_134848 IMG_20230423_134832

mu88 commented 1 year ago

IMG_20230423_135236

mu88 commented 1 year ago

IMG_20230423_140044 IMG_20230423_135939

mu88 commented 1 year ago

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

Szybet commented 1 year ago

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 commented 1 year ago

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 commented 1 year ago

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

mu88 commented 1 year ago

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

Szybet commented 1 year ago

Go on discord to make it faster ;p

KitKat-ok commented 1 year ago

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 commented 1 year ago

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 commented 1 year ago

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:

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

Also this issue can be closed

Szybet commented 1 year ago

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 :smiley: