Guide: How to install updates after TWRP/ROOT

joeblond999

Member
Jul 30, 2008
26
7
0
This is just my guide for updating. i wrote it down because i tend to forget how i did things when i want to do it again.
i am no expert. there could be better ways to do it.

Update after twrp

This includes a factory reset.
Root, TWRP and all your DATA is gone after this.
Do a backup before you do this!!!


1.
Activate usb debugging
Power off the phone completely.
Press and hold the Volume Up and Power button to enter Fastboot mode.

2. fastboot flash recovery stockrecovery.img

3. boot into recovery (volume down+power)
install from SD: UL-ASUS_Z01KD_1-WW-14.1064.1711.96-user.zip

4. start system.
Factory reset
than shut down.

5. boot into recovery (volume down+power)
install from SD: latest update
 

Attachments

Last edited:

badvag

Senior Member
Jan 13, 2017
67
11
0
Rio de Janeiro
Does anyone know the current procedure for updating the ROM stock via TWRP. It looks like we should download the full updated firmware and the Magisk. Restart on TWRP, and flash the ROM and then the Magisk, one by one. Can anyone confirm?
-------------------------------------------------------------------------------------------------------------------------------------------------------
Alguém sabe o procedimento atual para atualizar a stock ROm via TWRP. Parece que devemos baixar o firmware atualizado completo e o Magisk. Reiniciar na TWRP, e flashear a ROM atulizada e depois o Magisk, um por um. Alguém pode confirmar?
 
  • Like
Reactions: FRDR

urbanman2004

Senior Member
Sep 16, 2013
196
60
58
Rock Town
Does anyone know the current procedure for updating the ROM stock via TWRP. It looks like we should download the full updated firmware and the Magisk. Restart on TWRP, and flash the ROM and then the Magisk, one by one. Can anyone confirm?
-------------------------------------------------------------------------------------------------------------------------------------------------------
Alguém sabe o procedimento atual para atualizar a stock ROm via TWRP. Parece que devemos baixar o firmware atualizado completo e o Magisk. Reiniciar na TWRP, e flashear a ROM atulizada e depois o Magisk, um por um. Alguém pode confirmar?
You just answered your own question. That's how it's always been done, doesn't matter whether you got a ASUS Zenphone or a Galaxy S phone from Samsung for that matter.
 

badvag

Senior Member
Jan 13, 2017
67
11
0
Rio de Janeiro
You just answered your own question. That's how it's always been done, doesn't matter whether you got a ASUS Zenphone or a Galaxy S phone from Samsung for that matter.
I do not know the procedure for updating the ROM by TWRP, do you know? Can you tell me more details?
I want to say that in the normal way I know how to do it, but I'm still not sure how to update the ROM via TWRP without losing Magisk and Xoosed (if you're using it)
 

urbanman2004

Senior Member
Sep 16, 2013
196
60
58
Rock Town
I do not know the procedure for updating the ROM by TWRP, do you know? Can you tell me more details?
I want to say that in the normal way I know how to do it, but I'm still not sure how to update the ROM via TWRP without losing Magisk and Xoosed (if you're using it)
I use Magisk, but not Xposed. These instructions are based on the assumption that the bootloader is unlocked, and that TWRP is already installed on your device, and that the Rom in question has already been copied to a USB Stick via OTG cable:

01. Boot into Recovery Mode (hold down Volume Down + Power Buttons)
02. Always make a [Nandroid] backup (via USB-OTG, saving data on USB Stick preferably) when going from one Rom to another; Save separate important data (texts, call logs, documents)/apps prior to Rom Install using backup utility apps, e.g., Titanium Backup.
03. Sideload your Rom (via USB-OTG, copied onto USB Stick preferably)
04. Hit WIPE – Do a Factory Reset: Wipe Data /Cache/ Dalvik. Hit Back
05. Hit MOUNT – Mount USB-OTG. Select the storage device. Hit Back
06. Hit INSTALL – Browse for the Rom (zip file). Install Rom
07. Remember to Flash Google Apps
08. REBOOT the System
09. Complete the startup wizard and give the phone a 10 to 15 minutes before the next step.
10. Now reboot into Recovery and flash any mods/theme or kernel compatible with your new ROM.
a. Remember to 'wipe cache/dalvik' after flashing kernel​
 
Last edited:

badvag

Senior Member
Jan 13, 2017
67
11
0
Rio de Janeiro
I use Magisk, but not Xposed. These instructions are based on the assumption that the bootloader is unlocked, and that TWRP is already installed on your device, and that the Rom in question has already been copied to a USB Stick via OTG cable:

01. Boot into Recovery Mode (hold down Volume Down + Power Buttons)
02. Always make a [Nandroid] backup (via USB-OTG, saving data on USB Stick preferably) when going from one Rom to another; Save separate important data (texts, call logs, documents)/apps prior to Rom Install using backup utility apps, e.g., Titanium Backup.
03. Sideload your Rom (via USB-OTG, copied onto USB Stick preferably)
04. Hit WIPE – Do a Factory Reset: Wipe Data /Cache/ Dalvik. Hit Back
05. Hit MOUNT – Mount USB-OTG. Select the storage device. Hit Back
06. Hit INSTALL – Browse for the Rom (zip file). Install Rom
07. Remember to Flash Google Apps
08. REBOOT the System
09. Complete the startup wizard and give the phone a 10 to 15 minutes before the next step.
10. Now reboot into Recovery and flash any mods/theme or kernel compatible with your new ROM.
a. Remember to 'wipe cache/dalvik' after flashing kernel​
That way I would lose the Magisk, XPosed and phone settings. When flashing the original ROM, it will overwrite custom recovery (TWRP). I would like to know a way to update the original ROM without losing anything, understand? It is possible?
 

urbanman2004

Senior Member
Sep 16, 2013
196
60
58
Rock Town
That way I would lose the Magisk, XPosed and phone settings. When flashing the original ROM, it will overwrite custom recovery (TWRP). I would like to know a way to update the original ROM without losing anything, understand? It is possible?
Did you not just read what I took the time to write? If not, you're on your own
 

urbanman2004

Senior Member
Sep 16, 2013
196
60
58
Rock Town
That way I would lose the Magisk, XPosed and phone settings. When flashing the original ROM, it will overwrite custom recovery (TWRP). I would like to know a way to update the original ROM without losing anything, understand? It is possible?
I read, I should not have understood. Does the procedure you passed do not lose the settings and root (Magisk)?
I can tell English is not your native language. If you notice under instruction #2:
Always make a [Nandroid] backup (via USB-OTG, saving data on USB Stick preferably) when going from one Rom to another; Save separate important data (texts, call logs, documents)/apps prior to Rom Install using backup utility apps, e.g., Titanium Backup.
That implies that your settings will not be saved, and refers you to other means to backup/restore them; a) creating a Nandroid backup within TWRP will backup the OS/Rom (and installed apk's) but no settings, data, files, etc., b) Titanium Backup does a number of things, if not all of what you inquired a/b. I would highly implore you do your research and due diligence before plunging into something blindly that you're not well-versed in which seems to be the case here. Just b/c I mentioned here what is it that I would do in your situation doesn't mean it works best based on your use case scenario. Hope that provides you more, and better clarity.
 

badvag

Senior Member
Jan 13, 2017
67
11
0
Rio de Janeiro
I can tell English is not your native language. If you notice under instruction #2:

That implies that your settings will not be saved, and refers you to other means to backup/restore them; a) creating a Nandroid backup within TWRP will backup the OS/Rom (and installed apk's) but no settings, data, files, etc., b) Titanium Backup does a number of things, if not all of what you inquired a/b. I would highly implore you do your research and due diligence before plunging into something blindly that you're not well-versed in which seems to be the case here. Just b/c I mentioned here what is it that I would do in your situation doesn't mean it works best based on your use case scenario. Hope that provides you more, and better clarity.
Of course, English is not my native language.
But I had read, I really did not have much practice in doing this by Titanium backup and recovering these settings. My initial question was: Is there any way to flash the updated ROM without losing anything? I realized that there isn't.
 

badvag

Senior Member
Jan 13, 2017
67
11
0
Rio de Janeiro
I'm coming back here to explain how to update the ROM stock using TWRP and the Asus Flash Tool.
Some guys who are experts say it does not work, but there are videos on Youtube showing that it is possible to do the firmware flash directly through TWRP, I did not do it because of the risk of the softbrick.
These are the videos:
https://www.youtube.com/watch?v=HebmIzuAfS0&t=194s

https://www.youtube.com/watch?v=thEDEvA5UUs

https://www.youtube.com/watch?v=nzBQz1x4xfg

It may also be possible for "adb sideload xxxx" in the sideload option of TWRP (use TWRP version 3.2.3, which is hard to find on the internet), I have not tested it.
In my procedure the TWRP will be lost:
1) Download RAW firmware ZE554KL
2) Install ASUS Flash Tool (in version v2.0.1 does not seem to work), I used version v1.0.0.45.
3) Now, with your phone turned on and your debug mode enabled.
4) Open ASUS Flash Tool ((it does not matter if the model of the device is not listed)
5) Select the RAW firmware you've downloaded.
6) Click on the Serial Number of your device.
7) Click Start. I do not remember, but I think now the phone starts with TWRP or you start custom recovery and then put it in FASTBOOT mode (if you do this before Asus FlashTool will not recognize the device).
8)Start the process on the start button (I can not remember if it has to start again), and then the RAW firmware will start to be copied. The phone will reboot again through TWRP, do nothing until the process is finished (check for TWRP and Asus Flash Tool), then just start the device. Recovery will be back to normal and the device will have the firmware updated.

*I could not attach twrp3.2.3 and Asus Flash Tool (v1.0.0.45) because of the size of the files.
 

matracapx

Senior Member
Jul 26, 2013
62
7
0
Rio de Janeiro
I'm coming back here to explain how to update the ROM stock using TWRP and the Asus Flash Tool.
Some guys who are experts say it does not work, but there are videos on Youtube showing that it is possible to do the firmware flash directly through TWRP, I did not do it because of the risk of the softbrick.
These are the videos:
https://www.youtube.com/watch?v=HebmIzuAfS0&t=194s

https://www.youtube.com/watch?v=thEDEvA5UUs

https://www.youtube.com/watch?v=nzBQz1x4xfg

It may also be possible for "adb sideload xxxx" in the sideload option of TWRP (use TWRP version 3.2.3, which is hard to find on the internet), I have not tested it.
In my procedure the TWRP will be lost:
1) Download RAW firmware ZE554KL
2) Install ASUS Flash Tool (in version v2.0.1 does not seem to work), I used version v1.0.0.45.
3) Now, with your phone turned on and your debug mode enabled.
4) Open ASUS Flash Tool ((it does not matter if the model of the device is not listed)
5) Select the RAW firmware you've downloaded.
6) Click on the Serial Number of your device.
7) Click Start. I do not remember, but I think now the phone starts with TWRP or you start custom recovery and then put it in FASTBOOT mode (if you do this before Asus FlashTool will not recognize the device).
8)Start the process on the start button (I can not remember if it has to start again), and then the RAW firmware will start to be copied. The phone will reboot again through TWRP, do nothing until the process is finished (check for TWRP and Asus Flash Tool), then just start the device. Recovery will be back to normal and the device will have the firmware updated.

*I could not attach twrp3.2.3 and Asus Flash Tool (v1.0.0.45) because of the size of the files.
Please upload files to google drive? thank you!