Downgrade from nougat to marshmallow - Nexus 5X Q&A, Help & Troubleshooting

I am currently on 7.0 and i want to downgrade to pure nexus 6.0.1, i have been given advice and the steps are (in the order which i have in my mind) is:
1. boot into twrp
2. format system, cache, dalvik/ART cache and data
3. flash pn 6.0.1
4. flash gapps
5. flash vendor image
6. reboot? done?
idk if i have to flash the mashmallow radio or if downgrading will give me any cellular/wifi problems. can anyone clarify this? also is it possible doing this with the steps above will lead to a brick? (sorry for being a paranoid idiot, just don't want to end up with paperweight)
thanks.

All I did to downgrade was get into fastboot and flashall google factory M image. Booted fine. Then I loaded TWRP and flashed custom rom (if you want to do that).
The method above may work too but I felt safer loading all stock google M partitions first.
Sent from my Nexus 5X using Tapatalk

milan187 said:
All I did to downgrade was get into fastboot and flashall google factory M image. Booted fine. Then I loaded TWRP and flashed custom rom (if you want to do that).
Sent from my Nexus 5X using Tapatalk
Click to expand...
Click to collapse
Yea i thought of that but i wanted to go directly to pure nexus from 7.0 and i wanted to know if this would be safe to do, I've downgraded from 7.0 to 6.0 (cm 14 to cm 13) on my samsung devices but as a new nexus user i am a bit confused as to the general process of things but over time (and help from the xda community) i'll get the hang of things.

niklus101 said:
Yea i thought of that but i wanted to go directly to pure nexus from 7.0 and i wanted to know if this would be safe to do, I've downgraded from 7.0 to 6.0 (cm 14 to cm 13) on my samsung devices but as a new nexus user i am a bit confused as to the general process of things but over time (and help from the xda community) i'll get the hang of things.
Click to expand...
Click to collapse
Well it should work that way too and with unlocked bootloader you should not be able to brick your phone.
Are you trying to preserve your data? That's probably not a good idea.
I just felt an extra 10min and possibly a cleaner load was worth it.
Sent from my Nexus 5X using Tapatalk

milan187 said:
Well it should work that way too and with unlocked bootloader you should not be able to brick your phone.
Are you trying to preserve your data? That's probably not a good idea.
I just felt an extra 10min and possibly a cleaner load was worth it.
Sent from my Nexus 5X using Tapatalk
Click to expand...
Click to collapse
nah, loss of data is not much of a problem, just don't wanna end up with a brick but also with my crappy internet the download would take forever so i wanted to know if this shorter method would work.

niklus101 said:
I am currently on 7.0 and i want to downgrade to pure nexus 6.0.1, i have been given advice and the steps are (in the order which i have in my mind) is:
1. boot into twrp
2. format system, cache, dalvik/ART cache and data
3. flash pn 6.0.1
4. flash gapps
5. flash vendor image
6. reboot? done?
idk if i have to flash the mashmallow radio or if downgrading will give me any cellular/wifi problems. can anyone clarify this? also is it possible doing this with the steps above will lead to a brick? (sorry for being a paranoid idiot, just don't want to end up with paperweight)
thanks.
Click to expand...
Click to collapse
Yes that will work fine, steps 1-6. The radio and bootloader are interchangeable.
Sent from my Nexus 5X using Tapatalk

just did it. thanks for the help everyone from here and the pure nexus thread. i can confirm it works perfectly.

Related

[Q]Updating OTA While Rooted

Noticed a new build was released for OTA. Doing a little research I discovered it won't work while rooted.
Question being, what's the easiest way to update? Temporarily run custom recovery and flash it? I don't want to loss root access or any data. If needed I'll re-root again, but rather not.
Sent from my Nexus 7 using xda app-developers app
datallboy said:
Noticed a new build was released for OTA. Doing a little research I discovered it won't work while rooted.
Question being, what's the easiest way to update? Temporarily run custom recovery and flash it? I don't want to loss root access or any data. If needed I'll re-root again, but rather not.
Click to expand...
Click to collapse
There are many ways to accomplish the same end goal.
You can actually install the OTA while rooted. Just need to run the small fix in this post:
http://forum.xda-developers.com/showthread.php?p=44597339#post44597339
Rerooting on this device is super simple.
There are also other options like flashing the factory images or one of the pre-rooted odexed/deodexed repackaged mostly stock ROMs. You can find them described here:
http://forum.xda-developers.com/showthread.php?t=2415497
So just temporarily run custom recovery then flash the update? but where can I download the latest OTA update?
Sent from my Nexus 7 using xda app-developers app
datallboy said:
So just temporarily run custom recovery then flash the update? but where can I download the latest OTA update?
Click to expand...
Click to collapse
You need to run the fix I mentioned above OR unroot BEFORE installing the OTA or the OTA will fail near the end.
You can find the OTA here:
http://forum.xda-developers.com/showthread.php?t=2415497
Don't quite understand the post, so better to just hold off on an attempt.. Would using the unroot option in SuperSU, allowing the OTA update to go through, then rerooting work fine without deleting data?
I'm know more about Nook Tablet than Nexus 7, didn't care what I did to my Nook because I could fix it. I'm more cautious with this.
Sent from my Nexus 7 using xda app-developers app
Super-Su unroot never help you if you delete something in the /system directory
1)you must flash fix after root
2)do not flash permanent custom recovery and relock bootloader (if your bricked you devices you can send to Warranty Service)
3)replace backup of /system directory before update
and after update clean Dalvik Cache before flash Root again (if superuser privilegies still anavalable for you)
Understand the fix now. Noticed the update went through, but got an error when it finished. Flash ota update in temporary recovery. Correct?
Sent from my Nexus 7 using xda app-developers app
I just downloaded the OTA to the device, unrooted, installed the OTA in TWRP, and then the latest superSU zip (still in recovery). Reboot and voila.
datallboy said:
I'm know more about Nook Tablet than Nexus 7, didn't care what I did to my Nook because I could fix it. I'm more cautious with this.
Click to expand...
Click to collapse
This is a Nexus device. There's almost no way to hard-brick it. Worst case, reboot into bootloader, and fastboot push the stock images.
The fix worked, and I'm still rooted. with all data. Temporarily booted into TWRP, flashed the fix and forced OTA update. Thank you!
ripelli part
Don't fear the ota update. There were no negative effects on my rom or kernel.
-cleanROM1.3
- 3.4.0 ElementalX1.1+
sfreemanoh said:
This is a Nexus device. There's almost no way to hard-brick it. Worst case, reboot into bootloader, and fastboot push the stock images.
Click to expand...
Click to collapse
LOL if you flash STOCK and then bootloader - you will get bootloop hardbrick without FASTBOOT and ADB !!! (only APX)
(my nexus 7 1 gen in this situation)
------------------------------------------------------
why you try new customs rom, when in few weeks would be android 5.0 ?
sambistt said:
LOL if you flash STOCK and then bootloader - you will get bootloop hardbrick without FASTBOOT and ADB !!! (only APX)
(my nexus 7 1 gen in this situation)
------------------------------------------------------
why you try new customs rom, when in few weeks would be android 5.0 ?
Click to expand...
Click to collapse
I'm not sure what you're saying in reference to my earlier comment...are you saying something I said was incorrect?

[Q] HELP PLS! Error updating from 4.4 to 4.4.2

I have a rooted Nexus 7 2013 LTE with TWRP. When I tried to update from 4.4 to 4.4.2, it gave me an error saying there's unexpected contents in /system/bin/ping6
I've tried both auto updating directly from server and manually update from downloaded zip file. It gave me the same error msg.
Anyone knows how to fix it? Thanks!
Can you device still boot into Android/recovery/bootloader?
_______________________________________
Phone: HTC EVO 4G LTE
Sense 5, S-Off
Tablet: ASUS Nexus 7.2
Rooted, Custom Rom & Kernel
install stock 4.4 with full wipe.
after that the update works.
I tried it before without wiping and got errors like this.
Sent from my GT-N7000 using xda app-developers app
I had a similar problem updating mines to 4.4.2. as well. Same error but mines was unexpected contents in /system/bin/mm-venc-omx-test720p. Even a factory reset didn't work. I had to flash the 4.4 factory image then I was able to sideload 4.4.2. Luckily they have already uploaded the factory image for 4.4.2 so you could flash that and you should be good to go.
aarsyl said:
Can you device still boot into Android/recovery/bootloader?
_______________________________________
Phone: HTC EVO 4G LTE
Sense 5, S-Off
Tablet: ASUS Nexus 7.2
Rooted, Custom Rom & Kernel
Click to expand...
Click to collapse
Yes, it can still boot to bootloader and TWRP
ThaiDai said:
install stock 4.4 with full wipe.
after that the update works.
I tried it before without wiping and got errors like this.
Sent from my GT-N7000 using xda app-developers app
Click to expand...
Click to collapse
Thanks. I'll give it a try.
bolo808 said:
I had a similar problem updating mines to 4.4.2. as well. Same error but mines was unexpected contents in /system/bin/mm-venc-omx-test720p. Even a factory reset didn't work. I had to flash the 4.4 factory image then I was able to sideload 4.4.2. Luckily they have already uploaded the factory image for 4.4.2 so you could flash that and you should be good to go.
Click to expand...
Click to collapse
Can you give me a link to download the 4.4 factory image? Thanks!
Try flashing a stock/custom rom first, and do a factory reset. If that doesn't work, use a factory image.
Note: flashing the factory image will wipe your device. Buuuuut...if you don't have an operational device to begin with, what do you have to lose?
Here is the page with all of the factory images for Nexus devices.
https://developers.google.com/android/nexus/images
Here is the exact link if you feel really lazy, but I suggest that you still take a look at the rest.
https://dl.google.com/dl/android/aosp/razor-kot49h-factory-ebb4918e.tgz
aarsyl said:
Try flashing a stock/custom rom first, and do a factory reset. If that doesn't work, use a factory image.
Note: flashing the factory image will wipe your device. Buuuuut...if you don't have an operational device to begin with, what do you have to lose?
Here is the page with all of the factory images for Nexus devices.
https://developers.google.com/android/nexus/images
Here is the exact link if you feel really lazy, but I suggest that you still take a look at the rest.
https://dl.google.com/dl/android/aosp/razor-kot49h-factory-ebb4918e.tgz
Click to expand...
Click to collapse
thanks alot for the link! I might flash it back to 4.3.1 because some apps/function don't work well after I updated to 4.4. I suspect that they won't work well in 4.4.2 either.
steve_xyz said:
thanks alot for the link! I might flash it back to 4.3.1 because some apps/function don't work well after I updated to 4.4. I suspect that they won't work well in 4.4.2 either.
Click to expand...
Click to collapse
Compatibility is the problem. It's just a matter of time before the devs update their apps. I'm toughing it out on 4.4.2, while 4.3 is tempting at times. I do miss using Google Talk instead of Hangouts. The simpler interface is sooooo much faster. But not quite enough for me to jump an entire Android version.
aarsyl said:
Compatibility is the problem. It's just a matter of time before the devs update their apps. I'm toughing it out on 4.4.2, while 4.3 is tempting at times. I do miss using Google Talk instead of Hangouts. The simpler interface is sooooo much faster. But not quite enough for me to jump an entire Android version.
Click to expand...
Click to collapse
If I have to go thru flashing factory image in order to update to 4.4.2, then I'd rather go back to 4.3.1 and wait until all my favorite apps get updated first. Unless 4.4.2 is really that much better it's worth going thru the trouble.

To root the nexus 5x or to not root

Hey, I opened my new nexus 5x a couple days ago and it's been running great. However, I came from an htc one m7 that was rooted and had greenify auto hibernation thing. So, I sorta feel like rooting just for the greenify auto hibernation feature.
The reason why I don't feel like rooting this is because I spend too much time on upgrading (to new versions of a rom, and having to redownload everything over). Do you guys think it's worth rooting? How do you deal with updates of a rom?
If I root, I would just stick to one rom (the most stable one and wait for updates on that I guess, since updates to a rom don't require clean install of rom)
Like you I came from rooted M7 (running ARHD) . I did not even unlock the bootloader on my 5X.. and am quite satisfied.
Either way, you should unlock your bootloader. It is far easier to resolve any issues with your bootloader unlocked.
Sent from my Nexus 5X using Tapatalk
SlimSnoopOS said:
Either way, you should unlock your bootloader. It is far easier to resolve any issues with your bootloader unlocked.
Sent from my Nexus 5X using Tapatalk
Click to expand...
Click to collapse
Not to mention, unlocking requires a complete wipe... Might as well get that out of the way
Sent from my Nexus 5X using Tapatalk
so wait, unlock bootloader, as in I should root my phone?
Unlocking bootloader just unlocks it, it doesn't do anything other.
You can decide then if you want to root or not, but it would be wise to unlock it anyway if you ever change your mind because your phone is completely wiped when you unlock it, so it better be the first thing you do with your phone...
You can use the guide here to unlock it
https://developers.google.com/android/nexus/images?hl=en
If you do decide to root, to upgrade to a new version you just flash it manually without wiping your data, so you don't need to reinstall anything. And after that just re-root, and that's it...
As mentioned above as long as you stick with one rom you dont need to wipe internal storage with each update (usually data, system and cache) if that and reinstall su as current versions of superuser dont modify the the system partition.
Root gives more freedom with your phone easy backups with titanium and potentially better battery life or a rom more suited to your needs.
Sent from my Nexus 5X using Tapatalk
The_Automator said:
As mentioned above as long as you stick with one rom you dont need to wipe internal storage with each update (usually data, system and cache) if that and reinstall su as current versions of superuser dont modify the the system partition.
Root gives more freedom with your phone easy backups with titanium and potentially better battery life or a rom more suited to your needs.
Sent from my Nexus 5X using Tapatalk
Click to expand...
Click to collapse
Oh ok. I went to check out the Nexus 5x Android development thread and saw the stock rom of the new 6.0.1 update. But then, i saw someone on the comments asking if they had to flash the radios or something on post #5: http://forum.xda-developers.com/nexus-5x/development/rom-nexus-5x-stock-rom-t3267096
and the guy said, "Yeah, you need the bootloader, radio, vendor images. It's probably easier to just flash 6.0.1 from here https://developers.google.com/androi...mages#bullhead"
so everytime a new version comes out of stock, i need to flash the bootloader, radio, and vendor images?
What if I'm not on stock rom and on a custom rom, then everything will be included in the rom zip file i assume (i just flash the rom, and that's it)?
theBhav007 said:
Oh ok. I went to check out the Nexus 5x Android development thread and saw the stock rom of the new 6.0.1 update. But then, i saw someone on the comments asking if they had to flash the radios or something on post #5: http://forum.xda-developers.com/nexus-5x/development/rom-nexus-5x-stock-rom-t3267096
and the guy said, "Yeah, you need the bootloader, radio, vendor images. It's probably easier to just flash 6.0.1 from here https://developers.google.com/androi...mages#bullhead"
so everytime a new version comes out of stock, i need to flash the bootloader, radio, and vendor images?
What if I'm not on stock rom and on a custom rom, then everything will be included in the rom zip file i assume (i just flash the rom, and that's it)?
Click to expand...
Click to collapse
Custom roms usually dont include radio vendor or bootloader these are flashed from fastboot as opposed to recovery. Custom roms from what I understand mostly modify the system partition. Each thread for the roma tends to have great support. Im currently on uber rom
Sent from my Nexus 5X using Tapatalk
The_Automator said:
Custom roms usually dont include radio vendor or bootloader these are flashed from fastboot as opposed to recovery. Custom roms from what I understand mostly modify the system partition. Each thread for the roma tends to have great support. Im currently on uber rom
Sent from my Nexus 5X using Tapatalk
Click to expand...
Click to collapse
you can use Nexus root toolkit. all with one click, only what I don't like is the message that appears "we can't control if your device is corrupt".
Is there anybody who know how to prevent that message?
Rooting with this is a piece of cake.
I unroot my new nexus 5 because of the message.

[HELP!] Systemless Rooting on 6.0.1 Build MMB29P

Hi! So I'm looking to root my Nexus 5x following this guide. However, I can't find the modified boot.img for my build MMB29P. I have a brand new phone out of the box (my mic stopped working so this is a replacement) so I'd like to get this done in the next little while the phone has no data and I can wipe anything I need to without worry and use the restore afterwards. I also heard something about SuperSU being able to use stock boot.img or something of that nature, could someone clue me in? Thanks!
[GUIDE] Unlock/Root/Flash for Nexus 5X - Heisenberg's How-To Guide For Beginners
take a look at section 6
as an alternative there are some toolkits that may be more convenient to you (on-screen instructions and detailed faq/guides)
The latest version of SuperSU (v. 2.66 I believe) is automated for systems root. I actually used the SuperSU beta v. 2.62 to root. I just unlocked bootloader, flashed TWRP, and then flashed that version of SuperSU.
Sent from my Nexus 5X using Tapatalk
Sweet! Officially, unlocked, TWRP'd, rooted, and supersu'd So as far as upgrading? I grab the file from google officially and flash it via TWRP?
jkingaround said:
Sweet! Officially, unlocked, TWRP'd, rooted, and supersu'd So as far as upgrading? I grab the file from google officially and flash it via TWRP?
Click to expand...
Click to collapse
No, an official image cannot be flashed like that. If you fastboot flash an image you will lose recovery and root. Update officially with a factory image and root afterwards or flash a custom rom plus vendor.img.
https://www.androidfilehost.com/?w=files&flid=43558
k.s.deviate said:
No, an official image cannot be flashed like that. If you fastboot flash an image you will lose recovery and root. Update officially with a factory image and root afterwards or flash a custom rom plus vendor.img.
Click to expand...
Click to collapse
Even with systemless root?
When it comes to upgrading, there are a couple of routes you can take. Both involve downloading the official factory image ZIP first. Extract the contents, reboot into bootloader, and then you have option:
1. Edit the flash-all script (.bat for windows and .sh for Linux/Mac) by removing the -w option. Removing this option will prevent the upgrade from wiping user data. Once the option is removed, simply run the script to upgrade.
2. Flash the images individually. Sometimes certain things don't change like bootloader.img or radio.img. You should always flash boot.img, system.img, and vendor.img when updating. This is the route I take.
After flashing the images, you will need to reboot into Recovery mode and flash SuperSU. Then wipe cache and dalvik and reboot into system. If you use a custom kernel, you will need to reflash that as well after updating.
Sent from my Nexus 5X using Tapatalk
Ah makes sense. So I just need to reroot. Where do you get the "official" factory image? Have a link handy so I can bookmark it? Thanks!
Also anyway to remove the "warning" about unlocked bootloader that comes up on boot? I heard you need a custom kernel but I don't know the point of installing what (aka the benefits). Sorry for noob questions, but all the info is so scattered and hard to figure out.
jkingaround said:
Ah makes sense. So I just need to reroot. Where do you get the "official" factory image? Have a link handy so I can bookmark it? Thanks!
Also anyway to remove the "warning" about unlocked bootloader that comes up on boot? I heard you need a custom kernel but I don't know the point of installing what (aka the benefits). Sorry for noob questions, but all the info is so scattered and hard to figure out.
Click to expand...
Click to collapse
Google posts the official factory images on the developer site. Here is the link: https://developers.google.com/android/nexus/images
AFAIK the boot warning can't be removed, but I may be wrong. It's nothing to worry about though.
Having a custom kernel is not necessary, but there are benefits to using one. Custom kernels typically provide better battery life with same or improved performance. They can also make your device run cooler and use less memory. Custom kernels also allow for various tweaks such as change vibration intensty, screen DPI, headphone/speaker gain, etc. I personally use ElementalX with the Interactive Governor tweaks from the thread in the general forum, but I've read that Franco Kernel is very good as well and will probably try that out in the future.
Sent from my Nexus 5X using Tapatalk
jkingaround said:
Sweet! Officially, unlocked, TWRP'd, rooted, and supersu'd So as far as upgrading? I grab the file from google officially and flash it via TWRP?
Click to expand...
Click to collapse
Just pick a custom rom to try and follow OP instructions. Cataclysm seems to be a hit...

Some questions: decrypt, updating o.s. with root

Hi,
I've a Nexus 5X since few days. I've unlocked bootloader, installed TWRP and rooted.
1) Update
When there will be an update, what can I do?
OTA doesn't work, it is?
I must download the firmware and..? What do I flash (I don't want to lose user data).
Then.. Must I reroot my device or reflash TWRP?
2) Decrypt
Do you recommended to decrypt the Nexus 5X?
How can I do this with/without lose data?
Can I update the o.s. also if it is decrypted?
What? What are you trying to do?
#1=yup
#2=you will lose all your data!
Yes u can update
No noticeable speed difference, so its no point
#3= Google, please read! Simple google search will work wonders
hilla_killa said:
#1=yup
#2=you will lose all your data!
Yes u can update
No noticeable speed difference, so its no point
#3= Google, please read! Simple google search will work wonders
Click to expand...
Click to collapse
#1 and #3: how can update my OS without lose data? I don't find anything that can explain it.
#2 thanks.
Simone_ASR said:
#1 and #3: how can update my OS without lose data? I don't find anything that can explain it.
#2 thanks.
Click to expand...
Click to collapse
1) Read my guide (section 9) for your first question:
http://forum.xda-developers.com/showthread.php?t=3206930
If installing factory images, install your mods before boot. Also, you need to root or install a modified boot.img for stock 7.0 to keep TWRP installed each OTA.
2) Can't be done. You must format your phone aka wipe internal storage to remove encryption. Then install a modified boot.img or custom kernel to keep encryption removed from the phone. Installing the stock boot.img from any OTA will automatically encrypt when you start up. It's not worth the effort it this sounds confusing to you.
Sent from my Nexus 5X using Tapatalk

Categories

Resources