SOLUTION - TWRP (3.1.1-2) not saving preferences - Huawei P10 Lite Guides, News, & Discussion

I had the "TWRP not saving preferences" issue since a long time and just found a fix by chance.
Background:
P10 Lite updated (this erases the bootloader unlock, custom recovery and SU), re-unlocked, re-rooted.
So far, the default storage is still "internal sd".
With this configuration, TWRP resets its preferences at every reboot (timezone, vibration duration, ...)
Actions:
Changed default storage to "external SD"
Copied (NOT MOVED, COPIED) the folder "TWRP" from the root of internal storage to the root of external SD.
Now everything works
Note:
I believe that the only mandatory file is ".twprs" contained in the twrp folder. I had nothing in the backup sub-folder.
cheers
R

Related

Internal memory does not show on PC

Hello everybody,
I am in desperate need for help.
Received my OP3T yesterday and followed the instructions to flash Sultan's CM13 ROM, unlocking bootloader, running "fastboot OEM unlock", deleting data and system partitions, attempting to flash TWRP and even using the SuperSu root afterwards.
I now have an issue where the internal memory of the phone does not show up on PC. It does not show when I am running CM13, and does not show when I'm in the TWRP recovery menu.
- Using the mount feature in TWRP does not work.
- All my file systems are currently set to ext4.
- USB debugging is on, off course.
- Tried accessing internal memory on a different PC, and still doesn't show.
I've tried completely deleting all the partitions, re-flashed TWRP and re-flashed CM13. Also tried re-flashing the original recovery and the original OxygenOS rom.
As a result, I can only access the TWRP recovery now. I have no way to copy the CM13 zip file or any other file to the internal memory.
Anyone know what's going on?
to see internal storage in TWRP you need to enter the password you definied as android login.
to see internal storage on pc go to "Settings/developer options/usb configuration and use again "file transfer" (i hope this is the english word for "dateiübertragung")

Unable to access Internal Storage after Update

Just flashed an encrypted BLU R1 HD w/ROM 'Modified V21' from the link in post #1 of mrmazak's thread (https://forum.xda-developers.com/r1...-stock-rom-t3602672/post72192422#post72192422). Created a SD card with Blu-R1-HD-V21-twrp_install.zip & UPDATE-SuperSU-v2.76.zip on it (SanDisk 16 GB). Inserted SD Card & booted into recovery mode (TWRP was already installed). Then:
> Wipe - advanced (everything - except SD card)
> Install - flash Blu-R1-HD-V21-twrp_install.zip
> Reboot into recovery
> Wipe
> Reboot into recovery
> Install UPDATE-SuperSU-v2.76.zip
> Wipe
> Reboot
Phone reboots several times, then it presents the new user setup screens. After setting up the phone as a new user, applications can be installed, files can be downloaded from the internet and everything appears to work normally. Except.....
Using the built in 'File Manager' the SD Card can be accessed as expected. When trying to access 'Internal Storage' it displays "(Empty Folder)" in a light grey color. Creating a new folder returns the error message "Some File Operation Failed". Formatting the SD Card as internal storage (ie: encrypting it) simply results in loss of access to the SD Card.
New with this ROM is that during the boot (power on process) between entering the unlock (decrypt?) pass code and before the standard lock screen is presented - there is a period of approx 20 seconds with nothing but a black screen.
Thinking something went astray during the initial update - I tried it again and was able to reproduce this issue of not being able to access the internal storage 3 times on the same phone. As a former Unix admin this appears to be a permissions issue. However I don't know how to regain access to ''Internal Storage".
The problem is a permissions issue related to SELinux. After using "The SELinux Switch" to enable "Permissive" mode access to the internal storage has been restored.
The SELinux Switch is available here on xda - https://forum.xda-developers.com/android/apps-games/app-selinux-switch-t3656502

Some folders/partitions are not encrypted

Hi, I have a problem. Some of my folders are not encrypted in twrp file manager. Inside folder /sdcard and /data/data are displaying folder name correctly, which that is the sign of unencrypted folder. But anything inside the folder /data/app are encrypted. I dont know why the my phone only encrypt some part of data. I have previous xiaomi phone that fully encrypted everything in /data and /sdcard partition.
I was unlocking my device, i installed twrp and formatted /data there, then installed only miui global beta rom, no magisk, encryption disabler, or etc. After finished everything and put my data to phone storage, and also set lockscreen pattern, i rebooted the phone once so it will encrypt my data at first reboot. After that I installed twrp again via fastboot because it has been replaced by stock recovery. Went to twrp file manager, and these problem happened.
Do anyone experience this? I need full encryption for my phone privacy and safety.
Note: any current twrp version no one has support encryption, so normally it wont able to read anything inside /data partition.

TWRP install and rebooting to system succesful, but twrp can't read internal storage

Device: SM-A305N KOO (Korea)
I successfully installed twrp via odin on my A30, flashed magisk.zip, and rebooted to system successfully. After that, I flashed an optimization file and rebooted to system (also successful). But I found that the internal storage was encrypted, so I went straight back to TWRP and did Advanced Wipe - change file system to ext2, then ext4. Now My 'Files' app in the system can read the files correctly like in the pic.
But in the TWRP, the file names in the internal storage is still in random characters. How can I fix this?
If twrp only shows "random characters" that's because the internal storage hasn't been decrypted. Twrp should ask for your user password to decrpyt it. Alternatively you could also do
Code:
adb shell
twrp decrypt MyLovelyPassword
EDIT: You need to be booted into twrp to use this. You could also use the terminal which comes within twrp; just leave the `adb shell' part then.

How To Guide [FIXED] Apps not updated or install after MIUI 13 to 14 Upgrade.

ISSUES :
You get error message when you try to update apps in Play Store or unable to install an apk saying "Out of storage space".
Requirement :
Your phone must be an bootloader unlocked phone and flash and use OrangeFox recovery (I prefer OrangeFox this time).
^^^^^^^^^^WARNING! ALL YOUR DATA WILL BE GONE^^^^^^^^^^ Back up your data to other device or using cloud-based backup.
SOLUTION :
Boot your phone in to Orange Fox Recovery. Mount all partitions available and shown there. Erase these partitions "Data" (NOT Data Format), "Dalvik-cache" & "Cache".
Mount / Enable MTP (can't get connected? Turn it off and back on).
Copy your MIUI14 firmware in to internal storage.
After copying, go to \data\media. Click the flashable miui14 zip and install it as Flashable zip. Wait till it's finished. After that, clear "Dalvik-cache & cache".
I recommend a full reset after phone is booted completely. Your external memory card will be erased too.
Go to \data\media and delete the flash zip file to gain some storage space.
Thank you.

Categories

Resources