Rockbox Technical Forums

Support and General Use => Hardware => Topic started by: Njones on July 28, 2021, 10:02:14 PM

Title: FiiO M3K screen is blank
Post by: Njones on July 28, 2021, 10:02:14 PM
Was working perfectly well until today, now screen has a bunch of vvery fine vertical lines. No text or pictures. Tried updating to latest development build same results any ideas or did the display just die?
Title: Re: FiiO M3K screen is blank
Post by: 7o9 on July 29, 2021, 12:29:07 AM
Did you try starting the original firmware? Hold the 'play' button while turning it on.

If the original firmware has the same result, the screen may be broken indeed.
Title: Re: FiiO M3K screen is blank
Post by: Njones on July 29, 2021, 11:37:33 AM
I don't have the dual boot bootloader. Do I just copy the original Firmware to the sd card to reinstall the original firmware unzipped?
Title: Re: FiiO M3K screen is blank
Post by: 7o9 on July 29, 2021, 11:57:05 AM
Yes, and then holding Play and Vol+ while booting.
Title: Re: FiiO M3K screen is blank
Post by: Njones on July 29, 2021, 12:23:45 PM
Tried that. Screen comes up with faint words on it. Do I need to delete the Rockbox file from the sd card. I also have a file on my computer called fiio3k-boot.bin
Title: Re: FiiO M3K screen is blank
Post by: 7o9 on July 29, 2021, 01:26:02 PM
Restoring the original firmware will remove the Rockbox part from the bootloader.

There is no real need to remove the Rockbox folder itself.

The backup bootloader file should not be needed. You can install the original firmware to remove the ability to start Rockbox.

Faint text is better than no text. Maybe the LCD is fine but the backlight not working or something like that. Hopefully you can revive it.
Title: Re: FiiO M3K screen is blank
Post by: Njones on July 29, 2021, 03:41:09 PM
Faint text is unreadable. Won't go into Update mode when pressing volume up and power button at same time.
Title: Re: FiiO M3K screen is blank
Post by: 7o9 on July 30, 2021, 01:27:07 AM
Sorry, that button combination might be the one for the dual-bootloader.

I do not know which bootloader you have and if there might be a different button combination to get to the original firmware or the original recovery mode.
Title: Re: FiiO M3K screen is blank
Post by: Njones on July 30, 2021, 04:02:04 PM
I don't have the dual bootloader. The bootloader that I have is called bootloader.m3k
Title: Re: FiiO M3K screen is blank
Post by: Njones on July 30, 2021, 05:35:36 PM
When Downloading the updated dual bootloader, keep getting message bootloader m3k failed.
Title: Re: FiiO M3K screen is blank
Post by: amachronic on July 31, 2021, 07:49:35 PM
I haven't seen any problem like this myself, but It's possible it's related to the power management chip and maybe the original firmware can correct it.

If you haven't updated to the dualboot bootloader then you won't be able to access either the original firmware or its update mode. It sounds like you tried volume up + power already. Pressing that would normally bring you to the Rockbox recovery menu, so if it's not showing up, your only real option is boot with jztool.

I'm not sure what error you are getting with jztool because that message is too generic. It's better if you try running it with debug logging enabled, and copy&paste the output here so I can see what's going on. Use this command --
Code: [Select]
jztool -l debug fiiom3k load bootloader.m3k

Thanks. I'll hack together something to start an OF update via jztool, so you can try restoring the original firmware.
Title: Re: FiiO M3K screen is blank
Post by: Njones on July 31, 2021, 10:17:09 PM
I set up a system restore point and now I was able to download the dual bootloader file  and the JZtool. The problem is that when I boot up the m3k the screen is unreadable. Do I delete Rockbox from the sd card along with M3k.fw file and the fiiom3k-boot.bin file?
Title: Re: FiiO M3K screen is blank
Post by: Njones on July 31, 2021, 10:33:13 PM
Or the display messed up and it's just time for a new one?
Title: Re: FiiO M3K screen is blank
Post by: amachronic on August 01, 2021, 11:04:14 AM
I think there's a chance the original firmware could revive the LCD, but if that doesn't work then I guess it's a hardware issue. As promised, here's something you can use to reflash the original firmware.

Download the file boot-fiio-recovery.m3k from here:
Copy the original firmware update M3K.fw to an SD card and plug that into the M3K (it's not necessary to delete your rockbox files). Connect the M3K in USB boot mode and run jztool with this command --
Code: [Select]
jztool -l debug fiiom3k load boot-fiio-recovery.m3k
If it goes alright then you should see the Fiio firmware update screen.

Please give it a try and let me know if it works or not! I'm puzzled why the LCD would die suddenly. Did anything happen which might've caused this -- maybe overheating, dropping it, etc?
Title: Re: FiiO M3K screen is blank
Post by: Njones on August 01, 2021, 11:23:30 AM
When I plug it into the computer it does not show up as a drive or device. Don't know if it is in boot mode because the screen is either fine vertical lines or unreadable fine print. I might have left it on the charger too long.
Title: Re: FiiO M3K screen is blank
Post by: Njones on August 01, 2021, 11:49:11 AM
command prompt says jztool not recognized as an internal or external command, operable program or batch file
Title: Re: FiiO M3K screen is blank
Post by: 7o9 on August 01, 2021, 12:24:18 PM
You would have to download jztool. As you seem to be running Windows, you also need to install Zadig.

Links are at the bottom of this post: https://forums.rockbox.org/index.php/topic,53858.0.html

That post also says which buttons to hold to start the M3K in usb boot mode so jztool works.
Title: Re: FiiO M3K screen is blank
Post by: Njones on August 01, 2021, 06:34:24 PM
Ran the jztool Debug and got the following errors.
libusb_control_transfer: Pipe Error
Bootfailed: -4
Title: Re: FiiO M3K screen is blank
Post by: amachronic on August 02, 2021, 07:02:00 AM
Well, did you see anything happening on the M3K's screen? The bootloader file I gave you will go directly to the Fiio recovery so you should see some activity if it worked.

Sorry not to mention this before, but a successful run should look like this:
Code: [Select]
[  DEBUG] Opened device (0x561aec75d7d0, ID a108:1000)
[ NOTICE] Rockbox bootloader version: a27cf0cd16M-210802
[  DEBUG] Issued SET_DATA_ADDRESS 4093644800
[  DEBUG] Issued SET_DATA_LENGTH 00009896
[  DEBUG] Transferred 9896 bytes to device
[  DEBUG] Issued PROGRAM_START1 4093646848
[  ERROR] libusb_control_transfer: Operation timed out
[  ERROR] Boot failed: -4
[  DEBUG] Closing device (0x561aec75d7d0)
If you do not see "Issued PROGRAM_START1" then it didn't work. The error message after that is expected to happen. This bootloader file is "special" so the 1st stage will run the Fiio recovery directly instead of waiting for jztool to load the 2nd stage. So, when jztool tries to load the 2nd stage it will give an error like the one you got, even if the 1st stage succeeds.

Maybe you want to give it one last try and compare the output carefully. If you can't get the "PROGRAM_START1" message to show up it helps if you can copy and paste the full output from the command line, but I recall it's a bit annoying to do that on Windows (here (https://superuser.com/questions/295370/how-to-copy-text-in-the-windows-command-line-cmd#answer-435958) is some instructions how to do that).

Now if it does boot but you see nothing on the screen, I guess your LCD is just broken and there's probably not much chance of fixing it without taking apart the M3K. (And even then, who knows if it's fixable.)
Title: Re: FiiO M3K screen is blank
Post by: Njones on August 02, 2021, 08:16:00 AM
Tried the debug again.Not getting "Issued program start". I guess it's dead
Title: Re: FiiO M3K screen is blank
Post by: amachronic on August 02, 2021, 11:42:46 AM
Do you get "Opened device"?
Title: Re: FiiO M3K screen is blank
Post by: Njones on August 02, 2021, 01:06:21 PM
I get Opened device & Closing Device
Title: Re: FiiO M3K screen is blank
Post by: amachronic on August 03, 2021, 03:01:09 PM
So it's definitely connected in USB boot mode but it sounds like it isn't able to transfer any data. Are there any SET_DATA_ADDRESS or SET_DATA_LENGTH messages? What about "Transfered XXX bytes to device" messages?

You mentioned a system restore point -- maybe you rolled back to a time before you installed the USB driver? If so then you need to redo the installation with Zadig.

If you're sure the driver is installed and you still have the problem then perhaps try another USB cable in case the one you used happened to be bad.

PS. sorry for the late reply.
Title: Re: FiiO M3K screen is blank
Post by: Njones on August 03, 2021, 04:59:54 PM
I used Zadig to install drivers. X and box symbol appear in the eject safely list. Just to be sure, The file  i"m using to debug is  boot-fiio-recovery.m3k.
Right now besides x and box symbol, It now has a drive letter assigned to it.
Device was finally recognized as Fiiom3K. Did the CMD Debug again. This time it shows[  DEBUG] Opened device (0x561aec75d7d0, ID a108:1000)
[ NOTICE] Rockbox bootloader version: a27cf0cd16M-210802
[  DEBUG] Issued SET_DATA_ADDRESS 4093644800
[  DEBUG] Issued SET_DATA_LENGTH 00009896
[  DEBUG] Transferred 9896 bytes to device
[  DEBUG] Issued PROGRAM_START1 4093646848
[  ERROR] libusb_control_transfer: Operation timed out
[  ERROR] Boot failed: -4
[  DEBUG] Closing device (0x561aec75d7d0
This is your example that I copied the only difference is different Numbers listed
Title: Re: FiiO M3K screen is blank
Post by: Njones on August 03, 2021, 05:38:53 PM
If that looks good, what is the next step? The m3k is still connected to the computer . Slider an buttons are still li up and top of screen is still faint lines.
Title: Re: FiiO M3K screen is blank
Post by: amachronic on August 04, 2021, 05:11:06 AM
Thank you, it's definitely working to load the file so when the screen turns on, it should be in firmware update mode and flashing the original firmware.

If the SD card isn't plugged in or it can't find M3K.fw it will sit there waiting until you put the card in and it finds the update file. If you just copy M3K.fw to the root of an SD card and put it in, it should go through with the update and reboot automatically.

Bad news is that if the LCD is malfunctioning during the update, it will probably not work in the 'normal' player either. If it's still not working after the update & reboot then I'm 99% sure it's not a software problem.
Title: Re: FiiO M3K screen is blank
Post by: Njones on August 04, 2021, 12:31:22 PM
Screen still stays blank or faint vertical lines. The files I have on the SD card are .rockbox, boot-fiio-recoverym3k, fiiom3k-bootbin, m3k.fw. Should I have the dual bootloader too?
Title: Re: FiiO M3K screen is blank
Post by: amachronic on August 04, 2021, 04:01:37 PM
The files on your card are right, it should have flashed. Turn it off and try powering it on normally. But since you are still getting artifacts on the LCD, realistically it's safe to assume this is a hardware problem and will not be fixed by reflashing firmware or bootloaders. I can't totally rule out the possibility it was induced by Rockbox (sorry if it was!) but that is unlikely, and pretty difficult to determine after the fact. Sorry I can't do more to help.
Title: Re: FiiO M3K screen is blank
Post by: Njones on August 04, 2021, 04:24:18 PM
Thanks for your help. I will give it a nice burial 8)