![]() |
#1 |
Member
![]() ![]() ![]() ![]() ![]() ![]() Posts: 17
Karma: 512
Join Date: May 2022
Device: 📚
|
![]()
On my PW4, I was making some edits to /var/local/appreg.db - Kindle now gets stuck at bootup (boy under tree). No backups, my fault.
Thankfully I can still SSH via wifi to the device. I do have a backup from another device (PW5). Will copying over the PW5's appreg.db work? Worst case would be it applying some different wifi settings, thus locking me out of SSH. Am I able to do a factory reset to recreate the database? Just wary to attempt without advice as would certainly lose ability to SSH. Any help appreciated, thank you! ![]() |
![]() |
![]() |
![]() |
#2 |
Member
![]() ![]() ![]() ![]() ![]() ![]() Posts: 17
Karma: 512
Join Date: May 2022
Device: 📚
|
Strange, did a few reboots, no change.
Plugged in device to computer, usb mounted fine. I noticed 25 files with names like: Code:
rcm_1621_059-juno_1402_moonshine_rex-380714.core Not sure why, but won't complain ![]() |
![]() |
![]() |
Advert | |
|
![]() |
#3 |
Member
![]() ![]() ![]() ![]() ![]() ![]() Posts: 17
Karma: 512
Join Date: May 2022
Device: 📚
|
I still wanted to look into this, and from looking at /etc/init/prereg.conf, we can see that there's a file in /opt/var/local/reg/prereg.db that is copied to /var/local/appreg.db.
Look at the .conf file I mentioned as it looks like some operations may need to be done to the prereg.db file before it's actually usable as the appreg.db. |
![]() |
![]() |
![]() |
#4 |
rm -rf /
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 219
Karma: 3333683
Join Date: Nov 2019
Location: United Kingdom
Device: K5, KT, KT2, KT3, KT4, KV, PW2, PW3, PW4, PW5
|
Code:
rm /var/local/appreg.db start prereg ![]() |
![]() |
![]() |
![]() |
#5 |
Member
![]() ![]() ![]() ![]() ![]() ![]() Posts: 17
Karma: 512
Join Date: May 2022
Device: 📚
|
Very slick - thanks!
|
![]() |
![]() |
Advert | |
|
![]() |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Failed to communicate with "/interface-data/init? Network Error? | bcantrell | Devices | 3 | 01-31-2018 10:38 AM |
init.d services | sencer | Kindle Developer's Corner | 6 | 12-05-2012 02:29 PM |
PRS-T1 HOWTO: e2fsck on init, fix_permissions afterwards | uboot | Sony Reader Dev Corner | 25 | 02-15-2012 12:38 PM |
Cannot edit init.rc | sjkevin | Nook Developer's Corner | 4 | 02-15-2011 06:44 PM |
SmartQ5 - modem init string and login data saving | Drakon Rider | Alternative Devices | 4 | 09-27-2009 05:09 AM |