Quantcast
Channel: MobileRead Forums - Kindle Developer's Corner
Viewing all 4450 articles
Browse latest View live

Native Does KT3 support ext4?


mkfs.ext3 /dev/mmcblk0p4

$
0
0
Then I modified /etc/fstab.
Kindle doesn't mount it.

Tutorial Alpine Linux on Kindle

Tutorial Alpine Linux on Kindle

KT2 Downgrade Kindle Basic(KT2)

$
0
0
I wanted to jailbreak my Kindle Basic so I followed the instructions in this thread:
https://www.mobileread.com/forums/sh...d.php?t=275877

unfortunately I found out that I couldn't jailbreak my current Kindle firmware so I tried to downgrade it. I downloaded the correct *.bin file and placed it in the root directory of my kindle but the Update Kindle button is grayed out and I found that the file was automaticaly deleted. I tried the method given here:
https://www.mobileread.com/forums/sh...2&postcount=13

but I got the following errors

Code:

root@kali:~# cd /media/root/Kindle
root@kali:/media/root/Kindle# ls
documents  system  update  update_zh_$(cd mnt && cd us && sh zh.sh).bin  zh.sh
root@kali:/media/root/Kindle# chmod +x ./zh.sh
root@kali:/media/root/Kindle# ./zh.sh
bash: ./zh.sh: Permission denied
root@kali:/media/root/Kindle# sudo ./zh.sh
sudo: ./zh.sh: command not found
root@kali:/media/root/Kindle# sudo su
root@kali:/media/root/Kindle# ./zh.sh
bash: ./zh.sh: Permission denied

What i can i do to downgrade my kindle and is there any other way of jailbreaking it. the firmware version is 5.8.10
:help::help::help:

KV It is possible replace u-boot & uImage ?

$
0
0
Hi !
I spend long time for answer for simple question:
my KV has upgrade to 5.8.10 so I can't downgrade to fw 5.5.0 and jb etc.
But I thinking this happen because newest uboot/uImage blocking update initial fw.
So maybe is possible replace new uboot/uImage with older version exstracted from eg. fw 5.6.5 and downgrade to fw 5.5.0 ??

Do I think right ?

Tutorial * Linux on Kindle

PW3 5.8.10 jb-ed: MRPI keeps destroying some packages

$
0
0
Hi,

I did a severe mistake to reset a newly installed 5.8.10 update.
My PW3 has been jb'ed before and thanks to the great tool "Update_jailbreak_hotfix_1.14_5.8.10_install.b in" the jb has been recovered successfully or so it seems.

When re-installing my extensions I've noticed some are working others not. Python, Usbnet and the dummy packages went flawlessly.

Unfortunately neither the screen saver nor the librariansync package will install and the log file shows this:


Package 'Update_librariansync_1.10_kindle5.bin' (librariansync 1.10 kindle5) is not targeting your device [0KB vs. 11 0F 10 24 1B 1C 1D 1F 20 D4 5A D5 D6 D7 D8 F2 17 60 62 5F C6 13 54 53], skipping.

Do you have a hint what is happening here?

Matthias

Native Ledger: Command Line Accounting on the Kindle!

$
0
0
Description(from the website):
Ledger is a powerful, double-entry accounting system that is accessed from the UNIX command-line. This may put off some users, as there is no flashy UI, but for those who want unparalleled reporting access to their data, there really is no alternative.

Author: John Wiegley, started in 2003.

Website: ledger-cli.org

Version: 2.6.2-3.1

Porting: Directly extracted from the Debian-Wheezy-Armel repository.

Works on: Should work on all kindles from KT1 onwards. Tested OK on PW1, PW3 and KT3.

Installation: Extract the attached zip(ledger.zip) into /mnt/us/extensions/.

Usage:
After selecting the ledger menu entry in KUAL, a kterm window will open with the library files pre-loaded. Try these commands with the included 'sample.dat' file:
  • Code:

    ledger (shows basic help)
  • Code:

    ledger -f sample.dat bal (shows the balance)
  • Code:

    ledger -f sample.dat reg (shows the full register)
Read the attached documentation in html and pdf format for more details. There is also a text file installed in the ledger home directory. Browse through this with the command 'less ledger.txt'.

Latest version:
Is 3.1, with more features and a bigger user manual. The Debian-Jessie-Armel port however requires a lot of library files to run on kindles(PW3 onwards). And also has some display distortion problems.

Links:
Attachments:
  • ledger.zip (installation files)
  • ledger-doc.zip (User manuals)
  • *.png (Screenshots from PW1)

Attached Thumbnails
Click image for larger version

Name:	ledger_balance.png
Views:	N/A
Size:	18.7 KB
ID:	158647   Click image for larger version

Name:	ledger_register.png
Views:	N/A
Size:	31.0 KB
ID:	158648  
Attached Files
File Type: zip ledger.zip (583.3 KB)
File Type: zip ledger-doc.zip (340.5 KB)

After jailbreak, I can not registering amz account

$
0
0
Hello,

I just took a Kindle gen 1 from my room-mate, and jailbreak it

I downgrade from 5.6.1.1 to 5.3.3 and jailbreak like instruction, installed KoReader

everything was great until I realized that I can not de-registering my amz account (Unable to Connect) and "Update your Kindle" in grey-out.
P/S: I need this because "Send to Kindle" feature doesn't work.

I try everything including "Reset Device" and Now I can not register my amz to Kindle.

Can you help me? :(
Thanks

Bricked PW3. Please help.

$
0
0
Hi guys.
I need your help if you could advise me.
I read already many forums and I think the only solution is to connect the pw3 motherboard with usb tty and try to fix it but i just want to confirm that this is the last resort.

My niece`s pw3 was working fine until few days ago when it did not start anymore. It`s about 2-3 years old so it`s out of warranty.

So if the kindle has battery I press the power button the light turns green for 2 sec, the led`s light up and i have a 1 second flash and then it`s stuck on the tree image and the led`s stay on until there is no more battery.
i tried the 40 sec thing with no luck.

When it`s connected to the computer or with the power adapter the light is orange and it`a charging correctly.

Regarding the part where it should show up in the computer or now:

If the kindle is without any battery left like it is now and I plug it in the computer , it starts charging...only the orange light working, no activity from the computer. After about 5min when the battery and the charger finally shows up on the kindle screen the computer recognizes the attached kindle and i see it in diskpart with 0mb. ( tried already with select volume but no luck).

But the thing is after few minutes when the battery is charged enough to start on it`s on, the battery and the charger disappear from the screen, image flashes, the led`s turn on and again the tree screen and the computer doesn`t even shows a device connected anymore.


What are my options?
Is there anything i can try or is the solution with usb tty the only way or i can just throw it in the garbage.

Any help is appreciated.

Thank you

device is busy!

$
0
0
Code:

# chroot.sh
......
# fuser /dev
# exit
umount: /mnt/base-us/root/dev: device is busy
umount: /mnt/base-us/root/dev: device is busy
umount: /mnt/base-us/root: device is busy
umount: /mnt/base-us/root: device is busy

Possible way to downgrade your kindle on 5.8.10

$
0
0
I have a kindle voyage which run on 5.8.10 now, I want to jailbreak it, but found the firmware update_KV_5.5.0_initial.bin always disappear when I disconnect the USB.

So next time I did not to disconnect USB, and long press the power button to let it reboot without disconnect, seems it can flash the firmware, however, it report me ERROR 16 after flash, and it let me reboot to my 5.8.10 without problem.

Tutorial mkfs.ext3 /dev/mmcblk0p4

$
0
0
KT3:
fstab-old
Code:

# /etc/fstab: static file system information.
#
# <file system>  <mount pt>    <type> <options>                                        <dump>  <pass>
/dev/mmcblk0p1    /            ext3  suid,exec,auto,nouser,async,rw,noatime,nodiratime 0      1
proc              /proc        proc  defaults                                          0      0
sysfs            /sys          sysfs  defaults                                          0      0
devpts            /dev/pts      devpts defaults,gid=5,mode=620                          0      0
usbfs            /proc/bus/usb usbfs  defaults                                          0      0
/dev/loop/0      /mnt/base-us  vfat  defaults,noatime,nodiratime,utf8,noexec,uid=0,gid=0,umask=0,shortname=mixed              0      0
/dev/mmcblk1p1    /mnt/base-mmc vfat  defaults,noatime,nodiratime,utf8,noexec,shortname=mixed              0      0
fsp#/mnt/base-us  /mnt/us      fuse  allow_other,umask=0,uid=0,gid=0,rw,max_write=65536,max_readahead=65536,noatime,noexec,nosuid,nodev,nonempty    0      0
fsp#/mnt/base-mmc /mnt/mmc      fuse  rw,max_write=65536,max_readahead=65536,noatime,exec,nosuid,nodev,nonempty    0      0

fstab
Code:

# /etc/fstab: static file system information.
#
# <file system>  <mount pt>    <type> <options>                                        <dump>  <pass>
/dev/mmcblk0p1    /            ext3  suid,exec,auto,nouser,async,rw,noatime,nodiratime 0      1
proc              /proc        proc  defaults                                          0      0
sysfs            /sys          sysfs  defaults                                          0      0
devpts            /dev/pts      devpts defaults,gid=5,mode=620                          0      0
usbfs            /proc/bus/usb usbfs  defaults                                          0      0
/dev/loop/0      /mnt/base-us  ext3  defaults              0      0
/dev/mmcblk1p1    /mnt/base-mmc vfat  defaults,noatime,nodiratime,utf8,noexec,shortname=mixed              0      0
fsp#/mnt/base-us  /mnt/us      fuse  allow_other,umask=0,uid=0,gid=0,rw,max_write=65536,max_readahead=65536,noatime,noexec,nosuid,nodev,nonempty    0      0
fsp#/mnt/base-mmc /mnt/mmc      fuse  rw,max_write=65536,max_readahead=65536,noatime,exec,nosuid,nodev,nonempty    0      0

Copy fstab to kindle.
Code:

mkdir /tmp/us
cd /tmp/us
cp -r /mnt/us/* ./
umount /mnt/base-us
mkfs.ext3 /dev/loop/0
mntroot rw
cat fstab > /etc/fstab
mount -t ext3 /dev/loop/0 /mnt/base-us
cp -r ./* /mnt/base-us
reboot

/dev/mmcblk1p1 ?

$
0
0
Where's /dev/mmcblk1p1?

/dev/mmcblk1p1 /mnt/base-mmc vfat defaults,noatime,nodiratime,utf8,noexec,shortname= mixed 0 0

fsp#/mnt/base-mmc /mnt/mmc fuse rw,max_write=65536,max_readahead=65536,noatime,exe c,nosuid,nodev,nonempty 0 0

[KT3]Can I `rm -fr /mnt/us/*`?

mount -o loop a.ext4 a -- wrong fs type!

$
0
0
KT3:
cat /proc/filesystem
...
ext3
ext2
ext4
...

cd /mnt/us
dd if=/dev/zero of=a.ext4 bs=1M count=16
mkfs.ext4 a.ext4
mount -o loop a.ext4 a
Code:

mount: wrong fs type, bad option, bad superblock on /dev/loop/8
...

Code:

EXT4-fs (loop8): Filesystem with huge files cannot be mounted RDWR without CONFIG_LBDAF

Tutorial Ubuntu on KT3 without *.ext3

$
0
0
STEP 1:
Copy get.sh, inst.x.*.sh, chroot.sh to Kindle
STEP 2
STEP 3:
Code:

/mnt/us/get.sh
/mnt/us/inst.x.*.sh

STEP 4: Chroot into ubuntu
Code:

/mnt/us/chroot.sh
get.sh
Code:

#!/bin/sh
root=/mnt/base-us/root
mkdir -p $root
wget -O - "http://cdimage.ubuntu.com/ubuntu-base/releases/17.04/release/ubuntu-base-17.04-base-armhf.tar.gz" | tar -xzvf - -C $root

inst.x.xfce4.zh.CN.sh
Code:

#!/bin/sh
root=/mnt/base-us/root
cat > $root/root/inst.sh << 'EOF'
apt update
apt install -f -y
apt full-upgrade -y
apt install -y locales
sed -i '/zh_CN.UTF-8/s/^#//' /etc/locale.gen
locale-gen zh_CN.UTF-8
apt install -y xserver-xephyr xfce4 onboard xfce4-terminal fonts-wqy-microhei fcitx-googlepinyin
EOF
#APT::Install-Recommends "0";
#APT::Install-Suggests "0";
cat >> $root/etc/apt/apt.conf << 'EOF'
APT::Sandbox::User root;
EOF
cat > $root/usr/local/bin/start-x-flip << 'EOF'
#!/bin/bash
export DISPLAY=:0
Xephyr :1 -title "L:A_N:application_ID:xephyr_O:R_PC:N" -screen 800x600 -cc 4 -dpi 167 -nocursor &
sleep 3
export DISPLAY=:1
startxfce4
EOF
mkdir -p $root/usr/share/applications/
cat > $root/usr/share/applications/stopx.desktop << 'EOF'
[Desktop Entry]
Categories=Network;InstantMessaging;GTK;GNOME;
Name=Stop X
Version=1.0
Exec=killall Xephyr xfce4-session
Terminal=false
Type=Application
EOF

chmod +x $root/root/inst.sh
chmod +x $root/usr/local/bin/start-x-flip

/mnt/us/chroot.sh /root/inst.sh

rm $root/root/inst.sh

chroot.sh
Code:

#!/bin/sh
root=/mnt/base-us/root
for d in dev dev/pts proc sys ;do
        mount -o bind /$d $root/$d || exit
done
temp="$(mktemp -d)"
mount -o bind "$temp" $root/tmp || exit
cp /etc/hostname /etc/hosts /etc/resolv.conf $root/etc/
shell=/bin/sh
if [ -f $root/bin/bash ] ;then
        shell=/bin/bash
fi
if [ -n "$1" ] ;then
        shell="$1"
fi
HOME=/root chroot $root $shell
for d in dev/pts dev proc sys tmp ;do
        umount $root/$d
done
rm -fr "$temp"

PW2 Possible explanation for B0 vs 90

$
0
0
I have a B0D4, and it has 4 GB.
I have a 90D4, and it has 2 GB.

That is all.

PW3 manual jailbreak 5.8.10

$
0
0
hello. I am new to this forum and this is my first post.
my kindle is running fw 5.8.10 by default and after some searching I found out that the only way could be serial jailbreak/root. so I opened up my kindle, connected serial pins, removed the root password. annndd.. the part that says copy this files to kindle is confusing? do I just need to copy .pem file to the kindle? or do I have to downgrade? dump new fw?
I sure can do these manually. so someone just tell me what should be done to jailbreak?
Viewing all 4450 articles
Browse latest View live