![]() |
#32 |
Nameless Being
|
Oh wow your code is looks far more complicated lol.
I was just thinking of unpacking it and changing one of the variables to run a cat on the KT2 charging directory. Slightly off topic, but what language is all this written in, and how would I go about debugging other stuff thats crashing? Thanks for all the stuff you do in this community man. |
![]() |
Advert | |
|
![]() |
#33 |
BLAM!
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 13,492
Karma: 26047188
Join Date: Jun 2010
Location: Paris, France
Device: Kindle 2i, 3g, 4, 5w, PW, PW2, PW5; Kobo H2O, Forma, Elipsa, Sage, C2E
|
@Gigahawk: This, specifically (as well as a number of KUAL extensions) are basic shell scripts. (The keyword being 'shell', not 'bash', the Kindle bundles a terribly outdated version of busybox ash).
In the case of the RP/CRP, there's also an upstart job in there. Which, funnily enough, includes a shell script part xD. I honestly don't remember how the original code looked, but it's basically three lines, so... ![]() Last edited by NiLuJe; 02-06-2016 at 06:44 PM. |
![]() |
![]() |
![]() |
#34 |
Nameless Being
|
Ah thanks, that makes sense.
At the risk of sounding like an idiot, what exactly is "RP/CRP"? |
![]() |
![]() |
#35 | |
Going Viral
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 17,212
Karma: 18210809
Join Date: Feb 2012
Location: Central Texas
Device: No K1, PW2, KV, KOA
|
Quote:
enter: sh -x script on the command line. or put a: set -x line in the script itself. Same-Same as Bash in this respect. |
|
![]() |
![]() |
Advert | |
|
![]() |
#36 |
BLAM!
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 13,492
Karma: 26047188
Join Date: Jun 2010
Location: Paris, France
Device: Kindle 2i, 3g, 4, 5w, PW, PW2, PW5; Kobo H2O, Forma, Elipsa, Sage, C2E
|
@Gigahawk: RP: RescuePack; CRP: Coward's Rescue Pack.
(I tend to use a *lot* of acronyms, hopefully most of them should be transparent when used in-context, but don't hesitate to ask if something looks fishy ^^). |
![]() |
![]() |
![]() |
#37 |
Junior Member
![]() Posts: 1
Karma: 10
Join Date: May 2022
Device: none
|
Error attempting to install kindle-crp-3.N-r18910.tar.xz
When trying to install kindle-crp-3.N-r18910.tar.xz on my Kindle PW1 using MRPI, the install fails and this is the MPRI log.
Code:
MD5 Hash 135ceb36303ce695d8652051d3caf342 Metadata 7 Metastring PackageName=CowardsRescuePack Metastring PackageVersion=3.N-r18910 Metastring PackageAuthor=dsmid, NiLuJe Metastring PackageMaintainer=NiLuJe Metastring PackagedWith=KindleTool v1.6.5.256-geff2b3d built by portage@localhost on Gentoo Metastring PackagedBy=niluje@tyrande Metastring PackagedOn=2022-04-30 @ 18:00:48 UTC x libotautils5 x cowardsdebrick.conf x run.ffs x libotautils5.sig x cowardsdebrick.conf.sig x run.ffs.sig x update-filelist.dat.sig x update-filelist.dat -- Running 'run.ffs' for 'crp 3.N I' (Update_crp_3.N_install.bin) @ Tue, 31 Jul 2012 16:23:22 -0742 system: I crp:install::Removing deprecated content system: I crp:install::Copying cowardsdebrick job to main partition Hu oh... Got return code 1 . . . :( Looking at the run.ffs script, it looks like its failing at line 33 Code:
[ -f "/etc/upstart/cowardsdebrick.conf" ] && make_mutable "/etc/upstart/cowardsdebrick.conf" || otautils_die "Unable to make old cowardsdebrick job mutable" So did this version ever work? |
![]() |
![]() |
![]() |
#38 |
Connoisseur
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 81
Karma: 502864
Join Date: Mar 2021
Device: Kindle Voyage
|
This sound similar to https://www.mobileread.com/forums/sh...&postcount=110
And see NiLuJe's reply https://www.mobileread.com/forums/sh...&postcount=111 |
![]() |
![]() |
![]() |
#39 | |
BLAM!
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 13,492
Karma: 26047188
Join Date: Jun 2010
Location: Paris, France
Device: Kindle 2i, 3g, 4, 5w, PW, PW2, PW5; Kobo H2O, Forma, Elipsa, Sage, C2E
|
Quote:
Pushing fixed builds right now, thanks ![]() |
|
![]() |
![]() |
![]() |
#40 |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,074
Karma: 3581333
Join Date: Sep 2014
Location: Ukraine
Device: Kindle PW2, PW3, PW4, Voyage
|
What is the last model of Kindle CRP works on?
|
![]() |
![]() |
![]() |
#41 |
BLAM!
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 13,492
Karma: 26047188
Join Date: Jun 2010
Location: Paris, France
Device: Kindle 2i, 3g, 4, 5w, PW, PW2, PW5; Kobo H2O, Forma, Elipsa, Sage, C2E
|
Code:
# Install (< Zelda, because no more diags) kindletool create ota2 "${KT_PM_FLAGS[@]}" -d touch -d paperwhite -d paperwhite2 -d basic -d voyage -d paperwhite3 -d oasis -d basic2 -C ../src Update_${PKGNAME}_${PKGVER}_install.bin |
![]() |
![]() |
![]() |
#42 |
Junior Member
![]() Posts: 2
Karma: 10
Join Date: May 2022
Location: Beijing, China
Device: Kindle 7 (KT2)
|
![]()
Just installed the May 8th version of CRP, and my Kindle 7 is stuck on the "tree" boot screen (I didn't install RP in the first place---I was a jerk).
It tried to boot into system on the first reboot even when it was plugged in, but then it rebooted again when the progress bar was half full, and stuck at the "tree" boot screen, without the progress bar. Now it does respond to long pressing the power button and tries to restart, but it can't boot into system or diags, no matter plugged in or not. I'm sure my kindle is properly jailbroken, and SCP was installed successfully. What are my options? |
![]() |
![]() |
![]() |
#43 |
BLAM!
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 13,492
Karma: 26047188
Join Date: Jun 2010
Location: Paris, France
Device: Kindle 2i, 3g, 4, 5w, PW, PW2, PW5; Kobo H2O, Forma, Elipsa, Sage, C2E
|
That would imply that it's failing to boot into diags, somehow :?.
That probably only leaves serial (if that's actually a thing on the KT2, I can never remember). |
![]() |
![]() |
![]() |
#44 |
Junior Member
![]() Posts: 2
Karma: 10
Join Date: May 2022
Location: Beijing, China
Device: Kindle 7 (KT2)
|
I don't have the TTL dongle with me so I guess I'll leave it bricked for now :(
Thanks for taking the time to reply though, I shall provide logs if I get my hands on my TTL dongle. |
![]() |
![]() |
![]() |
#45 |
Junior Member
![]() Posts: 1
Karma: 10
Join Date: Apr 2024
Device: PW2
|
Hm... either the forum ate my message or it still has to be approved. Sorry if this shows up as duplicate, I'll keep it short. Just reconfirming something, anyway.
I successfully jailbroke my PW2 after updating to 5.12.2.2, installed some other things successfully, tried to install RP and CRP with MRPI (RP failed, CRP went through), rebooted, now I'm stuck at the tree. Which I assume means one more reason to finally learn soldering ![]() It's not a high priority since the device was collecting dust already and I did this randomly on a whim, but if/when I get around to fixing this, I'll try to remember to post the crash log. Cheers and thanks for the helpful resources so far! |
![]() |
![]() |
![]() |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Rescue Pack for Paperwhite and Touch | ixtab | Kindle Developer's Corner | 130 | 05-28-2024 10:12 AM |
How could i re-install rescue pack? | tommytian | Kindle Developer's Corner | 2 | 06-18-2013 08:41 PM |
A problem of rescue pack for KPW | szfisher | Kindle Developer's Corner | 8 | 03-15-2013 05:50 PM |