Original article: http://blog.csdn.net/zjujoe/article/details/6251747
Android OTA Update 5: Updater
Author: Song Lixin
Email: zjujoe@yahoo.comPreface
It can be said that all the sections of the OTA update code analyzed above are on the stage, and the main character is now on the stage, it is Updater. google's code architecture is well designed, and each part shou
what is needed to extract what. It is important to place the contents of the recovery and system directories in the/system/. During the operation, nothing in the Update.zip package was deleted or changed. After the actual update is complete, our Update.zip package does still exist in its original location.Iii. SummaryThe above nine focuses on the analysis of the Android system in the recovery mode, that is, we do a good update.zip package in the syst
This is the basic introduction to the Android system to run Updater-scripts's edify language.Most of the edify names are functions, and when these functions are called, the data is returned to the script. Of course, you can also use the return values of these functions to confirm success, such as:IfElse (Mount ("YAFFS2", "MTD", "System", "/system") = = "System", Ui_print ("Successfully mounted!"), Ui_print
Foreword Updater-script is the script file that the Android phone brushes into the system, it decides which content the Android system needs to brush into, how to brush in.Syntax 1. Mount Syntax: Mount (Fs_type, Partition_type, location, Mount_point). Role: Mounts a file system to the specified mount point. Return value: The mount point was successfully returned,
subsequent decompression, since the Mzopenziparchive function did not decompress the update package, * Zip is a Ziparchive object returned by the Mzopenziparchive method. Mzopenziparchive is to open the upgrade package and copy the relevant information into a temporary ziparchinve variable. Assumed_update_binary_name= "meta-inf/com/google/android/update-binary" Const zipentry* binary_entry = MzFi Ndzipentry (Zip, assumed_update_binary_name);
Re-authoring Android and Lubuntu dual-system firmwareBecause I modified the Lubuntu drive and equipment tree information, in order to facilitate the burning system, so the re-production of dual-system firmware. The Firefly wiki tutorial has a way to make Android firmware. The two systems are made in the same way. You c
For the android ndk version, the compiled so file corresponds to the minimum Android firmware version, which is compiled by the higher version of ndk. because the so file contains some new features, the new features may not run on the android firmware of earlier versions. Th
In fact, those who use wayos will be relatively depressed, especially those who want to use the security network, they can directly modify users by clicking
A previously modified firmware supports Android. However, due to the many simplified things, you may not get used to it.
This time we made an original 323 version. Why is it 323? Because the effect of 323 on multi-Wan support is better, there will be
FOTA-Air firmware upgrades guide
Sudden 1. Overview and requirements.
Overview:
1. FOTA represents an aerial firmware upgrade.
2. This is a program where end users can upgrade their mobile software "in the Air".
3. The connection to the PC system is not required.
4. This procedure is provided through 3G and Wi-Fi networks. However, if you upgrade over a 3G network, the download will generate additiona
Why use the FOTA upgrade system? What are the benefits of FOTA service
If you agree to the terms of the Fota service, the phone will be registered to the FOTA server to automatically detect new software (firmware) and will notify you when new software is released.
In addition, Samsung will automatically send push information in case of an emergency or if the network allows it, so you can easily keep your phone up to date.
Samsung
In the android development platform, you can use telephonymanager to obtain local information.
Telephonymanager phonemgr = (telephonymanager) This. getsystemservice (context. telephony_service );Txtphonemodel. settext (build. model); // Mobile Phone ModelTxtphonenumber. settext (phonemgr. getline1number (); // local phone numberTxtsdkversion. settext (build. version. SDK); // SDK versionTxtosversion. settext (build. version. Release); //
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.