[script]Remove password/fingerprint lock - Xiaomi Redmi Note 3 Guides, News, & Discussion

Hi all,
I made this small update script because sometime when you try a rom and use a backup to restore the previous one the authentification get broken, so this script will just remove all locks and allow you to start your phone without any data lost.
I'm not responsible if something is going wrong.
Flash using any twrp will probably work.

great. will try

thanks!

animehq said:
Hi all,
I made this small update script because sometime when you try a rom and use a backup to restore the previous one the authentification get broken, so this script will just remove all locks and allow you to start your phone without any data lost.
I'm not responsible if something is going wrong.
Flash using any twrp will probably work.
Click to expand...
Click to collapse
well we can delete gatekeeper files manually from the TWRP file manager, and everything is fine, no data lost.

Great will try

c_/\/\_k said:
well we can delete gatekeeper files manually from the TWRP file manager, and everything is fine, no data lost.
Click to expand...
Click to collapse
Yep probably, but for most of people here it's safer to use a script than let them find the files manualy.
And maybe faster

animehq said:
Yep probably, but for most of people here it's safer to use a script than let them find the files manualy.
And maybe faster
Click to expand...
Click to collapse
you deserve compliment for your work , but it takes only one file to delete to remove passwords or lock. and its neither lengthy nor unsafe, i have seen your script, it deletes to many things.. which is not required i think. And your updater script has spelling mistakes too bro..

Does it also removes the mi account? Device locked because mi account think the device is stolen.

c_/\/\_k said:
you deserve compliment for your work , but it takes only one file to delete to remove passwords or lock. and its neither lengthy nor unsafe, i have seen your script, it deletes to many things.. which is not required i think. And your updater script has spelling mistakes too bro..
Click to expand...
Click to collapse
Which file do you think is the only one to delete?

Rohit DK said:
Does it also removes the mi account? Device locked because mi account think the device is stolen.
Click to expand...
Click to collapse
Nop sorry and there is no easy way to do it as far i know.

Bogeyof said:
Which file do you think is the only one to delete?
Click to expand...
Click to collapse
If its patternlock, then its gatekeeper.pattern.key, if its password then its gatekeeper.password.key, you can delete both.

Successful Using RX & Deletion of /data/validity/template.db
Doesn't work for me! Ran rx from recovery, wiped caches, & rebooted. Typed in backup password, unlocked (same as b4). Went to the Settings for fingerprint this time it constantly rejects any attempt saying too many incorrect pls wait. Prior it wouldn't take fingerprint or password.
Any suggestions for this?
PS: Would be nice to list what each file does /is for. I am also an advanced user...
After running This Rx use (root) X-plore/etc F. M. Then DELETE:
[*W/Rx SUCCESS*] /data/validity/template.db [*W/Rx SUCCESS*]
Reboot. Type in Previously Used BackUp Password. Go to Fingerprint Settings & setup new fingerprint & backup password!
[*MIA*] data/system/users/0/settings_fingerprint.xml [*MIA*] Could not find this file, so I assume not needed.
This was done on Stock Base Marshmallow ROM N915 (Note Edge).
BTW Thanks for RX & Could You Please add the above file to RX?

Related

SD-ROM: Screen locked with pattern and cannot unlock

I forgot the pattern of my lockscreen, tried too many times and cannot unlock with google account.
Unfortunately wifi, data and developer mode is turned off.
Was able to locate and extract gesture.key but how can I remove it from data.ext4?
SD-ROM is containing all my phone numbers, messeges etc.
Please help, thank you in advance.
experto1 said:
I forgot the pattern of my lockscreen, tried too many times and cannot unlock with google account.
Unfortunately wifi, data and developer mode is turned off.
Was able to locate and extract gesture.key but how can I remove it from data.ext4?
SD-ROM is containing all my phone numbers, messeges etc.
Please help, thank you in advance.
Click to expand...
Click to collapse
How have you found and extracted gesture.key?
To remove something from data.ext4 you could mount the file in Ubuntu/Linux which will grant you access to the files.
Code:
[CENTER]sudo mount -o loop data.ext4 ~/Desktop/data
then edit it and unmount it
umount data.ext4[/CENTER]
HypoTurtle said:
How have you found and extracted gesture.key?
To remove something from data.ext4 you could mount the file in Ubuntu/Linux which will grant you access to the files.
Code:
[CENTER]sudo mount -o loop data.ext4 ~/Desktop/data
then edit it and unmount it
umount data.ext4[/CENTER]
Click to expand...
Click to collapse
thanx a lot HypoTurtle! It worked for me but removing gesture.key did´nt remove the protection. I still have googlemail unlock screen.
Any idea?
experto1 said:
thanx a lot HypoTurtle! It worked for me but removing gesture.key did´nt remove the protection. I still have googlemail unlock screen.
Any idea?
Click to expand...
Click to collapse
Had a quick look and if you aren't given the option to reset it, after ~5 failed attempts you could try downloading lock screen bypass from the market to see if that works, I'll attach a copy of the apk if you cant get it.
Just tried it and its 5 failed attempts for me, then the offer to reset.
unfortunately this did not work for me. think it is locked at a different point.
I will give the sql method a try: http://forum.xda-developers.com/showthread.php?t=485988
Anyway I hit the thanks button
problem solved:
after trying sql method and restart it was showing missed calls, could enable data connection and unlock it with my googlemail account.
experto1 said:
problem solved:
after trying sql method and restart it was showing missed calls, could enable data connection and unlock it with my googlemail account.
Click to expand...
Click to collapse
I'm glad that you could solve it and unlock your phone, but I am curious, why it didn't let you unlock using Gmail without data.
Sometimes, I unlock the phone using gmail and pass EVEN with airplane mode on and no WiFi. Isn't it supposed to check with your already registered gmail account? thus no need for an internet connection?
Anywa, enjoy your phone.
experto1 said:
problem solved:
after trying sql method and restart it was showing missed calls, could enable data connection and unlock it with my googlemail account.
Click to expand...
Click to collapse
Glad you got round it, I didn't mention anything adb wise as I though you said debugging was turned of, at least you've learned something. And being able to edit the data.ext4 on a desktop has it's benefits.
Marvlesz said:
I'm glad that you could solve it and unlock your phone, but I am curious, why it didn't let you unlock using Gmail without data.
Sometimes, I unlock the phone using gmail and pass EVEN with airplane mode on and no WiFi. Isn't it supposed to check with your already registered gmail account? thus no need for an internet connection?
Anywa, enjoy your phone.
Click to expand...
Click to collapse
Yes Marvlesz, was also strange to me. Tried the same with my ICS Pad without any connection while I read somewhere that even wifi should not work only when the device is connected to USB!? Maybe it depends on the version? My phone was on ICS 4.0.3 (IceCreamTosti_v0.10_AOKP_M4) with Tyatung Kernel 2.6.32.
Now after all my installation got broke but I can access my stuff, finally save it and reinstall newer version while I have a good reason now to do that
HypoTurtle said:
Glad you got round it, I didn't mention anything adb wise as I though you said debugging was turned of, at least you've learned something. And being able to edit the data.ext4 on a desktop has it's benefits.
Click to expand...
Click to collapse
Yes HypoTurtle, debugging was off and I did´nt use adb. With your kind help I mounted data.ext4 and changed settings.db in linux.

[MOD] Disable Mobile Data On First Boot

What's this?
As the title mentioned above, It disables your mobile data right after flashing a rom through recovery so that your money won't be deducted after boot
Personal Information
For me, I use it because I use a prepaid card and every time the mobile data is enabled after boot. It deducts some amount of money from my prepaid causing me to lose money every time I flash a new rom.
What is modified?
apns_conf.xml which can be found in system/ etc
How to flash?
1. Flash any custom rom that you would like to use through recovery
2. When it's done, go to mounts & storage and mount /system
3. Flash MobileDataOff.zip from attachments below
3. Reboot system and enjoy a safer way to flash roms
If you have any questions or requests, please feel free to comment below and make sure to hit thanka if this works for you. :good:
And your really think only the empty file is the solution?
<apns version="6">
</apns>
Just look into this thread. In the script the original conf is restored after the initial copy of the empty file.
And there is a hint that pressing the end call button might help instead (didn't try because I do not need it).
Be fast while setting up your phone and disable the mobile network before it even establish a connection
Sent from my GT-N7000 using Tapatalk 4 Beta
abhinav quietly brilliant said:
Be fast while setting up your phone and disable the mobile network before it even establish a connection
Sent from my GT-N7000 using Tapatalk 4 Beta
Click to expand...
Click to collapse
Been there done that. Sometimes some roms have setup wizards which takes quite a while to load. And sometimes for what reason my prepaid decreases from a 2 to a 1 digit number. That's why I decided to do this mod.
ThaiDai said:
And your really think only the empty file is the solution?
<apns version="6">
</apns>
Just look into this thread. In the script the original conf is restored after the initial copy of the empty file.
And there is a hint that pressing the end call button might help instead (didn't try because I do not need it).
Click to expand...
Click to collapse
yup the reason I made this into a flashable zip is because some people [like me] don't know how to run scripts or adb.
Okay going to update this to include credits and a restore file so that it does the same function as the script
ThaiDai said:
And your really think only the empty file is the solution?
<apns version="6">
</apns>
Just look into this thread. In the script the original conf is restored after the initial copy of the empty file.
And there is a hint that pressing the end call button might help instead (didn't try because I do not need it).
Click to expand...
Click to collapse
Does this work?
How about removing the sim before flashing...
Sent from my GT-N7000 using XDA Premium 4 mobile app
well, nice.
i usually insert a spare sim with zero balance (i knw we all hv spare sim cards). this way i setup everything reatore titanium backup, contacts etc. n finally i change my sim to the one which i normally use..
ummm hmmmm??
and NO.. few ROMs out there want sim to be insrted so this might do the trick to fool Newly flashed ROM..
Sent from my GT-N7000 using xda app-developers app

[TOOL] Backup TA for Mac OS X [v1.4][2015-05-13]

Backup TA for Sony Xperia™ (Mac OS X version)
With this app you can backup and restore the TA partition of your device.
This can be useful, for example, when you want to unlock your bootloader and not lose your DRM keys and most importantly, your warranty. Before unlocking your bootloader, backup your TA with this app and you will be able to restore it to a factory state (locked bootloader, DRM keys intact, etc).
The app is based on TA Backup v9.10 by DevShaft (thanks !), which can be found here.
View attachment 2573685
Downloads
Frequently asked questions
Source code
Issues​
Thanks a lot for bringing this to Mac OS X and make it open source as well! Will have a look at the source and your work at a later time.
Stuck on requesting root on the first try, successful in the second time.
stanley321 said:
Stuck on requesting root on the first try, successful in the second time.
Click to expand...
Click to collapse
Did SuperSU ask you to grant permissions to "shell" when it hanged ?
limiter121 said:
Did SuperSU ask you to grant permissions to "shell" when it hanged ?
Click to expand...
Click to collapse
I have granted SU permission to shell, so it won't prompt anyway.
The app is then not responding and I have to force close it.
stanley321 said:
I have granted SU permission to shell, so it won't prompt anyway.
The app is then not responding and I have to force close it.
Click to expand...
Click to collapse
Yeah, the app will appear to hang but it actually waits for adb to work it's magic.
Is there any chance you could send me a copy of the system log ?
To do so, open the Console app, enter "Backup TA" in the search field in the top right corner (to filter the logs) and make sure that "All Messages" is selected in the Log list (sidebar) on the left side of the window. At this point there should be lots of messages from Backup TA shown. You can now go to File -> Save a copy as... and send that file to me so I can look at what went wrong.
Thanks :fingers-crossed: !
limiter121 said:
Yeah, the app will appear to hang but it actually waits for adb to work it's magic.
Is there any chance you could send me a copy of the system log ?
To do so, open the Console app, enter "Backup TA" in the search field in the top right corner (to filter the logs) and make sure that "All Messages" is selected in the Log list (sidebar) on the left side of the window. At this point there should be lots of messages from Backup TA shown. You can now go to File -> Save a copy as... and send that file to me so I can look at what went wrong.
Thanks :fingers-crossed: !
Click to expand...
Click to collapse
Tried but nothing show up after the search!?
So I think it is just a case that I'm too hurry to check the app and closed it earlier than I should while it is working.
stanley321 said:
Tried but nothing show up after the search!?
So I think it is just a case that I'm too hurry to check the app and closed it earlier than I should while it is working.
Click to expand...
Click to collapse
Try selecting system.log in the sidebar and then search for Backup TA, it should work.
Anyway, I'll implement a better way to get logs from the app soon
limiter121 said:
Try selecting system.log in the sidebar and then search for Backup TA, it should work.
Anyway, I'll implement a better way to get logs from the app soon
Click to expand...
Click to collapse
I find it but can't get it up here...
We are sorry, your post was flagged by our system and was blocked from submitting. If you believe this was in error, please contact an admin to report this.
Looking at it, I think I just closed it too early. Nothing wrong with your part!
stanley321 said:
I find it but can't get it up here...
We are sorry, your post was flagged by our system and was blocked from submitting. If you believe this was in error, please contact an admin to report this.
Looking at it, I think I just closed it too early. Nothing wrong with your part!
Click to expand...
Click to collapse
Too bad about the log, but thanks a lot for testing and helping
limiter121 said:
Too bad about the log, but thanks a lot for testing and helping
Click to expand...
Click to collapse
Checking the timestamp, maybe you should add a message to ask the user to wait for at least a minute to prevent nervous users like me from closing it too early.
Sorry for being new to this TA thing, I don't know how long I should expect.
stanley321 said:
Checking the timestamp, maybe you should add a message to ask the user to wait for at least a minute to prevent nervous users like me from closing it too early.
Sorry for being new to this TA thing, I don't know how long I should expect.
Click to expand...
Click to collapse
No problem, will add it in the next version
Thanks for bringing this in a simple form to MacOS
Already backup up, but did another backup and did the test; all seemed well.
New version 1.1 (2) available !
Download it here.
Changelog :
Added better log handling. You can now see the log files using Help -> Open logs folder
UI does not lock (beachball) anymore during lengthy backup/restore operations
limiter121 said:
New version 1.1 (2) available !
Download it here.
Changelog :
Added better log handling. You can now see the log files using Help -> Open logs folder
UI does not lock (beachball) anymore during lengthy backup/restore operations
Click to expand...
Click to collapse
make it for linux please :angel:
thanks
imen27 said:
make it for linux please :angel:
thanks
Click to expand...
Click to collapse
I will take a look, but don't get your hopes up
limiter121 said:
I will take a look, but don't get your hopes up
Click to expand...
Click to collapse
sounds great,many thanks
New version available
New version 1.1.1 (3) available !
Download it here.
Changelog:
Enabled verbose logging (for tracking down issues)
Big update
New version 1.2 (4) available !
Download it here.
Changelog:
Added auto-update support
Improved reliability (by using bundled BusyBox commands)
Bug fixes
limiter121 said:
New version 1.2 (4) available !
Download it here.
Changelog:
Added auto-update support
Improved reliability (by using bundled BusyBox commands)
Bug fixes
Click to expand...
Click to collapse
Thanks, mate. I think it worked. Just one question: is it normal that a 2MB TA partition gets zipped into few KB? Something like 77KB. Are those sizes (for both TA partition and zip file) normal?

[BackupTool] SM-G900P Backup Utility

Hi guys,
I created this tool so you can backup the partitions for the Sprint Galaxy S5.
This is IMPORTANT because the tools available at the moment don't backup your data properly. Trust me you don't want to corrupt your modem and then don't have a backup to restore it as they are easily corrupted when you play with network locks.
Password: ifyourhappydonate
Enjoy
Reserved
What format does this backup to and how to restore?
Sent from my SM-G900P using XDA Free mobile app
This backup to bin format.This means it's a copy of the bytes of the partitions in your phone. I did not create a restore function yet but can be added on the next version as well as support to more devices.
Only G900P ?
Yes at the moment this is the only supported phone.
josuelopezv said:
Yes at the moment this is the only supported phone.
Click to expand...
Click to collapse
Is this an automated dd process? I looked at it quickly and it appears that it is. Just curious.
josuelopezv said:
This backup to bin format.This means it's a copy of the bytes of the partitions in your phone. I did not create a restore function yet but can be added on the next version as well as support to more devices.
Click to expand...
Click to collapse
And where does it store said backups? I clicked on the backup button before i had even connected the phone and it said it backed up everything, then after connecting the phone, it did the same exact thing, yet no files found anywhere.
Thanks!
anderd said:
And where does it store said backups? I clicked on the backup button before i had even connected the phone and it said it backed up everything, then after connecting the phone, it did the same exact thing, yet no files found anywhere.
Thanks!
Click to expand...
Click to collapse
This tool is an quick tool that I created that is an automated process that uses adb to connect to the phone and create a backup and save them to the PC. This is because the available tools did not backup the correct information or are partial backups that are useless. I didn't add a verification for to see if the phone is connected but can be added later on. The files are stored in the same folder as the exe.
Requirements: Usb Debugging enabled only.
josuelopezv said:
This tool is an quick tool that I created that is an automated process that uses adb to connect to the phone and create a backup and save them to the PC. This is because the available tools did not backup the correct information or are partial backups that are useless. I didn't add a verification for to see if the phone is connected but can be added later on. The files are stored in the same folder as the exe.
Requirements: Usb Debugging enabled only.
Click to expand...
Click to collapse
Well thats odd because i have USB Debugging enabled and i dont find any files other than the ones i un-rar'd to the folder. I'll try again in the morning when im not half asleep. Thanks for the reply!
anderd said:
Well thats odd because i have USB Debugging enabled and i dont find any files other than the ones i un-rar'd to the folder. I'll try again in the morning when im not half asleep. Thanks for the reply!
Click to expand...
Click to collapse
Still same results, i see commands being processed by the phone but they're all remove commands for the BIN's its supposed to have created, from the sdcard partition. Yet i still dont find these files in the STool folder or anywhere on my phone. That and it seems to backup/dump everything so quickly its hard to believe its writing to anything unless these partitions are SUPER small. Wonder if i need to flash back to a stock rom and try from there since i recently flashed over to RDDT fo play with the WiFi calling feature. I'll flash back to stock and see if that makes a difference.
Thanks again for your work on this!
Hey
Same thing on my side, I read it but cant seem to find the file and Im on stock....???
I guys sorry for the confusion it appears that any way this is not the way to backup the data specially for the modem.
Samsung really lock this thing down and encrypted the partitions for nv ram and isolated them through hardware encrypted communicators.
i have found how to access those files i will let you know as soon as it is ready.

multi tasking

after last patch update my phone performance is reduce
if open 2-3 app when shift between it app open from new
but before this i can open 7-8 app without opening new
i am trader an need opening it always
please help me i format and hard reset but isnot work good
Have you tried debloating?
KelvinCrag said:
Have you tried debloating?
Click to expand...
Click to collapse
i dont know what is it
is this need for my phone to do?
(Author's Note - I tried adding apps to debloat from the Chinese ROM, yet they come back into the system after debloating and a subsequent reboot. Hence, There is no way to remove these apps other than rooting. Please do not try using the Global ROM's script on Chinese devices, you could potentially brick your phone and your only option to recover will be factory resetting.) this note in your link.but my phone isnot chines rom
amir58hz said:
i dont know what is it
is this need for my phone to do?
(Author's Note - I tried adding apps to debloat from the Chinese ROM, yet they come back into the system after debloating and a subsequent reboot. Hence, There is no way to remove these apps other than rooting. Please do not try using the Global ROM's script on Chinese devices, you could potentially brick your phone and your only option to recover will be factory resetting.) this note in your link.but my phone isnot chines rom
Click to expand...
Click to collapse
Goto settings>apps>view system apps
You will notice lots of evenwell apps present which are also responsible for your issue. I recommend you run the script as soon as possible
KelvinCrag said:
Goto settings>apps>view system apps
You will notice lots of evenwell apps present which are also responsible for your issue. I recommend you run the script as soon as possible
Click to expand...
Click to collapse
I see this link but i cannot do it
I cannot run it in ppc.i download and connect my phone but instructions of it is so hard
I want to do it but i stoped at this level
(Double click "batch-script" and run
I see your link and download it but i cannot run it.
I stoped this level Double click "batch-script" and run)
amir58hz said:
I see your link and download it but i cannot run it.
I stoped this level Double click "batch-script" and run)
Click to expand...
Click to collapse
Have you installed adb?
If you have not installed adb, visit https://developer.android.com/studio/releases/platform-tools
While if you have, copy the script to c:/adb/platform-tools
And ensure the script ends with .bat in filename, if not rename the file to before double-clicking to run debloating.
KelvinCrag said:
If you have not installed adb, visit https://developer.android.com/studio/releases/platform-tools
While if you have, copy the script to c:/adb/platform-tools
And ensure the script ends with .bat in filename, if not rename the file to before double-clicking to run debloating.
Click to expand...
Click to collapse
thanks
i can did it now my phone problem is fix?
Thank you
I do it
I do this but have problem
When shifting between app they loading from beginning
What is problem.is need to flash?

Categories

Resources