[Tool] Retrieve Lost Pattern Lock Code - Nexus 7 General

How to Display a devices Screen Lock Pattern Code
This tool will allow a user to retrieve the unlock code for an Android device using the Pattern protection. This has been tested on a Droid Bionic running JB 4.2, and a Nexus 7 running JB 4.2. In both cases it worked fine. This tool was designed and tested on Ubuntu 12.04, but it should work with and variant of Ubuntu 10+. If you have issues make sure you have ImageMagick installed.
Note: If ImageMagick is not installed, you can install it with this command: sudo apt-get install imagemagick libmagickcore-dev
What you need:
Ubuntu 10.x or higher.
A rooted Android device.
Make the magic happen:
Download the tool that I called Navajo (Code Breaker) from here: http://imadroid.com/files/navajo.tar.gz
Put it on your desktop or somewhere easy to find.
Extract the tar .tar file by navigating to the directory and typing: tar -xvzf navajo.tar.gz
Change to the Navajo directory by typing: cd navajo
Make sure your device is set to allow USB debugging and plugged in to the computer.
Execute the application by typing: ./lock-code.sh
Alternatively you should be able to extract the file, and run it via the GUI as well. Make sure its set to be executable.
Then what happens:
If everything goes as planned then you should have a new file on your desktop named "lockcode.png". If you open this file you will see an image with a lock map, and your code printed in the bottom left. (See Attached Image)
Your code will also be displayed in the actual script as well, assuming you don't need the image map.
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}

Neat.
Sent from my MB612 using xda app-developers app

BlackFire27 said:
Neat.
Sent from my MB612 using xda app-developers app
Click to expand...
Click to collapse
Yep, it works quite well.

Works great :good:
Things to note for those that didn't read the thread like me are:
Then what happens:
If everything goes as planned then you should have a new file on your desktop named "lockcode.png". If you open this file you will see an image with a lock map, and your code printed in the bottom left. (See Attached Image)
Click to expand...
Click to collapse
and
If you have issues make sure you have ImageMagick installed.
Click to expand...
Click to collapse
Install ImageMagick:
sudo apt-get install imagemagick libmagickcore-dev
Click to expand...
Click to collapse

Related

[TUT] DOS TUT in a CLI (running smoothly different though) :-)

DOS 6.2 Tutorial in a Command Line Interface;
At the risk of revealing my age, ...
Once, a long, long time ago (unpack it and you can start guessing ) a good digital_friend send me this directory. I think I obtained it at first via FidoNet Then later I obtained this newer attached version via BBS
Though zipped it before upping it of course.
[TUT] A nice compiled dos Tutorial 2010-August-8th here on xda-developers.com
Screenshots;
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Of course one can unpack it and run it, though ...
Maybe this ADMiN at WORK method is something to write down <g>
Code:
@ECHO OFF
REM below the dos screen is set to show 50 lines in a box (15" CRT monitor). Don't go about and fill in a ridiculous value; you'll get to reboot your precious session! Because you can 1st read the provided manual ;-)
[COLOR=Red]MODE 80,50[/COLOR]
C:
CD C:\PROGRA~1\DOS6T\
HTUTOR.EXE
:END
EXiT
This batch file assumes you have unpacked this zip to C:\Program Files\*
1. Copy and paste the above code in a text editor and save it with a short (8.3) name of your choice.
2. Then rename the *.txt file to *.bat and double click it. (Mine's called Htut6.bat)
3. Press a key to continue...
4. Go to the Advanced Topics for a nice overview.
When you're done and quit the program, I advice to make a shortcut to your *.bat file;
LongPress_RightMouseButton the *.bat file - wait for context menu and select Create Shortcut (move/rename it to your liking)!
Q: Are there still people using DOS? And batch files??!
A: Chef's do! Don't you?
Note;
I never used this tutorial, due to the fact that I used Novell DOS (NDOS) and later moved to JPSoftware its 4DOS (which was a collaboration between NDOS/4DOS) later it was called 4NT command line interpreter (which was making overall dos operations go so much more faster, due to batch files which could/(can) be compiled easily).
Have a nice day/night,

Can''t Get ADB Working

Hey all, got a Kindle FireHD, can't get ADB to install correctly.
I'm on Win8 Pro. I booted Win8 into Test Mode, installed the Kindle ADB, and then got the error below:
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Can anyone please help me? I even installed it by clicking "Run as Admin", and still the same.
Edit: And the Kindle doesn't show up in My Computer. It did, until I messed with the ADB drivers, and now I can't access it's internal memory from My Computer.
And I get the below info when I go into device mgmt.
Haven't used Windows 8 yet but does it have a device manager?
Krsmqn said:
Haven't used Windows 8 yet but does it have a device manager?
Click to expand...
Click to collapse
Yes basically it has the full Windows 7 experience, but then you can switch to another menu which is the "Metro". But yes it shows in device manager as Kindle ADB.
EliteGeek91 said:
Yes basically it has the full Windows 7 experience, but then you can switch to another menu which is the "Metro". But yes it shows in device manager as Kindle ADB.
Click to expand...
Click to collapse
Stupid question but did you try to run adb in the cmd line.. If not try and see if any devices are listed. Try stopping server, starting server, then type adb devices. If there is a device listed than your in business. It seems to me like its working since its listed in the device manager, although I do not have experience with windows 8 and I have heard that it has a lot of bugs with these drivers..:good:
lacoursiere18 said:
Stupid question but did you try to run adb in the cmd line.. If not try and see if any devices are listed. Try stopping server, starting server, then type adb devices. If there is a device listed than your in business. It seems to me like its working since its listed in the device manager, although I do not have experience with windows 8 and I have heard that it has a lot of bugs with these drivers..:good:
Click to expand...
Click to collapse
http://forum.xda-developers.com/showthread.php?t=2093296
Complete guide for installing the adb drivers for Win 8.

[DEV] [WIP] Pebble emulator

After a whole lot of long evenings, odd hacking sessions and other fun things, I'm proud to present a full-system emulator for pebble.
This differs from existing solutions by actually emulating the pebble firmware using QEMU rather than simulating system calls!
It's still very much work in progess, but it currently boots a slightly modified firmware and allows navigating around the menus.
The long-term goal is to get it to a state where installing apps using libpebble is possible and hence allow using it for development.
Screenshot:
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Limitations:
Needs a full dump of the internal flash to boot (Working to allow it to boot a tintin_fw.bin directly)
Requires a modified firmware (BT initialization disabled)
Requires an SPI flash dump to be usable (Needs modified firmware to dump!)
There's currently no way to install apps
It has only been tested with firmware version 2.0.0
Sources:
https://github.com/pebbledev/qemu_pebble
DumpPebble: https://github.com/Hexxeh/DumpPebble
Dump Pebble SPI Flash: https://github.com/EnJens/DumpPebbleSPIFlash
Required patches:
On a full internal flash dump of Firmware 2.0.0 (ev2_4 - e.g. original kickstarter watch!), the following patch needs to be applied to get it running in the emulator:
patch 0x0803d910 1BE0 (Inside a full dump, the offset will be -0x8000000, e.g. offset 0x3d910)
Reserved2
Does this compile and run under android? I could see this being useful on watch devices like the Omate TrueSmart
fg said:
Does this compile and run under android? I could see this being useful on watch devices like the Omate TrueSmart
Click to expand...
Click to collapse
I doubt the CPU in the Omate is sufficiently powerful to do this right now. (I say right now, because it might theoretically be possible to optimize emulation since the cpu could directly execute most instructions...Similar to x86 on x86 emulation).
But no, this doesn't compile and run under android. It's intended for development of apps, rather than daily usage.
How do you run this under Windows? I can't seem to find a .bat or .exe file. Or does this only run with Linux?

[TWRP][3.0.0-0]for Android One 2nd Gen

{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
for Android One 2nd Gen Qualcomm Snapdragon Msm8916 Devices
General Mobile 4G / Dual
Cherry Mobile One G1
I-Mobile IQ II
Main Thread
Forum One Team
Working
All Features
:fingers-crossed: :laugh: :victory: :angel:
Installation 1 On Recovery
Place TWRP-3.0.0-0.zip file in Sd card
Reboot in Recovery Mode
Install the Recovery zip
Reboot Recovery
Installation 2 (First Install) On PC
Install drivers (for PC)
Download .zip file and extract to Empty folder
"Shift+Right Click" on Folder select > Open command window here
Unlock Oem (in Developer Options)
Reboot in Bootloader Mode
Connect to the computer via USB
Erase/Delete code
Code:
fastboot erase recovery
Flash code
Code:
fastboot flash recovery recovery.img
Only boot code
Code:
fastboot boot recovery.img
Screenshots you can see here
Downloads
Twrp 3.0.0-0
PC Drivers
Rezerved
thanks bro
does it work on Cherry Mobile One G1 as well?
rockmanX2012 said:
does it work on Cherry Mobile One G1 as well?
Click to expand...
Click to collapse
Clone device One G1. Work fine :good:
You can try
atakan58 said:
Clone device One G1. Work fine :good:
You can try
Click to expand...
Click to collapse
I see. Any known issues? Let me try once I get home
question
can we flash this using stock recovery?
hello...can i flash this using stock recovery?
xtian282105 said:
hello...can i flash this using stock recovery?
Click to expand...
Click to collapse
Probably no. You can try
rockmanX2012 said:
I see. Any known issues? Let me try once I get home
Click to expand...
Click to collapse
Working
All Features :fingers-crossed:

Question Cannot flash vendor_boot [SOLVED]

Hi,
I'm trying to install Lineage OS.
Just unlocked bootloader without problem.
But when i'm trying to boot in custom recovery (follow Lineage OS intruction) by using fastboot, I have the following error.
Can someone help me please?
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
you are using the wrong name for that partition.
What should I do?
I followed the instructions.
What does
Code:
fastboot --version
say?
fastboot version eac51f2bb6a8-android
use the latest version
SDK Platform Tools release notes | Android Studio | Android Developers
Android SDK Platform-Tools is a component for the Android SDK.
developer.android.com
You used this one?
[OFFICIAL][TOOL][WINDOWS] ADB, Fastboot and Drivers - 15 seconds ADB Installer v1.4.3
15 seconds ADB Installer v1.4.3 ADB, Fastboot and Drivers What is this? This is All-in-One installer for 3 most needed PC tools for Android. No need to download big SDK for 3 small things. I originaly made it for my Kurdish friend AnGrY DuDe in...
forum.xda-developers.com
Release date 2015!!
No, I use the one u suggested.
New install, same problem.
I think im gonna give up. Thanks for your help.
Zypseth said:
No, I use the one u suggested.
New install, same problem.
I think im gonna give up. Thanks for your help.
Click to expand...
Click to collapse
Give up? You haven't even try!
Sure that you are using the new version? The old one is installed globally, isn't it?
WoKoschekk said:
Give up? You haven't even try!
Sure that you are using the new version? The old one is installed globally, isn't it?
Click to expand...
Click to collapse
I've cleaned all files, restart computer, new install by following your download link.
Well, well
Third installation: OK.
Don't know why but it works!!
BTW thanks for your help and patience.

Categories

Resources