Cannot update to 38r from 33r - ONE Q&A, Help & Troubleshooting

Hello,
After about 4 hours of searching and trying different solutions, I give up.
I tried to update to 38R from 33R with the official OTA update. *** last log attached..
The install process mainly failed by wrong or missing .apk files, in my case - install failed for "hexoIcons.apk" and after I fixed this by copying the relevant file into '/system/app/' (I rooted the device for this), install failed with "hexo.apk", which I unable to fix (although I copied It and install the package).
Some solutions that I tried:
1. Root the device and install downloaded 38R rom with sideloader.
2. Factory reset and wipe cache/delvik, and try to update with OTA.
3. Copy mentioned above files to '/system/app'
I think that the problem is this
Code:
script aborted: assert failed: apply_patch_check("/system/app/Hexo.apk","f39cdfa05609ea66c26e61ce28eec3eb574cca67","ee4695449d527f03e618fa8784522a008fba96a3")
assert failed: apply_patch_check("/system/app/Hexo.apk","f39cdfa05609ea66c26e61ce28eec3eb574cca67","ee4695449d527f03e618fa8784522a008fba96a3")
No success this far.
Thank you for you time and effort!
Little info about me:
I am a programmer (although not an Android one)
I have a general knowledge about Android and Cyanogen (installed it before on my previous HTC device)

ur92 said:
Hello,
After about 4 hours of searching and trying different solutions, I give up.
I tried to update to 38R from 33R with the official OTA update. *** last log attached..
The install process mainly failed by wrong or missing .apk files, in my case - install failed for "hexoIcons.apk" and after I fixed this by copying the relevant file into '/system/app/' (I rooted the device for this), install failed with "hexo.apk", which I unable to fix (although I copied It and install the package).
Some solutions that I tried:
1. Root the device and install downloaded 38R rom with sideloader.
2. Factory reset and wipe cache/delvik, and try to update with OTA.
3. Copy mentioned above files to '/system/app'
I think that the problem is this
Code:
script aborted: assert failed: apply_patch_check("/system/app/Hexo.apk","f39cdfa05609ea66c26e61ce28eec3eb574cca67","ee4695449d527f03e618fa8784522a008fba96a3")
assert failed: apply_patch_check("/system/app/Hexo.apk","f39cdfa05609ea66c26e61ce28eec3eb574cca67","ee4695449d527f03e618fa8784522a008fba96a3")
No success this far.
Thank you for you time and effort!
Little info about me:
I am a programmer (although not an Android one)
I have a general knowledge about Android and Cyanogen (installed it before on my previous HTC device)
Click to expand...
Click to collapse
Have you giving the APK the right permissions ?

What's your end goal? Do you want to stick with the 38R build once it flashes successfully or do you want to update all the way to 05Q (or another particular build)? Your best option is to flash the stock images using fastboot. You can find the stock images for all builds in my OnePlus One index thread here:
[INDEX] OnePlus One Resources Compilation Roll-Up
(look in the stock images & ota section)
And I have detailed instructions on how to flash the stock images in section 8 of my guide thread:
[GUIDES][Q&A]How-To Guides For Beginners + Q&A

Permission
jamal2367 said:
Have you giving the APK the right permissions ?
Click to expand...
Click to collapse
Thanks but I granted similar permission to the new .apk files that I added.
I also tried to grant full -rw-rw-rw permission. Not worked so far.

End goal
timmaaa said:
What's your end goal? Do you want to stick with the 38R build once it flashes successfully or do you want to update all the way to 05Q (or another particular build)? Your best option is to flash the stock images using fastboot. You can find the stock images for all builds in my OnePlus One index thread here:
[INDEX] OnePlus One Resources Compilation Roll-Up
(look in the stock images & ota section)
And I have detailed instructions on how to flash the stock images in section 8 of my guide thread:
[GUIDES][Q&A]How-To Guides For Beginners + Q&A
Click to expand...
Click to collapse
I want to flash the most stable official rom (as I received OTA the 38R).
Do you think that I will be able to flash 38R directly although I have a problem to upgrade with OTA rom?

ur92 said:
I want to flash the most stable official rom (as I received OTA the 38R).
Do you think that I will be able to flash 38R directly although I have a problem to upgrade with OTA rom?
Click to expand...
Click to collapse
You can definitely flash any build via the stock images.
Transmitted via Bacon

Related

[GUIDE] Updating A700 while rooted! revised: 8/4/12, bonus for USA tab owners

Make sure you are using CWM version 6.0.1.0
I am not responsible for whatever happens to your device because everyone else puts this in their threads too! get over it
Be sure to click that Thanks button if this helped you. this also appears in everyone else's thread's! deal with it
1. download the update file for your region from paugustin's thread here:
http://forum.xda-developers.com/showthread.php?t=1720157
2. unzip it inside any folder.
3. open the file called updater-script which is located at:
/META-INF/com/google/android
4. delete the line and the blank space left afterwards then save changes to the file. the line for the US version looks like this:
assert(getprop("ro.product.name") == "a700_pa_cus1");
5. highlight everything that came out of the download from step 1, zip it, and rename it to update.zip
6. place in the root of an SD card, not internal storage!
Note: a few users have recommended placing the update.zip on internal storage. i tried it again from a SD card and it worked just fine. if you're having issues with this try internal.
7. reboot to recovery mode. if you need this guide you've had to do it in the past, nuff said! :silly:
8. select Apply update.zip
9. after you select Reboot System, you will be given two options:
Yes will keep CWM recovery but you wont be able to use recovery mode at all until you unlock the bootloader again!
No will allow the update to restore stock recovery, and you will need to re-flash CWM.
10. if you chose Yes from step 9, unlock your bootloader and do the root process again. DONE!
if you chose No, unlock your bootloader, flash CWM again, and do the root process again. DONE!
there are already guides on how to do that.
BONUS FOR USA TAB OWNERS!
This is ONLY FOR UPDATING FROM the Acer_A700_AV043.RV00RC00_AV043.RV07RC06_PA_CUS1.zip file from the link in Step 1 at the top of the page.
If you are on any other version, and / or from any other country, DO NOT TRY THIS!
This is the latest update with the power option added in settings & touch sensitivity improvements, with the getprop line already deleted from the script!
A. Download this directly to your tab.
B. Reboot to recovery mode.
C. Install.
D. After selecting Reboot System you will be given two options. Refer to Step 9 above.
E. After making your choice, you will be given the option to prevent the update from deleting root :victory:
F. Unlock your bootloader again.
G. If you chose No. from Step 9, re-flash CWM 6.0.1.0
H. If you chose No. from Step E, root again if you wish.
DONE!!
I've try this, but when I do point 8 (select Apply update.zip), the update is aborded.
I'm on SDs_Acer_AV043_A700_RV07RC06_EMEA_FR.zip with the root by patched boot.
I want install Acer_A700_AV043.RV07RC06_AV043.RV23RC04_EMEA_FR.zip.
I don't know why update fail.
imtheyoyo said:
I've try this, but when I do point 8 (select Apply update.zip), the update is aborded.
I'm on SDs_Acer_AV043_A700_RV07RC06_EMEA_FR.zip with the root by patched boot.
I want install Acer_A700_AV043.RV07RC06_AV043.RV23RC04_EMEA_FR.zip.
I don't know why update fail.
Click to expand...
Click to collapse
i think i know why.
i revised step 5, check it out
That's what I had done, zip and rename in update.zip.
imtheyoyo said:
That's what I had done, zip and rename in update.zip.
Click to expand...
Click to collapse
hmm... did you put it on an sd card?
and what error is it giving you?
Sterist said:
hmm... did you put it on an sd card?
and what error is it giving you?
Click to expand...
Click to collapse
Yes, and the message was "Update aborted"
Just a question. I have unlocked my A700 via method 2, so without CWM install.
If I follow this guide, placing the update.zip on the card, and restart with Volume-down+Power, will it execute the update.zip as well?
The update.zip in fact is the altered Acer_A700_AV043.RV07RC04_AV043.RV23RC05_WW_GEN1.zip according to the instructions.
If using Root Explorer, where would I have to place the update.zip file?
---------- Post added at 10:57 PM ---------- Previous post was at 10:52 PM ----------
CheopsChefren said:
Just a question. I have unlocked my A700 via method 2, so without CWM install.
If I follow this guide, placing the update.zip on the card, and restart with Volume-down+Power, will it execute the update.zip as well?
The update.zip in fact is the altered Acer_A700_AV043.RV07RC04_AV043.RV23RC05_WW_GEN1.zip according to the instructions.
If using Root Explorer, where would I have to place the update.zip file?
Click to expand...
Click to collapse
Thanks for any advice.
CheopsChefren said:
Just a question. I have unlocked my A700 via method 2, so without CWM install.
If I follow this guide, placing the update.zip on the card, and restart with Volume-down+Power, will it execute the update.zip as well?
The update.zip in fact is the altered Acer_A700_AV043.RV07RC04_AV043.RV23RC05_WW_GEN1.zip according to the instructions.
If using Root Explorer, where would I have to place the update.zip file?
Click to expand...
Click to collapse
I'm not sure if a modified update script would run on the stock recovery. you can try it, the worst that would happen is it will decline to run the update. i would recommend you always have CWM recovery regardless of any flashing/updating plans you may or may not have.
and the location for the update.zip does not change regardless of what you use to get the file there lol it doesn't matter if you use a Toyota or Lamborghini to get to work. silly question lol..
Thanks for your answer. The problem is, an unmodified update script wont run either on my unlocked A700.
And, I am scared about using CWM, as I hear stories it will possibly brick your A700, and that is something I am not too keen about.
But, with Root Explorer compared to ES File Explorer you have more possibilities. But I agree, it was abit a silly question.
So now, how to update my unlocked A700 with the OTA delivered by Acer? That's the question.....
CheopsChefren said:
Thanks for your answer. The problem is, an unmodified update script wont run either on my unlocked A700.
And, I am scared about using CWM, as I hear stories it will possibly brick your A700, and that is something I am not too keen about.
But, with Root Explorer compared to ES File Explorer you have more possibilities. But I agree, it was abit a silly question.
So now, how to update my unlocked A700 with the OTA delivered by Acer? That's the question.....
Click to expand...
Click to collapse
by my understanding, the CWM versions to avoid are 5.4.0.0 (something like that) and the touch version(s)
unlocking your bootloader and not installing CWM is like alcohol-free-beer... pointless.
When trying the above mentioned procedure, i first got an error 6, which i solved by editing the updater-script the second time with notepad++, so i could keep the unix-like line-ends.
Then when i tried to run the update.zip from within cwm, i got error status 7.
(On both the downloaded update file from the thread mentioned above, and from the original from Acer received OTA update file)
As far as i know, after googling error status 7 has to do with the update zip not for the system trying to update. But i am sure, as i also tried with the Acer received OTA (after deleting the first line in the updater-script), i used the correct update file.
What could cause this?
Hi. Link for U.S. tab owners (www.sendspace.com) is dead. Can you post again?
eman01 said:
Hi. Link for U.S. tab owners (www.sendspace.com) is dead. Can you post again?
Click to expand...
Click to collapse
LOL stupid mistake on my part
the link wasn't really dead, i just screwed up in how i posting it lol thanks for mentioningit
Got it. Thanks.
OK. I finally tried above method to update rooted U.S. A700.
Started with:
Image Acer_AV043_A700_RV07RC06_PA_CUS1
Build Acer_AV043_A700_1.029.00_PA_CUS1
CWM Recovery 6.0.1.1
I tried both methods above- initially using the update.zip specifically provided for U.S. A700 owners in the 2nd part of 1st post of this thread
IN "BONUS FOR USA TAB OWNERS!".
Tried it on 1st external SD, then internal SD.
Both ways I get RED TRIANGLE with exclamation point and message:
"Can't open /sdcard/update.zip
(bad)"
OR
"Can't open /emmc/update.zip
(bad)"
I am, of course, sure I copied the update.zip directly from Downloads to the root of the external and internal cards;
I also made sure to use "Choose zip from SD card" in CWM to find the Update.zip file right where I put it.
Not ready to quit, I tried again using the original Update zip file and modifying updater.script myself, exactly as described in the 1st part of the 1st post. I also tried this update.zip with modified updater.script on both the external and internal SD, without success.
This time I did get further, receiving:
Finding update package...
Opening update package...
Installing update...
Mount Data success
Verifying current system...
assert failed: apply_patch_check_("EMMC:\dev\block\platform\sdhci-tegra.3/by-name/LNX:4065536:95
Then a bunch of letters/numbers
E:Error in sdcard/update.zip
(Status 7)
Installation aborted.
P.S. I verified I have the assert line deleted in the updater.script before I tried this.
I should mention that I have stock ROM, have and have NOT deleted any system apps
(I have inactivated a few like VirusScan within Android).
Luckily I was able to reboot without any problems after all these attempts, but now I am stuck.
Any ideas?
hmmm that's an error i haven't seen before. try deleting the update and downloading it again, or disabling assert check
I'm not a developer, that's the best i can suggest. you'd have to ask someone with a bit more knowledge
it might have something to do with the root method you used originally
Well, I tried yIur modified update.zip multiple times (downloaded it 3 different times, and tried both internal and external SD). As mentioned, I also tried modifying the updater.script myself (used JOTA text editor; maybe that was an issue with respect to how it saves a file, etc.).
How does one disable assert check, as you describe? A link, perhaps?
Interestingly, today I was able to flash the original1.029 update (1st A700 OTA update) after modifying it's updater.script in exactly the same fashion you describe. It put me back to stock 1.029, which I then updated to stock 1.057 (2nd A700 OTA update). I then re-unlocked bootloader, re-rooted and re-installed CWM recovery 6.0.1.1 easily and successfully as described in the threads in A700 development in this forum. Still holding out on CM ROM, as it seems fairly buggy. Thanks for trying. My way definitely took longer; don't know why your direct method would not work on my tab. Thanks.
disable asset check should be one of about 4 or 5 options to choose from, right next to ''choose from internal'' / external
it actually might not be available on this device it's been a while since I've used CWM
i do these modifications right from my tab with ES file explorer.
glad you were able to get it working
[solved] US A700 rooted OTA update
hi all,
after few days of messing about I finally managed to update a rooted US A700. I will try to guide you through what I did.
After initially booting up the A700 I upgraded it OTA to AV043_A700_RV07RC06_PA_CUS1 and after that rooted it using method #2 in the rooting thread (method #1 didn't work for some reason)
Got OTA notification saying that AV043.RV23RC03_PA_CUS1 was available (performance update, 35.72MB in size) but that wouldn't install giving error Status 7.
Installed CWM 6.1.1, still tthe same results, it wouldn't even install any of the other ROM's that are posted in this forum.
I probably should mention that I saved the original OTA update for installation later.
here is the solution (at least in my case)
Downloaded ROM Acer_A700_AV043.RV00RC00_AV043.RV07RC06_PA_CUS1.zi p from http://forum.xda-developers.com/showthread.php?t=1720157
Extracted boot.img and flashed via fastboot flash boot boot.img
Rebooted into CWM recovery and flashed the earlier saved OTA update no problem (was saved on internal memory but external memory card should work as well)
Then all that needed to be done was to root the A700 again (I used method #2 again)
Hope that helps someone.
eman01 said:
OK. I finally tried above method to update rooted U.S. A700.
assert failed: apply_patch_check_("EMMC:\dev\block\platform\sdhci-tegra.3/by-name/LNX:4065536:95
Then a bunch of letters/numbers
E:Error in sdcard/update.zip
(Status 7)
Installation aborted.
Any ideas?
Click to expand...
Click to collapse
You are not using the original bootloader so checking failed.
Simply delete this line to fix it (it happened to me last week when I created my homemade OTA update). Don't forget to unlock your bootloader after that !

[Q] Installation failed CM 10.2 on HTC Google Nexus One

My first post Hurray!
Hi guys.
I want to install Android 4.3 to my HTC Google Nexus One. I followed this post.
I installed everything needed and when I try to install the update I get the following results:
Formatting System
Installing CM 10.2
Setting symlinks and premissions...
Setting symlinks...
Setting permissions..
set_perm: some changed failed
E:Error in /sdcard/update.zip
(Status 7)
Installation aborted.
Click to expand...
Click to collapse
I have Fastboot access to the phone when connected via USB to my Windows 7 laptop.
I am using recovery versions 5.0.2.0 for my Google Nexus One phone.
Flashing ROM: CM 10.2 Rom for the N1
How can I solve this issue, need your help. Thanks in advance. :cyclops:
Other things I've tried: Flashing the rom from boot.img from the zipped file via fastload
I also checked for assert command in the script file but there aren't any.
IdanShechter said:
My first post Hurray!
Hi guys.
I want to install Android 4.3 to my HTC Google Nexus One. I followed this post.
I installed everything needed and when I try to install the update I get the following results:
I have Fastboot access to the phone when connected via USB to my Windows 7 laptop.
I am using recovery versions 5.0.2.0 for my Google Nexus One phone.
Flashing ROM: CM 10.2 Rom for the N1
How can I solve this issue, need your help. Thanks in advance. :cyclops:
Other things I've tried: Flashing the rom from boot.img from the zipped file via fastload
I also checked for assert command in the script file but there aren't any.
Click to expand...
Click to collapse
might need to get a higher vesion of CWM. otherwise google Status 7 error
Hi,
Which version is recommended, the highest that is compatible. According to the ROM manager page of clockworkmod, this is the only one available for the nexus one.
IdanShechter said:
Hi,
Which version is recommended, the highest that is compatible. According to the ROM manager page of clockworkmod, this is the only one available for the nexus one.
Click to expand...
Click to collapse
you would have to get a ported (non offical: should work just as fine as offical but there could be some other added stuff.) version since you want Cm 10.2 5.x.x.x should work but just to be on the safe side you should try getting 6.0.4.5. should only have to download a zip of whatever you find and flash it in your current recovery.
Trozzul said:
you would have to get a ported (non offical: should work just as fine as offical but there could be some other added stuff.) version since you want Cm 10.2 5.x.x.x should work but just to be on the safe side you should try getting 6.0.4.5. should only have to download a zip of whatever you find and flash it in your current recovery.
Click to expand...
Click to collapse
I get Image Update Error when updating the 6.0.4.5 version. I've chosen on for another device because there isn't any 6.0.4.5 version for Nexus One.
I checked the free available space. In the SD Card I've have plenty (more than 2GB), but /system has 0% available. This might cause the flash to fail. Is there any option to free up space before I flash the ROM?
Update: even after formatting the system directory I still get the same error, this it not the problem so it seems.
IdanShechter said:
I checked the free available space. In the SD Card I've have plenty (more than 2GB), but /system has 0% available. This might cause the flash to fail. Is there any option to free up space before I flash the ROM?
Update: even after formatting the system directory I still get the same error, this it not the problem so it seems.
Click to expand...
Click to collapse
your gonna have to ask the nexus ones offical Q&A then http://forum.xda-developers.com/nexus-one/help if i right with this problem you have to do something specifically and differently for every device so just ask the pros on your device first.
IdanShechter said:
My first post Hurray!
Hi guys.
I want to install Android 4.3 to my HTC Google Nexus One. I followed this post.
I installed everything needed and when I try to install the update I get the following results:
I have Fastboot access to the phone when connected via USB to my Windows 7 laptop.
I am using recovery versions 5.0.2.0 for my Google Nexus One phone.
Flashing ROM: CM 10.2 Rom for the N1
How can I solve this issue, need your help. Thanks in advance. :cyclops:
Other things I've tried: Flashing the rom from boot.img from the zipped file via fastload
I also checked for assert command in the script file but there aren't any.
Click to expand...
Click to collapse
Status 7 error comes due to system folder being full.. I m not a nexus one user and its a common problem..
Open the rom zip of your file delete some apps from system/app then flash the rom..
This will solve your status 7 error..

Assistance is required to flash JB to Samsung Galaxy SII

Hi All,
I decided to flash JB firmware to my old device and give it to my son. Now device has GB version.
I found topic: http://forum.xda-developers.com/galaxy-s2/general/rom-cyanogenmod-10-official-nightly-t1794758 which presumable should help me with that by encountered few problems:
1. The first advice is: Make sure you're running a proper working ClockworkMod-Recovery.
I went to appropriate topic (DANGER!!!): http://forum.xda-developers.com/showthread.php?t=1118693, which refers to http://d-h.st/pQK but downloaded ace-archive contains virus. I killed the virus eventually, but wondering how is that possible that XDA references something with virus inside?
Question #1: should I still try to download ClockworkMod-Recovery from the referenced topic? Today I tried that again, but ace archive still contains a very suspicious exe... and I'm afraid, that is still virus.
2. Further advice is: Copy GApps and CM10 ZIPs to your internal SDCard
Where can I get CM10? In the original topic there is only reference to the nightly guild of CM10. Should I try it? Is there more reliable build?
Another topic: http://forum.xda-developers.com/xperia-j-e/orig-development/miro-tipo-j-edevelopment-cm10-t1997251 doesn't have any reference to download.
Question #2: Where can I download CM10 and other gapps?
Question #3: Where can I get firmware itself? I could not see any WORKING reference in the original topic. Please advise.
Thanks a lot!
SeredaOM said:
Hi All,
I decided to flash JB firmware to my old device and give it to my son. Now device has GB version.
I found topic: http://forum.xda-developers.com/galaxy-s2/general/rom-cyanogenmod-10-official-nightly-t1794758 which presumable should help me with that by encountered few problems:
1. The first advice is: Make sure you're running a proper working ClockworkMod-Recovery.
I went to appropriate topic (DANGER!!!): http://forum.xda-developers.com/showthread.php?t=1118693, which refers to http://d-h.st/pQK but downloaded ace-archive contains virus. I killed the virus eventually, but wondering how is that possible that XDA references something with virus inside?
Question #1: should I still try to download ClockworkMod-Recovery from the referenced topic? Today I tried that again, but ace archive still contains a very suspicious exe... and I'm afraid, that is still virus.
2. Further advice is: Copy GApps and CM10 ZIPs to your internal SDCard
Where can I get CM10? In the original topic there is only reference to the nightly guild of CM10. Should I try it? Is there more reliable build?
Another topic: http://forum.xda-developers.com/xperia-j-e/orig-development/miro-tipo-j-edevelopment-cm10-t1997251 doesn't have any reference to download.
Question #2: Where can I download CM10 and other gapps?
Question #3: Where can I get firmware itself? I could not see any WORKING reference in the original topic. Please advise.
Thanks a lot!
Click to expand...
Click to collapse
You can find your CM10 and recovery on cyanogenmod.org
Tyaginator said:
You can find your CM10 and recovery on cyanogenmod.org
Click to expand...
Click to collapse
Was not able to find CM10 on cyanogenmod site, only ROMs.
I want also to update community that I was able to update the firmware on my device.
The most important things which helped me to do are below. Hopefully they will help somebody else.
1. The very basic part of device (at least of Galaxy SII) is "Download mode" accessible via "VolumeDown+Home+Power". This mode literally unbreakable and your safety net if anything goes wrong. Via this mode you are able to upload "Recovery software". To do this you need Odin and recovery SW itself. I used Odin 3.04 and CWM-KitKatCompatible-i9100.tar
2. Recovery mode is SW which allows to upload ROM. To use it one should upload zip with FW (firmware) to SD card and using recovery mode SW install it. Usually, people upload ROM when their device is fully functional. In my case (I broke it before I uploaded FW) I pushed fw via ADB (which is working in recovery mode). Command line: adb push "file_with_FW" /sdcard/storage0 - worked for me
3. Also makes sense to install google apps (set of apps from google which will make other programs work better). Trivial thing after you manage items 1 and 2.
Good luck!

May Update Help?

Google Store purchased, currently have root and twrp installed, bootloader unlocked.
I read briefly that to accept the new update and keep root, you have to mess with the bootloader? Is there some sort of simplified guide on this?
Thanks to chainfire, there is a guide for updating to may version and keep may bootloader.
First, you have to flash new factory image or sideload the ota
Let it reboot, now you lost recovery, custom kernel, root etc..
Reboot to bootloader and boot to twrp, flash supersu and the zip provided by chainfire for signing the bootloader
Reboot and you should have root with may update
If you want a custom kernel or twrp you should flash the zips and the verification tool, i didn't understand the right process for this, for me it looped a couple of times but after flashing those files a bunch of times in different orders it succesfully booted with no errors.
I'm currently running stock 7.1.2 may update with supersu 2.79 SR3, TWRP 3.0.1 RC1, franco kernel r15 with no errors, everything running perfectly
Where can we get the May ota download and a refresher on sideloading it? I've done that before but don't do it often enough to get through it quickly... currently running 7.1.2 / NHG47K on my Google bought Pixel which has been unlocked, and rooted. Though I've not installed TWRP, I can bootload into it fine....
My phone app has suddenly started acting all wonky, so I'd really like to update and see if that will help straighten things up.
Thanks for the assistance...
Got the May ota and will now sideload it. Where is this 'guide' that you mentioned Chainfire has setup to assist folks handling the May update?? I'd like, specifically, to get a copy of the zip file that signs the bootloader.
Thanks!!
I am wondering also. Still using NDE63P from October, wasn't aware we could take OTA's at all and keep root. Been having so many Bluetooth issues, it's worth a shot given their focus on it a month or so ago.
Well... up until this recent May ota release, it used to be pretty easy to simply download the latest Superuser zip file and re-install it on your phone, thereby re-establishing root access (assuming your phone is / was unlocked and rooted prior to taking the update). That is not the case going forward.... but I am still researching it.... follow along by looking here: https://forum.xda-developers.com/an...signing-boot-images-android-verified-t3600606
Oh wow, that's super easy. Sweet! Now I need to find out where the past OTA's are so I can flash all of those...
I'm going to give all that a try soon, if anyone following this thread needs help or has questions, feel free to reply here with them.
To dumb down that entire OP into the reason why it's needed: the OTA's being sent out up through April 2017 was just the OTA itself. In May, they started requiring them to be encrypted with a certificate, but didn't provide requirements on from whom the certificate comes from. This means that now, instead of just flashing the ZIP, you first encrypt it with your own certificate and then flash the result of that.
They mention the private keys can be discarded later, given they are generated for the sole purpose of uploading OTA's to the phone, I would think keeping them on the internal SD card of the phone itself would be suitable. Heck, zip those puppies up and email them to yourself, they're not being used for security, why not, right?
Try here: https://developers.google.com/android/ota
Just sideload the latest... you only need one
pstgh said:
... https://developers.google.com/android/ota
Just sideload the latest
Click to expand...
Click to collapse
pstgh said:
... follow along by looking here: https://forum.xda-developers.com/an...signing-boot-images-android-verified-t3600606
Click to expand...
Click to collapse
Yes, the first link is the ota repositories, download the zip of may, then put it in the adb folder, reboot to recovery, go in advanced menu and start sideload, without wipe cache or dalvik.
Then in cmd just type "adb sideload <name-of-the-ota.zip>"
Let it finish both steps and reboot, then you are ready to boot to twrp and flash supersu and the zip v3 from chainfire's thread for signin the bootloader.
That's it
Agree. Pro tip: after downloading the proper ota update, rename it to something simpler so you can more easily enter that adb sideload ota-filename.zip command!
pstgh said:
Agree. Pro tip: after downloading the proper ota update, rename it to something simpler so you can more easily enter that adb sideload ota-filename.zip command!
Click to expand...
Click to collapse
better pro tip: tab auto completes the filename.
exad said:
better pro tip: tab auto completes the filename.
Click to expand...
Click to collapse
Expert pro tip: shift+right click the file, "Copy As Path", paste into the terminal.
(I use ConEmu, so right-clicking the terminal itself pastes what's on the clipboard; some Linux distros do this also Command Prompt I think right click is done on the title bar or some obscure thing like that, can't remember).
Expert pro tip: shift+right click the file, "Copy As Path", paste into the terminal. -
I like this one but when I tried it, fyi, it pastes the path with quote marks on either end.... which is burdensome
Quotes are accepted in the adb commands. Without them, each space in the path is interpreted as an argument delimiter.
adb some-command C:\Program Files\Some-Program\Main.exe
passes "C:\Program" and "Files\Some-Program\Main.exe" as two different arguments to adb. Surrounding​ it with quotes instead allows adb to use the full path correctly. Common practice with command-line apps, although not universally supported.
It does work with adb/fastboot though, just did it a couple days ago to upgrade my Huawei Watch with the Wear 2.0 OTA that it kept failing to detect was available.

August Security Patch Rolling Out

[Global] Mi A2 Lite V11.0.10.0.QDLMIXM rolling out!

			
				
Wow. That's gotta be some kind of record for Xiaomi
Mine is only 13M though. Must be a tiny update.
Wow! First time ever that this Android One device is actually up to date security wise.
Yes, from July update only 13MB.
Maybe it was there before, but after updating I noticed a native screen recorder icon.
Updated: It is not native. I have a screen recorder app installed.
Direct share not yet available.
penahj said:
Maybe it was there before, but after updating I notice a native screen recorder icon
Click to expand...
Click to collapse
strange i dont have this one and never had screen recording option
Antho02 said:
strange i dont have this one and never had screen recording option
Click to expand...
Click to collapse
You are right. It's not a native app. I have a screen recordering app installed. Sorry for the wrong news.
Does someone know how to install an OTA Update without using the System Update App? It always says Installation Problem. Installation failed.
I'm rooted with magisk, that's the reason i guess.
I found the 13mb Update as a zip file, but it's not flashable via twrp... Any Suggestions?
Best regards
Alex
Alibabara said:
Does someone know how to install an OTA Update without using the System Update App? It always says Installation Problem. Installation failed.
I'm rooted with magisk, that's the reason i guess.
I found the 13mb Update as a zip file, but it's not flashable via twrp... Any Suggestions?
Best regards
Alex
Click to expand...
Click to collapse
+1 I am also looking for this
Alibabara said:
Does someone know how to install an OTA Update without using the System Update App? It always says Installation Problem. Installation failed.
I'm rooted with magisk, that's the reason i guess.
I found the 13mb Update as a zip file, but it's not flashable via twrp... Any Suggestions?
Best regards
Alex
Click to expand...
Click to collapse
with twrp/magisk i always do
1-xiaomiflash rom (keep user files)
2-boot and install twrp
3-boot and install magisk
no problem this way
Antho02 said:
with twrp/magisk i always do
1-xiaomiflash rom (keep user files)
2-boot and install twrp
3-boot and install magisk
no problem this way
Click to expand...
Click to collapse
So you Flash the whole Rom (~1.2gb) and not just the Update?
I would like to find a way to Flash just the Update since your method is taking too long for me...
Best regards
Alex
If you only have Magisk, the standard process should work for you.
https://forum.xda-developers.com/mi-a2-lite/how-to/guide-install-magisk-proper-support-ota-t3836952
If it's not working and you have somehow modified some other partition, it will be written to the logcat.
adb logcat | grep update_engine
My Problem is, even with magisk 'uninstalled' the Update App from xiaomi still says 'Installation failed: Installation Problem'
That even happens with totally Stock rom, no root and no twrp.
I dont know why. But is there any other way to Update manually without flashing the whole Big Rom file? Just the Update file...
There must be a reason why there is an update file in zip Format which is 13mb Big.
Best regards
Alex
Alibabara said:
My Problem is, even with magisk 'uninstalled' the Update App from xiaomi still says 'Installation failed: Installation Problem'
That even happens with totally Stock rom, no root and no twrp.
I dont know why. But is there any other way to Update manually without flashing the whole Big Rom file? Just the Update file...
There must be a reason why there is an update file in zip Format which is 13mb Big.
Best regards
Alex
Click to expand...
Click to collapse
Alex, You don't have to flash the whole big rom file, but you do have to download it though. You can get it from here: https://mirom.ezbox.idv.tw/en/phone/daisy/roms-global-stable/
You then have to extract the files that you need with payload_dumper which you get from here:
https://androidfilehost.com/?fid=818070582850510260
NB that is the Windows 64bit version so make sure that is the OS your pc is using.
You then have to find which partition it is that is causing the problem for which you have to use a1291762's advice:
Code:
adb logcat | grep update_engine
and read very carefully through the results because the offending entry will be difficult to spot amongst the dozens of others.
You then flash the partition mentioned in the logcat. For example if 'system' is mentioned in the logcat as having an incorrect hash (that is always the reason for the failures) you would have to extract 'system.img' with payload_dumper and run
Code:
fastboot flash system system.img
Then try the update again. If it works you will also probably have to reinstall Magisk from scratch again as flashing system will probably remove it.
Yes it is complicated - far too complicated, but the simple measure you call for - just flash an update file - has, to the best of my knowledge never been possible, so there must be some reason why that is so, but I don't know what it is.
Incidentally, the reason I am able to respond to this question is that I had a torrid time yesterday trying to update my A2 lite on which I had not one, but 3 errors. aboot hash incorrect, system hash incorrect, and before any of that the normal Magisk uninstall told me it had no images to restore and so had to be uninstalled completely. It took me hours and it wasn't that much fun.
Alibabara said:
There must be a reason why there is an update file in zip Format which is 13mb Big.
Click to expand...
Click to collapse
The update is only 13M because it contains only changes. But for that to work, your partitions must be unmodified.
The larger update zip has complete partitions so it can work even if you have changes. You may be able to do the recovery update method with that file...
The even larger fastboot image has every partition.
thanks everyone for the help!
I did it as you said viking777 and it worked.
It's sad, that for an 13mb update this procedure is necessary, but thats how it is..
So thanks again everyone for the help
Antho02 said:
with twrp/magisk i always do
1-xiaomiflash rom (keep user files)
2-boot and install twrp
3-boot and install magisk
no problem this way
Click to expand...
Click to collapse
Can I do this with out installing TWRP as I haven't installed it already.
Aadil Gillani said:
Can I do this with out installing TWRP as I haven't installed it already.
Click to expand...
Click to collapse
sure, even more quick if u dont need twrp
flash last rom with xiaomi flash (save user data selected)
then boot patched.img and install magisk, less than 10 mins and no need to worries about uninstall magisk or any mod before
Antho02 said:
sure, even more quick if u dont need twrp
flash last rom with xiaomi flash (save user data selected)
then boot patched.img and install magisk, less than 10 mins and no need to worries about uninstall magisk or any mod before
Click to expand...
Click to collapse
I have some questions it would be a be a pleasure if you could answer.
Q1 will the modules remain or not ?
Q2 how to make make patched boot img I mean should I make my self using Magisk Manager app
Q3 Also which TWRP do you use and if it has any problems
Q4 should I use zip file or tgz for mi flash

Categories

Resources