how to get cialis in canada

odex files, deodexing and zipalign explained

When dealing with custom ROMs you use the therms ‘odexed’, ‘deodexed’ and ‘zipaligned’ are encountered quite often. In this tutorial we will explain what they mean and how they can affect your device.

In Short: Odex files:

-Pre-optimized parts of application or library.

Deodexing:

- the process of combining .odex and .apk [...]

Optimise loading for deodexed roms

 

The property ‘dalvik.vm.dexopt-flags’ is responsible how to the VM will verify and optimize DEX files.

In short to optimize loading speed of your device on boot and application you can set:

dalvik.vm.dexopt-flags=v=n,o=v

note that, ‘dalvik.vm.verify-bytecode = false’ will do the same but it is used in the old version.

To change this [...]

Unpack/repack ext4 Android system images

(Check http://web.djodjo.org/?a=articles:android_articles:crackers:repack_ext4 for updated instructions).

This is for all who want to unpack and modify the original system.img that you can flash using recovery.

system.img (what you get from the google factory images for example) represents a sparsed ext4 loop mounted file system.

It is mounted into /system of your device. Note that [...]

Change android system property

To change the a property temporarily: you can use the command “setprop <key> <value>”, from the device shell or from command shell on the pc execute “adb shell setprop <key> <value>”, where key is the property name and the value is the value you would like to assign to it. To get the [...]

Java regex check ip address

Here is some code example how to check if an ip address is a valid ipv4 address using regular expressions:

package net.andwise.chkipregex; import java.util.regex.Matcher; import java.util.regex.Pattern; public class SampleClass{ … … private Pattern ipPattern; private Matcher ipMatcher; private static final String IPADDR_PATTERN = "^([01]?\\d\\d?|2[0-4]\\d|25[0-5])\\." + "([01]?\\d\\d?|2[0-4]\\d|25[0-5])\\." + "([01]?\\d\\d?|2[0-4]\\d|25[0-5])\\." + "([01]?\\d\\d?|2[0-4]\\d|25[0-5])$"; … … public [...]

Backup Applications

1) Titanium backup

https://market.android.com/details?id=com.keramidas.TitaniumBackup&hl=en

Prerequsites: root access Procedure: Open Titanium backup Accept the superuser request that pops up. if “failed to obtain root access” press the menu button and select [more]->[reload application] Press [menu]->[batch]->[RUN - backup all user apps + system data] [Select all] or the ones you want to backup [Run [...]

Backup Contacts

1) Using your Google account

The Google servers should automatically sync with the contacts on your phone. You just need to enable this:

Go to Settings Select Accounts & sync Select Your Google account (You can do the same with a facebook account) Check “Sync Contacts” on 2) Using Contacts application Open [...]

Update Galaxy Nexus to ICS 4.0.4

Are you sick of waiting to get an update from 4.0.1 or 4.0.2? Here is a quick guide how to install the ota update manually.

Prerequisites:

1) Galaxy Nexus GSM (google/yakju/maguro) with official Android 4.0.1 build ITL41F or Android 4.0.2 build ICL53F.

Note that this is not a full update but a patch [...]

Android backup using adb

This explains a backup method using adb.

Prerequisites: usb drivers installed for your device – http://developer.android.com/sdk/win-usb.html usb debugging enabled on your device adb executable, comes with the Android SDK. link – http://developer.android.com/sdk/index.html Procedure: adb backup [-f <file>] [-apk|-noapk] [-shared|-noshared] [-all] [-system|-nosystem] [<packages...>] Check the device and confirm the backup. Explanation: If no -f [...]

Android backup/restore options

There are various ways to backup your data on your Android device.

Here you can find links for all those different options.

1) Nandroid backup – http://andwise.net/?p=288

2) Adb backup – http://andwise.net/?p=300

3) Applications backup – http://andwise.net/?p=313

4) Contacts backup – http://andwise.net/?p=328

5) Other backups – There are many backup apps on the [...]