All credit goes to RyanZA for his awesome guide for the Samsung Galaxy S: http://forum.xda-developers.com/showthread.php?t=774507
I have merely adapted his guide to the Motorola DEFY and simplified a few steps.
What this guide is for:
The Android settings menu only gives you three options for the wifi sleep policy: When screen turns off, Never when plugged in, or Never. (These options are found in Settings > Wireless & networks > Wi-Fi settings > menu button > Advanced > Wi-Fi sleep policy.) The When screen turns off option does not turn off the wifi immediately after the screen is turned off, however. By default, the system waits 15 minutes before disabling the wifi. This guide explains how to change that wifi timeout duration.
What you’ll need:
- ES File Explorer (with the Root Explorer and Mount File System settings enabled), or some other root-enabled file explorer app on your phone
- SQLite Database Browser on your computer: http://sqlitebrowser.sourceforge.net/
Instructions:
1) In ES File Explorer, go to the following directory in your phone’s internal memory: /data/data/com.android.providers.settings/databases/
2) Copy the “settings.db” file to your SDcard, then to your computer. Make a backup of the original file before making any changes.
3) Open SQLite Database Browser on your computer, select File > Open Database, and open your “settings.db” file.
4) Click the Browse Data tab, and on the Table dropdown menu, select secure.
5) Click New Record. Scroll down to the new empty line that was just created in the table, and double-click on the empty cell in the name column. In the Edit database cell window that appears, type “wifi_idle_ms” (without quotation marks), then click Apply Changes. Next, double click on the cell in the value column, and enter the desired wifi timeout duration in milliseconds (e.g. enter “30000” to specify a timeout duration of 30 seconds), and click Apply Changes.
6) Save the file and exit SQLite. Move the edited file back to your phone’s SD card, then use ES File Explorer to copy and paste it back into the directory where you found it, replacing the original file. (Remember to keep a backup of the original, just in case something goes wrong.) Then reboot the phone.
It won't open file on computer
No database shown, nothing. Help somehow?
Ukiand1 said:
No database shown, nothing. Help somehow?
Click to expand...
Click to collapse
Are you sure you are browsing as root? If you are using ES File Explorer, check the settings and make sure you have "Root-Explorer" enabled with the SU-permissions granted and the filesystem is mounted as R/W.
@Proverbs2
You should also mention to set the permissions for settings.db to -rw-rw---- (660) and the owner to system.system again after overwriting the old file, otherwise you'll get a bootloop.
This can by done either by using adb or terminal emulator:
Code:
> adb shell
$ su
# chmod 660 /data/data/com.android.providers.settings/settings.db
# chown system.system /data/data/com.android.providers.settings/settings.db
# exit
$ exit
> adb reboot
or by using any other app that can do both (I recommend Solid Explorer)
Nice tut otherwise. Now let's see, if it works...
Greetz, Unr3aL67
Related
Been working on a couple fix ideas for this since UltraCfg is no longer working in the UCLD2 leak.
From what I can tell, UltraCfg made an entry in settings.db which can be enabled or disabled. This entry is TETHERING_ALWAYS_ON_MODE = enabled/disabled. Steps to manually do this are shown in post #2.
Also: Tethering Manager & UltraCfg were active; and WifiDirect, Wifi Sharing, and Wifi Sharing Manager are frozen.
Please let me know if any of this works and we can continue to improve this. I'm not sure how stable it is.
Known Issues & Limitations:
1. Only tested by me so far.
2. Not sure if it stable yet. I've had issues keeping wifi tethering active.
3. Any time you connect phone to PC via USB, it disables Debugging and activates Tethering.
4. USB Debugging is disabled on reboot.
5. Not an easy patch for the novice.
I used sqllite editor which is $2.99 in the market. If you dont want to pay and you can survive some terminal shell grinding, here's a free method using sqlite3. For whatever reason, it's not installed by default in our ROMs.
1. Download sqlite3.zip attached. Unzip and put it in /system/bin.
-- quickest method is to unzip. then use adb.
Code:
adb mount
adb push sqlite3 /system/bin
adb chmod 771 /system/bin/sqlite3
2. Next we are going to make a copy of our settings.db file as settings.dbx. Again, in adb.
Code:
adb shell
>su
>cd /data/data/com.android.providers.settings/databases
>cp settings.db settings.dbx
3. Dont close your terminal. Now that we have a copy, we will now edit it with sqlite3. Assuming you did a clean data wipe when you first installed the UCLD2 rom do this:
Code:
echo "insert into system (name, value) values('TETHER_ALWAYS_ON_MODE','enabled');"|sqlite3 settings.dbx
4. Now we have inserted the new tethering setting! Now we need to backup your original settings and replace it with this modified one.
Code:
mv settings.db settings.bak
mv settings.dbx settings.db
5. DONE! Now you may need to reboot.
Code:
reboot
Now, I'm not 100% sure this will work, but I never wiped my data from the UCAL4 ROMs to this new one, so my settings never changed. You will also need Tethering Manager. The one issue with having this mode on is that you will get automatically switched to usb tethering when you connect your phone to computer.
If you ever want to disable, follow steps above except use this command in step 3:
Code:
echo "update system set value = 'disabled' where name = 'TETHERING_ALWAYS_ON_MODE';"|sqlite3 /settings.dbx
I followed the steps ending in a boot loop
HOW-TO
**Easy ADB / APP Pushing / More Coming Soon**
**DISCLAIMER** I accept no responsibility if you brick, blow up or burn up your device, you are choosing to follow this and making your own decision**
I have been a long time android user and forum user. The goal here is to create a simple How-To guide for some of you new to android or just new to flashing. This stems from myself being on these forums and helping users fix and troubleshoot things. My goal is to give you some basics to help with testing or troubleshooting and to teach you a thing or two. There will be several sections and updates along the way. The Note 2 will be used as the device, but these can be done on most other devices as well.
Click to expand...
Click to collapse
**Easy ADB**Thanks @kennyglass123, @CNexus and @gruesomewolf
Code:
This was thought of the other night when kennyglass123 and CNexus
were trying to get recovery to mount storage. I had a idea, Why not
make a simple way to get a ADB log when trouble shooting, instead
of using an app from the market. Plus it will pull a log upon boot, ever
had it where your testing something and it wont boot and the Developer
wants you to get a log, but you either don't have ADB or know how to
use ADB. This is for you!! Thanks goes to Kenny Glass, CNexus for the
idea and Gruesomewolf for the bat file edit.
What you need
Windows PC
Android device
Easy ADB.zip attached to this post
Whats included
Your basic ADB parts to be able to run without needing the SDK installed
LOG.bat file
Reboot.bat (Reboots device)
Recovery.bat (Sends device to recovery)
Download mode.bat (Sends device to download mode (ODIN mode))
How to record log cat using LOG.bat
You will download the zip
Extract to your desktop for easy access
Plug your device in to your PC
Open the ADB folder
Right click the LOG bat file, select run as admin (might not need to)
It will open a command window
Select ANY key to continue or control-c to quit
Wait for it to return to press any key to continue
Now you will have a text file called LOG, that is you LOG cat using ADB
You are now done and can send it to whomever or read it over yourself.
**Pushing system apps (Root Needed) (Will be posting screencasts of this also)**
Have you come across someone posting something or telling you to push this app? I know I push them all the time. This can be used for MORE than just apps!! You can push just about everything. This will cover pushing a system app to the /system/app folder AND pushing a framework.jar to /system/framework folder. I will cover this using Root Explorer (paid) and ES File (free)
Click to expand...
Click to collapse
Code:
What you need
Android device
A file explorer with root access (Root Explorer, ES File or any others)
Whatever file, apk or etc you need to install
How to push a system app
Download Root Explorer or ES File from the store
(Root Explorer Instructions)
Open Root Explorer
Grant SU permissions
Navigate to the app you are going to be pushing (click + at bottom of screen to add EXT SD card tab)
Long press apk
Select copy
Top left tab says root, click and scroll to system folder, click and then click app folder
Bottom of screen says copy here, select that
Now scroll to the apk you just copied there and long press it
Select permissions, change them to only having the first vertical row and top of middle row checked (Attached Screenshot)
Click OK
Press home button
Now reboot to recovery and wipe cache and dalvik cache, then reboot.
(ES File Instructions)
Open ES File
Top left is a device/globe icon
Select tools, root explorer, Mount R/W
Grant SU permissions
Click device/globe
Select Local and then the SD card where the apk your wanting to install is located
Go to the folder when the apk is
Long press it and select copy
Now press the device/globe again and select local and then device
Scroll to system folder, click it
Now click app folder
Bottom of the screen, select paste
Scroll to the apk you just copied and long press it
Bottom right is more, select that then properties
Now you will change permissions to first vertical row and top middle checked only (attached Screenshot)
Click OK
Press home button
Now reboot to recovery and wipe cache and dalvik cache, then reboot.
Code:
Pushing System framework and other system files (Root Needed)
[Notice you will move to system folder and change permissions there, So if the device reboots or things lockup, you have already changed permissions and can just go to recovery and do your wipes]
(Root Explorer Instructions)
Open Root Explorer
Grant SU permissions
Navigate to the file you are going to be pushing (click + at bottom of screen to add EXT SD card tab)
Long press the file name
Select copy
Top left tab says root, click and scroll to system folder
Bottom of screen says copy here, select that (Place file here fist so you can change permissions now)
Now scroll to the file you just copied there and long press it
Select permissions, change them to only having the first vertical row and top of middle row checked (Attached Screenshot) (or if there is different permissions change accordingly)
Click OK
Scroll to the file you installing
Long press and select MOVE
Now open the folder or folders the file belongs in (framework for framework.jar for example)
Bottom left click move here
Press home button
Now reboot to recovery and wipe cache and dalvik cache, then reboot.
(ES File instructions)
Open ES File
Top left is a device/globe icon
Select tools, root explorer, Mount R/W
Grant SU permissions
Click device/globe
Select Local and then the SD card where the file your wanting to install is located
Go to the folder where the file is
Long press it and select copy
Now press the device/globe again and select local and then device
Scroll to system folder, click it
Bottom of the screen select paste
Scroll to the file you just copied and long press it
Bottom right is more, select that then properties
Now you will change permissions to first vertical row and top middle checked only (attached Screenshot)(or if there is different permissions change accordingly)
Click OK
Scroll to the file your installing
Long press it and select cut
Now open the folder or folders the file belongs in (framework for framework.jar for example)
Bottom of the screen select paste
Press home button
Now reboot to recovery and wipe cache and dalvik cache, then reboot.
**Coming Soon**
Code:
How to remove system apps before flashing (Debloating)
How to add your own apps to a rom before flashing
Some of you know me and that I have ported "Goodness Noteworthy" to Verizon, T-Mobile and AT&T on the Note 2, So I may do a guide on porting roms from or to other carriers. Although I have not tried a International rom yet.
If you have suggestions or things you would like to see here, please post or PM me.
[HOW-TO] ADB / APP Pushing / More coming [WIP]
Setting up JDK and SDK for ADB use.
Whats is ADB?
ADB or ANDROID DEBUG BRIDGE is a command-line utility that is often used to communicate over the debug channel with a connected phone or virtual device (emulator). ADB can control your device over USB from a computer, copy files back and forth, install and uninstall apps and more...
Click to expand...
Click to collapse
What is needed
Windows PC (using Win7 64bit as example)
Java JDK HERE
Android SDK HERE
Android device
Click to expand...
Click to collapse
**Setup for Java JDK**
Download the Windows x86 or x64 .exe from HERE . Run the exe and let it install to default location
**Error that SDK does not see Java installed**
Code:
I and many others have had to create a Enviroment Variable so the Android SDK will see the Java JDK.
After java has installed
Click start menu
Right click computer
Select properties
Top left at the bottom of the list is Advanced System Settings, select that
System properties will open and bottom right will be a Enviroment Variables button, select that
A popup will apper (Enviroment Variables)
Select New System variables (bottom section)
Variable name will be JAVA_HOME, case sensitive
Variable value will be C:\Program Files\Java\jre7
Select OK
Select OK again and it will close Environment Variables window
Now in the System Properties window, if the apply button on bottom right is not clickable, we need to make it clickable
So what I do is make a small change to the computer name tab, I just delete one letter from the name and the type the
same letter (you do not actually need to change the name) and the apply button is now clickable, do so.
Now you might want to reboot your PC
Now that's set for when you go to install SDK it will see Java.
**Now to install Android SDK**Download the SDK from HERE. Towards the bottom of the page is "Download other platforms", select that. Scroll to "SDK Tools Only" section and in the Windows section select the installer.exe. Now you double click and run the installer
**Setup Android SDK**
Code:
Open this file path C:\Program files (x86)\Android\android-sdk and double click SDK Manager
It will open, top left is a Tools folder which has "Android SDK Tools" and "Android SDk Platform-tools" in it, check mark all 3 boxes
Bottom right is Install packages button, click it and accept liscences
Now you can navigate to the platform-tools folder and you will see adb now
Make sure you have you device drivers installed which I hope you would have already
Open settings on your device, scroll to Developer options and enable USB debugging
Plug device into PC and let drivers update/install
Now in the window where adb is, press shift+right click and select "Open command window here"
Type adb devices, if you have a device connected and it does not return a device, you need to install again.
If it does return a device you now can use adb for a veritey of functions, some of which I will cover.
***Tomorrow I will add some ADB commands along with what their functions are***
Nice Thread, we be a huge help to many. :good:
Yea buddy good looking out
Sent from my SPH-L900 using Tapatalk 4
Nice...thx for sharing I also use android commander but will definitely give this a go.
Sent from my SPH-L900 using Tapatalk 2
Whoa, how did I miss this? Thanks for sharing.
Going to try to add some ADB commands tomorrow as is my next day off. I'll get the screen shots and screen casts done tonight.
Has anyone even used the easy adb or linked someone on how to push a apk?
Post 2 has been updated with how to setup ADB and going to add some commands and what their functions are.
Nice work BTR! Thanks for putting this together!
Awesome now even I can do it Thanks BTR
Sent from my SPH-L900
great resource
Thanks for a very helpful resource especially a newbie like me can use
Sir... where can I get the commands you talked about earlier???
Hello.
I have had problems with my wifi for a few days. When I press the button in quick settings, nothing happens. When I press the toggle in the settings menu, the toggle switches to "on" but turns gray and it doesn't start searching for wifi networks. I have googled around and read xda forums and found out that it's very likely a problem with the wpa_supplicant.conf file in root/data/misc/wifi.
First I tried some advice that told me to rename the file so that the system would create a new one, and then it would work. I renamed it and even removed the file type ending, but no new wpa_supplicant.conf was created.
I tried setting the permissions for the file to 0755 rwxr-xr-x (I was told this is what they're supposed to be) but every time I reboot the phone they get reset to 0660 rw-rw---- and the problem persists.
I have tried changing the ownership of the file to system.wifi with chown cmd command in both terminal emulator and recovery. I have tried changing permissions both with root explorer and chmod in terminal emulator and recovery.
I can provide the file and any information you ask for on request, I'm not pasting it here from the beginning because I don't know what's relevant and what isn't, and I don't want to clutter the post.
Any ideas?
Worked perfectly for my Galaxy Tab3 7inch from T-Mobile (SM-T217T). I used Linux, but should work the same way with Windows/OSX:
1. Download Heimdall (incl. frontend, if you use Linux).
2. Download recovery file (CWM -ClockworkMod) for SM-T217S or SM-T217T and extract the zip/tar file so you will get the recovery image file (you should get a file called recovery.img). See attachment for file.
3. Download SuperUser (for getting root access later on) and save it to your external SD card on your Galaxy tab. See attachement for file. Please don't unzip the file, save the zip file as it is on your SD card.
4. Put SDCard into your GalaxyTab
5. Connect your Galaxy tab to your PC via USB and start it up in Download mode: Power + Volume DOWN.
6. Open Heimdall (under Linux as root).
7. Go to tab 'Utilitites'.
8. Click on 'Detect'.
9. Choose destination file for PIT file and click on 'Download'.
10. Then change tab to 'Flash'.
11. Open your PIT file and click on 'Add'.
12. Choose recovery as partition name and add the CWM file.
13. Click on start (I prefer to automatically reboot the device after flashing recovery, so I won't activate any of the options next to the start button such as 'No Reboot', etc.).
14. Your device should now reboot. Once in Android, please power off your device.
15. Start your device with Power + Volume UP, so recovery mode will be invoked.
16. Choose the menu point ‘load from external SD card’ and execute SuperUser file – see attachment. This will actually root your device.
17. Reboot your device and you should be rooted now….
Cheers
Christoph
Enable auto-start up when plugged in
If you want to enable the Galaxy Tab 3 7" (SM-T217T) to boot automatically, when you plug it into the charger please follow these steps:
1. Download a command line tool for Android.
2. Change to root via command 'su'.
3. Change to directory /system/bin via command 'cd /system/bin'.
4. Give write permission via command 'mount -o rw,remount -t yaffs2 /dev/block/mtdblock1 /system'.
5. Make a copy of the file 'lpm' via command 'mv lpm lpm.orig'.
6. Create a new file with the name 'lpm' via command 'vi lpm' (this also open the vi text editor).
7. Press 'i' to get via into insert mode.
8. Enter the following line of code:
#!/system/bin/sh
/system/bin/reboot
9. Press 'ESC' and enter 'ZZ' to save the file and to quit the vi editor.
10. Give required permission to the file via command 'chmod 755 lpm'.
11. Remove write permission via command 'mount -o ro,remount -t yaffs2 /dev/block/mtdblock1 /system'.
12. Check, whether lpm and lpm.orig file have the same permissions via 'ls -l *lpm*'.
Cheers
Christoph
I just recently discovered that I am doing unlock any phone through simply removing data/system/gesture.key file in recovery .
You just have to open twre and do delete that file that stores your password based data
Ha Ha Ha .... :laugh:
Simple
Isn't it?
Before continue reading I worn you
Thank you must say other wise experience BOOTLOOP.
Well
I got tested only on redmi 1s and lg p500
These are another methods :
If Just Google Ask you For Password (Credentials) - You Can Turn On WIFI Via ADB In Order To Google Accept Your Device Via this Command:
Code:
adb shell svc wifi enable
Requirements:
The Device Needs To Have Usb Debugging Enabled
In Case Usb Debugging Isn't Enabled And You Have Recovery,you Can Run The Same Instructions From Recovery
For Some methods Will Be Better If Device Is Rooted
If None Of This Methods Works For You - Unfortunally You Probably Must not Wipe Your Device please notify me first.
METHOD I
Solution For Everyone With Recovery (Cwm, Twrp, Xrec,Etc...) Installed:
INSTRUCTIONS:
1. Download this zip Pattern Password Disable (Download from google.com) on to your sdcard (using your PC, as you cant get into your phone, right )
2. Insert the sdcard into your phone
3. Reboot into recovery mode
4. Flash the zip
5. Reboot
6. Done!
Note : If You See The Gesture Pattern Grid Or Password After Restarting, Don't Worry. Just Try Any Random Pattern Or Password And it Should Unlock.
METHOD 2
Solution For Everyone Without Recovery Installed - ADB :
What You Need:
=>A computer running a Linux distro or Windows+Cygwin
=>USB cable to connect your phone to the PC
=>Adb installed
How to install adb:
1. Open Terminal
2. Type:
Code:
sudo apt-get install android-tools-adb
Hit [Enter]
3. Follow the instructions until everything is installed.
INSTRUCTIONS:
1. Connect you (turned on) Phone to the Computer via USB.
2. Open a terminal window.
3. Type:
Code:
adb devices
adb shell
cd data/system
su
rm *.key
4. Done...Now You Just Have To Reboot.
Note : as above...
METHOD 3
Solution For Everyone Before Lock Accident :
SMS Bypass - Download Link - Install It On Your Device (Download from attachments)
This App Allows You To Remotely Bypass Your Phone's Screen Lock By Sending A SMS.
It Removes Your Gesture Pattern Or Password After Receiving A Preset Keyword Along With A Secret Code Via SMS.
SMS Bypass App Requires Root.
INSTRUCTIONS:
1.First, make sure you give permanent root access to the app.
2.Change the secret code to your preferred choice. The default password is : 1234
3.To reset your screen lock, send the following message from another phone:
Code:
secret_code reset
Example:
Code:
1234 reset
Note 1 : There is a space between your secret code and reset. Also the secret code is case sensitive.
Note 2 : There is an option available to change the preset keyword. Default is : reset - Your phone will restart and your lock screen will be reset.
Note 3 : If You See The Gesture Pattern Grid Or Password After Restarting, Don't Worry. Just Try Any Random Pattern Or Password And it Should Unlock.
METHOD 4
Solution For Everyone Via Adb - SQL Command :
INSTRUCTIONS:
=>Type This Commands Separated In Your Terminal (CMD Prompt) :
Code:
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
=>Now You Just Have To Reboot.
METHOD 5
Solution For Everyone Via Adb - File Removal :
INSTRUCTIONS:
=>Type This Command In Your Terminal (CMD Prompt) :
Code:
adb shell rm /data/system/gesture.key
Note : If You See The Gesture Pattern Grid Or Password After Restarting, Don't Worry. Just Try Any Random Pattern Or Password And it Should Unlock.
METHOD 6
Solution For Everyone With USB Debugging Enabled :
INSTRUCTIONS:
Primary Step for all method:
Download & Extract to anywhere - Bypass Security Hack (Download from attachments)
Open SQLite Database Browser 2.0.exe in SQLite Database Browser.
Run pull settings.db.cmd inside By-pass security Hacks folder to pull out the setting file out of your phone.
Drag settings.db and drop to SQLite Database Browser 2.0.exe program.
Navigate to Browse data tab, At table there, click to list down the selection & selete secure
Instruction To Remove Pattern Lock:
Now, find lock_pattern_autolock, Delete Record
Close & save database
Run push settings.db.cmd and reboot your phone
Instruction To Remove PIN Lock:
Now, Find Or Create lockscreen.password_type, double-click & change it's value to 65536, Apply changes!
Now, find lock_pattern_autolock, Delete Record, If doesn't exist, Ignore
Close & save database
Run push settings.db.cmd and reboot your phone
Instruction To Remove Password Lock:
Now, find lockscreen.password_salt, Delete Record
Now, find lockscreen.password_type, Delete Record
Close & save database
Run push settings.db.cmd and reboot your phone
Note : If You See The Gesture Pattern Grid Or Password After Restarting, Don't Worry. Just Try Any Random Pattern Or Password And it Should Unlock.
METHOD 7
Solution For Everyone With Recovery Installed :
INSTRUCTIONS:
1.Download and Copy Aroma File manager.zip (Download from attachments or http://forum.xda-developers.com/show....php?t=1646108) to your memory card.
2. Open your recovery (press volume Down + Power button or it can be different according to the phones. Generally the phones who have press able button on the middle they have to press all three buttons. Google for you pattern there are lots)
3. There’ll b an option in recovery called “mount”. Go in that option and then mount all the cache and everything it is there.
4. Then select “update” and select “apply update from SD/external” and select aroma file manger.zip file that you downloaded using above QR code above.
5. After Flashing or updating, the aroma file manger will open. Use volume keys for up/down and power button 2 select like you use to get into recovery.
6. In aroma File manager , Go to menu , which is located in bottom strip and then select Settings.
7. Go to bottom n select “mount all partition in startup ” then exit from aroma file manger.
8. Now after exit , re-update that aroma file again and it will open again.
9. Go to data >> and then System.
Then find ‘gesture.key’ (for pattern lock) and ’password.key’ (for password lock) then long touch on gesture.key or password.key and sum option will be prompted , choose delete and delete that file and restart.
Try out one by one
Tell if works on another phonephone
Pattern Disabler zip
http://forum.xda-developers.com/attachment.php?attachmentid=2532214&d=1390399283
SMS bypass app:
http://forum.xda-developers.com/attachment.php?attachmentid=2532215&d=1390399283
Bypass securities mods:
http://forum.xda-developers.com/attachment.php?attachmentid=2532216&d=1390399283
Aroma file manager :
http://forum.xda-developers.com/attachment.php?attachmentid=2532253&d=1390400421
Thank you must say other wise experience BOOTLOOP.
Thanks mate you give all working method for unlock is there
bro plz hit thanks button
niral.naik said:
I just recently discovered that I am doing unlock any phone through simply removing data/system/gesture.key file in recovery .
You just have to open twre and do delete that file that stores your password based data
Ha Ha Ha .... :laugh:
Simple
Isn't it?
Before continue reading I worn you
Thank you must say other wise experience BOOTLOOP.
Well
I got tested only on redmi 1s and lg p500
These are another methods :
If Just Google Ask you For Password (Credentials) - You Can Turn On WIFI Via ADB In Order To Google Accept Your Device Via this Command:
Code:
adb shell svc wifi enable
Requirements:
The Device Needs To Have Usb Debugging Enabled
In Case Usb Debugging Isn't Enabled And You Have Recovery,you Can Run The Same Instructions From Recovery
For Some methods Will Be Better If Device Is Rooted
If None Of This Methods Works For You - Unfortunally You Probably Must not Wipe Your Device please notify me first.
METHOD I
Solution For Everyone With Recovery (Cwm, Twrp, Xrec,Etc...) Installed:
INSTRUCTIONS:
1. Download this zip Pattern Password Disable (Download from google.com) on to your sdcard (using your PC, as you cant get into your phone, right )
2. Insert the sdcard into your phone
3. Reboot into recovery mode
4. Flash the zip
5. Reboot
6. Done!
Note : If You See The Gesture Pattern Grid Or Password After Restarting, Don't Worry. Just Try Any Random Pattern Or Password And it Should Unlock.
METHOD 2
Solution For Everyone Without Recovery Installed - ADB :
What You Need:
=>A computer running a Linux distro or Windows+Cygwin
=>USB cable to connect your phone to the PC
=>Adb installed
How to install adb:
1. Open Terminal
2. Type:
Code:
sudo apt-get install android-tools-adb
Hit [Enter]
3. Follow the instructions until everything is installed.
INSTRUCTIONS:
1. Connect you (turned on) Phone to the Computer via USB.
2. Open a terminal window.
3. Type:
Code:
adb devices
adb shell
cd data/system
su
rm *.key
4. Done...Now You Just Have To Reboot.
Note : as above...
METHOD 3
Solution For Everyone Before Lock Accident :
SMS Bypass - Download Link - Install It On Your Device (Download from attachments)
This App Allows You To Remotely Bypass Your Phone's Screen Lock By Sending A SMS.
It Removes Your Gesture Pattern Or Password After Receiving A Preset Keyword Along With A Secret Code Via SMS.
SMS Bypass App Requires Root.
INSTRUCTIONS:
1.First, make sure you give permanent root access to the app.
2.Change the secret code to your preferred choice. The default password is : 1234
3.To reset your screen lock, send the following message from another phone:
Code:
secret_code reset
Example:
Code:
1234 reset
Note 1 : There is a space between your secret code and reset. Also the secret code is case sensitive.
Note 2 : There is an option available to change the preset keyword. Default is : reset - Your phone will restart and your lock screen will be reset.
Note 3 : If You See The Gesture Pattern Grid Or Password After Restarting, Don't Worry. Just Try Any Random Pattern Or Password And it Should Unlock.
METHOD 4
Solution For Everyone Via Adb - SQL Command :
INSTRUCTIONS:
=>Type This Commands Separated In Your Terminal (CMD Prompt) :
Code:
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
=>Now You Just Have To Reboot.
METHOD 5
Solution For Everyone Via Adb - File Removal :
INSTRUCTIONS:
=>Type This Command In Your Terminal (CMD Prompt) :
Code:
adb shell rm /data/system/gesture.key
Note : If You See The Gesture Pattern Grid Or Password After Restarting, Don't Worry. Just Try Any Random Pattern Or Password And it Should Unlock.
METHOD 6
Solution For Everyone With USB Debugging Enabled :
INSTRUCTIONS:
Primary Step for all method:
Download & Extract to anywhere - Bypass Security Hack (Download from attachments)
Open SQLite Database Browser 2.0.exe in SQLite Database Browser.
Run pull settings.db.cmd inside By-pass security Hacks folder to pull out the setting file out of your phone.
Drag settings.db and drop to SQLite Database Browser 2.0.exe program.
Navigate to Browse data tab, At table there, click to list down the selection & selete secure
Instruction To Remove Pattern Lock:
Now, find lock_pattern_autolock, Delete Record
Close & save database
Run push settings.db.cmd and reboot your phone
Instruction To Remove PIN Lock:
Now, Find Or Create lockscreen.password_type, double-click & change it's value to 65536, Apply changes!
Now, find lock_pattern_autolock, Delete Record, If doesn't exist, Ignore
Close & save database
Run push settings.db.cmd and reboot your phone
Instruction To Remove Password Lock:
Now, find lockscreen.password_salt, Delete Record
Now, find lockscreen.password_type, Delete Record
Close & save database
Run push settings.db.cmd and reboot your phone
Note : If You See The Gesture Pattern Grid Or Password After Restarting, Don't Worry. Just Try Any Random Pattern Or Password And it Should Unlock.
METHOD 7
Solution For Everyone With Recovery Installed :
INSTRUCTIONS:
1.Download and Copy Aroma File manager.zip (Download from attachments or http://forum.xda-developers.com/show....php?t=1646108) to your memory card.
2. Open your recovery (press volume Down + Power button or it can be different according to the phones. Generally the phones who have press able button on the middle they have to press all three buttons. Google for you pattern there are lots)
3. There’ll b an option in recovery called “mount”. Go in that option and then mount all the cache and everything it is there.
4. Then select “update” and select “apply update from SD/external” and select aroma file manger.zip file that you downloaded using above QR code above.
5. After Flashing or updating, the aroma file manger will open. Use volume keys for up/down and power button 2 select like you use to get into recovery.
6. In aroma File manager , Go to menu , which is located in bottom strip and then select Settings.
7. Go to bottom n select “mount all partition in startup ” then exit from aroma file manger.
8. Now after exit , re-update that aroma file again and it will open again.
9. Go to data >> and then System.
Then find ‘gesture.key’ (for pattern lock) and ’password.key’ (for password lock) then long touch on gesture.key or password.key and sum option will be prompted , choose delete and delete that file and restart.
Try out one by one
Tell if works on another phonephone
Pattern Disabler zip
http://forum.xda-developers.com/attachment.php?attachmentid=2532214&d=1390399283
SMS bypass app:
http://forum.xda-developers.com/attachment.php?attachmentid=2532215&d=1390399283
Bypass securities mods:
http://forum.xda-developers.com/attachment.php?attachmentid=2532216&d=1390399283
Aroma file manager :
http://forum.xda-developers.com/attachment.php?attachmentid=2532253&d=1390400421
Thank you must say other wise experience BOOTLOOP.
Click to expand...
Click to collapse
Rahulraj943472 said:
Thanks mate you give all working method for unlock is there
Click to expand...
Click to collapse
bro plz hit thanks button