![]() |
#1 |
Junior Member
![]() Posts: 7
Karma: 10
Join Date: Jan 2012
Device: Kindle 4
|
How to recover my Kindle root password?
Due to my fault, I lost my Kindle root password.Now I can not login in my Kindle in diagnosis mode using USB Network and can not login through WIFI SSH.Is there a way to recover it?I try to boot into recovery mode but no luck.
![]() Thanks in advance! |
![]() |
![]() |
![]() |
#2 |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 6,900
Karma: 27013865
Join Date: Apr 2009
Location: USA
Device: iPhone 15PM, Kindle Scribe, iPad mini 6, PocketBook InkPad Color 3
|
Call Amazon CS. Recovery will probably require resetting the device, and re-loading your content.
|
![]() |
![]() |
Advert | |
|
![]() |
#3 |
Time Waster
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 422
Karma: 289160
Join Date: May 2011
Device: Kobo Glo and Aura HD
|
Did you change it from the default one?
|
![]() |
![]() |
![]() |
#4 |
Junior Member
![]() Posts: 7
Karma: 10
Join Date: Jan 2012
Device: Kindle 4
|
No.First, I changed root password from the default one that is mario.In this case I can login in USB Net mode using new root password, but I can not login in SSH using the same password.Then I stupidly upgrade the firmware to 4.0.1.Now I can not login in USB Net mode and of course in SSH
![]() BTW, Both the password generate by the Python script and the password Changed by myself dont work. Last edited by recoco; 01-08-2012 at 08:05 AM. |
![]() |
![]() |
![]() |
#5 |
Enthusiast
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 26
Karma: 300000
Join Date: Dec 2011
Device: kindle 4
|
You could try the NFS hack mentioned here to run a script which would change the password (or install an ssh public key to allow password less logins): https://www.mobileread.com/forums/sho...&postcount=216
This is a bit complex to execute but it doesn't require working ssh access. Edit: I've found an easier solution which doesn't require ssh access: https://www.mobileread.com/forums/sho...40#post1915440 Last edited by dionoea; 01-08-2012 at 12:46 PM. |
![]() |
![]() |
Advert | |
|
![]() |
#6 |
Carpe diem, c'est la vie.
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 6,433
Karma: 10773668
Join Date: Nov 2011
Location: Multiverse 6627A
Device: K1 to PW3
|
There is a simpler way. Just login as user framework and password mario. Then change your root password.
I just cracked it (again) with john to verify it. Then I successfully tested it using SSH over wifi to my K4NT: ssh framework@<K4NT.wifi.ip.addr> Use password mario. If SSH was not working I would use the tar exploit, but in this case SSH does work so I would recommend the simpler way shown above. UPDATE: login user = framework, password = mario confirmed working on the following Kindle models: DX - Kindle DX DXG - Kindle DX Graphite K3 - Kindle 3 K4NT - Kindle 4 (Non Touch) KT - Kindle Touch Somebody please test this login password on these models and report back here: K1 - Kindle 1 K2 - Kindle 2 It looks like we have a universal login. ![]() Last edited by geekmaster; 01-08-2012 at 03:46 PM. |
![]() |
![]() |
![]() |
#7 |
Junior Member
![]() Posts: 7
Karma: 10
Join Date: Jan 2012
Device: Kindle 4
|
@geekmaster, great!
![]() I'll try it.My kindle firmware is 4.0.1. update: Wow!It works on K4(NT) 4.0.1. Last edited by recoco; 01-08-2012 at 08:52 PM. |
![]() |
![]() |
![]() |
#8 | |
Carpe diem, c'est la vie.
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 6,433
Karma: 10773668
Join Date: Nov 2011
Location: Multiverse 6627A
Device: K1 to PW3
|
Quote:
A better way in your case is to put ENABLE_DIAGS on the USB Drive and reboot, then in diags, follow the instructions for installing developer mode, but instead of adding files to /usr/local, you want to fix your root password in /etc/shadow. Last edited by geekmaster; 01-08-2012 at 11:21 PM. |
|
![]() |
![]() |
![]() |
#9 | |
Carpe diem, c'est la vie.
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 6,433
Karma: 10773668
Join Date: Nov 2011
Location: Multiverse 6627A
Device: K1 to PW3
|
After some questions appeared in the irc channel about this, I did a test on my touch.
While logged in as user framework: ssh framework@192.168.15.244 I was able to see the contents of /etc/shadow: cat /etc/shadow Only the root and framework accounts had a string of "random" password characters in them. The easy way to copy this file out so it can be cracked with john is through the clipboard. Copy what you see on the screen after the "cat" command. Then paste it in a file on the host PC, save it, and crack it with "John the Ripper". The whole reason for this thread was the the original poster changed the root password and forgot what it was. So, here are two solutions: On k4nt only, boot from diags and start ssh, login as root, and fix or copy and crack /etc/shadow. On any kindle, login as user framework with password mario, cat and copy /etc/shadow to the clipboard, then on the host PC paste the clipboard to a file, save it, and crack it. Then you will know your forgotten root password. Or it would be simple to edit shadow and copy the hashed password from diags root to main root. Whatever you want, you know? You have the power! ![]() Quote:
Code:
01:15 < dionoea> and permissions were more what I was worried about. /etc/shadow is usually only readable by the shadow group and writable by the root user 01:17 < geekmstr> dionoea : framework has read-only access. That would let you copy shadow and use john to crack it. 01:17 < geekmstr> on any kindle. 01:18 < dionoea> and the framework user has sufficient rights to read /etc/shadow? ssh framework@192.168.15.244 I was able to see the contents of /etc/shadow: cat /etc/shadow Only the root and framework accounts had a string of "random" password characters in them. The easy way to copy this file out so it can be cracked with john is through the clipboard. Copy what you see on the screen after the "cat" command. Then paste it in a file on the host PC, save it, and crack it with "John the Ripper". The whole reason for this thread was the the original poster changed the root password and forgot what it was. So, two solutions: On k4nt only, boot from diags and start ssh, login as root, and fix or copy and crack /etc/shadow. On any kindle, login as user framework with password mario, cat and copy /etc/shadow to the clipboard, then on the host PC paste the clipboard to a file, save it, and crack it. Then you will know your forgotten root password. Or it would be simple to edit shadow and copy the hashed password from diags root to main root. Whatever you want, you know? You have the power! ![]() P.S. I posted similar content in another thread, because it "needed it", you know? ![]() Last edited by geekmaster; 01-09-2012 at 03:36 AM. |
|
![]() |
![]() |
![]() |
#10 |
Member
![]() Posts: 12
Karma: 10
Join Date: Jan 2012
Device: kindle 5
|
Hi, I think I have a similar problem. I set up my password using ;un password "PASSWORD_HERE" and after that i lost all my permissions to cut or paste files to my kindle.
I'm using ubuntu and this happened while I was trying to complete the screensaver hack, more precisely when I tried to unrar the xterm extension. Permission denied. Any help? thanks! |
![]() |
![]() |
![]() |
#11 | |
Carpe diem, c'est la vie.
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 6,433
Karma: 10773668
Join Date: Nov 2011
Location: Multiverse 6627A
Device: K1 to PW3
|
Quote:
|
|
![]() |
![]() |
![]() |
#12 |
Enthusiast
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 47
Karma: 12694
Join Date: May 2012
Device: Kindle Keyboard Wifi
|
Setup ssh to login with private key then typein passwd root and set a password thats how i setup my kindle keyboard root account
|
![]() |
![]() |
![]() |
#13 | |||||
Enthusiast
![]() Posts: 26
Karma: 10
Join Date: Apr 2014
Device: kindle 4
|
Hi,
After trying many different methods Nothing else only "telnet" works for me to gain root access to Kindle NT4: Quote:
Quote:
Then opening another terminal Quote:
![]() then make rootfs read only: mntroot r then reboot. After reboot enable wifi and ssh thru wifi with Quote:
There is an easy way of retrieving the WiFi IP address: Quote:
Last edited by rgm; 07-30-2019 at 08:30 AM. |
|||||
![]() |
![]() |
![]() |
#14 |
Junior Member
![]() Posts: 1
Karma: 10
Join Date: Sep 2019
Device: kindle 3 keyboard
|
just registered to share another solution. I wasn't able to connect via telnet (only ssh) and my /etc/shadow had no proper info about root password. I copypasted its content into some hash-decoder and I got only «framework» user data.
however! it's even easier to solve this way: when you create new ssh keys you can save public/private keys on your disk, so just use the private one to unlock your root access. you can attach it in putty's auth options. no hacks needed. hope it will help someone. |
![]() |
![]() |
![]() |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
fiona root password wordlist | geekmaster | Kindle Developer's Corner | 7 | 12-11-2011 10:42 AM |
password req to root the edge | littleal | enTourage eDGe | 3 | 06-27-2011 01:34 AM |
Calibre on linux: root password for unmounting? | mhomann | Devices | 14 | 02-05-2011 11:26 AM |
iLiad dropbear ssh: how to change root password? | daudi | iRex Developer's Corner | 2 | 01-10-2008 04:49 PM |
iLiad Thoughts on 2.5 and root password | TadW | iRex Developer's Corner | 16 | 07-26-2006 03:37 AM |