[Q] OTA update on stock ROM, but custom recovery - One (M7) Q&A, Help & Troubleshooting

Good morning, all:
I just got my HTC One the other day and, in the process of transferring content from my Galaxy SIII, I rooted and installed CWM recovery, but kept the stock ROM because I liked the change from what I'd been using on the SIII (CM).
Unfortunately, in the last day or so, an OTA update was released for the One and, as I found out (and you likely know), you can't perform OTA updates with a custom recovery. The constant notifications are enough to make me want to update, besides the obvious benefits of increased stability.
I was wondering if I could flash the recovery found in the [Recovery] Stock HTC One post (http://forum.xda-developers.com/showthread.php?t=2158763) to the device so that I could update? Also, would this break my root/superuser? The device is a TELUS model (if they differentiate by carrier) with software no° 1.29.661.5.
Any advice would be appreciated. Thanks!
------------------------------
UPDATE - 2:38 PM
------------------------------
Hey, guys:
Sorry for all of this noise, I figured things out and wanted to delete this thread, but can't seem to do that.
For those of you experiencing similar issues, who followed mike1986.'s Complete Flashing Guide post, the process for restoring your stock Recovery image to do OTA updates is actually super simple:
- Connect your phone to your computer and pull the backup you did of your device before flashing the custom recovery image.
- Open the folder and move the Recovery.img file to your Android SDK folder.
-Boot your device in fastboot mode (like you did during unlocking bootloader - power off the device and turn it on using power + vol down buttons and select "FASTBOOT")
-Open up command prompt ( Start > Run > type cmd and hit enter ). The window that appears is called Command Prompt. <click here to see the image>
- Navigate to [your SDK directory] (type in Command Prompt: cd c:\[directory]).
- In the Command Prompt type following command: fastboot flash recovery recovery.img
Click to expand...
Click to collapse
Using this method, you could flash your stock recovery back onto the device, perform the OTA, then flash the custom Recovery.img back onto your device all in the span of 5 minutes.
This is probably standard stuff for most people on this forum.

[DELETED]

Could you please post your custom recovery?
I need to do the same procedure as yours, and I am currently on same fw, from Telus.
Many thanks.
Sent from a pizza

millicent said:
Could you please post your custom recovery?
Click to expand...
Click to collapse
Sure thing, millicent.
Tried attaching it to the post, but that wasn't working so here's a DropBox link: HTC One Stock Recover (1.29.661.5). Happy OTA updating!

I've tried this, but the OTA update package won't install. Flashing the Recovery.img isn't enough.

Sonnyw said:
I've tried this, but the OTA update package won't install. Flashing the Recovery.img isn't enough.
Click to expand...
Click to collapse
I assume you're running a stock ROM, so did you delete any stock apps(i.e bloatware)? If so, you will need to NAND restore to a stock backup or get those apps back. First thing an official OTA does is check the signatures on all the files it'd expecting to be on the device and if any come back wrong or missing, update aborts.
Sent from my Galaxy S4

unremarked said:
I assume you're running a stock ROM, so did you delete any stock apps(i.e bloatware)? If so, you will need to NAND restore to a stock backup or get those apps back. First thing an official OTA does is check the signatures on all the files it'd expecting to be on the device and if any come back wrong or missing, update aborts.
Sent from my Galaxy S4
Click to expand...
Click to collapse
Remember that unlocking the bootloader automatically deletes a few apps, which you will need to install back

MacHackz said:
Remember that unlocking the bootloader automatically deletes a few apps, which you will need to install back
Click to expand...
Click to collapse
So I was just wondering, if i install the bloatware/default apps back manually (using the .apk files) and flash the recovery back to stock. Will I be able to do an OTA update Without loss of data? If that´s possible, I wil flash the custom bootloader back after performing the OTA update.

Guys, thanks for helping me out. I've done an OTA update without any data loss, you can read about it in thishttp://forum.xda-developers.com/showthread.php?p=42122514#post42122514 Thread.

MacHackz said:
Remember that unlocking the bootloader automatically deletes a few apps, which you will need to install back
Click to expand...
Click to collapse
Really? I did not know this! Out of my curiosity, do you know what apps get deleted?
Sent from my Galaxy S4

unremarked said:
Really? I did not know this! Out of my curiosity, do you know what apps get deleted?
Sent from my Galaxy S4
Click to expand...
Click to collapse
{
"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"
}

MacHackz said:
Click to expand...
Click to collapse
What a strange assortment of apps to be removed. Thanks for the info!

Can you tell me where to find the stock recovery I'm moto e
No one ever mentions where to find the stock recovery file for a noob like me
When I find it, Should I flash it via cmd and I'll get my stock recovery back?I want it back to install official lollipop 5.1 I downloaded.It won't install after downloading but just takes me to the TWRP Screen(ya I have TWRP installed)

HELP ME PLEASEEE said:
No one ever mentions where to find the stock recovery file for a noob like me
When I find it, Should I flash it via cmd and I'll get my stock recovery back?I want it back to install official lollipop 5.1 I downloaded.It won't install after downloading but just takes me to the TWRP Screen(ya I have TWRP installed)
Click to expand...
Click to collapse
This is the HTC One M7 forum, if you need help with your Moto E post in the Moto E forum.
http://forum.xda-developers.com/moto-e

Related

Do I need to ALSO revert from Amon-Ra's recovery to stock recovery to get the OTA

I have been searching around on this forum and reading stickies and can't seem to find a definitive answer.
I've reverted my N1 to the stock ROM, but it's still running Amon-Ra's recovery.
The System Updates option in "About Phone" *IS* there, but says no updates are available.
My question is: Do I also need to restore the stock recovery.img in order to get the OTA 2.2 update? Does anyone KNOW whether Amon-Ra's stuff disables OTA Updates? I just am getting a lot of conflicting posts on this.
Thanks
yes you do. amons recovery will only flast test/developer signed roms. the stock recovery will only flash google signed roms.
Yes you need stock recovery for OTA
Thanks for the reply. Now if only I could find an original stock ZIP that isn't reporting as CORRUPTED!!!! Argh..
Randy
****.. if thats true i need a stock recovery too, i'll try to find one
Yeah okay, I've downloaded a bunch of the images both in update format and in 'original' HTC format from the sticky. The originals don't seem to be unzippable. Says the files are corrupt with winzip and windows unzip. so I can't seem to find a recovery.img file to put in my tools folder. I can't believe all these files are corrupt so I'm assuming user error. Anyone?
Just flashed my recovery back to stock.
Used this recovery.img to do it.
Since I'm a new user, I can't post links, but it's on rapidshare DOT com /files/390350606/recovery.zip.html
stock
How to flash back to stock?
Thanks, I think I'm all set. Now just time to wait.....
kevinniven said:
How to flash back to stock?
Click to expand...
Click to collapse
Same way as you flashed to the Amon_Ra recovery image. Fastboot command
"fastboot flash recovery Recovery.img" Just use the stock .img file instead.
In order to unzip the original stock zip files from the HTC mothership, you need to use '7Zip' (Google it) as it's a different kind of zip file. Then you will have all of the imaged you need. Check the post in this forum about going back to stock for the rest of the steps... Now if they would just release thr darn OTA..! (c:
Sent from my Nexus One using Tapatalk
that recovery image is no good.
I followed the instructions in the following thread:
http://forum.xda-developers.com/showthread.php?t=614850
And after the installation I got Build ERD79 (original shipping ROM), almost immediately I got the OTA update to 2.1-update 1 and now my device has the build ERE27 (official update).
That means if you go back to Stock ROM and Recovery, the OTA process should work fine.
Help please
Ok, for the first time, I have a problem that I don't know how to solve.
I followed Seraph1024's instructions to restore to stock. I flashed the userdata.img, boot.img and system.img just fine...it said okay on all counts and booted back into stock ROM. I DID NOT flash the stock recovery.img though
Everything booted fine and it found the 2.1 Update 1 and downloaded it, installed it and then it said verification failed-installation aborted. I then tried to fastboot flash recovery recovery.img to the stock recovery instead of Amon-Ra's and reboot.
When I tried to re-download 2.1 update 1, it says my phone is up-to-date although the About Phone=>Version still says 2.1 only
Now it's stuck on the android with a triangle/exclamation mark in it I need some direction quick as I don't want to screw it up anymore without guidance. THANKS!
mtw4991 said:
Ok, for the first time, I have a problem that I don't know how to solve.
I followed Seraph1024's instructions to restore to stock. I flashed the userdata.img, boot.img and system.img just fine...it said okay on all counts and booted back into stock ROM. I DID NOT flash the stock recovery.img though
Everything booted fine and it found the 2.1 Update 1 and downloaded it, installed it and then it said verification failed-installation aborted. I then tried to fastboot flash recovery recovery.img to the stock recovery instead of Amon-Ra's and reboot.
When I tried to re-download 2.1 update 1, it says my phone is up-to-date although the About Phone=>Version still says 2.1 only
Now it's stuck on the android with a triangle/exclamation mark in it I need some direction quick as I don't want to screw it up anymore without guidance. THANKS!
Click to expand...
Click to collapse
after flashing the stock recovery img i get the same pics when attempting to load the into the recovery.
{
"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"
}
punkcell said:
after flashing the stock recovery img i get the same pics when attempting to load the into the recovery.
Click to expand...
Click to collapse
Fixed it with this link, worked like a charm!
http://www.androidcentral.com/how-manually-update-your-nexus-one

[Q] cant install latest OTA..

I've got an HTC one which is unlocked and S-Off with CWM and still running 1.29.401.13.
I received a notification of an OTA (2.24.401.1, which includes android 4.2.2) the other day..
I downloaded it and chose to install it. Once I did, my phone booted into CWM and instead of a new ROM, I'm shown an error:
{
"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"
}
I've also found the downloaded OTA.zip and tried to install it manually through CWM, but I get this:
Could anyone point me in the direction of the cause or fix please?
Thanks in advance,
'tunes
mad_tunes said:
I've got an HTC one which is unlocked and S-Off with CWM and still running 1.29.401.13.
I received a notification of an OTA (2.24.401.1, which includes android 4.2.2) the other day..
I downloaded it and chose to install it. Once I did, my phone booted into CWM and instead of a new ROM, I'm shown an error:
I've also found the downloaded OTA.zip and tried to install it manually through CWM, but I get this:
Could anyone point me in the direction of the cause or fix please?
Thanks in advance,
'tunes
Click to expand...
Click to collapse
flash stock recovery and relock your bootloader for official OTA updates. you can't install OTA's with a custom recovery and an unlocked bootloader.
herwegan said:
flash stock recovery and relock your bootloader for official OTA updates. you can't install OTA's with a custom recovery and an unlocked bootloader.
Click to expand...
Click to collapse
Thanks herwegan. I've just flashed a stock recovery and relocked my bootloader (now shows relocked).
I let the phone re-download the OTA and chose to install it. Now, it restarts and stops at this:
any more ideas please?
mad_tunes said:
Thanks herwegan. I've just flashed a stock recovery and relocked my bootloader (now shows relocked).
I let the phone re-download the OTA and chose to install it. Now, it restarts and stops at this:
any more ideas please?
Click to expand...
Click to collapse
is your device rootet? if yes, unroot it temporary for OTA
herwegan said:
is your device rootet? if yes, unroot it temporary for OTA
Click to expand...
Click to collapse
I've unrooted it and tried the same again... and got the same.
I've found that I get stuck at the same screen as above if I try to do a factory reset from within the bootloader too.
.. I also can't sideload a ROM, The ROM's copied to my phone, but I'm then told:
E:\ cant open /tmp/update.zip (bad)
installation aborted
I think I might be making some progress.
After setting every back to as stock as possible, I was still finding the same problem.
So, I found and installed an old RUU, which installed OK on the second attempt. (I was oriignally running .13, the RUU was an older .7)
This has let me run through the OTAs back up to .12 so far, it's re-downloading the latest one atm. I'm hoping it'll install OK like the .12 and then I can re-unlock everything.
edit:
the latest OTA installed just fine.
Thanks for the suggestions
I thought I'd got this sorted out but something's still not right.
Everything looks fine once booted but whatever I backup from within CWM, it runs through as you'd expect but its not shown when I browse my SDCard once booted.
inside CWM, I see just
0/
clocworkmod/
legacy/
obb/
the contents of the sdcard are shown as being inside 0/, it's like CWMs working at a folder higher up the tree then it has for me before.
that means I cant delete or copy backup from a pc..
does anyone know what might be wrong please?
mad_tunes said:
I thought I'd got this sorted out but something's still not right.
Everything looks fine once booted but whatever I backup from within CWM, it runs through as you'd expect but its not shown when I browse my SDCard once booted.
inside CWM, I see just
0/
clocworkmod/
legacy/
obb/
the contents of the sdcard are shown as being inside 0/, it's like CWMs working at a folder higher up the tree then it has for me before.
that means I cant delete or copy backup from a pc..
does anyone know what might be wrong please?
Click to expand...
Click to collapse
you're running 4.2.2 now, so this is normal, you need to move your backup files to the sd card folder to be able to see them on a pc.
get a root explorer, the cwm backup files are now in mnt/shell/emulated/clockworkmod/backup
cheers
i had just been doing some reading and have backups moving to I can pull them off onto my laptop.
Thanks a ton though, that could have cracked it if I hadnt kept searching.

[Q] Sideload 5.1 on nexus 6

I am currently on 5.0.1 and as you all probably all know, the OTA links for 5.1 are available. I am trying to sideload this OTA to my nexus 6. To do this I am using wugfresh's NRT and I have gotten as far as the stock recovery menu. My adb drivers are configured properly which is why I made it this far. Now that I am in stock recovery, NRT says that ADB Sideload device not found. I am not sure what to do from here becuase my phone is not recognized by the computer which means I cannot update any drivers if necessary. Can anyone please guide me from here?
I had the same problem and NRT walked me through the fix. You have to open the device menu on your PC and choose your N6, it will have a yellow triangle on it. Right click and choose update driver from a file on your PC. Then choose the ADB driver to update. Mine connected and sideload was successful after that.
Even after that it may still not recognize (at least for me it did) and a simple unplug and plug in worked fined
Sent from my Nexus 6 using XDA Free mobile app
A2CKilla said:
Even after that it may still not recognize (at least for me it did) and a simple unplug and plug in worked fined
Sent from my Nexus 6 using XDA Free mobile app
Click to expand...
Click to collapse
Ok, so I got it to flash, but then it aborts. It says
e: Footer is wrong
e: signature validation failed
Installation aborted
flamingtiger said:
Ok, so I got it to flash, but then it aborts. It says
e: Footer is wrong
e: signature validation failed
Installation aborted
Click to expand...
Click to collapse
I had the same issue, was able to get it to work using method #2 on this post.
http://forum.xda-developers.com/nexus-6/general/guide-flash-factory-images-nexus-6shamu-t2954008
shadow321337 said:
I had the same issue, was able to get it to work using method #2 on this post.
http://forum.xda-developers.com/nexus-6/general/guide-flash-factory-images-nexus-6shamu-t2954008
Click to expand...
Click to collapse
But wont that method completely wipe all data? I guess that is what I am going to have to do
flamingtiger said:
But wont that method completely wipe all data? I guess that is what I am going to have to do
Click to expand...
Click to collapse
Yeah, it will. That's what I had to do, too. Just keep in mind it will also wipe your /sdcard. So if you have any nandroid backups, etc back them up to your computer first. I was able to do that, then restore just the data portion of a 5.0.1 nandroid backup to the 5.1 ROM with no issues. An extra step but it kept my info.
flamingtiger said:
But wont that method completely wipe all data? I guess that is what I am going to have to do
Click to expand...
Click to collapse
You can manually flash the recovery, boot, and system through fastboot without wiping data. Then the adb sideload should work.
All I did was
1. flash stock recovery image from 5.0.1 (may be able to just use 5.1 now that the factory image is out)
2. flash stock system image (same as step 1)
3. sideload ota zip
4. profited!!!
Doing all this, my data was still in tact and this acted just like a regular ota
sub steps
5. add build.prop changes back for tethering
6.change dpi back to 480
ajjames01 said:
You can manually flash the recovery, boot, and system through fastboot without wiping data. Then the adb sideload should work.
Click to expand...
Click to collapse
so in NRT, I should just flash those specific ones and then press sideload update and go through the process again?
flamingtiger said:
so in NRT, I should just flash those specific ones and then press sideload update and go through the process again?
Click to expand...
Click to collapse
basically, unless you're doing it by hand with adb commands, under the advanced option in nrt, you'll see the manual flash buttons towards the middle I believe, your main focus is recovery and system if you want to keep your data
A2CKilla said:
All I did was
1. flash stock recovery image from 5.0.1 (may be able to just use 5.1 now that the factory image is out)
2. flash stock system image (same as step 1)
3. sideload ota zip
4. profited!!!
Doing all this, my data was still in tact and this acted just like a regular ota
sub steps
5. add build.prop changes back for tethering
6.change dpi back to 480
Click to expand...
Click to collapse
Just to make sure, I am supposed to exptract the zip that is found in the original zip that i downloaded from google right? Because NRT wont let me sideload the entire zip from google, so i extracted the one inside that zip and it let me go through. But i ended up with that error. What am i doing wrong?
flamingtiger said:
Just to make sure, I am supposed to exptract the zip that is found in the original zip that i downloaded from google right? Because NRT wont let me sideload the entire zip from google, so i extracted the one inside that zip and it let me go through. But i ended up with that error. What am i doing wrong?
Click to expand...
Click to collapse
you can see the directories, but yes, the factory image straight from google is where you get the .img files you need
{
"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"
}
A2CKilla said:
you can see the directories, but yes, the factory image straight from google is where you get the .img files you need
Click to expand...
Click to collapse
Thanks bruh, I finally got it to work and lost no data at all. I really appreciate all help and advice that yall gave.
flamingtiger said:
Just to make sure, I am supposed to exptract the zip that is found in the original zip that i downloaded from google right? Because NRT wont let me sideload the entire zip from google, so i extracted the one inside that zip and it let me go through. But i ended up with that error. What am i doing wrong?
Click to expand...
Click to collapse
flamingtiger said:
Thanks bruh, I finally got it to work and lost no data at all. I really appreciate all help and advice that yall gave.
Click to expand...
Click to collapse
A2CKilla said:
All I did was
1. flash stock recovery image from 5.0.1 (may be able to just use 5.1 now that the factory image is out)
2. flash stock system image (same as step 1)
3. sideload ota zip
4. profited!!!
Doing all this, my data was still in tact and this acted just like a regular ota
sub steps
5. add build.prop changes back for tethering
6.change dpi back to 480
Click to expand...
Click to collapse
I'm a noob and want to make sure I do this right, are these following steps correct? i am currently unencrypted, rooted on franco kernel on 5.0.1!
1) flash stock recovery image first
2) flash stock system image second
3) what's the OTA zip? is that within the .tgz file that i downloaded from google?
4) what's build.prop.. ?
5) what's dpi?
Sorry for the noob questions... just don't want to brick my nexus
I got you
wilson289 said:
I'm a noob and want to make sure I do this right, are these following steps correct? i am currently unencrypted, rooted on franco kernel on 5.0.1!
1) flash stock recovery image first
2) flash stock system image second
3) what's the OTA zip? is that within the .tgz file that i downloaded from google?
4) what's build.prop.. ?
5) what's dpi?
Sorry for the noob questions... just don't want to brick my nexus
Click to expand...
Click to collapse
Alright... This is what I did and it should probably work for you:
Because u are on Franco kernel, I recomend that you flash the stock boot.img for 5.01 before begenning
1. Download wugfresh's NRT: this tool is very helpful for all things rooting
2. Make sure fastboot and adb are configured properly
2. I originally downloaded the zip directly from google (900≈ mb)...and it did not work
So I searched on google "nexus 6 5.1 ota zip"... On any website... The Downoad should be around 410 mb - this zip worked for me and give me no errors at all. Do not extract or mess with that zip.
3. Go on the toolkit and launch the advanced options
4. Around the middle of the page, you will see sideload update
5. Go through the prompts and select the 410 mb zip that u downloaded.
This should flash and reboot you to android 5.1
This method will install stock recovery and remove root so afterword go ahead and reroot using the toolkit.
Don't flash anything before besides the original 5.01 stock boot.img. dont worry about DPI or anything: at least that's not what I did, and I got it to work perfectly
If any steps did not make sense or you are not sure what to do.. Don't be afraid to ask me or anyone
?
Although I am not sure about the stock boot.img, it might work with Franco kernel. Anyone else know? Sideload could work with Franco kernel.

help rooting device with oreo 8.1

Hello,
I have this phone (infinix note 4 x572) running oreo 8.1 , build number :X572-H5312CE-O-180531V117
I wish to root it but after a while of searching i'm overly confused and frustrated..
can you please guide me through rooting it?
thanks alot
btw, does local update help in any way ?
{
"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"
}
All the info and installation instructions you need can be found in the release thread:
https://forum.xda-developers.com/apps/magisk/official-magisk-v7-universal-systemless-t3473445
And if you encounter problems along the way, take a look at the troubleshooting guide.
https://www.didgeridoohan.com/magisk/Magisk
If you have further questions after that, make sure to be specific about what you need help with. "Guide me through it" is a bit too general and is already covered in the links above.
Didgeridoohan said:
All the info and installation instructions you need can be found in the release thread:
https://forum.xda-developers.com/apps/magisk/official-magisk-v7-universal-systemless-t3473445
And if you encounter problems along the way, take a look at the troubleshooting guide.
https://www.didgeridoohan.com/magisk/Magisk
If you have further questions after that, make sure to be specific about what you need help with. "Guide me through it" is a bit too general and is already covered in the links above.
Click to expand...
Click to collapse
thanks, the first prerequisite is the stock boot.img,, i tried backing it up using miracle box but encountered the 'unstable port' problem, what other possible ways i could extract the boot.img from my phone ?
and btw, i remember asking a guy somewhere and he told me that magisk won't root my device, is that true considering it's a less-known manufacturer ?
yazansayed said:
thanks, the first prerequisite is the stock boot.img,, i tried backing it up using miracle box but encountered the 'unstable port' problem, what other possible ways i could extract the boot.img from my phone ?
Click to expand...
Click to collapse
I'd try the TWRP route instead. I found this thread after about 2 minutes of searching on XDA (search words "infinix note 4 x572"):
https://forum.xda-developers.com/android/general/infinix-one-support-root-twrp-firmware-t3695803
It's a really good idea to use the XDA search, because it often works quite good.
If you want to keep the stock recovery on your device, you can actually just boot the TWRP image instead of flashing it. In that case, the command used in that thread:
Code:
fastboot flash recovery recovery.img
should be changed to:
Code:
fastboot boot recovery recovery.img
If that doesn't work, you can actually make quite easily make a backup of your boot image in TWRP and then patch that file in the Manager, to see if that works better.
If things don't work out in TWRP, make sure to provide the recovery log.
---------- Post added at 20:35 ---------- Previous post was at 20:32 ----------
yazansayed said:
and btw, i remember asking a guy somewhere and he told me that magisk won't root my device, is that true considering it's a less-known manufacturer ?
Click to expand...
Click to collapse
It's very possible... It depends on how stock the Manufacturer has kept Android on your device, what chipset the device has, and so on...
Didgeridoohan said:
I'd try the TWRP route instead. I found this thread after about 2 minutes of searching on XDA (search words "infinix note 4 x572"):
https://forum.xda-developers.com/android/general/infinix-one-support-root-twrp-firmware-t3695803
It's a really good idea to use the XDA search, because it often works quite good.
If you want to keep the stock recovery on your device, you can actually just boot the TWRP image instead of flashing it. In that case, the command used in that thread:
Code:
fastboot flash recovery recovery.img
should be changed to:
Code:
fastboot boot recovery recovery.img
If that doesn't work, you can actually make quite easily make a backup of your boot image in TWRP and then patch that file in the Manager, to see if that works better.
If things don't work out in TWRP, make sure to provide the recovery log.
---------- Post added at 20:35 ---------- Previous post was at 20:32 ----------
It's very possible... It depends on how stock the Manufacturer has kept Android on your device, what chipset the device has, and so on...
Click to expand...
Click to collapse
thanks alot for the quick responses, i will try it and reply as fast as possible
okay, i downloaded the twrp recovery image for Note 4, flashed it using Fastboot method successfully,
the problem is when i try to boot into the twrp recovery mode, i tried holding the power menu+ vol.down buttons, it sends me into a black screen with "factory mode" upwards in yellow, no button is working.
i then tried
Code:
adb reboot recovery
the phone reboots and says "No command" under a red triangle.
i then tried to flash the twrp img using sp flash tools, and flashed it successfully but the same errors occur, i can't seem to be able to boot into recovery mode.
i looked up for a solution for the "no command" problem, here's one:
I faced the same problem with nexus 6p. It works when you root immediately after flashing the TWRP. Keep the superSU file in the storage. Get into bootloader. Flash TWRP via fastboot. Without restarting anything, just press volume up/down buttons while in the bootloader to select recovery. TWRP will open. Flash the SuperSU.zip. Then restart the system. Next time, if you open recovery, you won't get the "no command". If you don't flash SuperSU and you try to open recovery later, you will get the "No command".
Click to expand...
Click to collapse
what i understood is that i shouldn't reboot my device using "fastboot reboot" , he says i should get into recovery mode directly without restarting, idk how to do that since there are no option for it on the screen, i just have
Code:
=> FASTBOOT mode...
on the screen !
Didgeridoohan said:
It's very possible... It depends on how stock the Manufacturer has kept Android on your device, what chipset the device has, and so on...
Click to expand...
Click to collapse
unfortunately i never used the sp flash tool before, so i tried flashing a stock rom but the device is now dead with "dram failed" error, i'll try fixing this first
It's tricky trying to help with a device you don't have...
Did you manage to boot to recovery? Usually you use the volume buttons to select the options and then the power button to confirm. You could also just use the fastboot boot option command I wrote earlier. It'll boot straight into TWRP.
There are a few threads for your device around, so if you need help specific to your device, that's the place to go...
everything is fine now,, fixed the device by flashing a rom named (X572-H5312CE-O-180203V55) then used magisk app to patch the included boot.img, flashed the patched boot.img using sp flash tool,, and everything is working fine now,,,
thanks alot
the twrp from the post you provided is for an older firmware, this is why i couldn't get into recovery after i flashed the provided twrp img,, there is no available twrp for the oreo version of the firmware, but i requested one from twrp builder project,, thanks alot, i've learnt alot in the last 24 hours
yazansayed said:
everything is fine now,, fixed the device by flashing a rom named (X572-H5312CE-O-180203V55) then used magisk app to patch the included boot.img, flashed the patched boot.img using sp flash tool,, and everything is working fine now,,,
thanks alot
Click to expand...
Click to collapse
could you upload the boot.img pls (the stock and the patched if possible )

Lenovo Z5s Update to ZUI 11.5 (Android 10)

Disclaimer: No guarantees. Follow at your own risk. I am not responsible for bricked phones.
Credits to 4PDA
Prerequisites:
Knowledge of OEM unlocking from Developer options, adb, and fastboot
Knowledge of QPST in case you encounter bootloop, so you can revert to a reliable stock ROM
Unlocked bootloader (from here)
1) Get your bootloader unlocked, if you haven't already.
- Visit https://www.zui.com/iunlock
- Enter the IMEI1 (Second number when you call *#06# with the phone)
- Enter the Device ID from the Bootloader/Fastboot (Hold VOL- and Power, while device is off)
- Enter your email and captcha and set the checkmark to acknowledge voiding your warranty.
- If you get an error saying that your IMEI1 is wrong, put in a sim card and wait a few hours. If it still doesn't work, write an email to [email protected]
- In the developer settings in android, enable usb debugging and oem unlock.
- Flash the sn.img file you receive with fastboot (again, hold vol- and power while the device is off). Command is 'fastboot flash unlock sn.img'. You need compatible usb drivers, qualcom drivers and adb/fastboot to do that. Use google or write me a PM if you have trouble with that.
- execute 'fastboot oem unlock-go'
- This allows you to use fastboot to flash custom system/boot/vendor/vbmeta images
Click to expand...
Click to collapse
@wzsx150's recovery-TWRP-3.3.1-1015-LENOVO_Z5S-CN-wzsx150.img MEGA Google Drive
@wzsx150's TWRP for Android 10 TWRP-3.3.2B-0508-LENOVO_Z5S-10.0-CN-wzsx150-fastboot.7z (extract the IMG file and flash using fastboot)
3) Now you can flash TWRP.
- Download ...
- Flash it from the Bootloader with 'fastboot flash recovery recovery-TWRP-3.3.1-1015-LENOVO_Z5S-CN-wzsx150.img'
- Press VOL UP / VOL DOWN to navigate to recovery.
Click to expand...
Click to collapse
11.3.169: L78071_11.3.169_DEV_FullOTA.zip
11.5.096 Update: ZUI_11.3.169_DEV_TO_ZUI_11.5.096_ST.zip
11.5.111 Update: ZUI_11.5.096_TO_ZUI_11.5.111_ST.zip
Other files, use at your own risk
Disable_Dm-Verity_ForceEncrypt_08.18.2019.zip
Official TWRP for jd2019
In recovery, Format data, then wipe Dalvik/ART Cache, Cache, Data
Reboot to recovery
Install in order, without rebooting, 11.3.169 -> 11.5.096 Update -> 11.5.111 Update.
Install Magisk 20.4
Install TWRP for Android 10 (above) using fastboot if the update replaces stock recovery after rebooting
Edited out from original
Wipe Data and flash Disable_Dm-Verity_ForceEncrypt_08.18.2019.zip
In order not to encrypt Data in the future, install Official TWRP immediately after installing updates. Install > Install Image > twrp-3.3.1-0-jd2019.img
Install GApps
Note: I do not know if the 11.5 update relocks the bootloader. It doesn't lock the bootloader.
I had bootloop from OpenGApps. 4PDA post advises to use BiTGApps. You can install Google Play Store from the built-in Lenovo App Center and that's what I did.
Haven't tried disabling dm-verity and forceencrypt.
Good job, my man, I'll check it out tonight and prepare ourselves an updateable package for people coming from any rom to avoid the hassle of going through all of that. As soon as I get it working will release a new TWRP for Android 10.
{
"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"
}
carlshark said:
View attachment 5036881
Click to expand...
Click to collapse
Nice job man, so the update works as it should? I'm patching the images and will upload a full ota update to make it easier to move between Pie and 10. Regarding recoverys, did you test any twrp? Any decryption working? What about this official twrp, does it actually work? Thanks for the files man, this will make everything much easier
jacoghi said:
Nice job man, so the update works as it should? I'm patching the images and will upload a full ota update to make it easier to move between Pie and 10. Regarding recoverys, did you test any twrp? Any decryption working? What about this official twrp, does it actually work? Thanks for the files man, this will make everything much easier
Click to expand...
Click to collapse
I've been using the phone on 11.5.111 for a couple of days now.
I flashed both the 3.3.2 TWRP of @wzsx150 and the official TWRP and they seem to be working. I didn't turn off encryption so it seems to work well.
Happy to have helped in a small way. Thank you for your hard work!
links not works
vesdan said:
links not works
Click to expand...
Click to collapse
Thanks for the heads up, apparently the original poster removed the links. Will be uploading the ones I used.
Reuploading done.
Thank you very much
Thanks for the rom my friend.
Can you please upload the latest update cause i am rooted and it cannot be installed via the system.
Also guys ,does anyone knows if i can put the latest android 10 with multilanguage rom ?Thank you for everything ,i appreciate.
thx for the post, i am wondering if the ota will be avaliable, because the bootloader unlock site does not approve my imei number
sorry guys, i rushed and flashed the gapps and now facing a bootloop, i prepared qpst and a stock rom but i verz rom i am missing a content.xml file, can anyone please help me?
galardo_2 said:
sorry guys, i rushed and flashed the gapps and now facing a bootloop, i prepared qpst and a stock rom but i verz rom i am missing a content.xml file, can anyone please help me?
Click to expand...
Click to collapse
https://mega.nz/folder/PegDDQ7I#bmCCIt1lAWAe7ui_gkmwSQ/folder/fOAQ1QCa
here is many ROMS
Do not install gapps on ZUI !!!!
vesdan said:
https://mega.nz/folder/PegDDQ7I#bmCCIt1lAWAe7ui_gkmwSQ/folder/fOAQ1QCa
here is many ROMS
Do not install gapps on ZUI !!!!
Click to expand...
Click to collapse
but the qpst app need an aditional content.xml file, where can i get one
Install global via fastboot, all is included or in qfil ROM is all in zip file
vesdan said:
Install global via fastboot, all is included or in qfil ROM is all in zip file
Click to expand...
Click to collapse
I tried and failed again
i tired and failed again
galardo_2 said:
thx for the post, i am wondering if the ota will be avaliable, because the bootloader unlock site does not approve my imei number
Click to expand...
Click to collapse
I tried unlocking 2 Lenovo phones. The first attempt had sent me an email, but the second attempt did not. The unlock procedure went through though. So I tried changing the link provided in the first email http://cdn.zui.lenovomm.com/developer/lenovoboot/xxxxxxxx/sn.img (xxxxxxxx - serial number of phone) and it worked. This might not work for you though.
As for the OTA, I really am not sure... Probably
carlshark said:
I tried unlocking 2 Lenovo phones. The first attempt had sent me an email, but the second attempt did not. The unlock procedure went through though. So I tried changing the link provided in the first email http://cdn.zui.lenovomm.com/developer/lenovoboot/xxxxxxxx/sn.img (xxxxxxxx - serial number of phone) and it worked. This might not work for you though.
As for the OTA, I really am not sure... Probably
Click to expand...
Click to collapse
after a few atempts (3-4 days) the imei number got accepted, but now i have another problem as you can see, i flashed the gapps and now i have the bootloop and i dont have a clue how to undone it
hello friends I have all the updates installed, but it tells me that there is a new one, where can I download it?
On the other hand, what difference is there between installing by twrp and qfill?
galardo_2 said:
i tired and failed again
Click to expand...
Click to collapse
This is problem with program, drivers sahara. Try fastboot

Categories

Resources