![]() |
#1 |
Member
![]() Posts: 14
Karma: 10
Join Date: Jun 2014
Device: kindle dxg b009
|
Jailbrak problem on dxg(b009) 2.5.8 [SOLVED]
Hello, I've been having a lot problems to do the hack on a kindle dxg (b009) 2.5.8. I wanted to do the jailbreak, and then install the screensaver hack.
I downloaded a jailbreak version 0.4. When i install it, i do not get the error, i get that everything is okey. Then, i tried to install the screensaver hack kindle-ss-0.44.N.zip, and i get the error U007, that indicates that the e-reader is not jailbroken. I also tried from the wiki:https://wiki.mobileread.com/wiki/Kind...Jailbreak_Hack But when i install the jailbreak kindle-jailbreak-0.12.N.zip , i get an U007 error instead an U006 error. I would appreciate a lot any help, i really want to make it work!! Last edited by rsm; 07-01-2014 at 12:41 PM. |
![]() |
![]() |
![]() |
#2 |
BLAM!
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 13,506
Karma: 26047190
Join Date: Jun 2010
Location: Paris, France
Device: Kindle 2i, 3g, 4, 5w, PW, PW2, PW5; Kobo H2O, Forma, Elipsa, Sage, C2E
|
Where did you get your first links from? o_O.
As for the JB failing, that usually means your device has a semi-broken JB already installed. Get rid of it, restart your device, and try again. |
![]() |
![]() |
Advert | |
|
![]() |
#3 |
Member
![]() Posts: 14
Karma: 10
Join Date: Jun 2014
Device: kindle dxg b009
|
i got it yesterday from google, but today it seems that they've suspended the Yifan's account.
I made a reset, and tried to re-install the 0.12 but i got the same error. Then i used the Uninstall of the 0.4 ( it failed ), and then i installed the 0.12 but it failed with the U007 as always :/ |
![]() |
![]() |
![]() |
#4 |
Member
![]() Posts: 14
Karma: 10
Join Date: Jun 2014
Device: kindle dxg b009
|
i just upload it: http://www.files.com/set/53b1b176e3a9e
why i can't use the jailbrake 0.4? "the installation seems to be alright" or can't i get an older version of the jailbrake? i remeber that i was able to install it with a previous version, i think that it was the 0.11 but i cant find it :/ Last edited by rsm; 06-30-2014 at 03:23 PM. |
![]() |
![]() |
![]() |
#5 |
BLAM!
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 13,506
Karma: 26047190
Join Date: Jun 2010
Location: Paris, France
Device: Kindle 2i, 3g, 4, 5w, PW, PW2, PW5; Kobo H2O, Forma, Elipsa, Sage, C2E
|
@rsm: Okay, Yifan's version is a tiny bit deprecated now that I got mine to get a bit smarter, but it *should* theoretically work, although I don't recall if it someone actually ever relied on it on FW 2.x, because it's way, way overkill there, and I'm not quite sure the behavior is sound there. (Been a while since I worked on 2.x, feel free to correct me, but that particular bit of Yifan's stuff was primarily aimed at 3.1 & 3.2).
What I can tell you is that you will not, ever, be able to install one jailbreak on top of the other: to avoid utter breakage, both installers are smart enough to detect each other and abort (I don't recall which error code each triggers on that particular FW version though, but it should be made clear in the logs anyway [enter ;dm in the searchbar]). Another thing I remember is that Yifan's uninstaller is slightly broken, in that you actually need to *restart* (as in reboot, not a reset to factory default, or a simple 'go to sleep/wakeup' cycle) to actually get the device back in a sane state. Note that the reverse *might* also be true: you may need to restart the device after the install process to actually 'enable' the JailBreak. Also, due to the nature of how those JB iterations work, handling the uninstall of *both* version of the JB in one single package wasn't a sound decision [and was possibly technically impossible at one point]). So you *need* to use the uninstaller of the very JailBreak you used. And no: using an older version of anything Kindle related in that context (ie. custom stuff) is *never* a good idea, and often a very, very bad one. Last edited by NiLuJe; 06-30-2014 at 05:43 PM. |
![]() |
![]() |
Advert | |
|
![]() |
#6 |
Member
![]() Posts: 14
Karma: 10
Join Date: Jun 2014
Device: kindle dxg b009
|
Yoy may be right, I got the Yifan's version from a Yifan's website, and he said that the version was for 2.x 3.1 & 3.2 FM. ( as i was looking on google for kindle jailbreake 2.5.8 )
>What I can tell you is that you will not, ever, be able to install one jailbreak on top of the other :S, making a reset doesn't works for "uninstalling a version" ? The problem is that i jailbraked the device but i was having some problems so i did a reset. ( noob problems with usbnet ). and i don't remember the version of the jailbrake. But it would be strange if it stills there, because if that's so Yifan's version would make an error no? ( well, Yifan's version is not working so maybe that's the error haha) I followed your advice about restarting after an install/uninstall but i still stuck as i was before :S I uploaded the logs, as you say they may give useful information, i read them but this is new for me and i have no idea..... [url removed] @Au fait, je ne sais pas si j'arriverai a trouver une solution pour ma kindle mais je te remercie quand meme NiLuJe, c'est grace à vous que les kindles on été liberées ![]() Last edited by rsm; 07-01-2014 at 12:39 PM. Reason: url broken |
![]() |
![]() |
![]() |
#7 |
BLAM!
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 13,506
Karma: 26047190
Join Date: Jun 2010
Location: Paris, France
Device: Kindle 2i, 3g, 4, 5w, PW, PW2, PW5; Kobo H2O, Forma, Elipsa, Sage, C2E
|
@rsm: No, a reset only clears settings and the userstore (ie. books). It only manages to 'break' some hacks by cutting access to their resources stored in the userstore, but for all intents and purpose, they're still installed. That said, IIRC, a factory reset should *not* affect this specific version of Yifan's JB. It *will* break mine, on the other hand
![]() That said, the logs do help! I can see Yifan's JB is still installed, but broken for some reason (you should *NOT* hit a U007 when trying to uninstall it)... I can also see USBNet is there, so that might be your best bet to investigate. Just plop the usbnet folder from the source package in the USB root, and restart your device, that should restore USBNet to its default status. Once you're in, check how messy things are in /etc/uks (you might need a vanilla backup of that, one from any kind of Kindle should do), get rid of yifan's JB (see it's uninstall script), install our key manually (see the 2.5-install script in my JB), and that should do it. |
![]() |
![]() |
![]() |
#8 |
Member
![]() Posts: 14
Karma: 10
Join Date: Jun 2014
Device: kindle dxg b009
|
I added the source directories of usbnetwork and i'm in.
/etc/uks was as uks.disabled, i supposed that the first hailbrake ( i think that it was the version 0.11) did that.. do i still need a backup of /etc/uks? Do you know where could i get the source of the yifan's JB? I only have the uninstall bin :S |
![]() |
![]() |
![]() |
#9 |
BLAM!
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 13,506
Karma: 26047190
Join Date: Jun 2010
Location: Paris, France
Device: Kindle 2i, 3g, 4, 5w, PW, PW2, PW5; Kobo H2O, Forma, Elipsa, Sage, C2E
|
@rsm: What's in the uks (and/or uks.disabled) folder? (post the output from ls). [I don't remember what handled the folder like that, but that certainly wasn't mine].
You can get at the uninstall script from the .bin package with KindleTool, and, at a quick glance, uninstalling should boil down to: Code:
mntroot rw rm -f /etc/init.d/switch-updates-provider for RC in 0 1 2 3 4 5 6 ; do rm -f /etc/rc${RC}.d/S25switch-updates-provider ; done HACKNAME="jailbreak" HOME_DIR="/mnt/us" KEY_DIR="/etc/uks" INIT_DIR="/etc/init.d" SLEVEL="64" KLEVEL="09" mv -f "$KEY_DIR/pubprodkey01.pem.original" "$KEY_DIR/pubprodkey01.pem" mv -f "$KEY_DIR/pubprodkey02.pem.original" "$KEY_DIR/pubprodkey02.pem" rm -f "$KEY_DIR/pubprodkey01.pem.hack" rm -f "$KEY_DIR/pubprodkey02.pem.hack" rm -f "$KEY_DIR/pubprodkey01.pem.amazon" rm -f "$KEY_DIR/pubprodkey02.pem.amazon" rm -rf "$HOME_DIR/updates-provider" rm -rf "$HOME_DIR/jailbreak" rm -f "$HOME_DIR/ENABLE_HACK_UPDATES" rm -f "$KEY_DIR/pubprodkey01.hack.pem" rm -f "$KEY_DIR/pubprodkey02.hack.pem" rm -f "$KEY_DIR/pubprodkey01.amazon.pem" rm -f "$KEY_DIR/pubprodkey02.amazon.pem" rm -f "$INIT_DIR/$HACKNAME" for RC in 0 1 2 3 4 5 6 ; do rm -f "/etc/rc${RC}.d/S25$HACKNAME" ; done mv "$KEY_DIR/pubprodkey01.pem.original" "$KEY_DIR/pubprodkey01.pem" mv "$KEY_DIR/pubprodkey02.pem.original" "$KEY_DIR/pubprodkey02.pem" rm -f $KEY_DIR/pubprodkey01.hack.pem rm -f $INIT_DIR/$HACKNAME rm -f /etc/rc5.d/S${SLEVEL}${HACKNAME} rm -f /etc/rc3.d/K${KLEVEL}${HACKNAME} mntroot ro Provided your /etc/uks foler is sane, installing the JB is then as simple as Code:
mntroot rw cat <<EOF > /etc/uks/pubhackkey01.pem -----BEGIN PUBLIC KEY----- MIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQDJn1jWU+xxVv/eRKfCPR9e47lP WN2rH33z9QbfnqmCxBRLP6mMjGy6APyycQXg3nPi5fcb75alZo+Oh012HpMe9Lnp eEgloIdm1E4LOsyrz4kttQtGRlzCErmBGt6+cAVEV86y2phOJ3mLk0Ek9UQXbIUf rvyJnS2MKLG2cczjlQIDAQAB -----END PUBLIC KEY----- EOF mntroot ro Code:
ls -lash /etc/uks total 20K 4.0K drwxr-xr-x 2 niluje niluje 4.0K Jul 9 2010 . 4.0K drwxr-xr-x 29 niluje niluje 4.0K Jul 28 2010 .. 4.0K -rw-r--r-- 1 niluje niluje 272 Aug 28 2009 pubprodkey01.pem 4.0K -rw-r--r-- 1 niluje niluje 451 Oct 25 2009 pubprodkey02.pem |
![]() |
![]() |
![]() |
#10 |
Member
![]() Posts: 14
Karma: 10
Join Date: Jun 2014
Device: kindle dxg b009
|
the uks.disabled folder looks like this
Code:
drwxr-xr-x 2 root root 1024 Apr 30 21:03 . drwxr-xr-x 29 root root 2048 May 1 00:42 .. -rw-r--r-- 1 root root 272 Jun 16 2010 pubhackkey01.pem -rw-r--r-- 1 root root 272 Jun 9 2010 pubprodkey01.pem -rw-r--r-- 1 root root 451 Jun 9 2010 pubprodkey02.pem Last edited by rsm; 07-01-2014 at 10:19 AM. |
![]() |
![]() |
![]() |
#11 |
Member
![]() Posts: 14
Karma: 10
Join Date: Jun 2014
Device: kindle dxg b009
|
So i got the source of the uninstall, i plan to do all the rm and mv, and it should be okey no? then i was wondering me.. how could i know if i succeed? checking the logs i suppose, but what is the specific <string> that could indicate me that?
Code:
#!/bin/sh # Kindle 3.1 Jailbreak # Created by Yifan Lu # http://yifan.lu/ HACKNAME="jailbreak" HOME_DIR="/mnt/us" KEY_DIR=/etc/uks INIT_DIR="/etc/init.d" SLEVEL="64" KLEVEL="09" _FUNCTIONS=/etc/rc.d/functions [ -f ${_FUNCTIONS} ] && . ${_FUNCTIONS} MSG_SLLVL_D="debug" MSG_SLLVL_I="info" MSG_SLLVL_W="warn" MSG_SLLVL_E="err" MSG_SLLVL_C="crit" MSG_SLNUM_D=0 MSG_SLNUM_I=1 MSG_SLNUM_W=2 MSG_SLNUM_E=3 MSG_SLNUM_C=4 MSG_CUR_LVL=/var/local/system/syslog_level logmsg() { local _NVPAIRS local _FREETEXT local _MSG_SLLVL local _MSG_SLNUM _MSG_LEVEL=$1 _MSG_COMP=$2 { [ $# -ge 4 ] && _NVPAIRS=$3 && shift ; } _FREETEXT=$3 eval _MSG_SLLVL=\${MSG_SLLVL_$_MSG_LEVEL} eval _MSG_SLNUM=\${MSG_SLNUM_$_MSG_LEVEL} local _CURLVL { [ -f $MSG_CUR_LVL ] && _CURLVL=`cat $MSG_CUR_LVL` ; } || _CURLVL=1 if [ $_MSG_SLNUM -ge $_CURLVL ]; then /usr/bin/logger -p local4.$_MSG_SLLVL -t "ota_install" "$_MSG_LEVEL def:$_MSG_COMP:$_NVPAIRS:$_FREETEXT" fi if [ "$_MSG_LEVEL" != "D" ]; then echo "ota_install: $_MSG_LEVEL def:$_MSG_COMP:$_NVPAIRS:$_FREETEXT" # [ -d /mnt/us/$HACKNAME ] && echo "ota_install: $_MSG_LEVEL def:$_MSG_COMP:$_NVPAIRS:$_FREETEXT" >> $LOG_FILE fi } uninstall_previous() { if [ -f "/etc/init.d/switch-updates-provider" ]; then logmsg "I" "update" "switch-updates-provider hack found, uninstalling" rm -f /etc/init.d/switch-updates-provider # Remove rc symlinks for RC in 0 1 2 3 4 5 6 do rm -f /etc/rc$RC.d/S25switch-updates-provider done # Restore original files mv -f "$KEY_DIR/pubprodkey01.pem.original" "$KEY_DIR/pubprodkey01.pem" mv -f "$KEY_DIR/pubprodkey02.pem.original" "$KEY_DIR/pubprodkey02.pem" # Remove the keys we copied rm -f "$KEY_DIR/pubprodkey01.pem.hack" rm -f "$KEY_DIR/pubprodkey02.pem.hack" rm -f "$KEY_DIR/pubprodkey01.pem.amazon" rm -f "$KEY_DIR/pubprodkey02.pem.amazon" [ -d "$HOME_DIR/updates-provider" ] && rm -rf "$HOME_DIR/updates-provider" fi if [ -f "$INIT_DIR/$HACKNAME" ]; then logmsg "I" "update" "old jailbreak version found, uninstalling" # Remove old version of hack [ -d "$HOME_DIR/jailbreak" ] && rm -rf "$HOME_DIR/jailbreak" [ -f "$HOME_DIR/ENABLE_HACK_UPDATES" ] && rm -f "$HOME_DIR/ENABLE_HACK_UPDATES" rm -f "$KEY_DIR/pubprodkey01.hack.pem" rm -f "$KEY_DIR/pubprodkey02.hack.pem" rm -f "$KEY_DIR/pubprodkey01.amazon.pem" rm -f "$KEY_DIR/pubprodkey02.amazon.pem" rm -f "$INIT_DIR/$HACKNAME" for RC in 0 1 2 3 4 5 6 do rm -f "/etc/rc$RC.d/S25$HACKNAME" done mv "$KEY_DIR/pubprodkey01.pem.original" "$KEY_DIR/pubprodkey01.pem" mv "$KEY_DIR/pubprodkey02.pem.original" "$KEY_DIR/pubprodkey02.pem" fi } # Initialized update_progressbar 10 uninstall_previous update_progressbar 20 # Binding old keys back $INIT_DIR/$HACKNAME start # Removing new keys logmsg "I" "update" "remove the jailbreak key" [ -f $KEY_DIR/pubprodkey01.hack.pem ] && rm -f $KEY_DIR/pubprodkey01.hack.pem update_progressbar 30 # Removing startup script logmsg "I" "update" "removing jailbreak init script" [ -f $INIT_DIR/$HACKNAME ] && rm -f $INIT_DIR/$HACKNAME update_progressbar 50 # Removing rc symlinks [ -f /etc/rc5.d/S${SLEVEL}${HACKNAME} ] && rm -f /etc/rc5.d/S${SLEVEL}${HACKNAME} [ -f /etc/rc3.d/K${KLEVEL}${HACKNAME} ] && rm -f /etc/rc3.d/K${KLEVEL}${HACKNAME} update_progressbar 60 # Done logmsg "I" "update" "done" update_progressbar 100 return 0 |
![]() |
![]() |
![]() |
#12 |
Member
![]() Posts: 14
Karma: 10
Join Date: Jun 2014
Device: kindle dxg b009
|
I did the uninstall manually, a restart, and then used the jailbreak 0.12 and it succeeded, and now everything is okey. Thanks so much for the support NiLuJe !! i couldn't have done it with out your help
|
![]() |
![]() |
![]() |
#13 |
BLAM!
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 13,506
Karma: 26047190
Join Date: Jun 2010
Location: Paris, France
Device: Kindle 2i, 3g, 4, 5w, PW, PW2, PW5; Kobo H2O, Forma, Elipsa, Sage, C2E
|
@rsm: Yay!
Ironically, that uks.disabled folder looks pretty okay, if not for the fact that it's, well, disabled (by not being named correctly) ![]() |
![]() |
![]() |
![]() |
#14 |
Member
![]() Posts: 14
Karma: 10
Join Date: Jun 2014
Device: kindle dxg b009
|
It is great to finally have the kindle with all the stuff
![]() You made me remember that it was possible me the one who changed the uks folder when i started trying to root my kindle... (some months ago).. should i 'disable it' again? i don't want that amazon touches my kindle! i will root it again and try to remove as much as possible of Amazon...... ------- i didn't check it before, but now ( after the 3.2.1 update ) i'm having some problems to use usbnet, the `usbnetwork command ain't working. This are the usb logs: Code:
usbnetwork v0.54.N, Wed Jul 2 01:22:25 CEST 2014 symbolic link /usr/bin/scp -> /mnt/us/usbnet/bin/scp exists, deleting... symbolic link is not ours, skipping... symbolic link /usr/bin/ssh -> /mnt/us/usbnet/bin/ssh exists, deleting... symbolic link is not ours, skipping... symbolic link /usr/sbin/sshd -> /mnt/us/usbnet/sbin/sshd exists, deleting... symbolic link is not ours, skipping... symbolic link /usr/sbin/dropbearmulti -> /mnt/us/usbnet/bin/dropbearmulti already exists, skipping... symbolic link /usr/bin/dropbear -> /mnt/us/usbnet/bin/dropbearmulti already exists, skipping... symbolic link /usr/bin/dbclient -> /mnt/us/usbnet/bin/dropbearmulti already exists, skipping... symbolic link /usr/bin/dropbearkey -> /mnt/us/usbnet/bin/dropbearmulti already exists, skipping... symbolic link /usr/bin/dropbearconvert -> /mnt/us/usbnet/bin/dropbearmulti already exists, skipping... symbolic link /usr/bin/dbscp -> /mnt/us/usbnet/bin/dropbearmulti already exists, skipping... symbolic link /usr/sbin/lsof -> /mnt/us/usbnet/bin/lsof already exists, skipping... symbolic link /usr/bin/htop -> /mnt/us/usbnet/bin/htop already exists, skipping... symbolic link /usr/bin/rsync -> /mnt/us/usbnet/bin/rsync already exists, skipping... symbolic link /usr/bin/mosh-server -> /mnt/us/usbnet/bin/mosh-server already exists, skipping... symbolic link /usr/bin/mosh-client -> /mnt/us/usbnet/bin/mosh-client already exists, skipping... symbolic link /usr/bin/kindletool -> /mnt/us/usbnet/bin/kindletool already exists, skipping... symbolic link /usr/sbin/sshd -> /mnt/us/usbnet/sbin/sshd already exists, skipping... symbolic link /usr/bin/scp -> /mnt/us/usbnet/bin/scp already exists, skipping... symbolic link /usr/bin/sftp -> /mnt/us/usbnet/bin/sftp already exists, skipping... symbolic link /usr/bin/ssh -> /mnt/us/usbnet/bin/ssh already exists, skipping... symbolic link /usr/bin/ssh-add -> /mnt/us/usbnet/bin/ssh-add already exists, skipping... symbolic link /usr/bin/ssh-agent -> /mnt/us/usbnet/bin/ssh-agent already exists, skipping... symbolic link /usr/bin/ssh-keygen -> /mnt/us/usbnet/bin/ssh-keygen already exists, skipping... symbolic link /usr/bin/ssh-keyscan -> /mnt/us/usbnet/bin/ssh-keyscan already exists, skipping... symbolic link /usr/bin/sshfs -> /mnt/us/usbnet/bin/sshfs already exists, skipping... symbolic link /test/bin/usbnetwork -> /mnt/us/usbnet/bin/usbnetwork already exists, skipping... S/N B009XXXXXXXXXXXX => NIC 09XXXX mac is valid kdb keyfile looks ok symbolic link /etc/rc5.d/S62usbnet-preinit already exists, skipping... symbolic link /etc/rc5.d/S82usbnet already exists, skipping... symbolic link /etc/rc6.d/K09usbnet already exists, skipping... symbolic link /etc/rc0.d/K09usbnet already exists, skipping... symbolic link /etc/rc3.d/K09usbnet already exists, skipping... Done! Last edited by NiLuJe; 07-01-2014 at 06:11 PM. Reason: Scrambled your SN -- NiLuJe |
![]() |
![]() |
![]() |
#15 |
BLAM!
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 13,506
Karma: 26047190
Join Date: Jun 2010
Location: Paris, France
Device: Kindle 2i, 3g, 4, 5w, PW, PW2, PW5; Kobo H2O, Forma, Elipsa, Sage, C2E
|
@rsm: No! Those devices are pretty much EoL, you really, really don't need to block updates. (And, as you experienced, that is a very, very stupid way to do it).
As for USBNetwork, that's a known issue of the whole 3.x-on-DXg thing. I don't have a clue why that is (it's probably very stupid, but I don't have a DX). The usual recommended workaround is to go through KUAL to toggle it. But on the off-chance that's it's actually working correctly and everyone forgot that the switch in private commands prefix from ` to ~ happened to be in 3.x, try ~usbNetwork instead. Last edited by NiLuJe; 07-01-2014 at 06:10 PM. |
![]() |
![]() |
![]() |
Tags |
dxg, hack, jailbrak, problem |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Will Kindle DX B009 3G works in Canada? | Bubble | Amazon Kindle | 3 | 01-27-2012 10:42 PM |
DXG Battery problem | rgeorg | Amazon Kindle | 8 | 10-08-2011 06:35 AM |
A HACK Problem with DXG of FW 2.5.8 0 | Toyqiu | Kindle Developer's Corner | 3 | 08-17-2011 07:14 PM |
Hacks A HACK Problem with DXG of FW 2.5.8 | Toyqiu | Amazon Kindle | 2 | 05-06-2011 09:12 PM |
DXG and problem with greek dictionary lookup. | feynfeyn | Kindle Developer's Corner | 1 | 02-13-2011 09:58 AM |