Any suggestion for app to encrypt the phone storage ? - General Questions and Answers

Hi
Any suggestions for apps to encrypt the phone storage ?
Thanks

Depending on Android version encryption ( FDE and/or FBE ) it's automatically done by Android.
You can test encryption-state via ADB
Code:
adb shell getprop ro.crypto.state
See also here:
Encryption | Android Open Source Project
source.android.com

I have Android 10 , is there an app ? I dont know how to use shell commands

To access phone's Android OS and run thereon shell commands you need
1. To search for the appropriate Android USB drivers suitable to your phone
2. Download and install them on PC

tried now
Code:
adb shell getprop ro.crypto.state
result: encrypted
it say encrypted but I dont have to select the device first ? I also tried in Honor 8x for any settings to indicate encrypting but did not find any

you can type separately. this way you will see phones shell name
Code:
adb shell
getprop ro.crypto.state
getprop ro.crypto.type
getprop ro.build.fingerprint
you can also do it without adb shell by typing commands in that terminal emulator
https://f-droid.org/repo/jackpal.androidterm_72.apk

sorry what this mean ?
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}

state = encrypted: your userdata partition is encrypted
type = file: encryption type is FBE file-based encryption. this means every file is encrypted with it's own encryption key. encryption is bonded to screen lock password
fingerprint contains device brand, model no, android version, software release build no = Huawei Honor 8x JSN-L22 on Android 10 in your case.

Related

Fix ADB Unauthorized No RSA Problem 100% Working

i have been searching but no method worked until i found this and tried on many pc's and devices, it worked like a charm, i have made a video and explained in the easy way so everyone can do it.Here is the video tutorial and below is the written guide..https://youtu.be/Uv42aVXCV-c
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
THIS COMMAND WILL FIX THE UNAUTHORIZED ISSUE WHEN YOU DONT GET RSA POP UP, SO
PUT YOUR PHONE IN TWRP AND CONNECT TO PC BEFORE EXECUTING THIS COMMAND IN CMD OR TERMINAL OTHERWISE IT WILL NOT WORK,
IF YOU CANT UNDERSTAND THE GUIDE THEN YOU CAN TAKE HELP FROM VIDEO LINK ABOVE.
This method will fix your adb unauthorized problem.
Here is the command
FIRST COMMAND
for linux
cd ~/.android && adb push adbkey.pub /data/misc/adb/adb_keys
SECOND COMMAND
adb reboot
for Windows
cd c:/users/YOURUSERNAME/.android && adb push adbkey.pub /data/misc/adb/adb_keys
CHANGE THE USERNAME WITH YOURS!!! in windows command
FOR EXAMPLE cd c:/users/waleed/.android && adb push adbkey.pub /data/misc/adb/adb_keys
STEPS WINDOWS
1- REBOOT INTO RECOVERY TWRP
2- CONNECT PHONE TO PC
3- GOTO CMD AND APPLY THIS COMMAND
STEPS LINUX
1- REBOOT INTO RECOVERY TWRP
2- CONNECT PHONE TO PC
3- GOTO TERMINAL AND APPLY COMMAND
Worked! But I suggest you remove that immodest wallpaper of unveiled woman.

Help for enabling a permission for an app !!!

I want to enable a special permission for an app using ADB Shell. My phone is non-rooted & locked bootloader & Device name: Xiaomi MI A3, Code name: laurel_sprout. Apk name: Pokemod Espresso.
I've used this code but failed:
Code:
adb shell pm grant com.pokemod.espresso android.permission.QUERY_ALL_PACKAGES
ADB Shell says this is an unknown code. I found the permission name on another third party permission checker app from Google play store. Here's the photo where I found the permission name.
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Please help me as soon as possible. Thanks in advance, May Allah bless you .
Always enquote the command that adb shell should perform
Code:
adb shell "pm grant com.pokemod.espresso android.permission.QUERY_ALL_PACKAGES"
jwoegerbauer said:
Always enquote the command that adb shell should perform
Code:
adb shell "pm grant com.pokemod.espresso android.permission.QUERY_ALL_PACKAGES"
Click to expand...
Click to collapse
Still now it says error.
Exception occurred while executing:
java.lang.IllegalArgumentException: Unknown permission: android.permission.QUERY_ALL_PACKAGES
at com.android.server.pm.permission.PermissionManagerService.grantRuntimePermission(PermissionManagerService.java:2109)
at com.android.server.pm.permission.PermissionManagerService.access$900(PermissionManagerService.java:122)
at com.android.server.pm.permission.PermissionManagerService$PermissionManagerServiceInternalImpl.grantRuntimePermission(PermissionManagerService.java:3058)
at com.android.server.pm.PackageManagerService.grantRuntimePermission(PackageManagerService.java:6075)
at com.android.server.pm.PackageManagerShellCommand.runGrantRevokePermission(PackageManagerShellCommand.java:1955)
at com.android.server.pm.PackageManagerShellCommand.onCommand(PackageManagerShellCommand.java:230)
at android.os.ShellCommand.exec(ShellCommand.java:104)
at com.android.server.pm.PackageManagerService.onShellCommand(PackageManagerService.java:22273)
at android.os.Binder.shellCommand(Binder.java:881)
at android.os.Binder.onTransact(Binder.java:765)
at android.content.pm.IPackageManager$Stub.onTransact(IPackageManager.java:4860)
at com.android.server.pm.PackageManagerService.onTransact(PackageManagerService.java:4339)
at android.os.Binder.execTransactInternal(Binder.java:1021)
at android.os.Binder.execTransact(Binder.java:994)
Do you know how to fix it ?
You were told the reason why it failed
Code:
Exception occurred while executing:
java.lang.IllegalArgumentException: Unknown permission: android.permission.QUERY_ALL_PACKAGES
THE PERMISSON YOU WANT TO GRANT DOESN'T EXIST IN THE APP.
Contact app's developer.

Questions about fastbootd

Hello everyone! I encountered an issue, that is new for me, and I want to know more information. I tried to flash a MTK device that now has Android 10 installed with Android 11 to test it out, out of curiosity. I installed the Treble App on my device and it shows me all the information about what image should I chose and how to flash it. But I saw a new detail that made me curious. It said to use fastbootd instead of fastboot, or during the flashing I would get the error that the partition does not exist. Now I get a doubt... I checked the Android page about the new installation of GSI images on Android 10 devices, but it doesn't explain that much. Should the fastbootd be activated by the manufacturer or do I hve to activated somehow? Because as it says on the Android page if I give the command in ADB " adb reboot bootloader" the device should open directly fastbootd without entering recovery, which my device doesn't do it... So what is the "mystery" about the new dynamic partitions and the fastbootd? Regards and thanks in advance!
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Code:
adb reboot bootloader
became obsolete starting with Android 10
You have to run
Code:
adb reboot fastboot
fastboot reboot fastboot
More info here:
Moving Fastboot to Userspace | Android Open Source Project
source.android.com
jwoegerbauer said:
Code:
adb reboot bootloader
became obsolete starting with Android 10
You have to run
Code:
adb reboot fastboot
fastboot reboot fastboot
More info here:
Moving Fastboot to Userspace | Android Open Source Project
source.android.com
Click to expand...
Click to collapse
Thank you very much for your reply! I'm gonna test it to see if it works!

[ANDRODI 10/11/12/13] [m01q/a01q] [UNOFFICIAL] [sdm439] [TWRP] Samsung Galaxy M01/A01

{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
TWRP 3.7.0 A12 Samsung Galaxy M01/A01
Note
Works With Android 10/11/12/13
Installation
Unlock Bootloader
Flash the .tar using Odin in AP section
Bugs
Decryption and Encryption
If you not decrypt the data. you cannot backup and restore data and you cannot use internal storage in twrp
If you decrypt the data. you can backup and restore data and you can use internal storage in twrp. but lock screen will not work in android 10 and 11. but android 12/13+ lock screen is fully working
Note
The best thing is decrypt data if you using android 12+
If you want to use TWRP on android 10 or 11 it is recommended to use SHRP or OFOX
Note
After Flashing TWRP immediately reboot to TWRP and type setup in TWRP terminal or type adb shell setup in cmd to disable kg state prenormal
How to decrypt
Type decrypt in twrp terminal or type adb shell decrypt in cmd This Will Automatically wipe your data
How to Encrypt
Type encrypt in twrp terminal or type adb shell encrypt in cmd This Will Automatically wipe your data
If You Stuck in TWRP after upgrade or downgrade to a rom 10/11/12 . just type encrypt or decrypt in TWRP terminal and also type setup and reboot.
Download
Source

Sm-n975u and termux

i was messing with termux on my SM-N975U, developer options on, phone isnt rooted. I ended up with a " > " symbol in which I could still type commands, but got no response. What does a " > " mean ? Thats the only symbol in the start of the command line. I didnt know where to go from there, and I...well I thought mybe Id be able to reach the root directory of my android system.
What version of Termux ?
Termux for Android typically has the $ sign prompt
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
if you start app > symbol means terminal emulator has no connection to shell. in other words initialising of app is not finished and app is not ready for use (yet)
if you type commands with wrong balanced single quotes, > symbol means it is waiting for you to finish input. type ' and finish with enter.
Code:
:/ $ echo 'Hello
> World'
Hello
World
:/ $
there exist other commands waiting for input, exit by simply closing app if you don't know how to finish input.
very well explained , thank you very much! Merry Christmas!
It is the Github version, latest. Actually , i was already using the terminal, i migrated to here > somehow. Ultimately I ended up closing the app. I did try to work my way back thru the file system tree that I followed to get to > , but I couldnt seem to do it . The thing i didnt try was :/ $.
:/ $ is just my prompt, nothing I typed

Categories

Resources