Register Guidelines E-Books Search Today's Posts Mark Forums Read

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

Notices

Reply
 
Thread Tools Search this Thread
Old 06-13-2012, 12:53 PM   #16
twilightsenpai
Member
twilightsenpai got an A in P-Chem.twilightsenpai got an A in P-Chem.twilightsenpai got an A in P-Chem.twilightsenpai got an A in P-Chem.twilightsenpai got an A in P-Chem.twilightsenpai got an A in P-Chem.twilightsenpai got an A in P-Chem.twilightsenpai got an A in P-Chem.twilightsenpai got an A in P-Chem.twilightsenpai got an A in P-Chem.twilightsenpai got an A in P-Chem.
 
twilightsenpai's Avatar
 
Posts: 18
Karma: 6496
Join Date: Jun 2012
Device: kindle 4
Well, im at work now. I ve got a netbook with ubuntu, but in my house. Ill try later!

Thanks!
twilightsenpai is offline   Reply With Quote
Old 06-13-2012, 02:26 PM   #17
geekmaster
Всё гениальное просто.
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: 5,067
Karma: 6789001
Join Date: Nov 2011
Location: Щедрость не имеет пределов.
Device: *.*
Quote:
Originally Posted by twilightsenpai View Post
Well, im at work now. I ve got a netbook with ubuntu, but in my house. Ill try later!

Thanks!
The host PC does not need to be linux. You just need to know how to use linux commands inside the kindle. You can use PuTTY on windows to get into the kindle on SSH.
geekmaster is offline   Reply With Quote
Old 06-14-2012, 07:43 AM   #18
poomex
Junior Member
poomex began at the beginning.
 
Posts: 7
Karma: 10
Join Date: Apr 2012
Device: Kindle 4 NT
Quote:
Originally Posted by Gondolkodo View Post
I used what I have got here: http://members.ping.de/~sven/kindle.html
I had luck, the 4.0.1 was good. Give it a try

Why should it be chinese?
My Kindle 4.0.1 password is 'mario'.
Do you know if there is some pattern how root password will change after update to 4.1.0 or maybe there is a way to have password the same after update?
poomex is offline   Reply With Quote
Old 06-14-2012, 09:13 AM   #19
geekmaster
Всё гениальное просто.
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: 5,067
Karma: 6789001
Join Date: Nov 2011
Location: Щедрость не имеет пределов.
Device: *.*
Quote:
Originally Posted by poomex View Post
My Kindle 4.0.1 password is 'mario'.
Do you know if there is some pattern how root password will change after update to 4.1.0 or maybe there is a way to have password the same after update?
You can edit the shadow file and copy in the mario hash. That is what I did for the diags partitions when I added SSH, so it can be copied without having a root pw that depends on a serial number. Diags is normally NOT mario...

You could change it with a passwd command, but then it would no longer be an 8-character DES hash.

Updates are not known to change passwords (yet). It is possible that an image somebody created has THEIR password in it.
geekmaster is offline   Reply With Quote
Old 06-14-2012, 10:07 AM   #20
poomex
Junior Member
poomex began at the beginning.
 
Posts: 7
Karma: 10
Join Date: Apr 2012
Device: Kindle 4 NT
Quote:
Originally Posted by geekmaster View Post
You can edit the shadow file and copy in the mario hash. That is what I did for the diags partitions when I added SSH, so it can be copied without having a root pw that depends on a serial number. Diags is normally NOT mario...
Could you explain a bit more how would you edit shadow file if root password has been changed?

The reason for my question is that after I revert 'screensaver directory symlink hack' which is currently on my kindle and then update to 4.1.0 I won't be able to access system partition (with USBnet) if update for some reason will change the root password.
poomex is offline   Reply With Quote
Old 06-14-2012, 10:18 AM   #21
knc1
Embedded Cheerleader
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: 6,441
Karma: 5840130
Join Date: Feb 2012
Device: Too many.
Quote:
Originally Posted by poomex View Post
Could you explain a bit more how would you edit shadow file if root password has been changed?

The reason for my question is that after I revert 'screensaver directory symlink hack' which is currently on my kindle and then update to 4.1.0 I won't be able to access system partition (with USBnet) if update for some reason will change the root password.
There is more than one "system partition". Amazon only updates one of them.
If that is not enough reassurance...
You can find links here to v4.1.0 system images and directions on how to install them.

Last edited by knc1; 06-14-2012 at 10:25 AM.
knc1 is offline   Reply With Quote
Old 06-14-2012, 10:25 AM   #22
geekmaster
Всё гениальное просто.
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: 5,067
Karma: 6789001
Join Date: Nov 2011
Location: Щедрость не имеет пределов.
Device: *.*
Quote:
Originally Posted by knc1 View Post
There is more than one "system partition". Amazon only updates one of them.
Not any more. There are reports that the latest firmware OTA updates affect diags too.
geekmaster is offline   Reply With Quote
Old 06-14-2012, 10:27 AM   #23
geekmaster
Всё гениальное просто.
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: 5,067
Karma: 6789001
Join Date: Nov 2011
Location: Щедрость не имеет пределов.
Device: *.*
Quote:
Originally Posted by poomex View Post
Could you explain a bit more how would you edit shadow file if root password has been changed?

The reason for my question is that after I revert 'screensaver directory symlink hack' which is currently on my kindle and then update to 4.1.0 I won't be able to access system partition (with USBnet) if update for some reason will change the root password.
You copy the "root" line from a shadow that had pw mario (even from a different kindle model) and replace that line in the /etc/shadow file. You need to be careful to not insert carriage-returns into.

I have not seen any evidence that updates change passwords.
geekmaster is offline   Reply With Quote
Old 06-14-2012, 10:30 AM   #24
knc1
Embedded Cheerleader
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: 6,441
Karma: 5840130
Join Date: Feb 2012
Device: Too many.
Quote:
Originally Posted by geekmaster View Post
Not any more. There are reports that the latest firmware OTA updates affect diags too.
Hmm...
That means someone with time on their hands needs to take apart the Amazon *.bin and examine it to confirm/deny those reports.

"Someone with time on their hands" == Not me, not you.
knc1 is offline   Reply With Quote
Old 06-14-2012, 10:35 AM   #25
geekmaster
Всё гениальное просто.
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: 5,067
Karma: 6789001
Join Date: Nov 2011
Location: Щедрость не имеет пределов.
Device: *.*
Quote:
Originally Posted by knc1 View Post
Hmm...
That means someone with time on their hands needs to take apart the Amazon *.bin and examine it to confirm/deny those reports.

"Someone with time on their hands" == Not me, not you.
Or it could be a difference in SHIPPED kindle diags partitions. It is getting more confusing than "usual", perhaps a form of "version obfuscation". ???
geekmaster is offline   Reply With Quote
Old 06-14-2012, 10:49 AM   #26
knc1
Embedded Cheerleader
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: 6,441
Karma: 5840130
Join Date: Feb 2012
Device: Too many.
Quote:
Originally Posted by geekmaster View Post
Or it could be a difference in SHIPPED kindle diags partitions. It is getting more confusing than "usual", perhaps a form of "version obfuscation". ???
That md5sum system manifest is checked in "Diags" on v5.1.0 but this is v4.1.0 - I haven't looked at that one.

KeK will have development image profiles for v3.2.1 (which I have), v5.1.0 (which a friend has) as "worked examples".

Also included, filters/profiles for Debian-7, Ubuntu-Core-12.04(5) both sf and hf.

Plus directions on how to make your own filter/profile pairs (simple but tedious).

The only pair posted (as of this moment) is the Debian-7 pair.
No directions posted (yet), someone who grabs what is posted now will just have figure it out from the script command files.

The Ubuntu-Core pairs should be up late(r) today.
The Amazon/lab126 support pairs - just any day, RSN
The PDF directions following that.
The pair for v4.1.0 - not by me, will have to be community provided.

PS: DIY-KeK also does NSLU-2, Beagleboard, Pandaboard, Raspberry Pi ...
knc1 is offline   Reply With Quote
Old 06-14-2012, 11:26 AM   #27
poomex
Junior Member
poomex began at the beginning.
 
Posts: 7
Karma: 10
Join Date: Apr 2012
Device: Kindle 4 NT
Quote:
Originally Posted by geekmaster View Post
You copy the "root" line from a shadow that had pw mario (even from a different kindle model) and replace that line in the /etc/shadow file. You need to be careful to not insert carriage-returns into.
I did not make myself clear - my question was how to access /etc/shadow when you can't login with ssh to kindle as root (while using USBnet)?
poomex is offline   Reply With Quote
Old 06-14-2012, 11:50 AM   #28
knc1
Embedded Cheerleader
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: 6,441
Karma: 5840130
Join Date: Feb 2012
Device: Too many.
Quote:
Originally Posted by poomex View Post
I did not make myself clear - my question was how to access /etc/shadow when you can't login with ssh to kindle as root (while using USBnet)?
Store the .pub part of a ssh key pair in the "authorized_keys" file to enable key-authenticated login. sshd does not refer to the system user/password files that way.
knc1 is offline   Reply With Quote
Old 06-14-2012, 12:21 PM   #29
NiLuJe
BLAM!
NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.
 
NiLuJe's Avatar
 
Posts: 4,878
Karma: 4492229
Join Date: Jun 2010
Location: Paris, France
Device: Kindle 2i, 3g, 4, 5w, PW & PW2
@gm/knc1: FWIW, I *never* saw an OTA update touch the diags part, at least for those available from the Kindle Support page. Can't speak for 'pure' OTA updates, though .
NiLuJe is offline   Reply With Quote
Old 06-14-2012, 01:09 PM   #30
geekmaster
Всё гениальное просто.
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: 5,067
Karma: 6789001
Join Date: Nov 2011
Location: Щедрость не имеет пределов.
Device: *.*
Quote:
Originally Posted by poomex View Post
I did not make myself clear - my question was how to access /etc/shadow when you can't login with ssh to kindle as root (while using USBnet)?
You can do "cat /etc/shadow" while logged into framework:mario. Then you can crack the password with John the Ripper and the fiona wordlist. Or you can access the shadow file from diags SSH. Or you can use a RUNME.sh script with data.tar.gz.
geekmaster is offline   Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Removing Ads with the GUI Launcher vaniaspeedy Kindle Developer's Corner 54 01-23-2013 08:47 PM
Spanish location in firm 3.2.1? kindlecs Kindle Developer's Corner 1 07-12-2011 06:52 PM
New Firm Tirwal 2.7 TripleBoot - xPDF - FBReader Tirwal HanLin eBook 44 03-26-2010 07:08 PM
Taiwan Firm Positioned for E-Reader Takeoff DonaldL. News 3 11-12-2009 12:37 AM


All times are GMT -4. The time now is 03:55 AM.


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