Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Readers > Amazon Kindle > Kindle Developer's Corner

Notices

Reply
 
Thread Tools Search this Thread
Old 01-17-2022, 04:39 PM   #1
rnbw
Junior Member
rnbw began at the beginning.
 
Posts: 6
Karma: 10
Join Date: Jan 2022
Device: PW2
diags image needed

Hello,
I have a PW2 4GB with bootloop problem which ends with "Repair Needed" screen. I've attached serial, exported FAT, copied the latest update file from Amazon and it flashed fine. But the bootloop is still present. I can see the new uboot and kernel on serial console. Maybe the /var/local partition is corrupted?

The bad thing is that diags does not work. It starts to boot but ends with
Code:
kinit: init not found!
Looks like I need to reflash diags using fastboot but I'm unable to find any images online.

Could anyone help, please?
rnbw is offline   Reply With Quote
Old 01-18-2022, 05:39 AM   #2
eddie.t.h
Addict
eddie.t.h is an accomplished Snipe hunter.eddie.t.h is an accomplished Snipe hunter.eddie.t.h is an accomplished Snipe hunter.eddie.t.h is an accomplished Snipe hunter.eddie.t.h is an accomplished Snipe hunter.eddie.t.h is an accomplished Snipe hunter.eddie.t.h is an accomplished Snipe hunter.eddie.t.h is an accomplished Snipe hunter.eddie.t.h is an accomplished Snipe hunter.eddie.t.h is an accomplished Snipe hunter.eddie.t.h is an accomplished Snipe hunter.
 
eddie.t.h's Avatar
 
Posts: 201
Karma: 123456
Join Date: Jan 2018
Device: Too Much Kindle :-)
Maybe you could try this: repeat your previous steps but instead of an update file, upload an empty file named DO_FACTORY_RESTORE.
eddie.t.h is offline   Reply With Quote
Advert
Old 01-18-2022, 02:59 PM   #3
rnbw
Junior Member
rnbw began at the beginning.
 
Posts: 6
Karma: 10
Join Date: Jan 2022
Device: PW2
Thanks, it did something - a language selector came on the screen! However, the touchscreen X axis is mirrored (tapped English on the left side but Russian on the right side was highlighted). After selecting language, the bootloop is back.

I was told that the screen was replaced before it stopped working. I've disconnected the wide flex cable and there's a label saying ED060KD1. That's a PW3 screen. That's why the tree logo is not full-screen. The language selector was, however, full-screen. Could the wrong screen cause the lab126_gui not to start?
rnbw is offline   Reply With Quote
Old 01-18-2022, 04:04 PM   #4
katadelos
rm -rf /
katadelos ought to be getting tired of karma fortunes by now.katadelos ought to be getting tired of karma fortunes by now.katadelos ought to be getting tired of karma fortunes by now.katadelos ought to be getting tired of karma fortunes by now.katadelos ought to be getting tired of karma fortunes by now.katadelos ought to be getting tired of karma fortunes by now.katadelos ought to be getting tired of karma fortunes by now.katadelos ought to be getting tired of karma fortunes by now.katadelos ought to be getting tired of karma fortunes by now.katadelos ought to be getting tired of karma fortunes by now.katadelos ought to be getting tired of karma fortunes by now.
 
Posts: 219
Karma: 3333683
Join Date: Nov 2019
Location: United Kingdom
Device: K5, KT, KT2, KT3, KT4, KV, PW2, PW3, PW4, PW5
Quote:
Originally Posted by rnbw View Post
Thanks, it did something - a language selector came on the screen! However, the touchscreen X axis is mirrored (tapped English on the left side but Russian on the right side was highlighted). After selecting language, the bootloop is back.

I was told that the screen was replaced before it stopped working. I've disconnected the wide flex cable and there's a label saying ED060KD1. That's a PW3 screen. That's why the tree logo is not full-screen. The language selector was, however, full-screen. Could the wrong screen cause the lab126_gui not to start?
You can grab a diags image for PW2 here.

You might be SOL though - I've got a pair of Kindles with PW3 motherboards but PW2 screens so, the opposite problem that you have.

I was able to get them to stop bootlooping by installing a PW2 firmware image on them (which solved the scaling issue) and was able to patch out the X axis mirroring from the touch screen driver but touch broke completely on both devices shortly afterwards, even in diags mode with the stock touch driver.

IIRC it was something to do with the I2C bus?
katadelos is offline   Reply With Quote
Old 01-18-2022, 04:06 PM   #5
eddie.t.h
Addict
eddie.t.h is an accomplished Snipe hunter.eddie.t.h is an accomplished Snipe hunter.eddie.t.h is an accomplished Snipe hunter.eddie.t.h is an accomplished Snipe hunter.eddie.t.h is an accomplished Snipe hunter.eddie.t.h is an accomplished Snipe hunter.eddie.t.h is an accomplished Snipe hunter.eddie.t.h is an accomplished Snipe hunter.eddie.t.h is an accomplished Snipe hunter.eddie.t.h is an accomplished Snipe hunter.eddie.t.h is an accomplished Snipe hunter.
 
eddie.t.h's Avatar
 
Posts: 201
Karma: 123456
Join Date: Jan 2018
Device: Too Much Kindle :-)
You must have something pretty messed up in your system. What is your reader serial number? Maybe you have a PW3 after all?
eddie.t.h is offline   Reply With Quote
Advert
Old 01-18-2022, 04:22 PM   #6
rnbw
Junior Member
rnbw began at the beginning.
 
Posts: 6
Karma: 10
Join Date: Jan 2022
Device: PW2
Thanks for the link with images, I was unable to find them.

It's definitely PW2 - serial number begins with 9017, PCB is marked 30-000539.
Probably the best option is to get a PW2 screen and sell the PW3 one.
rnbw is offline   Reply With Quote
Old 01-18-2022, 04:27 PM   #7
j.p.s
Grand Sorcerer
j.p.s ought to be getting tired of karma fortunes by now.j.p.s ought to be getting tired of karma fortunes by now.j.p.s ought to be getting tired of karma fortunes by now.j.p.s ought to be getting tired of karma fortunes by now.j.p.s ought to be getting tired of karma fortunes by now.j.p.s ought to be getting tired of karma fortunes by now.j.p.s ought to be getting tired of karma fortunes by now.j.p.s ought to be getting tired of karma fortunes by now.j.p.s ought to be getting tired of karma fortunes by now.j.p.s ought to be getting tired of karma fortunes by now.j.p.s ought to be getting tired of karma fortunes by now.
 
Posts: 5,786
Karma: 103362673
Join Date: Apr 2011
Device: pb360
Quote:
Originally Posted by rnbw View Post
I was told that the screen was replaced before it stopped working. I've disconnected the wide flex cable and there's a label saying ED060KD1. That's a PW3 screen.
Quote:
Originally Posted by katadelos View Post
I've got a pair of Kindles with PW3 motherboards but PW2 screens so, the opposite problem that you have.
Quote:
Originally Posted by rnbw View Post
It's definitely PW2 - serial number begins with 9017, PCB is marked 30-000539.
Probably the best option is to get a PW2 screen and sell the PW3 one.
Maybe you two should trade screens.
j.p.s is offline   Reply With Quote
Old 01-18-2022, 04:49 PM   #8
eddie.t.h
Addict
eddie.t.h is an accomplished Snipe hunter.eddie.t.h is an accomplished Snipe hunter.eddie.t.h is an accomplished Snipe hunter.eddie.t.h is an accomplished Snipe hunter.eddie.t.h is an accomplished Snipe hunter.eddie.t.h is an accomplished Snipe hunter.eddie.t.h is an accomplished Snipe hunter.eddie.t.h is an accomplished Snipe hunter.eddie.t.h is an accomplished Snipe hunter.eddie.t.h is an accomplished Snipe hunter.eddie.t.h is an accomplished Snipe hunter.
 
eddie.t.h's Avatar
 
Posts: 201
Karma: 123456
Join Date: Jan 2018
Device: Too Much Kindle :-)
Quote:
Originally Posted by rnbw View Post
Probably the best option is to get a PW2 screen and sell the PW3 one.
I think a better option though is to look for a PW3 with a broken display.
eddie.t.h is offline   Reply With Quote
Old 01-18-2022, 05:00 PM   #9
rnbw
Junior Member
rnbw began at the beginning.
 
Posts: 6
Karma: 10
Join Date: Jan 2022
Device: PW2
Or try to flash the PW2 board to PW3?

I wonder why the touch was still mirrored with PW2 firmware for katadelos. Maybe there's a difference in the touchscreen connector pinout?
rnbw is offline   Reply With Quote
Old 01-18-2022, 05:25 PM   #10
eddie.t.h
Addict
eddie.t.h is an accomplished Snipe hunter.eddie.t.h is an accomplished Snipe hunter.eddie.t.h is an accomplished Snipe hunter.eddie.t.h is an accomplished Snipe hunter.eddie.t.h is an accomplished Snipe hunter.eddie.t.h is an accomplished Snipe hunter.eddie.t.h is an accomplished Snipe hunter.eddie.t.h is an accomplished Snipe hunter.eddie.t.h is an accomplished Snipe hunter.eddie.t.h is an accomplished Snipe hunter.eddie.t.h is an accomplished Snipe hunter.
 
eddie.t.h's Avatar
 
Posts: 201
Karma: 123456
Join Date: Jan 2018
Device: Too Much Kindle :-)
These motherboard, despite their great similarities, are different. From the most important differences PW3 has 512MB ram, voltage switch for Flash memory. Possibly there are also differences on i2c bus. Uboot recognizes the board configuration by serial numbers. I don't know if you will be able to simply swap systems.
eddie.t.h is offline   Reply With Quote
Old 01-18-2022, 05:29 PM   #11
rnbw
Junior Member
rnbw began at the beginning.
 
Posts: 6
Karma: 10
Join Date: Jan 2022
Device: PW2
Oh, haven't noticed the difference in RAM size. Smaller RAM is probably a showstopper.
rnbw is offline   Reply With Quote
Old 01-18-2022, 07:17 PM   #12
katadelos
rm -rf /
katadelos ought to be getting tired of karma fortunes by now.katadelos ought to be getting tired of karma fortunes by now.katadelos ought to be getting tired of karma fortunes by now.katadelos ought to be getting tired of karma fortunes by now.katadelos ought to be getting tired of karma fortunes by now.katadelos ought to be getting tired of karma fortunes by now.katadelos ought to be getting tired of karma fortunes by now.katadelos ought to be getting tired of karma fortunes by now.katadelos ought to be getting tired of karma fortunes by now.katadelos ought to be getting tired of karma fortunes by now.katadelos ought to be getting tired of karma fortunes by now.
 
Posts: 219
Karma: 3333683
Join Date: Nov 2019
Location: United Kingdom
Device: K5, KT, KT2, KT3, KT4, KV, PW2, PW3, PW4, PW5
Quote:
Originally Posted by rnbw View Post
Or try to flash the PW2 board to PW3?

I wonder why the touch was still mirrored with PW2 firmware for katadelos. Maybe there's a difference in the touchscreen connector pinout?
It's the same pinout (though possibly different voltages?) and driver; the screen stayed mirrored because the driver checks the PCB serial number when it loads and uses this value to define whether mirroring should be applied:
Code:
# From drivers/input/touchscreen/cyttsp4_mt_common.c

#define PANEL_FLIP_X   (lab126_board_is(BOARD_ID_MUSCAT_WAN) || \
                        lab126_board_is(BOARD_ID_MUSCAT_WFO) || \
                         lab126_board_is(BOARD_ID_MUSCAT_32G_WFO))
	
#define PANEL_FLIP_Y   (lab126_board_is(BOARD_ID_WHISKY_WAN) || \
                         lab126_board_is(BOARD_ID_WHISKY_WFO) || lab126_board_is(BOARD_ID_WOODY))
Quote:
Originally Posted by eddie.t.h View Post
These motherboard, despite their great similarities, are different. From the most important differences PW3 has 512MB ram, voltage switch for Flash memory. Possibly there are also differences on i2c bus. Uboot recognizes the board configuration by serial numbers. I don't know if you will be able to simply swap systems.
There's a good change that booting the firmware of a different device is possible - PW2, PW3, KT2 and KV are very similar on the software side of things and use an identical configuration for Linux + U-Boot builds. There's still a good chance that the hardware will get screwed up though.

Quote:
Originally Posted by rnbw View Post
Oh, haven't noticed the difference in RAM size. Smaller RAM is probably a showstopper.
Nah, shouldn't be - the only time that memory exhaustion is an issue is when attempting to run the new UI on a 256MB device. You can run 5.14.1 on a KT2 or PW2 without problems as long as the old UI is enabled.
katadelos is offline   Reply With Quote
Old 01-19-2022, 08:39 AM   #13
eddie.t.h
Addict
eddie.t.h is an accomplished Snipe hunter.eddie.t.h is an accomplished Snipe hunter.eddie.t.h is an accomplished Snipe hunter.eddie.t.h is an accomplished Snipe hunter.eddie.t.h is an accomplished Snipe hunter.eddie.t.h is an accomplished Snipe hunter.eddie.t.h is an accomplished Snipe hunter.eddie.t.h is an accomplished Snipe hunter.eddie.t.h is an accomplished Snipe hunter.eddie.t.h is an accomplished Snipe hunter.eddie.t.h is an accomplished Snipe hunter.
 
eddie.t.h's Avatar
 
Posts: 201
Karma: 123456
Join Date: Jan 2018
Device: Too Much Kindle :-)
Quote:
Originally Posted by katadelos View Post
There's a good change that booting the firmware of a different device is possible - PW2, PW3, KT2 and KV are very similar on the software side of things and use an identical configuration for Linux + U-Boot builds. There's still a good chance that the hardware will get screwed up though.
I wonder if by changing serial numbers of reader and pcb to those of PW3 you could easily install the system in the traditional way without recompiling drivers? Have you tried that with your readers?
eddie.t.h is offline   Reply With Quote
Old 03-07-2022, 04:40 PM   #14
rnbw
Junior Member
rnbw began at the beginning.
 
Posts: 6
Karma: 10
Join Date: Jan 2022
Device: PW2
I got the correct screen (ED060XD4) and the Kindle now works fine - no more bootloop.

I've also reflashed diags using fastboot and the image katadelos provided - thanks a lot.
rnbw is offline   Reply With Quote
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Clara HD SD card image needed panamajack Kobo Developer's Corner 1751 08-23-2023 11:56 AM
Aura H2O SD image needed yw3 Kobo Reader 22 06-11-2023 12:48 PM
Nia SD image needed tomeggleston Kobo Developer's Corner 0 06-01-2021 10:38 AM
Kobo Mini image needed please Sparky Stu Kobo Reader 19 06-07-2019 10:36 AM
Request for diags kernel + partition image damon12 Kindle Developer's Corner 37 05-31-2018 09:43 PM


All times are GMT -4. The time now is 02:13 AM.


MobileRead.com is a privately owned, operated and funded community.