Flashing Terminology and Root (Helping a newbie brother)

The original poster: Xiao Leng Views: 261 Replies: 8 Posted in: 2014-04-16 15:08:32
1. Base Package \ The official system package, equivalent to our Windows operating system. In fact, it is akin to a clean version or a kernel version of the system package, and is the most low-level component. Its file extension is .sbf. Base packages are usually officially released, and ROM developers can directly use them. There aren't many versions to choose from, and updates are usually not frequent. Base packages are typically flashed using a PC-side flashing tool (RSD) with the Bootloader's engineering mode.
2. Update Package (Image Package) \ An enhanced package of the base package created by many enthusiasts, usually in the form of an update.zip file. Update packages are expansions and enhancements of base packages, including a series of auxiliary tools and services. If the base package does not have Chinese language support, it can be added through an update package. Additionally, many features are implemented via update packages. In other words, after flashing the base package, using the corresponding update package completes the full system. Update packages are usually flashed through the Recovery tool by reading from the SD card.
3. Bootloader \ Equivalent to the BIOS (Basic Input/Output System) in a computer. When the phone is turned on, the device is controlled by the Bootloader. What we usually mean by entering the Bootloader is actually entering the Bootloader's engineering mode, also known as flashing mode. In this mode, the Moto .sbf file (base package) can be flashed onto the device.
4. Recovery \ An independent backup and restore tool built into Moto phones, similar to some one-click system restore tools on a computer. It is a mode that can still be accessed when the system encounters problems. Moto's Recovery mainly provides WIPE (hard reset, clearing data, restoring factory settings) and Update (usually used to install the update.zip package) functions. Recovery cannot directly flash the base package; it usually flashes the update package (update.zip) by automatically searching for a specific file on the SD card, then writing it to the system.
5. Baseband \ A dedicated code in the phone, which can be understood as a BIOS specifically responsible for communication. It handles the demodulation, descrambling, despreading, and decoding of wireless signals in the mobile network. Different basebands can result in different signal performance. Since network conditions vary by region, users need to select the baseband suitable for themselves.
6. WIPE \ After a wipe, the device is restored to factory settings, which includes deletion of contacts, text messages, installed apps, and everything else. Commonly known as a hard reset or factory reset.Note, after a wipe, app2sd and root permissions need to be redone. Also, the important steps for app2sd partitioning need to be repeated. Some claims mention that a WIPE operation is required before flashing the base package or upgrade package, but I am not very sure about the necessity of this operation.
7. OpenRecovery (abbreviated as OR) \ Since MOTO did something annoying with the size of the update.zip (there may be other issues as well), these issues affected the creation of the upgrade package. So experts developed OpenRecovery; this is essentially a third-party enhanced version of the Recovery tool. Some versions of OpenRecovery have evolved into a small system with many functions (similar to Windows PE). In OR, many tasks can be completed. We can think of OR as an emergency PE system on a computer, where you can adjust overclocking, baseband, app2sd, change boot animations, wipe, change time zone, adjust keyboard layout, or even use USB as a card reader, etc. Anything recovery can do, OR can do; anything recovery can't do, OR can do.
Typically, OpenRecovery has two parts on the SD card: update.zip and the OpenRecovery directory. The latest GOT base package adds a new OpenRecovery-CFG directory to store various personal files. The update.zip is used as a standard zip upgrade package to trick MOTO, while the real upgrade package should be placed in /sdcard/OpenRecovery/updates.
8. App2sd \ Simply put, it's actually very simple—it installs APK files onto the SD card. Android is derived from Linux. The principle of app2sd is to partition the SD card and then merge a specific partition on the SD into the system partition (if you don't understand, it's okay). The partition created is in Ext2 format, which is generally not recognized by Windows. Don't panic; this is normal. App2sd requires a high-quality SD card; if it feels slow after app2sd, try a C4 SD card.\ Because under version 2.1, app2sd requires SD card partitioning, which is a relatively complex operation. Beginners with poor English or weak computer skills may make mistakes. It is recommended to perform App2sd only if you are very familiar with Android.
9. Root \ Everyone knows that the Android system is derived from Linux, and it is precisely this open-source kernel that allows enthusiasts to freely experiment.Root is a system-level account in Linux systems that has all system permissions. Android is designed not to expose this user to protect system security, but this protection seems to also bring a lot of inconvenience. Therefore, there are some tools and methods to enable this account. There seem to be many methods to enable the Root account, which will not be detailed here. From a principle analysis, root privileges should be achieved by installing a certain system-level service in the Android system; this service has root privileges, and then other programs that require root privileges request root access from this service. WIPE and flashing the device might cause root privileges to become invalid, requiring root to be re-enabled.\Other notes:\1. From a principle perspective, normally the base package, Bootloader, Recovery, and baseband can all be refreshed or replaced, and upgrade packages even more so. However, third-party development or modification of the base package and Bootloader is rare; generally, the official releases are used. The Defy versions 2.21 and 2.51 we hear about actually correspond to two base packages officially released by Moto.\2. Sometimes the base package may include Bootloader and Recovery built in; when such a base package is refreshed, these two components are updated together (speculative, not certain). Updating such a base package is risky and may damage the Bootloader; if this component is damaged, the device is basically bricked, and if it is not damaged, it is not bricked.\3. What we commonly refer to as flashing a ROM is actually an upgrade package, which is created corresponding to a specific base package. Therefore, when flashing, it is crucial to ensure that the base package and the upgrade package versions are consistent.\4. Other versions to pay attention to include: Bootloader version, baseband version, and Recovery version.\5. Currently, some OpenRecovery tools support flashing base packages and upgrade packages together from the SD card.\6. It seems very important to ensure the system is clean and tidy before flashing. Many tutorials mention the steps of WIPE - flash base package - flash upgrade package to ensure cleanliness before flashing. In fact, if the base package version has not changed, flashing the base package seems, perhaps, probably, maybe, could be unnecessary (further verification needed).
reply 🤍 0 📤 share collect
Sofa purple top!!
Top
Top!
I'm here! Thanks, Xiao Leng!
So it was Xiao Dou
Who is Xiao Dou...
Ha, after a wipe, will root become invalid???
Isn't it you?
— All replies loaded —

Leave a Reply