Any Pie Roms Without Loosing Internal Data - Treble-Enabled Device Guides, News, & Discussion

Hello Guys,
After flashing few pie roms and few GSI I faced really big trouble. When we flash rom we must install erecovery and factory format data. After doing this we loose everything on our internal memory. And this is very headaches. :silly:
So I search many times " How to flash pie roms without wiping internal storage" Finally I figure out a method. Some times you know about this, Some times you don't know about this. Pls let me guide.
• I do not responsible for bricked devices, dead SD cards
We call this "Universal DM-Verity, ForceEncrypt, Disk Quota Disablers"
Link here - https://forum.xda-developers.com/android/software/universal-dm-verity-forceencrypt-t3817389/amp/
Introduction....
• If you're currently encrypted: BACKUP YOUR INTERNAL STORAGE TO YOUR PC.
1- Download zip file
2- Reboot to recovery, Then format data.
3- Reboot back into recovery
4- After doing that or if you're not encrypt anymore
5- Make a backup using TWRP ( Ramdisk,Vendor)
6- Wipe required partitions(If you want)
7- Flash your rom, custom kernel (if applicable), then this zip, the magisk/supersu/other root, then Gapps
8- Most important part after flashing rom, You must factory reset using twrp. (TWRP -> Wipe -> slide Left to Right)
• This zip should be flashed after anything that modifies your boot img (like a custom kernel) but before magisk/supersu since this zip creates the files that tells magisk/supersu to not encrypt.
Congratulations now you don't need bootloader for flash roms... :laugh: Feel Free
Credits - @Zackptg5

Related

Not possible to do a complete backup under Recovery TWRP

Hello everyone.
I am new owner of an S7 Edge and so I root it is ok!
I have installed a recovery version 3.0.2.4 this is ok too but I have a concern to make a full backup.
1 - When starting recovery I have a screen that says "Installing zips or operations via adb may change the system partition".
2 - When I want to do a backup I have these 03 options that are checked.
Booting
System
Data
But when I drag to make this backup I have error messages
Here are the images to better understand.
I think I have forgotten something, could you orient me please?
Thank you for your help.
encrypted data...... so if you want do a backup try out flashfire......
Working fine with flashfire !!
But there is still the solution of real recovery?
How to decrypt the data?
To make a backup?
Thanx !
1. Reboot to TWRP, Wipe > Format Data > Type 'yes'. This will wipe all the data on your phone including internal storage.
2. Don't reboot, and flash either SuperSU or one of the zips from here (latest version would be preferred). Since you have to wipe your internal storage in the previous step, put the zip in your external sdcard beforehand or flash it through adb sideload if you know how to.
Be careful when flashing stock firmware with odin, as it will automatically encrypt your device again. After you flash stock firmware, reboot directly into download mode again, flash TWRP, reboot to TWRP, and then follow step 2.
Hi !
I will download a stock rom in case of problem and I come back to give the results.
Big thanks !!! :good: :good:
kykint said:
1. Reboot to TWRP, Wipe > Format Data > Type 'yes'. This will wipe all the data on your phone including internal storage.
2. Don't reboot, and flash either SuperSU or one of the zips from here (latest version would be preferred). Since you have to wipe your internal storage in the previous step, put the zip in your external sdcard beforehand or flash it through adb sideload if you know how to.
Be careful when flashing stock firmware with odin, as it will automatically encrypt your device again. After you flash stock firmware, reboot directly into download mode again, flash TWRP, reboot to TWRP, and then follow step 2.
Click to expand...
Click to collapse
Work perfectely very very good !
Thanks for answers !!

[CLOSED][OFFICIAL][RECOVERY] OrangeFox Recovery Project [R10.0]

OrangeFox Recovery Project
{
"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:
/*
* Your warranty is now void.
*
* We're not responsible for bricked devices, dead SD cards,
* thermonuclear war, or you getting fired because the alarm app failed. Please
* do some research if you have any concerns about features included in this recovery
* before flashing it! YOU are choosing to make these modifications, and if
* you point the finger at us for messing up your device, we will laugh at you.
*
*/
OrangeFox is FREE SOFTWARE​
Supports Treble, Miui, Custom Roms
Downloads:
Sourceforge: https://sourceforge.net/projects/orangefox/files/vince/
OrangeFox website: https://files.orangefox.website/OrangeFox-Stable/vince/
INSTALLATION:
0. Backup your ROM and all your data
1. Download the OrangeFox zip file to your device
2. Reboot to your custom TWRP-based Recovery
3. Install the OrangeFox zip file as a normal zip
4. The device will automatically reboot into OrangeFox recovery after installation (allow this to happen)
5. Enjoy!
Frequently Asked Questions, MIUI OTA, Troubleshooting, and Sundry Information:
* See https://forum.xda-developers.com/showpost.php?p=76885728&postcount=3
Credits
* TeamWin - for TWRP
* The OrangeFox Team - for your hard work
* All our testers - for your patience and help
FEATURES:
* Supports Treble and non-Treble ROMs
* Updated with latest TWRP commits
* Built-in support for installing init.d functionality
* Built-in support for installing Magisk
* AromaFM
* Password
* Support for Miui and Custom ROMs
* Better language support
* Optimized versions of community scripts
* Fox theme engine:
- choice of theme (black, dark, etc)
- choice of color scheme
- choice of splash screen
* Alternative lockscreen
* And many more!
Screenshots
See https://files.orangefox.website/Screenshots/R10/
Other useful information - see below
XDA:DevDB Information
OrangeFox Recovery Project, Tool/Utility for the Xiaomi Redmi Note 5 / 5 Plus
Contributors
DarthJabba9, MrYacha, 4PERTURE
Source Code: https://gitlab.com/OrangeFox
Version Information
Status: Stable
Current Stable Version: R10.0
Stable Release Date: 2019-07-08
Created 2018-06-22
Last Updated 2019-07-09
OrangeFox R10.0 released
We have released OrangeFox R10.0
Changelog: https://files.orangefox.website/OrangeFox-Stable/R10-Changelog.md
Download: https://files.orangefox.website/OrangeFox-Stable/vince/
INSTALLATION:
0. Backup your ROM; backup; backup; backup
1. Download the OrangeFox zip file to your device
2. Reboot to your custom TWRP-based Recovery
3. Install the OrangeFox zip file as a normal zip
4. The device will automatically reboot into OrangeFox recovery after installation (allow this to happen)
5. Enjoy!
Frequently Asked Questions; Installation from stock recovery; MIUI OTA; Troubleshooting; Sundry Information:
* See https://forum.xda-developers.com/showpost.php?p=76885728&postcount=3
------------------:
Our group - https://t.me/joinchat/HNZTNky4zkpWc7na_-Beow
Our channel - https://t.me/OrangeFoxRecovery
Downloads -
* https://files.orangefox.website/OrangeFox-Stable/vince/
* https://sourceforge.net/projects/orangefox/files/vince/
------------------:
Sundry OrangeFox information
FAQ:
#0. I HAVE ENCOUNTERED A PROBLEM WHILE USING ORANGEFOX :
1. Provide the logs - and -
2. Provide a full explanation of precisely what has happened, and precisely how you got to that point. Cryptic or generic statements of something "not working", etc., are quite useless to us. We need full details of everything - and the more the details, the better.
3. If you do not provide both of these, then we will simply ignore any report of any problem. So, it is advisable to (a) learn how to take logs before trying anything, and (b) always take the logs before rebooting after using the recovery.
#1. INSTALLING ORANGEFOX RECOVERY FROM STOCK MIUI RECOVERY (adb/fastboot method):
You need a PC for this. If you do not have a PC, or access to a PC, then you are stuck!
1. Install adb, fastboot, and the relevant USB drivers onto your PC
2. Install the Mi Flash tool onto your PC
3. Download the correct OrangeFox zip file to your phone, and to your PC
4. Extract recovery.img from the OrangeFox zip file, and copy recovery.img to your PC’s adb directory
5. Reboot your phone into fastboot/bootloader mode
6. Unlock your bootloader
7. Open up a command line window on your PC
8. Change to the adb directory on your PC
9. “Hotboot” OrangeFox by running the command: fastboot boot recovery.img
** Note: some devices do not like the "fastboot boot ..." command (eg, lavender). You must NOT run this command on those devices. Rather, you should run the command: fastboot flash recovery.img - and when it has finished flashing, then boot into OrangeFox by using the Power+Vol+ hardware key combination.
10. After OrangeFox has booted up, check that everything is working – eg, that it has mounted the data partition successfully, and that the touchscreen works.
11. Select “Install”, then find and select the OrangeFox zip, and swipe to install it
12. After installation, the phone will automatically reboot into OrangeFox
13. Enjoy!
#2. SETTING UP MIUI OTA (on supported devices):
1. Download the most up-to-date release of OrangeFox Recovery
2. Download a full MIUI ROM that will be the basis of your future MIUI experience, and copy it to your phone’s storage
3. Flash the OrangeFox Recovery zip with your current custom recovery (or follow the steps in the thread for installing from adb/fastboot)
4. Reboot into OrangeFox Recovery (this will have happened automatically if you flashed the OrangeFox zip)
5. Go to the OrangeFox settings, and enable these MIUI OTA settings -
a. Support MIUI incremental OTA
b. Include system in OTA survival
c. Incremental OTA signature verification
d. Aggressive stock recovery deactivation
e. Disable DM-Verity (note: do not enable this for the newest Xiaomi devices released in 2019, or when flashing the latest MIUI ROMs for Android 9.0 or 10.0)
7. Go to the “Wipe” menu, and wipe data, cache, and dalvik
8. Reboot OrangeFox
9. Flash your full MIUI ROM. After the ROM is flashed, OrangeFox will start the "OTA_BAK" process, which will backup your system and boot partitions into the /sdcard/Fox/OTA directory. You must NOT delete any of the files in the /sdcard/Fox/OTA directory. If you do, then incremental OTA updates will most definitely fail.
10. Reboot your phone, and start to use your phone normally
11. When MIUI notifies you that there is an update, download the update, using the MIUI updater app, and allow it to reboot automatically to OrangeFox
12. OrangeFox will install the update automatically (this might take several minutes)
13. OrangeFox will reboot the phone automatically upon completion of the installation of the MIUI OTA update
14. After this, you will not need to flash a full ROM any more - just follow the steps in #10 above
15. If you want to move to a completely different version/build of MIUI, then you will first need to clean-flash the full ROM of that MIUI build, as described above.
#3. RETURNING TO A MIUI ROM FROM A TREBLE ROM:
The cleanest and easiest way to return to MIUI from a custom Treble ROM is to flash a full fastboot MIUI ROM, using the Mi Flash tool. This method should be used in preference to any other method (just ensure that you do not accidentally lock your bootloader again - else, there will be tears). Note that this method will probably format your storage and replace the custom recovery with the stock MIUI recovery. It is generally a good thing to allow your data to be formatted during the flashing of MIUI (so better first backup your apps and settings and data to an external storage device), because this is the best guarantee of trouble-free MIUI. You will subsequently need to flash OrangeFox again using the method described in #1 above.
If you choose to not use method of restoring MIUI that has just been described above, then see the instructions below:
A. Treble ROMs on many older devices use MIUI’s “cust” partition for their vendor image. This process removes the Xiaomi proprietary files that are necessary for MIUI to run. These files must be restored, otherwise MIUI will not work properly. This is not required for devices that have a dedicated vendor partition (ie, those that shipped with a full Treble ROM).
B. For older devices (eg, kenzo, mido, vince) where the cust partition is also used for the treble ROMs' vendor partitions, if you did not create a backup of your MIUI cust partition to MicroSD or USB-OTG before installing a Treble ROM, then you must use the method just described above (ie, flash a full fastboot MIUI ROM, using the Mi Flash tool.)
C. If you DID create a backup of your MIUI cust partition on these old devices (in the newest versions of OrangeFox, this would be the “vendor” partition – it points to the same location as “cust”) to MicroSD or USB-OTG, then you can use OrangeFox to install MIUI when coming from a Treble ROM.
D. Take the following steps:
1) Backup your internal memory to an external device (eg, MicroSD, USB-OTG, or your PC). DO NOT SKIP THIS STEP!
2) Copy the latest stable MIUI ROM to your MicroSD or USB-OTG storage
3) Boot OrangeFox
4) Make sure that OrangeFox can read your MicroSD or USB-OTG storage, and can see the MIUI ROM that you copied there. This is the ROM that you will install in the steps below.
5) Select the “Wipe” menu and wipe the Dalvik/Art Cache and Cache partitions
6) Format data (“format” - not “wipe”) - you will lose all the contents of your internal memory after doing this
7) Reboot OrangeFox - you might see a message saying “No OS installed …” - just swipe to reboot OrangeFox
8) Flash your MIUI ROM
9) Reboot to system, and wait for a long time ...
10) When ready, restore your backup of your internal memory from your external storage device.
#4. FLASHING ROMS:
Flashing a ROM is usually a straightforward process. You can either do a "clean" flash, or a "dirty" flash.
First things:
When flashing a ROM, you want to ensure that the recovery is in a known state, before you start flashing the ROM. Therefore, you should always observe the following:
1. Do NOT flash a ROM in a queue with other zips. Always flash a ROM on its own, and when flashing is completed, reboot OrangeFox, before doing anything else.
2. If you ever wipe the /vendor partition, then you must reboot OrangeFox immediately afterwards - before doing anything else (eg, flashing a ROM or anything else you might want to do).
3. If you ever wipe the /system, partition, then you must reboot OrangeFox immediately afterwards - before doing anything else (ignoring any warnings about no OS being installed).
4. If you ever format the data partition, then you must reboot OrangeFox immediately afterwards - before doing anything else.
5. If your Xiaomi device has ARB, and you are on a MIUI ROM, then you had better tread very carefully if you want to change your MIUI ROM to a different MIUI ROM, or to a different version of the same MIUI ROM. Search on Google for "ARB", read and understand everything, and then decide whether you really need to proceed.
6. Make a full backup of your current ROM - before performing any other operations in the recovery. At the very least, backup the /system, /data, /boot and /vendor partitions.
7. Please note that, if you do not follow all of the above instructions, and you encounter problems afterwards (which you definitely will), I will not answer any questions.
A. "Clean flashing" (Very strongly recommended)
1) Backup your internal storage, applications, settings, SMS messages, call logs, etc Do NOT skip this step.
2) Bootup OrangeFox Recovery
3) Select "Wipe", then tick Data, Dalvik/Art Cache, and Cache
4) Swipe - this will restore the system to a known state, and will remove apps/settings that might be incompatible with the ROM that you wish to install (NOTE: if you are moving from MIUI to custom ROMs, or vice versa, you must format your data partition - "Menu->Manage Partitions", select "Data", click on "Format Data", and type "Yes"; this will format your data partition and will also wipe your internal storage).
5) Reboot OrangeFox
6) In the OrangeFox File Explorer, select the ROM that you want to flash
8) Swipe to flash the ROM
9) Reboot OrangeFox recovery - before doing anything else - so that any changes to partitions/filesystems done by flashing the new ROM will take full effect
10) Boot up the ROM (so that it can complete whatever it first needs to do) - you might need to wait for a long time while the new ROM sets itself up (note that, for some ROMs, flashing magisk might first be required before booting up the ROM for the first time)
11) Reboot to OrangeFox recovery
12) Flash whatever else you might want to flash (eg, GAPPs, magisk, etc)
13) Reboot your device
14) Enjoy
B. "Dirty flashing" (NOT recommended)
1) Bootup OrangeFox Recovery
2) Select "Install"
3) Choose the ROM that you want to flash
4) Swipe to flash
5) Wipe cache and dalvik
6) Reboot OrangeFox recovery - before doing anything else - so that any changes to partitions/filesystems done by flashing the new ROM will take full effect
7) Flash whatever else you might want to flash (eg, GAPPs, magisk, etc)
8) Reboot your device
9) Enjoy (or experience a bootloop)
NOTE: Dirty flashing a ROM is NOT recommended. It can cause all kinds of random problems. Always choose to "clean flash"
#5. "YOUR SYSTEM HAS BEEN DESTROYED" scenarios:
A) If you have one of these, then, yes, you might be in deep trouble! But this has nothing to do with OrangeFox. It is rather a result of your decisions and what you have chosen to do, or to flash.
B) For possible solutions, Google is your friend.
C) Salient advice: next time, look very carefully before flashing anything. It is your responsibility to ascertain and completely understand, a) what you are installing, b) what instructions it is giving to the recovery, c) what it will do as part of the installation, and d) what it will do after the installation. Otherwise, there will be tears.
#6. MY DEVICE IS ENCRYPTED:
This is excellent. If your device gets stolen or lost, at least your data on non-removable storage is secure. But, if, for some reason, you would prefer for your data to not be secure, then you can remove the encryption by formatting your data partition (note - format - not just wipe). This process will also permanently delete all the contents of your internal storage. So, you had better backup your internal storage onto an external device before formatting - else, you can say "good bye" to all the photos, files, music, videos, etc, on your internal storage.
Note: ticking "Disable Forced Encryption" will most certainly not remove encryption from your device. That is not its purpose. The only way to remove encryption is to format your data partition.
#7. I GET "ERROR 7" WHEN TRYING TO INSTALL <whatever>:
* This is a very old problem, which has nothing at all to do with OrangeFox. So, Google is your friend.
* Hint: this is usually an issue with the "updater-script" inside whatever it is that you are trying to install. It is checking for a specific device (with "getprop ro.product.device"), but either finds an empty value, or finds another device. Check that what you are trying to install is the correct version for your device (run the previously mentioned "getprop" command yourself, from a terminal). If so, then speak to whoever released the zip installer that you are trying to install, and ask them to fix their script. If you wiped your system partition, reboot the recovery.
* Also check that you have the correct firmware version installed. Sometimes, error 7 is a result of not having the minimum firmware version that the zip installer is expecting.
* Hint2: whenever this happens, take a copy of the recovery logs immediately (ie, before doing anything else) and post the logs when you are trying to report the problem. The recovery.log file will provide devs with a lot of useful information in trying to get to the bottom of what has happened. Reporting the problem without posting the logs would be a complete waste of everybody's time.
#8. I GET "ERROR 1" WHEN TRYING TO INSTALL <whatever>:
* This is a very old problem, which has nothing at all to do with OrangeFox. So, search Google.
..............................................................................................................................
Other useful downloads/information:
• Android SDK platform tools (adb, fastboot, etc): https://developer.android.com/studio/releases/platform-tools
• ADB, Fastboot, & Drivers: https://forum.xda-developers.com/showthread.php?t=2588979
• Mi Flash tool: https://www.xiaomigeek.com/download-xiaomi-mi-flash-tool.html
• Xiaomi USB drivers: https://www.xiaomigeek.com/download-xiaomi-usb-driver-windows.html
• How to install TWRP: https://www.xda-developers.com/how-to-install-twrp/
• How to install adb: https://www.xda-developers.com/install-adb-windows-macos-linux/ ​
Supported Languages:
cz.xml
de.xml
el.xml
en.xml
es.xml
fr.xml
hu.xml
in.xml
it.xml
ja.xml
nl.xml
pl.xml
pt_BR.xml
pt_PT.xml
ru.xml
sk.xml
sl.xml
sv.xml
tr.xml
uk.xml
zh_CN.xml
zh_TW.xml
It's asking for password
sayad1 said:
It's asking for password
Click to expand...
Click to collapse
How did you get to that point?
Edit: problem fixed in R6-Beta
DarthJabba9 said:
How did you get to that point?
Click to expand...
Click to collapse
I installed into redwolf recovery after installed no variety and rebooted recovery after successfully booted asked for password to decryption
sayad1 said:
I installed into redwolf recovery after installed no variety and rebooted recovery after successfully booted asked for password to decryption
Click to expand...
Click to collapse
Password for recovery, or password for ROM?
DarthJabba9 said:
Password for recovery, or password for ROM?
Click to expand...
Click to collapse
Password for access internal storage and mount system if I cancel I can't able to access internal storage
sayad1 said:
Password for access internal storage and mount system if I cancel I can't able to access internal storage
Click to expand...
Click to collapse
You are not really giving a lot of information.
1. Are you talking about accessing the internal storage in the Recovery, or are you talking about accessing your ROM?
2. Which ROM are you using?
Hint: OrangeFox does not do anything (eg, encryption) to your data partition. If your data partition is encrypted, it is normally something done by your ROM. Sometimes it depends on a setting in your ROM's configuration - but some ROMs force encryption by default.
The bottom line is that, if your data partition is encrypted, this is not an issue with the recovery. If you format your data partition, you will be able to access it afterwards. However, you obviously will lose your data (and the contents of your internal storage) so you need to do backups first.
sayad1 said:
It's asking for password
Click to expand...
Click to collapse
Same with me.
It asks password to decrypt /data partiton.
After flashing previous beta everything is Ok.
PS Are there any option to update OTA MIUI ROM and and retain custom recovery?
lyolic said:
Same with me.
It asks password to decrypt /data partiton.
After flashing previous beta everything is Ok.
Click to expand...
Click to collapse
That is very strange. And what happens when you flash R5.1 again?
lyolic said:
PS Are there any option to update OTA MIUI ROM and and retain custom recovery?
Click to expand...
Click to collapse
Yep. Go to the "Advanced-->Special Actions" menu.
Please Sur, how to do miui OTA, please explain it step by step, if you would be mind..
(Ive try redwolf, still cannot OTA)
gandrigoes said:
Please Sur, how to do miui OTA, please explain it step by step, if you would be mind..
(Ive try redwolf, still cannot OTA)
Click to expand...
Click to collapse
Here is a tutorial (about the original recovery that created this feature - but it should work (with suitable modifications) for OrangeFox too):
https://forum.xda-developers.com/redmi-note-3/how-to/zcx-twrp-install-twrp-flash-supersu-t3462448
DarthJabba9 said:
That is very strange. And what happens when you flash R5.1 again?
Click to expand...
Click to collapse
The same:
Mount
Decrypt
Data Partition
Data partition is encrypted
Please enter the password or press back button to cancel.
Click to expand...
Click to collapse
---------- Post added at 02:31 PM ---------- Previous post was at 01:49 PM ----------
DarthJabba9 said:
Yep. Go to the "Advanced-->Special Actions" menu.
Click to expand...
Click to collapse
I don't have "Special Actions" menu in Public beta.
Thank you, this stable version was expected
By my side, no issue after flashing, just the read only warning.
To answer above, on OF beta version, i've ticked options:
Incremental OTA signature verif
Include system OTA survival
Support MUI incremental OTA
and my device rebooted to OrangeFox to flash automatically the downloaded MUI updates (i've got two during the past weeks).
I guess options are the same for this stable version
My obligated question, Does this Recovery work with TREBLE and UN-TREBLE rom?
Godwarrior1 said:
My obligated question, Does this Recovery work with TREBLE and UN-TREBLE rom?
Click to expand...
Click to collapse
Yes, and also MIUI stock OTAs, tested by many.
I installed 4 hours ago and everything is working flawless. Congratulations Dev.
Godwarrior1 said:
I installed 4 hours ago and everything is working flawless. Congratulations Dev.
Click to expand...
Click to collapse
:good:
Do i need to wipe my internal storage after flashing this twrp? Because its keep asking for password everytime im trying to access internal storage from twrp and btw im using miui global stable

Cant root OP5 with android 9.0.3?

Hey,
So i wanted to update my android to pie and after updating i did the whole magisk method like i use to
But the thing is that after a restart both my wifi and LTE didnt work.. I kinda like the new android so i was wondering if theres a fix for that.
DrCow said:
Hey,
So i wanted to update my android to pie and after updating i did the whole magisk method like i use to
But the thing is that after a restart both my wifi and LTE didnt work.. I kinda like the new android so i was wondering if theres a fix for that.
Click to expand...
Click to collapse
Hi. Have you used this instructions?
https://forum.xda-developers.com/oneplus-5/how-to/official-oxygenos-4-5-2-7-1-1-ota-t3627003
Let us know about your phone's recovery, which magisk version you used, If you're using TWRP as your recovery let us know your TWRP recovery's version. Also did you dirty flashed your OTA or clean?
Ebeninyo said:
Hi. Have you used this instructions?
https://forum.xda-developers.com/oneplus-5/how-to/official-oxygenos-4-5-2-7-1-1-ota-t3627003
Let us know about your phone's recovery, which magisk version you used, If you're using TWRP as your recovery let us know your TWRP recovery's version. Also did you dirty flashed your OTA or clean?
Click to expand...
Click to collapse
Im not sure what instructions are you talking about but this isnt the first time i root my device.
Im using TWRP 3.2.1 since the last version giving me a little problems when trying to root. Im using the last magisk version.
About dirty or clean.. I first tried just flashing nornal from the OTA and then after it worked (no wifi or LTE) i tried to do factory reset and root again
Sent from my ONEPLUS A5000 using Tapatalk
DrCow said:
Im not sure what instructions are you talking about but this isnt the first time i root my device.
Im using TWRP 3.2.1 since the last version giving me a little problems when trying to root. Im using the last magisk version.
About dirty or clean.. I first tried just flashing nornal from the OTA and then after it worked (no wifi or LTE) i tried to do factory reset and root again
Sent from my ONEPLUS A5000 using Tapatalk
Click to expand...
Click to collapse
Try flashing this first https://sourceforge.net/projects/cheeseburgerdumplings/files/16.0/cheeseburger/recovery/
Download ota again and clean flash it from the recovery.
It might be because your TWRP isn't compatible to Pie. Most people here including me tried codework's TWRP and it solved any of our issues.
Edit: after flashing magisk reboot your phone once more. (i didn't knew it before. I booted into my os and checked magisk app to see if root was successfull but it didn't show me. I wiped everything down and flashed magisk again. Same thing happened. Rebooted my phone and saw root was on )
Ebeninyo said:
Try flashing this first https://sourceforge.net/projects/cheeseburgerdumplings/files/16.0/cheeseburger/recovery/
Download ota again and clean flash it from the recovery.
It might be because your TWRP isn't compatible to Pie. Most people here including me tried codework's TWRP and it solved any of our issues.
Click to expand...
Click to collapse
Will try it on the weekend.. I had some problems restoring my previous backup so i rather be home when i do it
Sent from my ONEPLUS A5000 using Tapatalk
Edit:
Wait the wifi and the LTE problem can be caused by the recovery?
DrCow said:
Hey,
So i wanted to update my android to pie and after updating i did the whole magisk method like i use to
But the thing is that after a restart both my wifi and LTE didnt work.. I kinda like the new android so i was wondering if theres a fix for that.
Click to expand...
Click to collapse
I would suggest do a complete clean install (wiping everything but USB OTG) and making sure you got the latest TWRP from blu_spark or codeworkx. Also flash it following these instructions:
[Clean Flash] For Users with an Unlocked Bootloader and TWRP Recovery:
- Download the full ROM zip from the downloads section above
- Transfer the zip to the root of your device's internal storage
- Only needed if you are coming from Oreo or if you use an old TWRP recovery that's not the latest and Pie compatible: Remove the compatibility.zip from the downloaded full ROM zip with either MiXplorer or Total Commander (not with any other tool!) on your device itself
- Reboot to TWRP recovery (make sure you're using siankatabg's TWRP if you're on Oreo or codework's TWRP/blu_spark TWRP if you're on Pie) and take a nandroid backup of your existing ROM
- Flash Magisk Uninstaller (recommended)
- From the TWRP menu, Wipe > Advanced wipe > Select dalvik-cache, cache, system, vendor and data> Swipe to wipe
- From the TWRP menu, Install > Select full ROM zip (modified one with compatibility.zip removed, in case you're on Oreo or unmodified one, in case you're on Pie) > Swipe to flash
- Flash the latest stable Magisk in case you want to root
- From the TWRP menu, Wipe > Advanced wipe > Select dalvik-cache and cache > Swipe to wipe
- Optional: If you wish to decrypt, format data via TWRP (please note that wiping the data partition, which we did in the 5th step above, is not the same as formatting it) and after that flash Disable DM-Verity and ForceEncrypt 2.0 (OP5-5T-Treble).zip from here
- Reboot
Full instructions and downloads from -> https://forum.xda-developers.com/oneplus-5/how-to/official-oxygenos-4-5-2-7-1-1-ota-t3627003
i ended up giving up..
im trying to do a clean flash
but the moment i flash the recovery and trying to go into the recovery
boom
black screen
i tried it multiple times both with codework 3.2.3 and blu_spark
Edit: Flash universal codework 3.2.1 does get me into recovery
im gonna restore my backup...for now
Z-Blade said:
I would suggest do a complete clean install (wiping everything but USB OTG) and making sure you got the latest TWRP from blu_spark or codeworkx. Also flash it following these instructions:
[Clean Flash] For Users with an Unlocked Bootloader and TWRP Recovery:
- Download the full ROM zip from the downloads section above
- Transfer the zip to the root of your device's internal storage
- Only needed if you are coming from Oreo or if you use an old TWRP recovery that's not the latest and Pie compatible: Remove the compatibility.zip from the downloaded full ROM zip with either MiXplorer or Total Commander (not with any other tool!) on your device itself
- Reboot to TWRP recovery (make sure you're using siankatabg's TWRP if you're on Oreo or codework's TWRP/blu_spark TWRP if you're on Pie) and take a nandroid backup of your existing ROM
- Flash Magisk Uninstaller (recommended)
- From the TWRP menu, Wipe > Advanced wipe > Select dalvik-cache, cache, system, vendor and data> Swipe to wipe
- From the TWRP menu, Install > Select full ROM zip (modified one with compatibility.zip removed, in case you're on Oreo or unmodified one, in case you're on Pie) > Swipe to flash
- Flash the latest stable Magisk in case you want to root
- From the TWRP menu, Wipe > Advanced wipe > Select dalvik-cache and cache > Swipe to wipe
- Optional: If you wish to decrypt, format data via TWRP (please note that wiping the data partition, which we did in the 5th step above, is not the same as formatting it) and after that flash Disable DM-Verity and ForceEncrypt 2.0 (OP5-5T-Treble).zip from here
- Reboot
Full instructions and downloads from -> https://forum.xda-developers.com/oneplus-5/how-to/official-oxygenos-4-5-2-7-1-1-ota-t3627003
Click to expand...
Click to collapse
For the "Clean" Install given that OnePlus5 doesn't have external microSD storage, will ALL data (photos, documents etc) on the phone be erased in Step 6 above?
lorrdvader said:
For the "Clean" Install given that OnePlus5 doesn't have external microSD storage, will ALL data (photos, documents etc) on the phone be erased in Step 6 above?
Click to expand...
Click to collapse
No, it wont because all of that is stored in the Internal Storage. So as long as you don't check that, you will still have your data. However, I personally wipe everything including the internal storage when moving to a new rom. I prefer to start with a complete clean slate but it is optional.

Afraid of flashing and bricking my phone

So, I've flashed before but somehow this time I'm really afraid of briking my phone and I would love to be sure of what I'm doing.
Currently my phone has LOS 16 and TWRP. I want to install PE 9 (PE 10 seems a bit buggy in things I need) and orangefox recovery.
According to what I've searched I should be doing this:
Backups of boot, system and data - Do I need to backup vendor too or any other thing? Afraid of dm-verity
Remove pin/passwords/fingerprints. Enable USB debugging and all that just in case.
Copy orangefox recovery + PE rom into internal storage.
Enter TWRP, flash orangefox.
Reboot (Will it enter orangefox directly or do I need to do something else?)
Format data (To avoid being asked for a password) - I don't really know how to do this, does the option show up in OFox?
Wipe system, data, cache, dalvik/art cache
Flash PE (no Gapps needed I believe)
Flash Magisk (Do I need a reboot in between these two flashes)
Boot.
Is this what I should do to avoid any bricks and any password protected things?

Installation lineageos

Hi guys,i have a mi9t with bl unlocked and would change from miui to lineage,but my device is crypted,i can flash twrp,do wipe,install and reboot o could be dangerous with the encryption and how to disable if i can,t flash lineage,thank
(sorry for my bad english)
sbnnn said:
Hi guys,i have a mi9t with bl unlocked and would change from miui to lineage,but my device is crypted,i can flash twrp,do wipe,install and reboot o could be dangerous with the encryption and how to disable if i can,t flash lineage,thank
(sorry for my bad english)
Click to expand...
Click to collapse
General procedure when switching ROMs (you can double-check, guides can be found elswhere, not specifically for LOS and generally for Xiaomi phones)
- Backup as much as you can, by various methods
- Install the latest official TWRP
- Boot to TWRP, enter your Android unlock pin to be able to see Internal memory (to be able to flash the ROM zip file from Internal memory)
- Flash the ROM (do not Wipe anything)
- F O R M A T (not Wipe - different options in TWRP, formatting does more than wiping, that's what you need for the proper encryption for the new ROM) DATA partition (it will also wipe Internal memory - that's why you need to backup first)
- reboot to the new ROM
zgfg said:
General procedure when switching ROMs (you can double-check, guides can be found elswhere, not specifically for LOS and generally for Xiaomi phones)
- Backup as much as you can, by various methods
- Install the latest official TWRP
- Boot to TWRP, enter your Android unlock pin to be able to see Internal memory (to be able to flash the ROM zip file from Internal memory)
- Flash the ROM (do not Wipe anything)
- F O R M A T (not Wipe - different options in TWRP, formatting does more than wiping, that's what you need for the proper encryption for the new ROM) DATA partition (it will also wipe Internal memory - that's why you need to backup first)
- reboot to the new ROM
Click to expand...
Click to collapse
I am in twrp without pin,but it Is removed after restart,so can i flash a rom with MIUI encrypted(only format)?
sbnnn said:
I am in twrp without pin,but it Is removed after restart,so can i flash a rom with MIUI encrypted(only format)
Click to expand...
Click to collapse
If you don't use the pin on Android, TWRP should not ask you.
If you use pattern, it will ask you for the pattern
But you need that only to be able to navigate to the zip file you want to flash.
You can put the zip file to USB -OTG or also to external SD card you will put to the second SIM slot, then TWRP does not need the pin, it will not need to read Internal memory
After you flash and when you Format Data (it will also reformat Internal memory), it's all over
When you reboot to the new ROM, the new ROM will create it's own, new encryption (but to be able to do that, you had to Format Data before rebooting to that new ROM)
Some ppl do even this way:
- first they Format Data
- then they sidelload new ROM zip file from PC (they cannot flash from Inernal memory because they have already formatted Data and therefore lost everything from Internal nemory)
- then they reboot to the new ROM
Ie, it is important that you do both flashing the ROM and formatting Data from TWRP before you reboot, the order is not important
However, for me it's easier to flash from Download folder than sideloading, that's why I suggested you to Format after flashing
Once you reboot to the new ROM, it will establish its new encryption, it will ask you to setup your new unlock pin/pattern (or nothing if you prefer your phone to stay unsecure)
---
Hence, if you will be sideloading or flashing from USB-OTG or external SD card, who cares for your unlock pin while you are entering TWRP before flashing
---
Wiping Data delete files and folders only, but the old encryption remains (and new ROM does not handle it)
Formatting prepares Data (with Internal memory) for nthe new ROM to make its own, new encryption
You know what is different between formatting hard disk/usb stick/SD card from just wiping files.
Formatting creates new file system, wiping leaves the old file system but only removes files and folders
Btw, some people wipe only (or do not even wipe because they 'think' they can save their stuff while switching the ROM)
Then they report problems with the new ROM (and neither the new ROM, nor TWRP can no more read Internal memory, hence they loose their stuff anyway)
Then they cry for help, and they finally learn and accept they have to Format Data - they do it (it doesn't affect the ROM they had previously flashed to System partition - different partition hence not affected by later formatting Data)
After they finally format Data (two days or a week later after flashing the new ROM), they reboot and they can finally then to properly setup.the new ROM
zgfg said:
Btw, some people wipe only (or do not even wipe because they 'think' they can save their stuff while switching the ROM)
Then they report problems with the new ROM (and neither the new ROM, nor TWRP can no more read Internal memory, hence they loose their stuff anyway)
Then they cry for help, and they finally learn and accept they have to Format Data - they do it (it doesn't affect the ROM they had previously flashed to System partition - different partition hence not affected by later formatting Data)
After they finally format Data (two days or a week later after flashing the new ROM), they reboot and they can finally then to properly setup.the new ROM
Click to expand...
Click to collapse
I have installed lineageos without problem,but when i try to flash potatoasosp with android 12 result an error,It would baseband v12.1.4(like),how to now?
Thank for tour support
sbnnn said:
I have installed lineageos without problem,but when i try to flash potatoasosp with android 12 result an error,It would baseband v12.1.4(like),how to now?
Thank for tour support
Click to expand...
Click to collapse
No idea, I don't use those ROMs (I prefer MIUI not stock but Xiaomi.eu)
Flash firmware - it's all described in 1st post. You need specific firmware for ROM to work

Categories

Resources