Skip to main content

Posts

Android Bios aka Recovery console

Hope you must be aware of Windows BIOS? A similar concept do exist in Android devices, but special thanks to Koush who exploited this and created a simple to use Recovery console with some powerful options. ClockwordMod (also known as CWM) has been used extensively by Android fellas to get control and manipulate Android devices. Theory apart, let's deep dive into some of the ClockwordMod procedures Pre-requisites. Unzip /Archive Software. I prefer  7zip . Either ( Android SDK )  OR else (Install  ADB + Wrapper scripts) Device specific Clockwork Image ( List here ). ClockworkMod Installation Unzip the above ADB or Android SDK into a directory (eg   C:\myTestLocation\<unzipHere>\) Ensure your phone has sufficient charge to run in battery mode for sometime. Ensure your phone is ON. Connect the phone to your PC. Most of the cases, device specific (OEM) drivers will be installed. Now enable Debugging. (Settings > Applications > Development > USB Debugging) ...

Identity management and Open source alternatives

Identity Management has become a critical component in modern IT industry. Its a challenge to choose the best product, while ensuring the flexibility is not lost due to increase in employee base and adhering to security compliance needs. Some of the key industry leading products include CA Siteminder, Oracle Access  Manager, IBM Tivoli Access Manager and so on. Before explaining the products and alternatives, let's analyze the different capabilities required for an IT enterprise. Identity management solution normally requires Access Management, Federation, Web Services Ability, Policy Based Enforcements, Enterprise Single Sign on (ESSO) and so on. Let's see a sample Comparison table for each of the products Comparison of Major Identity management solutions CA Siteminder Oracle Access Manager IBM Tivoli Access Manager Access Management Yes Yes Yes Federation Require Federation Mgr Oracle Identity Federation Federated Identity Mgr Web Services Support CA WS Manag...

Safe Browsing from office and home

You might have thought how safe is to click on a link which your friends send to you.  Many links would be malicious. It would be good to preview the link before you click them.  Here are some options to make things Safe For Work (SFW) [ad#ad-3] Using Google Cache - of course, the simplest and most widely used technique. Put the URL into google and see the cached version Tackle Short URLs - See the contents or the real URL behind the short URL is bit tricky. But fortunately, there are some good sites out there to get the meta information and even the screenshot !!  eg.  longurl.org Use Proxy sites - There are tons of proxy sites out there where you can tryout.  You could use mine if required. whatitem.appspot.com Mask the website on first load - If you slowly want to see what's inside a website, but it shouldn't open up immediately there are some cool tools.  variablysfw.appspot.com is a good website. It masks the required content website using a black mask and y...

ldap and Java

For those who are starters with LDAP, a good article can be found in Wikipedia .  The LDAP URL is fairly extensible and a sample format is ldap://host:port/DN?Atributes_to_Fetch?range?SearchFilter?extensions hostname is the Fully Qualified (FQDN) or IP address of the LDAP server to search. port is the network port (default port 389) of the LDAP server. DN is the distinguished name to use as the search base. Atributes_to_Fetch is comma-separated. range specifies the search scope and can be "base" (the default), "one" or "sub". SearchFilter is a search critiera. Can accept wild characters too extensions are optional. A sample ldap program in Java import javax.naming.directory.*; import javax.naming.*; import java.util.Vector; import java.util.Enumeration; import java.util.Properties; public class search { public static void main(String[] args) { String base = "cn=generic,ou=MyClient,ou=Applications,ou=Pacific,o=mycompany.net"; String ...

C# online coding - Run .NET code online

How to run .net code online ? A good question and very useful if you really want an OO programming language for your everyday use.  There are some cool web-hosted runtimes for .NET http://www.ideone.com http://www.codepad.org http://www.coderun.com http://www.compilr.com I use codepad and ideone as they are simple and it JUST works all time!! Please find a simple snippet i wrote // To ensure each tokens are of 3 characters in length (else put space) and concatenate into a single string using System; using System.Collections.Generic; namespace ClassLibrary { class Class1 { static void Main() { string s = "123".PadRight(3).Substring(0,3); string s2 = "".PadRight(3).Substring(0,3); string s3 = "45".PadRight(3).Substring(0,3); string s4 = "6789".PadRight(3).Substring(0,3); System.Text.StringBuilder sb = new System.Text.StringBuilder(); sb.Append(s); sb.Append(s2); sb.Append(s3); sb.Append(s4); Console.Write(sb.ToString()...

Android quick tips to remove and install an APK

Pre-req Need to have ADB installed Our aim is to install an old version of Music.apk onto a custom version. So the steps are like... adb devices     #(shows list of devices attached) adb remount   #mounts the directory for writing. adb shell pm list packages -f     #Lists all apps (.apk's) you have installed on phone adb shell rm /system/app/Music2.apk                #Removes the apk. adb push C:/pgms/"Music.apk" /system/app    #Specify full directory adb shell pm list packages -f         #Confirm Music.apk  installation exit   [ad#ad-3]

Unlock ZTE Crescent - Orange SanFrancisco2 or Tmobile Vivacity

First of All Full Credits to Team in Modaco . Please find full credit and details at:  Modaco ZTE Crescent Unlock Thread . I've just rewritten the steps for simplification purposes only. If you are starter, there are two parts to the section:  (a) Unlocking ..   &   (b) Installing ROM [ad#ad-3] (a)Unlocking Pre-requisites. Please install below softwares into your Windows PC. Unzip /Archive Software. I prefer 7zip . Either ( Android SDK )  OR else (Install ADB + Drivers ) QPST Tools -  Download Here Unlock File for  Vivacity   ( Unlock_Vivacity.zip )  OR  San Francisco2 (========). BEWARE:  Using incorrect will BRICK your device . Extract it using 7zip into a folder. (eg:Vivacity_Unlock_Directory) If you want a new ROM installed, download the ROM. Copy this ROM into your Phone's SD card. (in Phone's SD Card create a folder  "ROMs" and put the rom inside that for easy identification. See "Install ROM" section below) Now Let's Start the ...