[REQUEST] Password Protect Recovery - Hero CDMA Q&A, Help & Troubleshooting

Is there a way to password protect recovery mode? This is in order to prevent circumvention of lockscreen protection should I lose my phone.
Optimally, I would like to also password protect ADB access (and possibly the superuser application), but the recovery mode is a good start.
Thanks!

whiteonline said:
Is there a way to password protect recovery mode? This is in order to prevent circumvention of lockscreen protection should I lose my phone.
Optimally, I would like to also password protect ADB access (and possibly the superuser application), but the recovery mode is a good start.
Thanks!
Click to expand...
Click to collapse
most people do not know about revovary mod so this is not really an issue and the only security flaw is that it allows usb mASS STORAGE but all some one would have to do is pull ur sd card but there is no direct way to acess ur data from recovery you can just flash roms and wipe the data from the phone no user information is displayed exept if it is pulleed from a nandroid backup but if someone can do that they can get it from other ways and abd requires running the android sdk which again not many people can do and i am not sure if you can pull personal data that way or not and superuser is only used by aplications so your good on that front

you may want to check out this article
http://www.makeuseof.com/tag/2-easy-ways-recover-lost-stolen-android-phone/

nfinitefx45 said:
you may want to check out this article
http://www.makeuseof.com/tag/2-easy-ways-recover-lost-stolen-android-phone/
Click to expand...
Click to collapse
Thanks for the link.
I already have Mobile Defense installed.
As this is my business phone, my concern is security circumvention and access to proprietary information via debug on the USB or some hack through flashing.
Does it screw anything up to turn off USB debug (after all needed apps have been white-listed by the superuser app).

no it should be fine to disable usb debuging, just remember that if your syncing you'll have to enable it then.

Moved as not Android Dev.

titianum backup needs usb debugging as well as pdanet

Related

[Q] Android Data Recovery no access to phone memory/SD

hi there,
after unlocking the phone I missed to see that all data would be lost. Obviously the ROM was set back to factory.
Two applications I found to recover the data:
1. 7-Data Android Recovery (can't even find the phone)
2. Android Data Recovery (finds the phone, phone tells me that superuser rights are granted everything ok, but then: "unable to get device storage information")
I would love to recover some data like photos, applications or contacts, before flashing another ROM.
ADB Drivers, fastboot etc is installed. Motorola Device Manager is installed. All Drivers have been successfully placed.
The Phone work works properly when plugged to PC and also USB Debugging is enabled.
Why do my data recovery programs don't access the phone?
TeamWin Recovery 2.7 has been installed, furnice Kernel 1.1.2 as well as SuperSU 2.4. has been installed.
maybe those are impedient`?
nordcupp_motoG said:
I would love to recover some data like photos, applications or contacts, before flashing another ROM.
Click to expand...
Click to collapse
Unlocking the phone will perform a factory reset. That means, everything that does not reside in your external sdcard is permanently lost.
If your device is properly set up with a google account, all your contacts, bookmarks,emails etc. will be restored. That means that everything you can access with your browser, like email, Chrome-bookmarks, are in sync with your device. If you allow google to backup your settings it will also try to restore your apps, but this is, and was, very unreliable.
If you must, you can manually backup your contacts with Contacts Backup Ultimate.
As for applications, nothing beats Titanium Backup. Ugly as hell but the most powerfull backup solution there is.
And last but not least, copy your photos, music, movies etc to your external sdcard.
All this has of course to be done before whiping your device.
P.S. Please update your recovery to the latest TWRP.
external sd may follow soon.
team win recovery that version is offically compatible to moto G14
so I chose that one.
thanks for the tipp. should have seen that earlier.
darryer said:
Titanium Backup is a good tool for Android. Or you can use Tenorshare This is a pro tool for Android data, it can recover all lost data like contacts, sms, call history, photos etc, even you have no backup.
Click to expand...
Click to collapse
I did use that tool as well as 7-Data Recovery and another one. None of them capable to access the phone.
Tenoshore told me after connecting the phone to the app and choosing what data to save, that the storage information is not accessible.
No clue as to how that happens.
nordcupp_motoG said:
No clue as to how that happens.
Click to expand...
Click to collapse
If you connect your device with usb-debugging enabled in the developer options, does a dialog pop up, presenting a RSA fingerprint, asking to allow usb-debugging? Allowing this is imperative.
that was done properly... the application does ask for this before you can chose what to save.
nordcupp_motoG said:
that was done properly... the application does ask for this before you can chose what to save.
Click to expand...
Click to collapse
What is the output of "adb devices" after you connect your device?
C:\adb>adb devices
adb server is out of date. killing...
* daemon started successfully *
List of devices attached
ZX1D22HLNC unauthorized
C:\adb>
but usb tunnel is working right now...
usb debugging is enabled...
adb should be up to date...
mmmh every try delivers different ansers:
second time said: devices attached.
third time said: daemon failed to start
and adb server didnt ack
ok, there is a well known issue with some devices and adb
there is an adb fix for it, but I couldn't get it to work so far.
nordcupp_motoG said:
C:\adb>adb devices
adb server is out of date. killing...
* daemon started successfully *
List of devices attached
ZX1D22HLNC unauthorized
Click to expand...
Click to collapse
Maybe this helps
http://stackoverflow.com/questions/18011685/cant-connect-nexus-4-to-adb-unauthorized
thank you.
I installed the Android SDK Studio and used the ADB from there.
ADB now works properly.
USB Tunnel sucks hard still though.
The connection shows up to be established and skype and whats app do work,
but playstore and chrome refuse to work also no regular app can reach the net
like wikidroyd & co...
nordcupp_motoG said:
playstore and chrome refuse to work also no regular app can reach the net
Click to expand...
Click to collapse
Maybe manually change dns in wifi settings will help.
manually change it where?
I don't see any menu for this in usb tunnel...
guess I gonna get a USB wifi next week.
nordcupp_motoG said:
manually change it where?
I don't see any menu for this in usb tunnel...
guess I gonna get a USB wifi next week.
Click to expand...
Click to collapse
Not on the mobile, on your pc. Change it to e.g. 8.8.8.8

Blocked device

Hi
it's possible to download data from Z1 if device is blocked (user password, not pin).?
Thanks
Greetings
I can think of two ways...
Adb interface on PC using adb pull whilst in recovery or booted into system, if you previously enabled adb debugging before.
Backup data partition in recovery like TWRP, then wipe everything and restore it, I guess it might work.
Other than that, you can probably google or search around for more options.

Stuck on lockscreen without ability to type in password

Samsung Galaxy S10
Android 10
TWRP
Rooted with Magisk
I just put my phone in ultra power saving mode, but unfortunately i cant unlock the lockscreen because i disabled samsung keyboard and now there is no keyboard where i can type in my password, and since i am in power saving mode it also disabled my other keyboards
So i tried removing the screenlock by deleting the locksetting files in /data/sys/, but since my phone is encrypted i can only see nonsensical filenames, so i dont know which files to delete
Can i safely delete every file there ?
I dont want to factory reset my device because i have a lot of important data on it
I already tried to remove the lock using https://findmymobile.samsung.com/, but it says that that function is disabled on my phone
I have no physical keyboard that i can plugin in into my phone
Remove /Bypass Lockscreen With Recovery
Recently when i restored my data using TWRP i faced a problem at lock screen. I was not able to unlock my phone with the pin i set Earlier..So after so many attempts i was able to find a solution for that problem.(works with pattern,pin etc)...
forum.xda-developers.com
Can i safely delete the other files too ?
Because i dont know which encrypted filenames correlate to the files that i have to delete
EDIT: Thanks, i solved it by connecting a USB Keyboard to my phone using an USB-OTG connector included in the package of my Galaxy S10
If the device supports OTG, you can try connecting a full size PC USB keyboard via OTG.
I went through similar situation when I changed screen render resolution to less than half, then accidentally locked the phone, the keyboard and Screen-Guard were rendered at low resolution, and lock screen was not interactable.
The only way to restore that without prior arrangements was to flash stock Samsung ROM, via PC, with carefully choosing options to not format internal storage and data partitions.
If you have custom recovery, you could enable insecure USB debugging options in build.prop that always allows USB debugging via ADB, then re-install Samsung keyboard, or find some other solution with ADB.
If you have custom/twrp recovery, I'd say connect to PC in recovery mode and copy to PC all important files from /sdcard just in case.
Old Android versions like Android-5 had build.prop files where you could force USB debugging for development uses, that would Allow ADB even the device was locked.
I am not aware if newer Android versions allow that.
Once you get to TWRP, you need to use
Bash:
vi /system/build.prop
Or just
Bash:
echo "text-lines" >> /system/build.prop
To the build.prop file
in command line and enable debugging mode.
The build.prop lines :
Forced USB debugging
Harshiv989 said:
Old Android versions like Android-5 had build.prop files where you could force USB debugging for development uses, that would Allow ADB even the device was locked.
I am not aware if newer Android versions allow that.
Once you get to TWRP, you need to use
Bash:
vi /system/build.prop
Or just
Bash:
echo "text-lines" >> /system/build.prop
To the build.prop file
in command line and enable debugging mode.
Click to expand...
Click to collapse
I cant access /system/ from twrp, it just says that there is not such folder despite it being there, but i think that i have enabled debugging anyways and i already made a backup, which is somehow useless because of the encryption
Harshiv989 said:
If the device supports OTG, you can try connecting a full size PC USB keyboard via OTG.
Click to expand...
Click to collapse
I read in several other threads that in ultra-power-saving mode, android only allows USB devices to charge the phone, and i have no keyboard that i can plug in anyways, i cant buy one because everything is locked down (COVID)
The only way to restore that without prior arrangements was to flash stock Samsung ROM, via PC, with carefully choosing options to not format internal storage and data partitions.
Click to expand...
Click to collapse
As far as i know i cant just flash stock firmware without having to wipe my data
If you have custom recovery, you could enable insecure USB debugging options in build.prop that always allows USB debugging via ADB, then re-install Samsung keyboard, or find some other solution with ADB.
Click to expand...
Click to collapse
How could i reinstall samsung keyboard ? I have no access to the pm command in the twrp shell, and the files are encrypted anyways
Another related thing: https://forum.xda-developers.com/t/...-galaxy-s10-e-5g-exynos.4180287/post-84456927
I see that with combination of FBE, UPSM and disabled Samsung keyboard, you have put yourself in far more idiotically constrained situation than I had, as well as what Samsung devs imagined was possible.
With encrypted file system, you wouldn't even be able to flash an update.zip that includes a build.prop (from your stock ROM)with forced ADB enable-ment lines from recovery I guess. ( this is different than doing it from developer options, allows adb access without unlocking device )
I would still suggest you to charge your phone 100% and attempt a HW external keyboard method,
I am willing to bet Samsung was not stupid enough to block USB I/O devices at kernel level in UPSM.
You don't necessarily need to buy a new keyboard, just find one that connects to PCs via USB, wire or wireless dongle, either should work (no RGB/W backlights in keyboard if wired, we want a low powered keyboard, smaller if possible), from any other computer geek you know, and an OTG connector.
I have always been able to flash the stock ROM that only rewrites /system partition, and leave /data mostly untouched, have done it numerous times with odin, with new devices, you should be able to do that.
The device encryption is a hurdle which severely limits your options.
Also, my UPSM allows both wifi, and Bluetooth, if you had either of them ON, you could use a Bluetooth keyboard or debugging via wifi, if Bluetooth keyboard was previously paired(it auto connects), or wifi debug feature was set up already , ADB access might be possible, though wifi ADB is more secure, unlikely to work in locked screen guard state.
funny the most command and most upvoted answer for this issue on the internet for the average joe (not xda) is to reset the mobile.. disgusting reallly.. i also cannot imagine do the massive reconfiguration for this trivial issue. just had the gboard disappear and took a really short time to plug PC keyboard and an adapter i always have with me.
plug and play to the rescue...

Date recovery no root advice?

I read many posts and articles the past few hours and realized a few things, would you correct me if they are wrong please.
My phone:
Pixel 4XL, adb reboot recovery gives "no command" it would seem it might have been rooted at some point before I bought it, but now the bootloader is locked and no custom recovery is on it.
Can I not recover data without root?
Saw few articles mention `adb pull' and `dd` to copy block device, which I can't do with no root.
Is it possible to just install busybox with adb and be able to copy block device?
As per this article https://www.andreafortuna.org/2018/...imaging-android-file-system-using-adb-and-dd/
I might have to wait a bit for TWRP as I did upgrade to Android 11 and it seems it is only supports Android 10 at the moment.
In order to put TWRP on my phone I probably need to unlock the bootloader and would that mean lose all user data? Then I really have no hopes of recovering the audio file I'm looking for as then I couldn't decrypt it?
I know the file's mount point and can figure out which block device it was on, but wouldn't the encryption get lost if android was wiped?
Is there a way to get TWRP without factory restore phone, or busybox or something that will help get block devices out.
Someone mentioned that these dm block devices are decrypted, are they? I will attach a screen shot with list of my block devs.
Thanks for any help or pointer, I can't be destroying this phone as I have money on it and other stuff needed for traveling, so I don't even feel like trying to install busybox to see if adb pull would work, and others mentioned if trying to get block dev off the phone while partition is mounted might lose some data, so they advised using TWRP while partition is unmounted and then copy it's image.
I also found this but I would need root, he mentions 'temporary root' is that even a thing?
Extract Android Userdata Partition for Recovery and Forensics - Root101 | Fundamentals of Linux Administration
Open Source and Linux. Guides and Ideas for Designing Highly Available and Scalable Production Environments
www.root101.net
@GogoAkira - Your long, rambling post is very confusing, and you do not clearly state what it is you are trying to do or the current state of your phone. I want to start by saying that if you have not done so already, you need to be on the very latest version of the adb/fastboot binaries. If the phone is working fine and you can access all your files, there are some non-root ways to back up almost all of your data, but you're NOT going to get anything near a nandroid backup. If your phone is working fine on 11 (why would you not be on 12?) you can also enable usb debugging from within the developer options menu and then use it from the RECOVERY mode. You cannot use adb from your PC without first enabling adb debugging. I say this because you claim "adb reboot recovery" won't work. Of course it won't work. You cannot access adb in the FASTBOOT mode. Probably the first thing you need to confirm is that you have enabled USB DEBUGGING and whether or not your ALLOW OEM UNLOCKING toggle can be set to yes. Whether or not you can do this will tell us alot. If it is greyed out in the off position your bootloader is a) currently locked, and b) probably will not be able to be unlocked. Knowing that, then clearly state what it is you are trying to accomplish and people will try to help.

Root to recover wifi passwords

Hello:
I've had my Moto X4 in service for over 4 years now...long past due for an upgrade. I've finally gone and done it, and have transferred my active service to my new phone.
I was using Google's backup service, which supposedly will sync wifi passwords over, but it did not work (not surprised). My research indicates I need to root my phone to gain access to /etc/wpa_supplicant.conf (a file I'm familiar with on linux).
So, now that I'm not using this phone anymore, all I am trying to do is get the last vestiges of data off of it before it gets wiped and possibly pressed into "retirement service" (eg, wifi smart device interface, child's play phone, etc).
I found many guides to rooting the X4, but they all say you will loose all your data first...That is counter-productive in this case, as the only reason I am rooting is to get a good backup.
Is there a solution to my issue (currently non-rooted, need to retrieve my very long list of saved wifi passwords accumulated over 4 years as an IT tech at hundreds of businesses.....)?
Thanks!
--Jim
If you go to your saved networks, you can click on any Wifi/SSID name and then press the "Share" button (usually with a QR Code icon). Next, take a screenshot of this code. By using a simple QR Code scanner to scan these QR Codes, the details of the codes will be converted to text. From there, you can clearly see the SSID and password of the network.
You can either painstakingly extract these details (for say, if you need them on a PC etc.), or click on the QR Code icon next to the add network button (recommended), and then scan these images on your other phone, adding them to its list of saved networks.
Note: This feature isn't in every phone, and I believe it's only in android 9/10+ (cannot confirm though)
Yep, not available on this phone (moto X4), unfortunately. I've been missing this repeatedly
This is Android version 9, Google Fi version. Is there somewhere I need to go to turn this on?
I think it comes as a built-in feature. It's included in AOSP android 10+ (confirmed), but some manufacturers, cough cough oneplus cough cough, choose not to add it.
Unfortunately, all other methods of recovery (including apps) seem to require root.
You could try to use the adb pull command to extract the file your looking for from your phone and paste in onto your pc, but I don't have enough knowledge regarding it to guide you on that. It doesn't require root though.
Before you try the adb pull option (as its a bit lengthy and could be difficult for some), try to root your phone using KingoRoot (not to be confused with KingRoot). Try its one-click root app first. It may fail multiple times, but after a couple of tries it should work. If it does work, it won't wipe your data, which is why I'm recommending it.
Unfortunately, Kingoroot apk fails at 90% each time, with error code 0x11DD99. It recommends me try the pc app, which it appears all downloads for it are down/broke, so I haven't been able to get it.
Any more suggestions?
adb pull?
you'll need to look up how it works and its syntax, but it should be able to copy files from your phone onto your pc.
you can also copy files from your pc onto your phone using adb push
i cant really guide you on this as ive only done it once, and that was a really long time ago
To get access to root data, you need root access...
I guess you can root your stock rom without erasing data.
Boot to twrp
Sideload magisk
Finway said:
To get access to root data, you need root access...
I guess you can root your stock rom without erasing data.
Boot to twrp
Sideload magisk
Click to expand...
Click to collapse
He can't get into TWRP without unlocking though..?
Finway said:
To get access to root data, you need root access...
I guess you can root your stock rom without erasing data.
Boot to twrp
Sideload magisk
Click to expand...
Click to collapse
PhotonIce said:
He can't get into TWRP without unlocking though..?
Click to expand...
Click to collapse
Otherwise, he could've used the twrp file manager to get the data, even without root.
Apparently it can be done via DroidKit, don't know if that's free though..
https://www.imobie.com/android-recovery/restore-saved-wifi-passwords-on-google.htm

Categories

Resources