Register Guidelines E-Books Search Today's Posts Mark Forums Read

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

Notices

Reply
 
Thread Tools Search this Thread
Old 11-22-2019, 09:48 AM   #1
zaoqi
github.com/zaoqi
zaoqi does all things with Zen-like beautyzaoqi does all things with Zen-like beautyzaoqi does all things with Zen-like beautyzaoqi does all things with Zen-like beautyzaoqi does all things with Zen-like beautyzaoqi does all things with Zen-like beautyzaoqi does all things with Zen-like beautyzaoqi does all things with Zen-like beautyzaoqi does all things with Zen-like beautyzaoqi does all things with Zen-like beautyzaoqi does all things with Zen-like beauty
 
Posts: 87
Karma: 32020
Join Date: Mar 2017
Location: - Zhejiang China
Device: Boox c67ml,Note S,Max2,KT3,KPW4,Kobo AurdHD,Touch N905C
Is it possible to format /mnt/us to ext3/4 to block OTA?

At least KT3 could support /mnt/base-us in ext3 format.
I have modified /etc/fstab and used mkfs.ext3, it worked, despite some weird bugs (such as unable to transfer files properly with the computer)
I seem to remember that the OTA update does not support ext3, but I don't have KT3 now, so I can't test it.

Last edited by zaoqi; 11-22-2019 at 09:50 AM.
zaoqi is offline   Reply With Quote
Old 11-22-2019, 12:59 PM   #2
knc1
99.44/100% On Holiday
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,108
Karma: 18200597
Join Date: Feb 2012
Location: Central Texas
Device: No K1, PW2, KV, KOA
Quote:
Originally Posted by zaoqi View Post
At least KT3 could support /mnt/base-us in ext3 format.
I have modified /etc/fstab and used mkfs.ext3, it worked, despite some weird bugs (such as unable to transfer files properly with the computer)
I seem to remember that the OTA update does not support ext3, but I don't have KT3 now, so I can't test it.
Ah, but you evidently never restarted your KT3 ...
The start-up process will discover the "corrupted" (ext3) storage area and reformat it to FAT32 for you.
(And then when the kernel starts up, it will not find the FAT32 setting in /etc/fstab and crash.)
Isn't Amazon so helpful?
knc1 is offline   Reply With Quote
Advert
Old 11-26-2019, 11:24 PM   #3
pavel-s
Enthusiast
pavel-s began at the beginning.
 
Posts: 30
Karma: 10
Join Date: Sep 2017
Device: PW3/4
But why is it not possible to just remove/update the script that responsible for downloading the update (on a rooted kindle)?
pavel-s is offline   Reply With Quote
Old 11-26-2019, 11:27 PM   #4
knc1
99.44/100% On Holiday
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,108
Karma: 18200597
Join Date: Feb 2012
Location: Central Texas
Device: No K1, PW2, KV, KOA
Quote:
Originally Posted by pavel-s View Post
But why is it not possible to just remove/update the script that responsible for downloading the update (on a rooted kindle)?
You only have to recode that part of the initramFS that is bundled with the kernel and then get that kernel build signed with Amazon's private key.
(The newer models (PW4 for example) now have the secure boot hardware feature enabled, one of the reasons people are having trouble trying to boot over the serial port.)

Last edited by knc1; 11-26-2019 at 11:30 PM.
knc1 is offline   Reply With Quote
Old 11-26-2019, 11:43 PM   #5
pavel-s
Enthusiast
pavel-s began at the beginning.
 
Posts: 30
Karma: 10
Join Date: Sep 2017
Device: PW3/4
Quote:
Originally Posted by knc1 View Post
You only have to recode that part of the initramFS that is bundled with the kernel and then get that kernel build signed with Amazon's private key.
(The newer models (PW4 for example) now have the secure boot hardware feature enabled, one of the reasons people are having trouble trying to boot over the serial port.)
Won't /etc/hosts be helpful then? The kernel itself should make a call via the network, isn't it? If so, there are should be a lot of places where you can block it. Or am I missing something again?
pavel-s is offline   Reply With Quote
Advert
Old 11-27-2019, 07:24 AM   #6
ezdiy
Connoisseur
ezdiy inspires wonder wherever he or she goes.ezdiy inspires wonder wherever he or she goes.ezdiy inspires wonder wherever he or she goes.ezdiy inspires wonder wherever he or she goes.ezdiy inspires wonder wherever he or she goes.ezdiy inspires wonder wherever he or she goes.ezdiy inspires wonder wherever he or she goes.ezdiy inspires wonder wherever he or she goes.ezdiy inspires wonder wherever he or she goes.ezdiy inspires wonder wherever he or she goes.ezdiy inspires wonder wherever he or she goes.
 
Posts: 54
Karma: 151518
Join Date: Oct 2019
Device: KT, KPW4, PB740-2
It's entirely doable, some years ago I went a bit further relayouted partition altogether on Kindle 2 - so as to prevent the system partition taking up space (poor thing was like 2GB, and fw root few hundreds mb of space used...). File sync then rigged with mtpd (usb) & samba (wifi).

As a method to block OTA it's overkill, as you're already editing initrd to begin with, and you can do far simpler things there to block OTA.
ezdiy is offline   Reply With Quote
Old 11-29-2019, 06:41 AM   #7
zaoqi
github.com/zaoqi
zaoqi does all things with Zen-like beautyzaoqi does all things with Zen-like beautyzaoqi does all things with Zen-like beautyzaoqi does all things with Zen-like beautyzaoqi does all things with Zen-like beautyzaoqi does all things with Zen-like beautyzaoqi does all things with Zen-like beautyzaoqi does all things with Zen-like beautyzaoqi does all things with Zen-like beautyzaoqi does all things with Zen-like beautyzaoqi does all things with Zen-like beauty
 
Posts: 87
Karma: 32020
Join Date: Mar 2017
Location: - Zhejiang China
Device: Boox c67ml,Note S,Max2,KT3,KPW4,Kobo AurdHD,Touch N905C
Quote:
Originally Posted by knc1 View Post
Ah, but you evidently never restarted your KT3 ...
The start-up process will discover the "corrupted" (ext3) storage area and reformat it to FAT32 for you.
(And then when the kernel starts up, it will not find the FAT32 setting in /etc/fstab and crash.)
Isn't Amazon so helpful?
I used to restarted it and I didn't find these problems
zaoqi is offline   Reply With Quote
Old 11-29-2019, 06:45 AM   #8
zaoqi
github.com/zaoqi
zaoqi does all things with Zen-like beautyzaoqi does all things with Zen-like beautyzaoqi does all things with Zen-like beautyzaoqi does all things with Zen-like beautyzaoqi does all things with Zen-like beautyzaoqi does all things with Zen-like beautyzaoqi does all things with Zen-like beautyzaoqi does all things with Zen-like beautyzaoqi does all things with Zen-like beautyzaoqi does all things with Zen-like beautyzaoqi does all things with Zen-like beauty
 
Posts: 87
Karma: 32020
Join Date: Mar 2017
Location: - Zhejiang China
Device: Boox c67ml,Note S,Max2,KT3,KPW4,Kobo AurdHD,Touch N905C
Quote:
Originally Posted by knc1 View Post
Ah, but you evidently never restarted your KT3 ...
The start-up process will discover the "corrupted" (ext3) storage area and reformat it to FAT32 for you.
(And then when the kernel starts up, it will not find the FAT32 setting in /etc/fstab and crash.)
Isn't Amazon so helpful?
My parameter settings were wrong at the beginning, Kindle seemed to start normally without mounting /mnt/base-us
Probably because my KT3 was not clever
zaoqi is offline   Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Can /etc/hosts be used to block OTA updates? zaoqi Kindle Developer's Corner 1 08-18-2019 10:35 AM
Block OTA before connecting wifi to register? Pajamaman Kindle Developer's Corner 2 10-21-2017 11:12 PM
How to format /dev/mmcblk0p3 into ext3 format? zaoqi Kindle Developer's Corner 3 03-11-2017 09:18 AM
Losing paragraph format in txt to epub with block and markdown Tattvadarzin Conversion 4 10-25-2013 03:49 AM
/mnt/sdcard/ and /mnt/sdcard2/ SCION Android Devices 11 10-12-2011 09:23 PM


All times are GMT -4. The time now is 02:08 AM.


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