There is no pac extension in the firmware. Opening PAC files

The moment when the user learns that for any Android the device can be installed custom firmware, often becomes a turning point, because before that it was always constrained by factory restrictions. With the advent custom ROM freedom comes. This includes freedom of choice, and choice sometimes turns out to be painful, but we will try to make this difficult task easier. Below you will find an overview of the best Android firmware: , MIUI, Paranoid Android And AOKP. A universal guide to installing them can be found. For each specific device you need to search in this.

Platform Android is rich in interesting features and is considered one of the most flexible mobile operating systems. However, not all its versions are equally multifunctional. So, users of versions with a vanilla core or owners of smartphones Samsung with standard user interface TouchWiz They often complain about the very significant limitations of the system’s functionality.

One of the important advantages of the openness of the platform Android is that if you, as a user, do not like the primary licensed version of the OS, you can install one of the optimized versions, popularly called custom firmware or ROMs. New firmware Android can provide you with the opportunity to use the latest version of the OS even before the official release by the manufacturer. Also, after installation, the new version of the system will automatically replace the factory one, after which your device will literally be transformed and provide you with many modified system settings and applications, significantly optimizing its performance.

If you are familiar with the OS Linux, then it will be useful for you to know that the process of installing a custom ROM no different from installing any other distribution Linux. Each version of the system sets different goals, so they are always different from each other in certain parameters. The choice of the required version of custom firmware will ultimately depend on your personal preferences and the purposes for which the device will be used in the future. The procedure for installing custom firmware usually consists of the following steps:

1) Unlocking the system bootloader. This process is usually included by default in the functionality of utilities used for obtaining root rights, so instead of having to deal with unlocking the bootloader and manual backup, you can save time and use one of the rooters (for example, Kingo Android Root). Obtaining superuser rights, among other things, will guarantee more stable operation of the installed custom firmware.

2) System backup. After obtaining root rights or unlocking the system bootloader, you can use one of custom utilities to perform a full backup of the original data of the primary Android. This will allow you, in case of unsuccessful installation of custom firmware, to rollback and restore the original system. Among the popular tools are Titanium Backup, which, however, requires root rights to operate.

3) Actually downloading and installing the custom firmware of your choice. In the process of searching for the most profitable firmware for you, it is useful to use comparative charts and tables compiled by developers and experienced users of custom firmware and which are widely available on the custom software developer forums xda-developers.com. You can download the firmware either directly from your device or using a computer with subsequent transfer of archive data via USB. Usually the firmware file is quite voluminous zip archive, which should ultimately be saved to the downloads folder on your memory card. The firmware is installed in recovery mode, which you can enter immediately after rebooting the device.

4) Download and install Google applications. Many official applications from Google, including Gmail And YouTube, initially cannot interact with custom versions Android. Therefore, you should look for specialized customized versions of these applications and install them in the same way as described above for installing the custom firmware itself. To simplify the task, developers from the XDA community have created a utility Gapps Manager, which provides the user with all the main products Google customized version.

There are many custom firmwares. The most popular of them are constantly compared to subsequently identify the undisputed leaders among a wide variety of optimized versions Android. We invite you to compare the seven most proven and reliable firmware yourself, taking into account the indicated advantages and disadvantages of each, based on a comparative analysis carried out by experienced users and custom software developers. Below will be discussed:

  • MIUI
  • Pacman ROM
  • AOKP
  • OmniROM

This is the most popular custom ROM. Not only is it reliable, but it's also extremely feature-rich, has been cleared of all the clutter, and will soon have a public installation tool (it's still in beta) so that users won't have to resort to complicated procedures in the future. You won’t find as many customization options as in other firmwares, but by and large they are not needed there. There's enough of everything. The firmware can be called an upgraded version vanilla Android without any unnecessary junk. If you're tired of user interfaces, useless pre-installed apps, and ubiquitous limitations, this is a great solution. Besides ROM optimizes the operation of your device, thereby increasing its performance.

Key Features:

  • Clean and accessible interface
  • Supports different themes
  • There is an equalizer
  • You can customize Quick Settings

Official site

More detailed description of C yanogenMod

One of the most popular custom firmware at the moment is, the key feature of which is that the style of its interface surprisingly matches the stock version Android. The ROM With each update we get closer and closer to the fact that the process of installing it on the device becomes much simpler and more convenient.

The latest firmware version has significantly improved animation, which now includes CRT animation. The lock screen also has special options and rich customization capabilities, on which you can set wallpaper separate from the main screen, a large full-scale widget, display battery charge, and much more. The developers also added a proprietary widget to the lock screen Chronus, displaying the main events of the day, the current date and time, and the weather. In addition, the firmware includes a built-in utility Xposed Framework, which allows you to integrate additional custom modules into the firmware system for more subtle modification of your device. The ability to customize the navigation bar allows you to assign individual functions to each button (a total of 5 are available in this firmware). Also, specifically for watching videos and playing games, users can freely switch to full-screen mode, which hides the bottom and top toolbars.

Thanks to constant improvements and updates, the firmware provides your device with economical power consumption and much higher performance.

Other benefits and features:

  • Original sound effects
  • Easier switching between different profiles
  • Simplified sending messages and making calls
  • Availability of a variety of styles and themes (including the popular theme Holo)
  • Original panel switching animation

MIUI

MIUI- This custom firmware, which combines everything better from Android And iOS. It is based on source codes Android and , but the user interface is very different from the original one. And it’s not just about design: many features MIUI or are still missing from stock Android, or appeared some time after their embodiment in this custom ROM. An excellent example is the quick settings that have long been an integral part of MIUI, and only with Android 4.2 became an element of the stock interface. At the same time, the firmware is devoid of all the garbage that is in TouchWiz And Sense. It is also worth noting the fact that this firmware is installed on some smartphones by smartphone manufacturers as the main OS. MIUI - a great option for those users who want to get their Android The device has the best of two competing platforms.

Official site

More detailed description of MIUI

Custom firmware, the interface of which is the most successful hybrid Android And iOS. At the same time, it is subject to constant improvements both from developers and from users who make their recommendations and suggestions while using it on their device. Despite the visual similarity of this ROM’a as with Android, so with iOS, which formed the basis of the final version of MIUI, there are many completely new design and functional solutions, which allows us to talk about the so-called originality and originality.

The lock screen is especially original MIUI, in the center of which there is a circular blocker slider equipped with four main buttons: call log, messages, music player and camera. Thus, you can go to any of the proposed menus without performing a standard screen unlock. Also from Loxrin you can freely control equalizer settings, switch between music tracks, adjust speaker volume, etc. A very convenient property of the lockscreen is the display of the device’s battery charge level.

Main interface MIUI allows the user to create an unlimited number of desktops, each of which, for example, can contain shortcuts to applications and utilities for special purposes. In addition, the appearance of application icons was significantly changed, after which it became impossible to correlate the design as well as with Android, so with iOS.

The main settings in this firmware are divided into categories, which still gives us some reference to the devices iOS. Moving through the submenus is done using a convenient slider. There is also quick access to another slider, which is responsible for screen brightness.

Another important feature of the firmware is the presence of its own store Supermarket, which includes the same applications as Google Play. At the same time, many applications that you could only purchase with stock firmware for a fee are available for download here completely free of charge.

Other Features MIUI:

  • Availability of a large number of original themes with flexible settings for each individual component
  • Variety of widgets: widget for clearing RAM, search widget, clock (digital and analogue), weather, calendar, events, photo frame, player, etc.
  • Original animation and smooth transitions between menus and desktops
  • Lack of a traditional menu with a set of software; it has been replaced by convenient, customizable desktops located on the main screen


This custom firmware stands out among others due to its user interface design - it is completely transparent. It also increases productivity and reduces energy costs by optimizing all processes occurring in the Android device. Not without a lot of customization settings. suitable for those users who want not only to improve the performance of their Android

, but also get a unique user interface design.

XDA thread

More detailed description of Illusion ROMS ROM Name of this 'and it speaks for itself - the developers have created a truly stylish design, embodied in a specialized theme Key Lime Pie

. This theme is presented in a pleasant color scheme, which is visible through the panels and menus of other settings and applications, creating the effect of unusual transparency. ROM Due to the fact that it is still in beta testing and is constantly being improved, sometimes during use you may encounter some minor bugs. However, the developers deliberately warn about this, inviting users to report detected system errors for further improvement.

Initially, this firmware was developed based on the equally well-known ROM'A Slim Beam, so quite often during its use you can find some similarities with it. As with many recent firmwares, there is a function available here Halo, which lets you move notifications from all your apps to your home screen, so you can view messages from each one at the same time. Also, thanks to this function, you can switch from one application to another without leaving the software interface you are using.

In addition, a convenient feature in this ROM This is the ability to flexibly configure the accelerometer. So, you can reduce the screen rotation angle from 90° to 80°, which will significantly improve the process of using your device Android also offers a rich variety of profiles that allow you to adapt your device to any situation, from an important meeting to a long trip on public transport. It is possible to turn off sound alerts and replace them with vibration, completely mute the sound, forward incoming calls and much more.

Other Features

  • A large number of custom wallpapers
  • Extended desktop
  • Convenient switching between light and dark interface
  • Adjusting screen brightness and contrast
  • Auto-hide status bar

This custom ROM with unlimited customization options, which has unique features that are not available for the stock operating system.

Key Features

  • Ability to change the scale for each individual application. For example, in Gmail you can set the scale at which the entire letter will be completely displayed on the screen, and menu buttons and controls will be minimal, while everything can be done differently: application controls will be large, and you will never accidentally press anything by wiping the entire system .
  • Pie Controls- a menu that allows you to remove the status bar and controls from the screen and move them to a pie chart that only appears when you call it.
  • - pumped up feature Chat Heads from Facebook. Basically, this is a very convenient way to receive notifications and various messages in any application.
  • Tablet interface on a smartphone: Some interface elements on tablets not only look better, they are also much more convenient. You can get them on any Android smartphone.

ParanoidAndroid – custom firmware for those users who want reliability and performance, but with a lot of customization options and unique interface elements.

Google+

More detailed description of ParanoidAndroid

Basic firmware for creating Paranoid Android became notorious, from which this ROM borrowed traditional functionality and high performance, while introducing unique features and original visual design into its interface.

The main difference between this custom firmware is that it is focused mainly on tablet devices in terms of interface, which, however, does not prevent users from turning the hardware of their phone into a tablet without any functional losses.

It is worth noting the significantly increased volume of fine-tuning, which rests on the ability to flexibly customize the application interface by changing the virtual resolution, regardless of the original screen resolution of the device and the entire system as a whole. Since the initial number of applications available in the firmware is relatively small, the developers preferred to give their users the right to choose and download the necessary applications from the store available in the firmware Google Play.

The actual performance optimization of your device can also be done manually. Thus, the user can reduce system load by stopping unnecessary tasks, free up clogged RAM space, limit operating frequencies, change font smoothing, etc.

In addition to the function already known to everyone Halo V Paranoid Android There is also a kind of menu called PIE Controls, thanks to which you can transfer the main application shortcuts and other buttons from the main screen to a specific diagram, which will be in hidden mode until you call it.

Other useful properties Paranoid Android:

  • Ability to switch to full screen mode
  • Ability to take screenshots of the device screen
  • Improved sound quality
  • Initial access to superuser rights

AOKP- this is the most customizable ROM. With this firmware you can do a lot, from creating your own patterns for vibration alerts to customizing almost any interface elements.

Main features unique to AOKP:

  • ability to set your own boot animation
  • full customization of the navigation bar, the ability to add shortcuts there
  • Ribbon - quick access to any applications on the device anywhere in the OS. Can completely replace the launcher.

The ROM designed for those users who want a completely customizable interface. U AOKP There are no competitors in this business yet.

Official site

More detailed description of AOKP

Another no less original and stylish ROM with many unique features. A clear difference between this firmware and others is the presence of a built-in interface Ribbon, which divides all applications available on the device into categories (for example, system, entertainment, etc.) and places them in separate convenient tabs, which greatly simplifies access to any of the system programs.

Main control AOKP is represented by seven main buttons, which you can change the function, location and calling method at your discretion. You can also adjust their color and degree of glow when pressed.

Widget settings that can be installed both on desktops and on the lock screen also have great capabilities, and the number of widgets on one screen can be unlimited. The need for their use in this case is due to the presence of a very original animation of transitions, similar to the rotation of the faces of a cube.

Unlike the main screen in AOKP looks more neat due to the more compact placement of labels and their inscriptions. At the same time, desktop icons can be subject to further customization and improvements.

Another interesting feature of the firmware is the ability to automatically change the profile of the device depending on its position in space. Being connected to the operation of the accelerometer, this function can significantly save time when switching your smartphone from one mode to another. So, you can configure the device in such a way that when you put it face down, it will automatically go into sleep mode and activate all the options necessary for this.

Other Features AOKP:

  • Ability to customize the animation of the device boot process
  • Ability to set a special action for holding one or another button on the main panel
  • Ability to change the background of the notification shade
  • Ability to manually configure the processor
  • Full customization of the status bar and navigation bar
  • Ability to set your own templates for vibration alerts

Still can't decide on custom firmware? Then you should try PAC ROM - custom ROM which includes a number of features, AOKP And . The firmware has very little of its own, but the best features of the above ROM's this is more than compensated for. The only truly unique feature is the settings. They were specially created to present the combined capabilities to the user in the most accessible and convenient way.

Official site

More detailed description of Pacman ROM

This firmware can be called universal, since it has absorbed the best properties of its more well-known analogues, including, AOKP And Paranoid Android. In fact, the user has the opportunity to work in one of three different interfaces inherent in these firmwares, to suit his taste.

Pacman Rom It is considered a relatively new custom firmware, but despite this it is more stable and has competitive performance. Initially, the firmware was developed for a smartphone Sony Xperia Ray, and later began to be ported to other devices Android.

WITH Pacman ROM The main screen of a smartphone or tablet can be conveniently switched to one of the preset modes: stock, recommended and tablet. The main control buttons are, as always, available for upgrading and changing functions. It is possible to change the transparency of the notification panel and add a background image to it. Just like in other famous firmwares, in Pacman ROM there are custom interfaces Halo, Ribbon And PIE Controls, and it is also possible to manage core settings and monitor its frequency status.

Other properties Pacman ROM:

  • CRT animation support
  • Ability to control the device using gestures
  • Wide selection of themes
  • Availability of settings to improve device security
  • Advanced lock screen settings

Last listed ROM is still under development, but already at this stage we can safely predict that the output will have to be a very powerful custom firmware, since the developers invite users to choose for themselves the functions that need to be equipped with the future system by participating in a vote on their official website . In addition, the firmware source code is freely available there, which may be of interest to advanced users who want to contribute to optimization ROM 80 ratings.
There are 80 reviews in total.

Spreadtrum Communications, Inc. develops mobile chipset platforms for smartphones. Among them are the Spreadtrum sc6820, SC6530, SC8810 and others processors. Owners of these devices have a question - how to make a backup copy and flash a phone based on a Spreadtrum processor?

Before flashing, need to make a backup copy(if possible)

If the phone turns on and it is possible to install the application , Then get root rights for your device and enable USB Debugging in the settings. Then download and use notepad to open the mkbackup.sh script - find the line in it:

/mkyaffs2image /data $MTD.$NAME.yaffs2.img

change to

/mnt/sdcard/mkyaffs2image /data $MTD.$NAME.yaffs2.img

/mkyaffs2image /$NAME $MTD.$NAME.yaffs2.img

change to

/mnt/sdcard/mkyaffs2image /$NAME $MTD.$NAME.yaffs2.img

save changes. Copy mkbackup.sh and mkyaffs2image to the root of the SD card

In Android Terminal Emulator run the commands

Su mount -o remount,rw /mnt/sdcard /mnt/sdcard chmod 777 /mnt/sdcard/ chmod 777 /mnt/sdcard/mkbackup.sh chmod 777 /mnt/sdcard/mkyaffs2image sh /mnt/sdcard/mkbackup.sh

wait a little for the partitions to be copied to the backup folder of your phone’s SD card

How to restore your phone from a backup

Turn on the " USB Debugging" (USB debugging).
and install it on the local drive C of your computer.
Launch ADB in any of the following ways:

1. Start -> Run -> cmd -> Enter.
2. Press the key combination WIN+R -> сmd -> Enter.
3. In the Windows\System32 folder, find the cmd.exe file and run it.

Go to the ADB directory with the command

Cd c:\adb\

In the command line window, enter the commands (preferably root rights):

Adb devices adb shell wipe data wipe system wipe all

as well as drivers for the phone:

Connect your phone and install the driver.

2. If you are afraid of breaking something when flashing, then use the program - it will automatically set all the necessary settings for flashing your phone, you will only need to specify the firmware file that you want to install on your phone. If you have already flashed your phone and are familiar with the ResearchDownload program, then use it.

3. Download the necessary firmware for your phone on the Spreadtrum platform. To determine your phone model, use the MTK Droid Root & Tools program

4. Launch ResearchDownload or UpgradeDownload using the gear button (Load Packet) and specify the file of the firmware unpacked from the archive that you want to download to the phone.

5. Remove the battery, SIM cards and flash card from your phone.
Plug the microUSB cable into the phone, and in ResearchDownload or UpgradeDownload, click the button with the image of the Play button (Start Downloading).

Press and hold the volume down key on your phone and plug the USB cable from your phone into your computer. Insert the battery into the phone. The phone's firmware will begin.
Do not release the volume down button and do not pull the phone until you see a green message indicating the completion of downloading the firmware to your phone.

6. When the firmware is finished, remove the microUSB cable from the phone, release the volume down button and turn on the phone (you may need to remove and reinsert the battery into the phone).

After a while, the phone will boot and you will see the new firmware of the phone.

Keep in mind that during the firmware update, your accounts, passwords, and programs installed in the old firmware will be deleted from the phone.

7. If you want to flash your phone and not lose your data, then there is a way that allows you to do this, but it does not always work and it may happen that you still have to use the steps described and flash the phone completely with data loss.
To do this, you need to use the ResearchDownload program.
Using the gear button (Load Packet), select the firmware, then go to the button with two gears (Settings) and on the Main Page tab, leave all the checkboxes except UserData.
Click Ok and then proceed as described in steps 5-6.

8. If an error occurs in ResearchDownload during the firmware installation, for example Progress: Failed: Operation failed, then you need to specify the correct FDL files in the ResearchDownload program settings by clicking on the Settings button with two gears

FDL files are downloaded to the phone for the purpose of executing ResearchDownload commands, a script for reading markup, launches FDL2 in accordance with its contents,
If you don’t know which pair of FDL files to use for your phone, then you can select it. To do this, it is necessary that the line mtdparts=sprd-nand, written in FDL2, matched the markup line from the backup file cmdline.info (/proc/cmdline). Here

But there is very little information on how to install them specifically on your smartphone or tablet model, or it is scattered across the Internet.

This article only applies to installing custom firmware using ZIP UPDATES, and not in any other way.

Briefly about the main thing...

The Android operating system, it will remain the same in Africa, whether you have Samsung, LG, HTC, Sony, Motorola or another manufacturer... There is a certain set of rules, a sequence of actions that are slightly supplemented depending on the manufacturer, but the process of installing custom firmware similar to all devices. Here are the simple steps:

  1. Download the firmware
  2. Download Google services (optional)
  3. Make a backup (optional)
  4. Unlock Bootloader (one time, depending on the brand)
  5. Install Recovery (one time)
  6. Install the firmware and Google Services
  7. Reset data
  8. Waiting for first boot

There are a total of 8 steps (2 optional, 2 performed once). Of these, in the future you will repeat only 3 - 5 if suddenly you want to change the firmware.

Ready-made solution!

Website Android +1 I have prepared separate instructions for installing custom firmware for the following brands and manufacturers:

  • Installing custom firmware on Nexus
  • Installing custom firmware on Samsung
  • Installing custom firmware on HTC

Where can you find custom firmware for your Android?

Unlock Bootloader

You are the happy owner of Sony, HTC, Huawei, Nexus, then you will have an additional procedure to install custom firmware - unlocking Bootloader.

  • Unlock Bootloader Sony
  • Unlock Bootloader HTC
  • Unlock Bootloader Huawei
  • Unlock Bootloader Nexus

This procedure is performed once and can be skipped in the future.

Find and download custom Recovery (or Kernel with Recovery)

You are moving by leaps and bounds towards installing your first custom firmware! Let's continue... You also need to download a custom Recovery, why do you ask?

There are several reasons:

  1. Some devices simply don’t have it (Recovery), but you need to install custom firmware and GAPPS from it
  2. It will not be possible to install custom firmware from the original Recovery (if there is one) due to the fact that there is no manufacturer’s signature, and custom Recovery disables the signature and allows the installation of various ZIP updates, including custom firmware.

In some cases, Recovery is built into the Android kernel (Sony, sometimes Samsung) so you need to look for a kernel with CWM or TWRP Recovery instead of just looking for Recovery.

For those who read to the end... Would you like to see a video review of the installation of Custom Firmware? Write a review in the comments!

Are you having trouble opening .PAC files? We collect information about file formats and can explain what PAC files are. Additionally, we recommend programs that are most suitable for opening or converting such files.

In addition, the extension .pac denotes the Pyro Audio Creator Project file type ( .pac), which is used by the commercial audio editor, encoder, and CD/DVD burner Pyro Audio Creator from Cakewalk (Twelve Tone Systems, Inc.). File .pac is a project of the audio editor module of the program (Audio Editor). This is a RIFF container with audio data in WAVE format (16-bit, 44 kHz), which is essentially a regular WAV file for saving the current state of the project. By changing the file extension from .pac to .wav, it can be played back or further edited using a range of multimedia programs in addition to Pyro Audio Creator.

Commercial fabric and clothing design program CLO 3D/Marvelous Designer (CLO 3D/MD) from CLO Virtual Fashion Inc. uses extension .pac to denote the "old" clothing file format ( .pac). As an abbreviation for "Pattern and Cloth" extension .pac assigned to clothing item files created in CLO 3D/MD version 4.00 and lower. Each such file ( .pac) contains a three-dimensional model of a specific item of clothing and flat pattern data. This file is always saved along with the mannequin pose file (.pos) and preview image, while the textures are stored separately. PAC files are saved in a proprietary format and can only be used with CLO 3D/MD. CLO 3D/MD 4.00 and newer versions use a different, newer "Zipped PAC (ZPAC)" clothing file format by default.

Extension .pac also related to the PAC (PU2000, PU2020) subtitle format developed by Screen Electronics along with its sister format RAC (.rac) for professional broadcast captioning. In addition to the subtitle content, the file .pac(.rac) stores time and position stamps, as well as information about the italicized portions of the subtitles. Subtitles in this format ( .pac/.rac) are not supported by most universal media players, but can be opened and edited, and converted to other formats using professional subtitle editors like TitleVision 2003 or dedicated converters.

Another use case for the extension .pac associated with the package file format ( .pac) the basic software (“firmware”) used by the ResearchDownload utility. Here's the file .pac is a complete firmware image of a mobile device (smartphone) of Chinese origin running Android OS, built on the basis of one of the Spreadtrum chipsets. Such a file can be used to update or completely replace the basic software of the device, although the wrong file selection .pac can completely damage your smartphone. Firmware files .pac usually have long names that contain indications of the name and model of the device, firmware version and other necessary information.

In relation to the long-outdated Atari ST computer platform and the STAD computer-aided design program used on it, the extension .pac served to designate STAD image files. As files .pac STAD saved "high-resolution" (640x400) drawings using a special raster format with RLE compression and support for both horizontal and vertical bytelines. Similar images ( .pac) can be opened using several universal graphical utilities.

Finally, as an intuitive shorthand for the word "package/packet" (package) extension .pac used as a generic identifier for package files. A file package is a container archive with an internal file system analogue that serves as a container for other files. Extension .pac can be used by many programs in relation to various file formats, which often include standard archive formats like ZIP.

Programs for opening or converting PAC files

You can open PAC files with the following programs: 

WARNING: THE PROCESS OF PORTING FIRMWARE CAN END EXTREMELY BADLY FOR YOUR PHONE. EVERYTHING YOU WILL DO IS ONLY AT YOUR OWN RISK...

For me to assemble the first firmware for a smartphone Blade AF3 it took about two months. But by and large, everything turned out to be simpler than I thought. For those who wish, reading this page will undoubtedly make it easier...

Information for your information: The firmware can be compiled in the format .PAC for flashing via computer using ResearchDownload or in the form zip file to install via CWM-TWRP Recovery.

On this page I will describe how to assemble the firmware Android 4.4.2 in format .PAC for installation on the phone via a computer.

What you want to know.

1. Be able to flash your phone with firmware in the format .PAC, which will ultimately help when unpacking the firmware in the format .PAC for its preliminary editing. You can see how this is done on this page -
2. Be able to parse the main firmware file system.img and in certain cases collect it.
3. It will not be superfluous to be able to disassemble (as well as change and assemble) firmware files boot.img And recovery.img.
4. It will not be superfluous to be able to edit-decompile-compile applications in the format .apk.

Programs used

1. For firmware (unpacking firmware) I first used the R program esearchDownload_R2.9.9005, with the advent of Android 5.0 - RESEARCHDOWNLOAD_R2.9.9016.
2. For disassembly system.img(4.4.2-5.1)used RKwinToolsMod_v2_8. I also collected it with this program, but starting from Android 5.0- assemble working system.img Did not work out.
3. Firmware files boot.img And recovery.img disassembled and reassembled using Android Image Kitchen.
4. To assemble the firmware in the form zip-and for CWM used ordinary WinRAR, as well as a text editor Notepad++.
5. To decompile files .apk mainly used ApkTools200b9m, which did not always help. In general, working with .apk has specific subtleties that I have not yet fully comprehended..

Porting firmware in .PAC format

THE INFORMATION ON THIS PAGE IS DESIGNED FOR PEOPLE WHO ARE NOT Familiar WITH THE ANDROID SYSTEM AND THEREFORE THERE WILL BE NO ELEMENTS OF “CHEWING” THE MATERIAL.

The main criterion in choosing a donor should be the similarity of processors and Androids - if the phone is with 4.4.2, then the donor should also be 4.4.2. It is highly desirable (but not critical) that the devices be as similar in hardware as possible.

First you need to download the firmware from the donor. These are on the site http://www.needrom.com/. For phones with processor SC7731— . The firmware description usually indicates some information about this software and looks something like this - Official ROM Colors X14 version:FS031M02_Z10_WK_K548_T20_FWVGA_V01_64X4_BT_FM_WIFI_GPS_ACC_PLS_2SIM_20150803_1739 – scx35_sp7731gea _fs031_project-user 4.4.2 KOT49H, where we turn to the letters and numbers I highlighted in red. If you look in build.prop phone Blade AF3, then such lines will also be found. And although this is not a mandatory rule, the more similar the software is, the easier the porting process can be.

Unpack the downloaded firmware and run R esearchDownload_R2.9.9005, select unpacked from archive PAC-file. Go along the path C:\Users\User-Name\AppData\Local\Temp\_DownloadFiles******- where in the last directory the firmware will be located in a more familiar form.

If you use RESEARCHDOWNLOAD_R2.9.9016- then the path to the unpacked firmware will look something like this (depending on the directory in which this program is located) - E:\Downloads\RESEARCHDOWNLOAD_R2.9.9016\Bin\ImageFiles\_DownloadFiles******.

For further actions I copy the files - boot.img, kernel_logo.bmp(1), boot_logo.bmp(may be called differently), recovery.img, system.img And SC77xx.xml(may also be called differently, but has a .xml extension) into a separate folder with the name of the phone of this firmware.

The first thing you need to do is look at the file SC77xx.xml, to determine the installed markup of this firmware.

It is mainly of two types - first option used on the phone Blade AF3. When porting the second donor option there will be problems with memory mapping, but most often this can be solved by additional actions... but not always...

You also need to pay attention to the file size system.img. It is advisable that it should not exceed the size of the same file of the stock firmware (For stock Blade AF3- 1187840 Kb). Or you will have to make changes to the file SC77xx.xml.

Next, I open the stock firmware from Blade AF3 V ResearchDownload and go to the program settings (the button with two gears), where I uncheck all the boxes (they will remain only on the first two lines). Next, check the box next to system and right-click on this line - a file selection window will open, where you need to select system from donor firmware.

Next you need to flash this file. When the process is finished, press the button Stop(in the form of a square), disconnect the phone from the computer, remove and insert the battery back and turn on the phone... if the firmware is from similar phones, there is a high probability that the system will boot... If not, it is always possible to restore the original state of the phone by flashing it back system from the stock firmware (you can try to run such firmware by doing it in the form ZIP-and with installation via CWM-TWRP Recovery. This option makes it easier to make and check changes in the system).

If the system starts up, then one of the most common problems is non-working cameras. It is also possible that screen rotation does not work. These problems are often solved by simply replacing the next few files from the stock firmware to the folder /system/lib/hw. By camera - camera.sc8830.so and camera2.sc8830.so, across the screen - sensors.sc8830.so. In severe cases, you should try changing the libs related to the camera in the folder /system/lib. True, in some cases, after such a replacement the system does not start.

If the donor's markup differs from the stock one, then upon startup it will be discovered that there is no SD card, and perhaps the internal memory is not displayed. In this case, sometimes a little editing of the file helps. framework-res.apk from the folder /system/framework. To do this, you need to copy both of these files from the stock and donor firmware. Open stock framework-res.apk ordinary WinRAR-om and extract the file from it - storage_list.xml, located along this path - framework-res/res/xml. Next open framework-res.apk donor and replace it storage_list.xml file extracted from stock. Now all that remains is to somehow replace it in the firmware, which can be done through TWRP-Recovery built-in file manager, having previously placed the modified one (and a copy of the unmodified one, just in case) framework-res.apk to SD card. And start the system... sometimes the editing option using storage_list.xml It doesn’t work from the stock firmware and I added it from another firmware, where the memory was fine right away. In theory, it needs to be disassembled (decompiled) framework-res.apk, but there are many complexities here that would require a large page to describe.

To be continued…..

Related articles:

69 comments

  • Erzh said:

    Hello, Valera Privalov. After the firmware I seem to have loaded before selecting the language, but the problem is in the touchscreen I press on the screen, but it does not respond to clicks and the buttons all work fine, what could be the problem?



 

It might be useful to read: