How to Improve Android Aututu benchmark scoring
Running software such as antu can help mobile users understand the performance of their mobile phones. This function meets the needs of most people, so antu is popular. Of course, there are more than one running software on the market. These running software are similar. The basic principle is to test CPU and GPU by simulating user operations (such as playing games, computing, and listening to music, MEM, WIFI, BLUETOOTH, MODEM, DDR, and so on. each item is scored and the total score is formed.
Chip vendors that are dedicated to technology are constantly breaking through existing technologies to improve product performance. However, many companies that are not at the bottom of the Three-stream architecture are far from doing so, now I want to talk about how these companies increase their scores.
First, we will introduce a method that everyone can discard:
(1) record the keywords of benchmark on the market to a List;
SoftwareList. add ("antutu ");
SoftwareList. add ("benchmark ");
SoftwareList. add ("ludashi ");
SoftwareList. add ("cf.pdf ");
SoftwareList. add ("quicinc. vellamo ");
SoftwareList. add ("geekist ");
SoftwareList. add ("greenecomputing. linpack ");
SoftwareList. add ("nenamark ");
SoftwareList. add ("performance. test ");
SoftwareList. add ("QuadrantStandard ");
(2) When systemserver is started, enable a service, enable a thread in serice, and use while (true) in the thread to do while (true) every five seconds after sleep, the system obtains the running tasks, compares the names of these tasks with the keywords saved in the List, and checks whether any benchmark is running. If any benchmark is running, write the system attribute SystemProperties. set ("ctl. stop "," inputfreq ") to trigger init. /system/bin/inputfreq defined in rc. sh, in inputfreq. sh. In most cases, the user's mobile phone does not have benchmark installed, and there are fewer chances to run benchmark. As a result, a service is running in the background when the user is started, which is a waste, have you considered it for Mobile End users?
If you really want to cheat, consider it as much as possible for end users!
Use a broadcast receiver to receive broadcast messages that are installed and uninstalled. Once the benchmark package is installed, enable background service monitoring. If all benchmark software is uninstalled, do not monitor the messages. You can also find that the system has benchmark installed to monitor whether it is a benchmark software Activity in the startActivity area. If so, you can set the system to performance so that no background monitoring is required.
If there is a sale, there will be harm!
With a little effort, engineers can make great contributions to society. Why not?