Mac PP Assistant installs Deb file

Source: Internet
Author: User
Tags appsync

1, using the PP assistant, go to the tool list--file System (System), find var/root/media/cydia/autoinstall/, and then import the Deb format file in the directory.

2, and then restart the phone can

Problems you may encounter:

1, if you restart the phone after the installation is not successful, and then restart two times just fine.

2, enter the PP assistant, enter the tool list, file system (System), var/root/media/no files or click Cydia installation directory prompts no Cydia directory:

Method: Add enter cydia--Management--software source--Edit/Add: "Apt.25pp.com"--add success--then open "apt.25pp.com"-install app file Conduit ' 2 ' patch and corresponding system Appsync for Ios5.0+/6.0+/ipa Patch iOS7. X

3,cydia not load properly?
Method: Because of the number of jailbreak now more, so Cydia service busy can not load normally.
1. It is recommended to connect a stable WiFi network or 3G network to open cydia for loading.
2. Please enter Cydia during idle time to load the installation plugin .

4. Unable to install Appsync (iPA) Patch:
If the Cydia source does not load successfully the content will cause the installation plug-in to fail or be missing a dependent package.
1. Using the offline installation Appsync (IPA) patch
2. Please wait for the idle time before entering the Cydia load installation plugin.

5, attach the copy of the information to find:

about Deb format
Deb is the installation package under the Unix system (essentially Linux), based on the tar package, so that it will log the file's permissions (read/write/execute) and the owner/user group itself. Because the Unix class system has strict requirements on permissions, owners, and groups, and the Deb format installation package often involves the system to compare the underlying operations, so the settings such as permissions are particularly important.


The Deb package itself consists of three parts:
• The data packet containing the actual installed program data, the file name is Data.tar.XXX;
• Installation information and control script package, including Deb installation instructions, logos, scripts, etc., the file name is control.tar.gz;
• The last one is some binary data for the Deb file, including the file first class information, which is generally not visible, and can be seen in some software open.

The deb itself can use different compression methods. The tar format is not a compressed format, but rather a direct collection of scattered files and directories, and records their permissions and other data information. Previously mentioned Data.tar.XXX, here XXX is after the compression of the suffix name. The compression format used by Deb is in gzip format, so the most common is data.tar.gz. Often the compression format also has bzip2 and Lzma, wherein the LZMA compression rate is the highest, but the compression requires CPU resources and time are relatively long.

Data.tar.gz contains the actual installed program data, and during the installation process, the data in the package is extracted directly to the root directory (that is/), so you need to set up the appropriate file/directory tree according to the location of the file before packaging.

The control.tar.gz, however, contains the control information required for a Deb installation. There are generally 5 files:
control, using the record software identification, version number, platform, dependency information and other data;
Preinst, a script that runs before unpacking the data.tar.gz;
Postinst, a script that runs after unpacking the data;
Prerm, when uninstalling, the script to run before deleting the file;
POSTRM, a script that runs after deleting a file;
• In the Cydia system, Cydia's author Saurik added another script, extrainst_, similar to Postinst.

=================================================================
about the IPA format
People who have used Mac OS probably know that most of the software under the Mac has only one. App directory, which contains all of the program's resources and executable files. In short, the software under the MAC is like the green software under Windows, it can be used after decompression, no need to install, uninstall and then only remove the program files (here does not involve PKG format installation package). The IPA format can be seen as a derivative of this. App software.

The IPA file is essentially a ZIP archive package (not a RAR or 7z package) that contains 3 components:
The. App directory under the payload directory, which is the main program of the software;
Itunesartwork, in essence, is a PNG image with no suffix, used to display icons in iTunes;
Itunesmetadata.plist, record the purchaser's information, price and other data.

Since the ZIP package cannot record the permissions and owner information, Apple specifies the IPA installation method, that is, all IPA will be unpacked installed in the/var/mobile/applications directory, all files and directories of the owner and user groups are set to Mobile (ID 501), The permissions of the main program (executable file) are set to 0755 (everyone can execute, but only the owner can modify it), and the executable is defined in plist. The full directory permission is set to 0755, and all other files are set to 0644 (only the owner can modify it, the rest is only allowed to read, and no one is allowed to do it).

IPA after unpacking is not placed directly in the applications directory, but placed in a series of random code in a directory, its role is to allow this software to run in a specific sandbox (sandbox), can not interfere with other software. Therefore, in addition to the three components of the IPA itself, there are three directories in the Random code directory:
The Library, usually using the storage settings files and other data;
Documents, storing data, multi-use Save archive;
TMP, temp folder.

Since this software can only be run in this particular directory (of course, some programs will call the system's contacts, cameras and other components, but still limited), thus ensuring the security and stability of the entire system.

Because of the strict rules of the Unix system, the "ultra vires" behavior is absolutely not allowed. For example, mobile users do not have permission to delete root files because root has more privileges than mobile. Therefore, some people in the IPA after the installation of the file, such as the Chinese or modify the archive, found that the clean software can not be deleted, or can not be saved, because the deletion can not delete the root of all the files, the program itself can not be the root of all the archive files to write operations.

=================================================================
about the PXL format
The PXL format was the only installation format on the IPhone platform in the 1.x era, since there was no Cydia such as APT management software, and Apple officially did not launch the APP Store. As a result of the popularity of the 1.x era, in the next App Store era, the PXL format in its relatively simple packaging and installation methods, still occupy a large part of the market.

The PXL installation package typically consists of 3 components:
pxlpkg.plist the location, owner, authority and software identification of the recording program files;
Pkgscript folder, storing installation and uninstallation scripts;
• Program Files.

The beginning of the Pxlpkg.plist file is usually Cfbundleidentifier, which records the unique identification of the software to differentiate it from other software. Rdpxlpackageversion records the software version. The rdpxlpackagefireware is used to record the firmware version that can be run. The rest of the key values are used to record software introductions, URLs, author information and other data.

In addition to software identification, software versions, and available firmware versions, the core of Pxlpkg.plist is the Rdpxlpackagefiles and rdpxlpackagepostflight two items. Rdpxlpackagefiles records the path to which the program file should be copied, and provides the parameters for overwriting: overwrite. Rdpxlpackagepostflight, however, records the owner and the permissions that the program file should be given, and is implemented with Chown and chmod commands, respectively. Also, for PXL with installation/uninstallation scripts, the corresponding script postflight and Preremove are executed with the SH command.

Pkgscript typically contains two files, scripts executed after installation postflight and scripts executed before uninstallation Preremove, both of which are standard Linux shell scripts executed with the SH command.

--------------------------------------------------------------------------------
features of various types of installation packages and their installation and unloading methods


 

Features of Deb
• Rich resources: Cydia on its own, not to mention any format of the installation package can be converted to Deb.
• Relatively convenient online purchase mode: Cydia store, although there is no APP store 5 device restrictions, but for domestic users, payment method is more difficult.
• It is difficult to crack, not using the APP Store authentication method, so the verification and anti-cracking measures must be added inside the program, so it is more difficult to crack, it is a good thing for software developers.
• Complete Unix file system support: No need to set file permissions, owners, and user groups with a command (also can be set with a script, of course)
• Complete Scripting support: 5 scripts are executed in the order of installation and uninstallation, providing more options. such as backup and restore operations, you can back up files in Preinst, and restore files in POSTRM
• Strict dependencies: Deb follows strict dependencies (specified in Depends and pre-depends) to ensure that the software runs the necessary components. The dependent packages are automatically installed when they are installed online. Unloading is also important, such as package A depends on B, when uninstalling B will be prompted a to rely on B, unloading B will cause a can not be used, so as to ensure the integrity and stability of the system.
• Full permissions: Because Deb must run as the highest-privilege root, Deb can operate anywhere on the system, in other words, Deb has full control over the entire system, so the Deb installer software can implement many functions that cannot be achieved by IPA.
• Relatively simple access (online or offline) and installation, and no need to worry about syncing on different machines will erase the problem of the program.
• Installation is relatively simple: in fact, no matter what kind of installation package, the installation method is not very complicated, but deb slightly more complex.

There are roughly 5 ways to install Deb:
Cydia or similar APT management software is installed online, this is the best way to install, because usually do not have to consider the dependency relationship, but the disadvantage is that the requirements of the network is relatively high;
Installed as Dpkg-i xxx.deb in the command line, the advantage is that you can install multiple deb at once with a wildcard, and you can see the health of the script and the prompt for installation success/failure, with the disadvantage of requiring command-line software support such as the console of the PUTTY/WINSCP/issh /mobileterminal, many people are also unfamiliar with command-line operations. In addition, the icon will not be displayed when the installation is finished;
Place a restart installation in the AutoInstall directory. This method is actually a startup script provided by Cydia, which is installed with the dpkg command every time the system starts
AutoInstall Directory of Deb, the advantage is not required command line operation, the disadvantage is that it must be restarted, and some even to restart two times, there will be no icon to show the situation;

With IFile installation, the advantage is the graphical operation, the desktop will display icons, the disadvantage is not to install multiple deb at once;

Installed with Cyder II software, the principle is to simulate an APT software manager to download the appropriate Deb file and upload it to the device, and then install it in several ways.

In general, the installation of Deb depends on the dpkg-i command to install, but some of the command line to enter commands, some of which provide a graphical interface. But in addition to Cydia installation one way, the remaining several installation methods have some common problems:
• Do not search for dependencies on your own, you must manually provide the deb you depend on;
Cydia will read some of the special statements in the installation script, such as executing only during a fresh installation, not during the upgrade, restarting springboard or devices after installation, and so on.

Of Course, the uninstall of the Deb software is also relatively simple, there are three ways:
Cydia Uninstall, the advantage is the uninstall process and prompt information is very detailed, full graphical interface operation, but also provides the option to reinstall;
• Uninstall with dpkg-r package_id command or dpkg-p package_id command;
cydelete To uninstall, the advantage is that you can directly on the desktop to uninstall the software has icons, but for those without icons powerless.

In fact, whether it is installed or deleted, you can only have a full manual method. That is, after unpacking Deb, you put the file in the appropriate location, then set permissions, and execute the script. But is that necessary?

the installation process for Deb is as follows:
Read the database and lock it down to avoid having two setup programs running at the same time
Read the package (bundle ID) and version information in control and search the database, if it exists, then install it after uninstalling;
Check Depends, Pre-depends, Conflicts, and replaces, and if the software already exists in the Conflicts is detected, an error is made and the installation is terminated. If the software specified by Pre-depends is not found, an error is given and the installation is terminated. If the software specified in the replaces is found, uninstall it;
Writes data to the/var/lib/dpkg/status file;
Executes the Preinst script (if any);
Unpack the data.tar.gz, place the file in the appropriate location, and write the file list to/var/lib/dpkg/info/xxx.list;
Run the Postinst and Extrainst_ scripts (if any);
If the previous installation is not an error, that is, the installation is successful, then the status file will be written status:install OK installed information, otherwise it will write other state data, such as unpacked (unpacked data), Failed-config (script failed to execute successfully), half-installed (installation failed, etc.);
Reload the database and unlock it.

the uninstallation process for Deb is as follows:
Read the database and lock it;
Search the database according to the software identification;
Check if there is software dependent on the software to be uninstalled, if there is a prompt, and interrupt uninstall;
Executes the Prerm script (if any);
Read the/var/lib/dpkg/info/xxx.list file and delete all files and non-empty folders recorded in the list file;
Run the POSTRM script;
If the Unload command is Dpkg-r, keep the record in status and change to Status:not installed, or delete all data if the unload command is dpkg-p;
If the uninstallation process is not error-free, re-read the database and unlock it.

Because the Deb-installed software may place the archive file under/var/mobile/documents at run time, or place the settings file under/var/mobile/library/preferences, and these files are not recorded in the list file, So the uninstallation will not be deleted.
============================================================

Features of IPA
• Rich resources: There are so many resources on the App Store, Apptrackr and other websites offer a lot of cracked versions.
• Perfect update and post-service.
• Security is guaranteed only with minimal permissions.
• Does not involve system-level operations, so it is generally not easy to cause the freezing or white apples (some are due to the resource consumption is too large, so the card dies).
• Easy installation, whether it is installed directly on the device with the App Store, in sync with ITunes, or in the form of third-party software such as the PP Helper, is a quick and easy way to install.
• Super Simple Uninstall Method: What's easier than just having an X to unload?
• Completely deleted without leaving any junk files (such as archives, settings files, etc.)
• It's easier to crack in general, but now more and more software has added anti-cracking measures.

As mentioned before, IPA software is installed in a similar sandbox environment, in addition to the/VAR/MOBILE/MEDIA/DCIM directory (photo, storage directory) operation, or call wallpaper, ringtones, cameras and other components, can not interfere with the system, This ensures the stable operation of the system and does not interfere with the normal use of other software. But the problem is, because the IPA software has very low permissions, want to modify the system, especially when applying patches, IPA can do nothing.

IPA software Official installation methods are two, one is in the app Store software to download the installation, the second is to sync with ITunes.

The former problem is mainly network problems, the speed is not easy to install failure, GPRS and other Internet installation is very consumption of traffic. The latter problem is mainly not used under different systems (including different computers and different systems on the same computer), synchronization on other systems will erase the original software. Of course, ITunes's long synchronization time is often criticized. Especially when installing software is much more, the backup before each synchronization takes a long time, this is disgusting (but can be directly X off the backup operation).
Because there are some problems with these two ways, many people will choose to use the PP mobile phone assistant to install the IPA, which is indeed a good choice.

The PP helper can basically replace iTunes, but it's not exactly the same. The most typical is the use of the PP Assistant mobile version of the installation. If you do not want to use itunes, you can use the next try, although not a complete replacement, but to a good degree is almost perfect.

As for the uninstallation of the IPA file, there are three ways:
• Press and hold the icon on the device until you start shaking, click the X in the upper left corner of the icon to unload;
• Manage uninstall using the PP Helper mobile version or PC version ()
• Uncheck in ITunes, then sync
• Locate the appropriate directory under/var/mobile/applications and forcibly delete the entire folder. This can be used in the previous two methods (sometimes unloading too large software, such as more than 1G, because the removal process is too long to cause loss of response and delete failure. ), but this method can cause instability in the system. Unless you do have a problem, it is strongly recommended that you do not use it.

<ignore_js_op><ignore_js_op>
================================================================

Features of Pxl
• Strictly speaking, the PXL format is not too much, but also a lot. Most of the PXL formats are now users of the PP helper.
• In terms of timeliness, a lot of software (mainly on the App Store) will be turned into a pxl format as soon as it is cracked, so the PXL format update is good.
• Since PP phone assistant does not have iTunes sync to erase the software, plus some other more convenient features, so many beginners are starting from the PP assistant to understand and familiar with the use of Iphone/ipod Touch.
The popularity of the PXL format is not a relic of history, but is in line with the needs of the market law. The convenient software management of the PP helper, combined with the free charm, makes the PXL format popular in the new hands.

In fact, the PXL format and the Deb format have exactly the same functionality. Although PXL cannot log file permissions and other data, it can be fully compensated with a script. That is to say, the PXL format and the Deb format are actually not comparable. And because the PXL format does not need to be relatively rare in the Unix environment, especially the Debian environment, which itself is better than the Deb format.

The problem with PXL format is more than the problem of PXL itself, but the problem of the packager and the defect of the installation method.

The PXL format was the only installation package format in the 1.x era, leaving us too many memories, and we should still support and respect the contribution of PXL. But with the development of the Times, PXL has been improved by the PP assistant, more for the user in the service, is commendable.

--------------------------------------------------------------------------------
Summary
IPA and Deb installation methods, IPA installation preferred iTunes sync and App Store online installation, PP Assistant or its PC assistant to ensure optimal compatibility. Deb's installation option Cydia online installation!

Mac PP Assistant installs Deb file

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.