How to update unlocked and rooted stock rom? - Moto G5S Plus Questions & Answers

Hello there.
My G5s+ is suggesting a security update. But since I did unlock the bootloader and rooted it with magisk I did not install it.
My question is: What is the best way to update the phone?
Just flash the new stock rom? And where do I get those?
Thanks in advance.

Nobody here that can tell me how to upgrade?
Should I just flash the new version if I get it somewhere?

Mr.Chainsaw said:
Nobody here that can tell me how to upgrade?
Should I just flash the new version if I get it somewhere?
Click to expand...
Click to collapse
Unlocked bootloader will not affect the OTA installation..!
The reason the OTA-Update fails is that one of the boot, system, logo or recovery partitions are changed.
Magisk modifies the boot image.
On rooted device..OTA may brick the device..so avoid OTA installation..!
Reply your current build Number from about phone..
Do a clean flash.

crazytech2 said:
On rooted device..OTA may brick the device..so avoid OTA installation..!
Click to expand...
Click to collapse
Thats why I did not do it yet. But I still want to do the update somehow.
crazytech2 said:
Reply your current build Number from about phone..
Click to expand...
Click to collapse
The Build No is
NPSS26.116-26-8

Mr.Chainsaw said:
Thats why I did not do it yet. But I still want to do the update somehow.
The Build No is
NPSS26.116-26-8
Click to expand...
Click to collapse
Flash 26-11 full firmware

Where can I find full firmware versions of the stock rom to flash?
My build version is: NPSS26.116-26-4
As I understand it, there are two new security patches since that version? If I'm flashing one of the newer versions, is it just a case of dirty flashing it normally through twrp? No need to factory reset?

Chemacky said:
Where can I find full firmware versions of the stock rom to flash?
My build version is: NPSS26.116-26-4
As I understand it, there are two new security patches since that version? If I'm flashing one of the newer versions, is it just a case of dirty flashing it normally through twrp? No need to factory reset?
Click to expand...
Click to collapse
If that is the firmware build you need, you could try the firmware here: https://firmware.center/firmware/Motorola/Moto G5s Plus/Stock/ but ensure you download the correct firmware. (credit to: https://forum.xda-developers.com/moto-g5s-plus/how-to/xt1804-able-to-lock-bootloader-npss26-t3722572) Also, verify it is the firmware you require and was the latest firmware build on your device - please don't downgrade with stock firmware (else you may hard brick with OTA updates corrupting your bootloader)...
Stock OTA updates, as mentioned above, require fully stock firmware - they will not flash with root, modifications or TWRP (and attempting to flash via TWRP may soft bootloop your device). Thus, you must re-flash the stock firmware - you may be able to save your data by omitting the 'fastboot erase userdata' command and you do not have to re-lock your bootloader. However, I'm not familiar with the G5S Plus and I hope another user can provide you with flashing commands.
I would still recommend you make a backup of your device in TWRP and keep that safe, in case you have to wipe your data for stability.

Related

Safe to install OTA after downgrade?

I made the mistake to install the new stagefright fix OTA on my rooted XT1095. Of course this made my phone stuck on boot. I was able to fix my phone by flashing this [URL="http://forum.xda-developers.com/moto-x-2014/development/rom-xt1095-flashable-stock-rom-t3185945”]stock rom[/URL] (Thanks AGISCI!).
I would like to return to 100% stock now by installing the latest recovery image provided by Motorola (L-5.1-LPE23.32-21.3 TMO) and than taking the stagefright OTA. Would this be safe without a chance of bricking my phone? My understanding is that I would brick my device by flashing an older modem version on my phone. Is there a way to find out what modem version my phone is currently on?
Thanks for your help!
It is NOT safe to take OTA after any downgrade. Even I did a similar thing. I did not un root properly. Waiting for stock images with the patch to be uploaded by moto
Sent from my XT1095 using XDA Free mobile app
I was rooted with Xposed on my XT1095 with 5.1. In order to do the StageFright patch, I downloaded the factory image and extracted just recovery.img and system.img. I flashed just those two images (using the fastboot version included in the factory image). I rebooted and had a nice, back-to-factory system structure. I then took the OTA normally. Once that was done, I flashed TWRP back on the phone, re-rooted, and installed Xposed. No problems at all.
For your situation, I'd try the same thing. Just flash recovery and system, boot up, and take the OTA. Then re-root.
gabriel_hart said:
I was rooted with Xposed on my XT1095 with 5.1. In order to do the StageFright patch, I downloaded the factory image and extracted just recovery.img and system.img. I flashed just those two images (using the fastboot version included in the factory image). I rebooted and had a nice, back-to-factory system structure. I then took the OTA normally. Once that was done, I flashed TWRP back on the phone, re-rooted, and installed Xposed. No problems at all.
For your situation, I'd try the same thing. Just flash recovery and system, boot up, and take the OTA. Then re-root.
Click to expand...
Click to collapse
Your situation is not the same. He downgraded which means taking the OTA is dangerous and can brick it. You never downgraded, you just flashed the same system and recovery that you already had which is why the OTA is safe for you.
For those that want the new patched version and are on downgraded systems, you can use this stock rom:
http://forum.xda-developers.com/moto-x-2014/development/rom-xt1095-flashable-stock-rom-t3185945
You can flash it with a custom recovery such as TWRP. This rom now has the stagefright patch baked into it and OTA is disabled on this rom to prevent bricks. You can use this until motorola releases the full firmware image officially.
AGISCI said:
Your situation is not the same. He downgraded which means taking the OTA is dangerous and can brick it. You never downgraded, you just flashed the same system and recovery that you already had which is why the OTA is safe for you.
For those that want the new patched version and are on downgraded systems, you can use this stock rom:
http://forum.xda-developers.com/moto-x-2014/development/rom-xt1095-flashable-stock-rom-t3185945
You can flash it with a custom recovery such as TWRP. This rom now has the stagefright patch baked into it and OTA is disabled on this rom to prevent bricks. You can use this until motorola releases the full firmware image officially.
Click to expand...
Click to collapse
With all due respect, sir, I did note that our situations are different: "For your situation...". Also, I don't see where he mentioned downgrading. He installed your flashable 5.1 ROM and said he was holding off on flashing a modem due to fear of bricking.
And for the good of the community, thanks for putting together that patched stock ROM so others won't have to mess around with flashing stock images.
I seem to have inadvertently offended you. That was not my intention, I was merely trying to help out. So for that I apologize.
Oh and the title of the topic is where it says he downgraded.
Sent from my XT1095 using Tapatalk
No sweat, simple misunderstanding
AGISCI said:
Your situation is not the same. He downgraded which means taking the OTA is dangerous and can brick it. You never downgraded, you just flashed the same system and recovery that you already had which is why the OTA is safe for you.
For those that want the new patched version and are on downgraded systems, you can use this stock rom:
http://forum.xda-developers.com/moto-x-2014/development/rom-xt1095-flashable-stock-rom-t3185945
You can flash it with a custom recovery such as TWRP. This rom now has the stagefright patch baked into it and OTA is disabled on this rom to prevent bricks. You can use this until motorola releases the full firmware image officially.
Click to expand...
Click to collapse
Thanks for your help!
I’m not sure if I actually did downgrade my phone as I’m not sure what part of the OTA succeeded. Is there a way to lookup the modem version and ect. of my device to check if it would be safe to flash Motorola’s L-5.1-LPE23.32-21.3 TMO build?

Latest KitKat stock ROM available

So I've reset my HTC One back to stock 2 days ago and since then have received a lot of OTA updates.
Then I found that I had lost root.
I managed to reinstall TWRP and root today, but got another OTA update notification.
Because I don't want to lose root (and because TWRP says you should not update with custom recoveries), I'm looking for another way to update.
TWRP suggests to "wait for the developers to create a new ROM" but honestly, finding something in this forum is not easy...
My update is 6.09.401, but if there is something more recent I'll take that (but still KitKat). I've looked in the ROM collection but the latest seems to be 5.x or jump to 7.xx.
If I have to do some work (e.g. more research) please direct me to the right direction and I'll be happy to do it.
Will RUUs work? Still not clear what they are.
algiogia said:
So I've reset my HTC One back to stock 2 days ago and since then have received a lot of OTA updates.
Then I found that I had lost root.
Click to expand...
Click to collapse
Yep, you'll always loose root after an OTA update. Must ppl doesn't matter about that since it only takes a few minutes to root again.
I managed to reinstall TWRP and root today, but got another OTA update notification.
Because I don't want to lose root (and because TWRP says you should not update with custom recoveries), I'm looking for another way to update.
Click to expand...
Click to collapse
The only way to use ota update is by flashing back the stock recovery that match your version-main. Like said above, you'll loose root after an update. You can also update your phone by flashing a RUU but you'll also loose root and all your file since the RUU will make your phone stock, like if it was brand new.
TWRP suggests to "wait for the developers to create a new ROM" but honestly, finding something in this forum is not easy...
Click to expand...
Click to collapse
My update is 6.09.401,?but if there is something more recent I'll take that (but still KitKat). I've looked in the ROM collection but the latest seems to be 5.x or jump to 7.xx.
Click to expand...
Click to collapse
The latest Kitkat version is 6.09.401.12 otherwise its lollipop 7.19.401.x
I think the simplest solution since you want to stay on kitkat is to reflash your stock recovery 6.09.401.? (you didn't typed the last number), install the ota updates until you are on 6.09.401.11 or 6.09.401.12, reflash twrp and flash Supersu to re-root.
If I have to do some work (e.g. more research) please direct me to the right direction and I'll be happy to do it.
Will RUUs work? Still not clear what they are.[/QUOTE]
RUU are packages that will restore then entire phone Software and firmware partitions.
Thanks alray.
So are you saying there is not pre-rooted 6.09.401.11 ROM available to flash on the forum?
Where shall I look for it?
algiogia said:
Thanks alray.
So are you saying there is not pre-rooted 6.09.401.11 ROM available to flash on the forum?
Where shall I look for it?
Click to expand...
Click to collapse
Maybe i don't know. All roms are posted in the development section. Why not simply updating your phone and flashing Supersu again? It will take you maybe 20 min to install the update, reflash twrp and root...
alray said:
Maybe i don't know. All roms are posted in the development section. Why not simply updating your phone and flashing Supersu again? It will take you maybe 20 min to install the update, reflash twrp and root...
Click to expand...
Click to collapse
I'll have to find and flash the stock ROM first, do the updates, then flash TWRP and SuperSu.
If there is a way to flash only once why should I waste time (and increase chances of bricking the phone)?
algiogia said:
I'll have to find and flash the stock ROM first, do the updates, then flash TWRP and SuperSu.
If there is a way to flash only once why should I waste time (and increase chances of bricking the phone)?
Click to expand...
Click to collapse
You already are on the stock rom, just flash the stock recovery over twrp, install ota update(s) until you are on the desired version, flash twrp and supersu. There isn't really any chances to brick....
Code:
fastboot flash recovery your_stock_recovery.img
fastboot erase cache
fastboot reboot
Then boot the phone, install update(s). Once updated to the desired version, reflash twrp:
Code:
fastboot flash recovery twrp.img
fastboot erase cache
fastboot reboot-bootloader
Boot in twrp, install supersu 2.46.zip then reboot in the OS and you're done.
But yes if you prefer you can find a stock rooted rom of 6.09.401.11 if there is still one somewhere.

Updating vendor firmware Moto X4

Is there a firmware that can be flashed without going back to stock? I have LineageOS and want to update the vendor firmware without going back to stock and losing everything.
viggy96 said:
Is there a firmware that can be flashed without going back to stock? I have LineageOS and want to update the vendor firmware without going back to stock and losing everything.
Click to expand...
Click to collapse
You can flash a newer version of Lineage.
TeamRainless said:
You can flash a newer version of Lineage.
Click to expand...
Click to collapse
That doesn't update the vendor firmware. That only updates the OS.
viggy96 said:
That doesn't update the vendor firmware. That only updates the OS.
Click to expand...
Click to collapse
Ah... So what is your current vendor firmware?
The vendor image is included with the rom. The bootloader and radio can be updated in recovery through adb. I haven't seen any zips that flash them. In my experience, updating the radio and bootloader sometimes ends up in bricks that require the blankflash files to recover.

Root + Ota update

Hey I have p20 pro EU version 6/128
Today I got a new update about Google security.
I want every update run on my phone
But I rooted my device.
I wanted first to ask guys , I tried to update but was unsuccessful. I do not have twrp because of the method I used to root p20 pro didn't allow me having magisk and twrp recovery.
So now if I want to update have to do it manually ?
2 questions
1) which program do I use ?
2) where I can find the firmware Official WITHOUT BEEING CHANGED ANYTHING inside from someone third.
Thanks John
You need to flash the stock bootloader. If you are running Pie and Magisk, you have a modified bootloader. I don't know where to download the stock one. Could probably rip it from a stock Pie firmware.
Me to have twrp on my p20 pro and i cannot update my phone.. Have new update but when I try system update after download, its entering to recovery mode for install the firmware but it cannot coz working twrp and unsuccessful installation.
Me to look for stock recovery for clt-l29 pie
purple patch said:
You need to flash the stock bootloader. If you are running Pie and Magisk, you have a modified bootloader. I don't know where to download the stock one. Could probably rip it from a stock Pie firmware.
Click to expand...
Click to collapse
stock bootloader? where i find this?
StonebridgeGr said:
stock bootloader? where i find this?
Click to expand...
Click to collapse
I mean stock recovery ramdisk, or whatever they call it on Huawei. Will need the 9 version asfaik.
https://forum.xda-developers.com/hu...awei-p20-pro-charlotte-l29c432b131-8-t3809964
danifilth4king said:
https://forum.xda-developers.com/hu...awei-p20-pro-charlotte-l29c432b131-8-t3809964
Click to expand...
Click to collapse
i am not trying to find guide to upgrade from 8.0 to 9.0.
I am already on 9,0 but i got a new update for google security and i want to update
which is the guide for this or is the same?
StonebridgeGr said:
i am not trying to find guide to upgrade from 8.0 to 9.0.
I am already on 9,0 but i got a new update for google security and i want to update
which is the guide for this or is the same?
Click to expand...
Click to collapse
https://forum.xda-developers.com/hu...charlotte-l29c432b131-8-t3809964/post79034970
The apk from this post will allow you to download the latest firmware for your model from firmware finder and flash it without needing TWRP or having to flash stock recovery. You will have to re-root afterwards though
danifilth4king said:
https://forum.xda-developers.com/hu...charlotte-l29c432b131-8-t3809964/post79034970
The apk from this post will allow you to download the latest firmware for your model from firmware finder and flash it without needing TWRP or having to flash stock recovery. You will have to re-root afterwards though
Click to expand...
Click to collapse
thanks but the link of the app is dead
is the same app as is one the google play?
danifilth4king said:
https://forum.xda-developers.com/hu...charlotte-l29c432b131-8-t3809964/post79034970
The apk from this post will allow you to download the latest firmware for your model from firmware finder and flash it without needing TWRP or having to flash stock recovery. You will have to re-root afterwards though
Click to expand...
Click to collapse
I got the app on pc and android, tried to find the last firmware 9.0.0.203 on clt-l29 c432e5r1p9 but there is no.
StonebridgeGr said:
I got the app on pc and android, tried to find the last firmware 9.0.0.203 on clt-l29 c432e5r1p9 but there is no.
Click to expand...
Click to collapse
Download the current version you are using. Extract recovery_ramdisk.img and flash. Reboot and take OTA update. You will lose root, as I said you have a modified recovery and need stock to take OTA.
Edit - Once your done, patch the bootloader from Magisk and flash to get root again.
purple patch said:
Download the current version you are using. Extract recovery_ramdisk.img and flash. Reboot and take OTA update. You will lose root, as I said you have a modified recovery and need stock to take OTA.
Edit - Once your done, patch the bootloader from Magisk and flash to get root again.
Click to expand...
Click to collapse
i just flash recovery ramdisk hmm i think it will brick my device.
how do i flash it?

Latest firmware compilation version

Hello. I have my device rooted and twrp recovery but with stock firmware. I have updates but i dont want to bootloop.
Can you tell me latest compilation number so i search it in firmware databases please? My device is a xt1772 Nicklaus.
I am in same situation, My Owens has Nov 1,2018 security patch firmware, I flashed tTWR recovery and rooted.
Now new firmware NPRS26.58-45-19 comes out with Jan 1, 2019 security patch. How to get it flashed?
min1968 said:
I am in same situation, My Owens has Nov 1,2018 security patch firmware, I flashed tTWR recovery and rooted.
Now new firmware NPRS26.58-45-19 comes out with Jan 1, 2019 security patch. How to get it flashed?
Click to expand...
Click to collapse
If you take the OTA then it will bootloop because you have a custom recovery. You have to go back to stock recovery and then take the update. After you update you will have your bootloader locked again and you will have to unlock it earesing all data in the phone. Then again flash twrp and root.
Thats why i wanted the last official firmware so i do it only once since updates are cumulative updates...
If i have no response about it, i will return to stock recovery, take all ota updates. Then unlock bootloader, flash twrp and try to restore at least the data since you cant recover system otherwise you will return to a not updated firmware.
Thats the only thing i think its possible.
Btw i edit the thread because mine is a nicklaus e4 plus version.
Cheers!
rq005 said:
If you take the OTA then it will bootloop because you have a custom recovery. You have to go back to stock recovery and then take the update. After you update you will have your bootloader locked again and you will have to unlock it earesing all data in the phone. Then again flash twrp and root.
Thats why i wanted the last official firmware so i do it only once since updates are cumulative updates...
If i have no response about it, i will return to stock recovery, take all ota updates. Then unlock bootloader, flash twrp and try to restore at least the data since you cant recover system otherwise you will return to a not updated firmware.
Thats the only thing i think its possible.
Click to expand...
Click to collapse
Thanks for reply. I think I can find stock recovery in stock firmware package.
However do I need to unroot my phone (which I don't know how to)? or simply leave it rooted as is, do OTA after stock recovery flashed?
Stock recovery then take ota maybe More than one since are cumulative. Then Flash twrp and root again.

Categories

Resources