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 02-29-2020, 08:59 AM   #31
knc1
Going Viral
knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.
 
knc1's Avatar
 
Posts: 17,212
Karma: 18210809
Join Date: Feb 2012
Location: Central Texas
Device: No K1, PW2, KV, KOA
Quote:
Originally Posted by ydi View Post
It could be useful to add those "official amazon names" as a column in https://wiki.mobileread.com/wiki/Kindle_Serial_Numbers, and rename the current "Model Name" column to something like "Community Model Name" or something similar, right ?
Wrong.

The "Model Name" varies with geographic region.
It says so in the disclaimer attached by Amazon to each of those model names.

The "Community Model Name" is fixed per model.
"Per Model" in the same sense that packages are "model locked" based on the same internal hardware information.
I will admit that over time, some of our name choices are down-right ugly and there have been heated discussions over those. Even so, we have maintained a greater consistency than even the builders.

Last edited by knc1; 02-29-2020 at 09:16 AM.
knc1 is offline   Reply With Quote
Old 07-24-2020, 03:04 PM   #32
AbdulHamdy
Member
AbdulHamdy began at the beginning.
 
Posts: 10
Karma: 10
Join Date: Feb 2020
Location: NJ, USA
Device: Kindle PW4 10th Gen 8GB
Well. Pretending that I didn't fall off the face of the earth for a reason and that the world wasn't ending..
Let's pickup where we left off..
The OTG doesn't work.. And the internal usb port doesn't work..
Somebody has compiled a lshw bin and I used it and there was really nothing there..

Is this a different linux system? Or do I need to re-compile the kernel with different parameters to expose the other usb port?

I am using the port that is used by the 4G modem..
Also, does this imply that if I reflashed the thing with the firmware of the 4G model that this usb port will be initialized?

Also, the wifi and Bluetooth interfaces do not show in lshw
Does anyone know how the kernel is triggered to enable these devices?
I have to admit, I am stepping out of my comfort zone a lot and I'm thinking of just buying a blacklisted device from ebay and trying to transplant a bigger MMC and if it works I would carry over the serial and rom data from my good one and keep whatever is leftover as spare parts. (blacklisted because it will be cheaper since I will probably break the first one... Soldering 4 points with that thick waterproof conformal coating was tough.. And measuring "ohms" was hard.. Lifting, reballing and replacing a NAND bga would be a nightmare.. But I'm determined to make this the ultimate ebook reader.)

P. S. I'm also working on a nook classic.. Does anyone have any tips? Or a copy of the lost 1.7k cfw? Android 2.x never looked so great.

Almost forgot.. I took a copy of /keys/dh*.. Does anyone know what is that? And in /tmp/ there are ".partial" files.. A number of them in random alphanumeric chars.. Are there updates or just other logs or dumps?

Last edited by AbdulHamdy; 07-24-2020 at 03:08 PM.
AbdulHamdy is offline   Reply With Quote
Advert
Old 07-24-2020, 03:57 PM   #33
trcm
Connoisseur
trcm rocks like Gibraltar!trcm rocks like Gibraltar!trcm rocks like Gibraltar!trcm rocks like Gibraltar!trcm rocks like Gibraltar!trcm rocks like Gibraltar!trcm rocks like Gibraltar!trcm rocks like Gibraltar!trcm rocks like Gibraltar!trcm rocks like Gibraltar!trcm rocks like Gibraltar!
 
Posts: 96
Karma: 100000
Join Date: Dec 2018
Location: London
Device: Kobo Libra H2O
Doesn’t the iMX take a devicetree file as part of the boot up to describe the pin muxing and enumerate the ports?

Pretty sure I’ve seen that on my car stereo which uses an iMX6
trcm is offline   Reply With Quote
Old 07-24-2020, 04:05 PM   #34
trcm
Connoisseur
trcm rocks like Gibraltar!trcm rocks like Gibraltar!trcm rocks like Gibraltar!trcm rocks like Gibraltar!trcm rocks like Gibraltar!trcm rocks like Gibraltar!trcm rocks like Gibraltar!trcm rocks like Gibraltar!trcm rocks like Gibraltar!trcm rocks like Gibraltar!trcm rocks like Gibraltar!
 
Posts: 96
Karma: 100000
Join Date: Dec 2018
Location: London
Device: Kobo Libra H2O
A DTS file, like this : https://www.axiom-partners.com/ilx702d/imx6q-limo.dts

Is it uBoot which initialises it ?

fdt_file=imx6q-limo.dtb
fdt_addr=0x18000000
fdt_high=0xffffffff

Last edited by trcm; 07-24-2020 at 04:07 PM.
trcm is offline   Reply With Quote
Old 07-24-2020, 04:07 PM   #35
AbdulHamdy
Member
AbdulHamdy began at the beginning.
 
Posts: 10
Karma: 10
Join Date: Feb 2020
Location: NJ, USA
Device: Kindle PW4 10th Gen 8GB
I have a feeling that a certain corporation will not be happy if this works and will keep breaking records in the game of futile gestures if this truly works.

https://www.nxp.com/docs/en/application-note/AN4589.pdf

This is rather technical.. But I am thinking that revisiting the source code and this document will allow me to either change the values in the registers outright and enable the port.. Or find the file that messes with said register. I am more inclined towards dumping the content of the registers (page5 in above link) and examining them with wifi and bluetooth turned on and off and connected and disconnected from charger and PC-host. Then if there isn't a direct switch to echo in /sys I can just manually change a few values to enable the port and call it a day.. (I can already see dreams of drowning in the usb memory map ref manual). This way it should be a script to run with the intended effect.

However, I'm still hopeful that someone will have an easier magic solution as I'm learning-as-I-go with this.. And half the stuff I said I'm still figuring out how to do... Like messing with memory without JTAG and shiny GUI interfaces or just seeing them in kernel panics.
AbdulHamdy is offline   Reply With Quote
Advert
Old 07-24-2020, 04:14 PM   #36
AbdulHamdy
Member
AbdulHamdy began at the beginning.
 
Posts: 10
Karma: 10
Join Date: Feb 2020
Location: NJ, USA
Device: Kindle PW4 10th Gen 8GB
Quote:
Originally Posted by trcm View Post
Doesn’t the iMX take a devicetree file as part of the boot up to describe the pin muxing and enumerate the ports?

Pretty sure I’ve seen that on my car stereo which uses an iMX6

@trcm yes, that was what I meant by going through the source code.. That massive zip file.. I glossed over it a few times and it sucked.. Finding that tree wasn't straight forward IIRC.. But now I know that a DTS file might be the bullseye.. I fear that the port might be locked or unaccessible without a recompile.. Amazon has a nasty habit doing stuff like this..
*praying for the best outcome*
Will update when I do this stuff tonight
AbdulHamdy is offline   Reply With Quote
Old 07-24-2020, 04:19 PM   #37
trcm
Connoisseur
trcm rocks like Gibraltar!trcm rocks like Gibraltar!trcm rocks like Gibraltar!trcm rocks like Gibraltar!trcm rocks like Gibraltar!trcm rocks like Gibraltar!trcm rocks like Gibraltar!trcm rocks like Gibraltar!trcm rocks like Gibraltar!trcm rocks like Gibraltar!trcm rocks like Gibraltar!
 
Posts: 96
Karma: 100000
Join Date: Dec 2018
Location: London
Device: Kobo Libra H2O
DTS file is probably stored in its own flash partition same as the device I looked at.
https://www.axiom-partners.com/ilx70...256S/dump.html

The NXP forums have some intriguing chat messages about enabling features on the iMX chips, but without access to the full docs it’s all a bit of a black art.

Good luck and I look forward to reading more about your adventures here.
trcm is offline   Reply With Quote
Old 07-24-2020, 04:50 PM   #38
dhdurgee
Guru
dhdurgee ought to be getting tired of karma fortunes by now.dhdurgee ought to be getting tired of karma fortunes by now.dhdurgee ought to be getting tired of karma fortunes by now.dhdurgee ought to be getting tired of karma fortunes by now.dhdurgee ought to be getting tired of karma fortunes by now.dhdurgee ought to be getting tired of karma fortunes by now.dhdurgee ought to be getting tired of karma fortunes by now.dhdurgee ought to be getting tired of karma fortunes by now.dhdurgee ought to be getting tired of karma fortunes by now.dhdurgee ought to be getting tired of karma fortunes by now.dhdurgee ought to be getting tired of karma fortunes by now.
 
Posts: 910
Karma: 3000002
Join Date: Jun 2010
Device: K3W, PW4
Regarding bluetooth support, it appears that Amazon does not load the usual linux drivers and support for this. I found that I could take advantage of the tools they were using, either alsa or gstreamer, to play audio when a device is attached to the kindle. Given that bluetooth is enabled via the GUI, I would assume that toggling it could also be handled programatically once their tool is located.

I wish you well in taking a stab at this.

Dave
dhdurgee is offline   Reply With Quote
Old 10-01-2020, 10:24 AM   #39
trcm
Connoisseur
trcm rocks like Gibraltar!trcm rocks like Gibraltar!trcm rocks like Gibraltar!trcm rocks like Gibraltar!trcm rocks like Gibraltar!trcm rocks like Gibraltar!trcm rocks like Gibraltar!trcm rocks like Gibraltar!trcm rocks like Gibraltar!trcm rocks like Gibraltar!trcm rocks like Gibraltar!
 
Posts: 96
Karma: 100000
Join Date: Dec 2018
Location: London
Device: Kobo Libra H2O
If it helps, I think I've extracted the device trees (and converted them to printable format) for the WiFi and the Wifi+3G models :
https://www.axiom-partners.com/pw4/
trcm is offline   Reply With Quote
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Aura HD *HARDWARE MOD* Frontlight color filter gezzer Kobo Developer's Corner 13 03-13-2024 01:26 PM
[Hardware Mod] Warm light / redshift on Kobo Glo HD sv2000 Kobo Reader 8 08-22-2021 08:22 PM
Glo HD [Hardware Mod] Physical page turning buttons/poor man's Forma sv2000 Kobo Developer's Corner 3 07-10-2019 05:21 PM
My Kindle 1 does USB charging too! [hardware mod] shinew Amazon Kindle 0 02-25-2009 12:35 AM


All times are GMT -4. The time now is 04:46 AM.


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