Disable Pattern lock with usb debugging or Login to WiFI network


Question

Summary



I forgot the pattern lock on my new phone, it's an Acer Z630S running android 5.1. I managed to turn the WiFi on, but the only network my phone knows right now requires me to accept some conditions on a login page, however tapping the "Login to WiFi" notification asks for the pattern.



Fortunately I have USB debugging enabled, and my pc is a trusted device. Can I circumvent the lock screen is some way, or can I tap a button to log in to the WiFi network?



I also found this answer but none of those methods worked, here's a list of what went wrong with each of them:




  • Credentials stuff



My phone doesn't ask for them.




  • Bypass screenlock using a special app



I don't have WiFi, so I can't download anything.




  • Unlock via web



No WiFi, so isn't going to work.




  • Disable Pattern Lock via ADB



As in one of the WiFi attempts: sqlite isn't installed, pulling doesn't work and mounting doesn't work either.




  • Similar thing without ADB



My phone is not yet rooted.




  • Phone hole stuff



I'm not in my home country and accepting calls costs a lot of money, so I can't really do that right now.




  • Samsung users with Windows PC



It's an Acer device.



Any other things?



I've tried to document everything as good as possible, but I'd happily answer any other questions you might have!


Answer

This method will only work if you have an sd-card slot on your device and it's rooted.



You mentioned that you can't download any apps to bypass screenlock as you don't have an internet connection. But what you can do is:




  • Download any similar app on your PC (as an apk from the internet)

  • Create a recovery-flashable zip out of it, ie, make an update.zip package from the apk and save it onto your sd-card (using a card reader or a different device)

  • Insert the sd-card into your device boot it into recovery mode

  • Install the package (update.zip) from recovery



The app should take care of the rest.






If your device isn't rooted or your device does't have an external card slot, follow this link to learn how to factory reset your device from it's locked state, but it would wipe your device's data, so proceed cautiously.


Topics


2D Engines   3D Engines   9-Patch   Action Bars   Activities   ADB   Advertisements   Analytics   Animations   ANR   AOP   API   APK   APT   Architecture   Audio   Autocomplete   Background Processing   Backward Compatibility   Badges   Bar Codes   Benchmarking   Bitmaps   Bluetooth   Blur Effects   Bread Crumbs   BRMS   Browser Extensions   Build Systems   Bundles   Buttons   Caching   Camera   Canvas   Cards   Carousels   Changelog   Checkboxes   Cloud Storages   Color Analysis   Color Pickers   Colors   Comet/Push   Compass Sensors   Conferences   Content Providers   Continuous Integration   Crash Reports   Credit Cards   Credits   CSV   Curl/Flip   Data Binding   Data Generators   Data Structures   Database   Database Browsers   Date &   Debugging   Decompilers   Deep Links   Dependency Injections   Design   Design Patterns   Dex   Dialogs   Distributed Computing   Distribution Platforms   Download Managers   Drawables   Emoji   Emulators   EPUB   Equalizers &   Event Buses   Exception Handling   Face Recognition   Feedback &   File System   File/Directory   Fingerprint   Floating Action   Fonts   Forms   Fragments   FRP   FSM   Functional Programming   Gamepads   Games   Geocaching   Gestures   GIF   Glow Pad   Gradle Plugins   Graphics   Grid Views   Highlighting   HTML   HTTP Mocking   Icons   IDE   IDE Plugins   Image Croppers   Image Loaders   Image Pickers   Image Processing   Image Views   Instrumentation   Intents   Job Schedulers   JSON   Keyboard   Kotlin   Layouts   Library Demos   List View   List Views   Localization   Location   Lock Patterns   Logcat   Logging   Mails   Maps   Markdown   Mathematics   Maven Plugins   MBaaS   Media   Menus   Messaging   MIME   Mobile Web   Native Image   Navigation   NDK   Networking   NFC   NoSQL   Number Pickers   OAuth   Object Mocking   OCR Engines   OpenGL   ORM   Other Pickers   Parallax List   Parcelables   Particle Systems   Password Inputs   PDF   Permissions   Physics Engines   Platforms   Plugin Frameworks   Preferences   Progress Indicators   ProGuard   Properties   Protocol Buffer   Pull To   Purchases   Push/Pull   QR Codes   Quick Return   Radio Buttons   Range Bars   Ratings   Recycler Views   Resources   REST   Ripple Effects   RSS   Screenshots   Scripting   Scroll Views   SDK   Search Inputs   Security   Sensors   Services   Showcase Views   Signatures   Sliding Panels   Snackbars   SOAP   Social Networks   Spannable   Spinners   Splash Screens   SSH   Static Analysis   Status Bars   Styling   SVG   System   Tags   Task Managers   TDD &   Template Engines   Testing   Testing Tools   Text Formatting   Text Views   Text Watchers   Text-to   Toasts   Toolkits For   Tools   Tooltips   Trainings   TV   Twitter   Updaters   USB   User Stories   Utils   Validation   Video   View Adapters   View Pagers   Views   Watch Face   Wearable Data   Wearables   Weather   Web Tools   Web Views   WebRTC   WebSockets   Wheel Widgets   Wi-Fi   Widgets   Windows   Wizards   XML   XMPP   YAML   ZIP Codes