5

How to update libssl.so on very old devices?

 1 year ago
source link: https://forum.xda-developers.com/t/how-to-update-libssl-so-on-very-old-devices.4618099/#post-88895341
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.
neoserver,ios ssh client

How to update libssl.so on very old devices?

I've got a couple of very old devices (used as wifi-only) that are starting to have issues connecting to modern websites. One runs FroYo, the other Ice Cream Sandwich. They are both rooted and I have ADB working on both of them. Some of the sites in question are using very little javascript, so even the old browsers on them used to connect okay until VERY recently. I have succeeded in updating the certs on both of these, which has helped with some web sites, but not all. The troublesome change seems related to certificate updates on some of the websites. Where they used to be using TLS1.1 and certs based on SHA1, they have changed to TLS 1.3 and SHA256, which these old devices don't support. There are also issues connecting to certain wifi networks, I suspect a similar cause for this too.

So, I want to update the version of libssl.so used on these devices. I have found some instructions on how to compile this, which looks like it will be an adventure unto itself (and maybe a separate topic for further questions).

One helpful detail about devices this old, they do not yet use dm-verity, so at least I will not need to bother about dealing with that.

Before I get too far down the compilation rabbit hole, assuming I manage to get it compiled correctly, is it really as simple as just dropping the replacement files into /system/lib ? Do I also need to update libcrypt.so at the same time? Or are there other items I would also need to update? Has anyone done this before, short of rebuilding the entire ROM?

About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK