Upgrade global Rom from 11.0.0 to 11.0.2 - OnePlus 7T Questions & Answers

So I've got a converted T-Mobile 7T running the global Rom w/o root. I have OxygenOS 11.0.0 installed and I downloaded the OTA update to 11.0.2 via oxygen updater.
The file is in the root directory on my phone and named
OnePlus7TOxygen_14.O.26_OTA_0250-0260_patch_2104142319_8926.zip
I go to system update and click local upgrade and I just get this message.
Move installation file to root directory.
UPDATE: I found a post that suggested moving it to the .OTA folder, that didn't work either.
Any ideas? Does the file need to be renamed to something else?

i used oxygen updater and then just went to system update local, but at the moment Im at fc on com.android. phone.
update: all is good with the system data wipe, i didn't wanna but had too ..lol

Related

October Security OTA won't install on rooted Nexus 5x with stock Android 7.0

Hello. When I bought my Nexus 5X, it had Android Marshmallow on it. I immediately rooted it and flashed TWRP using the Nexus Root Toolkit (NRT) and it went well.
Along came the Android 7.0 OTA and I only had to remove the saved fingerprints and PIN (to make TWRP see the phone as decrypted) I was able to go through the update successfully with that current setup. Of course I had to re-root my phone after that.
But the 46.7MB October Security Update won't install via OTA. I've tried:
re-rooting it with the latest TWRP (via NRT)
re-flashing the stock recovery (via NRT)
but the OTA still wouldn't get installed. I checked the recovery log and it showed this line:
Code:
installing lge.bullhead updater extensions
Source: google/bullhead/bullhead:7.0/NRD90R/3141966:user/release-keys
Target: google/bullhead/bullhead:7.0/NBD90W/3239497:user/release-keys
Verifying current system...
script aborted: E3001: Package expects build fingerprint of google/bullhead/bullhead:7.0/NRD90R/3141966:user/release-keys or google/bullhead/bullhead:7.0/NBD90W/3239497:user/release-keys; this device has google/bullhead/bullhead:6.0.1/MMB29Q/2480792:user/release-keys.
Source: google/bullhead/bullhead:7.0/NRD90R/3141966:user/release-keys
Target: google/bullhead/bullhead:7.0/NBD90W/3239497:user/release-keys
Verifying current system...
E3001: Package expects build fingerprint of google/bullhead/bullhead:7.0/NRD90R/3141966:user/release-keys or google/bullhead/bullhead:7.0/NBD90W/3239497:user/release-keys; this device has google/bullhead/bullhead:6.0.1/MMB29Q/2480792:user/release-keys.
E:unknown command [log]
Updater process ended with ERROR: 7
I:Legacy property environment disabled.
Error installing zip file '@/cache/recovery/block.map'
Done processing script file
But I checked the build.prop file and found this:
Code:
ro.build.desciption
google/bullhead/bullhead:7.0/NRD90R/3141966:user/release-keys
Where could that google/bullhead/bullhead:6.0.1/MMB29Q/2480792:user/release-keys have come from? How do I proceed with the OTA? I've yet to try FlashFire because it won't detect the downloaded OTA file and I've yet to download that 1.2GB factory OTA file.
Also why only now am I having problems with OTA? It should have happened during the Android 7.0 update, right? I would like it very much if I could do this without wiping my data. Please help. Thank you.
d4ryl3 said:
Hello. When I bought my Nexus 5X, it had Android Marshmallow on it. I immediately rooted it and flashed TWRP using the Nexus Root Toolkit (NRT) and it went well.
Along came the Android 7.0 OTA and I only had to remove the saved fingerprints and PIN (to make TWRP see the phone as decrypted) I was able to go through the update successfully with that current setup. Of course I had to re-root my phone after that.
But the 46.7MB October Security Update won't install via OTA. I've tried:
re-rooting it with the latest TWRP (via NRT)
re-flashing the stock recovery (via NRT)
but the OTA still wouldn't get installed. I checked the recovery log and it showed this line:
Code:
installing lge.bullhead updater extensions
Source: google/bullhead/bullhead:7.0/NRD90R/3141966:user/release-keys
Target: google/bullhead/bullhead:7.0/NBD90W/3239497:user/release-keys
Verifying current system...
script aborted: E3001: Package expects build fingerprint of google/bullhead/bullhead:7.0/NRD90R/3141966:user/release-keys or google/bullhead/bullhead:7.0/NBD90W/3239497:user/release-keys; this device has google/bullhead/bullhead:6.0.1/MMB29Q/2480792:user/release-keys.
Source: google/bullhead/bullhead:7.0/NRD90R/3141966:user/release-keys
Target: google/bullhead/bullhead:7.0/NBD90W/3239497:user/release-keys
Verifying current system...
E3001: Package expects build fingerprint of google/bullhead/bullhead:7.0/NRD90R/3141966:user/release-keys or google/bullhead/bullhead:7.0/NBD90W/3239497:user/release-keys; this device has google/bullhead/bullhead:6.0.1/MMB29Q/2480792:user/release-keys.
E:unknown command [log]
Updater process ended with ERROR: 7
I:Legacy property environment disabled.
Error installing zip file '@/cache/recovery/block.map'
Done processing script file
But I checked the build.prop file and found this:
Code:
ro.build.desciption
google/bullhead/bullhead:7.0/NRD90R/3141966:user/release-keys
Where could that google/bullhead/bullhead:6.0.1/MMB29Q/2480792:user/release-keys have come from? How do I proceed with the OTA? I've yet to try FlashFire because it won't detect the downloaded OTA file and I've yet to download that 1.2GB factory OTA file.
Also why only now am I having problems with OTA? It should have happened during the Android 7.0 update, right? I would like it very much if I could do this without wiping my data. Please help. Thank you.
Click to expand...
Click to collapse
The update will fail because you have modified /system. Update using NRT then apply root. I don't use that tool so that's up to you to figure out.
Alternatively, update using fastboot and reflash root afterwards. Follow the guide below:
http://forum.xda-developers.com/showthread.php?t=3206930
Sent from my Nexus 5X using Tapatalk
d4ryl3 said:
Along came the Android 7.0 OTA and I only had to remove the saved fingerprints and PIN (to make TWRP see the phone as decrypted)
Click to expand...
Click to collapse
BTW you didn't "decrypt" the phone. It was still encrypted. You just changed the password used to encrypt the storage of the unique encryption "keys", that were used to encrypt your phone, to "default_password", which TWRP knows about and can try automatically to retrieve your encryption keys.
SlimSnoopOS said:
The update will fail because you have modified /system. Update using NRT then apply root. I don't use that tool so that's up to you to figure out.
Alternatively, update using fastboot and reflash root afterwards. Follow the guide below:
http://forum.xda-developers.com/showthread.php?t=3206930
Sent from my Nexus 5X using Tapatalk
Click to expand...
Click to collapse
I went away and
Downloaded the OTA zip file
Installed the Android SDK tools, connected my device and rebooted it into TWRP
Then went to Advanced -> ADB Sideload
Then from the command prompt, typed "adb sideload /path/to/OTA/zip/file" and hit enter
It took a few minutes to 100%, then I rebooted my phone and all is well and updated now.
Thank you so much for redirecting me to the proper solution.
sfhub said:
BTW you didn't "decrypt" the phone. It was still encrypted. You just changed the password used to encrypt the storage of the unique encryption "keys", that were used to encrypt your phone, to "default_password", which TWRP knows about and can try automatically to retrieve your encryption keys.
Click to expand...
Click to collapse
Oh, all right. Thanks for the clarification and duly noted. :good:
d4ryl3 said:
I went away and
[*]Downloaded the OTA zip file
Click to expand...
Click to collapse
Can you share the link for NRD90R>NBD90W, I'm still stuck on NRD90R and don't want to flash the full OTA (I don't want to flash full image every month and run down the flash rewrites).
MarvinOl said:
Can you share the link for NRD90R>NBD90W, I'm still stuck on NRD90R and don't want to flash the full OTA (I don't want to flash full image every month and run down the flash rewrites).
Click to expand...
Click to collapse
Sorry for not being clear, but I used thr whole 1.2GB OTA zip file for this.
Was also wondering if there's a simpler way of doing this considering the October update was just ~46MB.

[Guide] Root Oppo F1s(A1601) + SuperSU without custom recovery or unlocked bootloader

EDIT: This root method has been outdated, see the newer guide instead https://forum.xda-developers.com/android/general/tutorial-root-oppo-f1s-flashtool-6-0-t3651220
Why I made this tutorial:
Recently some members claimed that KingRoot is not working for Oppo F1s(A1601) anymore, I assume it's because Kingroot uses cloud based root method, means Kingroot downloads root package and command from cloud and execute on your phone. Maybe the problem was caused by the change of their server, some configuration has been replaced? At this time, I still have a working root method working now, so I would like to share it with everyone Also, you can follow this guide to get rid of the superuser App from those android root exploit app and use SuperSU.
In short, this tutorial tells:
1.How to Root Oppo F1s(A1601) with KingoRoot.(Though cloud based root App Kingroot is not working at this period but KingoRoot the offline one is still working)
2.Though KingoRoot prevent you to switch to other superuser App, we can still replace it with SuperSU with few steps, no custom recovery needed.
****NOTE****
There're various version of KingoRoot apk over the Internet, use the APK version I provided at attachment can guarantee there're no unexpected errors.
The script to replace kingo root was based on the one here but with a little modification, I've added a infinite loop for the script because KingoRoot cause a force reboot(soft reset) right after you delete root from the app, I assume its because KingoRoot want to prevent you to replace it. A infinite loop can make sure the file copying action has been done before your phone reboot.
Steps to Root F1s and Install SuperSU:
1.Install android terminal from Google Play: https://play.google.com/store/apps/details?id=jackpal.androidterm
2.Download the attachment, extract the zip archive, you get an APK "KingoRoot.apk" and a folder "rmkingo", copy the APK and the folder to your Internal storge(Sdcard)
3.Use any file management App to open KingoRoot.apk and install KingoRoot.apk
4.Open KingoRoot and click "one click root" then wait it to obtain root
5.After root succeeded, Open previous installed "Terminal Emulator for Android" and type
Code:
su
. Now KingoRoot's Superuser should pop up and ask you if you want to grant root access, allow it.
6.Now change terminal directory to the script folder, terminal type
Code:
cd /sdcard/rmkingo
7.Now execute the first script, terminal type
Code:
sh step0.sh
8.If there's no error on the previous action, Now proceed to execute the second script which is an infinite loop, you might see infinite error message after you executed it, terminal type
Code:
sh step1.sh
9.Now make sure the Terminal emulator is still open and the script is still running in background, just open SuperUser(installed by KingoRoot), find and click "Remove root" in the option of the App.
10.Your phone should be forced reboot now, after reboot, install SuperSU from google play: https://play.google.com/store/apps/details?id=eu.chainfire.supersu&hl=zh_TW
11.Open SuperSU and update su binary file with normal mode and wait, it should finish in 2-3 minutes.
12.Hit thanks(My pleasure)
{
"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"
}
above method has been confirmed working with the latest rom from my region,(date 2017/02/12 still working)
Rom: A1601_TW_11_A.17_161003
I am on build a1601ex_11_a27_170111
its currently letest update in india
sagargjasani264 said:
I am on build a1601ex_11_a27_170111
its currently letest update in india
Click to expand...
Click to collapse
Wow, Taiwan haven't receive any update since October........Looks like the rom of our region is terribly outdated,lol
A lot of people complaint on oppo forum of our region why there're no updates........
Is it method work for the rom from india?
evilhawk00 said:
wow, taiwan haven't receive any update since october........looks like the rom of our region is terribly outdated,lol
a lot of people complaint on oppo forum of our region why there're no updates........
Is it method work for the rom from india?
Click to expand...
Click to collapse
kingoroot is on 90% since last 20min
---------- Post added at 12:22 PM ---------- Previous post was at 12:10 PM ----------
sorry bro but kingoroot faild...
Sorry kingoroot failed error code : 0x196514
Lyes2 said:
Sorry kingoroot failed error code : 0x196514
Click to expand...
Click to collapse
Hi, I assume you have to downgrade your rom. Find a older version of your rom, flash it via OPPO stock recovery and this method will work.
In my region, Taiwan's newest rom date is 2016 October, so this method work. OPPO might fixed this CVE exploit in their new rom.
The rom I currently use can be downloaded from OPPO Taiwan website, however I'm not sure if it can work on your device, so you might need to find an older version of your region
You can try to get root with older firmware, flash twrp recovery with root app, such as rashr,then once you have twrp recovery, you can flash the new OTA update package, but be sure to modify the update package so you will not loose root after update. However, I think just stick with older firmware will be easier
Failed
Directory not found bro
evilhawk00 said:
Hi, I assume you have to downgrade your rom. Find a older version of your rom, flash it via OPPO stock recovery and this method will work.
In my region, Taiwan's newest rom date is 2016 October, so this method work. OPPO might fixed this CVE exploit in their new rom.
The rom I currently use can be downloaded from OPPO Taiwan website, however I'm not sure if it can work on your device, so you might need to find an older version of your region
You can try to get root with older firmware, flash twrp recovery with root app, such as rashr,then once you have twrp recovery, you can flash the new OTA update package, but be sure to modify the update package so you will not loose root after update. However, I think just stick with older firmware will be easier
Click to expand...
Click to collapse
what kind of modification do you exactly need to do to the update package to not loose root after update?
ngoralph said:
what kind of modification do you exactly need to do to the update package to not loose root after update?
Click to expand...
Click to collapse
I made one and got root with A27 , all you need is a twrp and a twrp flashable firmware zip.
Here's what I did,first I found that the TWRP by @BouyaPK did not have the same device model settings in comparison with the stock recovery, so I made a little modification to his TWRP image, now the offical firmware zip can pass Device detection test.
!!Before doing it , make sure you have flashed the modified recovery(the one from attachment) to your phone, official firmware is only flashable via this modified recovery and stock recovery
Download here
View attachment OPPO_F1s_twrp3.0_modified_devicemodel.zip
this is the example with the ota update package (A19 to A27 upgrade package around 150mb via coloros update manager app)
Now lets start to modify official firmware, follow my steps:
1.extract the newest official firmware zip.
2.now open the extracted folder, navigate to \META-INF\com\google\android\
3.find the file updater-script and open it with text editor( I suggest NotePad++)
4.you'll find a lot of lines start with apply_patch(xxxxx), remove the one with this file "/system/recovery-from-boot.p"
5.(if needed) also remove boot image sha1 check, in my case I have magisk installed, my boot image do not have the same sha1 value with stock boot image, so I found the line that checkes boot.img and remove it
6.done the file edit and save the file
7.repack it back to a zip file and sign the package with test keys
How to sign?
1.Download the sign package from attachment
2.have Java installed on your PC
3.Open a terminal at the same location with the keys and signapk.jar
4.terminal type
Code:
java -jar signapk.jar -w platform.x509.pem platform.pk8 my_modified_firmware.zip my_modified_firmware-signed.zip
8.install with twrp and you still have twrp exist, flash supersu zip or magisk zip
above is the way to modify a PATCH zip ota file, if you are modifying a full package, which may be easier,
the full package's update script write full image to phone instead, so you just need to modify the image in the ota package.
all you just have to make sure the new firmware do not replace twrp with stock recovery, so
1.try to extract the image in the package and modify the image file, remove files such as "recovery-from-boot.p" from the image then rebuild the image and calculate the new sha1 value of the new image(CarlivImageKitchen is a good tool to rebuild image)
2.replace the old sha1 hash in updater-script, repack and sign the zip.
3.flash with twrp
4.flash superSu zip or magisk zip after the firmware flash with twrp can get root.
evilhawk00 said:
I made one and got root with A27 , all you need is a twrp and a twrp flashable firmware zip.
Here's what I did,first I found that the TWRP by @BouyaPK did not have the same device model settings in comparison with the stock recovery, so I made a little modification to his TWRP image, now the offical firmware zip can pass Device detection test.
!!Before doing it , make sure you have flashed the modified recovery(the one from attachment) to your phone, official firmware is only flashable via this modified recovery and stock recovery
Download here
this is the example with the ota update package (A19 to A27 upgrade package around 150mb via coloros update manager app)
Now lets start to modify official firmware, follow my steps:
1.extract the newest official firmware zip.
2.now open the extracted folder, navigate to \META-INF\com\google\android\
3.find the file updater-script and open it with text editor( I suggest NotePad++)
4.you'll find a lot of lines start with apply_patch(xxxxx), remove the one with this file "/system/recovery-from-boot.p"
5.(if needed) also remove boot image sha1 check, in my case I have magisk installed, my boot image do not have the same sha1 value with stock boot image, so I found the line that checkes boot.img and remove it
6.done the file edit and save the file
7.repack it back to a zip file and sign the package with test keys
How to sign?
1.Download the sign package from attachment
2.have Java installed on your PC
3.Open a terminal at the same location with the keys and signapk.jar
4.terminal type
8.install with twrp and you still have twrp exist, flash supersu zip or magisk zip
above is the way to modify a PATCH zip ota file, if you are modifying a full package, which may be easier,
the full package's update script write full image to phone instead, so you just need to modify the image in the ota package.
all you just have to make sure the new firmware do not replace twrp with stock recovery, so
1.try to extract the image in the package and modify the image file, remove files such as "recovery-from-boot.p" from the image then rebuild the image and calculate the new sha1 value of the new image(CarlivImageKitchen is a good tool to rebuild image)
2.replace the old sha1 hash in updater-script, repack and sign the zip.
3.flash with twrp
4.flash superSu zip or magisk zip after the firmware flash with twrp can get root.
Click to expand...
Click to collapse
Can you send me a stock recovery for Oppo F1s or Color Os 3.0 version
[email protected]
I want ask to my friend to build the custom rom with latest version of TWRP.
Ananaqil12 said:
Can you send me a stock recovery for Oppo F1s or Color Os 3.0 version
[email protected]
I want ask to my friend to build the custom rom with latest version of TWRP.
Click to expand...
Click to collapse
If you want stock recovery image, check my reply here https://forum.xda-developers.com/showpost.php?p=71006625&postcount=26
evilhawk00 said:
I made one and got root with A27 , all you need is a twrp and a twrp flashable firmware zip.
Here's what I did,first I found that the TWRP by @BouyaPK did not have the same device model settings in comparison with the stock recovery, so I made a little modification to his TWRP image, now the offical firmware zip can pass Device detection test.
!!Before doing it , make sure you have flashed the modified recovery(the one from attachment) to your phone, official firmware is only flashable via this modified recovery and stock recovery
Download here
View attachment 4137856
this is the example with the ota update package (A19 to A27 upgrade package around 150mb via coloros update manager app)
Now lets start to modify official firmware, follow my steps:
1.extract the newest official firmware zip.
2.now open the extracted folder, navigate to \META-INF\com\google\android\
3.find the file updater-script and open it with text editor( I suggest NotePad++)
4.you'll find a lot of lines start with apply_patch(xxxxx), remove the one with this file "/system/recovery-from-boot.p"
5.(if needed) also remove boot image sha1 check, in my case I have magisk installed, my boot image do not have the same sha1 value with stock boot image, so I found the line that checkes boot.img and remove it
6.done the file edit and save the file
7.repack it back to a zip file and sign the package with test keys
How to sign?
1.Download the sign package from attachment
2.have Java installed on your PC
3.Open a terminal at the same location with the keys and signapk.jar
4.terminal type
Code:
java -jar signapk.jar -w platform.x509.pem platform.pk8 my_modified_firmware.zip my_modified_firmware-signed.zip
8.install with twrp and you still have twrp exist, flash supersu zip or magisk zip
View attachment 4137905
above is the way to modify a PATCH zip ota file, if you are modifying a full package, which may be easier,
the full package's update script write full image to phone instead, so you just need to modify the image in the ota package.
all you just have to make sure the new firmware do not replace twrp with stock recovery, so
1.try to extract the image in the package and modify the image file, remove files such as "recovery-from-boot.p" from the image then rebuild the image and calculate the new sha1 value of the new image(CarlivImageKitchen is a good tool to rebuild image)
2.replace the old sha1 hash in updater-script, repack and sign the zip.
3.flash with twrp
4.flash superSu zip or magisk zip after the firmware flash with twrp can get root.
Click to expand...
Click to collapse
There are no lines that say apply patch
diosdetiempo said:
[/HIDE]
There are no lines that say apply patch
Click to expand...
Click to collapse
As I mentioned, only the small OTA Update package(smaller than 300MB) extracted from Built in update manager App has the line apply patch.
You are using a full package which is another situation.
If you have the full ota firmware downloaded from official website, you can try the follow steps
1.first make a nandroid backup of the old 5.1, make sure you can always restore your phone with backup
2.flash the official firmware zip with the twrp I attach( if any error occurred,do not reboot ,restore your phone with nandroid backup, also write down the error, and see which image file does not have the match SHA1, calculate and modify the sha1 of that line)
3.if step 2 succed ,do not reboot flash superSU zip file
4reboot, you may have superSU and your twrp may be replaced by stock recovery, use rashr flash twrp back again since you have root
evilhawk00 said:
As I mentioned, only the small OTA Update package(smaller than 300MB) extracted from Built in update manager App has the line apply patch.
You are using a full package which is another situation.
If you have the full ota firmware downloaded from official website, you can try the follow steps
1.first make a nandroid backup of the old 5.1, make sure you can always restore your phone with backup
2.flash the official firmware zip with the twrp I attach( if any error occurred,do not reboot ,restore your phone with nandroid backup, also write down the error, and see which image file does not have the match SHA1, calculate and modify the sha1 of that line)
3.if step 2 succed ,do not reboot flash superSU zip file
4reboot, you may have superSU and your twrp may be replaced by stock recovery, use rashr flash twrp back again since you have root
Click to expand...
Click to collapse
It worked!
Here's a little guide
1) Put your TWRP, SuperSU and Android 6.0 Oppo F1S ROM onto SD card
2) Use Flashify to flash TWRP
3) Reboot into TWRP recovery
4) Flash Android 6.0 F1S ROM
5) Flash SuperSU
6) Reboot phone and you should be good to go
evilhawk00 said:
As I mentioned, only the small OTA Update package(smaller than 300MB) extracted from Built in update manager App has the line apply patch.
You are using a full package which is another situation.
If you have the full ota firmware downloaded from official website, you can try the follow steps
1.first make a nandroid backup of the old 5.1, make sure you can always restore your phone with backup
2.flash the official firmware zip with the twrp I attach( if any error occurred,do not reboot ,restore your phone with nandroid backup, also write down the error, and see which image file does not have the match SHA1, calculate and modify the sha1 of that line)
3.if step 2 succed ,do not reboot flash superSU zip file
4reboot, you may have superSU and your twrp may be replaced by stock recovery, use rashr flash twrp back again since you have root
Click to expand...
Click to collapse
update: the only issue i find is that SIM card isn't recognized
diosdetiempo said:
update: the only issue i find is that SIM card isn't recognized
Click to expand...
Click to collapse
sim card not recognized!? Sorry I can't really understand the reason of that because I don't have this problem.
Just a thought, maybe you lost baseband? Can you see your phone's IMEI number in settings? If you found null IMEI, that means you have lost your baseband, otherwise that's just something else maybe a small unknown issue, may also be the access point and protocol was not included in the 6.0 rom
If you lost your IMEI, I assume you already did the nandroid backup before, in twrp backup of NVRAM is the IMEI part, you should be able to recover your IMEI with that nvram backup
evilhawk00 said:
sim card not recognized!? Sorry I can't really understand the reason of that because I don't have this problem.
Just a thought, maybe you lost baseband? Can you see your phone's IMEI number in settings? If you found null IMEI, that means you have lost your baseband, otherwise that's just something else maybe a small unknown issue, may also be the access point and protocol was not included in the 6.0 rom
If you lost your IMEI, I assume you already did the nandroid backup before, in twrp backup of NVRAM is the IMEI part, you should be able to recover your IMEI with that nvram backup
Click to expand...
Click to collapse
have you tested with 6.0?
evilhawk00 said:
I made one and got root with A27 , all you need is a twrp and a twrp flashable firmware zip.
Here's what I did,first I found that the TWRP by @BouyaPK did not have the same device model settings in comparison with the stock recovery, so I made a little modification to his TWRP image, now the offical firmware zip can pass Device detection test.
!!Before doing it , make sure you have flashed the modified recovery(the one from attachment) to your phone, official firmware is only flashable via this modified recovery and stock recovery
Download here
View attachment 4137856
this is the example with the ota update package (A19 to A27 upgrade package around 150mb via coloros update manager app)
Now lets start to modify official firmware, follow my steps:
1.extract the newest official firmware zip.
2.now open the extracted folder, navigate to \META-INF\com\google\android\
3.find the file updater-script and open it with text editor( I suggest NotePad++)
4.you'll find a lot of lines start with apply_patch(xxxxx), remove the one with this file "/system/recovery-from-boot.p"
5.(if needed) also remove boot image sha1 check, in my case I have magisk installed, my boot image do not have the same sha1 value with stock boot image, so I found the line that checkes boot.img and remove it
6.done the file edit and save the file
7.repack it back to a zip file and sign the package with test keys
How to sign?
1.Download the sign package from attachment
2.have Java installed on your PC
3.Open a terminal at the same location with the keys and signapk.jar
4.terminal type
Code:
java -jar signapk.jar -w platform.x509.pem platform.pk8 my_modified_firmware.zip my_modified_firmware-signed.zip
8.install with twrp and you still have twrp exist, flash supersu zip or magisk zip
View attachment 4137905
above is the way to modify a PATCH zip ota file, if you are modifying a full package, which may be easier,
the full package's update script write full image to phone instead, so you just need to modify the image in the ota package.
all you just have to make sure the new firmware do not replace twrp with stock recovery, so
1.try to extract the image in the package and modify the image file, remove files such as "recovery-from-boot.p" from the image then rebuild the image and calculate the new sha1 value of the new image(CarlivImageKitchen is a good tool to rebuild image)
2.replace the old sha1 hash in updater-script, repack and sign the zip.
3.flash with twrp
4.flash superSu zip or magisk zip after the firmware flash with twrp can get root.
Click to expand...
Click to collapse
ok got it to work for a full firmware package here's what i did
1 . downloaded a27 (still 5.1 since 6.0 is not stable according to some)
2. using the twrp above flashed a27
3. flashed magisk
4. flash the twrp image again to make sure that incase it was overwritten by the update
NOTE: i did get an error like unable to mount dev/block/platform/...... it was fine for me
ngoralph said:
ok got it to work for a full firmware package here's what i did
1 . downloaded a27 (still 5.1 since 6.0 is not stable according to some)
2. using the twrp above flashed a27
3. flashed magisk
4. flash the twrp image again to make sure that incase it was overwritten by the update
NOTE: i did get an error like unable to mount dev/block/platform/...... it was fine for me
Click to expand...
Click to collapse
6.0 would work if the sim card issue could be fixed. i can't work it out :/
diosdetiempo said:
6.0 would work if the sim card issue could be fixed. i can't work it out :/
Click to expand...
Click to collapse
did you try restoring the nvram using twrp as stated before?
and did you wipe your data before flashing?? i think the transition from 5.1 to 6.0 may have broke some things read about it somewhere that wiping was necessary for LP to MM

System update location

I recently rooted my device, and after trying to install an update that arrived this morning, the phone got stuck in TWRP for obvious reasons. I tried to locate the update using the built-in file manager but couldn't find anything
Where does the update file go when it's downloaded?
You can find the update file in folder /data/data/com.motoroal.ccc.ota/ (after downloading it).

10.0.6 OTA filenames HD65BA

I noticed a system update was announced, grabbed the data from ADB and sharing them here.
Not sure how usefull this is, but perhaps someone can figure out the URL that hosts them and share the downloads.
I have not been able to find the url, but you can copy the file from .Ota directory on the sdcard
OnePlus7TOxygen_14.E.08_OTA_006-008_patch_1911061922_db44361aba217b4.zip
OnePlus7TOxygen_14.E.08_OTA_008_all_1911061922_1846b.zip
Task thread startDownload currentType:http patchFile:id:0 fid:0 name: OnePlus7TOxygen_14.E.08_OTA_006-008_patch_1911061922_db44361aba217b4.zip md5:8746fcd2a75dd7abe4bdf91c4c47f411 size:186116097 downloadedSize:0 downloadFinished:0speed0extract#OnePlus 7T Oxygen OS 10.0.6.HD65BA
Task thread startDownload currentType:http patchFile:id:0 fid:0 name: OnePlus7TOxygen_14.E.08_OTA_008_all_1911061922_1846b.zip md5:d9846a7a941786fed60ad54a0a2b096c size:2710484155 downloadedSize:0 downloadFinished:0speed0extract#OnePlus 7T Oxygen OS 10.0.6.HD65BA
https://otafsg1.h2os.com/patch/amaz...ygen_14.E.08_OTA_008_all_1911061922_1846b.zip
supaflyx3 said:
https://otafsg1.h2os.com/patch/amaz...ygen_14.E.08_OTA_008_all_1911061922_1846b.zip
Click to expand...
Click to collapse
Thx
Now we need someone to extract boot image from this ota ,so we can magisk patch it
No patched boot image for 10.0.6 global around yet
Why you need patched_boot.img?
I have downloaded ota file, put it into root directory, install it through setting>System update>local update, open magisk and made "Install to inactive slot (after ota), reboot, once phone started I open magisk and made "Direct install (Recommend)". Everything is fine.
If it's mater, my phone is unlocked and rooted.
You find it her
spoonymoon said:
Thx
Now we need someone to extract boot image from this ota ,so we can magisk patch it
No patched boot image for 10.0.6 global around yet
Click to expand...
Click to collapse
https://forum.xda-developers.com/oneplus-7t/how-to/pre-rooted-boot-image-op7t-european-t4006559

update ota with twrp

Hi,
I have twrp and stock rom on my Fire TV Stick 2 (tank). I get notification that there is an update, but whenever I try press install Unothing happens. I also tried to manually update, but it says "update failed".
Is there any way to install the latest OTA?
lars1384 said:
Hi,
I have twrp and stock rom on my Fire TV Stick 2 (tank). I get notification that there is an update, but whenever I try press install Unothing happens. I also tried to manually update, but it says "update failed".
Is there any way to install the latest OTA?
Click to expand...
Click to collapse
That is easy. Download the ota file with the settings (check update), then reboot to TWRP.
The update *.bin file is probably stored at:
Code:
/sdcard/Android/data/com.amazon.device.software.ota/files/
Check the size of the file (don't flash partial updates), a full update bin should take about 500mb. You have to rename the file from bin to zip, then flash it with twrp.
Sus_i said:
That is easy. Download the ota file with the settings (check update), then reboot to TWRP.
The update *.bin file is probably stored at:
Code:
/sdcard/Android/data/com.amazon.device.software.ota/files/
Check the size of the file (don't flash partial updates), a full update bin should take about 500mb. You have to rename the file from bin to zip, then flash it with twrp.
Click to expand...
Click to collapse
Thanks a lot.
It worked
For some reason, I can't find the new OTA in this folder anymore:
/sdcard/Android/data/com.amazon.device.software.ota/files/
Does anyone know, where the new path is?
In case the download is complete, it should be in that folder...
However, the .bin file could be also placed in /cache
Don't forget to rename the file to .zip, or twrp install won't show/find the file.

Categories

Resources