I want a clean install on my mate 20.
I have unlocked bootloader and want to install stock rom with root prevs.
My current install process:
I first
flash with twrp
then remove encryption
then wipe cache/dalvik
then format data,
then install romaur v1.x from twrp.
when get into emui i use emui flasher1.1apk to go to the firmware i want.
This process takes to long and what file-format does the firmware need to be in order to install stock rom from twrp??
I love the romaur, but there are some components removed from the rom that i have gotten used to in emui.
The rom is ultra fast tough! (sorry Aur)
So how to makes this work:
TWRP
Format data
clear cache/dalvik
install 9.0.0.xxx (optional rom)
Finish with a clean install and then root with patched_boot.img
Then install magisk ++++
Any ideas? Hope my post makes sense.
Regards, Kenneth, Norway
#mate20problackincludeNMstorage
I guessing there is no way to install stock rom from twrp then??
???
how about using hstool to upgrade to the latest firmware and then unlock bootloader and flash patched magisk to recovery_ramdisk partition.
and if you want twrp you can flash it to ercovery partition
Daniehabazin said:
how about using hstool to upgrade to the latest firmware and then unlock bootloader and flash patched magisk to recovery_ramdisk partition.
and if you want twrp you can flash it to ercovery partition
Click to expand...
Click to collapse
With HStool does The bootloader get locked again?
Sure that sounds good. I Will try. Does it update or wipe clean to install??
fromiOS2Android said:
With HStool does The bootloader get locked again?
Sure that sounds good. I Will try. Does it update or wipe clean to install??
Click to expand...
Click to collapse
i'm not sure but i think the bootloader get's locked, and when you unlock the bootloader the phone get's wiped.
when i had locked bootloader and used hstool to update between versions my data was not wiped.
Daniehabazin said:
i'm not sure but i think the bootloader get's locked, and when you unlock the bootloader the phone get's wiped.
when i had locked bootloader and used hstool to update between versions my data was not wiped.
Click to expand...
Click to collapse
Ok. Thanks. Just grotten used to using twrp now, but i'll try HStool next update?? thanks again
fromiOS2Android said:
Ok. Thanks. Just grotten used to using twrp now, but i'll try HStool next update?? thanks again
Click to expand...
Click to collapse
no problem
Related
-------------------------
Just flash the latest TWRP
Take a nandroid backup just to be safe
Do a factory reset
Download the ROM file (Titan Prime)
Download the latest gapps for 5.0
Flash ROM
Flash gapps
Wipe Cache and Dalvik
Reboot
Done
And about the bootloader update, that happens only when you use the OTA update. Otherwise it isnt necessary
I usually take the update first just because I like being up to sate but not necessary.
-------------------------
axl409 said:
You mean you like to update also the bootloader? Because I think that if you take the ota, the only thing that change is that also the bootloader will update.
Click to expand...
Click to collapse
Boot loader and recovery I belive. I just like everything on the latest version that is just me...
axl409 said:
You mean you like to update also the bootloader? Because I think that if you take the ota, the only thing that change is that also the bootloader will update.
Click to expand...
Click to collapse
Bootloaders & Recovery are two separate things. A bootloader is usually updated through official means only (OTAs & such). Meaning, bootloaders don't get updated when you flash a recovery zip.
I'd suggest you keep your recovery as updated as possible, as it'll have certain bugs & compatibility issues resolved.
Is there anyway to root and still get OTA ?
anttaz said:
Is there anyway to root and still get OTA ?
Click to expand...
Click to collapse
You will get OTA, after Root also, but after updating your root will gone, recovery will replaced by Stock recovery, and if You are decrypted after update
it will get encrypted.
uttam.ace said:
You will get OTA, after Root also, but after updating your root will gone, recovery will replaced by Stock recovery, and if You are decrypted after update
it will get encrypted.
Click to expand...
Click to collapse
Does stock recovery not allow zip flashing?
anttaz said:
Does stock recovery not allow zip flashing?
Click to expand...
Click to collapse
It allows local upgrade, but it has not much flexibility like TWRP.
I've just updated from 4.0.2 to 4.0.3 and here's how my "OTA" was working:
1) Got notification that the update is available
2) Went to XDA to download OOS 4.0.3. full ROM zip, TWRP 3.1.4.1 image and Magisk 11.1 root
3) rebooted to TWRP, flashed new ROM, Magisk root and TWRP image.
As far as I know, that's the only sure way to update your phone while keeping root and TWRP.
Does it pass safety net?
anttaz said:
Does it pass safety net?
Click to expand...
Click to collapse
Yes, it does! With MagiskHide it works like a charm.
Will ota work for cleaning system for say arise sound mod or will have to use full? And does full wipe device clean?
anttaz said:
Will ota work for cleaning system for say arise sound mod or will have to use full? And does full wipe device clean?
Click to expand...
Click to collapse
I'm sorry, i didn't fully understand what you were trying to say here
But i'll take a wild guess and tell you that in TWRP you always need to flash full ROM, not OTA version. Otherwise your phone won't boot.
hrsa said:
I'm sorry, i didn't fully understand what you were trying to say here
But i'll take a wild guess and tell you that in TWRP you always need to flash full ROM, not OTA version. Otherwise your phone won't boot.
Click to expand...
Click to collapse
Along those lines in a way does full ROM zip wipe phone each flash?
anttaz said:
Along those lines in a way does full ROM zip wipe phone each flash?
Click to expand...
Click to collapse
Nope, it never wipes anything other than system, so all your data and apps are safe.
anttaz said:
Along those lines in a way does full ROM zip wipe phone each flash?
Click to expand...
Click to collapse
Does flashing full ROM zip wipe phone with each flash?
Thanks all
Which version twrp to use seen official and a few others in forum for our device??
Hello, sorry for my bad english (German). I installed the update too and now my root, recovery, kernel.... are away. When I try to flash the recovery or other stuff with cmd, is there an error message: FAILED (remote: Partition flashing is not allowed)
Got anyone an idea how i can flash my recovery again?
Hi,
Actually mobiles is MIUI v8.5.9.0, official TWRP, unlocked bootloader and using Magisk.
Got OTA notification(9.5.4.0), so how i should do to update and end getting root(magisk), i dont care about twrp or stock recovery.(ofc, unlocked bootloader)
sirarisma said:
Hi,
Actually mobiles is MIUI v8.5.9.0, official TWRP, unlocked bootloader and using Magisk.
Got OTA notification(9.5.4.0), so how i should do to update and end getting root(magisk), i dont care about twrp or stock recovery.(ofc, unlocked bootloader)
Click to expand...
Click to collapse
download recovery flashable stock rom zip 9.5.4.0. (approximately 1.6GB in size)
flash it in TWRP recovery. (Data wipe not required)
don't forget to flash magisk else the rom won't boot.
Thanks a lot, already downloaded 9.2.1.0 and 9.5.4.0.
is possible do it next time throught ota? Maybe using Red Wolf Recovery?
reversegear said:
download recovery flashable stock rom zip 9.5.4.0. (approximately 1.6GB in size)
flash it in TWRP recovery. (Data wipe not required)
don't forget to flash magisk else the rom won't boot.
Click to expand...
Click to collapse
http://miui.vn/forum/threads/tool-t...-2-huong-dan-cai-dat-twrp-cho-mi-max-2.57326/ link here )) you can follow the instructions but it is vietnamese and i don't know link english
I am upgrading my OP3T from 5.0.1 to 5.0.3. My device is rooted using magisk and I have TWRP installed.
The system updates says -
"Root is detected, system will begin dowloading the full package. Your device will be un-rooted once the upgrade is completed."
Now my questions are
1. How to install the upgrade (5.0.3) without unrooting it ?
2. As it says it'll un-root my device, does it also mean it'll wipe my data as well ?
EDIT - I read about Dirty flashing the version I want but I can't find 5.0.3 image on Oneplus website.
shantam2 said:
The system updates says -
"Root is detected, system will begin dowloading the full package. Your device will be un-rooted once the upgrade is completed."
Now my questions are
1. How to install the upgrade (5.0.3) without unrooting it ?
2. As it says it'll un-root my device, does it also mean it'll wipe my data as well ?.
Click to expand...
Click to collapse
1. You can't.
2. No, but you can re-root it using TWRP (which will need to be reflashed via fastboot).
przemcio510 said:
1. You can't.
2. No, but you can re-root it using TWRP (which will need to be reflashed via fastboot).
Click to expand...
Click to collapse
Re-flashing magisk via TWRP will keep my data ?
It's the same as with all previous updates.
Go to TWRP, flash the whole rom,.don't exit,.flash latest Magisk,.done.
Everything will be as before, with the new system installed
Unleashed by my rooted OP3T on 8.0
RASTAVIPER said:
It's the same as with all previous updates.
Go to TWRP, flash the whole rom,.don't exit,.flash latest Magisk,.done.
Everything will be as before, with the new system installed
Unleashed by my rooted OP3T on 8.0
Click to expand...
Click to collapse
Can you elaborate more on this ?
After I upgrade (and it becomes unrooted). I immediately flash magisk via TWRP ?
I didn't get the part "flash the whole rom and don't exit" ?
Also, Will I lose any data in the process ?
shantam2 said:
Re-flashing magisk via TWRP will keep my data ?
Click to expand...
Click to collapse
Nothing will be lost even if you don't flash Magisk, so yes.
And Rastaviper meant that when you flash the update via TWRP, you don't reboot, but right after flashing the ROM you flash Magisk and then reboot, this way you will stay rooted.
przemcio510 said:
Nothing will be lost even if you don't flash Magisk, so yes.
And Rastaviper meant that when you flash the update via TWRP, you don't reboot, but right after flashing the ROM you flash Magisk and then reboot, this way you will stay rooted.
Click to expand...
Click to collapse
So no need to fastboot flash recovery?
Correct me if I'm wrong, so you dl the zip, you flash it, you then flash magisk zip? Then what? You boot up and install twrp manager in order to change recovery?
b4bass said:
So no need to fastboot flash recovery?
Correct me if I'm wrong, so you dl the zip, you flash it, you then flash magisk zip? Then what? You boot up and install twrp manager in order to change recovery?
Click to expand...
Click to collapse
If you flash the update downloaded as zip from downloads.oneplus.com via TWRP, then no, there will be no need to flash it again via fastboot and no need to install TWRP Manager.
Boot to TWRP
Flash 5.0.3 zip
Flash Magisk
Reboot & enjoy
OK thanks! I thought the recovery would go back to stock after flashing the rom
And guys, if other members help you with their posts, don't forget to thank them.
Unleashed by my rooted OP3T on 8.0
b4bass said:
OK thanks! I thought the recovery would go back to stock after flashing the rom
Click to expand...
Click to collapse
That only happens if you reboot the phone while on the stock boot image. If you use a patched boot image, or a custom kernel, or Magisk, then the stock recovery doesn't overwrite the current recovery.
Sent from my OnePlus3T using XDA Labs
BillGoss said:
That only happens if you reboot the phone while on the stock boot image. If you use a patched boot image, or a custom kernel, or Magisk, then the stock recovery doesn't overwrite the current recovery.
Sent from my OnePlus3T using XDA Labs
Click to expand...
Click to collapse
So magisk is patching bootloader? I thought it was it point not to
Though this method is saving me some serious time!
b4bass said:
So magisk is patching boot, I thought I was it point not to
Though this method is saving me some serious time!
Click to expand...
Click to collapse
Magisk makes a point of not touching the system partition but a lot of its magic is done by changing the boot image.
Sent from my OnePlus3T using XDA Labs
OK thx ! First time I replaced supersu to pet magisk. Will have to find more details on this subject
b4bass said:
So magisk is patching bootloader? I thought it was it point not to
Click to expand...
Click to collapse
Boot image is kernel and ramdisk. Boot image is not the same as bootloader!
So my RN10Pro is running MIUI 13.0.8 . Is it possible to download a MIUI 13.0.8 ROM from the Mi website and flash it to "Reinstall" the os?
Also, does this method need extra things like TWRP or is the unlocked MIUI bootloader enough?
You can reflash yes, I tried it before but on a different phone. I think you can do it in the Updater in settings too, I did mine in twrp by flashing recovery rom and doing a format data because of encryption. But to be sure (and avoid any errors), use fastboot flashing instead. It will wipe the data so be sure to backup.
BigChungus321 said:
You can reflash yes, I tried it before but on a different phone. I think you can do it in the Updater in settings too, I did mine in twrp by flashing recovery rom and doing a format data because of encryption. But to be sure (and avoid any errors), use fastboot flashing instead. It will wipe the data so be sure to backup.
Click to expand...
Click to collapse
So to be clear, it needs the unlocked bootloader right? Guess I have to wait 7 days :/
Sepepe_GCL said:
So to be clear, it needs the unlocked bootloader right? Guess I have to wait 7 days :/
Click to expand...
Click to collapse
You can relock it afterwards if you're not planning to do any modifications or move to a custom ROM.