Help: P20 Pro stuck in TWRP formatting - Huawei P20 Pro ROMs, Kernels, Recoveries, & Other

I attempted to put LinageOS on to my P20 Pro, and that was actually successful it just didn't have the ability to do simple things like take photos or save a file apparently due to an encrypted data partition or so I have read ( The signs are that the folders in the folder "sdcard" are just random letters and numbers). So I read a little about that and apparently you can solve that issue by going into TWRP > Wipe > Format Data, so I started that. Long story short my devices has been "Formatting data" for almost 4h now and counting
The last terminal output is.
Update partition details...
...done
Formatting Data using mkfs.f2fs...
Done.
But the bar is still loading. I have no idea what to do or how to properly wipe that partition anyone know any better than me?

Hey! You cant do Stuff Like this on TWRP on the P20 Pro, it is only Used for ADB Sideload & Push. Use Huawei's Recovery Ramdisk to Wipe your Data.
Make sure you Downgraded to: 9.0.0.293
Use this Instructions to Make LineageOS 16 to Work
P20 Pro LineageOS 16 flashing guide
I tried installing LineageOS 16 on my P20 Pro a couple of times now, but it failed every time. Usually because I had a new EMUI installed, which wasn’
depl0y.com
'But' One Thing is not Written on this Guide.
When you do First Time Setup. Do not Connect your WIFI. Download Android System Webview Latest Version of Google Transfer it over USB File Transfer to the Device and Install the APK from the Filebrowser.
Then you can Connect your WIFI and Proceed! If you don't do this, It will Show a Blackscreen and you can't finish the Google Setup.
Took me a Day to Figure this out.
LineageOS 16.0 was Removed on the LOS Downloads. Feel Free and Let me know if you need the .zip I sent you a Allready Fixed File that is Ready to Flash for Sideload

hi,
i cannot format data too, the same problem. p20 pro LineageOS 16 guide is off...
can you send some update, please?
Thanx, Krabat

Related

Correct root and TWRP recovery for OOS 4.1.6 on OP3T - please.

I've been all over the OP3T forums looking for current information about the correct versions of TWRP and (Magisk or SuperSU) to use with stock OOS 4.1.6. I kept my old TWRP 3.0.4-1 and when I tried to apply SuperSU 2.79 SR3 I got an unusable system and had to restore from nandroid backup. I updated to TWRP 3.1.1-2 as per the Official TWRP app and now every time I try to reboot to system from TWRP it warns "No OS installed", but the reboot works fine. I have Magisk 13.2 ready to install but I'm reluctant until I know I have the right combination - the TWRP 3.1.1-2 backup is missing some partitions and I want to make sure I can at least recover my system if Magisk screws things up.
I've been all over the forums and all the relevant threads were closed months ago, or are written about OOS 4.0.3 or 4.1.1, or describes some hideous way someone turned their 3T into a pile of molten lava. Is there any current information about what combination of TWRP and a root zip will work with the latest OOS 4.1.6? Everything is stock except the unlocked bootloader. I don't want to flash a different ROM, I don't care about passing SafetyNet, I just want to root and go on with my life.
A couple of numbers is all I ask. I can't be the only one. Please - I've been without root for a week and it's bugging me.
TWRP 3.1.1-2 has got at least one major bug where it reports the OP3T as a OP3. That'll mess up your OP3T specific installations... Don't know if there are any other bugs, since I'm staying on 3.1.1-0 until they fix that bug. You also have the option of using blu_spark's TWRP. I've never tried it, but many users swears by it.
What works for me:
OOS 4.1.6
Franco Kernel r25
TWRP 3.1.1-0 (official)
Magisk v13.2
Magisk Manager 5.0.6
No issues whatsoever (for me)...
Thanks for that. I'd rather not change kernels, though. How likely is it that the same combination works with the stock kernel? Does anyone have that running?
OK, I tried it. Swiped the Magisk 13.2 zipfile in TWRP. The script ran partway through and then said "Can't mount system" in red letters. Now the phone boots into OOS, Magisk Manager is there and says "Rooted but no root permissions, not allowed?" It has reported several times that it needs to update, to the same version of Magisk and Manager that are already there. I allowed it to go through the cycle and reboot, with no change to behavior. When I try to run an app that needs root I get the permissions screen, but when I grant I get the dialog that says "Rooted Android required" - Either the su binary could not be found or you did not allow root permission..."
So, the phone works fine but unprivileged as before. I'd like to try clearing the cache, but since TWRP still reports no OS found (3.1.1-0 does this, just like -2) I don't really want to write into a system the recovery can't see. Besides, the existence of the su binary doesn't seem like something a cache clear will fix.
Advice?
OK, I tried it. Swiped the Magisk 13.2 zipfile in TWRP. The script ran partway through and then said "Can't mount system" in red letters. Now the phone boots into OOS, Magisk Manager is there and says "Rooted but no root permissions, not allowed?" It has reported several times that it needs to update, to the same version of Magisk and Manager that are already there. I allowed it to go through the cycle and reboot, with no change to behavior. When I try to run an app that needs root I get the permissions screen, but when I grant I get the dialog that says "Rooted Android required" - Either the su binary could not be found or you did not allow root permission..."
So, the phone works fine but unprivileged as before. I'd like to try clearing the cache, but since TWRP still reports no OS found (3.1.1-0 does this, just like -2) I don't really want to write into a system the recovery can't see. Besides, the existence of the su binary doesn't seem like something a cache clear will fix.
Advice?
Scratch that request. Things seem to be turning around - su works in terminal emulator, lets me ls privileged directories like /data. Root Explorer is working again. The only thing that isn't is AdAway, which can't write the hosts file. Otherwise the system seems to be rooted and working OK.
I'm still nervous that TWRP can't see that there's an OS on the phone, and I haven't seen any other reports of this.
It looks like Magisk can't mount /system read-write. Adaway won't install, and neither will Busybox. Titanium Backup also reports problems. I tried installing Busybox and the installation failed when it tried to remount system /rw.
Will look for solutions to this problem and report back here.
I've found many solutions to this problem, like installing busybox (Stericson Busybox apparently doesn't work in OOS 4.1.6, tried two others. Problem is, busybox will only install into a partition on /system, which requires that /system be read/write.
When I have issues with mounting system or anything like that, I go mount system myself in TWRP and it usually starts working after I reboot....I don't know why, it just works for me....if I see that error, that's the first place I go, everytime...
JMB2K said:
When I have issues with mounting system or anything like that, I go mount system myself in TWRP and it usually starts working after I reboot....I don't know why, it just works for me....if I see that error, that's the first place I go, everytime...
Click to expand...
Click to collapse
That won't work either. When I go to the Mount page in TWRP I can't get the checkbox next to /system to check. It just stays empty.
mobilityguy said:
That won't work either. When I go to the Mount page in TWRP I can't get the checkbox next to /system to check. It just stays empty.
Click to expand...
Click to collapse
I seem to remember having that problem once before.... Can't recall what I did, I think it involved something with the terminal... I'm not at my desk right now, I'll look into it shortly and see if I can remember
Problem solved. The more I looked at the symptoms, the more I realized that the OTA I took after unrooting with SuperSU corrupted the system partition somehow. The first time I tried applying the OTA with the stock recovery it failed, but I was able to reboot and apply 4.1.6. That's when the trouble began - I was unable to reapply SuperSU. Fortunately I had done a nandroid backup between the upgrade and the attempt to re-root, and after the SuperSU script failed I was able to restore the backup (made and restored using TWRP 3.0.4-1) and continue working. It was either at that point or earlier, during the OTA itself, that /system was damaged - not badly enough to prevent the phone from working perfectly well, but enough to keep TWRP from mounting /system read/write. From that point on I was doomed. None of my other attempts to fix the problem had a chance as long as TWRP was restricted to mounting /system read-only. Then it got worse.
After a semi-failed attempt to install Magisk (rooted applications worked as long as they didn't try writing to /system) I restored my pre-root 4.1.6 backup one more time. After that, TWRP wouldn't mount /system at all, which prevented me from making any more nandroid backups.
It was time to act. I could keep using the phone unrooted, but the longer I went on the more work would be required to put things completely right. The risk would increase because I couldn't take any more snapshots of the phone to fall back to if I munged the device again. I also had a positive reason to fix things - during the two days the phone was rooted but couldn't access /system, Titanium Backup kicked in and did a full backup of all my software and settings.
With a damaged file system and full backups, there was no reason for halfway measures. I copied all my user data off the phone and used LloydSmallwood's unbrick tool to flash the phone back to its original OOS 3.5.4 state. That took care of rebuilding all file structures. As soon as I rebooted, OOS upgraded to 4.1.6 in one step, taking care of the system upgrade. Unlocked the bootloader, installed TWRP 3.1.1-0 (not 3.1.1-2, which has a serious bug for the 3T as someone posted above). I was able to mount and unmount /system from TWRP's mount screen, no problem. Ran Magisk 13.3 script without a problem, installed Titanium Backup, and tested an app restore. No problem. I'm now in the midst of copying all my stuff back onto the phone, after which I'll restore all missing apps and be back in business (I hope).
It's possible I could have done something tricky like reformatting /system and restoring the partition from my last good nandroid backup. But I always would have been concerned that problems would have popped up later, maybe during the Android O upgrade, when it would be way too late to recover my then-current setup. After seeing virtually every combination of working and non-working features, it just made sense to build from a clean system.
So thanks have been given to LloydSmallwood for his absolutely indispensable unbrick tool (this is the second time it has saved my phone). I should also thank my Galaxy S3, running the current build of LineageOS, which has gotten me through the two days it took to set my OnePlus straight. The Galaxy has performed better than a five year old phone running brand-new software should ever be expected to - if it supported LTE I could consider using it as a daily driver. This has been an education, and a reminder of how important it is to keep good backups at every step throughout an upgrade - and routinely during production use.
Thanks to all who gave advice in this thread.

What is 12gb of "other" storage data that I can not seem to find [OP3T, 128GB]

What is 12gb of "other" storage data that I can not seem to find [OP3T, 128GB]
Hello,
I just reflashed OxygenOS from Paranoid android after a clean wipe of data, system, cache etc. After set up, I realised there is 12gb of data being occupied under the "other" storage. I proceeded to factory wipe as well and I still have this 12gb of data.
I can not seem to figure out what this 12gb of data is. It is not the oem_logs. I do not have nandroid back ups. I do have around 4gb of titanium backup that I can account for. That means there is still 7gb of data that I can not seem to find.
Any help with figuring this out?
The only thing I could think of now was to wipe internal memory and flash the rom all over. Is that possible? I heard that wiping internal memory is a no no.
I have included some screenshots. If anyone needs more information, please ask.
(The massive app data is because this morning I finally gave in and redownloaded my spotify playlists. Spent 2 days trying to figure out this damn 12gb other data...)
Edit: Forgot to mention, I am on the latest OxygenOS stable. Rooted with latest Magisk and using TWRP 3.1.1-2
An update
An update.
I deleted the titanium back up. Other storage now shows 7gb.
I used DiskUsage to further pinpoint my data use. 10gb in System and 8ishGB in app data.
I checked System folder, it is 2.8 GB.
10gb minus 2.8gb means around 7gb of data that I do not know what is.
Try look into /storage/emulated directory. I had same problem and in this folder I found missing GB's of storage.
Any apk files you've downloaded, logs you've recorded all in that category. Even large flashable zip files and other firmware files are also under that category.
EatDahPewPew said:
An update.
I deleted the titanium back up. Other storage now shows 7gb.
I used DiskUsage to further pinpoint my data use. 10gb in System and 8ishGB in app data.
I checked System folder, it is 2.8 GB.
10gb minus 2.8gb means around 7gb of data that I do not know what is.
Click to expand...
Click to collapse
Twrp backups
If this happens even after clean flashing a new rom/any rom then its something wrong with the partition.
I was facing a similar issue where my internal storage was being dislpayed as 24.6GB (Instead of 54GB) total capacity.
Can be easily fixed by using twrp, Firstly create a backup of the entire Internal Storage (Media)
Step 1. Go to Wipe>Advanced wipe>(Select all partitions)>Wipe.
Step 2. Go to Wipe>Format Data>(Type YES)>Done!
Step 3. Repeat Step 1.
Flash your rom and it would be fixed.
Mr.RooT said:
Try look into /storage/emulated directory. I had same problem and in this folder I found missing GB's of storage.
Click to expand...
Click to collapse
Hey, Do you know what exactly I am looking for in there?
vighneshpillai90 said:
If this happens even after clean flashing a new rom/any rom then its something wrong with the partition.
I was facing a similar issue where my internal storage was being dislpayed as 24.6GB (Instead of 54GB) total capacity.
Can be easily fixed by using twrp, Firstly create a backup of the entire Internal Storage (Media)
Step 1. Go to Wipe>Advanced wipe>(Select all partitions)>Wipe.
Step 2. Go to Wipe>Format Data>(Type YES)>Done!
Step 3. Repeat Step 1.
Flash your rom and it would be fixed.
Click to expand...
Click to collapse
I think you maybe right. I have flashed a few roms around and noticed it after flashing OOS. I do not know if it was also there before.
I do not care so much about my internal storage (media), I can afford to loose and restart all over.
Will wiping the internal storage be fine? I heard on forums that it messes things up.
Ill probably use OTG USB to flash the rom again. That should be good right?
EatDahPewPew said:
I think you maybe right. I have flashed a few roms around and noticed it after flashing OOS. I do not know if it was also there before.
I do not care so much about my internal storage (media), I can afford to loose and restart all over.
Will wiping the internal storage be fine? I heard on forums that it messes things up.
Ill probably use OTG USB to flash the rom again. That should be good right?
Click to expand...
Click to collapse
I have done all sorts of things with my phone, i have even deleted the root folder using TWRP file manager and managed to bring my device back to life.
So I guess i can assure you that it wont do a thing to your phone if u wipe internal storage
Provided make sure you are using BLU-Spark TWRP.
(BLU-Spark-TWRP v45 for Nougat based roms &
BLU-Spark-TWRP V52 for Oreo based roms).
Do not use the official TWRP as it hasn't been updated since its 3.1.1.2 release.
vighneshpillai90 said:
I have done all sorts of things with my phone, i have even deleted the root folder using TWRP file manager and managed to bring my device back to life.
So I guess i can assure you that it wont do a thing to your phone if u wipe internal storage
Provided make sure you are using BLU-Spark TWRP.
(BLU-Spark-TWRP v45 for Nougat based roms &
BLU-Spark-TWRP V52 for Oreo based roms).
Do not use the official TWRP as it hasn't been updated since its 3.1.1.2 release.
Click to expand...
Click to collapse
I ended up doing the steps but I have TWRP 3.1.1.2. I am a bit out of loop, why is BluSpark better for nougat? I just knew that we needed a specific one for Oreo since TWRP had not been updated
For other people who may come here. I did follow the steps. From 5gb other data, I am now down to 0.8gb. I do not know what that 0.8gb is but ill take it for now.
Steps were
Step 1. Go to Wipe>Advanced wipe>(Select all partitions)>Wipe.
Step 2. Go to Wipe>Format Data>(Type YES)>Done!
Step 3. Repeat Step 1.
Step 4. Flash rom, gapps, etc etc
I DID RUN into a problem at step 2. I got an error and then when wiping or flashing rom, my /data would not mount. I googled and found that if you change the data to different format, ext4 and then abck to f2fs, the /data should mount and you can do whatever.
Maybe it is because of the TWRP version, I was on the latest 3.1.1.2.
EatDahPewPew said:
Hey, Do you know what exactly I am looking for in there?
Click to expand...
Click to collapse
Every folder except emulated directory. Firstly I thought that these other folders are links to their original location, but when I deleted that folders, original folders weren't affected. But delete it at your own risk! It could be coincidence, that these folders weren't linked to original ones.
EatDahPewPew said:
I ended up doing the steps but I have TWRP 3.1.1.2. I am a bit out of loop, why is BluSpark better for nougat? I just knew that we needed a specific one for Oreo since TWRP had not been updated
For other people who may come here. I did follow the steps. From 5gb other data, I am now down to 0.8gb. I do not know what that 0.8gb is but ill take it for now.
Steps were
Step 1. Go to Wipe>Advanced wipe>(Select all partitions)>Wipe.
Step 2. Go to Wipe>Format Data>(Type YES)>Done!
Step 3. Repeat Step 1.
Step 4. Flash rom, gapps, etc etc
I DID RUN into a problem at step 2. I got an error and then when wiping or flashing rom, my /data would not mount. I googled and found that if you change the data to different format, ext4 and then abck to f2fs, the /data should mount and you can do whatever.
Maybe it is because of the TWRP version, I was on the latest 3.1.1.2.
Click to expand...
Click to collapse
With every new update of Oneplus (wether it be Beta or Stable) the bootloader & firmware might (or might not) get updated and hence if u use the old TWRP there are chances of being incompatible with the new builds/roms. If u notice BLU-Sparks TWRP releases, they follow a trend i.e. he releases a TWRP after every major update of Oneplus Roms which is basically to make sure that the recovery is compatible with the newer builds.
So i would suggest you to use the BLU-Spark TWRP to be on the safer side.
Hope i have cleared the doubt. Cheers. Good day. :good:
vighneshpillai90 said:
With every new update of Oneplus (wether it be Beta or Stable) the bootloader & firmware might (or might not) get updated and hence if u use the old TWRP there are chances of being incompatible with the new builds/roms. If u notice BLU-Sparks TWRP releases, they follow a trend i.e. he releases a TWRP after every major update of Oneplus Roms which is basically to make sure that the recovery is compatible with the newer builds.
So i would suggest you to use the BLU-Spark TWRP to be on the safer side.
Hope i have cleared the doubt. Cheers. Good day. :good:
Click to expand...
Click to collapse
Yes! That helps. I guess I should flash the blu spark twrp soon. Or atleast when I am switching roms. Am on the last paranoid android for nougat. Will wait it out until Oreo is out on either oos or some major role.
Do you know where I can find blu spark twrp? I found blu spark kernel but could not find the twrp.
other than media files and unrecognized file extension
like .zip .apk .flac and etc
EatDahPewPew said:
Yes! That helps. I guess I should flash the blu spark twrp soon. Or atleast when I am switching roms. Am on the last paranoid android for nougat. Will wait it out until Oreo is out on either oos or some major role.
Do you know where I can find blu spark twrp? I found blu spark kernel but could not find the twrp.
Click to expand...
Click to collapse
Open the Blu-Spark thread, go to downloads, keep scrolling and you find the twrp among the kernels listed there (Latest is v8.52).

HELP: Failed to mount: '/data' (invalid argument)

(I think I was using EVA-L19C636B180 Quite sure about the C636 part. TWRP 3.1.0.-3 and using SU but I can't recall the version)
I bricked my phone when I did a factory reset and deleted internal storage and accidentally deleted important files while doing so. I flashed a stock update from the warehouse and completely deleted the system instead. I then flashed Lineage ROM which reinstalled the system but now causes me to get stuck in bootup. When I installed Lineage ROM, I got the following error.
Attached photo
https://imgur.com/a/nx6U5bC
If i'm correct, b180 should be emui 4.1.1 and twrp 3.1.0-3 for nougat, but i'm not sure about that!
Anyway, i might have a fix for your problem.
You should have a unlocked bootloader if you have twrp, so you should see a message before it boots up the system, there you can hold Vol+ (volume up) for 5 seconds and this should bring you to eRecovery.
If your /data in /root is corrupt it should say, that data must be formated. Just do that. If it boots up twrp, follow step 1, if it does it in eRecovery, go to step 2.
1.) After TWRP got opened swipe to allow modifications, then go on "Wipe", in the lower right corner it should say format data, click on it and format data, after that reboot and hold Vol+ again, you should be in the eRecovery again, but this time the message won't be there. Now you should see a few buttons with these options:
Download newest version and recovery
Wipe data/factory reset
reboot
shutdown
Now make sure your phones battery is charged to atleast 85%.When it is charged, go on Download newest version and recovery, this should take you to a screen where you can log in into your Home W-LAN.
Now it should download a package, this takes up-to 1 hour if you have a slow internet connection. For me it takes 15 minutes with a 100mbit connection.
After it downloaded it will reboot and install. Don't press anything on your phone, installation takes around 7-15 minutes, after that it should reboot again and will perform a Factory Reset that will wipe everything on your phone except your SD Card. This will take around 2 minutes.
Now it will reboot into your system and should if everything goes as planned boot up in your emui system.
Now just accept everything, set up your internet and a huawei account. Now you should update your Android to the latest europe version of nougat through system setting. It can take upto a week to recieve the updates. After the updates you can do as you like. I recommend you use tecalotes thread for the HWOTA7 tool to rebrand to AL10 and update to official android oreo, where you can get face recognition with emui, flash a custom rom from the openkirin team and flash a kernel like the ECOKernel, that fixes some hi3650 issues like lag, let's you modify the kernel to your liking and even enable Fast Charge.
Just make sure you never delete something important or install something not intended for your phone like a wrong twrp. If you not know what you're doing or are not sure about something just ask again, this is a forum and we'll gladly help you.
Here are the links to the specific mods i mentioned
Custom ROMs for android oreo: openkirin.net
HWOTA7: https://forum.xda-developers.com/p9/development/rebrand-update-tool-hwota7-p9-eva-t3820849
the oreo update post #2: https://forum.xda-developers.com/showpost.php?p=77161313&postcount=2
Kernel MOD: https://forum.xda-developers.com/p9/development/kernel-ecokernel-starter-v0-1-t3857029
I hope i could help, have fun!
Many regards
SOLVED:
I installed magic rainbow ROM (https://forum.xda-developers.com/p9/development/rom-huawei-p9-magicrainbow-v3-t3722457) using TWRP (I think any full ROM will do) which fixed the failed to mount issue for /data but left the /vendor, /product and /version still broken then
Use Multi-Tool 8 (https://forum.xda-developers.com/hon...am-mt-t3523923) to reinstall stock recovery and recovery2 which deleted TWRP and restored the deleted eRecovery
Then Take empty SD card formatted in NFTS
Put in dload folder the rollback UPDATE.APP file taken from http://download-c1.huawei.com/downlo...65&siteCode=it and install it using dload method
Last, put in dload folder b182 UPDATE.APP file from http://download-c1.huawei.com/downlo...83&siteCode=it
credit to @bomba697 for the last part (all I thought of was install magic rainbow rom)

Oneplus 3T Restore Issue after Pie Update - HELP

So, quick explanation. Pie update showed up on my OP3T and I have an unlocked bootloader, TWRP 3.3.0-1 and Magisk 18.1 on OOS 5.0.8 (Oreo). Additionally I had a second user account and a Work Profile on my main account.
After reading on the decryption issues (and against my better judgement), I decided that maybe it could work through System Updates since it detected root and was going to install the full package. Big mistake. Got a "Decryption unsuccessful" and sadness.
I had of course taken a full TWRP backup to be safe.
I'm going to put the detailed explanation below (hidden) because it's quite long.
Now in more details. Along with the TWRP back up, I had an oandbackup -backup- of all apps (main and secondary account, but not work) and manually copied all internal storage files on my PC. After the "Decryption unsuccessful" message, I pressed the "Reset Phone" button (probably a stupid decision) thinking I'm good since I have a backup. Phone rebooted, with TWRP replaced (as expected), and I'm in the new OS. Played around a bit in Pie [added my account, registered a fingerprint and PIN, connected to WiFi and checked a few apps] and then I thought, "ok, time to go back", and then it happened.
I rebooted the device and it asked for password to boot (which was the PIN I added in the OS), and then rebooted again in Fastboot to flash TWRP again in order to restore the backup.
TWRP flashed successfully and I copied over my backup. Restored System, Data and Boot, wiped Dalvik & Cache, rebooted, shows the Oneplus logo, gets stuck for a bit and then goes to Fastboot. Ok...probably messed up somewhere, let's try again. Same thing.
I guess the notion that I had the TWRP backup made me feel safe, because I continued to experiment.
After a full 24hours awake trying to restore my phone to its previous state, I have the following:
Restoring System, Data and Boot results in the device booting and showing the Oneplus logo and then after a few seconds, going to Fastboot.
Restoring EFS, Recovery and/or Cache makes no apparent difference.
Restoring Data and Boot, but System Image instead of System makes the device boot and start a lengthy process (possibly of encrypting the entire Data partition) lasting about 2hours, during which the device becomes hot enough (~45C / ~113F) that holding it for more than a couple of seconds is very uncomfortable. After it finishes the lockscreen has my wallpaper, app notifications (like VPN) show up and the second account is there, however my old PINs for either accounts don't work and the Data partition can no longer be accessed in TWRP
Code:
Data successfully decrypted, new block device: '/dev/block/dm-0'
Updating partition details...
...done
[COLOR="red"]Unable to mount storage[/COLOR]
Successfully decrypted with default password.
Updating partition details...
...done
[COLOR="red"]Unable to mount storage
Failed to mount '/data' (No such file or directory)[/COLOR]
Full SELinux support is present.
[COLOR="Red"]Unable to mount /data/media/TWRP/.twrps[/COLOR]
MTP Enabled
When Data is inaccessible in TWRP, only formatting it can bring it back (empty, of course). And then it needs to be formated to F2FS again as well (Oneplus uses F2FS for the Data partition).
Flashing the Oxygen OS 5.0.8 zip file after restoring System works the same as restoring with System Image.
The closest I've come to restoring my device to how it was before is either:
Restoring System, Data and Boot , in which case booting ends up in Fastboot.
OR
Restoring Data and Boot, and System Image, and then not being able to login (plus, no access to Data from TWRP).
I have literally no idea what else to do. If anyone has any idea or suggestion, it would be greatly appreciated.
I'd rather wait for some suggestions before trying to flash other zip files that deal with encryption, since I never had to do that when I first rooted with Magisk.
------------------------------------------------------------------------------
How the device is supposed to be:
Bootloader unlocked
TWRP Recovery 3.3.0-1
OxygenOS 5.0.8 (Oreo)
Magisk 18.1
Main user account
Secondary user account
Work Profile (with Shelter) on Main user account
What I have available:
Full TWRP backup of all partitions [Data, System, Cache. System Image, EFS, Recovery, Boot]
oandbackup backups of Main & Secondary user accounts (apps and APKs)
Manual file backup of Main user account's Internal Storage
All OxygenOS Oreo zip files that Oneplus was releasing over time
TWRP images (3.2.1-0 and up)
Stock OxygenOS recovery (they used to have it available)
Magisk Installer/Uninstaller/Manager APK
Time on my hands
Sleep deprivation points
Enough will to live

Question TWRP won't mount internal storage and doesn't detect OS

I daily drive a Redmi Note 10 Pro (great phone for anyone having a 250 euro budget if you can get the 8GB version) and decided to swap roms after getting fed up with MIUI's bull****, I ended up installing Pixel OS via ADB Sideload. After a while, I decided to root my phone (mainly to install some mods for the OS such as Dolby Atmos support etc.) and installed TWRP. However TWRP won't mount storage posting "Failed to mount storage" and pressing "Reboot to system" leads to a message saying "No OS detected", before booting back into Pixel OS just fine. Some people are saying that doing a Dalvik Cache and Cache wipe is supposed to fix this issue, however I can't do that if I cant even mount the storage. Another solution people are throwing around is reinstalling your basic recovery, doing a complete factory reset then installing TWRP and your custom OS. All of these solutions are a huge pain in the butt and I would like to avoid resetting my whole phone for the 4th time in 2 months. Has anyone experienced this and can suggest a fix, or is it something I can attribute to Android 12 not being supported by TWRP yet?
imho you have done it in the wrong sequence, because installing a rom, means encrypting storage.
It could be that you have installed the wrong version of Twrp that doesn't support A12 or that encryption is the reason Twrp can't mount storage anymore.
CvGR said:
I daily drive a Redmi Note 10 Pro (great phone for anyone having a 250 euro budget if you can get the 8GB version) and decided to swap roms after getting fed up with MIUI's bull****, I ended up installing Pixel OS via ADB Sideload. After a while, I decided to root my phone (mainly to install some mods for the OS such as Dolby Atmos support etc.) and installed TWRP. However TWRP won't mount storage posting "Failed to mount storage" and pressing "Reboot to system" leads to a message saying "No OS detected", before booting back into Pixel OS just fine. Some people are saying that doing a Dalvik Cache and Cache wipe is supposed to fix this issue, however I can't do that if I cant even mount the storage. Another solution people are throwing around is reinstalling your basic recovery, doing a complete factory reset then installing TWRP and your custom OS. All of these solutions are a huge pain in the butt and I would like to avoid resetting my whole phone for the 4th time in 2 months. Has anyone experienced this and can suggest a fix, or is it something I can attribute to Android 12 not being supported by TWRP yet?
Click to expand...
Click to collapse
Check here and then you'll revise your opinion
👍[SHARED] orange fox recovery with decryption for Android 12,13
Update post 9 with android 13 decryption support Here I'm sharing the nearly perfect recovery orange fox with implemented decryption for android 12 ( I've tested only pin protection) The main advantage comparing TWRP is the "beautiful" UI and...
forum.xda-developers.com
TWRP is really unclear about wether it supports Android 12 on it's latest release. I've seen many YouTube videos of people daily driving this particular phone, with Pixel OS and TWRP installed so I don't think it has anything to do with the encryption. It may have something to do with me installing my OS via ADB Sideload and installing a custom recovery afterwards
Elinx said:
imho you have done it in the wrong sequence, because installing a rom, means encrypting storage.
It could be that you have installed the wrong version of Twrp that doesn't support A12 or that encryption is the reason Twrp can't mount storage anymore.
Click to expand...
Click to collapse
Laptapper said:
Check here and then you'll revise your opinion
👍[SHARED] orange fox recovery with decryption for Android 12,13
Update post 9 with android 13 decryption support Here I'm sharing the nearly perfect recovery orange fox with implemented decryption for android 12 ( I've tested only pin protection) The main advantage comparing TWRP is the "beautiful" UI and...
forum.xda-developers.com
Click to expand...
Click to collapse
Will check it out as soon as I'm back on my PC you're a lifesaver!

Categories

Resources