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 02-26-2012, 08:06 AM   #16
hostar
Zealot
hostar is a glorious beacon of lighthostar is a glorious beacon of lighthostar is a glorious beacon of lighthostar is a glorious beacon of lighthostar is a glorious beacon of lighthostar is a glorious beacon of lighthostar is a glorious beacon of lighthostar is a glorious beacon of lighthostar is a glorious beacon of lighthostar is a glorious beacon of lighthostar is a glorious beacon of light
 
Posts: 137
Karma: 12324
Join Date: Dec 2011
Location: CZ
Device: Kindle 4 non-touch
I made makefile for fastboot for Linux and Windows.
Instructions to run is in README file.
Attached Files
File Type: zip Fastboot_compile.zip (45.0 KB, 126 views)

Last edited by hostar; 02-26-2012 at 08:12 AM.
hostar is offline   Reply With Quote
Old 02-26-2012, 08:26 AM   #17
murz_07
Connoisseur
murz_07 began at the beginning.
 
Posts: 67
Karma: 10
Join Date: Feb 2012
Device: Kindle Touch SO
Quote:
Originally Posted by hostar View Post
I made makefile for fastboot for Linux and Windows.
Instructions to run is in README file.

But I'm not comfortable with Unix
So can you pleasу tell me when I open Cygwin terminal, what exactly should I type there?
murz_07 is offline   Reply With Quote
Old 02-26-2012, 09:31 AM   #18
murz_07
Connoisseur
murz_07 began at the beginning.
 
Posts: 67
Karma: 10
Join Date: Feb 2012
Device: Kindle Touch SO
Anybody?
murz_07 is offline   Reply With Quote
Old 02-26-2012, 09:36 AM   #19
hostar
Zealot
hostar is a glorious beacon of lighthostar is a glorious beacon of lighthostar is a glorious beacon of lighthostar is a glorious beacon of lighthostar is a glorious beacon of lighthostar is a glorious beacon of lighthostar is a glorious beacon of lighthostar is a glorious beacon of lighthostar is a glorious beacon of lighthostar is a glorious beacon of lighthostar is a glorious beacon of light
 
Posts: 137
Karma: 12324
Join Date: Dec 2011
Location: CZ
Device: Kindle 4 non-touch
Better ignore this post and read further.

Spoiler:
I have got MinGW, not Cygwin, but it is similar tools.
First extract AdbWinApi.dll to your fastboot folder.

1) If you have Total Commander
- run Total Commander
- go to your fastboot folder
- down on Total Commander is mysterious line (like TextBox).
- click to that line and type "cmd" here (without quotes) and press Enter
- command line, which path start in your fastboot folder should appear
- type into that command line: "make fastboot_win" (again without quotes)
- fastboot should compile
- it is possible, that this will not work and error or plenty or errors appear
- if this happens, go to part 2

2) Alternative
- go to folder with your cygwin and then to subfolder "bin"
- there should be something like "gcc.exe", if there is not exactly this file,
but something similar, like "gcc-1.2.0.exe", remember it
- now go to your fastboot folder
- download "cmd.bat" from this post and paste it to your fastboot folder
- doubleclick to "cmd.bat"
- command line should appear
- now is needed to build string for compile
- it will look like something like this:

Code:
X:\path\to\cygwin\bin\gcc.exe -o fastboot.exe fastboot.c engine.c protocol.c usb_windows.c util_windows.c AdbWinApi.dll
- replace "X:\path\to\cygwin\" with your real path to cygwin
- if your "gcc.exe" has another name, replace it too
- compilation should be without any warning
Attached Files
File Type: bat cmd.bat (7 Bytes, 48 views)

Last edited by hostar; 02-26-2012 at 03:38 PM.
hostar is offline   Reply With Quote
Old 02-26-2012, 10:11 AM   #20
murz_07
Connoisseur
murz_07 began at the beginning.
 
Posts: 67
Karma: 10
Join Date: Feb 2012
Device: Kindle Touch SO

But there is no gcc.exe in my bin folder.
The most similar is cyggcc_s-1.dll

I think it has something to do with packages I choosed to install while installing Cygwin. I left all of them "default".
So now I'm downloading all packages with anything containing "gcc" inside.

Last edited by murz_07; 02-26-2012 at 10:21 AM.
murz_07 is offline   Reply With Quote
Old 02-26-2012, 10:24 AM   #21
hostar
Zealot
hostar is a glorious beacon of lighthostar is a glorious beacon of lighthostar is a glorious beacon of lighthostar is a glorious beacon of lighthostar is a glorious beacon of lighthostar is a glorious beacon of lighthostar is a glorious beacon of lighthostar is a glorious beacon of lighthostar is a glorious beacon of lighthostar is a glorious beacon of lighthostar is a glorious beacon of light
 
Posts: 137
Karma: 12324
Join Date: Dec 2011
Location: CZ
Device: Kindle 4 non-touch
If you are downloading something, I recommend you to download MinGW

http://sourceforge.net/projects/ming...8.exe/download
hostar is offline   Reply With Quote
Old 02-26-2012, 10:35 AM   #22
giorgio130
Time Waster
giorgio130 ought to be getting tired of karma fortunes by now.giorgio130 ought to be getting tired of karma fortunes by now.giorgio130 ought to be getting tired of karma fortunes by now.giorgio130 ought to be getting tired of karma fortunes by now.giorgio130 ought to be getting tired of karma fortunes by now.giorgio130 ought to be getting tired of karma fortunes by now.giorgio130 ought to be getting tired of karma fortunes by now.giorgio130 ought to be getting tired of karma fortunes by now.giorgio130 ought to be getting tired of karma fortunes by now.giorgio130 ought to be getting tired of karma fortunes by now.giorgio130 ought to be getting tired of karma fortunes by now.
 
Posts: 414
Karma: 288418
Join Date: May 2011
Device: Kobo Glo and Aura HD
@murz_07 Wouldn't it be simpler to use a Ubuntu live cd?
giorgio130 is offline   Reply With Quote
Old 02-26-2012, 10:47 AM   #23
murz_07
Connoisseur
murz_07 began at the beginning.
 
Posts: 67
Karma: 10
Join Date: Feb 2012
Device: Kindle Touch SO
Quote:
Originally Posted by hostar View Post
If you are downloading something, I recommend you to download MinGW

http://sourceforge.net/projects/ming...8.exe/download
Ok, I downloaded and installed it. Did everithing by "alternative" method but it said "libgmp-10 not found" about 5 times. What is the problem?
Where fastboot folder should be? I unpacked Yifanlu fastboot to C:\fastboot.

Code:
C:\MinGW\bin\gcc.exe -o fastboot.exe fastboot.c engine.c protocol.c usb_windows.c util_windows.c AdbWinApi.dll

Last edited by murz_07; 02-26-2012 at 10:56 AM.
murz_07 is offline   Reply With Quote
Old 02-26-2012, 10:48 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,141
Karma: 5830424
Join Date: Feb 2012
Device: Too many.
Quote:
Originally Posted by giorgio130 View Post
@murz_07 Wouldn't it be simpler to use a Ubuntu live cd?
Or any of the many others: http://livecdlist.com

But where is the challenge in doing something the simple and obvious way?
knc1 is offline   Reply With Quote
Old 02-26-2012, 01:15 PM   #25
murz_07
Connoisseur
murz_07 began at the beginning.
 
Posts: 67
Karma: 10
Join Date: Feb 2012
Device: Kindle Touch SO
Quote:
Originally Posted by giorgio130 View Post
@murz_07 Wouldn't it be simpler to use a Ubuntu live cd?
And how can I compile it in Ubuntu?
murz_07 is offline   Reply With Quote
Old 02-26-2012, 02:24 PM   #26
hostar
Zealot
hostar is a glorious beacon of lighthostar is a glorious beacon of lighthostar is a glorious beacon of lighthostar is a glorious beacon of lighthostar is a glorious beacon of lighthostar is a glorious beacon of lighthostar is a glorious beacon of lighthostar is a glorious beacon of lighthostar is a glorious beacon of lighthostar is a glorious beacon of lighthostar is a glorious beacon of light
 
Posts: 137
Karma: 12324
Join Date: Dec 2011
Location: CZ
Device: Kindle 4 non-touch
Quote:
Originally Posted by murz_07 View Post
And how can I compile it in Ubuntu?
How is described in README, just run terminal, cd to folder with fastboot
and type "make fastboot_linux"

Also I realized, that README rewrites original README when extracted.

Quote:
Originally Posted by giorgio130
Wouldn't it be simpler to use a Ubuntu live cd?
Good point

------------------------------------------------------------------------------

EDIT: attachment contains linux fastboot binary

For Windows EXE click here.
Attached Files
File Type: zip fastboot_linux.zip (11.6 KB, 58 views)

Last edited by hostar; 03-15-2012 at 02:09 PM.
hostar is offline   Reply With Quote
Old 02-26-2012, 03:26 PM   #27
murz_07
Connoisseur
murz_07 began at the beginning.
 
Posts: 67
Karma: 10
Join Date: Feb 2012
Device: Kindle Touch SO
My attenmpt to compile fastboot in Ubuntu was successful. So following questions will be:
How can I boot in fastboot mode in Ubuntu?
Is there some tool like MgfTool?
murz_07 is offline   Reply With Quote
Old 02-26-2012, 04:00 PM   #28
murz_07
Connoisseur
murz_07 began at the beginning.
 
Posts: 67
Karma: 10
Join Date: Feb 2012
Device: Kindle Touch SO
Ok, thats what I did:
1. Booted Kindle in fastboot mode using MgfTool then unplugged it
2. Restarted computer, booted to Ubuntu
3. Plugged Kindle in and compiled fastboot
4. ./fastboot flash system mmcblk0p1.img
After all of this I saw <waiting for device>

And when I ran fastboot.exe you uploaded I saw only black screen flashed.

Can you please tell me what is wrong?
It can be discharged, can it cause this?

Last edited by murz_07; 02-26-2012 at 04:06 PM.
murz_07 is offline   Reply With Quote
Old 02-26-2012, 04:20 PM   #29
murz_07
Connoisseur
murz_07 began at the beginning.
 
Posts: 67
Karma: 10
Join Date: Feb 2012
Device: Kindle Touch SO
Ok, I finally could run fastboot in Windows, thanks to hostar.
But ill it does is writing <waiting for device>
I tryed to reboot it in fastboot mode again, nothing changed.
murz_07 is offline   Reply With Quote
Old 02-26-2012, 04:33 PM   #30
giorgio130
Time Waster
giorgio130 ought to be getting tired of karma fortunes by now.giorgio130 ought to be getting tired of karma fortunes by now.giorgio130 ought to be getting tired of karma fortunes by now.giorgio130 ought to be getting tired of karma fortunes by now.giorgio130 ought to be getting tired of karma fortunes by now.giorgio130 ought to be getting tired of karma fortunes by now.giorgio130 ought to be getting tired of karma fortunes by now.giorgio130 ought to be getting tired of karma fortunes by now.giorgio130 ought to be getting tired of karma fortunes by now.giorgio130 ought to be getting tired of karma fortunes by now.giorgio130 ought to be getting tired of karma fortunes by now.
 
Posts: 414
Karma: 288418
Join Date: May 2011
Device: Kobo Glo and Aura HD
if you want to retry under ubuntu, the correct command is "sudo ./fastboot flash system mmcblk0p1.img"
giorgio130 is offline   Reply With Quote
Reply

Tags
kindle fastboot manifesto

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Simple linux fastboot installing command aditya3098 Kindle Developer's Corner 10 12-22-2012 08:18 PM
Tools Fastboot GUI hostar Kindle Developer's Corner 49 06-20-2012 07:21 AM
Fastboot not working aditya3098 Kindle Developer's Corner 10 05-12-2012 01:44 PM
Tools fastboot for win32 geekmaster Kindle Developer's Corner 30 03-13-2012 02:39 PM
help me get out of fastboot kindle nontouch please 123123 Kindle Developer's Corner 30 02-10-2012 05:14 AM


All times are GMT -4. The time now is 02:15 AM.


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