G33K-TRICKS: Mobiles
Showing posts with label Mobiles. Show all posts
Showing posts with label Mobiles. Show all posts

Monday, June 30, 2014

How to Bypass Android Unlock Pattern / Password / Face / PI on Android Phones


Android Unlock Pattern

How to Bypass Unlock Pattern / Password / Face/ PI on Android Phones



Forgetting things is Human Tendency!!! So as to say, To Err is human.
The most difficult thing that you would have to remember is Passwords and adding to all these we have so called "Patterns" in our Android Mobiles.
#Android Many a times we do change that Unlock Pattern  to secure our mobile and there are chances we may forget it as well.
So, what to do, when you forget your Unlock Pattern of your Android Mobile.


Here it goes, one more simple g33k-trick to help you out.
1. First and foremost thing you need is a utility called "adb" (android debug bridge). For more details about Android Adb and how to do its setup click here. (if you have any questions on setup, post it in comments, I will be glad to answer them as well :) )

Android Unlock Pattern2. Once Adb is set, open a command prompt and make sure you run command prompt as "Admin" mode.
Press Windows key 
type cmd
Right click on cmd application
Click on "Run as administrator"



To confirm devices is detected on your pc, type  in cmd prompt:
adb devices
This will give you  a device ID connected to your PC. If its listed move ahead with below steps. 
If no device is shown, Check whether you have enabled "USB Debugging" option from the "Developers Option".

3. Type the below lines as it is one by one and  press enter after every line.

METHOD 1:

adb shell 
cd /data/system/
rm gesture.key


METHOD 2:

adb shell
cd /data/data/com.android.providers.settings/databases
sqlite3 settings.db
update system set value=0 where name=’lock_pattern_autolock’;
update system set value=0 where name=’lockscreen.lockedoutpermanently’;
.quit
Android Unlock Pattern






















4. Once finished with above task, Reboot your android device.

5. After reboot, you will notice that the phone wont be asking for any pattern lock to unlock .
And Pattern is asked, just connect any 4 dots and phone will get unlock :)

Now you can set a new Pattern and make sure you remember it this time .

P.S:  For connecting the device to the PC you should be having respective USB drivers installed on your host pc. Without drivers, mobile
will not be recognized 

Wednesday, August 21, 2013

HOW TO's with AT commands


How to check To which COM port MODEM is connected

A: 
Right Click On MY Computer Icon
Select "Manage" option
From the new window, select "Device Manager" 
From here, you can check for the Ports and Modems 
Double clicking , will display the properties

For Windows system you need to have "Hyperterminal" application
Windows 7 , they have removed the application (Don't know why)
but there are many free available Applications like Hyperterminal 
over the internet.

For Linux users, "minicom" is the best
To install, sudo apt-get install minicom



Q: How To Send SMS From Computer Using  AT Commands

A:
1. Plug In Your GSM/GPRS modem
2. Check to which COM port the modem is connected  
3. Start-> Accessories-> Communication-> Hyperterminal
4. Open new connection
5. "Connect using:" the correct COM port, you will see a
windows->change Bits per second to "9600" (for GSM) "115200" (for GPRS) 
6. Type "AT" and press Enter (it'll show "ok")
7. Type "AT+CMGF=1" and press Enter (it'll show "ok". It is to set the GSM / GPRS modem to operate in SMS text mode. )
8. Type " AT+CMGW="+91723456789"" and press Enter (it'll show ">"."+91" is country code, "723456789" is recipient's number) 
9. Start typing SMS. When finished, press Ctrl + Z (it'll show "+CMGW:1", it means the message is 
stored as index:1 in the message storage) 
10. Type "AT+CMSS=1" and press Enter (It'll show something like "+CMSS: 219". "219" is the reference no of the sent message) 
11. If it shows "OK" at the end, it means the message is successfully sent.


Q: How To Receive SMS Using Computer 
A:
1. Plug In Your GSM/GPRS modem
2. Find out which COM Port the modem is connecting 
3. Start-> Accessories-> Communication-> Hyperterminal
4. Open new connection
5. "Connect using:" the correct COM port, you will see a
windows->change Bits per second to "9600" (for GSM) "115200" (for GPRS) 
6. Type "AT" and press Enter (it'll show "ok")
7. Type "AT+CMGF=1" and press Enter (it'll show "ok". It is to set the GSM / GPRS modem to operate in SMS text mode. )
8. Type "AT+CMGL="ALL" " and press Enter (there is message received, it'll show 
" +CMGL: 1,"REC READ", "+651234567",,"01/08/13,11:26:20+12
Hi, Love You !!! " ) 



Q: How To Check SMS Delivery Status Report & Newly Received Message
A:
1. Follow the Step 1 To 6 as  mentioned above 
2. At The Hyper Terminal, Type The Following AT Command

AT+CSMP=49,167,0,0 
OK
AT+CNMI=2,2,0,1,0 
OK
AT+CMGS="Mobile Number" 
> Message content displayed (Ctrl+Z)
+CMGS: 72
OK
+CDS: 6,228,"Mobile Number",129,"08/10/22,10:08:35+32","13/08/22,12:55:38+32",0
+CMT: "Mobile Number",,"13/10/22,12:56:17+32"
testing



Q: How To Change the Baud Rate of the Modem using AT Commands

A: 
To Change Baud Rate from xxxx to yyyyyy
1. Start-> Accessories-> Communication-> Hyperterminal
2. Open new connection
3. "Connect using:" the correct COM port, you will see a
windows->change Bits per second to "xxxx"
4. Type "ATE1" and press Enter (it'll show "ok")
5. Type "AT+IPR=yyyyyy" and press Enter (it'll show "ok")
6. Click on "disconnect" icon
7. Go to Properties and change the Bits per second to "yyyyyy"
8. Type "AT&W" and press Enter (it'll show "ok")
Then it'll be changed to yyyyyy


here : xxxx can be 5600 and  yyyyy : 115200
AT Commands And There Usage






AT commands also called as Attention Commands or Hayes Command
AT commands can be used to collect information from the modem device or the network and can help you troubleshoot modem specific issues. Below are the list of AT commands that most of the Modems uses.
AT Commands Meaning
AT+CSCA="+651234567" Set Message Center Number
AT+CGMI Get the name of manufacturer
AT+GMI Get the ID of manufacturer
AT+GMM Get the Model information
AT+CGSN Get IMEI number (International Mobile Equipment Identity)
AT+CGMR Get software version
AT+CIMI Get IMSI number (International Mobile Subscriber Identity)
AT+CNUM MSISDN
AT+CPAS Get mobile phone activity status
AT+CREG Get mobile network registration status
AT+CSQ Get radio signal strength
AT+CBC Get battery charge level and battery charging status
ATD, ATA, etc Establish a data connection or voice connection to a remote modem
ATD, ATA, AT+F* Send and receive fax
AT+CMGS, AT+CMSS Send SMS messages
AT+CMGR, AT+CMGL Read SMS messages
AT+CMGW Write SMS messages
AT+CMGD Delete SMS messages
AT+CNMI Obtain notifications of newly received SMS messages
AT+CPBR Read phonebook entries
AT+CPBW Write phonebook entries
AT+CPBF Search phonebook entries
AT+CLCK Opening or closing facility locks
AT+CPWD Changing passwords
AT+CMEE=n Enable certain error messages 

n= 0 disable +CME ERROR: result code and use ERROR instead. 

n= 1 enable +CME ERROR: result code and use numeric values. 

N= 2 enable +CME ERROR: result code and use verbose values.
AT+COPS=, , Change the GSM network  is used to select whether the selection is done automatically by the ME or is forced by this command tooperator given in the format and may be: 

= 0 automatic ( field is ignored). 
= 1 manual. 
= 2 deregister from network. 
= 3 set only
= 4 manual / automatic (if manual selection fails, automatic mode is entered). 
= 0 long alphanumeric (default value). 
= 1 short format alphanumeric
= 2 numeric
string type given in format ; this field may be up to 16 character long for long alphanumeric format, up to 8 characters for short alphanumeric format and 5 characters long for numeric format MCC/MNC codes)
AT+CBST Change bearer service type
AT+CRLP Change/configure radio link protocol parameters
AT+CPMS Storage of SMS messages
AT+CSAS Save configurations of the GSM/GPRS modem
AT+CRES Settings related to SMS messaging such as the SMS center address
AT+CMGF=1 Instruct the GSM / GPRS modem to operate in SMS text mode
AT+CMGL="ALL" List all the messages
AT+CNMA New message acknowledgement



Check out  this post : "HOW TOs with AT Command"