Question Protect the recovery with a password [TWRP / OrangeFox] - disavle or protect the factory reset - Xiaomi 12T Pro / Redmi K50 Ultra

Good morning,
I allow myself to write this message because I have several questions, after having rooted my phone.
1) I would like to know how to protect the recovery with a password. Currently I have TWRP but I couldn't find anywhere how to put a password.
I heard about OrangeFox but I couldn't find any version compatible with the Xiaomi 12T Pro.
2) I would like to know how to disable or password protect the factory reset of the phone or how to have a personalized factory reset.
3) I heard about "EliteROM", what does it add to the phone?
Thanks in advance for your feedback.

Just put a pin code on the lock screen (for example).
TWRP.
Elite Rom

NOSS8 said:
Just put a pin code on the lock screen (for example).
TWRP.
Elite Rom
Click to expand...
Click to collapse
Thank you for your feedback, how to do this? How to put a pin code on the lock screen of TWRP, I did not succeed.

Not on the TWRP but on the phone's lock screen (this will encrypt your data and you will be asked for the code on the TWRP).
Settings/passwords and security
Use the latest version of TWRP.

NOSS8 said:
Not on the TWRP but on the phone's lock screen (this will encrypt your data and you will be asked for the code on the TWRP).
Settings/passwords and security
Use the latest version of TWRP.
Click to expand...
Click to collapse
Ok but I want to have a different code than the phone itself.

Otherwise how to have a factory reset with a custom configuration and applications already installed?

Lukyboy18 said:
Otherwise how to have a factory reset with a custom configuration and applications already installed?
Click to expand...
Click to collapse
Ok but I want to have a different code than the phone itself.
not possible To be checked?
Factory reset will erase your data and configuration, make a backup with Micloud.

NOSS8 said:
Ok but I want to have a different code than the phone itself.
not possible
Factory reset will erase your data and configuration, make a backup with Micloud.
Click to expand...
Click to collapse
It's not possible to create some sort of custom ROM that would become the new factory format with a set configuration?

Lukyboy18 said:
It's not possible to create some sort of custom ROM that would become the new factory format with a set configuration?
Click to expand...
Click to collapse
There is backup with TWRP but not 100% guaranteed.

1) there is no point in protecting recovery with password.
2) not possible to prevent factory reset. everyone with physical access can flash anything.

alecxs said:
1) there is no point in protecting recovery with password.
2) not possible to prevent factory reset. everyone with physical access can flash anything.
Click to expand...
Click to collapse
Ok it's just a matter of security so you can't do a factory reset without a pc. So there is no solution?

Lukyboy18 said:
Ok it's just a matter of security so you can't do a factory reset without a pc. So there is no solution?
Click to expand...
Click to collapse
Nope,do a search in the settings, there is.

Lukyboy18 said:
1) I would like to know how to protect the recovery with a password. Currently I have TWRP but I couldn't find anywhere how to put a password.
Click to expand...
Click to collapse
Why doesn't TWRP have password protection?
I’ve had people ask enough for a protected TWRP that I’m creating this page as a response so I don’t have to retype. If you’re seeing this page, you’re proba...
twrp.me
In short: It doesn't make sense because TWRP can be substituted by another custom recovery without a password protection. And then your protection is deactivated.

for privacy security consider encryption

Some Samsung phones won't start recovery until an USB connection is established. This can be a cable connection to a desktop PC, notebook, TV etc. or some certain usb devices. But it's unique for Samsung devices. Any other Android device only needs the key combo to boot into recovery.

Related

Cannot decrypt encrypted partition when using TWRP or CWM

I unlocked and rooted my AT&T HTC One with the stock AT&T 4.3 image, installed TWRP 2.6.3.3 and rebooted into recovery. Due to restrictions from my company, I am required to have the partition encrypted. When I boot into TWRP, I enter the same password I use to decrypt the phone when I boot it from off. However, TWRP fails to accept the password and will not let me access the file system.
I have also tried using flashing the recovery to CWM 6.0.4.3 and using that only to have the same issue.
Ideally, I would like to be able to flash patches to remove both the AT&T bloatware and the 'Dial 611' check for tethering.
I have tried a few proposed solutions from XDA to the issue but still cannot get around it. If any has had success in getting around it, can you please post steps of what you did here for the sake of clarity?
Thank you!
shockidelica said:
I unlocked and rooted my AT&T HTC One with the stock AT&T 4.3 image, installed TWRP 2.6.3.3 and rebooted into recovery. Due to restrictions from my company, I am required to have the partition encrypted. When I boot into TWRP, I enter the same password I use to decrypt the phone when I boot it from off. However, TWRP fails to accept the password and will not let me access the file system.
Click to expand...
Click to collapse
I have the same issues. Did you find a solution?
I did not. I eventually wound up doing a reset of all data the phone, applied the ROM image I wanted and added things back.
i only found this one: https://github.com/TeamWin/Team-Win-Recovery-Project/issues/247
and then i changed the Password with cryptfs.
But it doesn't work for me......
I have the same issue here... =\
roux. said:
i only found this one: https://github.com/TeamWin/Team-Win-Recovery-Project/issues/247
and then i changed the Password with cryptfs.
But it doesn't work for me......
Click to expand...
Click to collapse
I was just searching for the same issue, and I stumbled upon that thread as well. Except there's now an additional post from mid-February with more details:
https://github.com/TeamWin/Team-Win-Recovery-Project/issues/247#issuecomment-34895111
Looks like HTC doesn't use the same encryption scheme as stock Android, but rather uses some specific HTC algorithm, so TWRP doesn't support it because it would be too much work to do so. Dissapointing, but also understandable. I've only just encrypted my device (in order to be able to check my Exchange email for work), and I didn't think about the TWRP no longer being able to access my data partition or the internal sdcard... Reading through some of the more recent comments, though, it's still possible future releases of TWRP (2.7+) may resolve the issue, though I just tried the most recent release (2.7.0.0) with no luck.
I have the same issue. I tried the most recent TWRP as of this writing, 2.7.1.1, and it still doesn't decrypt on my HTC One.
I've had this issue on mine as well. Simply decrypt storage within settings. Reboot in TWRP, flash patch, re-encrypt. Pain in the a$$ but it works for me.
atrixboy said:
I've had this issue on mine as well. Simply decrypt storage within settings. Reboot in TWRP, flash patch, re-encrypt. Pain in the a$$ but it works for me.
Click to expand...
Click to collapse
How do you mean "simply decrypt storage within settings" ?
ObadUl024 said:
How do you mean "simply decrypt storage within settings" ?
Click to expand...
Click to collapse
Go into settings and disable encryption within the main android OS. Reboot into recovery. Flash whatever you need. Reboot back into OS. Re enable encryption. Pain but it worked.

[Q] Encrypted Device without researching

So, I encrypted my device without fully comprehending that on the Note 3, this cannot be undone. I also didn't know that the password would be needed every time in order to unlock the phone rather than just after reboots. In any case, I don't like this and I am considering doing a factory reset in order to not have it. Does the encryption add any steps to flashing a new ROM or performing a factory reset?
abjc89 said:
So, I encrypted my device without fully comprehending that on the Note 3, this cannot be undone. I also didn't know that the password would be needed every time in order to unlock the phone rather than just after reboots. In any case, I don't like this and I am considering doing a factory reset in order to not have it. Does the encryption add any steps to flashing a new ROM or performing a factory reset?
Click to expand...
Click to collapse
If you do not have a custom recovery, you will have to do a factory reset. ( Make sure you back up your data to the pc desktop first )
if you do have custom recovery read this thread http://forum.xda-developers.com/showthread.php?t=2745622 here is a solution. For more info click below.

Want to login to my phone

I am using le max 2 indian unit and I force reset it. Now it is asking for my google account that was previously signed on my phone,but I don't remember that
Theinfinitykris said:
I am using le max 2 indian unit and I force reset it. Now it is asking for my google account that was previously signed on my phone,but I don't remember that
Click to expand...
Click to collapse
Heyyo, did you create a new Google account or have an existing one that you forgot the password on?
Or did you buy this phone used and it's asking for the previous owner's Google account?
ThE_MarD said:
Heyyo, did you create a new Google account or have an existing one that you forgot the password on?
Or did you buy this phone used and it's asking for the previous owner's Google account?
Click to expand...
Click to collapse
I have a similar question. I have my sister's Le 2 and its binded with her number (not email id) . whenever i try to factory reset it , it asks for a password. i have tried several times but every time there is server error. So should i wipe it via recovery and after it boots will it ask me to enter the binded account id and password again? additionally .. if i flash twrp and another rom will the phone still remain binded ? (will i be able to boot in other rom ? ) thank you in advance
andynoob said:
I have a similar question. I have my sister's Le 2 and its binded with her number (not email id) . whenever i try to factory reset it , it asks for a password. i have tried several times but every time there is server error. So should i wipe it via recovery and after it boots will it ask me to enter the binded account id and password again? additionally .. if i flash twrp and another rom will the phone still remain binded ? (will i be able to boot in other rom ? ) thank you in advance
Click to expand...
Click to collapse
Heyyo, hmm tbh I'm not too sure if it would or not... But the hurdle might be that you'd still need your sister's sim card or number in order to get into the phone and enable bootloader unlocking if it won't disable via fastboot.
Please try following this guide
https://forum.xda-developers.com/le-max-2/how-to/protocol-backup-stock-rom-flash-stock-t3517151
ThE_MarD said:
Heyyo, hmm tbh I'm not too sure if it would or not... But the hurdle might be that you'd still need your sister's sim card or number in order to get into the phone and enable bootloader unlocking if it won't disable via fastboot.
Please try following this guide
https://forum.xda-developers.com/le-max-2/how-to/protocol-backup-stock-rom-flash-stock-t3517151
Click to expand...
Click to collapse
I am able to use the phone with all apps and everything. I just want to factory reset it, but it wont let me unbind the account , even after entering correct password. Should i completely remove eui and flash custom rom ?
andynoob said:
I am able to use the phone with all apps and everything. I just want to factory reset it, but it wont let me unbind the account , even after entering correct password. Should i completely remove eui and flash custom rom ?
Click to expand...
Click to collapse
Heyyo, Yeah either a custom version of EUI ROM or any custom Nougat ROM. I would recommend avoiding the Oreo builds (Omni 8, AICP 13 or LineageOS 15) as they are very experimental for now with many bugs that need fixing.
I'm uncertain which custom EUI ROMs are the best as I've never tried them.
For custom Nougat ROMs? For stability and the only custom ROM with Google Certification for SafetyNet? OmniROM 7. It's built on the solid Darkobas kernel and has built in Dolby Atmos support and IR Blaster. All with selinux set as enforcing so your phone is as secure as possible. Imo it's the best custom ROM that andr68rus built for Nougat.
Otherwise? SlimRoms is another solid entry for a balance between stability and performance and it's still under active development. It does require Magisk root and for some even requires a Universal SafetyNet Fix.
There's others that try as many optimization and changes as possible over stability such as Ressurection Remix or BlackX if you want to try and have the fastest performance
So really it's up to you which one you want to try.
Thank you so much for such an detailed reply
You're welcome!
Hope you enjoy custom ROMs as much as I do
Check this out, worked for me:

Huawei p30 lite root

Hello everybody.
I have a simple Question about root on this model, is it possible to do?
And if it is possible, tell me how Please.
Best regards
Wojtek
I am looking for the same too
Me too... Looks like it is still impossible
Only paid method and who knows it will be work on my p30 lite......hmm
Hello ppl,
I know this might be a little old.. any way just for the knowledge lets bring this thread back.
I had the same concern for a while, and kind of eager to get mine rooted.. until now.
I managed to unlock mine, and root it succesfully. Latest version of magisk, safty net passed, root essentials running like a charm, I can ADB in to it and su yey!
How? main issue here is my p30 lite MAR-LX3A was already in emui10, and somehow this little sucker wont allow the unlock of the bootloader regardless. I used a unlock tool that is advised to work for this model using testpoint short. how ever it was not working for me, until I read the EMUI had to be downgraded to 9.1.
Once runnig EMUI9.1 I didnt had to re-run the tool it was already unlocked. weird.
Any how the unlocker tool I used was not the ABD/fastboot tools, it was a paid app in case you are still interested in getting it done I can tell you how. Just keep in mind you will need to Open the back cover of the device.
Think is there is no custom recovery image available that works, neither a custom ROM, so all you have is pretty much root access.
I beleive this to be a pretty decent phone so I dont want just to ditch it, I am working to get a TWRP image, if I a managed to so I will get a ROM done as well. Think the whole device has been off the track for dedicated modders and devs, so it has just not been worked on.
which me luck. I'll keep you posted
I used an unlock bootloader service for 15$. First i had to downgrade my emui from 10 to 9.
I can run magisk without problem. My only problem is that i wan't super su. I was able to flash TWRP Recovery 3.2.1.0 (HiSilicon Kirin 710). But i couldn't use it because the folder are encrypted. So if anyone has any idea how to decrypt this let me know
aka_max said:
I used an unlock bootloader service for 15$. First i had to downgrade my emui from 10 to 9.
I can run magisk without problem. My only problem is that i wan't super su. I was able to flash TWRP Recovery 3.2.1.0 (HiSilicon Kirin 710). But i couldn't use it because the folder are encrypted. So if anyone has any idea how to decrypt this let me know
Click to expand...
Click to collapse
I'm gonna look for that TWRP img, I didnt find a working one acutally. is there a specific reason why you rather use super su ?
about encryption you usually need to make sure there is no password configured, I read somewhere about a guy that had his Face recognition still configured, and that was the reason he was unable to unencrypt. there are some zips you can flash somwhere around, but never tried them
blzbh said:
I'm gonna look for that TWRP img, I didnt find a working one acutally. is there a specific reason why you rather use super su ?
about encryption you usually need to make sure there is no password configured, I read somewhere about a guy that had his Face recognition still configured, and that was the reason he was unable to unencrypt. there are some zips you can flash somwhere around, but never tried them
Click to expand...
Click to collapse
I deactivated all passwords etc. But it didn't work for me. The only reason i need supersu is because i wan't recover some deleted contacts and mails after factory reset. And those Windows applications with real deep scan not works with magisk.
aka_max said:
I deactivated all passwords etc. But it didn't work for me. The only reason i need supersu is because i wan't recover some deleted contacts and mails after factory reset. And those Windows applications with real deep scan not works with magisk.
Click to expand...
Click to collapse
why dont you try getting an image of the partition with DD, convert it and mount it in the PC directly, I beleive using the scan software directly against the phone is more complicated than just scanning a directly attached block device.
Hello
Is there any way to decrypt the Huawei P30 Lite?I haven't found anything anywhere.
i have twrp on it but the system is encrypted :-(
i have read some posts about wipe data.. use stock rom etc... But i am to lazy to test it. Let me know if it will works. Be sure to make a backup before playing around
nominator64 said:
Hello
Is there any way to decrypt the Huawei P30 Lite?I haven't found anything anywhere.
i have twrp on it but the system is encrypted :-(
Click to expand...
Click to collapse
there are a few things to try... you can go to wipe menu in TWRP then use the fix/repair option against the system encrypted partition..
-try reparing it
-try changing the partition from ext4 (check first the type usually ext4) to ext2, then change it back to what it was, ext4
last resource:
-wipe all data/factory reset ***** You WILL loose all your personal data if you do this **** just make a backup MANUALLY before doing this.. if you use TWP backup pbby your back will be encrypted too...
I manage to get mine unencrypted with this last step, took a few attempts, but had to reflash Stock so its back to encryption
Maybe we should create our own TWRP version for the p30 lite. There are many tutorials ^^
aka_max said:
Maybe we should create our own TWRP version for the p30 lite. There are many tutorials ^^
Click to expand...
Click to collapse
agreed I have been working on one that truely works, but there are a few blanks about how TWRP really works.. and its boot process. I have learned a little this past week, but still think gonna have to reverse engineer a working img to get some answers.... I was actually thinking on building a orange fox image better not sure what would be easier..
I have lots of work so I do this in my free time, but let me know if you want a help perhaps we can get something and port a nice ROM that's worth the device
.
blzbh said:
there are a few things to try... you can go to wipe menu in TWRP then use the fix/repair option against the system encrypted partition..
-try reparing it
-try changing the partition from ext4 (check first the type usually ext4) to ext2, then change it back to what it was, ext4
last resource:
-wipe all data/factory reset ***** You WILL loose all your personal data if you do this **** just make a backup MANUALLY before doing this.. if you use TWP backup pbby your back will be encrypted too...
I manage to get mine unencrypted with this last step, took a few attempts, but had to reflash Stock so its back to encryption
Click to expand...
Click to collapse
thank you for the suggestions. unfortunately does not work :-(
Please keep us posted, really excited to see a custom rom for this phone, also could you elaborate on the process of unlocking the bootloader? My back cover is already broken so I have to open it up anyways
k.r.o.o.k said:
Please keep us posted, really excited to see a custom rom for this phone, also could you elaborate on the process of unlocking the bootloader? My back cover is already broken so I have to open it up anyways
Click to expand...
Click to collapse
Sure, ive been busy but will try my best.. about the unlock process I end up paying 19 euros... But try using fastboot unlock first.. may save you the money not sure...
1. Downgrade to emui 9.1 .. just plug the p30 lite to PC, install hsuite... Go for the firmware/software update... A pop up screen will show up with some small letters buttom rigth.. older releases or revert to older firmware something like that.. you will get too choose 9.1 only ... Choose that and apply.. Keep an eye out.. this will delete everything in your phone... Next boot you will be in 9.1.. avoid the automatic upgrade.
2. Turn the phone off, take the back cover and locate the testpoints.. short by using metal wire... The small aluminium wire wraps that come with bread and other bags for easy close are usefull just remove some plastic in each side... connect the usb cable to PC.. leave the phone side unplugged.. Touch test point with the wire while the other side touches a metal cover in the phone.. while doing it plug the phone to the USB cable.. the charging animation should not appear . . . Screen must stay black.. otherwise do it again.. if done right the device manager will detect COM port for your device
Identify the point with this video
3. use either app you want to detect testpoint mode and unlock... I managed to do it with a 3 day unlimited license for HCU client.. that did the trick their website have some tutorials easy to follow.
Hi all,
I have the same problem like a few other people. I unlocked the phone with HCU, and after I tried to root with magisk (by trwp) But the main issue, the phone is encrypted and the installation proccess of the magisk by the trwp got failed. How can I root this phone? Anybode has success with this?
Thank you!
huawei p30 lite device root support please

Securing xiaomi with unlocked bootloader

Hello
I am enjoying the life with Redmi note 9 pro, unlocked bootloader and custom rom.
However, I was thinking, if someone gets physical access to the phone he could boot in fastboot or recovery and get inside, right?
So if this is possible, what do we do to protect our information? Is it possible to password protect the booting?
Not if you use encryption. That's why it's there. If you have unlocked phone they can get to bootloader abd for example reinstall whole system a basically make their stolen/found phone working, but that is not possible without full wipe, which means also your data.
Gajdalf said:
Not if you use encryption. That's why it's there. If you have unlocked phone they can get to bootloader abd for example reinstall whole system a basically make their stolen/found phone working, but that is not possible without full wipe, which means also your data.
Click to expand...
Click to collapse
Hi,
Is there a guide for how to enable encryption after unlocking the bootloader on the Note 9 Pro?
Thanks!
Gajdalf said:
Not if you use encryption. That's why it's there. If you have unlocked phone they can get to bootloader abd for example reinstall whole system a basically make their stolen/found phone working, but that is not possible without full wipe, which means also your data.
Click to expand...
Click to collapse
If that's the case then I am ok. My primary objective is the data to be secured.
And do you know why there is no option to encrypt the SD card? I am at MIUI 11 V11.0.4.0.QJZMIXM
BuzzyMind said:
Hi,
Is there a guide for how to enable encryption after unlocking the bootloader on the Note 9 Pro?
Thanks!
Click to expand...
Click to collapse
Hi. The easiest way to accomplish this is to go to settings and search for "encrypt". Activate the "Encrypt device using lock screen password".
Just remember that if you forget this password there is no way to get your data back, and also the microSD card is not encrypted.
BuzzyMind said:
Hi,
Is there a guide for how to enable encryption after unlocking the bootloader on the Note 9 Pro?
Thanks!
Click to expand...
Click to collapse
Unlocking has nothing to do with encryption. These 2 things are not connected in any way. So if you have encrypted system (which is usually by default) unlocking bootloader will not change that.
I don't know where exactly it is on MIUI system, but if you search for encryption in setting you should be able to find it (exactly like Smartie083 said).
If I remember correctly some systems were able to encrypt also sd-card (not sure tho). If your system allows it (you will need to have such option somewhere in security), keep in mind that this will render such sd-card usable only in that device, not anywhere else. So taking it out and connecting to PC will not work etc.
Also if you are interested in security of your system, you might be interested in ditching MIUI, installing clean rom without gapps and if you need G-services then using it through microG (although interesting, I consider this as valid option just for total paranoia people, or people which are running away from law).
Also avoiding root and ensuring that selinux is enabled is helpfull.

Categories

Resources