Help ! simple query regarding flashing stock firmware - Moto E Q&A, Help & Troubleshooting

I have only ever flashed the following after rooting..
1)twrp
2)super su (later unSU.zip-ed)
3)cm-13.0-20170116-SNAPSHOT-ZNH5YAO3Y9-condor.zip
4)lineage-13.0-20170621-STABLE-condor.zip
5)magisk
so..
do i need to flash stock firmware or stock rom using Retail Dual-SIM (Asia | World) 5.1 ROM (Untouched) (459mb)
if i use stock firmware.. ( referring to guide )
1) as i have never made modifications to radio/modem do i need to "flash modem NON-HLOS.bin"
2)as mentioned here
"WARNING: Flashing a Firmware Image is not a safe way to downgrade. Avoid flashing 'motoboot.img."
do i need to flash motoboot.img
3) i have twrp as recovery i would want it to remain so if possible in stock rom ... do i need to flash "flash recovery recovery.img"
THANKS.. any help is really appreciated.:angel:

shdxda said:
I have only ever flashed the following after rooting..
1)twrp
2)super su (later unSU.zip-ed)
3)cm-13.0-20170116-SNAPSHOT-ZNH5YAO3Y9-condor.zip
4)lineage-13.0-20170621-STABLE-condor.zip
5)magisk
so..
do i need to flash stock firmware or stock rom using Retail Dual-SIM (Asia | World) 5.1 ROM (Untouched) (459mb)
if i use stock firmware.. ( referring to guide )
1) as i have never made modifications to radio/modem do i need to "flash modem NON-HLOS.bin"
2)as mentioned here
"WARNING: Flashing a Firmware Image is not a safe way to downgrade. Avoid flashing 'motoboot.img."
do i need to flash motoboot.img
3) i have twrp as recovery i would want it to remain so if possible in stock rom ... do i need to flash "flash recovery recovery.img"
THANKS.. any help is really appreciated.:angel:
Click to expand...
Click to collapse
1. See you can surely flash stock firmware there is no Risk unless and until you flash 4.4.2 and update it to 4.4.4 if you do it you'll most probably HardBrick your phone so my recommendation is to flash 4.4.4 or 5.1 and never update your phone via updater...
2. And yes you'll have to flash Twrp.img after flashing stock firmware as flashing firmware change your recovery to stock.
3. Yup motoboot.img is needed to flash.
4. Refer to the batch file I've attached.

Related

Reverting to Stock from Custom ROM

Guys , some people are reporting that they are unable to revert to stock rom after flashing custom rom.
If you want to save your phone , then i highly recommend you to make a complete backup before flshing stock rom
go to cwm recovery and select backup/restore then backup (it will make your stock rom backup)
whenever you want to revert , go again to clockworkmod recovery and select restore under, backup/restore option
now last and most important thing to run stock rom ---> flash stock kernel using fastboot method
first grab stock kernel to do that , download your phones stock firmware from here = http://forum.xda-developers.com/showthread.php?p=10885406#post10885406
using 7zip extract kernel.sin file from .ftf firmware file
connect your phone in fastboot mode and run this command
fastboot flash boot kernel.sin
I'm doing it again and again without any problem.. just be sure to flash stock kernel before flashing stock rom.
thanks, i will try this method too
first flash stock kernel , then using flashtool flash firmware , am i right ?
Stock kernel (kernel.sin) is included in the package (of official stock firmware). So everytime you flash an official stock firmware, kernel.sin is also flashed. No need to flash kernel.sin before flashing stock firmware. Correct me if im wrong.
I also think same , i tried that method by noooooob and it worked too
hello, can someone give me a link to a tutorial on how to install CWM Recovery on our x-ray? do i have to unlock bootloader first before installing CWM? thanks
lets try the Cynaogen
kizsleg said:
hello, can someone give me a link to a tutorial on how to install CWM Recovery on our x-ray? do i have to unlock bootloader first before installing CWM? thanks
Click to expand...
Click to collapse
yes you have to unlock boot-loaders first
i recommend to unlock by this method = http://androidflip.com/unlock-xperia-phones-bootloader-without-losing-drm-data-track-id-working/
if you want to install clockwork mod recovery then follow this = http://forum.xda-developers.com/showthread.php?t=1384200
Install CWM without unlocking bootloader
You don't need to unlock the boot loader to install CWM.
Follow instructions here to root First
http://forum.xda-developers.com/showthread.php?t=1320350
Install CWM using this tool
http://forum.xda-developers.com/showthread.php?t=1346190
This is how I did it on my Ray
I always considered flashing with Wotanserver to be the best way to go back to stock. It basically takes care of everything. Sure, you'll have to root again afterwards, but that's not exactly very hard.
wotan server is also a good choice
How can i revert back to stock rom from custom rom if i havent made any backups of stock rom??
elf.rb said:
How can i revert back to stock rom from custom rom if i havent made any backups of stock rom??
Click to expand...
Click to collapse
download firmware which you have before installing custom rom, then flash it using flashtool.

[Q] General questions before going from stock to custom

So, never had a Sony-Device, the guides and instructions here are a bit unclear to me.
As far as i understood before going custom:
Downgrade to .532 with flashtool -> run BackupTA -> upgrade to latest again (rly neccessary?) -> then unlock Bootloader
Pretty straight forward up until here.
From there on i can use [NUTS]s XZDualRecovery if i want to stay on stock-kernel and flash custom roms frem there without any problem as far as i understood.
Is this correct?
But what if i want to use a custom kernel at some point?
DooMKernel for example is flahsed via Fastboot, but only compatible with Stock-Sony-Roms
PimpedKernel for example on the other hand is CM-based only and only uses a recovery flashable zip
I'm a little bit confused because of that.
Is a Kernel and / or recovery included in every ROM? (Edit: Yep Kernel is..)
Can i just use [NUTS] recovery and then flash any ROM / Kernel trough it? And afterwards a custom Kernel if the one included in ROM (if any?) lacks any features i want?
competent devs who maintain roms for this phone would include a recovery in their package
slimrom does this and i don't have to worry about losing trwp recovery
alia5 said:
So, never had a Sony-Device, the guides and instructions here are a bit unclear to me.
As far as i understood before going custom:
Downgrade to .532 with flashtool -> run BackupTA -> upgrade to latest again (rly neccessary?) -> then unlock Bootloader
Pretty straight forward up until here.
From there on i can use [NUTS]s XZDualRecovery if i want to stay on stock-kernel and flash custom roms frem there without any problem as far as i understood.
Is this correct?
But what if i want to use a custom kernel at some point?
DooMKernel for example is flahsed via Fastboot, but only compatible with Stock-Sony-Roms
PimpedKernel for example on the other hand is CM-based only and only uses a recovery flashable zip
I'm a little bit confused because of that.
Is a Kernel and / or recovery included in every ROM? (Edit: Yep Kernel is..)
Can i just use [NUTS] recovery and then flash any ROM / Kernel trough it? And afterwards a custom Kernel if the one included in ROM (if any?) lacks any features i want?
Click to expand...
Click to collapse
The downgrading is no longer necessary, use the easyroot tool. Or use the dualrecovery installer for locked bootloaders then flash superuser zip from recovery. Once you have it rooted then back up TA and unlock bootloader. You should be able to flash boot.img from flashtool, if you wanted to download a rom and pull it from zip. I mention that because most roms only have one recovery, so if you flash the img from the rom you want to install first with flashtool you could make a backup that could be restored with new recovery. One other thing that I learned the hard way is a backup made before unlocking bootloader will relock it if restored.
No downgrading, just root and back up TA, great
So i need to flash boot.img from the ROM every time i want to install a new ROM? Or just the first time going from stock to custom? Or just if i have twrp n current rom and the rom i wanna flash is only compatible with CWM?
alia5 said:
No downgrading, just root and back up TA, great
So i need to flash boot.img from the ROM every time i want to install a new ROM? Or just the first time going from stock to custom? Or just if i have twrp n current rom and the rom i wanna flash is only compatible with CWM?
Click to expand...
Click to collapse
Here is a brand spanking new guide to check out that is up to date.
http://forum.xda-developers.com/xperia-z-ultra/general/guide-everything-root-4-4-4-t2938098
I will try to put forth an example to try and demonstrate what I trying to convey in regards to flashing boot.img.
Example.... You are on a rom that contains CWM and you are going to flash a rom that contains TWRP and you wish to have a backup of first rom that could be restored you would flash the img. with TWRP then make backup. Another option would be to just go ahead and use CWM to make backup but you would need to flash that img. in order to be able to restore. I think most roms can be flashed from either recovery at the moment, the concern is your backup being compatible with whichever one is in your current rom.
So, in the boot.img is Kernel+Recovery, alright, and i only need to worry about flashing boot.img für backup reasons.
Pretty much answers what i was wondering, thanks guys

Reverting back to MiUi

Hello guys,
Today i am going to unlock (Official way) my device and going to try AOSP 5.1.1 V4.
My doubt is
1) If i want to revert back to Miui, If i use fastboot rom and flash full rom, will this make my bootloader locked again.
2) If i flash miui recovery rom using twrp without modified boot.img and i dont want twrp and revert back to default miui recovery how to do so.....
3) If i change to miui recovery after flashing recovery rom with twrp do i again need to flash modified boot.img.
I suggest to make full recovery image of original miui. After clean install with full wipe i had problems with unlocking phone.
asrupesh said:
1) If i want to revert back to Miui, If i use fastboot rom and flash full rom, will this make my bootloader locked again.
2) If i flash miui recovery rom using twrp without modified boot.img and i dont want twrp and revert back to default miui recovery how to do so.....
3) If i change to miui recovery after flashing recovery rom with twrp do i again need to flash modified boot.img.
Click to expand...
Click to collapse
1) Yes
2) You cant, you will need TWRP, modded boot.img & MIUI ROM else it will bootloop
3) Yes

How to flash paranoid rom 6.0.2

Hello guys
I was on stock android and stock recovery oos 3.1.3. I tried to change recovery using fastboot so i tried so many recovries, but unable to flash anyone then i found twrp recovery by teamspark so i flashed it and successfully done, but problem with it is, i am not able toh flash paranoid rom and stock rom using this recovery and even the stock recovery is also not flashable now, just stuck on logo whenever i flash stock recovery. So which recovery i can use which can correctly flashable and i can flash paranoid rom by that successfully.
Thanks in advance.
Flash old stock recovery followed by any OOS 2.X.X firmware . Now you can proceed with PA. Note dont use any of the twrp's designed for mm bootloader.
Rajatdembla said:
Hello guys
I was on stock android and stock recovery oos 3.1.3. I tried to change recovery using fastboot so i tried so many recovries, but unable to flash anyone then i found twrp recovery by teamspark so i flashed it and successfully done, but problem with it is, i am not able toh flash paranoid rom and stock rom using this recovery and even the stock recovery is also not flashable now, just stuck on logo whenever i flash stock recovery. So which recovery i can use which can correctly flashable and i can flash paranoid rom by that successfully.
Thanks in advance.
Click to expand...
Click to collapse
First of all, you have to downgrade your bootloader. Then you can flash any recovery for the old bootloader.
Thanks i m done now
Exodusche said:
Flash old stock recovery followed by any OOS 2.X.X firmware . Now you can proceed with PA. Note dont use any of the twrp's designed for mm bootloader.
Click to expand...
Click to collapse
Thank you so much brother now i m able to flash.

Do I need to flash stock firmware for S7 Edge SM-G935F first, or can I just flash TWRP?

Basically, I've searched for this question but no concrete answer to be found. I am following a rooting tutorial and it says to flash stock firmware through Odin and then flash TWRP.
I have found the stock firmware for my country (Android 8), but other cell carrier than mine, and the phone is currently running Android 9.
Can I just flash TWRP without flashing a stock firmware beforehand, or is it necessary to flash a stock firmware first, and if so, what about the different carrier and a previous Android version?
xShx72 said:
Basically, I've searched for this question but no concrete answer to be found. I am following a rooting tutorial and it says to flash stock firmware through Odin and then flash TWRP.
I have found the stock firmware for my country (Android 8), but other cell carrier than mine, and the phone is currently running Android 9.
Can I just flash TWRP without flashing a stock firmware beforehand, or is it necessary to flash a stock firmware first, and if so, what about the different carrier and a previous Android version?
Click to expand...
Click to collapse
Before flashing TWRP, it is a good idea to flash the latest firmware to get the latest version of the modem, which will be useful for use with custom ROM.
Carefully read the TWRP flashing instructions so there are no surprises.
If you don't want to change the original firmware, then flash TWRP.
beware, latest firmware may bring new security updates such as vaultkeeper or RMM protection to your device.
you can flash different CSC with modded Odin (not recommended) but you can't downgrade bootloader.
use Samloader or Bifrost to download from official Samsung server for your region.

Categories

Resources