I've got the OTA file on my watch, but I cannot flash it since I am rooted, and I have a custom recovery. What I want to know is, how does one get that file out of their watch onto a computer, and how would I go about putting it into a flashable zip?
Apoplectic1 said:
I've got the OTA file on my watch, but I cannot flash it since I am rooted, and I have a custom recovery. What I want to know is, how does one get that file out of their watch onto a computer, and how would I go about putting it into a flashable zip?
Click to expand...
Click to collapse
The OTA should be a package named update.zip, I think you can flash this package directly from recovery. I´ve uploaded my update.zip on this thread:
http://forum.xda-developers.com/g-watch/help/5-0-2-update-lwx49k-t3034438
I´ve tried to flash throught TWRP and it does not work, maybe from stock recovery...
Related
So I have an unlocked prime with the latest cwm recovery installed and got the latest ota from my aunt's prime but i cannot install it, I added .zip at the end of the file and it gets and error when trying to install it in recovery the original file's name is (dlpkgfile) with no (.)anything, I don't know if it's a blob file or what but when try to extract it with winrar I only get META-INF folder does anyone know what or how to extact this file????
i think there is a good many people who may be in this boat, we need to look into it! i just did something similar with 4.0.4 on my nexus, maybe if you return the phone to stock, but no, because the image we have to work with is an insecure image, we need a truly stock zip to flash, then we can try to do an update, anybody have one?? i dont know how to do all that logcat->zip stuff
everblazingboy said:
So I have an unlocked prime with the latest cwm recovery installed and got the latest ota from my aunt's prime but i cannot install it, I added .zip at the end of the file and it gets and error when trying to install it in recovery the original file's name is (dlpkgfile) with no (.)anything, I don't know if it's a blob file or what but when try to extract it with winrar I only get META-INF folder does anyone know what or how to extact this file????
Click to expand...
Click to collapse
If you've used the official unlock tool it's not possible to flash stock ota's.
Thanks
@prettyboy85712 thanks for the info guess i'll just have to wait for the update from ASUS website directly which will be in the next couple of days
You will brick your prime if you unlocked the bootloader and attempt to flash a stock ROM from Asus.
Hey all, I've got my springboard running JB and using TWRP for recovery. Anyone available to tell me how to put it back to completely stock if I wanted to sell it? that would be really cool. I'd even be happy with keeping TWRP and putting a stock rom (t-mobile) back on it too. Thanks! any help is appreciated.
Flash this http://forum.xda-developers.com/showpost.php?p=30905023&postcount=15
Corn Flake said:
Flash this http://forum.xda-developers.com/showpost.php?p=30905023&postcount=15
Click to expand...
Click to collapse
Those aren't flashable zips, as best I could tell, are they? flashable through TWRP i mean. do you have any further instruction? thanks for your help so far
fimanmd said:
Those aren't flashable zips, as best I could tell, are they? flashable through TWRP i mean. do you have any further instruction? thanks for your help so far
Click to expand...
Click to collapse
So, if anyone cares, I did figure out how to get it back to stock from TWRP and CM10. I had reflash stock recovery and then used the usual dload folder update process with the stock tmobile update the can be found in the dev section. Let me know if anyone has questions. Mine is now fully 100% stock.
@fimanmd: How did you reflash the stock Bootloader?
u need unzip stock rom zip first, because stock recovery in it.flash stock recovery and recovery2 in fastboot.then copy stock rom to sdcard2's root folder. now u can flash it use stock recovery.
Sent from my HUAWEI MediaPad using xda premium
extract out file recovery.img from stock's update.zip. put it on your PC. put the update.zip on your root microSD. then connect your tab to PC and restart it to fastboot mode (bootloader mode). then run command prompt and type this:
fastboot flash recovery recovery.img
fastboot flash reciovery2 recovery.img
fastboot reboot
after reboot your device must begin flashing stock's ROM
After taking root I'll still be able to update my phone using OTA? If so, the update will remove the root?
As updates OTA behave in relation to Xposed? Is everything going to work?
Sorry for the English, I used Google translator.
kubixmaster3009 said:
After taking root I'll still be able to update my phone using OTA? If so, the update will remove the root?
As updates OTA behave in relation to Xposed? Is everything going to work?
Sorry for the English, I used Google translator.
Click to expand...
Click to collapse
Unfortunately you can't update via OTA if your device is rooted.
To install OTA,
recover the ROM backup ( that you ''hopefully" made before rooting using TWRP ) from TWRP and then, install the OTA.
Edit: Or , (if you are patient enough to download the full ROM) you can dirty flash the full ROM and then install OTA.
When you do this, custom recovery (eg., twrp) will be replaced by stock oneplus recovery . Hence, you should again flash the custom recovery img through adb.
What if we extract the update file and only take the files that will not effect the recovery (the really updated files), make them into a flashable zip and overwrite the current system files?
Just dirty flash the full ROM, then the OTA zip(s) and after that root it again, flash Xposed or whatever you want.
There's no need to restore any backup or reflash recoveries etc.
Firefly1337 said:
Just dirty flash the full ROM, then the OTA zip(s) and after that root it again, flash Xposed or whatever you want.
There's no need to restore any backup or reflash recoveries etc.
Click to expand...
Click to collapse
You are right about dirty flashing the full ROM zip.
But, the recovery will be replaced by stock oneplus recovery when you install OTA update as of my experience.
sankarshan said:
You are right about dirty flashing the full ROM zip.
But, the recovery will be replaced by stock oneplus recovery when you install OTA update as of my experience.
Click to expand...
Click to collapse
Why should it be?
I can confirm from personal experience that this won't happen.
//Edit: Do you actually mean 'install' OTAs with the official updater in android itself? If so, then I don't know.
But by flashing the OTA zip (in recovery) it won't replace your recovery.
Firefly1337 said:
//Edit: Do you actually mean 'install' OTAs with the official updater in android itself? If so, then I don't know.
But by flashing the OTA zip (in recovery) it won't replace your recovery.
Click to expand...
Click to collapse
1.Yeah, I meant updating via "official updater".
2. That's one of the reasons why they(manually flashable OTA zips) are made. aren't they?
@sankarshan Yes you're right. I thought you meant flashing them as zip because I specifically spoke of flashing the OTA zips
winesh said:
What if we extract the update file and only take the files that will not effect the recovery (the really updated files), make them into a flashable zip and overwrite the current system files?
Click to expand...
Click to collapse
That's a great idea @winesh I also wonder if it is possible.
winesh said:
That's a great idea @winesh I also wonder if it is possible.
Click to expand...
Click to collapse
Are you talking to yourself? LOL
Hey guys,
I've tried to update my Nord 2 to the newest software (A.12) but every time I try it, it just reboots after a couple seconds and displays an error message:"Verification error". I've tried rebooting it multiple times, without any success. It is rooted with magisk and the bootloader is open, but I don't have TWRP installed. Could you guys hook me up with a solution?
Regards
Take a look: https://forum.xda-developers.com/t/...rooted-nord-2-any-incremental-update.4347813/
Thanks for your reply, I really appreciate it! I've looked at it, but I haven't found a specific update from a.11 to a.12, I just didn't want to take the risk to update with the indian variant from a.11 to a.13.
AdamBarath said:
Thanks for your reply, I really appreciate it! I've looked at it, but I haven't found a specific update from a.11 to a.12, I just didn't want to take the risk to update with the indian variant from a.11 to a.13.
Click to expand...
Click to collapse
No need to download the update file from third parties. If you downloaded it from settings, you can find it in your internal storage at android/data/com.oneplus.ota/files
For the boot file instead, you can find boot files both for indian and Eu in that post
Raygen said:
No need to download the update file from third parties. If you downloaded it from settings, you can find it in your internal storage at android/data/com.oneplus.ota/files
For the boot file instead, you can find boot files both for indian and Eu in that post
Click to expand...
Click to collapse
Thank you, I really appreciate your help! I'm going to try it as soon as possible, do I have to flash the vbmeta.img, if I use my own update.zip file? (Sorry, I have literally zero knowledge)
AdamBarath said:
Thank you, I really appreciate your help! I'm going to try it as soon as possible, do I have to flash the vbmeta.img, if I use my own update.zip file? (Sorry, I have literally zero knowledge)
Click to expand...
Click to collapse
Yup, the order is:
Backup EVERYTHING.
Flash stock boot image for your current version (A.11)
Flash update.zip via recovery
Flash patched vbmeta via fstboot
Re flash TWRP via fastboot
Reflash magisk:
Flash the .zip it via recovery (not reccomended). OR,
Download and flash an already patched boot image for the updated version (A.12). OR,
Extract your stock updated boot image (A.12) with adb shell and dd (or download it), boot into system, patch the image with the magisk app, flash the patched boot image in recovery.
If during one of these steps you get back the stock recovery, just boot into fastboot and reflash twrp. Without magisk installed the rom tends to restore the stock recovery by itself.
Thank you for your help!
Worked like a charm!
Hello I've downloaded latest stock firmware/ROM from: https://dlcdnets.asus.com/pub/ASUS/...2202-ASUS-32.2050.2050.34-1.1.1-2210-user.zip
But unable to find any guide or tool on how to install it? From searching I understand there's supposed to be a flashfile_AFT.cmd, but can't find it in the zip. I've unlocked bootloader already. thanks
Flashing a working device? Just copy to root dir and reboot.
The instructions said to choose the zip from recovery, but stock recovery doesn't have an option to "install from zip". I only managed to flash the stock firmware after installing twrp.
Hermann2306 said:
Flashing a working device? Just copy to root dir and reboot.
Click to expand...
Click to collapse
That's also what instructions said, but I never got the notification you are supposed to get. Also, we are more likely to want to flash the stock firmware on a non-working device and I really can't find how we are supposed to do it with stock firmware.
For the updatenotification you maybe have to activate something like "apply updates on reboots / automatic updates" in developer options.
If the device only boots to fastboot you need a raw firmware file with the flashall.bat (I think it was WW-AI2202-32.2004.2004.84-REL-2206-M2.13.33.11-ASUS_1.1.1-user-20220722.zip for example). You can find it on romdevelopers.
All I had to do was take the firmware zip, plop it into my 'home' directory (i.e. not the actual root directory!), and I got the notification that an update was available via that zip. Standard installation after that.
I had and continue to have root access through Magisk, though I did have to apply that 'after update' magisk function before rebooting to complete the update. Rebooting without doing that loses your root access.
Yes, i mean that folder. Its "root" If you use the standard filemanager.
ok this will update the phone but if a phone was bricked, does any stock ROM file exist that can be flashed via fastboot?
Or is there a script which can be used to flash the contents inside payload.bin through fastboot? there are lots of files if payload.bin is extracted, not sure if everything it meant to be flashed?