where is the default location for downloaded OTA ? - Moto G4 Plus Questions & Answers

I want to flash ota with twrp...i dont know the default location...need help

On my G4 (not Plus!) the OTA updates are downloaded to:
Code:
/data/data/com.motorola.ccc.ota/app_download
For example, the latest one OTA update file is called:
Code:
Blur_Version.24.24.4.athene.retail.en.US.zip
Let us know if you succeed with flashing the OTA zip. So far from what I've read - it's not possible to flash it once you modified the system partition (e.g. installed SuperSU or similar).

Don't know if flashing from TWRP is possible. https://twrp.me/faq/officialota.html
If you already changed your system partition (for example, mouting it in TWRP in r/w mode) the hash was changed and the OTA update will fail. You'll need to find a flash image and flash the system partition again to be able to update using the OTA. Remember to take note of the version you have to flash that exact version.

Related

Struggling to Update - Help Needed

So my son's 2012 Nexus 7 (32 GB Wi-Fi) is struggling to update. I was checking to see if he got the 5.0 update and noticed he's still on 4.4.2. When I tried to update to 4.4.3 it won't reboot and install the update.
I then tried to sideload the update and it failed due to some certificate issue. Maybe because it's unlocked? I then rooted it again (lost it after the last update apparently) and also installed TWRP. I was going to attempt to sideload from within TWRP but adb doesn't see the device in sideload mode for me for some reason.
Bottom line... Can I just flash the OTA zip file like any other file within TWRP? If not, does anyone have any over ideas of what I can do to update this this without wiping it clean?
I think you will have to flash the 5.0 and images using fastboot. Can you get into ap fastboot mode?
before that though, and to answer your questions:
- unlocked bootloader does not cause issues
- I've used twrp to flash all of the KitKat ota updates directly. simply put the update zip in the internal storage of the device (I always put it in sdcard0/) and flash. the only reason that would fail with KitKat is if you have xposed installed, which was fixed by flashing xposed Disabler zip first. I don't think having root mattered.
- for the lollipop update flashing from twrp didn't work for me. I had to first return 4.4.4 to stock system and recovery (by flashing the system.img and recovery.img files from stock 4.4.4) then adb sideload 5.0 ota update. In your case tho you'd have just updated to 4.4.4 so you can just go straight to sideloading.
All the ota update links are in the second sticky in the general section. make sure you follow the correct to:from build numbers.
I'd prefer this longer route of ota updates, but if nothing works then you can probably just flash system, recovery, and boot directly from the lollipop firmware, and leave userdata untouched. I'd also Not flash the bootloader, as it's reported to have issues.

Flashfire Can't Find Latest Update.zip

Got the latest update.zip for the October Security patch. Wasn't stored in the normal location /cache But the update.zip file isn't recognized by flashfire? Would like to install it instead of flashing the full system image files.

H918 OTA

Anyone know where I can find the location of the OTA?
Also when I flashed it with flash fire it did not take. What's the correct use with flash fire?
the OTA location is /cache/update.zip
The OTA will not flash if the device is rooted(which it needs to flash lol.) because it tries to verify the boot.img is stock(supersu is installed to the boot.img so it isn't stock). I have successfully installed the sprint OTA by manually editing the OTA but it caused issues with not booting right when I didn't have an updated kernel.

How to apply OTA update when rooted with Magisk?

I am on update channel retgb (UK) and have just received the first OTA update for this device. As I have unlocked my bootloader, install TWRP, installed Vanche's Modified Boot Kernel + wlan_custom.zip + magisk do I need to do anything special before applying the OTA update. (I followed the guide by Awesomeslayerg up to installing SuperSU)
I have looked around XDA but I do not know which stock rom I need to flash and then how to apply the OTA update. As I have magisk I don't think my system partition has been modified but because of the wlan_custom file and custom boot kernel I think the boot partition has been meaning from what I understand I can't install the update.
Any pointers would be appreciated.
I did grab the OTA update drive.google .com/open?id=0B0o6IYW5dPwHcExfSXVvMWVCWU0 (remove space between google and .com if thats is any help

Need instructions to install Magisk systemless root in S7 Edge running 8.0

Hi guys,
I have gone thru the forum to install Magisk systemless root in S7 Edge running 8.0 but have few questions.
1. Is TWRP mandatory to install Magisk for systemless root?
2. If above point is yes, then will the device be eligible for OTA even with TWRP recovery?
3. Please provide steps to install Magisk systemless root in S7 Edge running 8.0 latest October patch
Thanks in advance.
mpadhu said:
Hi guys,
I have gone thru the forum to install Magisk systemless root in S7 Edge running 8.0 but have few questions.
1. Is TWRP mandatory to install Magisk for systemless root?
2. If above point is yes, then will the device be eligible for OTA even with TWRP recovery?
3. Please provide steps to install Magisk systemless root in S7 Edge running 8.0 latest October patch
Thanks in advance.
Click to expand...
Click to collapse
Go Here https://forum.xda-developers.com/s7-edge/how-to/guide-how-to-root-android-8-0-oreo-t3840271
1. U need TWRP for flashing Magisk.
2. When ur intentions are gaining root access, u should forgo OTA.
3. The above link has everything u need.
joeljose1001 said:
Go Here https://forum.xda-developers.com/s7-edge/how-to/guide-how-to-root-android-8-0-oreo-t3840271
1. U need TWRP for flashing Magisk.
2. When ur intentions are gaining root access, u should forgo OTA.
3. The above link has everything u need.
Click to expand...
Click to collapse
Thank you for your time and response. There is something called systemless root which will hide the root from the system and also allows official OTA updates.
mpadhu said:
Thank you for your time and response. There is something called systemless root which will hide the root from the system and also allows official OTA updates.
Click to expand...
Click to collapse
From what I know, when you download an OTA and prompt your device to install it, your Android system performs a series of checksums to ensure that your /system, /boot, /recovery, and /vendor (or /OEM) partitions are unmodified from their original stock configuration.
The benefit of Magisk is that it does not modify the system partition, but while installing Magisk, the first thing it does is patch boot image. So you might have to restore the original boot image for the OTA to work.
Also, the OTA is designed to be installed via the stock recovery which has been overwritten with TWRP. So, I think u will face a problem there too.
I'm not saying that it's impossible to get an OTA update. It just might not be as easy as u r used to.
joeljose1001 said:
From what I know, when you download an OTA and prompt your device to install it, your Android system performs a series of checksums to ensure that your /system, /boot, /recovery, and /vendor (or /OEM) partitions are unmodified from their original stock configuration.
The benefit of Magisk is that it does not modify the system partition, but while installing Magisk, the first thing it does is patch boot image. So you might have to restore the original boot image for the OTA to work.
Also, the OTA is designed to be installed via the stock recovery which has been overwritten with TWRP. So, I think u will face a problem there too.
I'm not saying that it's impossible to get an OTA update. It just might not be as easy as u r used to.
Click to expand...
Click to collapse
Got your point. Thank you. I read that Magisk can be installed without root or even custom recovery.
The below is taken from the official Magisk thread https://forum.xda-developers.com/apps/magisk/official-magisk-v7-universal-systemless-t3473445
How to download or extract the stock boot image file from my official ROM?
"Via Magisk Manager:
This method does not need root, and also does not require a custom recovery.
However, you MUST have a stock boot image dump beforehand, and you also have to be able to flash the patched boot image, either through fastboot/download mode or ODIN
Install the latest Magisk Manager
If you're planning to flash the patched boot image through ODIN, go to Settings > Update Settings > Patched Boot Output Format, and select .img.tar. For normal users leave it as the default .img
Press Install > Install > Patch Boot Image File, and select your stock boot image file
Magisk Manager will now patch your boot image, and store it in [Internal Storage]/Download/patched_boot.img[.tar]
Copy the patched boot image to your PC. If you can't find it via MTP, you can pull the file with ADB:
adb pull /sdcard/Download/patched_boot.img[.tar]
Flash the patched boot image to your device and reboot. Here is the command if using fastboot:
fastboot flash boot /path/to/patched_boot.img"

Categories

Resources