+1 for Calibre, it's the only thing you need. Get MOBI, AZW, or EPUB formats and you're good to go.
Just to be clear, there's no reason to keep your Kindle in airplane mode all the time, except to extend battery life (which helps a lot, honestly). Amazon doesn't punish you for having pirated ebooks on it. Also it's nice to have software updates periodically, they sometimes add nice features.
No mods required whatsoever, just get your ebooks in whichever format you can and then use https://calibre-ebook.com/ to convert them to .mobi and copy them over via cable. If possible, avoid pdf's - they can be converted, but it often looks shit. EPUB on the other hand converts with zero loss, and that's the most common format on libgen.rs and other ebook sites. If MOBI is available right away, just go for that of course. Conversion takes mere seconds though.
Since I don't buy any ebooks from Amazon directly, I've set my kindle to flight mode right after the initial setup and haven't switched it back on in over 4 years.
save