Tuesday, January 15, 2013

How to create a custom patch by using lucky patcher on your android smart phones.

Before starting with the lucky patcher you need to know few things about the lucky patcher.

-Firstly you should be having a root access to you device for which you need to root your android phone because this lucky pactcher works only with a rooted phone and it is impossible to work without having a root access on your device.
-Lucky patcher is the software which is used to modify .apk files(.apk is the format used for android apps and games).
-Its a great software used to change permissions, remove ads and helpful in changing a trail version software into a total full version software with all features as on a real full version software by using a custom patch in lucky pacher software.
-You can also backup files by using this lucky patcher without using titanium backup as these all are outdated and not in use now a days.
-Its quite easy to create a custom patch and to convert a trail version into a full version software by using this lucky patcher.
-The patch file must have the same name as the target APK (this is case sensitive).
-If the file is a custom patch for the application already exists, you can simply add at the beginning of the file name of any Text and save it as near the existing.

-WARNING! Do not remove jumps or make them unconditional! The Optimizer will crash and your patch will not work on ART! To avoid this, use conditional jumps. For example, if there is a need to jump, replace the jump with theif-eq v0,v0 (bytes: 32 00 ?? ??). If there is no need to jump in a particular place, you can insert a jump such as if-ne v0,v0 (bytes: 33 00 ?? ??); also feel free to use your own equivalent.

-The patch file must have the same name as the target APK (this is case sensitive).

-If the file is a custom patch for the application already exists, you can simply add at the beginning of the file name of any Text and save it as near the existing. If you want to write a patch once a series of programs on a single firm, then the end the custom patch file name, you can use_%ALL%, for example the name of the patch for all the votes SVOX will look like this: com.svox.classic.langpack_%ALL%.txt. On the _%ALL% is replaced by the name part of the package, which varies depending on the application of the firm.Do not use special characters/formatting in the patch file (single spaces only). If you need to make a patch for several programs of one firm and add a prefix at the beginning, you can use%ALL%_ and _%ALL%. (Example name: chelpus.%ALL%_com.android._%ALL%.txt). You can use to custom patch content %PACKAGE_NAME% for path to files, this %PACKAGE_NAME% replace to package name of target applications.

-To search for patterns of bytes use IDA Pro 6.1. It can open dalvik-cache, odex, libraries and classes.dex. If you want to patch dalvik-cache or odex, do not forget that the bytes of data in different firmware versions may vary. And keep in mind that not all classes.dex in the bytes coincide with dalvik-cache and odex. In this example you can see, if you open classes.dex and odex-file in IDA Pro.

[BEGIN] <patch comments that are visible to the user pre-patch> Patch for XYZ Pro 5.0.5

[PACKAGE] <unpacks classes.dex and applies all the patches from the [CLASSES] to it. And generates, based on the modified classes.dex, odex-file.>

[CLASSES] <pattern search/replace for classes.dex (see below)> {"search":"63 R00 R01 R02 38 00 04 00 12 10 0F 00"} {"group":"1"} {"original":"63 ?? ?? ?? 38 00 04 00 12 10 0F 00"} {"replaced":"12 00 6A W00 W01 W02 00 00 12 S0 0F 00"}

[LIB] <pattern search/replace for named native libraries (see below)> {"name":"libtitanium.so"} {"original":"00 ** 50 e2"} {"replaced":"00 00 50 e1"}

[LIB] <pattern search/replace for all native libraries> {"name":"*"} {"original":"00 ** 50 e2"} {"replaced":"00 00 50 e1"}

[OTHER FILES] <pattern search/replace for named other files in /data/data/Package_Target_APK/ (see below)> {"name":"/files/shell.dex"} {"original":"0F 00 00 00 1A 00 00 00 0F 00 00 00 59 00 00 00 2F"} {"replaced":"0F 00 00 00 0F 00 00 00 0F 00 00 00 59 00 00 00 2F"}

[OTHER FILES] <pattern search/insert for named other files in /mnt/sdcard/ (if /mnt/sdcard/ path not found, Lucky Patcher search other variants for sdcard)> {"name":"/mnt/sdcard/Android/package-name/files/lives.xml"} {"original":"63 68 65 6C 70 61"} {"insert":"63 68 65 6c 70 61 61 61"}

[FILE_IN_APK] <pattern search/replace for file from apk file (this patch working only for rebuild apk with this custom patch)> {"name":"assets/bin/Data/Managed/O7SharpCompress.dll"} {"original":"0F 00 00 00 1A 00 00 00 0F 00 00 00 59 00 00 00 2F"} {"replaced":"0F 00 00 00 0F 00 00 00 0F 00 00 00 59 00 00 00 2F"}

[ADD-BOOT] <automatically adds the current user patch to BootList. Should be used in the patch library (or in the patch [CLASSES] without [ODEX] or without [PACKAGE])>

[END] <patch comments that are visible to the user post-patch> Congratulations, the application has been cracked!

"search" - search allows you to search for a pattern and store bytes at specific positions. {"search":"63 R00 R01 R02 38 00 04 00 12 10 0F 00"} In this example the bytes in green make up your pattern mask, while bytes in yellow labeled R00 -> R02 will be stored. Stored bytes must be in order R00, R01, R02, R03... Stored bytes cannot be repeated.

"group" - marks patterns of the group (group number could be 1 or higher). You may be asking 'What does this mean?'. Well, what it means is that If at least one pattern from the group has succeeded, a successfully patched message will be shown. This is useful when you try to make a universal patch for multiple versions of a particular application (for example, patch all versions of Google Play to disable automatic updates). "original" - this is a pattern mask used to find the offset where the patch will be applied. {"original":"63 ?? ?? ?? 38 00 04 00 12 10 0F 00"} In this example the bytes in green make up your pattern mask, while bytes in yellow are wildcards (??, **) "replaced" - this will follow an "original" statement, this is what the offset will be overwritten with. {"replaced":"12 00 6A W00 W01 W02 00 00 12 00 0F 00"} In this example, bytes in green will overwrite the target location.. bytes in yellow are stored bytes from the previously executed "search" "name" - this is used to target a specific library by name (see above in [LIB]) S0 , S1, SQ - sets smali variable to 0 (convert hex number to: 43->03,54->04...) or 1 (convert hex number to: 43->13,04->14...) respectively or set, SQ convert hex 34->44, 51->11 ... For example, there is a variable :const/4 v?,0x00 . The question mark shows , that var\'s number is unknown (for example, it has been changed in the newer version), but you are sure, that this var equals 0, and you want to set it to 1. In this case pattern will look like: {"original":"12 ?? ?? ?? ?? ??"} {"replaced":"12 S1 ?? ?? ?? ??"} And vice versa, to set variable to 0: {"original":"12 ?? ?? ?? ?? ??"} {"replaced":"12 S0 ?? ?? ?? ??"} "replace_from_file" - this will follow an "original" statement, this is what the offset will be overwritten with bytes from the file (file must saved near custom patch). {"replace_from_file":"array.bin"} This is done in order to avoid writing very long templates to replace. "insert" - If you want to insert the data length is greater than the length of the original pattern. (Example)file before patch contain:"chelpa end" {"original":"63 68 65 6C 70 61"} {"insert":"63 68 65 6c 70 61 61"} file after patch contain:"chelpaa end"

[LIB-ARMEABI],[LIB-ARMEABI-V7A],[LIB-MIPS] or [LIB-X86] - for Libraries from/lib/armeabi/, /lib/armeabi-v7a/, /lib/mips/, /lib/x86/.

[ODEX-PATCH] - Uses for the patch has already been created odex. For example, an application has been patched with the automatic mode by Remove License Verification, but you need to make additional changes by using a Custom Patch. If we use a simple [PACKAGE]-[CLASSES], [ODEX] or [CLASSES]-[ODEX], odex-file will be created with no change and only then patched. Example:

[BEGIN] [ODEX-PATCH] {"original":"63 ?? ?? ?? 38 00 04 00 12 10 0F 00"} {"replaced":"12 00 6A ?? ?? ?? 00 00 12 00 0F 00"} [END] Congratulations! ODEX modified!

[CLASSES] without [PACKAGE] - Patches dalvik-cache applications. Do not forget that the system periodically updates dalvik-cache applications and all the changes will disappear. Therefore, we must add [ADD-BOOT]. The patch for dalvik-cache is outdated, as it is unreliable. But it is needed for the ROM Toolbox, because it does not work well with odex-files. Example:

[BEGIN] [CLASSES] {"original":"63 ?? ?? ?? 38 00 04 00 12 10 0F 00"} {"replaced":"12 00 6A ?? ?? ?? 00 00 12 00 0F 00"} [ADD-BOOT] [END] Congratulations!

[ODEX] - Copy dalvik-cache in /data/app/ and rename to odex-file, then all the patches applied to this odex-file. Checksums of the odex will be wrong and cannot pass inspection, unlike odex-file created [PACKAGE] - [CLASSES]. Example:

[BEGIN] [ODEX] {"original":"63 ?? ?? ?? 38 00 04 00 12 10 0F 00"} {"replaced":"12 00 6A ?? ?? ?? 00 00 12 00 0F 00"} [END] Congratulations!

[CLASSES]-[ODEX] - Patches dalvik-cache and then copy dalvik-cache in /data/app/ and rename to odex-file. Checksums of the odex and of the dalvik-cache will be wrong and cannot pass inspection, unlike odex-file created [PACKAGE] - [CLASSES]. Example:

[BEGIN] [CLASSES] {"original":"63 ?? ?? ?? 38 00 04 00 12 10 0F 00"} {"replaced":"12 00 6A ?? ?? ?? 00 00 12 00 0F 00"} [ODEX] [END] Congratulations!

[COMPONENT] - Enable or disable components of Applications. Example:

[BEGIN] [COMPONENT] {"disable":"com.superApp.adsActivity"} {"enable":"com.superApp.fullVersion.Provider"} {"disable":"com.android.vending.CHECK_LICENSE"} [END] Congratulations!

[SQLITE] - Sometimes the target application must change something in the database, then to help will come this possibility: Example:

[BEGIN] Trial Reset [SQLITE] {"database":"/data/data/com.package.megaapp/databases/settings.db"} {"execute":"DELETE FROM table_settings WHERE name = 'SETTING__LIC'"} {"execute":"UPDATE table_settings SET UsedDays=0 WHERE name='Trial_set'"} [END] Congratulations! Your Trial Period has been reset!

database - path to database on Device, or you can use only database name for Lucky Patcher self search file. execute - SQLite query.

[SET_PERMISSIONS] - Analog linux command "chmod permissions file_name" for files in data dir of Application: Example:

[BEGIN] Trial Reset [SET_PERMISSIONS] {"file_name":"/files/stats"} {"permissions":"777"}

[OTHER FILES] {"name":"/files/stats"}

{"original":"4D 4D 46 31"} {"replaced":"00 4D 46 30"}

[SET_PERMISSIONS] {"file_name":"/files/stats"} {"permissions":"444"}

[END] Congratulations! Your Trial Period has been reset!

[COPY_FILE] - Copy file from Lucky Patcher dir to path with new file name: Example:

[BEGIN] Copy file with money [COPY_FILE] {"file_name":"money_for_game.bin"} {"to":"/data/data/game_package/files/settings.xml"}

[END] Congratulations! Your File is copied and is modified now!

Monday, January 14, 2013

How to Create .lrc file or lyrics file and attach it with the .Mp3 audio file or video files?

Creating an .LRC file is a very simple task.

Steps to create lyrics file:
*The lyrics of the desired song must be copied into a text document.
*Now crucially before each line of lyrics,the time when they should be displayed must be selected/typed.
This is done in the following format: [00:11.00].

For example if the lyric, "where we go" is intended to be played after 3 seconds a line of text will read "[00:03.00] where we go".

*Similarly the title of song can be displayed using the format [ti:California Love] and the artist can be displayed with the tag [ar:2 Pac].

*Once all the times have been added in the described format the txt file must be saved with the file extension .lrc

Saving:
*The .lrc(lyrics) file must be saved with the file extension .lrc.
*The .mp3 (audio file) must be saved with same file name for the two to work together.

*.LRC is a lyrics file format with time tags to synchronize lyrics with audio/video files.

A Simple .LRC file contains Line Time Tags [mm:ss.xx] only.

Example:
[mm:ss.xx] lyrics line 1
[mm:ss.xx] lyrics line 2
...
...
...
[mm:ss.xx] last lyrics line


*This lyrics file format will works on both audio and video files.




Also Visit: How to use vpn services on android smart phones


tags: lyrics file, lyrics file android, lyrics file generator, lyrics file creator, how to create lyrics file, how to create lyrics file in android, mp3 lyrics file, lyrics file for android player, lyrics file format, how to generate lyrics file for android mobile, how to create lyrics for a song.

Thursday, January 3, 2013

How to use lucky patcher on your android smart phones and all about the basics of lucky patcher.

*Before starting with the lucky patcher, you need to know few things about the lucky patcher.

Firstly you should be having a root access to you device for which you need to root your android phone, because this lucky pactcher works only with a rooted phone and it is impossible to work without having a root access on your device.

*Lucky patcher is the software which is used to modify .apk files(.apk is the format used for android apps and games).

* Its a great software used to change permissions, remove ads and helpful in changing a trail version software into a total full version software with all features as on that of a real full version software by using a custom patch option in lucky pacher software.

*You can also backup files by using this lucky patcher without using titanium backup as these all are outdated and not in use now a days.

*At this point, it use only for Applications requiring the correction of libraries ".so". But custom patches do not exist, except for the old Titanium backup, which is no longer in use.
The Patcher need root access to work!

Sort Description: -----------------
*Immediately after opening this software it loads all the applications installed in your device and enlists those applications according to the chances of modifying the applications and shows you each application in different colors as listed below. Each colour indicates the different probabilities of changing the applications.

Green - This program has a great chance to become a registered.

Yellow - For this Program found custom patch in folder /sdcard/LuckyPatcher/

Cyan - For this Program found Google Ads.

Magenta - This program are in BootList.

Impossible - This program has no chance of becoming a registered.
The exception is the application of two parts (Application and APK-Pro-Key). In such cases, patch both sides, either one of them.

Orange - (System Application). Be very careful when performing any operations with them, it could end very badly for Application or Operating System.

BootList - a list of programs that will patch the boot device.

Clover - in this Application Patcher made Changes.

Star - means that dalvik-cache applications has been fixed(ODEX with Changes created), and this in turn means that the application will remain in its current state until the first update, or delete an application. If such ODEX removed with "Remove ODEX with Changes", then the Application will be fully restored to the state before the patch. When you update an application, problems can arise.

Note:
The market will swear that he had not enough space, run Lucky Patcher and close and try again to install the application, if such an error is written to the uninstalled application select the settings Luckypatcher "Troubleshooting->Remove fixes and backups (to update app)" - all fixes dalvik-cache for all programs will be removed.

Context Menu: ----------------
-Remove License Verification (Auto mode!) -Attempts to remove license check.

Remove License Verification (Auto mode!(Inverse)) -
There are a few differences from the "Auto mode!". It may help you, if do not help "Auto mode!".

Remove License Verification (Extreme Auto mode!) -
Attempts to remove license check.
Uses all Templates.
The application is unstable.
Most errors will offline.

Remove License Verification (Manual) -
Attempts to remove license check.
Removes the license for brute force.
Remove License Verification (Selected Patterns) - 
You can select a group of templates that must be applied.

GOOGLE ADS:
Remove Google Ads! -
Attempts to remove Google Ads.
Sometimes it removes Ads from Applications in which have been not found Tags of Advertising (with status Not found!)

REMOVE ODEX WITH CHANGES:
Remove ODEX with Changes -
Removes ODEX file containing the changes. Thus Restoring to original status of Applications.

CHANGE PERMISSIONS:
Change Permissions -
Removes Permissions of Application.Be very careful doing this. Since the on some devices, this method can lead to a circular reboot or other undesirable consequences.

Note:
Make a backup system before you try to disable permission.

Create Modified APK -
Creates an installation package apk on the basis of the available patches.
You should know that a rebuild apk-file is not the same as the patch is already installed application. Since they has opposed to simply patch the application is very easy to test yourself to changes, and thus work correctly so faly The install will not.

Patch on Reboot -
At this point, it use only for Applications requiring the correction of libraries ".so". But custom patches do not exist, except for the old Titanium backup, which is no longer in use. Works very unstable. It is desirable to add no more than one custom patch. If its use is necessary, it will be written in a custom patch.

Manual Patcher! -
Patcher to debug the Application.

Backup! -
Backup apk-file for Restore Application.
Apk files will be saved to /sdcard/LuckyPatcher/Backup/.

Restore! -
Restore Application from apk-file in /sdcard/LuckyPatcher/Backup/.

Copy Changes to dalvik-cache! -
In the default mode, all changes remain odex-file. Some odex files not work to the application (for example when an application is moved to externalSD). Then the Copying in the dalvik-cache can help. But you can restore the application, if is only reinstall it.

Backup apk file for reinstall! -
Copy apkfile to sdcard in the Data Folder of Lucky Patcher. You can reinstall (for Restore) this Application from this apk.

Delete dalvik-cache! - After creating the odex-file deletes dalvik-cache of this Application to save space. If the application does not work with odex, will have to reinstall this Application.


Instructions: --------------For
Remove License Verification: -
Use as target only original apk files signed by the developer; - Tap to Software and select "Remove License Verification!"; - Select "Auto mode" and test Application with Internet; - If the result is negative, Select "Auto mode!(Inverse)" or "Extreme Auto mode"; - If you're lucky, your program will be registered; -
To return Application to its original state, you need to tap "Remove ODEX with Changes" or "Restore".

For Remove Google Ads: -
Tap to Software and select "Remove Google Ads!"; - Run and test Application with Internet; - If you're lucky, Google Ads disappeared;
- To return Application to its original state, you need to tap "Remove ODEX with Changes" or "Restore".

For Custom Patch: -
Tap to Software and select "Custom Patch!"; - Run and test Application with Internet; - If you're lucky, patch work; - To return Application to its original state, you need to tap "Remove ODEX with Changes" or "Restore".

For Change Permissions: -
Tap to Software and select "Change Permissions"; - Tap to Permission for disable (red); - Tap to Permission for enable (green); - You must tap Apply (Reboot).

For Create Modified APK: -
Tap to Software and select "Create Modified APK"; - Select Patch for Modification of APK; - Modified installation file will be in folder /sdcard/LuckPatcher/Modified/ ; - You should know that a rebuild apk-file is not the same as the patch is already installed application. Since the as opposed to simply patch the application is very easy to test yourself to changes, and thus work correctly so faly The install will not.
PS: Patcher closes the application, when makes patches. This is necessary so that the new changes earned. But sometimes you may need to restart the device.


Also Visit: How To Use VPN Services On Android Smart Phones
                            How To Create Lyrics File For Android Smart Phone(To Play Lyrics Along With Songs)