Korean pantai mobile phone full Series L/K/S three-edition through the brush automatic identification of mobile phone version scripts and instructions for use and other

Source: Internet
Author: User

A bunch of others:

As we all know, most mobile phone models in South Korea pantai are generally divided into three carrier versions (L/K/S), with only one or more models being L or S, the ROM of the three versions of the same model can also be flushed. Of course, whether the base band can be flushed is required to be verified. The personal test is also flushed within a limited range, however, unless we do not recommend this, it may lead to poor signal on your mobile phone. In addition, the kernel compiled using one of the kernel source code can be used on the other two, this shows that there is no essential difference between the three versions of ROM, and the differences are basically operator-related parts. However, these differences can be ignored in mainland China, so they are only basic, there are some differences. I prefer the L version, one is that the L version has better support for long text messages than the K/S version (of course, the K/S version uses the L version of the system file or lib can also be more perfect support for long text messages), in addition, if the mobile phone baseband is an L version, the SIM card Toolkit can be used, while K/S version does not support SIM card workers from A800S to A900S/K. Box, this should be due to the limitations imposed by the K/S version of the baseband, compared to the K/S version to support cracking the domestic EDGE (this is also the reason for js to raise the prices of these two versions) I personally think the SIM card toolbox is more practical, because it is a waste of time to use this phone ..!


Because there is no big difference between the three versions of the system, some ROM authors who do the official ROM-based beautification of pantai mobile phones prefer to do some fl packages, which is understandable, because it can reduce a lot of repetitive work, although I am not in favor of this, there are several reasons, one is that although the three versions of the official system can be flushed, however, mobile phones in pantai usually have one or two baseband cache partitions, and the generation mechanism of this partition has not been studied yet. Currently, only the official ROM can be used to restore or recreate these partitions, the recovery or reconstruction methods of the cache partition by the system of different operators should be different. The main difference lies in the differences in the optimization of the respective baseband. I guess, therefore, if version L is flushed to version K and then uses version K to restore the base-band cache partition of version L, if there are some differences between the two versions of baseband cache partitions, it may cause usage problems. Although the three versions of the system seem to be normal, however, I do not recommend you to use the ROM for this purpose. Another reason is that, for the first reason, the possible consequence is that if you have previously used a non-corresponding version of the ROM, then the third-party editing Translated ROM versions such as CM and AOSP, but these ROM versions generally cannot independently restore the baseband cache partition or other partitions, which may lead to some strange bugs !!


I started to compile the third-party ROM such as CM or Mokee of pantai A820L without having to split the versions. However, I encountered this problem when compiling the ROM of pantai A850 or later versions, although this third-party ROM will not have the problem mentioned above at the first point, even if the K version is flushed by a third-party ROM compiled with the L version kernel and system files, there will be no confusion in the baseband cache partition, however, the display of mobile phone models may cause problems for some patients with obsessive-compulsive disorder. I tried to use the baseband version method to distinguish three versions, however, the three versions have the same or duplicate baseband version numbers, which cannot be distinguished. later I thought that pantai mobile phones would have a special info partition used to record information such as the phone model and imei mac address. I thought it was only determined by reading this partition.


The info partition of the phone is not the same as that of the cpu. For example, the A820L of the phone is the same as that of the A810 A800) the partition name is phoneinfo Partition Number p10, which records the system version of the mobile phone model and the imei mac address, and above A850-A870 is called rawdata partition, like the preceding phoneinfo partition, The phoneinfo partition on A880-A910 is used to record information such as the mobile phone model and system software version rawdata!


For pantai A880-A910 automatic identification of mobile phone version of the script, you can refer to my compilation A900 Mokee4.4.2 get (can automatically identify the mobile phone version and automatically modify build. prop. You can also obtain the mac imei and other information of the mobile phone, which is displayed when the CWM recovery is flushed ):

Https://github.com/VegaDevTeam/android_device_pantech_msm8974-common/blob/154bed3a062ac1e0ba2097b89c32483d753b6872/etc/init.qcom.baseband.sh


This script is called in the script when it is being flushed. Put this script under the system/etc of the refresh tool, then modify the script to add the following statement at the end of the script (note that it should be placed before the umount system partition ):

package_extract_file("system/etc/init.qcom.baseband.sh", "/tmp/init.qcom.baseband.sh");ui_print("Get your Phone version start...");set_perm(0, 0, 0755, "/tmp/init.qcom.baseband.sh");run_program("/tmp/init.qcom.baseband.sh");ui_print("Get your Phone version end!");

In this way, you can automatically change the mobile phone version to the corresponding version when you flash the machine!


Note that the above script only applies to pantai A880-A910, other models and for info partition parsing to be improved later this post, welcome to pay attention !!

Contact Us

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.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.