Thread: K5 JBPatch
View Single Post
Old 10-24-2012, 06:10 PM   #867
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: 6021146
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:
Originally Posted by ixtab View Post
snip...

Note: the attached file *is* the jbpatch.jar, but mobileread won't allow to attach jar files. Just rename jbpatch.zip to jbpatch.jar (don't unzip it).
So, yeah. I am now in a position to test this again.

Utterly clean kindle 3.4

renamed zip to jar

put to device with mntroot rw
sftp://root@k/opt/amazon/ebook/lib/jbpatch.jar

edit /opt/amazon/ebook/bin/start.sh

to say:

Code:
## remove old bootstrap
## --  app=com.lab126.linux.arm.LuigiServiceProvider

## ++ new bootstrap
app=com.mobileread.ixtab.jbpatch.bootstrap.K3Startup
##
that's the complete steps correct?

thanks. I have the file in place just want to double check my work this time before another 4 hour hose down

EDIT:

what about??

Code:
## conditionally swap to old bootstrap
## 
if [ -n "${FRAMEWORK_CRASH_FILE}" ]; then
	app=com.lab126.linux.arm.LuigiServiceProvider
    echo "## NOTE: Framework is using default loader as crash detected. ##"
    echo "## To revert back to the jbpath loader, remove file: 

 ## touch /mnt/us/ENABLE_DIAGS  ?? Maybe?
${FRAMEWORK_CRASH_FILE} ##"
	else
## ++ new bootstrap
	app=com.mobileread.ixtab.jbpatch.bootstrap.K3Startup
##
fi
taking our lead from the header script bits..

Quote:
DEBUG_CVM_CRASH_FILE=/mnt/us/DEBUG_CVM_CRASH
# Legacy file, will be removed shortly
DONT_RESTART_FRAMEWORK_FILE_OLD=/mnt/us/system/dont-restart-framework
which are the files that ultimately get created on total foof.
(and referenced as $FRAMEWORK_CRASH_FILE)

Cheers.

Last edited by twobob; 10-26-2012 at 08:11 AM. Reason: context, alternatives?
twobob is offline   Reply With Quote