Installing Marshmallow on a rooted device running custom ROM (pa 4.6 beta 6) - Nexus 5 Q&A, Help & Troubleshooting

I had a lot of issues with lollipop 5.1.1 in my nexus. All Google apps connected to internet only via WiFi and it wouldn't connect through the mobile data connection.
And then there was the battery life problem. So I switched to PA 4.6 beta based on kitkat. I would now like to try Marshmallow.
My question is, will downloading the factory image and flashing it through clockwork mod work? Or should I revert back to 5.1.1 nandroid backup I made earlier and wait for OTA? I can see some post about a feature called verity and the complications it brings to rooted users in 6.0. Does this affect the process of flashing a stock factory image on a rooted phone?

Karthick_M said:
I had a lot of issues with lollipop 5.1.1 in my nexus. All Google apps connected to internet only via WiFi and it wouldn't connect through the mobile data connection.
And then there was the battery life problem. So I switched to PA 4.6 beta based on kitkat. I would now like to try Marshmallow.
My question is, will downloading the factory image and flashing it through clockwork mod work? Or should I revert back to 5.1.1 nandroid backup I made earlier and wait for OTA? I can see some post about a feature called verity and the complications it brings to rooted users in 6.0. Does this affect the process of flashing a stock factory image on a rooted phone?
Click to expand...
Click to collapse
You can safely flash the Marshmallow factory images. Verity is a security feature which makes root more complex and you can still have root:
1. modded stock kernel provided by Chainfire then flash SuperSU v2.50+
2. flash a custom kernel like HellsCore, Blu_spark, ElementalX then flash SuperSU v2.50+

Related

[Q] Going from 4.4.4 to 5.0.2 (already rooted)

I have a Nexus 5 with Dirty Unicorns 4.4.4 and TWRP installed. I want to update to Dirty Unicorns 5.0.2.
I've heard that radio flashes or something need to be done and i've never done that so i'm assuming I can't just backup/wipe/installDU5.0.2.
What would be the best way to go about this? Do I need to flash some extra stuff along the way or do I need to return to stock, OTA update to 5.0.1 and then TWRP/wipe/flashDU5.0.2?
Ok, looks like DU moved to 5.1, same scenario though.
- returning to factory images to take an OTA is pointless (you could just flash the new factory images)
- returning to factory images to take an OTA to then flash a custom ROM is pointless (you could just flash the custom ROM)
Just your desired custom ROM and flash it in recovery. Best to wipe data.
Radio versions are optional. You can use any radio version with any version of Android (at least on the Nexus 5). They are in .img form and flashed using fastboot while booted into the bootloader.

[Q] OTA Updates to Stock ROM w/ Non-Stock Kernel and Recovery

Hey everyone,
So for the past couple of days I've been getting the notification that 5.1.1 has been downloaded and is ready to install, but I'm running a rooted stock ROM with CWM and ElementalX kernel, so I wasn't sure what would happen if I accepted the update. So my question to you all is just that; what will happen if I OTA update? I would imagine I'll lose root access and have to re-root, but would the OTA also flash a stock kernel and get rid of CWM? Or will the update create a load of problems since I'm not completely stock?
Thanks in advance for your help.
The OTA update will fail.
As of Lollipop, you have to have everything completely stock (including the recovery) to take an OTA update. You're better off just flashing another pre-rooted ROM or custom ROM which has been updated to 5.1.1.
Elluel said:
The OTA update will fail.
As of Lollipop, you have to have everything completely stock (including the recovery) to take an OTA update. You're better off just flashing another pre-rooted ROM or custom ROM which has been updated to 5.1.1.
Click to expand...
Click to collapse
Thanks for the help!

Just got a Note Edge... few quick questions...

Hi All,
I didn't want to update to the Note 5 so i got the Edge instead as it supported the SD card, anyway a few quick questions...
1) It came preloaded with stock apps and KitKat SO should i upgrade to Lollipop 5.1.1 ?
2) Doing a Nandroid of KitKat will ensure I can revert to this even after the Lollipop upgrade?
3) Any way to root or install a custom recovery withou tripping knox?
4) Any way of installing Xpossed on 5.1.1
5) Best ROM that supports tons of modifications?
Anyone?
bump...
...
I'll try and answer this the best I can:
1) It came preloaded with stock apps and KitKat SO should i upgrade to Lollipop 5.1.1 ?
-Depends on your preference, I like the new 5.1.1 a lot.
2) Doing a Nandroid of KitKat will ensure I can revert to this even after the Lollipop upgrade?
-Not sure about this one but I think you can't go back after upgrading to 5.1.1
3) Any way to root or install a custom recovery withou tripping knox?
-No
4) Any way of installing Xpossed on 5.1.1
-Don't think there is root for 5.1.1 yet.. (Don't know for sure, don't need root on this phone)
5) Best ROM that supports tons of modifications?
-As said above, I didn't root it, kept it stock. Look around in the development forum, there aren't many...
Thanks for your reply, now to find out the rest...
In order to get root just flash twrp recovery with auto reboot ticked off. Then flash boot.img from Micky's 5.1.1 ROM within twrp recovery. Just press images button in twrp and the boot option after that in order to be able to flash image files. Then flash beta super su 2.49.
If you run into problems with WiFi not remembered after reboot or security issues there are solutions for that.
Sendt fra min SM-N915FY
2) Doing a Nandroid of KitKat will ensure I can revert to this even after the Lollipop upgrade?
4) Any way of installing Xpossed on 5.1.1*
5) Best ROM that supports tons of modifications?
GODSPD said:
2) Doing a Nandroid of KitKat will ensure I can revert to this even after the Lollipop upgrade?
4) Any way of installing Xpossed on 5.1.1*
5) Best ROM that supports tons of modifications?
Click to expand...
Click to collapse
As long as you root on kitkat and have a Nandroid you should be able to go back as long as you don't upgrade the bootloader. Samsung doesn't allow the downgrade of bootloader anymore. Now with 5.0 and up and I don't know if you have to flash the bootloader. You'd be better off to look in the device specific thread for your variant and read if you have to upgrade the bootloader or anything to go from kitkat to lollipop. Exposed is already working on 5.1.1. And for what rom to use depends on the variant you have.
For SM-N915G i was able to rollback to kitkat coming from 5.0, and im so glad i did it.Battery life improved so much and its smoother than lollipop.This is the first time i downgraded after having a couple of samsung devices.Thats how bad the battery life i had on my edge.Il probably be staying for awhile on KitKat
Sent from my Nexus 7 using Tapatalk
As of today the phone upgraded by itself to 5.0.1... When i cancelled the update it rebooted into recovery and now its too late to go back to kit kat as i didn't do a nandroid yet...
Anyway im not fussed, you mentioned that xposed is now available on 5.1. 1 ?please let me know which files to download to get it working... And hopefully a link?

Is there a way to revert custom ROM to stock and keep the phone rooted?

Also, how can I tell what were the previous versions of Android that my phone had (STOCK)?
For example: there were several 5.1.1 versions or 5.0. versions - how do I know which one do I need?
Thanks.
The easiest way to have a routed rom would be to flash a stock rom from Google, flash twrp, and flash supersu from twrp.
audit13 said:
The easiest way to have a routed rom would be to flash a stock rom from Google, flash twrp, and flash supersu from twrp.
Click to expand...
Click to collapse
Sorry if I didn't explain myself - my phone is rooted and I have a custom ROM. What I want to do is to go back to stock ROM but keep it rooted.
Thanks.
Flash a stock rom, then just root the stock rom. There is no other way unless you flash a stock pre-rooted rom.
audit13 said:
Flash a stock rom, then just root the stock rom. There is no other way unless you flash a stock pre-rooted rom.
Click to expand...
Click to collapse
So you can't keep it rooted while flashing stock?
And how do you know which versions are for your phone (if I don't want to go back to the latest Marshmallow for example)?
You can only keep root when flashing stock if you find a prerooted stock image.
Google search for nexus factory images.
audit13 said:
You can only keep root when flashing stock if you find a prerooted stock image.
Google search for nexus factory images.
Click to expand...
Click to collapse
Yes, I know that I need to Google for factory image, but there are several images with the same release. For example, there are three 5.1.1. (LMY48B, LMY48I and LMY48M). Same with 6.0.0. and 4 X 6.0.1 version. How do you know which one is for my device?
Thanks.
Any stock image for hammerhead will work on a hammerhead device. The reason it will delete root is you will have to flash system, and unless the system image you flash is prerooted, no more root.
wangdaning said:
Any stock image for hammerhead will work on a hammerhead device. The reason it will delete root is you will have to flash system, and unless the system image you flash is prerooted, no more root.
Click to expand...
Click to collapse
Thanks!
Just trying to understand that difference between the different versions, or are these simply system updates, from XXX29K to XXX29S for example?
Changes in the android version 5.0->5.1->6.0 are fairly large system updates. Within 5.1.1 they are security patches.
If you have a rooted phone and talk about flashing, you should know this. Else you are a menace to your phone...
Root is a system modification - if you delete or reinstall the System partition, you'll lose root. But re-root is easy.
I recommend to read tutorials and get some knowledge before trying to root, flash or before asking those questions, where Senior xda-members just shake their heads.
The simple way to do what you seem to want is to back up all your important stuff (photos, etc.), install MMB29V (the latest March 1st 6.0.1 security version), install TWRP 3.0.0.0, and from TWRP flash SuperSU v2.70. It will take slightly longer than it's taken me to type this, but not much...
After that, when a new monthly security version comes out, flash system.img, boot.img & radio.img, and repeat the TWRP & SuperSU steps. No data loss.

XT1562 upgrade to Marshmallow without losing data

Hello,
I have the Xt1562 Indian version running 5.1.1 - which I have rooted and also have TWRP as recovery.
The OTA upgrade gets downloaded but fails. I then reverted to stock recovery but still the OTA upgrade fails.
How can I upgrade to Marshmallow on this without losing my data or apps or contacts?
Thanks,
Padam
Ota fails since you're rooted. You can try TWRP flashable MM rom and dirty flash it without wiping /data
Ota is possible only if you are in stock firmware and stock recovery. Fast boot flash stock firmware and get ota or directly flash updated firmware. Githup has all stock firmware files.
Never use stock update via TWRP , you may brick your device.
During giving fast boot commands , skip fast boot erase user data will not wipe data , but while doing this I have some FC s. Otherwise backup all your files , apps data and flash firmware.

Categories

Resources