Hurd 2.0 or what wainting for Castro in future
It’s been a long time since the last Castro or Hurd release. Now Castro is very tied to Hurd, because all the possibilities of obtaining information are at the heart of our library. So, today we want to take a look at the new, big Hurd’s update!
(We are not going to dwell on the things that are understandable only to developers. They can download a document with the full list of changes at the end)
Update 2.0 introduces major changes into work with processor. Let’s look at the old way of working CPU’s methods. Firstly, it was checking if your device has necessary files in system folders, then it was necessary to check whether there is something in these files. Next we were getting some crap information like this: Model — ARMv7 Processor rev 0 and Architecture — Krait. In many cases, this information was not true and correct. Also, there were many problems with the support of octa-core processors.
The new method is much faster and better. We have created the database of many devices (near 350!), and when we need to get information about CPU we will get someting like this: Model — Qualcomm MSM8974AC Snapdragon 801 and Architecture — Krait 400. This information is more accurate and correct. Also Hurd now supports 6 and 8 core processors. But this is not all! We have added much more new information, like CPU temperature, updated Instruction sets, etc.
You’ve been waiting for support of external memory in Castro. Now it is available for all devices enabled sd card. The information is the same as for the internal memory: total memory and free memory (with percent). We also had to remove all of the information related to Swap information as it needs some work.
Firstly, we are just beginning to work on this section, so most likely the audio will not be included in a future update Castro. At the moment, we have added a small function to determine the current settings. For example, a call mode, support for technology Bluetootn communication and others. The most interesting at the moment is a dynamic method of tracking noise. The essence of the work is similar to the light sensor.
Also there are many other small changes that do not have a category.
- Reduced sensors update rate;
- Updated formulas to convert celsium to fahrenheit and conversely;
- New way for getting screen resolution on Android 4.3 and lower;
- DHCP Lease time in WiFi category now showing time in hours;
- Added feature to check if ICC card available in device (Network);
- Added method to count time since device was booted (System);
- Added information about Virtual Machine’s heap memory (System);
The document with a list of all the changes is available here.
We do not intend to stop there. Soon comes a big update for Castro, with a lot of changes that are described herein. Also, we’re going to finish the job in the Audio section, add the information about codecs and graphics processor. Thanks for the support, so stay tuned!