Related
Hi,
Long time reader, first time poster. I just unlocked the bootloader and flashed the latest franco nightly with fastboot and have two questions:
1. From what I've understood, in order to perform OTA updates, I have to be on the stock kernel. Do I just flash the stock boot.img extracted from the factory image? I think I may have read something about additional changes being done to the system partition after flashing a custom kernel, but I can't seem to find the thread.
2. If I want to flash a different kernel or update the existing one, do I just flash the fastboot image? Does it just overwrite the existing one or do I have to perform any additional steps, like a wipe?
I have not flashed a custom recovery or rooted the device and would like to keep it that way.
Yes. Some kernels do modify system files. If you wanted to get back to stock for an ota you'd flash both the boot.img and the system.img
Sent from my Nexus 4 using xda premium
El Daddy said:
Yes. Some kernels do modify system files. If you wanted to get back to stock for an ota you'd flash both the boot.img and the system.img
Sent from my Nexus 4 using xda premium
Click to expand...
Click to collapse
Thanks for the quick reply.
Do I keep my current settings and SMS messages when I flash system.img?
I'm guessing this is only necessary before performing an OTA update. If I'm only updating the kernel I just flash boot?
Eregoth said:
Thanks for the quick reply.
Do I keep my current settings and SMS messages when I flash system.img?
I'm guessing this is only necessary before performing an OTA update. If I'm only updating the kernel I just flash boot?
Click to expand...
Click to collapse
Yep your data will stay intact.
Yep just flash boot. Some say you should clear dalvik cache as well.
Sent from my Nexus 4 using Tapatalk 4 Beta
And what am i doing wrong, when the bootloader is not ending? i have root, unlocked bootloader, fancy kernel, cwmr and louder mod. i reverted the mod. flashed boot, system and recovery back to stock. i also want to perform an ota update.
Hello, i accidentally flash twrp on to my phone (should just boot it). Now i dont have stock recovery anymore. i have tried flash my phone using stock recovery i got from here, here and here. but still no luck. anyone can help?
my phone firmware is latest marsmallow. Unlocked Bootloader and Rooted using miaulightouch method.
Thanks,
FRezING
FRezING said:
Hello, i accidentally flash twrp on to my phone (should just boot it). Now i dont have stock recovery anymore. i have tried flash my phone using stock recovery i got from here, here and here. but still no luck. anyone can help?
my phone firmware is latest marsmallow. Unlocked Bootloader and Rooted using miaulightouch method.
Thanks,
FRezING
Click to expand...
Click to collapse
The links you give mostly for L.. I don't know if that will work on M though
Try to extract boot.img from your Asus zip and flash it, root might lost (?)
#sfmbe
Sent from my ASUS_Z00RD using XDA Labs
testeraphy said:
The links you give mostly for L.. I don't know if that will work on M though
Try to extract boot.img from your Asus zip and flash it, root might lost (?)
#sfmbe
Sent from my ASUS_Z00RD using XDA Labs
Click to expand...
Click to collapse
Thanks for reply, ya all of them for Lollipop because i have tried to flash boot.img from stock Marshmallow but still no recovery so i tried using Lollipop still no luck. Yesterday i tried back2stock method the rom flashed sucessfully but still no stock recovery.
Thanks,
FRezING
FRezING said:
Thanks for reply, ya all of them for Lollipop because i have tried to flash boot.img from stock Marshmallow but still no recovery so i tried using Lollipop still no luck. Yesterday i tried back2stock method the rom flashed sucessfully but still no stock recovery.
Thanks,
FRezING
Click to expand...
Click to collapse
So, I'm curious about it, and flash twrp myself just awhile ago...
And got bootloop, really... wait, seriously?
I'm like
How did the other day I'm able to survive this? It boot normally,
After 1st successful boot, flashing root, (I don't remember but just say I'm booting twrp this time), xposed, aware that root lost after reboot, I did my backup here,
Then deciding to start from scratch, installing official Asus, boot normally, flash twrp, rooting,rebooting few times and somehow root intact, install xposed, root lost...
Restart again, install Asus official (I'm not restoring my backup, really, the only thing I know how to install stock is by stock recovery itself) , boot twrp, install root by system, reboot, root intact, xposed, root intact, surfing net, registering xda yesterday, just now replying to your thread, then you can read from above again...
Just few minutes ago, restore recovery from backup (still bootloop though), installing Asus again, and make this reply...
Sorry can't help you, even I'm confused right now
Sent from my ASUS_Z00RD using XDA Labs
testeraphy said:
So, I'm curious about it, and flash twrp myself just awhile ago...
And got bootloop, really... wait, seriously?
I'm like
How did the other day I'm able to survive this? It boot normally,
After 1st successful boot, flashing root, (I don't remember but just say I'm booting twrp this time), xposed, aware that root lost after reboot, I did my backup here,
Then deciding to start from scratch, installing official Asus, boot normally, flash twrp, rooting,rebooting few times and somehow root intact, install xposed, root lost...
Restart again, install Asus official (I'm not restoring my backup, really, the only thing I know how to install stock is by stock recovery itself) , boot twrp, install root by system, reboot, root intact, xposed, root intact, surfing net, registering xda yesterday, just now replying to your thread, then you can read from above again...
Just few minutes ago, restore recovery from backup (still bootloop though), installing Asus again, and make this reply...
Sorry can't help you, even I'm confused right now
Sent from my ASUS_Z00RD using XDA Labs
Click to expand...
Click to collapse
It's ok thanks for your help tho, my phone still usable im just curious why the stock recovery still missing after flashing it via fastboot. u can use back2stock method if bootloop that method really handy no need to wipe anything i use it before when bootloop and my data still there.
FRezING said:
It's ok thanks for your help tho, my phone still usable im just curious why the stock recovery still missing after flashing it via fastboot. u can use back2stock method if bootloop that method really handy no need to wipe anything i use it before when bootloop and my data still there.
Click to expand...
Click to collapse
My phone already recovered by the time I'm replied above, and somehow.. systemless work.. duh
back to topic
Sent from my ASUS_Z00RD using XDA Labs
testeraphy said:
My phone already recovered by the time I'm replied above, and somehow.. systemless work.. duh
back to topic
Sent from my ASUS_Z00RD using XDA Labs
Click to expand...
Click to collapse
How did u fix dat issue? no recovery here and on booting logo it shows invalid boot.img
Plz help
arunperul said:
How did u fix dat issue? no recovery here and on booting logo it shows invalid boot.img
Plz help
Click to expand...
Click to collapse
Sorry, which part?
If about how I got my recovery back then, I don't really understand, let's assume I have my backup that time. now I have my backup, for real.
From what I understand, invalid boot mean either you got broken boot images or locked bootloader, so which one is familiar to you?
Anyway, you can try to flash back stock boot (grab from asus zip) and stock recovery (if you have them, or find on this forum?).
I don't know if locked bootloader can flash boot/recovery, never tried it myself. So, good luck!
Sent from my ASUS_Z00RD using XDA Labs
Just got this tablet today 2nd hand. Installed twrp, wiped tablet, got it set up. I went into twrp to back everything up and now when i reboot into system i get this message:
"set warranty bit recovery "
and it boots back into twrp.
Is tried powering the device down and and then restarting but it keeps going into twrp.
It looks like i can flash the stock firmware in odin to fix this, but does anyone know can i just flash the custom kernel (in odin) that's available for the T350? Would that be enough.
Thanks
Sent from my Nexus 6 using XDA-Developers mobile app
So flashing the kernel found on this site for the 350 works if anyone comes across this error. I flashed it in odin (as opposed to twrp)
Sent from my Nexus 6 using XDA-Developers mobile app
rrrrrrredbelly said:
Just got this tablet today 2nd hand. Installed twrp, wiped tablet, got it set up. I went into twrp to back everything up and now when i reboot into system i get this message:
"set warranty bit recovery "
and it boots back into twrp.
Is tried powering the device down and and then restarting but it keeps going into twrp.
It looks like i can flash the stock firmware in odin to fix this, but does anyone know can i just flash the custom kernel (in odin) that's available for the T350? Would that be enough.
Thanks
Sent from my Nexus 6 using XDA-Developers mobile app
Click to expand...
Click to collapse
If you installed the CF-Autoroot for your SM-T350 (I have this device) then it will softbrick your device, I do not know the cause, but I tried it. Also if you install TWRP for SM-T350, install the Lollipop version! The Marshmallow version is not compatible with 3rd party apps yet but the Lollipop version does. If you want to install SuperSU, then install from here: https://download.chainfire.eu/1012/SuperSU/SR3-SuperSU-v2.78-SR3-20161103171345.zip
YOU HAVE TO FLASH IT IN TWRP! INSTALL LOLLIPOP VERSION TWRP BEFORE YOU FLASH!!! ALSO, IF TWRP ASKS YOU TO INSTALL ROOT, DON'T LET IT!
Happy Flashing and Hope I helped.
This morning I my phone pesented itself in TWRP.
Maybe this is because over the past days I repeatedly got notifications that a system upgrade wanted to install itself (I have a modified 26s X720 from Tora33).
I rejected those notifications.
Now I am stuck in TWRP and I cannot get around it. What I tried:
Reinstalling previous firmware (Tora33 26s) still on the phone
Restoring a TWRP backup from 6 months ago (TWRP didn't see it, maybe it's from a previous TWRP version, I now have v. 3.1)
Flash via fastbood factory image using Mauro's Tool All In One (error message "can't find file mke2fs.conf")
Wipe data, cache, dalvik cache, system; then install Mauro_V2.2 cleansed 23s firmware which I transferred to the phone
Every time it boots up in TWRP.
Your bricked you never flash ota with twrp you should read before doing anything.
The only thing that can help is ofil.
I suggest you study well before trying it.
Sent from my LEX720 using xda premium
mchlbenner said:
Your bricked you never flash ota with twrp you should read before doing anything.
The only thing that can help is ofil.
I suggest you study well before trying it.
Click to expand...
Click to collapse
Oh boy. Thanks anyway. OTA flashed itself, couldn't stop it. Maybe I made it worse by trying to fix.
The bootloader is not locked according to the AIO tool. I can flash succesfully any firmware, only after flashing the phone will still boot in TWRP. It is strange it still boots in TWRP. Is there no simpler trick like flashing the standard recovery and then flashing OFW?
You mention Ofil; do you think the guide described here work?
Wortelstok said:
Oh boy. Thanks anyway. OTA flashed itself, couldn't stop it. Maybe I made it worse by trying to fix.
The bootloader is not locked according to the AIO tool. I can flash succesfully any firmware, only after flashing the phone will still boot in TWRP. It is strange it still boots in TWRP. Is there no simpler trick like flashing the standard recovery and then flashing OFW?
You mention Ofil; do you think the guide described here work?
Click to expand...
Click to collapse
Yes, that QFIL guide is for the x720.
In my opinion, the best way to return stock is to push update.zip into phones main folder, then install stock recovery, then in this one install update zip then check that OS is working. If it is, then go into twrp and wipe. Can't do it?
I'll mention myself;
https://forum.xda-developers.com/le-pro3/how-to/guide-simple-to-return-to-stock-x720-t3618658
marik1 said:
In my opinion, the best way to return stock is to push update.zip into phones main folder, then install stock recovery, then in this one install update zip then check that OS is working. If it is, then go into twrp and wipe. Can't do it?
I'll mention myself;
https://forum.xda-developers.com/le-pro3/how-to/guide-simple-to-return-to-stock-x720-t3618658
Click to expand...
Click to collapse
If he was just going back stock that would work he flash 28s ota with twrp so this will not work.
Sent from my LEX720 using xda premium
No brick after OFW push 28s
The pushed (unvoluntary) update didn't brick my phone after all. This may be important for those that have modified stock ROMs with TWRP.
Not being able to restore OFW was a bug in Mauro's All-in-One tool which he fixed last night. After I could easily flash 20S or 26S stock from his repository. I would also recommend this as safest/easiest procedure. Afterwards you can just flash TWRP from the same tool and move from there.
By the way, immediately after flashing 20s the FW notified it wanted to update itself, again!
n my opinion, the best way to return stock is to push update.zip into phones main folder, then install stock recovery, then in this one install update zip then check that OS is working. If it is, then go into twrp and wipe. Can't do it?
Click to expand...
Click to collapse
Might have tried that
Hi there XDA, I've recently been having issues with custom roms and random reboots, so I decided to go back to stock. Going back to stock I used fastboot to flash the system and boot images. After some setup I wanted to get root. Instead of there being twrp I ended up with the stock recovery somehow. TWRP 3.1.1 seemed to stick, then I decided to upgrade to the most recent version. And it no longer sticks(TWRP recovery).
I just don't know what to do or what the cause for this to happen may be. My only thought is that I'll have to fastboot flash recovery every time I want to modify something.
Any way you guys would be willing to shed some light on what's going on for me???
Sent from my SM-N7507 using Tapatalk
probably since you are not rooted
@dirtyreturn What was said above go grab the latest magisk.zip and have ready in your storage. Then after flashing twrp head into and flash the zip. Should stick from then on I haven't had any issues.
wizardwiz said:
probably since you are not rooted
Click to expand...
Click to collapse
Nah, I'm rooted through magisk
Exodusche said:
@dirtyreturn What was said above go grab the latest magisk.zip and have ready in your storage. Then after flashing twrp head into and flash the zip. Should stick from then on I haven't had any issues.
Click to expand...
Click to collapse
I don't doubt you, this hasn't happened to me before since owning the device. It just started, like, May 1/2 after flashing stock 8.1 system and boot images.
double post
dirtyreturn said:
I don't doubt you, this hasn't happened to me before since owning the device. It just started, like, May 1/2 after flashing stock 8.1 system and boot images.
Click to expand...
Click to collapse
So your flashing twrp after first boot, rooting and still won't stick?
Exodusche said:
So your flashing twrp after first boot, rooting and still won't stick?
Click to expand...
Click to collapse
Like, for two years I've had twrp on this device without any issue. Just all of a sudden after I fastboot flashed system and boot of 8.1 it just does not want to stay put.
dirtyreturn said:
Like, for two years I've had twrp on this device without any issue. Just all of a sudden after I fastboot flashed system and boot of 8.1 it just does not want to stay put.
Click to expand...
Click to collapse
Who knows maybe google changed something. Do it my way and you will be fine.
dirtyreturn said:
Like, for two years I've had twrp on this device without any issue. Just all of a sudden after I fastboot flashed system and boot of 8.1 it just does not want to stay put.
Click to expand...
Click to collapse
When you flash system and boot images, root is removed. On Oreo, TWRP does not persist without root being maintained. I believe on Nougat or Marshmallow, this was not the case. When you booted into the stock rom, this restored the stock recovery.
Flash TWRP then boot directly into TWRP and flash Magisk. When installing new security patches, boot directly into TWRP and reinstall root.
Sent from my Nexus 5X using Tapatalk
any help ?