Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Readers > Amazon Kindle > Kindle Developer's Corner

Notices

Reply
 
Thread Tools Search this Thread
Old 11-10-2013, 07:22 AM   #1
Skeeve
Zealot
Skeeve ought to be getting tired of karma fortunes by now.Skeeve ought to be getting tired of karma fortunes by now.Skeeve ought to be getting tired of karma fortunes by now.Skeeve ought to be getting tired of karma fortunes by now.Skeeve ought to be getting tired of karma fortunes by now.Skeeve ought to be getting tired of karma fortunes by now.Skeeve ought to be getting tired of karma fortunes by now.Skeeve ought to be getting tired of karma fortunes by now.Skeeve ought to be getting tired of karma fortunes by now.Skeeve ought to be getting tired of karma fortunes by now.Skeeve ought to be getting tired of karma fortunes by now.
 
Skeeve's Avatar
 
Posts: 142
Karma: 669192
Join Date: Nov 2013
Device: Kindle 4.1.1 no touch
geekmaster's data.tar.gz and K4NT FW 4.1.1

Hi!

Yesterday I wanted to activate the screensavers without jailbreaking my K4NT. I already was told in another thread that it's not possible, but still do not understand why it shouldn't be possible. So maybe someone can explain to me?

Here is what I understand:

There is a data.tar.gz file which the Kindle will extract upon boot. The content goes to /var/local/system and is the mntus.param file. This one should be executed by the kindle.

I looked into the file and tried to understand it.

Code:
MNTUS_PART_START=16
MNTUS_PART_OFFSET=8192
MNTUS_FATSIZE=32

## use actual size from fdisk (minus 8KB offset):
let MNTUS_PART_SIZE="`fdisk -l|grep FAT32|awk '{print $4}'`-8"

## if invalid size (normal during main boot),
## then use known size for each serial number:
if [ $MNTUS_PART_SIZE -lt 1000000 ]; then
  SER4=`grep Serial /proc/cpuinfo|cut -b12-15`
  case $SER4 in
  "B004"|"B005"       ) MNTUS_PART_SIZE=3567224 ;; # DX
  "B006"|"B008"|"B00A") MNTUS_PART_SIZE=3205336 ;; # K3
  "B009"              ) MNTUS_PART_SIZE=3510232 ;; # DXG
  "B00E"              ) MNTUS_PART_SIZE=1423352 ;; # K4 (mini)
  "B00F"|"B011"       ) MNTUS_PART_SIZE=3377144 ;; # K5 (touch)
  *)
    ## unknown size, exit may erase USB Drive!
    eips -c
    eips  5 28 "This $SER4 Kindle is not supported..."
    eips 10 30 "(${MNTUS_PART_SIZE}KB USB Drive)"
    eips  7 32 "Removing installer files..."
    sleep 8
    ;;                   
  esac
fi

mount -o rw,noatime,nodiratime,offset=8192 /dev/mmcblk0p4 /mnt/us
[ -f /mnt/us/RUNME.sh -a ! -f /mnt/us/RUNME.done ] && (
  touch /mnt/us/RUNME.done
  sh /mnt/us/RUNME.sh 2>&1 >/mnt/us/RUNME.out
)
umount -d /mnt/us
I'm not sure whether or not the file is really executed. If it were I should have a RUNME.done, which I do not get.

So the question is, whether the file gets executed or if the file simply refrains from executing RUNME.sh because the preliminary tests fail. But wouldn't I see the messages printed with eips then?

Could someone please help me understand this? I especially do not understand why jailbreaking should work (as I'm told), when it's using the same approach, namely putting mntus.param into the filesystem.

Another question is: Does the mntu.params stay on the device? Have I now lost my original mntu.params?
Skeeve is offline   Reply With Quote
Old 11-10-2013, 07:51 AM   #2
Skeeve
Zealot
Skeeve ought to be getting tired of karma fortunes by now.Skeeve ought to be getting tired of karma fortunes by now.Skeeve ought to be getting tired of karma fortunes by now.Skeeve ought to be getting tired of karma fortunes by now.Skeeve ought to be getting tired of karma fortunes by now.Skeeve ought to be getting tired of karma fortunes by now.Skeeve ought to be getting tired of karma fortunes by now.Skeeve ought to be getting tired of karma fortunes by now.Skeeve ought to be getting tired of karma fortunes by now.Skeeve ought to be getting tired of karma fortunes by now.Skeeve ought to be getting tired of karma fortunes by now.
 
Skeeve's Avatar
 
Posts: 142
Karma: 669192
Join Date: Nov 2013
Device: Kindle 4.1.1 no touch
I experimented a bit an added this to the top of the mntu.params file:

Code:
eips -c
eips 5 28 "Starting..."
sleep 8
eips 5 30 "wait 8 secs more..."
sleep 8
I thought this would clear the screen, and then display "Starting...", wait 8 seconds, display "wait 8 secs more...", wait again and then continue.

Well - It didn't. My Kindle booted as normal.
Skeeve is offline   Reply With Quote
Advert
Old 11-10-2013, 08:03 AM   #3
icantbebothered
Penguin
icantbebothered ought to be getting tired of karma fortunes by now.icantbebothered ought to be getting tired of karma fortunes by now.icantbebothered ought to be getting tired of karma fortunes by now.icantbebothered ought to be getting tired of karma fortunes by now.icantbebothered ought to be getting tired of karma fortunes by now.icantbebothered ought to be getting tired of karma fortunes by now.icantbebothered ought to be getting tired of karma fortunes by now.icantbebothered ought to be getting tired of karma fortunes by now.icantbebothered ought to be getting tired of karma fortunes by now.icantbebothered ought to be getting tired of karma fortunes by now.icantbebothered ought to be getting tired of karma fortunes by now.
 
icantbebothered's Avatar
 
Posts: 1,017
Karma: 4742434
Join Date: Jul 2012
Device: Kindle Touch 5.3.2.1
To install tge screensaver hack you need to run a non amazon install package. Which is noincluding llwed without the jailbreak. So jailbreak your kindle.
icantbebothered is offline   Reply With Quote
Old 11-10-2013, 08:06 AM   #4
Skeeve
Zealot
Skeeve ought to be getting tired of karma fortunes by now.Skeeve ought to be getting tired of karma fortunes by now.Skeeve ought to be getting tired of karma fortunes by now.Skeeve ought to be getting tired of karma fortunes by now.Skeeve ought to be getting tired of karma fortunes by now.Skeeve ought to be getting tired of karma fortunes by now.Skeeve ought to be getting tired of karma fortunes by now.Skeeve ought to be getting tired of karma fortunes by now.Skeeve ought to be getting tired of karma fortunes by now.Skeeve ought to be getting tired of karma fortunes by now.Skeeve ought to be getting tired of karma fortunes by now.
 
Skeeve's Avatar
 
Posts: 142
Karma: 669192
Join Date: Nov 2013
Device: Kindle 4.1.1 no touch
Quote:
Originally Posted by icantbebothered View Post
To install tge screensaver hack you need to run a non amazon install package. Which is noincluding llwed without the jailbreak. So jailbreak your kindle.
Thanks for your reply but how does this answer my question "I especially do not understand why jailbreaking should work (as I'm told), when it's using the same approach, namely putting mntus.param into the filesystem."

BTW: Which package would I need to install? I just wanted access to the /opt/amazon/screen_saver/600x800 directory. I don't want this "Last Cover" screensaver.

Last edited by Skeeve; 11-10-2013 at 08:17 AM.
Skeeve is offline   Reply With Quote
Old 11-10-2013, 09:16 AM   #5
knc1
Going Viral
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: 17,212
Karma: 18210809
Join Date: Feb 2012
Location: Central Texas
Device: No K1, PW2, KV, KOA
Quote:
Originally Posted by Skeeve View Post
Thanks for your reply but how does this answer my question "I especially do not understand why jailbreaking should work (as I'm told), when it's using the same approach, namely putting mntus.param into the filesystem."
The link to where you where told that please.
knc1 is offline   Reply With Quote
Advert
Old 11-10-2013, 09:34 AM   #6
Skeeve
Zealot
Skeeve ought to be getting tired of karma fortunes by now.Skeeve ought to be getting tired of karma fortunes by now.Skeeve ought to be getting tired of karma fortunes by now.Skeeve ought to be getting tired of karma fortunes by now.Skeeve ought to be getting tired of karma fortunes by now.Skeeve ought to be getting tired of karma fortunes by now.Skeeve ought to be getting tired of karma fortunes by now.Skeeve ought to be getting tired of karma fortunes by now.Skeeve ought to be getting tired of karma fortunes by now.Skeeve ought to be getting tired of karma fortunes by now.Skeeve ought to be getting tired of karma fortunes by now.
 
Skeeve's Avatar
 
Posts: 142
Karma: 669192
Join Date: Nov 2013
Device: Kindle 4.1.1 no touch
Quote:
Originally Posted by knc1 View Post
The link to where you where told that please.
https://www.mobileread.com/forums/sho...&postcount=130

Linking to https://wiki.mobileread.com/wiki/Kindle4NTHacking

I looked into the data.tar.gz mentioned there.
Skeeve is offline   Reply With Quote
Old 11-10-2013, 09:49 AM   #7
knc1
Going Viral
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: 17,212
Karma: 18210809
Join Date: Feb 2012
Location: Central Texas
Device: No K1, PW2, KV, KOA
Quote:
Originally Posted by Skeeve View Post
And you want to modify that process from installing the jailbreak certificate to install and/or modify other files?
knc1 is offline   Reply With Quote
Old 11-10-2013, 10:03 AM   #8
NiLuJe
BLAM!
NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.
 
NiLuJe's Avatar
 
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
There's a reason we use a specific process, so unless you want to understand the inner-workings of the jb for fun, I'd recommend sticking to it .
NiLuJe is offline   Reply With Quote
Old 11-10-2013, 10:20 AM   #9
knc1
Going Viral
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: 17,212
Karma: 18210809
Join Date: Feb 2012
Location: Central Texas
Device: No K1, PW2, KV, KOA
Quote:
Originally Posted by NiLuJe View Post
There's a reason we use a specific process, so unless you want to understand the inner-workings of the jb for fun, I'd recommend sticking to it .
Agreed.
Just was trying to be certain I understood the question.

The developers here have put in years of work to establish and maintain our system that re-uses Amazon's GUI Kindle Update tool.
knc1 is offline   Reply With Quote
Old 11-10-2013, 06:51 PM   #10
Skeeve
Zealot
Skeeve ought to be getting tired of karma fortunes by now.Skeeve ought to be getting tired of karma fortunes by now.Skeeve ought to be getting tired of karma fortunes by now.Skeeve ought to be getting tired of karma fortunes by now.Skeeve ought to be getting tired of karma fortunes by now.Skeeve ought to be getting tired of karma fortunes by now.Skeeve ought to be getting tired of karma fortunes by now.Skeeve ought to be getting tired of karma fortunes by now.Skeeve ought to be getting tired of karma fortunes by now.Skeeve ought to be getting tired of karma fortunes by now.Skeeve ought to be getting tired of karma fortunes by now.
 
Skeeve's Avatar
 
Posts: 142
Karma: 669192
Join Date: Nov 2013
Device: Kindle 4.1.1 no touch
I want to understand also for the fun of it. And I feel ashamed a bit as I missed the ENABLE_DIAGS part Sorry!

But anyhow: I get the message that 9023 is not supported. "-8KB USB Drive"
Skeeve is offline   Reply With Quote
Old 11-10-2013, 07:39 PM   #11
NiLuJe
BLAM!
NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.
 
NiLuJe's Avatar
 
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
@Skeeve:

What message? When/where/how?
NiLuJe is offline   Reply With Quote
Old 11-11-2013, 02:10 AM   #12
Skeeve
Zealot
Skeeve ought to be getting tired of karma fortunes by now.Skeeve ought to be getting tired of karma fortunes by now.Skeeve ought to be getting tired of karma fortunes by now.Skeeve ought to be getting tired of karma fortunes by now.Skeeve ought to be getting tired of karma fortunes by now.Skeeve ought to be getting tired of karma fortunes by now.Skeeve ought to be getting tired of karma fortunes by now.Skeeve ought to be getting tired of karma fortunes by now.Skeeve ought to be getting tired of karma fortunes by now.Skeeve ought to be getting tired of karma fortunes by now.Skeeve ought to be getting tired of karma fortunes by now.
 
Skeeve's Avatar
 
Posts: 142
Karma: 669192
Join Date: Nov 2013
Device: Kindle 4.1.1 no touch
The message produced by this part of the script:

Code:
  *)
    ## unknown size, exit may erase USB Drive!
    eips -c
    eips  5 28 "This $SER4 Kindle is not supported..."
    eips 10 30 "(${MNTUS_PART_SIZE}KB USB Drive)"
    eips  7 32 "Removing installer files..."
    sleep 8
    ;;
Skeeve is offline   Reply With Quote
Old 11-11-2013, 02:12 AM   #13
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,586
Karma: 6299991
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
script was written long before your serial type existed. Hack it in there...?
Fairly sure they fixed that hole on the 2013 models but cant hurt to try...


"9023" ) MNTUS_PART_SIZE=1423352 ;; # K4 (newbie)

obviously you would have to CHECK the part size is still the same on the newer k4 device (I only have an older one)

Anyone? check that?

Last edited by twobob; 11-11-2013 at 02:14 AM.
twobob is offline   Reply With Quote
Old 11-11-2013, 08:42 AM   #14
NiLuJe
BLAM!
NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.
 
NiLuJe's Avatar
 
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
Also, please use the proper script from the K4 JailBreak, it's much, much more resilient to this type of thing .
NiLuJe is offline   Reply With Quote
Old 11-11-2013, 03:44 PM   #15
Skeeve
Zealot
Skeeve ought to be getting tired of karma fortunes by now.Skeeve ought to be getting tired of karma fortunes by now.Skeeve ought to be getting tired of karma fortunes by now.Skeeve ought to be getting tired of karma fortunes by now.Skeeve ought to be getting tired of karma fortunes by now.Skeeve ought to be getting tired of karma fortunes by now.Skeeve ought to be getting tired of karma fortunes by now.Skeeve ought to be getting tired of karma fortunes by now.Skeeve ought to be getting tired of karma fortunes by now.Skeeve ought to be getting tired of karma fortunes by now.Skeeve ought to be getting tired of karma fortunes by now.
 
Skeeve's Avatar
 
Posts: 142
Karma: 669192
Join Date: Nov 2013
Device: Kindle 4.1.1 no touch
Thanks for all your patience with me.

I finally followed the advices and now I have a jailbroken Kindle and my son as a screensaver picture.

I also added an
ln -s /opt/amazon/screen_saver/600x800_ /mnt/us/screensaver_orig
to the runme.sh, but this part seemed not to have worked. I think I'll need another "jailbreak run" to actually copy over the original screensaver pictures, should I eally want them.
Skeeve is offline   Reply With Quote
Reply

Tags
4.1.1, k4nt


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Problem Installing Duokan using data.tar.gz (K4) Tain Kindle Developer's Corner 3 07-02-2012 07:50 PM
fsimage.tar.gz jekvb PocketBook 2 06-12-2011 07:16 PM
Where is calibre-0.7.43.tar.gz m.tarenskeen Calibre 7 02-05-2011 11:21 AM
Wikipedia offline and .tar format okalyddude Sony Reader 11 11-24-2009 04:28 AM


All times are GMT -4. The time now is 07:09 PM.


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