yashsingh1/xdaforums huggingface dataset:
[Android Software/Hacking General [Developers Only]] sub77:
unpack Boot.IMG and edit default.prop
[Android Software/Hacking General [Developers Only]] Gsm UK:
how to unpack boot.img and how to edit default.prop

plz tell me the procedure
[Android Software/Hacking General [Developers Only]] Gsm UK:
any update............... :(
[Android Software/Hacking General [Developers Only]] takota6:
And then wipe your nose ,,and pick out his clothes for Tuesday.. I kid

Æaa..\../
[Android Software/Hacking General [Developers Only]] iamareebjamal:
If your phone wasn't unlocked and debugging wasn't enabled, then I'm afraid there's no method in my knowledge that can help you.

If your phone's debugging was on, we could've done things.
[Android Software/Hacking General [Developers Only]] Gsm UK:
really strange ... but there must be a way , nothing is impossible.

anyways thanks
[Android Software/Hacking General [Developers Only]] Chnorzy:
Galaxy S5 mini

Hello,

Device: Samsung Galaxy S5 mini

A friend managed to break his display (it stays black) but the touchscreen still works.

unfortunately there was a lock pattern active and now I have to save her pictures. I first thought about an MHL adapter to connect a screen and a mouse because she knows the pattern but it's not supported by the device.

Samsung support would fix the display but she would lose all data.

Does anybody know if flashing CWM or TWRP would help in enabling usb debugging so I could remove the pattern lock over adb and save her data when unlocked?

... or is there another way if I know the pattern?

The last possibility would be to replace the display myself but I don't like to do this if not needed and I'm not sure if other things are also defective.

I appreciate any help or hints.
[Android Software/Hacking General [Developers Only]] sandroj:
I suppose the phone isn't rooted. So it would be kind of difficult. But you can try AROMA file manager which can be flashed through recovery. Just search for it on xda.

Sent from my Teclast X98 Air 3G (C8J6)
[Android Software/Hacking General [Developers Only]] Chnorzy:
Does booting AROMA from Recovery enable USB-Debugging?

Unfortunately the screen doesn't work and I'm not able to see anything to try it with Aroma.

I just want to know if installing TWRP or CWM would enable USB-Debugging so that I could try removing the pattern lock file.

As soon as the phone is unlocked I would save data the common way.

If there is no way of enabling USB-Debugging I will need to take everything apart.
[Android Software/Hacking General [Developers Only]] sandroj:
In some MTK 6577 based phones there used to be Meta mode which automatically enables ADB in such cases. I'm not sure if it exists in Samsung s5 mini. You can search for it in some of the s5 forums.

Sent from my Teclast X98 Air 3G (C8J6)
[Android Software/Hacking General [Developers Only]] Helloworld294:
there is a much easier way now.

1) get latest TWRP recovery

2)boot into recovery

3) go to "Advanced" -> "File Manager"

4)Browse to data/system

5) there are two database ".db" that contain every type of lock from fingerprint to pattern. the two files are called gatekeeper.db

6) delete them

7)No more lockscreen :)

Tested on latest Android 6.0.1 on my Nexus 6p device.
[Android Software/Hacking General [Developers Only]] thet1nman:
I am running 6.0.1 on my Nexus 5 and did not see the .db files. I saw the gatekeeper files as .key files

You could use your method and delete gatekeeper.pattern.key and gatekeeper.password.key with TWRP file manager or use adb like this

adb devices

adb shell

cd /data/system

rm gatekeeper.pattern.key

rm gatekeeper.password.key
[Android Software/Hacking General [Developers Only]] Helloworld294:
Yeah I meant .key files lol

Also use "sudo cd ~/data/system .

In my opinion that is a pretty huge security flaw right here [emoji1]
[Android Software/Hacking General [Developers Only]] Abednego:
Actually I don't see a security problem there. If you want your device secure, just don't unlock the bootloader and/or encrypt. Unlocked devices may be attacked (or recovered) via recovery.

If you need to store sensitive data on an unlocked device, you should add an extra layer of security - which probably means encryption.

Did I miss something?

Gesendet von meinem D5803 mit Tapatalk
[Android Software/Hacking General [Developers Only]] Helloworld294:
Uhm no... This is a nexus device, so to unlock it all you have to do is go to developer settings and tick "OEM Unlock" thats it.

Hook it up to a computer, boot into bootloader mode and just type these two lines

"fastboot oem unlock"

"fastboot flash recovery recovery.img"

Done, your phone is completely insecure after that and I'll be able to see all that porn you tryna hide in your phone behind an "encryption" [emoji1]
[Android Software/Hacking General [Developers Only]] Abednego:
I beg to differ in two aspects:

1. Unless you can trick my Nexus into believing that it's unlocked without actually issuing the "OEM unlock" command, my porn will get wiped during unlock and you won't be able to see it.

2. There is encryption and "hidden files". The latter is for beginners with beginners' problems (parents, spouses,...) and the first is for keeping information safe from more advanced risks. While KeePass and friends should work fine on file level (text-based porn anyone) Android has been offering a decent encryption option for internal and external data partitions. Now the interesting part: If I encrypt my data partition (or porn partition as you suggested), I am asked to enter my screenlock password at boot to unlock the decryption key. The hash of that password must therefore be stored somewhere outside the data/porn partition. Therefore it should accessible to a recovery/adb-based attack. Did anyone already try to copy/delete that hash? I suppose, the porn partition should be inaccessible then for anyone - but what exactly does happen? Bootloop? Another prompt? Free access to the encryption key? I won't try that on my main device (and also not on my wife's phone), but the result would still be interesting.

Off topic: There must be a custom ROM that renames data or storage partitions to "porn"... somebody must have already done it... let's fork android for that - or just add a symlink. [emoji1]

Gesendet von meinem D5803 mit Tapatalk
[Android Software/Hacking General [Developers Only]] Helloworld294:
Ok my friend, relax.
[Android Software/Hacking General [Developers Only]] optimusodd:
I have got Root access and USB debugging is Enabled but executing the commands given in first method giving me

/system/bin/sh: sqlite3: not found

And by executing the command given in second method,I am getting this :

override rw------- system:system for 'gesture.key'?

Is there any workaround ? :rolleyes:

Any help would be highly appreciated.

Thanks

---------- Post added at 02:35 AM ---------- Previous post was at 02:20 AM ----------

It's giving me

override rw-rw---- system:system for '/data/system/locksettings.db' ?

Any clue ? :confused:
[Android Software/Hacking General [Developers Only]] hanaheeno:
Is your device rooted?
[Android Software/Hacking General [Developers Only]] optimusodd:
Of course it's rooted and USB debugging is enabled.I had already mentioned that on the comment above.

Anyway,it might sound silly/funny but I managed to UNLOCK my device by Trial and Error method lol :D

When all the methods failed I resorted to trial and error method (I couldn't afford to lose my data ) as I slightly remembered the starting and the end points of the pattern.So what I did was,I drawed the different patterns on a piece of paper one by one and tried the same on the my device.I did that to make sure I don't repeat the same pattern again and again.Finally on 25th attempt I managed to crack it ;)

So if somebody slightly remember the pattern and there is no way around to resolve the issue,they can try Trial and Error technique :fingers-crossed:

I would still want to know why those commands didn't work for me.Does Bootloader (Being Locked / Unlocked ) play a part here ? :rolleyes:
[Android Software/Hacking General [Developers Only]] jason370:
I did a restore and forgot to take teh pattern lock off. I want into twrp and deleted the pattern key, totally worked
[Android Software/Hacking General [Developers Only]] optimusodd:
Good for you but my device has got stock recovery :rolleyes:
[Android Software/Hacking General [Developers Only]] holocen:
Method 2 works on ZTE Blade3.
[Android Software/Hacking General [Developers Only]] KingRaheel:
Both methods are working on moto g2
[Android Software/Hacking General [Developers Only]] Lunduh28:
Help with kyocera phone dot pattern to unlock the phone .

I cannot get past the pattern screen and do not know what to do .PLEASE HELP ME ... THANKS LINDA LEE
[Android Software/Hacking General [Developers Only]] Microzift:
Hi,

how can i know if my phone debugging is enabled or not?, since its locked because i forgot the pattern.
[Android Software/Hacking General [Developers Only]] Anand N v:
good
[Android Software/Hacking General [Developers Only]] SomebodySysop:
Android Device Manager Lock Screen

I have sort of an unusual situation. I have a rooted Android 6.0 head unit. The lock options have been removed from settings in rom. Foolishly, I used Google Android Device Manager to attempt to lock the screen.

What happens now is that when the system boots, it goes to Android menu. When wifi connects, it apparently gets signal from ADM, and a locked screen comes up. Problem is, I can't enter a password or anything on this screen. However, by pressing any key on the device, or the displayed back button, I get right back to the Android menu -- and don't have this problem again until I reboot or awake from sleep. The locked screen stays in the status bar.

As I have root access, I have tried many of the solutions here, deleting .key and .db files, sqlite, etc... None seem to get rid of the lock screen because the rom actually isn't configured to support one (or else I would simply be able to enter the password to remove it).

I've tried removing ADM from settings, disabling lock in Google settings, but the lock screen still keeps coming up on boot.

My question is: Does anyone know how to programmatically respond on the local device to Google Android Device Manger's lock screen command? Some file I can edit or remove or something?
[Android Software/Hacking General [Developers Only]] SomebodySysop:
OK, made some progress. Using dumpsys:

dumpsys window | grep LockscreenActivity

Window #2: WindowStateAnimator{6e49ea1 com.google.android.gms/com.google.android.gms.mdm.LockscreenActivity}
{taskId=115 appTokens=[AppWindowToken{69b4c4e token=Token{f9a1202 ActivityRecord{23a974d u0 com.google.android.gms/.mdm.LockscreenActivity t115}}}] mdr=false}
Activity #0 AppWindowToken{69b4c4e token=Token{f9a1202 ActivityRecord{23a974d u0 com.google.android.gms/.mdm.LockscreenActivity t115}}}:
windows=[Window{8acedbd u0 com.google.android.gms/com.google.android.gms.mdm.LockscreenActivity}]
allAppWindows=[Window{8acedbd u0 com.google.android.gms/com.google.android.gms.mdm.LockscreenActivity}]
task={taskId=115 appTokens=[AppWindowToken{69b4c4e token=Token{f9a1202 ActivityRecord{23a974d u0 com.google.android.gms/.mdm.LockscreenActivity t115}}}] mdr=false}
AppWindowToken{69b4c4e token=Token{f9a1202 ActivityRecord{23a974d u0 com.google.android.gms/.mdm.LockscreenActivity t115}}}

Can someone please tell me how I can kill this specific task/activity without stopping the service (GooglePlay) itself? None of these work so far:

am force-stop com.google.android.gms.mdm.LockscreenActivity

am force-stop com.google.android.gms/com.google.android.gms.mdm.LockscreenActivity

am kill com.google.android.gms.mdm.LockscreenActivity

am stopservice com.google.android.gms.mdm.LockscreenActivity

am kill com.google.android.gms/com.google.android.gms.mdm.LockscreenActivity

am stopservice com.google.android.gms/com.google.android.gms.mdm.LockscreenActivity
[Android Software/Hacking General [Developers Only]] Hassaan Masroor:
Ok so I deleted both the gatekeeper files from TWRP on my LG G5 on Nougat base running Fulmics 3.3 (on Android 7.0) which did the job of removing the knock code. But now I can't enter any new lock screen or finger print. The phone detects already added fingerprints but theres no lock screen as if it were selected 'swipe' lock screen in settings.

Accessing lock screen settings gives FC.

Any ideas how to restore? I tried dirty flashing the ROM but to no use (as I had already explored its zip for gatekeeper files which I couldn't find.) The only current solution I can think of is a kdz flash. But that'll erase my whole internal. Kindly look into it.

Thanks.
[Android Software/Hacking General [Developers Only]] Helloworld294:
Yes, the thing is deleting gatekeeper file on older android versions would have regenerated a new fresh gatekeeper file on boot. But newer android (6.0+) does not allow for that to protect the phone. That said, instead of deleting the file, it's recommended to just change extension to .bak or change file permissions.

To fix YOUR issue, all you need to do is dirty flash your ROM (Fulmics).
[Android Software/Hacking General [Developers Only]] Hassaan Masroor:
I dirty flashed, as well as clean flashed Fulmics but the issue is still there.

The only solution seemz to be flashing the kdz. I've been trying that all night long. LGUP is giving me some error that it couldn't load my phone model in my laptop's C drive.

LG Flash Tool 2014 can't establish connection to the server even though the internet is working perfectly fine.

The odds are totally against me today.
[Android Software/Hacking General [Developers Only]] Helloworld294:
It shouldn't be there if you clean flash. Wipe /data and /system then flash the ROM. If that doesn't work, then there's a problem with the ROM, not your phone. Try lineageOS, just to test things out.
[Android Software/Hacking General [Developers Only]] Hassaan Masroor:
I formatted the whole phone from TWRP where you type 'yes' and format.

Ok, I'll download that now but I need to be on Fulmics.

I extracted its zip but couldn't find the gatekeeper files in data/system that's why they didn't get replaced when I clean flashed.

Will I still get the files if the lockscreen issue resolves on Lineage and then I clean flash Fulmics back?
[Android Software/Hacking General [Developers Only]] Helloworld294:
Gatekeeper file should always regenerate when you clean flash a new ROM after wiping data. It only generated when you create a lockscreen (pattern or pin etc.). Try another ROM. I'm pretty sure it's FulmicsROM bug, nothing is wrong with your phone.
[Android Software/Hacking General [Developers Only]] Hassaan Masroor:
I really wish that's the case.

Downloading LineageOS in progress.

Will report back when done.

Thanks a lot.

EDIT: LineageOS brought back the lockscreen. I backed up its 2 gatekeeper files plus 3 lock settings files (locksettings.db, locksettings.db-shm, locksettings.db-wal) and pasted then in the data/system of Fumlics. Lock screen showed up and unlocked with the pattern I set in LineageOS.

Now I head to the settings to see if I can change the pattern but again FC when I choose lock screen/fingerprint settings.

So now I wipe the cache, dalvik and system. Sparing the data partition as the lock settings files were on it. I flash Fulmics and end up still on the same spot.

Now I'm 100 percent sure only kdz flashing can repair it. Or maybe someone with a rooted G5 can share these 5 files with me (probably they're different from LineageOS's files as LG has this unique knock code feature as well which others don't offer)

Anyways, thanks for pointing me in the right direction. :)
[Android Software/Hacking General [Developers Only]] pranavaryans:
i want to remove TWRP pattern. How can i remove it?

Its annoying as whenever i start my device it asks password
[Android Software/Hacking General [Developers Only]] Helloworld294:
It's not a twrp password...

Go to settings - lock screen&security and disable "use pattern on boot"
[Android Software/Hacking General [Developers Only]] zerosys:
I have two questions guys:

1. Is there any chance to "see" the actual pattern, maybe with information stored in one of the files?

2. Is there any chance to find out at which time the pattern was changed last? Maybe "last edited" at one of the files, or maybe this information is stored somewhere?
[Android Software/Hacking General [Developers Only]] arunhoneya:
hi, I have moto g5 plus. My mobile is switched off and when I turn it on it asks me to enter the pattern. I have forgotten the pattern, can you please help me with this. I can do a donation if it works. Thanks
[Android Software/Hacking General [Developers Only]] sandroj:
The method in OP will only work if you have already enabled ADB in settings. Even then I'm doubtful if you can use it on Moto G5 plus. Most probably you will need to factory reset in which case you will loose current data.
[Android Software/Hacking General [Developers Only]] CoCoGirl886:
Wish i had seen this thread earlier :(.. but if I have already deleted the gatekeeper files, is there anything I can do to pass the encryption? I don't get a force closed error when trying to create a new pin/pattern password, but it just won't save and remains on the swipe to unlock option. My fingerprint unlock still works, but it doesn't let me access the data/apps of the phone (I have Android 7.1.1).

When booting into trwp, it makes me type a password that I don't have. Before I deleted the gatekeeper files, my twrp had a pattern unlock which was the same my android system password. So essentially I can't access any of my files in twrp either. Is there anything I can do to boot back up without losing any data?

Thanks in advance!!
[Android Software/Hacking General [Developers Only]] deathnote08:
Help me pls. I manually deleted "gesture.key" and "password.key" via twrp when i deleted it it has a red line says your kernel does not support something like that but it still deleted because i can see that the "gesture.key" and "password.key" vanishes. Then i restarted my phone but still it wants to confirm my gmail. My phone is SGY-5360 samsung HELP please. THANK YOU!
[Android Software/Hacking General [Developers Only]] NAxAshirogi:
Funciono en mi Samsung J2 Prime!!! CAPO, IDOLO, GENIO!!!

Anote anote amigeroooo japishhh ;)
[Android Software/Hacking General [Developers Only]] Zaur Hacılı:
Hi. Is it possible to reset screen lock on Samsung Galaxy M12 without deleting files?
[Android Software/Hacking General [Developers Only]] Dave_L:
For my Samsung tablet I overcame pattern lock by booting into twrp, opening terminal, typing cd /data/system

Then type: rm gatekeeper.pattern.key

Then reboot.
[Android Software/Hacking General [Developers Only]] ashish.9719:
forgotten pin for Nothing Phone 1. No debugging active and no custom recovery installed. any help please ??? I want my data. Asking for help, Please reply
[Dell Streak 7] b3ltazar:
ok i am stuck at the dell logo on my friends t-mobile dell streak 7. i tried everything nv flash,fastboot.upgrade through update zip on sd.still the same now when i try and flash any recovery through fastboot all goes well until i boot into recovery chosse opion 2 im always in stock recovery.please i have spent hours downloading and flashing but i got nowhere.i really tried evey method in these forums many times.. thank you.I think my biggest problem is the tablet wont successfully flash any recovery image fastboot says sucessful but always have the same recovery..is there a way of flashing cwm via nvflash?
[Dell Streak 7] giveen:
Yes, take the CWR image, rename it "recovery.img" and drop it in with the NVFlash pack.
[Dell Streak 7] b3ltazar:
thanks i tried it but didnt work. still the same recovery. does anyone have one of the old nvflah files of streakdroid for tmobile thst is the only other thing i can think of i didnt try.i really tried everything. i downloaded 2 nv flash packages tmobile stock pkg and recovery. get modem error.still stuck at dell. flash orig. recovery, boot and system from fastboot same thing stuck at dell.for some reason no recoverys will flash. any ideas.I would just hate to give the tablet back broken i am just out of ideas.
[T-Mobile Sidekick 4G] shadow6600:
I'm fixing my friend's phone that she got in a bootloop, it would stay on the logo for about 8 sec. go into a black screen for about 5 sec. then go back to the logo for 8 sec again, and so on and so on. I messed with the phone for a little bit and found out it did the same thing charging, loading/battery icon for 8 sec, black screen 5 sec, etc. So I read up on ODINing it, and I got it on download mode no problem, my computer and ODIN detecting it, but again it only lasted for 8 sec. then it went into the black screen disconnecting it from my computer, then it went into charging mode doing the same thing. If I hold the track button and the - volume button it would stay on download mode, but it would still go to the black screen and keep on repeating the same cycle. I took out the sd card, sim card, and tried a different battery, still the same. Anything that could help me please :confused:
[T-Mobile Sidekick 4G] yogi2010:
i bought a phone real cheap thinking i could fix it, but it was doing the same thing: showing the Samsung logo for a few seconds, then going blank, or going into download mode for a fews seconds, then going blank. if i took the battery out and put it back in, it would automatically start looping like that, without even pressing the power button. there was no way to fix it at all that i could find, and i looked all over. i ended up contacting Samsung and the phone was under warranty, and they fixed it by replacing a component(that's the only explanation i got). somehow something had gone wrong with the hardware i guess.

Edit: there was one thing i tried that was said to possibly fix an issue like this, and it was to unscrew the back housing and go down to the motherboard and check the 3 or so ribbon cables that attach to the board.... and just to make sure that the connections were nice and tight. i did that but it didn't fix it for me.
[T-Mobile Sidekick 4G] shadow6600:
Ok, thanks for the reply,I'll try taking apart the phone.
[T-Mobile Sidekick 4G] GuestK0045:
Fml same thing >.< hey did u change the battery??
[Galaxy S III Accessories] mb27:
Just thought I'd throw this out there. They now have NFC and claim an extra 200mah.

I ordered mine from Amazon.com and even though the description still doesn't list NFC or 4200mah, I got a pleasant surprise today.

I checked on ebay to see if it was a fluke and indeed they are all 4200mah and with NFC now.

If anyone is wondering, I'm only a few hours into charging it (they say charge for 12hrs the first time) and I don't have any NFC tags so I can't provide any test results at this time.

Brief summary for those new to the thread: I am able to get double the battery life of the stock battery. While this might be expected since it is 4200mah vs 2100mah, not all batteries live up to their claims. This one does.

The NFC on my first battery did not work well. It was there and did function, but was almost useless. My replacement battery, however, is amazing. It picks up NFC tags quicker than I imagined.

I'm very happy with my purchase. I can use the phone all day without having to worry about plugging in.
[Galaxy S III Accessories] stc1:
They also have a TPU case for the extended battery here's the link:

http://www.amazon.com/gp/product/B008MMZUZS/ref=ox_ya_os_product
[Galaxy S III Accessories] mb27:
Yeah I saw those but I haven't decided if I want to get one yet.

BTW I'm not sure if anyone has posted this yet but the phone weighs 175g (6.2oz) with the extended battery & door. With the factory battery & door it weighs 133g (4.7oz). Both figures are without a case.
[Galaxy S III Accessories] jev3gs:
I ordered mine from Amazon 3 days ago, I hope I get the new version too. That would be nice to have.
[Galaxy S III Accessories] dvaderx:
any other extended battery cases that you guys know of beside those in the above link?