(cont)
A three-year preparation
Huawei software engineers have been actively committed upstream many patches to the Android open-source projects. They are already widely applied in the whole Google ecosystem. But the most advanced patches are firstly applied within the
EMUI custom Android OS .
Here are some examples showing how Huawei can get ahead of Google in terms of software development.
Example 1: The Flash-friendly File System (F2FS) was firstly developed by Huawei and it was integrated into the EMUI 5.0 system and its Mate 9 phones. After the patches, those Android applications on EMUI no longer lagging. The lagging was mostly due to the latency in flash systems and they optimised away. Later they are applied to other Google Android kernels.
Example 2: Huawei proposed GPU Turbo framework and applied to use on its mobile phones. The framework can further accelerate gaming performance on EMUI phones. Their performance seems to beat Samsung and Google Pixel.
Example 3: In April 2019, Huawei announced their first “all stack” java compiler ——The Noah Ark Compiler. This compiler can statically compile java programs into native arm binaries. And the application binaries can only run on Huawei devices. They finally remove the “condom”, if you know what I am saying.
To support the Ark Compiler and static java programs, Huawei has to rewrite all the framework layers and runtime libraries. It seems Huawei engineers have already completed this task and they will be released on EMUI 9.1. That means they have no dependence on Google frameworks.
Since it is an ahead-of-time compiler, the compiled applications are highly optimised on Huawei phones. The Ark compiler improved system runtime performance by 24%, response time by 44% and third-party application performance by 60% compared to standard Android applications from Google.
Now you might already be aware that what Huawei has been secretly doing for years. Why is it called “Noah Ark Compiler”? Don’t you know the meaning behind it?
A fully-fledged Huawei mobile OS under your nose
Over the past three years (2016–2019), Huawei has been secretly replacing Android components and framework one by one on all the phones who use EMUI. If you are using a Huawei phone reading this post, I would tell you that your phone is becoming less and less Android.
For example, if you are reading this post from the
Quora app. On Pixel phones, it might use libraries and frameworks that are provided by Google. But if you are reading it from Huawei’s phone in EMUI, the same Quora app is linked to libraries that are provided by Huawei’s implementation. And you won’t notice the difference.
And it is perfectly legal.
Yes, EMUI is no longer a mere Android custom theme now, they will grow into a fully fledged operating system under your nose.
Now a large proportion of Huawei, Xiaomi, Vivo, Oppo, OnePlus phones use the EMUI interface. As all the Chinese phones use the same OS with an estimated 780 million users,
they are large enough to support a custom OS and drive Chinese developers to develop an ecosystem completely without Google. And the OS would continue to develop and “forked” from Google’s master repository. This new forked OS would represent the collective standard of the Chinese software ecosystem and continue to spark more innovations.
All these preparations are done by those Chinese software engineers who spent 9 am to 9 pm six days per week working styles (996). For the past three years, they have been working so hard to fill the gaps. We should never underestimate their efforts.
Perhaps later on Huawei would rename EMUI Operating System into its proper name “HongMeng” 鸿蒙 later sometime.
Hong Meng is a character in the Daoist text Zhuangzi and a metaphor for the "primordial world, primaeval chaos" in Chinese creation myths.
Now just imagine a parallel universe where China naively allows Google and Facebook services into the Chinese market since 2012. The Chinese software ecosystem would have been already slaughtered by the USA now.
Can Huawei still survive in the overseas market?
So from the above section, we know that Huawei can defend itself well in the Chinese market with zero Google influence. How about the overseas market? In 2018, there are around 46% of Huawei phones sold outside China and all their customers need Google services, otherwise, they would leave Huawei.
Yes, the overseas market is still very important for Huawei. But note that for the extreme case when Huawei loses all its overseas market, it can still survive by purely relying on the Chinese market.
Solution 1: Use other country’s laws
Huawei can make use of each country’s anti-monopoly law to restrict Google. We all know that the EU is so pissed off by Google. Since 2010, the European Union has launched three separate antitrust investigations into Google for violating the EU's competition laws due to its dominant position in the market. Google has been found guilty of antitrust behaviour in cases related to Google Shopping and Android and has been fined over €6 billion.
After the ruling, Google is required not to bind Google services on any android phones. Users in the EU have their own choice to install Google services. And this creates an opportunity for Huawei to use its legal weapons and sue Google if Google attempts to forbid Huawei to use Google services on the EMUI OS. This applies to other parts of the world, especially India.
Solution 2: Add India into the equation
Another possible solution is to outsource all its software stack to Indian partners. Let an Indian company design, customise and package EMUI services on Huawei hardware. Invest in an Indian company who design a customised EMUI specifically for Indian users.
Just like the UC Browser in India, why do Indian people chose to use UC browser over Chrome browser? And Huawei can use the same strategy to bind EMUI and let an Indian company do the job.
Now if Google forbids this Indian company to use Google services on Huawei platform, Huawei can use its legal weapons to sue Google in India as well. It is not the USA anyway. India has its right to protect its domestic company for its made-in-India initiative.
Solution 3: Bridging
After resolving the right to use Google services in India and Europe, Huawei gains the legal right to use Google services. It can use a similar strategy in other parts of the world. Then it is pretty easy for Huawei to resolving the technical problems of bringing Huawei services and Google services.
No Google Play Stores? That’s fine. Use Huawei stores. Please note that the Google Play store is just a collection of apps. Huawei can provide a similar store by mirroring and recompiling all the apps in Google Play stores.
Note that this is perfectly legal for most of the countries. Because the ownership rights belong to the third party developers but not Google.
Especially for those users in developing countries, from my observation, most of them use cheap Chinese phones using the EMUI OS. And they don’t bother to root the device to change to typical Android distributions provided by Google. And the mobile phone market is not about flagship phones, but more cheap and affordable phones.
That means as long as Huawei can lower the price and let the customers stick to EMUI, Huawei can survive and thrive in the software ecosystem in the overseas market. And if Google complains about it. Then amass a group of lawyers and sue it back. In developing countries, China gets even better-positioned thanks to the connections built by the Chinese government.
Again it is a golden opportunity for Huawei. And Huawei really needs its legal division to fight on all parts of the world except the US.
The world is not just about the 1 billion developed English-speaking countries. It is much wider, how about the rest 6 billion people out there?