09-08-2013, 08:09 AM | #556 |
(offline)
Posts: 2,907
Karma: 6736092
Join Date: Dec 2011
Device: K3, K4, K5, KPW, KPW2
|
Because I cannot distinguish whether the flashing procedure completed successfully or unsuccessfully.
|
09-08-2013, 04:31 PM | #557 |
Junior Member
Posts: 8
Karma: 10
Join Date: Sep 2013
Location: Spain
Device: K4 NT
|
Many thanks ixtab and the other developers !!
I had a bricked Kindle 4 NT black v4.1.1. Run kubrick live CD. In the screen when flashing the firmware it told me FAILED in red word. Nevertheless in next screen I wiped all my data and format the partition (not jailbreak yet), next step instructions in diagnostics mode, and .... voilà .... the Kindle is working again !! I am very grateful to you :-) (sorry my poor english) |
Advert | |
|
09-14-2013, 11:36 PM | #558 | |
Addict
Posts: 271
Karma: 644344
Join Date: Oct 2012
Location: Pittsburgh, PA, USA
Device: KPW, KFire HD, KFire, KTD 3g, KT, K4B, K4S, K3g, K3g SO, K2, K1
|
RE-demo a DE-demoed K4
Quote:
You've heard the saying that a little bit of knowledge is a dangerous thing, right? Well, that's me, with a little bit of knowledge. Without meaning to, I de-demoed my K4 demo. I mean, I MEANT to, but I'd hoped to learn what I was doing from the experience. Kubrick made the whole process a simple operation with almost no thought involved. So instead of having a K4 demo, I now have a fully functional, registered K4. For most people that would be a good thing, but... I don't know a whole lot more than I did before. Can anyone help me RE-demo this device? I'd also like to save the demo software/OS/partition from my K-Touch before I start messing with it, too. Thanks for reading, and thanks for any help. |
|
09-15-2013, 07:56 AM | #559 |
Going Viral
Posts: 17,212
Karma: 18210809
Join Date: Feb 2012
Location: Central Texas
Device: No K1, PW2, KV, KOA
|
Perhaps some individual kept a copy of the K4 demo firmware, but as a site, it has never been among the "recovery images" made available.
Your best bet for learning about what is being done is to look up the original "de-bricking" threads. In those, people had to do all the commands "by hand" without any automation to help. The Kubrick "Wizard" just (no offense intended ixtab) automates the process. Making it much easier on the end-user but less informative. The Kubrick LiveCD has most of those 'old' utilities already built and installed (has to, since the 'Wizard' uses them). ixtab has include an escape from the 'Wizard' to the command line shell in Kubrick. (Check his documentation - I don't recall what it is.) |
09-15-2013, 11:50 AM | #560 | |
(offline)
Posts: 2,907
Karma: 6736092
Join Date: Dec 2011
Device: K3, K4, K5, KPW, KPW2
|
Quote:
But yeah, knc1 is absolutely right. To the best of my knowledge, nobody has yet kept a copy of the demo firmwares. One could extract it from a demo Kindle by starting Kubrick up to the point where usbnetwork is enabled, then switching to a full console, ssh'ing to the kindle and manually making backups of the main kernel and partitions 1,3, and 4. And one could restore these manually afterwards. |
|
Advert | |
|
09-18-2013, 03:41 PM | #561 | |
Addict
Posts: 271
Karma: 644344
Join Date: Oct 2012
Location: Pittsburgh, PA, USA
Device: KPW, KFire HD, KFire, KTD 3g, KT, K4B, K4S, K3g, K3g SO, K2, K1
|
I knew that! ... well, I remember reading it someplace.
Quote:
Actually, I got PMs from two users, one with a link to a file backup of p4, and one with a backup of p1 and a file backup of p4. It wasn't until just now that I realized that there was no backup of the kernel. Even if a demo kernel isn't different from a main kernel, there's still the possibility that the kernel and the partition ... wouldn't match... but if it's only a file backup instead of a partition backup... Sorry. One more brick wall of ignorance to run into. Even if that were not a problem, isn't it possible that the demo needs information that's stored in p3? On my still demoed KT I let the Kubrick wizard run up to the point where the usbnetwork was enabled, and tried to login as root, but it didn't like the password mario. Is the wizard setup to calculate the password like the web password calculator does? I haven't had the chance to try fiona??? to see if that's the actual password or not. We'll find out after work today. I hope you realize that I'm asking all these questions just to give you geniuses something new to think about, instead of the normal stuff. |
|
09-18-2013, 04:10 PM | #562 | |
(offline)
Posts: 2,907
Karma: 6736092
Join Date: Dec 2011
Device: K3, K4, K5, KPW, KPW2
|
Quote:
|
|
09-18-2013, 07:07 PM | #563 | |
Addict
Posts: 271
Karma: 644344
Join Date: Oct 2012
Location: Pittsburgh, PA, USA
Device: KPW, KFire HD, KFire, KTD 3g, KT, K4B, K4S, K3g, K3g SO, K2, K1
|
Quote:
Even the example didn't help. I'm totally at a loss here. I'm pretty sure that my first mistake was trying to run it from inside ssh... which is on the device, right? Then, after exiting ssh, I looked for a resources directory on the Kubrick system. I don't know if that was a mistake or not, but I didn't find one. Back into ssh and surprise, framework isn't allowed access to /etc/shadow. The instructions in the wiki at step 7 seem pretty clear, but... not to me. (shrugs) (do you think we should break this out into another thread, instead of confusing issues in this one?) Last edited by SampleAndy; 09-18-2013 at 07:42 PM. Reason: added last paragraph |
|
09-18-2013, 07:55 PM | #564 | |
Going Viral
Posts: 17,212
Karma: 18210809
Join Date: Feb 2012
Location: Central Texas
Device: No K1, PW2, KV, KOA
|
Quote:
Code:
ls -l /etc/shadow With the probable result of something like: Code:
-rw-r----- 1 root shadow 1329 2013-04-12 14:34 /etc/shadow In the above case, that file's owner is 'root', the owner is allowed to read or write to it. That file allows access by the members of the group 'shadow' although the access is limited to read (no write or execute). Users not a member of the shadow group (who are not 'root' - 'root' can do anything) are prohibited any access to the file. Which (if this where a Kindle file, not my desktop) would mean the user named 'framework' (a member of 'others' in this case). - - - - - If anyone finds the above confusing - - Then just be glad the Kindles aren't running SeLinux. |
|
09-18-2013, 07:56 PM | #565 |
(offline)
Posts: 2,907
Karma: 6736092
Join Date: Dec 2011
Device: K3, K4, K5, KPW, KPW2
|
Jump start:
To make backups of the partitions, you can follow the instructions here. You should be running the "host-side" commands in a directory that will write to permanent storage, so either boot Kubrick from a USB stick and save stuff to /media/usbstick or a subdirectory, or plug in and mount an additional hard disk/USB stick, and store it there. You'll need an additional console for that, so use Alt+F3 on the computer. To extract the kernel, you can use getkernels.sh. Store that file on your "permanent storage" before starting the whole Kubrick procedure. To be on the safe side, only use it after making a the backup of mmcblk0p4. That is, scp it to root@192.168.15.244:/mnt/us/, then execute it on the Kindle, and of course, don't forget to also copy the output back from the Kindle to your permanent storage. |
09-18-2013, 08:27 PM | #566 | |
Addict
Posts: 271
Karma: 644344
Join Date: Oct 2012
Location: Pittsburgh, PA, USA
Device: KPW, KFire HD, KFire, KTD 3g, KT, K4B, K4S, K3g, K3g SO, K2, K1
|
after about 20 typos from spinning around from my normal computer back to the one running Kubrick, I'm in.
Quote:
dd if=/dev/mmcblk0p1 of=/mnt/base-us/KTD/mmcblk0p1.bin where KTD was a directory that I'd created before. According to the instructions, the root partition should be around 350M, p3 is around 32M and I've already flashed p2, so it doesn't matter. 382M should be next to nothing to the user partition, right? If that works, I'll worry about the kernels tomorrow. I've got WAAAYY too many other things I have to do. |
|
09-18-2013, 08:42 PM | #567 | |
Addict
Posts: 271
Karma: 644344
Join Date: Oct 2012
Location: Pittsburgh, PA, USA
Device: KPW, KFire HD, KFire, KTD 3g, KT, K4B, K4S, K3g, K3g SO, K2, K1
|
Quote:
Thanks for being patient with me so far. I really appreciate it. |
|
09-18-2013, 09:09 PM | #568 |
(offline)
Posts: 2,907
Karma: 6736092
Join Date: Dec 2011
Device: K3, K4, K5, KPW, KPW2
|
Well - I simply don't know if the user partition is important or not on demo Kindles. I also doubt it, but you never know. Making a backup of the full disk image is simply the most conservative (literally!) option, because it's a bit-identical copy.
BTW, once you have everything together, please send me a PM so I can grab a copy of the files. I'd be interested in taking a look at them, if only to see how they differ from the production ones. |
09-18-2013, 09:38 PM | #569 | |
Addict
Posts: 271
Karma: 644344
Join Date: Oct 2012
Location: Pittsburgh, PA, USA
Device: KPW, KFire HD, KFire, KTD 3g, KT, K4B, K4S, K3g, K3g SO, K2, K1
|
Quote:
OK. Just popped the USB drive in and it was right there in /media/usbdisk... I think. We'll see what happens. (is there a BB code for strikeout?) Get you copies? After all your help, it would be the least I could do. Last edited by SampleAndy; 09-18-2013 at 09:49 PM. Reason: canceled text after experimenting. |
|
09-19-2013, 01:41 AM | #570 |
Linux devotee
Posts: 598
Karma: 2069047
Join Date: Feb 2011
Device: Kindle 3, Kindle 4B, Kindle PW2
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Use regular DX(i) to debrick a DXG | craziskata | Kindle Developer's Corner | 10 | 07-16-2013 08:10 AM |
How to debrick a demo DXG? | xcomme | Kindle Developer's Corner | 0 | 02-14-2013 03:06 PM |
Trying to debrick, but connection keeps dropping | Zolyx | Kindle Developer's Corner | 6 | 12-10-2012 07:04 AM |
Help to Unbrick KT with simple debrick Method. | Loko_bielsa | Kindle Developer's Corner | 2 | 07-16-2012 07:26 AM |
A easy and offical way to debrick k3. | xueyou2 | Kindle Developer's Corner | 3 | 05-01-2012 08:42 AM |