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

View Poll Results: Would you rather have a GUI debricking interface? or a TUI interface?
TUI 5 33.33%
GUI 10 66.67%
Voters: 15. You may not vote on this poll

Reply
 
Thread Tools Search this Thread
Old 11-29-2012, 02:34 PM   #16
qlob
Official Lurker
qlob ought to be getting tired of karma fortunes by now.qlob ought to be getting tired of karma fortunes by now.qlob ought to be getting tired of karma fortunes by now.qlob ought to be getting tired of karma fortunes by now.qlob ought to be getting tired of karma fortunes by now.qlob ought to be getting tired of karma fortunes by now.qlob ought to be getting tired of karma fortunes by now.qlob ought to be getting tired of karma fortunes by now.qlob ought to be getting tired of karma fortunes by now.qlob ought to be getting tired of karma fortunes by now.qlob ought to be getting tired of karma fortunes by now.
 
qlob's Avatar
 
Posts: 1,048
Karma: 7096675
Join Date: Apr 2012
Device: Kindle 3.4
Updated 2nd post with config details, version 0.0.0 of kindlefix is building right now...... Anyone want to make a logo?
qlob is offline   Reply With Quote
Old 11-29-2012, 08:03 PM   #17
ixtab
(offline)
ixtab ought to be getting tired of karma fortunes by now.ixtab ought to be getting tired of karma fortunes by now.ixtab ought to be getting tired of karma fortunes by now.ixtab ought to be getting tired of karma fortunes by now.ixtab ought to be getting tired of karma fortunes by now.ixtab ought to be getting tired of karma fortunes by now.ixtab ought to be getting tired of karma fortunes by now.ixtab ought to be getting tired of karma fortunes by now.ixtab ought to be getting tired of karma fortunes by now.ixtab ought to be getting tired of karma fortunes by now.ixtab ought to be getting tired of karma fortunes by now.
 
ixtab's Avatar
 
Posts: 2,903
Karma: 6677557
Join Date: Dec 2011
Device: K3, K4, K5, KPW, KPW2
@qlob: Great idea, great proposal! And the greatest of all is that you're actually going forward and creating something - so, you've got all the Karma that I can give.

I had thought about something similar before, but dropped the idea because many things (=information about debricking) were still changing a lot at the time. But I do think that we're currently at a point where it seriously makes sense.

At this time, we do have "fool-proof" procedures for getting at least the original K4 (silver) and K5 (Touch) back to life (I'm not entirely sure about the K3, or the K4 black; and the Paperwhite is in another universe). And we have working tools (imx_usb, fastboot) to actually apply these procedures.

So I say: YES, let's do this! I'm very willing to participate in this project.

A few observations / notes from my side:
  • I don't really care which Linux distribution this would be based on. As long as it works, it's probably fine with me . But see the following remarks.
  • It should fit on a 700 MB CD. And it should also be installable on (and bootable from) a USB drive.
  • It should support older computers. That probably simply means creating a 32-bit distribution
  • Ideally, it would also (somehow) run on Macs. I'm currently writing from a Linux on an x64 Macbook Pro, so this is in principle possible. But I remember that getting it to install was a real PITA at the time... Newer Ubuntu CDs seem to support EFI/UEFI boots, so ideally the "debrick" distro would also boot on x64 Macs.
  • I would personally stick to a really simple user interface. In fact, I wouldn't even use a GUI at all, but simply use a "text-mode installer", similar to what Ubuntu has for their alternative/expert installations. (i.e., a simple dialog-driven, (n)curses-based UI). In my opinion, there are many benefits to that sort of UI:
    1. It's not multitasked. Yes, I think that this is an advantage for this purpose, because the user should be following a strict "you are here - what do you want to do now" scheme, instead of being able to write mails at the same time.
    2. It's universal. We don't have to care about supporting graphic card X with resolution Y, or mouse Z. Every computer can display an 80x25 screen.
    3. From a developer's point of view: it's at the same "system" level as the underlying tools. All the tools that work "under the hood" are command-line executables, and there is no reason to hide that away. Simply invoking an executable, and displaying its results, is as easy as it can get (and is also the best way of displaying errors, if something went wrong).
    4. In the same vein, if the smallest common denominator is "execute something", individual modules can be written in whatever language is most suitable or preferred. A "task" could be implemented as a bash script, or in python, perl, etc.
  • We'll either need some sort of "online update mechanism", or someone who takes care of periodically updating the contained binaries. (also counting on Amazon's current consumer-friendly behavior, i.e. accepting that we distribute images for debricking, as they did so far)
ixtab is offline   Reply With Quote
Old 11-29-2012, 08:23 PM   #18
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,070
Karma: 6789001
Join Date: Nov 2011
Location: Щедрость не имеет пределов.
Device: *.*
A command line linux would even fit on a bootable floppy disk (but my last 3 generations of computers did not even have one -- just that it COULD). Like "Tom's Root Boot" for example:
http://www.toms.net/rb/

One problem I can see with a minimal distro is supporting all the different USB interfaces, and onboard USB hubs. Sometimes trying to initialize them can lock the computer if not done in the correct order...

Going with something a bit bigger (like Puppy Linux) may be more likely to work out of the box on more hardware.

EDIT: And then there are pesky problems with USB boot device resetting and losing the boot drive, or SATA CD/DVD support issues, etc. Oh, and max karma from me too.

Last edited by geekmaster; 11-29-2012 at 08:26 PM.
geekmaster is offline   Reply With Quote
Old 11-29-2012, 09:47 PM   #19
qlob
Official Lurker
qlob ought to be getting tired of karma fortunes by now.qlob ought to be getting tired of karma fortunes by now.qlob ought to be getting tired of karma fortunes by now.qlob ought to be getting tired of karma fortunes by now.qlob ought to be getting tired of karma fortunes by now.qlob ought to be getting tired of karma fortunes by now.qlob ought to be getting tired of karma fortunes by now.qlob ought to be getting tired of karma fortunes by now.qlob ought to be getting tired of karma fortunes by now.qlob ought to be getting tired of karma fortunes by now.qlob ought to be getting tired of karma fortunes by now.
 
qlob's Avatar
 
Posts: 1,048
Karma: 7096675
Join Date: Apr 2012
Device: Kindle 3.4
@ixtab: I'm not really sure about the text interface, seems like it would be too much of a shock for noobs, although I do agree that it should fit on a CD.

suse studio reports that the image is 1.6GB uncompressed, so I may need to trim the fat. susestudio can automagically build USB, DVD, CD (if size allows) isos and even VM images if needed.

It was 32bit from the beginning. I'm not sure about Mac, I don't really have one I could test it on...

As for the update mechanism,I believe that Opensuse uses yum, so a repo could be maintained... Since there's extra space on my "debricking links" OpenShift cartridge, I could put it there...

Maybe susestudio isn't the way to go If we want more control over the contents of the image and removing the chaff...

@{ixtab, geekmaster} Thanks for the Karma!
qlob is offline   Reply With Quote
Old 11-29-2012, 11:40 PM   #20
ixtab
(offline)
ixtab ought to be getting tired of karma fortunes by now.ixtab ought to be getting tired of karma fortunes by now.ixtab ought to be getting tired of karma fortunes by now.ixtab ought to be getting tired of karma fortunes by now.ixtab ought to be getting tired of karma fortunes by now.ixtab ought to be getting tired of karma fortunes by now.ixtab ought to be getting tired of karma fortunes by now.ixtab ought to be getting tired of karma fortunes by now.ixtab ought to be getting tired of karma fortunes by now.ixtab ought to be getting tired of karma fortunes by now.ixtab ought to be getting tired of karma fortunes by now.
 
ixtab's Avatar
 
Posts: 2,903
Karma: 6677557
Join Date: Dec 2011
Device: K3, K4, K5, KPW, KPW2
Quote:
Originally Posted by qlob View Post
@ixtab: I'm not really sure about the text interface, seems like it would be too much of a shock for noobs, although I do agree that it should fit on a CD.
It's not like I'm trying to convince you at all costs, but please take a look at the text-based Ubuntu installer. (If you're worried, start it in a VM, and if you're even more worried, start it in "rescue" mode so it won't write anything to any disk ).

I honestly can't think of many things which are more intuitive and straightforward than that. (Especially given our scenario, like "Select your Kindle Model" -> "Kindle Touch" -> "Install vanilla 5.0.0") etc.
ixtab is offline   Reply With Quote
Old 11-30-2012, 02:08 AM   #21
dsmid
Linux devotee
dsmid ought to be getting tired of karma fortunes by now.dsmid ought to be getting tired of karma fortunes by now.dsmid ought to be getting tired of karma fortunes by now.dsmid ought to be getting tired of karma fortunes by now.dsmid ought to be getting tired of karma fortunes by now.dsmid ought to be getting tired of karma fortunes by now.dsmid ought to be getting tired of karma fortunes by now.dsmid ought to be getting tired of karma fortunes by now.dsmid ought to be getting tired of karma fortunes by now.dsmid ought to be getting tired of karma fortunes by now.dsmid ought to be getting tired of karma fortunes by now.
 
dsmid's Avatar
 
Posts: 576
Karma: 2059117
Join Date: Feb 2011
Device: Kindle 3, Kindle 4B, Kindle PW2
Concerning GUI vs TUI:
I didn't mean full featured GUI application with an event loop.
I understand the importance of determined sequential behaviour.
What I had in mind was a BASH/Perl/Python script with user interaction implemented by commands like this:

Code:
kdialog  --title "Kindle debricking" --yesno "Do you really want to debrick your Kindle ?" 5 50
dialog  --title "Kindle debricking" --yesno "Do you really want to debrick your Kindle ?" 5 50
kdialog  --title "Kindle debricking" --radiolist "Select your Kindle flavour" "2" "Kindle 2" 2 "3" "Kindle 3" 3 "4" "Kindle NT" 4 "5" "Kindle Touch" 5
dialog  --title "Kindle debricking" --radiolist "Select your Kindle flavour" 12 50 7 "2" "Kindle 2" 2 "3" "Kindle 3" 3 "4" "Kindle NT" 4 "5" "Kindle Touch" 5
As you can see, it's even possible to make it dual GUI/TUI with some minor tweaks.
Attached Thumbnails
Click image for larger version

Name:	kdialog1.png
Views:	51
Size:	34.6 KB
ID:	97007   Click image for larger version

Name:	dialog1.png
Views:	51
Size:	7.8 KB
ID:	97008   Click image for larger version

Name:	kdialog2.png
Views:	53
Size:	31.7 KB
ID:	97009   Click image for larger version

Name:	dialog2.png
Views:	50
Size:	14.3 KB
ID:	97010  
dsmid is offline   Reply With Quote
Old 11-30-2012, 02:09 AM   #22
dsmid
Linux devotee
dsmid ought to be getting tired of karma fortunes by now.dsmid ought to be getting tired of karma fortunes by now.dsmid ought to be getting tired of karma fortunes by now.dsmid ought to be getting tired of karma fortunes by now.dsmid ought to be getting tired of karma fortunes by now.dsmid ought to be getting tired of karma fortunes by now.dsmid ought to be getting tired of karma fortunes by now.dsmid ought to be getting tired of karma fortunes by now.dsmid ought to be getting tired of karma fortunes by now.dsmid ought to be getting tired of karma fortunes by now.dsmid ought to be getting tired of karma fortunes by now.
 
dsmid's Avatar
 
Posts: 576
Karma: 2059117
Join Date: Feb 2011
Device: Kindle 3, Kindle 4B, Kindle PW2
Quote:
Originally Posted by qlob View Post
suse studio reports that the image is 1.6GB uncompressed, so I may need to trim the fat. susestudio can automagically build USB, DVD, CD (if size allows) isos and even VM images if needed.
I think there is lot of useless stuff in the image (applications) that could be left behind.

Quote:
Originally Posted by qlob View Post
As for the update mechanism,I believe that Opensuse uses yum, so a repo could be maintained... Since there's extra space on my "debricking links" OpenShift cartridge, I could put it there...
OpenSUSE doesn't use yum but zypper (superior IMHO), anyway the repository structure is the same.

Quote:
Originally Posted by qlob View Post
Maybe susestudio isn't the way to go If we want more control over the contents of the image and removing the chaff...
Quite the opposite - SUSE Studio together with OpenSUSE Build Service (OBS) is the ideal solution here.
OBS builds the packages for you and then puts them in an OBS repository. All is included. When creating the SUSE Studio image, you can add your OBS repo to it and all the packages it contains. Every time the image is built, it contains the latest versions of your packages.
dsmid is offline   Reply With Quote
Old 11-30-2012, 07:04 AM   #23
aditya3098
Vala
aditya3098 ought to be getting tired of karma fortunes by now.aditya3098 ought to be getting tired of karma fortunes by now.aditya3098 ought to be getting tired of karma fortunes by now.aditya3098 ought to be getting tired of karma fortunes by now.aditya3098 ought to be getting tired of karma fortunes by now.aditya3098 ought to be getting tired of karma fortunes by now.aditya3098 ought to be getting tired of karma fortunes by now.aditya3098 ought to be getting tired of karma fortunes by now.aditya3098 ought to be getting tired of karma fortunes by now.aditya3098 ought to be getting tired of karma fortunes by now.aditya3098 ought to be getting tired of karma fortunes by now.
 
aditya3098's Avatar
 
Posts: 592
Karma: 1578840
Join Date: Jan 2012
Location: Valinor
Device: Kindle touch (hacked to the core) 5.3.2.1
I only do apt
Can anyone help with setting this up? (ktdb.sudoforlunch.org)

I still say do debian live or remaster an ubuntu cd
aditya3098 is offline   Reply With Quote
Old 11-30-2012, 07:13 AM   #24
aditya3098
Vala
aditya3098 ought to be getting tired of karma fortunes by now.aditya3098 ought to be getting tired of karma fortunes by now.aditya3098 ought to be getting tired of karma fortunes by now.aditya3098 ought to be getting tired of karma fortunes by now.aditya3098 ought to be getting tired of karma fortunes by now.aditya3098 ought to be getting tired of karma fortunes by now.aditya3098 ought to be getting tired of karma fortunes by now.aditya3098 ought to be getting tired of karma fortunes by now.aditya3098 ought to be getting tired of karma fortunes by now.aditya3098 ought to be getting tired of karma fortunes by now.aditya3098 ought to be getting tired of karma fortunes by now.
 
aditya3098's Avatar
 
Posts: 592
Karma: 1578840
Join Date: Jan 2012
Location: Valinor
Device: Kindle touch (hacked to the core) 5.3.2.1
Working on gui
aditya3098 is offline   Reply With Quote
Old 11-30-2012, 07:25 AM   #25
aditya3098
Vala
aditya3098 ought to be getting tired of karma fortunes by now.aditya3098 ought to be getting tired of karma fortunes by now.aditya3098 ought to be getting tired of karma fortunes by now.aditya3098 ought to be getting tired of karma fortunes by now.aditya3098 ought to be getting tired of karma fortunes by now.aditya3098 ought to be getting tired of karma fortunes by now.aditya3098 ought to be getting tired of karma fortunes by now.aditya3098 ought to be getting tired of karma fortunes by now.aditya3098 ought to be getting tired of karma fortunes by now.aditya3098 ought to be getting tired of karma fortunes by now.aditya3098 ought to be getting tired of karma fortunes by now.
 
aditya3098's Avatar
 
Posts: 592
Karma: 1578840
Join Date: Jan 2012
Location: Valinor
Device: Kindle touch (hacked to the core) 5.3.2.1
Wait, I once made a light gui distro with suse ~340MB
aditya3098 is offline   Reply With Quote
Old 11-30-2012, 07:30 AM   #26
twobob
( ͡° ͜ʖ ͡°){ʇlnɐɟ ƃǝs}Týr
twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.
 
twobob's Avatar
 
Posts: 6,552
Karma: 6021142
Join Date: Jun 2012
Location: uti gratia usura (Yao ying da ying; Mo ying da yieng)
Device: PW-WIFI|K5-3G+WIFI| K4|K3-3G|DXG|K2| Rooted Nook Touch
Quote:
1 error prohibited this user from being saved
There were problems with the following fields:

Unverified email address is invalid


Thanks for signing in, we're almost ready to start...
Hmm... So err which is right? LOL. someone needs to do some better programming....
twobob is offline   Reply With Quote
Old 11-30-2012, 07:38 AM   #27
qlob
Official Lurker
qlob ought to be getting tired of karma fortunes by now.qlob ought to be getting tired of karma fortunes by now.qlob ought to be getting tired of karma fortunes by now.qlob ought to be getting tired of karma fortunes by now.qlob ought to be getting tired of karma fortunes by now.qlob ought to be getting tired of karma fortunes by now.qlob ought to be getting tired of karma fortunes by now.qlob ought to be getting tired of karma fortunes by now.qlob ought to be getting tired of karma fortunes by now.qlob ought to be getting tired of karma fortunes by now.qlob ought to be getting tired of karma fortunes by now.
 
qlob's Avatar
 
Posts: 1,048
Karma: 7096675
Join Date: Apr 2012
Device: Kindle 3.4
Quote:
Originally Posted by aditya3098 View Post
Wait, I once made a light gui distro with suse ~340MB
maybe we could fit all the debricking images on there, if we supercompressed them.... Would you mind sending me a link? If it's on susestudio, you could let me fork it...

That's another problem with susestudio.... It's hard for more than one developer to work on a build....

I have experience with Fedora, maybe revisor could work.... then I could at least have stuff uploaded to bitbucket or github so it's easier to collaborate...

I'm just thinking out loud here, so tell me if there's a better option or something...
qlob is offline   Reply With Quote
Old 11-30-2012, 07:40 AM   #28
qlob
Official Lurker
qlob ought to be getting tired of karma fortunes by now.qlob ought to be getting tired of karma fortunes by now.qlob ought to be getting tired of karma fortunes by now.qlob ought to be getting tired of karma fortunes by now.qlob ought to be getting tired of karma fortunes by now.qlob ought to be getting tired of karma fortunes by now.qlob ought to be getting tired of karma fortunes by now.qlob ought to be getting tired of karma fortunes by now.qlob ought to be getting tired of karma fortunes by now.qlob ought to be getting tired of karma fortunes by now.qlob ought to be getting tired of karma fortunes by now.
 
qlob's Avatar
 
Posts: 1,048
Karma: 7096675
Join Date: Apr 2012
Device: Kindle 3.4
Quote:
Originally Posted by twobob View Post
Hmm... So err which is right? LOL. someone needs to do some better programming....
Is that from susestudio? I just login with one of my openID accounts...
qlob is offline   Reply With Quote
Old 11-30-2012, 07:40 AM   #29
twobob
( ͡° ͜ʖ ͡°){ʇlnɐɟ ƃǝs}Týr
twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.
 
twobob's Avatar
 
Posts: 6,552
Karma: 6021142
Join Date: Jun 2012
Location: uti gratia usura (Yao ying da ying; Mo ying da yieng)
Device: PW-WIFI|K5-3G+WIFI| K4|K3-3G|DXG|K2| Rooted Nook Touch
Yeah Suse. I will figure it out.

actually... No I wont. Won't let me in with ANY of my accounts HA! Maybe they know me?

Last edited by twobob; 11-30-2012 at 08:21 AM.
twobob is offline   Reply With Quote
Old 11-30-2012, 08:26 AM   #30
aditya3098
Vala
aditya3098 ought to be getting tired of karma fortunes by now.aditya3098 ought to be getting tired of karma fortunes by now.aditya3098 ought to be getting tired of karma fortunes by now.aditya3098 ought to be getting tired of karma fortunes by now.aditya3098 ought to be getting tired of karma fortunes by now.aditya3098 ought to be getting tired of karma fortunes by now.aditya3098 ought to be getting tired of karma fortunes by now.aditya3098 ought to be getting tired of karma fortunes by now.aditya3098 ought to be getting tired of karma fortunes by now.aditya3098 ought to be getting tired of karma fortunes by now.aditya3098 ought to be getting tired of karma fortunes by now.
 
aditya3098's Avatar
 
Posts: 592
Karma: 1578840
Join Date: Jan 2012
Location: Valinor
Device: Kindle touch (hacked to the core) 5.3.2.1
192 mb, boot to lxde. Enough space for the p1 and p2 image
aditya3098 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
K3 Debricking sowtus Kindle Developer's Corner 11 10-05-2012 11:11 AM
K3 How to debricking My kindel 3. gzm001 Kindle Developer's Corner 5 06-27-2012 02:40 PM
Windows Live Custom Domains - free email hosting TadW Lounge 0 11-20-2005 09:57 AM


All times are GMT -4. The time now is 10:23 PM.


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