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 04-13-2016, 01:07 PM   #16
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 San Zamoyski View Post
OK, that's fair enough.

I preferably put this gsm modem into my old laptop and try this way, but i'm not getting the point - even if i can send sms or anything from 'other' device, there is still risk that when i put it back, bad things may happen.
- - -
The SIM card is external to the modem/radio card - can your old laptop handle that sort of set-up?
I.E: some modem/radio cards have an integrated SIM socket rather than wiring it out through the connector.

= = = =

If you find yourself having to enter the command:
mntroot rw
stop and think first what you are doing.
The system image files are normally R/O for a reason.
knc1 is offline   Reply With Quote
Old 04-13-2016, 03:22 PM   #17
San Zamoyski
Enthusiast
San Zamoyski is an enigma wrapped up in a mystery.San Zamoyski is an enigma wrapped up in a mystery.San Zamoyski is an enigma wrapped up in a mystery.San Zamoyski is an enigma wrapped up in a mystery.San Zamoyski is an enigma wrapped up in a mystery.San Zamoyski is an enigma wrapped up in a mystery.San Zamoyski is an enigma wrapped up in a mystery.San Zamoyski is an enigma wrapped up in a mystery.San Zamoyski is an enigma wrapped up in a mystery.San Zamoyski is an enigma wrapped up in a mystery.San Zamoyski is an enigma wrapped up in a mystery.
 
Posts: 48
Karma: 41612
Join Date: Jan 2015
Location: Poland, Warsaw
Device: Kindle 3G
Quote:
Originally Posted by knc1 View Post
The SIM card is external to the modem/radio card - can your old laptop handle that sort of set-up?
Yeah, unfortunetly, You are right - i thought i can put usb sim card reader and it will magically work, but no... it wont.

Quote:
If you find yourself having to enter the command:
mntroot rw
stop and think first what you are doing.
The system image files are normally R/O for a reason.
didn't know it is ro, but, hey! it's quite logical

but You wrote
Quote:
Changing files in the system image to get easy access to the PPP port the software is using can be harmful to your system.
but i can not imagine how is that. comunicating via serial (virtual or not) is (in my opinion) quite hard to make something terribly wrong.
San Zamoyski is offline   Reply With Quote
Advert
Old 04-13-2016, 03:38 PM   #18
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 San Zamoyski View Post
- - - -
but You wrote
but i can not imagine how is that. comunicating via serial (virtual or not) is (in my opinion) quite hard to make something terribly wrong.
The Kindle's firmware expects to have exclusive use of that internal USB connection to the 3G card.

I don't know what you might have to change to get that exclusive access away from the Kindle's firmware while you are playing with the 3G card's command set.
(Which, by the way, I posted a reference manual on way back when.)

Since the Kindle's are known to work **WITHOUT** the 3G card working - just taking it away from the firmware is not the problem.

The problem is that many (most?) of the system files are checksum'd and the checksums stored in a manifest that is checked on each re-boot.

(Which point I had forgotten when I added a file to my K2 and then let it re-boot a couple of weeks ago. The DX is just a large screen K2 for the purposes here.)
knc1 is offline   Reply With Quote
Old 04-13-2016, 04:05 PM   #19
geekmaster
Carpe diem, c'est la vie.
geekmaster ought to be getting tired of karma fortunes by now.geekmaster ought to be getting tired of karma fortunes by now.geekmaster ought to be getting tired of karma fortunes by now.geekmaster ought to be getting tired of karma fortunes by now.geekmaster ought to be getting tired of karma fortunes by now.geekmaster ought to be getting tired of karma fortunes by now.geekmaster ought to be getting tired of karma fortunes by now.geekmaster ought to be getting tired of karma fortunes by now.geekmaster ought to be getting tired of karma fortunes by now.geekmaster ought to be getting tired of karma fortunes by now.geekmaster ought to be getting tired of karma fortunes by now.
 
geekmaster's Avatar
 
Posts: 6,433
Karma: 10773670
Join Date: Nov 2011
Location: Multiverse 6627A
Device: K1 to PW3
Quote:
Originally Posted by knc1 View Post
... I don't know what you might have to change to get that exclusive access away from the Kindle's firmware while you are playing with the 3G card's command set.
(Which, by the way, I posted a reference manual on way back when.) ...
This, perhaps?
https://www.mobileread.com/forums/sho...07#post1955307
geekmaster is offline   Reply With Quote
Old 04-13-2016, 04:49 PM   #20
San Zamoyski
Enthusiast
San Zamoyski is an enigma wrapped up in a mystery.San Zamoyski is an enigma wrapped up in a mystery.San Zamoyski is an enigma wrapped up in a mystery.San Zamoyski is an enigma wrapped up in a mystery.San Zamoyski is an enigma wrapped up in a mystery.San Zamoyski is an enigma wrapped up in a mystery.San Zamoyski is an enigma wrapped up in a mystery.San Zamoyski is an enigma wrapped up in a mystery.San Zamoyski is an enigma wrapped up in a mystery.San Zamoyski is an enigma wrapped up in a mystery.San Zamoyski is an enigma wrapped up in a mystery.
 
Posts: 48
Karma: 41612
Join Date: Jan 2015
Location: Poland, Warsaw
Device: Kindle 3G
Quote:
I don't know what you might have to change to get that exclusive access away from the Kindle's firmware while you are playing with the 3G card's command set.
Quote:
Originally Posted by knc1 View Post
The 3G modem appears as a serial device with PPP running on it when it 'on'.
Turn the radio on/off does not have any effect on the Qualcomm SoC or its embedded modem.
This suggests something, am i right?
While turning off radio Kindle's software wont use it (maybe some AT command to tell hardware 'go powersave' and 'wake up'?), but the device should be available in /dev as serial port. Then it could be possible to send/receive SMS without interferencing with firmware. =]

But wait!
Let's assume what can be done to check possibilities.

Put minipcie modem from K3 into some other device and check... - check what?
There are such modems/devices like one attached (i'm going to look for something like such on my localisation). I can try this out. But still - what will we get to know when i test it?

Buy another K3 that might go brick and test.
That's quite self-explanable.

Work on my daily-used K3 and hope it won't get broke.
Ok, lets assume i won't modify rootfs (now i'm quite sure i won't):
Quote:
The Kindle's firmware expects to have exclusive use of that internal USB connection to the 3G card.
It probably won't be angry if i'll try to send some AT commands, and it wont blow up into my face, huh?

BTW. many thanks for such a long conversation and answers. i do not know if it will be used by anyone else except me, even if it works so... thanks. apreciate that.

*** edit ***
...aaaand found it. it's called Opition GI0201 (image attached) and it might work. still few bucks. should i buy motherboard or... or what

*** edit2 ***
my first statement might be incorrect... http://www.allpinouts.org/index.php/...ress_Mini_Card

*** edit 3 ***
Oh, i do not even know to which device cat AT commands...

*** edit 4 ***
Ok, i can not see it since it is turned off while on wifi
Code:
usbcore: registered new interface driver usbserial
usbserial: USB Serial Driver core
usbserial: USB Serial support registered for GSM modem (1-port)
usbcore: registered new interface driver option
option: USB Driver for GSM modems: v0.7.2
usb 1-1: new full speed USB device using fsl-ehci and address 2
usb 1-1: configuration #1 chosen from 1 choice
option 1-1:1.0: GSM modem (1-port) converter detected
usb 1-1: GSM modem (1-port) converter now attached to ttyUSB0
option 1-1:1.1: GSM modem (1-port) converter detected
usb 1-1: GSM modem (1-port) converter now attached to ttyUSB1
EXT3 FS on mmcblk0p1, internal journal
mwan: I init_modem_type:smt:type=3:setting modem type
PPP generic driver version 2.4.2

...

option1 ttyUSB0: GSM modem (1-port) converter now disconnected from ttyUSB0
option 1-1:1.0: device disconnected
option1 ttyUSB1: GSM modem (1-port) converter now disconnected from ttyUSB1
option 1-1:1.1: device disconnected
Attached Thumbnails
Click image for larger version

Name:	USBMA_A_1.jpg
Views:	143
Size:	45.7 KB
ID:	147811   Click image for larger version

Name:	7deb8944b585f4e7d3d5be8f5ab6ea27.jpg
Views:	132
Size:	54.4 KB
ID:	147812  

Last edited by San Zamoyski; 04-13-2016 at 06:36 PM.
San Zamoyski is offline   Reply With Quote
Advert
Old 04-14-2016, 05:25 AM   #21
San Zamoyski
Enthusiast
San Zamoyski is an enigma wrapped up in a mystery.San Zamoyski is an enigma wrapped up in a mystery.San Zamoyski is an enigma wrapped up in a mystery.San Zamoyski is an enigma wrapped up in a mystery.San Zamoyski is an enigma wrapped up in a mystery.San Zamoyski is an enigma wrapped up in a mystery.San Zamoyski is an enigma wrapped up in a mystery.San Zamoyski is an enigma wrapped up in a mystery.San Zamoyski is an enigma wrapped up in a mystery.San Zamoyski is an enigma wrapped up in a mystery.San Zamoyski is an enigma wrapped up in a mystery.
 
Posts: 48
Karma: 41612
Join Date: Jan 2015
Location: Poland, Warsaw
Device: Kindle 3G
Ok!

Tried something like this:
Code:
[root@kindle /dev]# modemcmd -c "AT+CMGF=1" -v
modemcmd 0.3.3 Copyright (C) 2008, 2009 Amazon Technologies, Inc.  All rights reserved.

[root@kindle /dev]# echo "AT+CMGF=1" > /dev/tts/USB0 && cat /dev/tts/USB0
[root@kindle tts]# echo "AT+CMGF=1" > /dev/tts/USB1 && cat /dev/tts/USB1
[root@kindle tts]# cat USB1 
[root@kindle tts]# tail USB0
tail: read error: Resource temporarily unavailable
[root@kindle tts]# lsof USB1 
COMMAND  PID USER   FD   TYPE DEVICE SIZE/OFF  NODE NAME
wand    2710 root    8u   CHR  188,1      0t0 33000 USB1
[root@kindle tts]# lsof USB0 
COMMAND   PID USER   FD   TYPE DEVICE SIZE/OFF  NODE NAME
pppd    13661 root    7u   CHR  188,0      0t0 33004 USB0
San Zamoyski is offline   Reply With Quote
Old 04-15-2016, 04:43 AM   #22
geekmaster
Carpe diem, c'est la vie.
geekmaster ought to be getting tired of karma fortunes by now.geekmaster ought to be getting tired of karma fortunes by now.geekmaster ought to be getting tired of karma fortunes by now.geekmaster ought to be getting tired of karma fortunes by now.geekmaster ought to be getting tired of karma fortunes by now.geekmaster ought to be getting tired of karma fortunes by now.geekmaster ought to be getting tired of karma fortunes by now.geekmaster ought to be getting tired of karma fortunes by now.geekmaster ought to be getting tired of karma fortunes by now.geekmaster ought to be getting tired of karma fortunes by now.geekmaster ought to be getting tired of karma fortunes by now.
 
geekmaster's Avatar
 
Posts: 6,433
Karma: 10773670
Join Date: Nov 2011
Location: Multiverse 6627A
Device: K1 to PW3
The /test/ folder on one of my K3s contains WAN diags, which use lipc commands (not AT commands) to talk to the radio. These diags support multiple brands and models of modems, and both GSM and non-GSM modems. Also, during the 511 diag, the comments say the 15-second countdown display is to give time for the user to place the device into a "cage" (Faraday cage, I presume). It also places loopback calls, and makes connections with "callbox equipment" (a Stingray-like device?). There are also notes that it can take the radio up to 34 seconds to power up after it was asleep, before it can accept commands. No AT commands in diags -- just lipc commands...
geekmaster is offline   Reply With Quote
Old 04-16-2016, 12:40 PM   #23
San Zamoyski
Enthusiast
San Zamoyski is an enigma wrapped up in a mystery.San Zamoyski is an enigma wrapped up in a mystery.San Zamoyski is an enigma wrapped up in a mystery.San Zamoyski is an enigma wrapped up in a mystery.San Zamoyski is an enigma wrapped up in a mystery.San Zamoyski is an enigma wrapped up in a mystery.San Zamoyski is an enigma wrapped up in a mystery.San Zamoyski is an enigma wrapped up in a mystery.San Zamoyski is an enigma wrapped up in a mystery.San Zamoyski is an enigma wrapped up in a mystery.San Zamoyski is an enigma wrapped up in a mystery.
 
Posts: 48
Karma: 41612
Join Date: Jan 2015
Location: Poland, Warsaw
Device: Kindle 3G
i've been wondering... is it possible to put K3's firmware on K3G device? it would block firmware from using 3G modem and would give us possibility to mess around with modem without interference. (even if it is wand, pppd or lipc)

Quote:
BTW. is it possible to put on reader (e.g. motherboar-only device) working, jailbroken system? i mean - i can buy on allegro (polish eBay) motherboard which hangs from time to time for few bucks and mess around with that, but don't like idea to move delicate screen from one device to another just for reinstalling.
is it?
San Zamoyski is offline   Reply With Quote
Old 04-16-2016, 07:36 PM   #24
geekmaster
Carpe diem, c'est la vie.
geekmaster ought to be getting tired of karma fortunes by now.geekmaster ought to be getting tired of karma fortunes by now.geekmaster ought to be getting tired of karma fortunes by now.geekmaster ought to be getting tired of karma fortunes by now.geekmaster ought to be getting tired of karma fortunes by now.geekmaster ought to be getting tired of karma fortunes by now.geekmaster ought to be getting tired of karma fortunes by now.geekmaster ought to be getting tired of karma fortunes by now.geekmaster ought to be getting tired of karma fortunes by now.geekmaster ought to be getting tired of karma fortunes by now.geekmaster ought to be getting tired of karma fortunes by now.
 
geekmaster's Avatar
 
Posts: 6,433
Karma: 10773670
Join Date: Nov 2011
Location: Multiverse 6627A
Device: K1 to PW3
Quote:
Originally Posted by San Zamoyski View Post
i've been wondering... is it possible to put K3's firmware on K3G device? it would block firmware from using 3G modem and would give us possibility to mess around with modem without interference. (even if it is wand, pppd or lipc)

is it?
The K3 firmware (version 3.x) is the same for both devices (B006 and B008).

https://www.amazon.com/gp/help/custo...deId=200529700

The best way to "mess around" with 3G is in a Faraday cage (as recommended in the K3 diagnostic scripts in the /test/ folder on some kindles).

Last edited by geekmaster; 04-16-2016 at 07:40 PM.
geekmaster is offline   Reply With Quote
Old 04-19-2016, 05:42 PM   #25
San Zamoyski
Enthusiast
San Zamoyski is an enigma wrapped up in a mystery.San Zamoyski is an enigma wrapped up in a mystery.San Zamoyski is an enigma wrapped up in a mystery.San Zamoyski is an enigma wrapped up in a mystery.San Zamoyski is an enigma wrapped up in a mystery.San Zamoyski is an enigma wrapped up in a mystery.San Zamoyski is an enigma wrapped up in a mystery.San Zamoyski is an enigma wrapped up in a mystery.San Zamoyski is an enigma wrapped up in a mystery.San Zamoyski is an enigma wrapped up in a mystery.San Zamoyski is an enigma wrapped up in a mystery.
 
Posts: 48
Karma: 41612
Join Date: Jan 2015
Location: Poland, Warsaw
Device: Kindle 3G
Quote:
The K3 firmware (version 3.x) is the same for both devices (B006 and B008).
Got it!

I've bought motherboard to mess around.
It'll be hard to jailbreak it without screen and install usbnet, but hey, it's not impossible, isn't it?

Faraday cage is a good idea, but it wont give me possibility to receive anything. I'll buy some pre-paid card and send sms to it if i figure out anything...

Well first thing is to disable 3G while networking is on and/or enable it when connectivity is off.
San Zamoyski is offline   Reply With Quote
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Question about Calibre->Kindle capabilities kaufman Devices 7 09-19-2014 12:35 AM
Bluetooth/Kindle Fire Capabilities abartleson Kindle Fire 5 03-16-2013 02:12 PM
Capabilities of Kindle app for iPad AlexBell Kindle Formats 2 03-05-2013 12:51 AM
Kindle touch browser javascript capabilities iPocketBook Kindle Developer's Corner 14 01-03-2013 09:10 AM
Kindle 3 GPS capabilities? jphphotography Kindle Developer's Corner 9 12-14-2010 09:30 AM


All times are GMT -4. The time now is 04:43 PM.


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