![]() |
#106 |
Member
![]() Posts: 17
Karma: 10
Join Date: Jul 2010
Device: Kindle DX
|
If I have a rootfs.img from a Kindle 3 Wifi but do not normally have access to the physical device how I can I go about patching the firmware for my DXG?
I'm very excited that this is such a promising possibility, and thanks for your hard work. |
![]() |
![]() |
![]() |
#107 |
Member
![]() Posts: 24
Karma: 10
Join Date: Sep 2010
Device: Kindle Dxg
|
The k3g create update will fail at copy_new_files.
I tested it. It fail mostly at processing this part: cp -a /bin /etc /lib /linuxrc /opt /sbin /test /usr ${ROOT}/ After I split this command. I notice that when cp /usr ${ROOT}. It will fail. I guess it is because this directory is too big. 370Mb. Right Now I generated rootfs.img file from k3g using the scripts of prepare kindle. I am trying to generate update package from my linux laptop. |
![]() |
![]() |
Advert | |
|
![]() |
#108 | |
Kindle Dissector
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 662
Karma: 475607
Join Date: Jul 2010
Device: Amazon Kindle 3
|
Quote:
|
|
![]() |
![]() |
![]() |
#109 | |
Member
![]() Posts: 24
Karma: 10
Join Date: Sep 2010
Device: Kindle Dxg
|
Quote:
Finally, I got it working. Everything is the same as DictsFix. Thanks for your work. My solution: I moved the nuance directory to the /mnt/us and made a link to it from /usr/share on my k3g. Then comment out the part process TTS. Then use the modified create_update to generate os update for my DX. It works, and fast. |
|
![]() |
![]() |
![]() |
#110 |
Junior Member
![]() Posts: 9
Karma: 10
Join Date: Apr 2011
Device: Kindle 2
|
Does it still have the 3G issues?
|
![]() |
![]() |
Advert | |
|
![]() |
#111 |
Member
![]() Posts: 24
Karma: 10
Join Date: Sep 2010
Device: Kindle Dxg
|
I can't use the 3G directly from my Kindle DXG. But the 3G network is connected.
But I tried to use the 3g network thought Tethering it and access it from my computer. The 3G is working. Just for testing. I think 3g network shouldn't be a big problem. Might be some configurations. |
![]() |
![]() |
![]() |
#112 |
Junior Member
![]() Posts: 9
Karma: 10
Join Date: Apr 2011
Device: Kindle 2
|
I'm guessing it's the APN/Gateway setting...just don't know where to get to it or even what it should be set to if I did.
|
![]() |
![]() |
![]() |
#113 |
Enthusiast
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 43
Karma: 4733
Join Date: Apr 2011
Device: Kindle 3Wifi+3G and DX
|
Kindle obviously connects via an Amazon proxy server. You can not use the Kindle for browsing other sites than Wikipedia in several countries unless you have a US home address and changing the address on Amazon site enables/disables web browsing on the Kindle immediately. Maybe the individual ID key sent from the Kindle is messed up with the firmware and Amazon proxy blocks the 3G connection? Yifanlu, did you experience similar problems on your Kindle 2 before you got it working?
Qinbill, nice work with succeeding compiling the update on your K3G! Could you please upload or PM me the changed make-package.ffs? |
![]() |
![]() |
![]() |
#114 | |
Member
![]() Posts: 24
Karma: 10
Join Date: Sep 2010
Device: Kindle Dxg
|
Quote:
In your Kindle 3g Code:
cp -r /usr/share/nuance/data /mnt/us/ rm -rf /usr/share/nuance/data ln -s /mnt/us/data /usr/share/nuance/data And then modify this part of make-package.ffs like this: Code:
copy_new_files() { ROOT=$1 #logmsg "I" "make-package" "Progress 1" # touch /tmp/nothing # for file in ${SKIP_TTS_FILES}; do # logmsg "I" "make-package" "Progress Mount $file" # /bin/mount --bind /tmp/nothing /usr/share/nuance/data/$file # done CP_FILES="/bin /etc /lib /linuxrc /opt /sbin /test /usr" logmsg "I" "make-package" "Progress 2" for file in ${CP_FILES}; do logmsg "I" "make-package" "Progress copy $file" cp -a ${file} ${ROOT}/ done # cp -a /bin /etc /lib /linuxrc /opt /sbin /test /usr ${ROOT}/ # logmsg "I" "make-package" "Progress 3" # FILES="" # for file in ${SKIP_TTS_FILES}; do # logmsg "I" "make-package" "Progress umount $file" # /bin/umount /usr/share/nuance/data/$file # FILES="${FILES} data/$file" # done # logmsg "I" "make-package" "Progress 4" # if [ ! -f ${NO_TTS} ]; then # logmsg "I" "make-package" "saving tts files" # tar -C /usr/share/nuance -cf ${OUTPUT}/tts-files.tar ${FILES} # fi logmsg "I" "make-package" "Progress 5" } Then You should be able to generate the update file. Another observation of this bug is that: It might not be the problem of cp /usr that caused this bug. The bug is caused by copy too much content which will overflow the size of rootfs.img of the client side. rootfs.img of client side has only 401M. But the host side has 651M data to copy. If we copy more than 401M to this image. It will fail due to out of space. Move out TTS file will reduce 250M intotal. which makes rootfs.img of client just fit. So move out all the TTS file will solve this problem. This is a temporary and naive solution. Powerful master YifeiLu will solve this problem in a better way. Bow to the master. Last edited by qinbill; 04-29-2011 at 02:22 AM. |
|
![]() |
![]() |
![]() |
#115 |
Enthusiast
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 43
Karma: 4733
Join Date: Apr 2011
Device: Kindle 3Wifi+3G and DX
|
Thanks Qinbill for the instructions and explanation! I will try your method. Just a question, don´t you restore /usr/share/nuance/data at the end of your code and remove the symbolic link to it? I am afraid of messing with the system of my K3G since I don´t have recovery on it.
I participate in your bow to the master Yifanlu. It is fantastic that he soon manages to do what Amazon failed with. I don´t understand why Amazon didn´t upgrade the Kindle DXG to firmware 3.1. I bought the DXG after I bought the K3G and was very disappointed to find out that it was so inferior to K3G. Not only did it lack Wifi but also the superior webkit browser and the possibility to improve contrast of the pdfs which is really needed. Now lets hope that Yifanlu succeeds in fixing the last remaining problems. Last edited by DickeFix; 04-29-2011 at 06:25 AM. |
![]() |
![]() |
![]() |
#116 |
Enthusiast
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 47
Karma: 12050
Join Date: Dec 2010
Device: Kobo Aura H2O
|
Does this mean NO_TTX doesn't work? The only way to create the update package is to delete/move the file from the K3? But why the softlink then? I'm assuming we'd need to use usbNetwork for this?
And rest assured, I'm bowing to the Master. Thanks! |
![]() |
![]() |
![]() |
#117 |
Member
![]() Posts: 12
Karma: 10
Join Date: Apr 2011
Device: Kindle DXG
|
Another progress report: steps one works flawlessly, step two with a trick, but step three fails...
I used the beta-2.3 updater on a Kindle DXG (2.5.8) and a Kindle 3 WiFi (3.1), both jailbroken with NiluJes 0.7 and with no other hacks installed. Here is what happened: creating the image on the DXG worked like a charm. To make the updater on the k3w, I had to a) add a final newline to the jailbreak whitelist and b) to resize the rootfs.img to be able to include all the files, including TTS. For the latter step, I added another 251MB to the image with "dd if=/dev/zero of=rootfs.img bs=1M count=251 offset=401" and resized it with "resize2fs rootfs.img" (after an e2fsck check). Then the update_dxg-update-os.bin was created without errors (378M and an additional 4k of tts-files.tar). When I attempt to install the update on the DXG, however, things fail after a while with the error code "0003" and I have to reset. I did not manage to enter the recovery menu, however - only the factory reset one (hold power for 30sec then home for 10sec) which exports the filesystem nevertheless and lets me copy the restore update. After that, everything worked again (on 2.5.8) - but at the expense of a factory reset, i.e. no logfile. Any ideas? |
![]() |
![]() |
![]() |
#118 |
curly᷂͓̫̙᷊̥̮̾ͯͤͭͬͦͨ ʎʌɹnɔ
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 3,016
Karma: 50506927
Join Date: Dec 2010
Location: ♁ ᴺ₄₅°₃₀' ᵂ₇₃°₃₇' ±₆₀"
Device: K3₃.₄.₃ PW3&4₅.₁₃.₃
|
|
![]() |
![]() |
![]() |
#119 |
Member
![]() Posts: 12
Karma: 10
Join Date: Apr 2011
Device: Kindle DXG
|
I doubt it is a checksum error (which in my experience occurs rather quickly) - just because it took about 10-15 minutes (during which the progress bar restarted a couple of times, until it finally locked at about 60% when the error occured) before the update finally failed...
|
![]() |
![]() |
![]() |
#120 |
Member
![]() Posts: 12
Karma: 10
Join Date: Apr 2011
Device: Kindle DXG
|
just a small mistake: the dd-command ends of course with "seek=401" and not "offset=401"...
|
![]() |
![]() |
![]() |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
images for Kindle & ipad Kindle (or tablets) | hapax legomenon | Kindle Formats | 0 | 03-10-2011 10:54 PM |
Kindle & Tech formatted kindle books? | Ncage1974 | Amazon Kindle | 7 | 02-09-2011 10:03 AM |
Possible Kindle for PC & Kindle for iPhone Issue(s) | Nyssa | Amazon Kindle | 6 | 12-31-2010 03:58 PM |
Kindle vs Kindle for PC vs print books & old lady eyes | bert501 | Amazon Kindle | 30 | 11-19-2010 08:59 PM |
did kindle 2 get updated with kindle 3 zoom and contrast adjustment software? | med007 | Amazon Kindle | 1 | 10-15-2010 10:08 AM |