yashsingh1/xdaforums huggingface dataset:
[General Questions and Answers] insetta:
Okay, I flashed TWRP.

Now I found that from shell, TWRP has a "decrypt" function, which I called, but no success

tucana:/ # twrp

TWRP openrecoveryscript command line tool, TWRP version 3.5.2_9-0

Allows command line usage of TWRP via openrecoveryscript commands.

Some common commands include:

install /path/to/update.zip

backup <SDCRBAEM> [backupname]

restore <SDCRBAEM> [backupname]

wipe <partition name>

format data

sideload

set <variable> [value]

decrypt <password> [USER ID]

remountrw

fixperms

mount <path>

unmount <path>

print <value>

mkdir <directory>

reboot [recovery|poweroff|bootloader|download|edl]

tucana:/ # twrp decrypt **********

Attempting to decrypt data partition or user data via command line.

Failed to decrypt data.
[General Questions and Answers] Austinredstoner:
Can u partition sd card if not can u install recovery ramdisk
[General Questions and Answers] insetta:
What would be the purpose of partitioning the fs? Not to mention it would like cause data loss
[General Questions and Answers] Austinredstoner:
That maybe true I can't think of anything else the only thing I can still think of is dm verify or vbmeta
[General Questions and Answers] insetta:
"dm verify or vbmeta"

Sound familiar, please elaborate
[General Questions and Answers] Austinredstoner:
How to enable and disable dm verity on android user build

How to enable and disable dm verity on android user build. adb root, adb disable-verity, adb enable-verity. remount failed: permission denied

5gnotes.com
[General Questions and Answers] Deleted member 1890170:
Encryption / decryption of /sdcard partition relies on PIN/password set and stored in file /data/system/locksetting.db.

Neither AVB 1.0 ( AKA DM-Verity ) nor AVB 2.0 (read: Android Verified Boot - available only on project Treble devices) have anything to do with encryption / decryption of Android partitions: their purpose is the verification of the Android OS through the bootloader when phone gets started.
[General Questions and Answers] Deleted member 1890170:
Look into Android's file /cache/recovery/log to get the reason why TWRP's decrypt fails.

Why not pull content of /sdcard to PC ( e.g. TAR-archived ) and then do a factory reset to get rid of the encryption?
[General Questions and Answers] insetta:
Because pulling encrypted /storage is pointless. First I need to be able to decrypt them.
[General Questions and Answers] insetta:
Because pulling encrypted /storage is pointless. First I need to be able to decrypt them.

Looked into the TWRP log, and seems like it uses the native android Keymaster HAL 4 to decrypt the storage, but it ran into some issues:

This is on TWRP boot:

I:Setting up '/data' as data/media emulated storage.
I:mount -o bind '/data/media' '/sdcard' process ended with RC=0
I:mount -o bind '/data/media/0' '/sdcard' process ended with RC=0
I:File Based Encryption is present
e4crypt_initialize_global_de
Determining wrapped-key support for /data
fbe.data.wrappedkey = true
Wrapped key supported on /data
calling retrieveAndInstallKey
Key exists, using: /data/unencrypted/key
Using Keymaster HAL: 4 from QTI for encryption. Security level: TRUSTED_ENVIRONMENT, HAL: android.hardware.keymaster@4.0::IKeymasterDevice/default
begin failed, code -62
Upgrading key in memory only: /data/unencrypted/key
upgrade_key failed, code -38
e4crypt_initialize_global_de returned fail
e4crypt_initialize_global_de
Determining wrapped-key support for /data
fbe.data.wrappedkey = true
Wrapped key supported on /data
calling retrieveAndInstallKey
Key exists, using: /data/unencrypted/key
Using Keymaster HAL: 4 from QTI for encryption. Security level: TRUSTED_ENVIRONMENT, HAL: android.hardware.keymaster@4.0::IKeymasterDevice/default
begin failed, code -62
Upgrading key in memory only: /data/unencrypted/key
upgrade_key failed, code -38
e4crypt_initialize_global_de returned fail

And this is after I wanted to decrypt it:

I:Command 'decrypt *************' received
I:Set page: 'singleaction_page'
I:operation_start: 'TWRP CLI Command'
Attempting to decrypt data partition or user data via command line.
E:Unexpected value for crypto key location
E:Error getting crypt footer and key
E:Could not get footer
Failed to decrypt data.
I:Done reading ORS command from command line
I:operation_end - status=0
[General Questions and Answers] TheArt.:
I also would like to decrypt my phone. I have access to adb shell, fastboot and twrp. Is there any news on how to do it?
[General Questions and Answers] zbysogi:
Hi, I am having the same issue. Cant decrypt the storgae files that got moved to SDCARD folder. Any update on the solution? When I type in the password in TWRP, the decryption is successful for user 0 but nothing happens. Files in sdcard folder are still encrypted. The whole folder is my whole phone data.
[Lenovo Vibe K5 Plus Questions & Answers] Docmine7:
Does anyone know any port or have any developer interested in porting a linux distro like this https://postmarketos.org/ to Lenovo Vibe K5 Plus?

In their list there are some lenovo, but they are not compatible:

Devices - postmarketOS Wiki

wiki.postmarketos.org

Lenovo A6010 photo

👌
[Touch Diamond, MDA Compact IV General] AndyLuft:
problem solved...
[Touch Diamond, MDA Compact IV General] AndyLuft:
whats the difference between a hard reset and the "Clear Storage" function?

Anybody? Pls!
[Moto G8 Plus Guides, News, & Discussion] RON4LD7:
Disclaimer:

I'm not the one who build this method I just wanna share the only way I found to downgrade this phone to android stock. I'm not responsible for any brick or bad use you may have with your phone.
​

Requirements:

* Bootloader Unlocked

* Motorola Drivers Installed on your PC.

* USB Debugging Enabled on your Device

* A Moto G8+ XT2019-2 Compatible with this firmware version

(All your information and data will be erased from your device. Please make a backup before proceed).

Your can download the firmware build without bloatware or pre-installed apps from my one drive storage here

After decompressing the file your can read the "DOHA" .txt to see all details of this android 9 build. Also you can right click to "Flash ROM" and "edit" to check all command line on the main file.

The last step its connect your Moto G8+ on fastboot mode to your PC and double click to "Flash ROM.bat" a CMD window automatically open to flash your device. DO NOT CLOSE THE WINDOW. Wait until finish and the device will be downgrade to android 9 stock.

If everything was fine the CMD window will automatically close and the device will be restart.

Additional Notes:

* With this firmware version will NOT work some moto gestures.

* The system goes more smoothly and apps open more faster.

* Battery life improved a lot more compared to android 10

* You can still receive OTA updates
[Moto G8 Plus Guides, News, & Discussion] micklov:
Does it work if I have latest update with Android 10 version? QPIS30.28-Q3-28-26-4-1-7 (amxmx)
[Moto G8 Plus Guides, News, & Discussion] RON4LD7:
Sorry for the late reply.

I was on android 10 at the moment of flashing the rom and since then i'm still using it. Not problem at all if u follow the steps on this post.
[Moto G8 Plus Guides, News, & Discussion] ghfghjghj:
Mod edit - translated by https://translate.google.com/. Oswald Boelcke, Senior Moderator.

Hi, I have a Moto G8 Plus with Android 10, it has the touch bug after this Android 10 update. If I do this procedure to go back to Android 9, will it stop with these touch bugs??????

*********************

Ói estou com um moto g8 plus com Android 10 ele está com o bug do touché depois dessa atualização do Android 10. Se eu fizer esse procedimento para voltar para o Android 9 será que vai para com esses bugs de touché ??????
[Moto G8 Plus Guides, News, & Discussion] Oswald Boelcke:
Hello and good evening, @ghfghjghj Welcome to XDA! I hope you'll always get the support you require and have enjoyable times on our platform.

However, as a one-time courtesy I've translated your above post. With reference to rule no. 4 of the XDA Forum Rules, please post in English or add at least an English translation to your Portuguese posts.

Spoiler content hidden.

Thanks for your cooperation.

Regards

Oswald Boelcke

Senior Moderator
[Samsung Galaxy Tab S7 / S7 Plus Themes, Apps, and ] Osimma:
The stock blur effect that happens when pulling notification menu down, or viewing recent apps, is way too intense for me. It also ends up brightening my black background because I think it's averaging the color across the entire display as it blurs. If the max blur was maybe 5-10% of what it currently is, i wouldn't have an issue with it. Though I would just prefer it to darken the background instead. Would I need root to fix this? I attached some images showing off the issue.
[Samsung Galaxy Tab S7 / S7 Plus Themes, Apps, and ] It_ler:
Maybe I didn't get the issue right.

AFAIK you can change this effect by using a different launcher. No root needed.
[Xiaomi Mi Mix 2 ROMs, Kernels, Recoveries, & Other] linuxmobile:
​

Descendant is a customised Android ROM that focuses on enhancing UX and UI

over stock Android along useful features.

Downloads

Head to the DOWNLOAD.

Sources

Github

​

Same as any ROM.

Do the necessary wipes and flash the ROM.

No wipes are needed between updates from Descendant itself, unless specified.

If you're having problem with SafetyNet, please, install Magisk along the following modules:

SafetyPatcher, Magisk Hide Props or similar modules.

But please, mind, we won't support any issue arising from Magisk nor relative modules.

​

Listing all the additions would be a huge wall of text, that you wouldn't even read.

So, head over the Telegram group and feel free to lurk.

Preloaded applications

Google Apps are included along Kiwi Browser and Metro.

​

Having a bug or not booting for whatever reason?

Look for "How to report bugs" on this post.

Bug reports without logs will be ignored.

​

@phhusson | @Letzen | @krule031 | @ezio84 | @linuxct
​

Android OS version: 11.0.0_r34

Security patch level: April

XDA:DevDB Information

Descendant XI, ROM for the Xiaomi Mi MIX 2

Contributors

Dil3mm4

ROM OS Version: Android 11

ROM Kernel: Linux 4.x

Based On: AOSP

Version Information

Status: Stable

Created 2021-04-11

Last Updated 2021-04-11

Kernel Source:

HERE
[Xiaomi Mi Mix 2 ROMs, Kernels, Recoveries, & Other] downnet:
Nice job! Camera fixed?
[Xiaomi Mi Mix 2 ROMs, Kernels, Recoveries, & Other] linuxmobile:
Camera never have a problem.
[Xiaomi Mi Mix 2 ROMs, Kernels, Recoveries, & Other] downnet:
But I have on camera here,why?
[Xiaomi Mi Mix 2 ROMs, Kernels, Recoveries, & Other] linuxmobile:
Install any gcam what you want. And remember you need flash gapps.
[Xiaomi Mi Mix 2 ROMs, Kernels, Recoveries, & Other] downnet:
Thank you so much
[LG V20 Questions & Answers] Pheckphul:
As the title says, does anyone here have an H910+Lineage on AT&T's network verified that it is doing VoLTE, and not only voice over UMTS?

I ask because AT&T says they are killing their 3G network in 01/2022, which means any phone that isn't VoLTE capable on their network will lose the ability to place calls (non-VOIP calls). Evidently my H918 running LOS isn't capable of doing VoLTE on AT&T's network, and I REALLY, REALLY don't want to give up using a V20. So, if the H910 does VoLTE running Lineage on AT&T's network, I'll buy a new H910.

I am very, very interested in getting this question definitively answered one way or the other.
[LG V20 Questions & Answers] Obing:
None of any custom ROMs would support VoLTE, it's proprietary.
[LG V20 Questions & Answers] partyman66:
100% no VOLTE on AT&T if you are using Lineage. You have to use the stock-based rom for it to work.

Even with a stock ROM on my h910A, I still don't think I was able to get VOLTE working... not sure why.
[LG V20 Questions & Answers] betelgeuse1031:
Hi guys,

I owned H990DS Sea version on latest nougat. It has volte option but just couldn't switch on without the proper carrier configuration file

Please take a look at this thread on LG G8

https://xdaforums.com/t/...ther-qualcomm-powered-lg-devices-too.4343655/

I tried on my H990DS using the above thread's method and it didn't work. I was informed that the mbn files are for LG G8. We need mbn files that are specific for LG V20. I have searched up and down and I couldn't find any.

So I hope that I have provided some insights and I hope any member/master/guru out there can help where to find the mbn file (collection of all international carriers mbn) and make volte works for H990DS and maybe for other V20 variants too.
[LG V20 Questions & Answers] nostupidthing:
the phone has to recognize the network and turn on volte

i have a phone that support volte, and i'm sure the network supports volte, but my phone doesn't use volte on this network because this phone is not natively available here so their support doesn't give a ****
[LG V20 Questions & Answers] betelgeuse1031:
Yes, same for me too. My V20 has 4G+/LTE+ signal but no volte. Whenever I make a call, the signal drop to 2G (since 3G has shut down) and would take, at least 5 seconds to connect. Looks like I am re-living the good old 90's era of using 2G voice quality to make call....

I am still finding the way to activate the volte on this phone but so far looks like dead end...
[Sony Xperia 1 III] craznazn:
Anyone know if the US release will have an unlocked bootloader?
[Sony Xperia 1 III] timfeirg:
I bought and got this phone today, and there's no unlocking bootloader available yet: https://developer.sony.com/develop/...d/unlock-bootloader/how-to-unlock-bootloader/
[Sony Xperia 1 III] timfeirg:
I set up a cronjob to watch api changes, so when xperia 1 III unlock is available I'll get a notification:

```bash

#!/usr/bin/env bash

set -euo pipefail

IFS=$'\n\t'

x1iii=$(curl -s https://developer.sony.com/api/unlock-bootloader/devices | ag -o -Q 'Xperia-1-III')

if [[ ! -z "$x1iii" ]]; then

osascript -e 'display notification "Xperia 1 III bootloader prolly unlocked"'

fi

```
[Sony Xperia 1 III] Rico0319:
Do you think SONY will allow unlocking for Xperia 1 iii in the near future? I'm really on the fence deciding whether to get the mark iii or not.
[Sony Xperia 1 III] timfeirg:
they've release the unlock process for all of the xperia phones (check https://developer.sony.com/develop/...d/unlock-bootloader/how-to-unlock-bootloader/), no reason not to do the same for xperia 1 III, I think we just have to wait for a few weeks.

It took something like 2 months for xperia 5 II to release its unlock code, after its initial release.
[Sony Xperia 1 III] a851928337:
you can use the code of xperia1 or xperia 1 ii
[Sony Xperia 1 III] timfeirg:
silly me, I tried this on the first day, but failed because I didn't enable "allow oem unlock".

I've confirmed xperia 1 III bootloader can be unlocked using xperia 1 II unlock code.
[Sony Xperia 1 III] jfbaudio:
That's great news
[Sony Xperia 1 III] Kylewolf:
Any news on DRM that will be removed when unlocking the bootloader?
[Sony Xperia 1 III] Radio2006:
what variant of the device do you have? US, Asia? I want to be sure i buy the right device that will allow unlocking the bootlader...thanks!
[Sony Xperia 1 III] hyelton:
Just remember buying the Non US model if your in the US you may miss out on some bands or 5G access
[Sony Xperia 1 III] Radio2006:
thanks for the info! that is....unfortunate, but I am willing to forego 5G to have an unlocked bootloader. But are you saying that the only way to get this device with OEM unlock is to buy a non-US version?
[Sony Xperia 1 III] kot5nik:
Why would be US version non-unlockable, while others are? We need someone to test when US model is released if 1 II code works on it
[Sony Xperia 1 III] Radio2006:
its garbage, but i believe samsung operates the same way. i had picked up a US variant of the S21 Ultra, but when i learned that the US variant did not allow OEM unlock...i sent it back. not sure why companies do it
[Sony Xperia 1 III] Kylewolf:
I'd imagine the US version would still use the same unlock process.
[Sony Xperia 1 III] Radio2006:
I hope so. btw, i am seeing different release dates for the device. 8/19 and 9/3. More frustration surrounding this device...hahaha.
[Sony Xperia 1 III] Hippie459MN:
I have to get a new phone for Sprint/T-Mobile and I hope that this can be unlocked and then rooted. I just can't find a phone that I like and so far from what I have seen, this one checks all of my boxes, aside from the price... lol Im seeing a release date of Sept 3rd for here in the US. I want to jump on it but at the same time, I want to wait to make sure I can unlock the bootloader and root it.
[Sony Xperia 1 III] Radio2006:
So I finally got my hands on an Xperia. Purchased the XQ-BC72 off of Newegg from a Taiwanese store or something. Long story short, OEM Unlock option is available upon unboxing. There was an update required, but with a second device I purchased, due to backorders, OEM Unlock was still available after updating. Just thought I would pass that along to anyone that still has this question.
[Sony Xperia 1 III] B:
I just checked NewEgg. Is the Taiwanese shop called Fashion Shop?
[Sony Xperia 1 III] Radio2006:
yup!
[Sony Xperia 1 III] rom4ster:
incorrect, I unlocked the bootloader of this phone there is a thread on this
[Sony Xperia 1 III] BlazingKahn35:
Or you could just do it via the Xperia 1 II lol
[Samsung Galaxy A10 Guides, News, & Discussion] OakBricks:
Hello, i have a samsung galaxy a10e (the 4th samsung phone i have on me). And im wondering if there is anything on it since i cant find any roms, recoveries, or anything besides some news releases
[Samsung Galaxy A10 Guides, News, & Discussion] It_ler:
Seems to have a small developer base ATM.

Check this thread:

https://xdaforums.com/t/samsung-galaxy-a10e-is-this-the-right-place-to-be.3990817
[Samsung Galaxy A10 Guides, News, & Discussion] eduardo csr:
Hey there I have this galaxy A10e it a boost mobile carrier but it tells me to contact sprint to unlock my device OMADM what could I do
[Samsung Galaxy A10 Guides, News, & Discussion] OakBricks:
after some research, try contacting Boost Mobile? Boost Mobile is supposed to use T-Mobile's towers (Like Metro or [insert any other T-Mobile virtual carrier here]) the only thing that I know that can cause this issue is that you bought a used phone that was bought from a Sprint retailer. but the OMADM is an open standard* (*Source: https://en.wikipedia.org/wiki/OMA_Device_Management ) so you can just ask Boost Mobile and hope for the best.
[Moto G 5G Guides, News, & Discussion] fddm:
I' ve decided I should effectively close this thread. I already made a guide some time ago on how to patch kernels, and that was original the reason I made this thread in the first place. 5G Ace was just my new toy and I solved a novel problem that Google gave me absolutely no leads on. There really wasn't anything out at the time, so I thought it was quite cool that I was able to run wireguard in kernel mode and tether ipv6 traffic. But now it's nothing special.

I've felt like posting this was always a mistake anyway, so pulled my files and am discontinuing this thread.

-------------------

This is an example of how I seamlessly bypass native tether restrictions for both usb and wifi tethering. For the Moto G Ace 5G, this comes in two parts. A kernel mod to disable CONFIG_MODULE_SIG_FORCE and Magisk module to set things up. The kernel modification was made through reverse engineering with Ghidra and the kernel module included in the Magisk module was built by compiling official sources with CONFIG_NETFILTER_XT_TARGET_HL=m added to the config.

The Magisk Module has three main parts:

system.prop - Disable tether provisioning

apns-conf.xml - Modify APN configuration

service.sh - Insert xt_HL and apply the iptables rule

The rule looks like:

iptables -t mangle -I POSTROUTING -o rmnet_data+ -j TTL --ttl-set 64

It tells the kernel to modify the TTL of all IPv4 traffic exiting through any mobile interface. The interface can be different on other devices, another common example would be "v4-rmnet_data+". It should also be noted that this only touches IPv4 traffic. If your carrier flags the hop limit of IPv6 traffic, I can only recommend blocking IPv6 to the tethered interface with an ip6tables rule or using another method.

The supplied apns-conf.xml is modified for T-Mobile and MetroPCS, you may need to edit it if your carrier differs. This is done by finding the DUN APNs, merging them with the primary APNs, and removing them as follows:

Spoiler content hidden.

Modified Kernel:

Meet Google Drive – One place for all your files

Google Drive is a free way to keep your files backed up and easy to reach from any phone, tablet, or computer. Start with 15GB of Google storage – free.

drive.google.com

Magisk Module:

Meet Google Drive – One place for all your files

Google Drive is a free way to keep your files backed up and easy to reach from any phone, tablet, or computer. Start with 15GB of Google storage – free.

drive.google.com

After flashing the kernel and installing the module, you will need to enter your APN settings and restore defaults for them to take effect.

Note: The Magisk module also disables nondisable, preinstall, and system upgrades.

I think I might of got a GPL report for this thread, so here's a link to stock sources used to build modules:

GitHub - MotorolaMobilityLLC/kernel-msm at MMI-QZK30.Q4-40-62

Linux Kernel for Motorola devices using MSM-based chipset - GitHub - MotorolaMobilityLLC/kernel-msm at MMI-QZK30.Q4-40-62

github.com

and also my patching guide that was made after this post:

https://xdaforums.com/t/guide-kerne...ig_module_sig_force-on-stock-kernels.4278981/
[Moto G 5G Guides, News, & Discussion] XeoNoX:
nice mod, quick question, how did you figure out which interface to mangle?

for example the following attachment has a few interfaces, how do you know which one to mangle?
[Moto G 5G Guides, News, & Discussion] jhjhjhjhjhjh:
Well the way I have my hotspot undetectected.

Simple ,

Root of course,

1. Use adblocker or adaway first

2. Change DNS settings and apn.

DNS...dns.google or 1dot1dot1dot1.dns-.com

APN 4.4.8.8 NOT 4G.... I'll screen shot the settings.

4. Use app Hotspot VPN version 2.11.3

Set up hotspot on phone and activate hotspot via vpn app.. I'll screen shot the settings as well.

viola...😀

Edit..Thanks .O.P for this jewel. !! The VPN hotspot app works but only on the default apn..I guess metro/TMobile may have updated there servers..anyways I flashed the boot.img and installed the magisk module but I patched the boot.ing with the latest magisk 20.4 and manager 7.51.. I then said what does restore default apn mean? So I just took out my sim reinserted it and reset network settings only. Now I saw a fresh apn that allowed me to edit...yeah...before adding an apn was my only option. Now I noticed DNS and VPN apps work on default apn configs..

So VPN hotspot works and no detection from carrier or DNS errors..

I have two 5g ace phones I got for 89.99 a piece ..im on an unlimited data plan, I USB tether to my 5G ace to my laptop and utilized the windows 10 sharing feature. Share USB tether connection via Ethernet...then plug the Ethernet into my Netgear router. For Xbox and PlayStation I add port rules and assign a static i.p for both consoles.

Ii kid you not after 3 days of this method my average speeds using 5G per device connected to my router either by Ethernet or wifi , averages 40-90 MBs download and 33mb upload.. who needs an internet provider like spectrum anymore? Not me....;)
[Moto G 5G Guides, News, & Discussion] XeoNoX:
@jhjhjhjhjhjh how did you change the APN TYPE and add DUN to it? the newer version of android wont allow this modification. what version of android are you using?
[Moto G 5G Guides, News, & Discussion] jhjhjhjhjhjh:
There is a plus sign to add an apn.

Add one and change the configuration to your liking. To add dun one must capitalize it (DUN)