[Q] Regarding TWRP and Custom ROMs - Nexus 10 Q&A, Help & Troubleshooting

Hi, I am not too sure if I posted this in the right place or not but please let me know if it is posted in the wrong place. I am actually relatively new towards rooting of an android device so i need to clear my doubts.
I used Wugfresh toolkit to root my Nexus 10. The toolkit also have an option to install TWRP. But the version of TWRP is not the most updated one. So, can I just download the latest one and flash it or i need to remove the current one before I can update the version.
Also, I am interested in flashing a custom ROM. But my question is if a new stock firmware is out, how am i going to update to the latest stock firmware when I am in a custom ROM.
Please let me know if you don't understand my question. I will try my best to explain further and also thank you in advance.

iOrdinary said:
Hi, I am not too sure if I posted this in the right place or not but please let me know if it is posted in the wrong place. I am actually relatively new towards rooting of an android device so i need to clear my doubts.
I used Wugfresh toolkit to root my Nexus 10. The toolkit also have an option to install TWRP. But the version of TWRP is not the most updated one. So, can I just download the latest one and flash it or i need to remove the current one before I can update the version.
Also, I am interested in flashing a custom ROM. But my question is if a new stock firmware is out, how am i going to update to the latest stock firmware when I am in a custom ROM.
Please let me know if you don't understand my question. I will try my best to explain further and also thank you in advance.
Click to expand...
Click to collapse
TWRP typically recommends installing and updating their recovery via Goo's app thing, but if you know where to look (openrecovery on goo + manta), you can get the .img and then flash it with fastboot. I usually do fastboot erase recovery and then fastboot flash boot TWRP-IMAGE.img. But if you don't feel too comfortable with fastboot, then Goo's program should take care of it I think.
If you want to try the latest stock when you're using a custom ROM, you'll need to flash the latest factory image from Google to go back stock, and then update it (unless the factory image is updated to the latest, which doesn't usually happen till days later). Just want to make sure you backup anything important.

espionage724 said:
TWRP typically recommends installing and updating their recovery via Goo's app thing, but if you know where to look (openrecovery on goo + manta), you can get the .img and then flash it with fastboot. I usually do fastboot erase recovery and then fastboot flash boot TWRP-IMAGE.img. But if you don't feel too comfortable with fastboot, then Goo's program should take care of it I think.
If you want to try the latest stock when you're using a custom ROM, you'll need to flash the latest factory image from Google to go back stock, and then update it (unless the factory image is updated to the latest, which doesn't usually happen till days later). Just want to make sure you backup anything important.
Click to expand...
Click to collapse
So, for TWRP, it means that I can restore the stock recovery before I flash the TWRP img right? Because I am using the Wugfresh toolkit to run all these fashboot commands and they only have the options to either flash a custom recovery or to restore the stock recovery.
As for the custom ROMs, every time I flash a ROM, all my stuff in my Nexus 10 will be gone right? For example my game progress etc. Because if I were to backup, I will make a nandroid backup which means every single thing in my nexus. So, correct me if I am wrong. Every time I flash a ROM, my nexus will be back to a clean state right?
Thank you in advance for your answers. ^^

Related

Will custom recovery prevent ota updates?

First let me apologise if this is in the wrong section. I could not decide if this was the best place for it or q a&a. As the title sais. If i flash twrp will it prevent me from receiving ota updates from Google. I have an HTC sensation XE and if i flash a custom recovery i know from past experience that it prevents ota updates. This nexus 7 however is my first "Google" device you could call it and as such i do not know that.
Can any one inform me on this issue. Also if it will an ota cause loss of root on this nexus like it did on my smartphone or will it stay? If it is gone i suppose it will simply be a matter of using chainfires root tool again when it gets updated for it.
Thanks in advance.
Sent from my Nexus 7 using Tapatalk 4
Q&A would be the best place for the post, but I can offer some insight. Any time you flash a custom rom you will forfeit the option of an ota update from your carrier or Google. This doesn't affect your play store apps as they will update when needed. The information that gets sent to your carrier identifies it as being non-official software so only a few custom ROMs that are well maintained will point the ota updates to its own servers. If you wish to receive official ota updates you should perform a nandroid backup of your stock rom to have a restore point for when a new release comes out. Aside from that, you would have to flash everything back to stock (probably stock recovery too) in order to be seen by the carrier as an eligible device.
Sent from my SGH-I727 using Tapatalk 2
Who said anything about flashing a custom rom. I know i didn't. Sorry but that reply is no insight at all. I asked if flashing twrp a custom recovery would prevent ota updates like on my phone. Nothing else. I did not say one word about custom recovery.
Sent from my Nexus 7 using Tapatalk 4
Ch3vr0n said:
Who said anything about flashing a custom rom. I know i didn't. Sorry but that reply is no insight at all. I asked if flashing twrp a custom recovery would prevent ota updates like on my phone. Nothing else. I did not say one word about custom recovery.
Sent from my Nexus 7 using Tapatalk 4
Click to expand...
Click to collapse
If you install a custom recovery like twrp, you wouldn't be able to install an OTA from Google. You need stock recovery for OTAs.
now that's more of an answer i was hoping to get, can some other users confirm this? I suppose i'll lose root aswell but i imagine that would simply be a case of waiting for an updated root tool then. Say i do flash a recovery, does google have a page where you can manually download the update files to flash? But that would probably cause a lose of root as well but the custom recovery would remain intact, correct?
Ch3vr0n said:
now that's more of an answer i was hoping to get, can some other users confirm this? I suppose i'll lose root aswell but i imagine that would simply be a case of waiting for an updated root tool then. Say i do flash a recovery, does google have a page where you can manually download the update files to flash? But that would probably cause a lose of root as well but the custom recovery would remain intact, correct?
Click to expand...
Click to collapse
This has already been brought up many times e.g.
http://forum.xda-developers.com/showthread.php?t=2404833
I thought as much. I'll stick with stock recovery then until i need a custom recovery for some specific reason. For now root access is enough. And if an ota comes out and i lose recovery well I'll just wait for chainfire to update his root tool
i received the jss15j -> jsl36c update on my razorg with twrp recovery installed.
after the update stock recovery was back.
you can boot every recovery or kernel image without flashing it using fastboot:
fastboot boot nameofrecovery.img
I think you can have your cake and eat it too.
Instead of "fastboot flash recovery recovery.img" to flash the custom recovery, you can "fastboot boot recovery.img".
Every time you want the custom recovery, use fastboot boot command on the pc. This way you can make nandroid backups and flash superSU to root. But, you will not be replacing the stock recovery.
I did this on my HTC phone, when I wanted to remain stock, rooted, yet able to receive OTA updates.
HowardZ said:
I think you can have your cake and eat it too.
Instead of "fastboot flash recovery recovery.img" to flash the custom recovery, you can "fastboot boot recovery.img".
Every time you want the custom recovery, use fastboot boot command on the pc. This way you can make nandroid backups and flash superSU to root. But, you will not be replacing the stock recovery.
I did this on my HTC phone, when I wanted to remain stock, rooted, yet able to receive OTA updates.
Click to expand...
Click to collapse
Good to know.
Sent from my Nexus 7 using Tapatalk 4
I've taken OTAs using custom recoveries before on any number of devices. If you're not careful you can lose your recovery and have to reflash again, but sometimes you don't even lose that.
Well, there might be complications installing an OTA with custom recovery if it comes with a newer bootloader version/radio. Sometimes it works, but there were also reported problems.
Well i just had an ota update to jss15r and lost root as kinda expected. Now ill just have to find out if rerunning the root tool will be enough. Since it is already OEM unlocked i suppose i can simply modify that bat file and remove that line and run it again?

I'm a nervous noob.

This is a pretty specific question and i'm not sure this is the correct place to ask this but i recently installed the stock rom (Via Zip) on this thread: http://forum.xda-developers.com/showthread.php?t=2527806 . I flashed just the rom NOT including the bootloader (Because i don't know what it does) and the .97 radio because there seems to be some issues with it. Now, everything is working perfectly as it did before. What i'm wondering is after today's random new 4.4 factory image and ota update from Google (I think its krt16s); i know they are probably going to compile a flashable zip, and if they do what exactly do i need to do?
I'm extremely weary when i do these kind of things, the last time i flashed any sort of rom was on my OG RAZR. Would i have to install that new bootloader? (Also what exactly does it do) And would i have to wipe?
I can make the radio judgement on my own but i'm just not entirely sure.
If anyone could answer my questions that would be wonderful, i'm also sorry for posting this here, i'm not allowed to post in that thread because i'm "new" to the site.
Thanks!
you dont have to sorry as you are in the right section for asking questions.
You can either wait for a day or two for someone to post a flashable zip file. If someone do post it; all you have to do is copy it to your phone. Reboot to recovery mode; make sure you have cwm recovery installed. From there choose "install zip" > install zip from sdcard, choose the flashable zip. Once it finishes installing, clear cache partition and reboot. You will not lose anything in the phone.
If you want to install the new krt16s stock update. First, copy all of your files (pictures/music/data etc...) to your computer. This will wipeout everything. Download the image file. Open it with winrar or 7zip. Extract all the files to a folder. Connect your phone to the computer and reboot it to bootloader. Run the "flash-all.bat" file from the extracted files. Wait for it to finish. It will update everything (kernel, bootloader and the new 4.4)
You should know what something is before flashing them wildly, that's the easiest way for people to brick their phone by flashing something incompatible with their devices. Bootloader is the main program that boot first when you turn on to phone to make selftest and boot normally into the operating system kernel, with Nexus you can use it boot into recovery and flash images to partitions as well. It's very recommended to update it along with new Android version or you may run into issues. You should already know this since you had to access the bootloader screen to boot into the CWM recovery.
Stick with using CWM for now and flash the flashable zips. Just make a full backup of your device you can always restore it later. Just know that unless you flash radio separately (aka baseband), roms generally and should not come prepackaged with the baseband, so it is not affected when you flash a different rom, you have to upgrade it manually.
When you flash a new Android version, usually its recommended to do a factory reset in your recovery to avoid issues.
Installing factory image takes a few more steps and required using fastboot, but if you want to check the link in my sig. Also I recommend switching to TWRP recovery, but that's just me.
badboy47 said:
you dont have to sorry as you are in the right section for asking questions.
You can either wait for a day or two for someone to post a flashable zip file. If someone do post it; all you have to do is copy it to your phone. Reboot to recovery mode; make sure you have cwm recovery installed. From there choose "install zip" > install zip from sdcard, choose the flashable zip. Once it finishes installing, clear cache partition and reboot. You will not lose anything in the phone.
If you want to install the new krt16s stock update. First, copy all of your files (pictures/music/data etc...) to your computer. This will wipeout everything. Download the image file. Open it with winrar or 7zip. Extract all the files to a folder. Connect your phone to the computer and reboot it to bootloader. Run the "flash-all.bat" file from the extracted files. Wait for it to finish. It will update everything (kernel, bootloader and the new 4.4)
Click to expand...
Click to collapse
I see, me personally, I'm not very fond of using adb; I haven't used it at all prior to yesterday. I may try this out, but should someone post the new kernel, boot loader, 4.4 and radios would that be the same as flashing the factory image?
This probably seems like a really stupid question but I wouldn't be smart to try to download the ota directly from the phone (via check for updates) would it?
joshvader8 said:
I see, me personally, I'm not very fond of using adb; I haven't used it at all prior to yesterday. I may try this out, but should someone post the new kernel, boot loader, 4.4 and radios would that be the same as flashing the factory image?
This probably seems like a really stupid question but I wouldn't be smart to try to download the ota directly from the phone (via check for updates) would it?
Click to expand...
Click to collapse
You need to learn to use adb and fastboot if you want to be able to do advance things with the phones, or just avoid flashing too much, because once you run into trouble (especially due to using toolkits), you will not know how to recover your device.
If you want your device to be stock and able to receive OTA updates, in addition you also need your stock rom to be an "odexed" version, some roms are "deodexed" which will not receive OTA. You also need to have stock recovery, which CWM isn't.
eksasol said:
You need to learn to use adb and fastboot if you want to be able to do advance things with the phones, or just avoid flashing too much, because once you run into trouble (especially due to using toolkits), you will not know how to recover your device.
If you want your device to be stock and able to receive OTA updates, in addition you also need your stock rom to be an "odexed" version, some roms are "deodexed" which will not receive OTA. You also need to have stock recovery, which CWM isn't.
Click to expand...
Click to collapse
Thank you! One more question, let's say I revert back to my nandroid back up. I backed my ROM up on Android 4.3 rooted and unlocked with CWM. If I flashed the 4.4 factory i image what exactly would happen? Would I boot into 4.4 absolutely stock? Or would I end up with 4.4 unlocked etc...?
Thank you for the help I really appreciate it. ☺
joshvader8 said:
Thank you! One more question, let's say I revert back to my nandroid back up. I backed my ROM up on Android 4.3 rooted and unlocked with CWM. If I flashed the 4.4 factory i image what exactly would happen? Would I boot into 4.4 absolutely stock? Or would I end up with 4.4 unlocked etc...?
Thank you for the help I really appreciate it. ☺
Click to expand...
Click to collapse
When you flash factory image (using fastboot method), it will wipe your entire device and all user data, and you will boot into stock. Except if you do it manually you can prevent datas from wiping, follow these steps and pay attention to the red texts.
Sometimes apps data from older version can cause issues with newer version though, so a clean install is always best.
But if you have custom recovery, you can flashable stock roms, such as this one by fireb33, it's essentially the same as stock. Get the "odexed" version which is required to get OTA updates. Some peolpe say they can get OTA with custom recovery, but I have never tried that. The safest bet is to use fastboot to restore to stock recovery. You could also use custom recovery to flash OTA update packages to update versions that way.
As for backing up, people tends to call the backup "nandroids". After you do backup, if you're doing something that required the device to be wiped, you need to copy the backup to your pc. The CWM nandroids are usually located in 'clockworkmod' folder, but if you don't see it, search in "/data/media". I do not use CWM so I don't know what it allows you to back up, but generally "boot" (which is the kernel), system, and data partitions. It will not restore everything to stock such as your radio (baseband) or recovery.
I highly recommend switching to TWRP recovery, it will make flashing a lot easier.

noob here, lost at rooting

hey all,
I'm a complete noob when it comes to rooting
I've been searching online on how to root a nexus 4 using a mac.. every single guide is different, some skip the unlocking bootloader part, some skip other parts, and most guides are just outdated.
I'm running on absolute stock, 4.4.2.
What's the best (and most current) guide out there? I'm interested in rooting my phone mainly so I can get LTE access.. do no care too much for non stock ROMS (not yet at least)
I think this is the easiest for noobs: http://forum.xda-developers.com/showthread.php?t=1999065 . It's a tool that will do all the work for you.
Sent from my Nexus 4 using Tapatalk
update:
I set up adb on my mac and unlocked bootloader, that was easy.
I'm following this guide: http://forum.xda-developers.com/showthread.php?t=2018179
so now I'm confused about the whole Rom part.. which one do I download? There's a ROMs column, a stock recovery, and stock touch recovery. What are those?
You don't have to install another ROM. You can just download the recovery (CMW for mako touch or non touch) in the post. Also download the su zip tot get root acces.
Sent from my Nexus 4 using Tapatalk
Yuoko5 said:
You don't have to install another ROM. You can just download the recovery (CMW for mako touch or non touch) in the post. Also download the su zip tot get root acces.
Sent from my Nexus 4 using Tapatalk
Click to expand...
Click to collapse
ah, so the touch column is all the 'stock' roms. how do I know that it's the latest 4.4.2 stock rom? will be able to do OTA updates after I flash the mako touch?
If you're device is rooted I think you won't be able to install OTA updates from google anymore. But, you can flash these stock roms easily. I'm sure people make flashable zips of every new version of Android. About the columns: ROMs=you can download custom roms (you don't need that); Recovery and recovery touch is basically the same thing. The difference is one recovery can be controlled with the touchscreen and the over with the volume and power button. It's just what you like best.
Sent from my Nexus 4 using Tapatalk
---------- Post added at 02:02 AM ---------- Previous post was at 01:58 AM ----------
beegbear said:
ah, so the touch column is all the 'stock' roms. how do I know that it's the latest 4.4.2 stock rom? will be able to do OTA updates after I flash the mako touch?
Click to expand...
Click to collapse
Get it?
Sent from my Nexus 4 using Tapatalk
I guess I'm getting some terminology mixed up, it seems that no matter how much I read about this I still can't quite get a grasp of it
What is the definition of CWM (clockwork mod), what exactly does it do?
What is a factory then? (when someone talks about flashing a factory image, I thought that's what CWM is, what's the difference?)
beegbear said:
I guess I'm getting some terminology mixed up, it seems that no matter how much I read about this I still can't quite get a grasp of it
What is the definition of CWM (clockwork mod), what exactly does it do?
What is a factory then? (when someone talks about flashing a factory image, I thought that's what CWM is, what's the difference?)
Click to expand...
Click to collapse
Cwm(clockworkmod recovery) is a side load which helps u to flash different ROMs and zip files. It also helps u to wipe battery stats, partition sd card(not with case of n4)
Factory image is the stock ROM that Google provide that u r having in your nexus 4
Sent from my Nexus 4 using xda app-developers app
beegbear said:
I guess I'm getting some terminology mixed up, it seems that no matter how much I read about this I still can't quite get a grasp of it
What is the definition of CWM (clockwork mod), what exactly does it do?
What is a factory then? (when someone talks about flashing a factory image, I thought that's what CWM is, what's the difference?)
Click to expand...
Click to collapse
And regarding your previous question of OTA updates, You'll have to flash the stock recovery if you're on CWM or TWRP (Team Win Recovery Project - Many people recommend this one, I use it myself) and you shouldn't have made any changes to the system files of your stock ROM.
You will receive the OTA if you have modified anything in system, you just won't be able to flash it. And you can also flash the OTA with TWRP instead of stock recovery. Root does not matter, although it will be lost after you update. Before updating, also make sure you're not using a custom kernel. Kernel: The "thing" that android runs on. It's the heart of the OS, you could say. No kernel, no boot.
Lt.Win said:
And regarding your previous question of OTA updates, You'll have to flash the stock recovery if you're on CWM or TWRP (Team Win Recovery Project - Many people recommend this one, I use it myself) and you shouldn't have made any changes to the system files of your stock ROM.
You will receive the OTA if you have modified anything in system, you just won't be able to flash it. And you can also flash the OTA with TWRP instead of stock recovery. Root does not matter, although it will be lost after you update. Before updating, also make sure you're not using a custom kernel. Kernel: The "thing" that android runs on. It's the heart of the OS, you could say. No kernel, no boot.
Click to expand...
Click to collapse
So let me make sure I'm following this..(sorry, I'm sure you saw such questions countless times before)
CWM (or TWRP) is a custom recovery instead of the stock 'recovery' option that's found in the bootloader. If I choose to go with either CWM or TWRP, how much of an issue is it to flash back to stock recovery? would it be done through ADB the same way the custom recovery was flashed in the first place?
As I understand.. the first thing I should do after unlocking the bootloader (already done) and flashing a custom recovery (not done yet) is to create a backup through the custom recovery. Does that back up the radios as well? If I decide to flash the all in one LTE zip and it doesn't work or what not.. will using that recovery flash back the old radios?
Now to the actual rooting..
so flashing super su is what actually does the root? How would I go about returning to complete stock if I ever need to? (stock recovery, remove root, lock bootloader)
When flashing a different ROM, how come I need to make a backup of my apps? what if I want to start completely fresh? Would I not be able to go to the playstore after flashing a custom rom and downloading everything I need? or there is not going to be a play store after flashing? (that's why GAPPS are needed?)
so I rooted and flashed the hybrid radio, works like charm!
I answered most of my own questions in the post above just by going through the process.
What happens if I decide to factory reset through settings? will CWM stay? will the root stay? will the lte fix stay?
Yes...yes...yes.....you really should take advantage of the countless guides people have written explaining all of your questions.
Sent from my Nexus 4 using XDA Premium 4 mobile app

WiFI wont work after root

I should start this off by saying that i have no idea how to root a device and i am now currently aware of how stupid my actions were.
I've searched the forums for about 2 hours now and i've yet to find a solution to this problem which is stressing me out like you wouldn't believe.
about i year ago i tried to root my Moto X Pure edition but i failed miserably so i returned to stock and lived without. This morning i decided i would try to root again but it isn't going so well.
I followed this guide: http://forum.xda-developers.com/moto-x-style/general/root-moto-x-style-xt1572-br-marshmallow-t3259380 And everything worked fine until i noticed that my wifi wasn't working.
I then decided to flash back to the original boot image which i found from this site: http://androiding.how/systemless-root-moto-x-style-marshmallow-mph24-49-18/ But my wifi still refuses to turn back on
By now I'm a bit stressed out and not thinking straight. I then recalled that device encryption can screw with the rooting process so i decided to factory reset (how stupid can i get.)
So now im sitting at the welcome screen and my XT1575 cant find a wifi network so im going to have to restore my device over cellular data.
What do i do!?!?!?!?!!?!?
EDIT: i just realized the first link i posted was for the XT1572. I feel so stupid. how do i restore original functionality to my device?
I have had this issue before but on a Moto X Style (XT1572). You need to flash the modem again through fastboot/ADB. You first need to download the full stock firmware and extract it on a PC. Reboot your phone into bootloader mode and run the following command through command prompt/terminal:
fastboot flash modem NON-HLOS.bin
fastboot erase modemst1
fastboot erase modemst2
You may need to do this twice as it doesn't work always first time. Refer to this post for more information:
http://forum.xda-developers.com/moto-x-style/development/pure-firmware-tuff-wip-t3224833
HTH,
Ooms
dj_ooms said:
I have had this issue before but on a Moto X Style (XT1572). You need to flash the modem again through fastboot/ADB. You first need to download the full stock firmware and extract it on a PC. Reboot your phone into bootloader mode and run the following command through command prompt/terminal:
fastboot flash modem NON-HLOS.bin
fastboot erase modemst1
fastboot erase modemst2
You may need to do this twice as it doesn't work always first time. Refer to this post for more information:
http://forum.xda-developers.com/moto-x-style/development/pure-firmware-tuff-wip-t3224833
HTH,
Ooms
Click to expand...
Click to collapse
I've learned a lot in the past two hours. I did try to reflash the modem multiple times with multiple different files without any success. I don't think the method i was following works for XT1575 specifically.
I am currently back on stock with wifi working. I like the idea of a systemless root, but i couldn't find a method that works for the Pure. So i guess i will continue to run stock until i get a new phone (that might be a while.)
UC_Nightmare said:
I've learned a lot in the past two hours. I did try to reflash the modem multiple times with multiple different files without any success. I don't think the method i was following works for XT1575 specifically.
I am currently back on stock with wifi working. I like the idea of a systemless root, but i couldn't find a method that works for the Pure. So i guess i will continue to run stock until i get a new phone (that might be a while.)
Click to expand...
Click to collapse
Glad you managed to sort out your WiFi.
If you are on stock ROM but have tried root, it means you already have an unlocked bootloader. You could always try and flash TWRP and then flash a pre-rooted stock ROM from here:
[ROM] Flashable Stock/Rooted X1575 6.0 MPHS24.49-18-4 (May security update)
This will give you what you are after minus the stock recovery. You could then just reflash the stock recovery using fastboot/ADB:
fastboot flash recovery recovery.img
Click to expand...
Click to collapse
Just download the full stock of the firmware version you flashed through TWRP and then extract and flash the respective version recovery from here:
[FiRMWARE] XT1575 PuRE FiRMWARE aNd STuFF
You should then be completely stock with root.
I tried systemless root on my XT1572 and didn't get on with it. Kept having issues so just went with full root and am happy with my phone as it is; stock 6.0.1 with full root and a few stock apps removed that I don't use/need.
HTH,
Ooms
dj_ooms said:
Glad you managed to sort out your WiFi.
If you are on stock ROM but have tried root, it means you already have an unlocked bootloader. You could always try and flash TWRP and then flash a pre-rooted stock ROM from here:
[ROM] Flashable Stock/Rooted X1575 6.0 MPHS24.49-18-4 (May security update)
This will give you what you are after minus the stock recovery. You could then just reflash the stock recovery using fastboot/ADB:
Just download the full stock of the firmware version you flashed through TWRP and then extract and flash the respective version recovery from here:
[FiRMWARE] XT1575 PuRE FiRMWARE aNd STuFF
You should then be completely stock with root.
I tried systemless root on my XT1572 and didn't get on with it. Kept having issues so just went with full root and am happy with my phone as it is; stock 6.0.1 with full root and a few stock apps removed that I don't use/need.
HTH,
Ooms
Click to expand...
Click to collapse
Thanks for the suggestion. Before I try rooting again though, is there a way to completely backup my phone to my computer without using twrp? its a pain logging into all my app and setting everything up every time i try to root my phone.
UC_Nightmare said:
Thanks for the suggestion. Before I try rooting again though, is there a way to completely backup my phone to my computer without using twrp? its a pain logging into all my app and setting everything up every time i try to root my phone.
Click to expand...
Click to collapse
The only app I am aware of without root is Helium. I haven't tried it personally but I think you need to have an app running on your PC and the phone connected to it. I personally use TWRP with Nandroid Manager and Titanium Backup. These both need root though. You could always make a backup through TWRP prior to flashing the pre-rooted ROM, then flash the ROM as always recommended. If you run into issues, just restore the backup through TWRP, then flash the stock recovery back through fastboot/ADB to be backup to your original state.
HTH,
Ooms
dj_ooms said:
Glad you managed to sort out your WiFi.
If you are on stock ROM but have tried root, it means you already have an unlocked bootloader. You could always try and flash TWRP and then flash a pre-rooted stock ROM from here:
[ROM] Flashable Stock/Rooted X1575 6.0 MPHS24.49-18-4 (May security update)
This will give you what you are after minus the stock recovery. You could then just reflash the stock recovery using fastboot/ADB:
Just download the full stock of the firmware version you flashed through TWRP and then extract and flash the respective version recovery from here:
[FiRMWARE] XT1575 PuRE FiRMWARE aNd STuFF
You should then be completely stock with root.
I tried systemless root on my XT1572 and didn't get on with it. Kept having issues so just went with full root and am happy with my phone as it is; stock 6.0.1 with full root and a few stock apps removed that I don't use/need.
HTH,
Ooms
Click to expand...
Click to collapse
Maybe i am missing something but why would i want to flash stock recovery after i flash for example "XT1575 Rooted 6.0 Odexed with May security update" from the first link you provided?
UC_Nightmare said:
Maybe i am missing something but why would i want to flash stock recovery after i flash for example "XT1575 Rooted 6.0 Odexed with May security update" from the first link you provided?
Click to expand...
Click to collapse
I think i can answer my own question now. TWRP is a "custom recovery" and after i use TWRP i can flash something over it so that i can be stock. The terminology around these parts is quite confusing
i've gone and ****ed everything up again. I flashed twrp and then tried to install a zip from the first link you provided but my phone refused to unlock
I did a factory reset from within twrp and reinstalled the zip but now my wifi isnt working again.
Is rooting always such a pain in the ass?
UC_Nightmare said:
i've gone and ****ed everything up again. I flashed twrp and then tried to install a zip from the first link you provided but my phone refused to unlock
I did a factory reset from within twrp and reinstalled the zip but now my wifi isnt working again.
Is rooting always such a pain in the ass?
Click to expand...
Click to collapse
When rooting, there is always a risk. I have been flashing phones for over 10 years and it is always a learning experience. Even now i have occasionally done something and thought I've completely mucked up my phone. You just need to make sure you follow exactly what is stated as the procedure and if you run into problems, there is always someone at hand to help in this great forum.
Out of curiosity, did you follow the standard procedure for installing a new ROM? You will lose all data doing the standard procedure but can restore most stuff from your Nandroid backup. The steps I always do is:
1. Make a backup
2. Wipe data, system, dalvik/art and cache partitions
3. Flash your ROM
4. Wipe dalvik/art and cache again
5. Reboot
Click to expand...
Click to collapse
That is the standard recommended procedure for flashing all ROMs in TWRP. I have an EU XT1572 and have successfully used this ROM on my phone. The ROM contains everything you need including the modem. The modem is for the US XT1575 but worked fine on my phone. For sanities sake, I flashed the EU modem after and still had everything working.
Just another point, your phone needs to have been updated to Marshmallow before you can run one of these ROMs. If you are on Lollipop you may run into issues, especially from a radios perspective.
Another thing to point out is that all ROMs are started that you flash at your own risk. Developers will not be held responsible for anything going wrong. As long as you follow the guides and don't flash a ROM for a completely different device, you shouldn't run into any issues and more often then not can bring your phone back to a functional state if you do.
HTH,
Ooms
Flash twrp
Make backup
Flash su 2.62-3
Done.
Or...
1. Flash the factory image
2. Flash TWRP
3. Flash this attachment in TWRP, which will force install SuperSU 2.78 SR-1 systemless-ly. I've shared and posted about it before in this thread.
Nothing's changed with the attached zip here, except it has the latest version of SuperSU included as of this post.

Is it OK to clean flash Factory Image in TWRP?

I want to make a clean Install of factory image (Android 8.0 Oct) on my Nexus 6P with TWRP.
Should wipe Dalvik, Data, System and Internal storage, then move the stock zip file (That I downloaded from google's web) from my computer to my phone and just install in TWRP? Will it work?
Device is unrooted, only has an open boot loader, I just want to make a clean install of Android 8.0
If you wipe your internal all your downloads and your factory image are gone.
Sure you can flash the unpacked *.img with twrp, but don't try to flash the bootloader or radio with twrp.
If you really want a clean start and wipe everything, then you should flash the factory image with fastboot. This will update your bootloader and radio too.
coremania said:
If you wipe your internal all your downloads and your factory image are gone.
Sure you can flash the unpacked *.img with twrp, but don't try to flash the bootloader or radio with twrp.
If you really want a clean start and wipe everything, then you should flash the factory image with fastboot. This will update your bootloader and radio too.
Click to expand...
Click to collapse
Hi coremania, I have a few questions towards this method.
1. If the stock image is stored in either external SD card OR USB OTG, even then will there be any problem installing the the stock rom back using TWRP?
2. If the boot loader is unlocked, should one has to re-lock it first before reinstalling the stock rom either thru' TWRP or thru' Fasboot commands?. and finally,
3. Is it not advisable to flash the stock rom from the full factory image using TWRP rather than Fastboot?
(As I think it is easier to flash thru TWRP than typing those ADB commands in Fastboot).
Thank you for your inputs.
AndroMani said:
Hi coremania, I have a few questions towards this method.
1. If the stock image is stored in either external SD card OR USB OTG, even then will there be any problem installing the the stock rom back using TWRP?
2. If the boot loader is unlocked, should one has to re-lock it first before reinstalling the stock rom either thru' TWRP or thru' Fasboot commands?. and finally,
3. Is it not advisable to flash the stock rom from the full factory image using TWRP rather than Fastboot?
(As I think it is easier to flash thru TWRP than typing those ADB commands in Fastboot).
Thank you for your inputs.
Click to expand...
Click to collapse
If you decide to flash and test some stuff the bootloader should be always unlocked. If anything will went wrong and your bootloader is locked you're mostly f***ed. Never relock your bootloader until you want to sell your device.
I mostly use flashfire to flash stock and custom roms, TWRP is ok too, but it's easier to keep root and TWRP with flashfire by flashing stock images. Do not flash bootloader and radio with flashfire, never ever !!! There are TWRP flashable zips for bootloader and radio here on XDA, you only should use these with TWRP, but the safe way for bootloader and radio is fastboot for sure. Fastboot is the safest way for flashing stock,
but not absolutely necessary, you have to decide this for yourself.
Edit: to your first question, I never flashed with USB otg on the n6p, but I think yes it should be fine.
I hope someone here can help answer this question. I also want to flash factory image version 8.1.0 on my nexus 6P. But somehow my phone is not recognized by any computers I tried to plug it in. When I plug in the usb cable to the phone, it doesn't pop up the usb notification to choose MTP for file transfer. Then I try with Developer tab in Settings to choose it manually (USB debugging is enable) but it still doesn't work. My laptop has been updated with android usb drivers and other stuffs. I have a second phone (Oneplus 1) and it's recognized by my laptop the moment I plug it in. Please suggest any solutions to fix this. Thanks everyone.
sinjok said:
I hope someone here can help answer this question. I also want to flash factory image version 8.1.0 on my nexus 6P. But somehow my phone is not recognized by any computers I tried to plug it in. When I plug in the usb cable to the phone, it doesn't pop up the usb notification to choose MTP for file transfer. Then I try with Developer tab in Settings to choose it manually (USB debugging is enable) but it still doesn't work. My laptop has been updated with android usb drivers and other stuffs. I have a second phone (Oneplus 1) and it's recognized by my laptop the moment I plug it in. Please suggest any solutions to fix this. Thanks everyone.
Click to expand...
Click to collapse
Check your cable, or try a different with different port.
In the Dev options you can reset the debugging options, i guess a reboot is necessary afterwards.
coremania said:
If you decide to flash and test some stuff the bootloader should be always unlocked. If anything will went wrong and your bootloader is locked you're mostly f***ed. Never relock your bootloader until you want to sell your device.
I mostly use flashfire to flash stock and custom roms, TWRP is ok too, but it's easier to keep root and TWRP with flashfire by flashing stock images. Do not flash bootloader and radio with flashfire, never ever !!! There are TWRP flashable zips for bootloader and radio here on XDA, you only should use these with TWRP, but the safe way for bootloader and radio is fastboot for sure. Fastboot is the safest way for flashing stock,
but not absolutely necessary, you have to decide this for yourself.
Edit: to your first question, I never flashed with USB otg on the n6p, but I think yes it should be fine.
Click to expand...
Click to collapse
Thank you for the clarification. So, far I have not faced a situation to flash my custom recovery either thru' TWRP or thru Fastboot. Instead, I am using my Nandroid backups taken from TWRP and using it to restore my system after I try a custom rom OR upgrade my system with the latest Magisk version for a systemless root. So far there are no issues. But, I wanted to be aware of the methods to go back to stock (without any user installed apps/data) if need be. I read in some forums that we need to re-lock the unlocked bootloader if we want to go back to stock rom using fastboot. Otherwise, the system will not be installed alright and might cause a bootloop.
That's why I wanted to clarify.
Thanks again for your inputs.
AndroMani said:
Thank you for the clarification. So, far I have not faced a situation to flash my custom recovery either thru' TWRP or thru Fastboot. Instead, I am using my Nandroid backups taken from TWRP and using it to restore my system after I try a custom rom OR upgrade my system with the latest Magisk version for a systemless root. So far there are no issues. But, I wanted to be aware of the methods to go back to stock (without any user installed apps/data) if need be. I read in some forums that we need to re-lock the unlocked bootloader if we want to go back to stock rom using fastboot. Otherwise, the system will not be installed alright and might cause a bootloop.
That's why I wanted to clarify.
Thanks again for your inputs.
Click to expand...
Click to collapse
You don't need to ever relock your bootloader. If you want to try stock and use TWRP try SuperXe 8.1. It's just flaahable stock with some extras you can opt out of your not intereseted.
AndroMani said:
Thank you for the clarification. So, far I have not faced a situation to flash my custom recovery either thru' TWRP or thru Fastboot. Instead, I am using my Nandroid backups taken from TWRP and using it to restore my system after I try a custom rom OR upgrade my system with the latest Magisk version for a systemless root. So far there are no issues. But, I wanted to be aware of the methods to go back to stock (without any user installed apps/data) if need be. I read in some forums that we need to re-lock the unlocked bootloader if we want to go back to stock rom using fastboot. Otherwise, the system will not be installed alright and might cause a bootloop.
That's why I wanted to clarify.
Thanks again for your inputs.
Click to expand...
Click to collapse
I can't confirm the relock and unlock method to go back to stock. Senseless to me.

Categories

Resources