The questions concerning Google Android and Ali YunOS have kept many of my friends from understanding. Today Xiaobian from the sofa network has come to explain it to you. What is the difference between the two?
Google executive and Android development leader Andy Rubin wrote in his Google+ home page that the Ali YunOS system uses the operating environment of Google's Android system, apparently modified by the Android system.
Andy Rubin said that the fact is that Ali YunOS system contains Android operating environment, apparently evolved from Android, but can not be compatible with Android. Based on Google's analysis of the application on Ali YunOS website, this platform tried to be compatible with Android but failed.
Ali YunOS in the end is not something other than Android, the author through technical means to conduct some analysis. Tianyu W700 is a mobile phone using the "Ali YunOS operating system", the author found a day language W700 mobile phone Ali YunOS Brush Pack. Open up and look roughly, and Android Brush Pack no different. The applications inside are all apks, which means they are all in the form of Dalvik executables.
[figure 1]
Build.prop also pointed out that Android2.2
[figure 2]
Followed by the c library, because we know that Android is running a set of Google's own organization on top of the Linux kernel. As with GNU Linux in the usual sense, one of the most basic things in this architecture is the C runtime library.
GNU Linux's C runtime library is Glibc, and Android uses Bionic. Through the use of their own organization, code written, Android can avoid the GPL agreement from this layer to allow publishers to have confidential source code rights.
Find the lib/libc.so, which is the C runtime library, and use readelf to view its symbol table (this does not involve reverse engineering), you can find "bionic". It is likely that its C runtime library is bionic.
[image 3]
The kernel is the Linux kernel, the basic C runtime library is Bionic, Dalvik, and the upper application is all in Dex format. These things indicate that the "Ali YunOS operating system" on the W700 is unlikely to be something other than Android.
Of course, the above content cannot be used for speculation. Whether this is inconsistent with Android's license agreement. However, one thing is more specific. If the manufacturer providing this phone does not provide the source code of the Linux kernel, it is probably illegal.
Update: The ROM used in the previous article is wrong. It is Android's Flash package, not the official native YunOS ROM, so the argument is wrong. Here is the analysis of the original native YunOS ROM, what is the relationship between Ali YunOS and Android.
Unwrap the structure of the big directory:
The root directory is a boot.img, this is the Android system bootloader, which is the boot partition. There is also a system directory, which is the system partition of the Android system. Go to the system directory and look down:
Here and Android ROM directory structure is exactly the same, you can find an Android ROM comparison below. The core of several directories:
App: ROM pre-installed app
Bin: directory of system processes
Framwork: Android Framework directory, which is the directory of library files needed for Android applications to run
Lib: so library file directory, equivalent to the system32 directory of Windows
Let's go to the app directory and look:
Well, to see the difference, all apps under Android are ending with apk. The ROM used in the previous post is the ROM of Android. The files corresponding to this image are apk. What is lar here? This is where Ali YunOS differs from Android. Because apk is the file format of the Dalvik virtual machine management application, Ali YunOS has a virtual machine and manages it with lar files. What is the difference between lar files and apk files? We know that the apk file is actually a zip file that can be opened directly with WinRAR. What about lar files? With WinRAR it can also be opened directly:
Those who have done Android development will find that the directory structure of the APK is basically the same as that of the APK, except that the classes.dex file of the Android application becomes classes.lex. Is the so-called lex file a name for the dex? We use binary to compare:
On the left is the dex file for the Android application. On the right is the lex file for the Ali YunOS application. As you can see, the file format is completely different.
Well, the difference in the app has already been seen. Let's look at the difference in the core process of the system. Go to the /system/bin directory:
Those who are familiar with the Android system can see at a glance that the names of am, app_process and the like are the names of Android core processes. There are several more: cloudserver, chpasswd.cgi, etc. It seems that this is the core process of Ali YunOS's so-called "cloud service".
Well, the comparison of the files is here. Now basically we can draw a conclusion. A complete Android system includes the following parts:
Bootloader: used to start the operating system
2. kernel: system kernel
The core process is the stack of things under /system/bin
4. so library: The system is based on the operating system, which is the stack of things under /system/lib
5. Android virtual machine, all upper applications are run by virtual machines
6. Android Framework: All upper applications are implemented by calling Framework, which is the stack of /system/framework
7. The upper application, such as the desktop Launcher, dialing, SMS, address book and the like, is the stack of things under /system/app.
So, Ali YunOS, in the above seven parts, the virtual machine uses its own, the upper application is its own custom, plus an additional "cloud service", the rest are used by Android. Its relationship with Android is very clear.
That way gossip, why is Ali YunOS going to do this? It was a long story, saying that when Ali YunOS was founded, it was still very purposive. At that time, it acquired a domestic company that was a Java virtual machine (called “Mammoth Technologyâ€), and also found a group of MOTO to do Linux. The kernel person wants to put out his own operating system. The CEO of Ali YunOS is Wang Jian. Like Li Kaifu, they all originated from Microsoft Research Institute. However, they look down on Lee Kai-fu’s "diet OS." He thinks that "Taking an Android to change, and more land! We want to do our own operations." System!" Then, a group of Ali YunOS scolded "Own operating system". As a result, everyone can think of toes. It's so easy to start an operating system from scratch. After half a year, it didn't make it. So you can't attend to earth, take Android to change it. The virtual machine is ready-made, then replace the Android virtual machine, so that it can be regarded as the result of their work. However, changing the virtual machine is not significant. The concept of HTML5 and WebOS is relatively new. Then add the concept of “cloud serviceâ€, and it can be regarded as the domestic HTML5 advocate. HTML5 running through the browser engine, performance is certainly not as good as native applications, then how to ensure smooth operation (especially the desktop Launcher, every day, if too card, the user is crazy), it is still to use native applications to achieve it ... ... As a result, Ali YunOS eventually became like this now.
Vga Cable,Mini Data Exchange Cable,Display-Port To Vga Cable,Mini Data Exchange Adapter Wire
Dongguan City Yuanyue Electronics Co.Ltd , https://www.yyeconn.com