Where is the recommended method for rooting Android M Preview 3? - Nexus 5 Q&A, Help & Troubleshooting

I'm hoping to root my stock Android M Preview 3 install that I have. I see multiple threads and how to guides but all the download links for custom kernels to accomplish this are down. Does anyone have an up-to-date link for this process?
Thanks!
EDIT: Planning to go with this kernel. http://forum.xda-developers.com/google-nexus-5/orig-development/kernel-elementalx-n5-0-44-t2519607
I'll post back with more details if it works out.

Turns out you have to flash a kernel first then flash the SuperSU package. I found this using Google
http://www.ibtimes.co.uk/how-root-n...id-m-build-mpa44g-developer-preview-3-1515927

One would hope but that ended up in a boot loop for me which led me to discover that we need a custom kernel on the system before flashing the SuperSU package.

I used wugfresh tool kit, no problems.

I'm using that too but when you use it to flash SuperSU, you get boot loops on Preview 3 because you need a custom kernel. Otherwise, yes it works wonders for rooting any other rom.

In fastboot, I installed stock kernel, and just after, less reboot, I installed elementalX and after supersu and it's good for me.
If you don't install elementalX and reboot just after stock kernel, it doesn't work.

This is what worked for me.

Related

[Q] Having problems with recovery (LS980)

So I finally decided I wanted to flash custom roms on my new phone (Sprint LG G2). I did some research on the pros and cons and the risks and thought I was smart enough with tech that I could figure it out. I was able to root no problem, it was really easy to just follow the top root thread step by step. Now I'm trying to install a recovery method to backup my stock rom and flash new roms and I'm finding it really difficult. I'm following this guide http://forum.xda-developers.com/showthread.php?t=2522965
I chose this one because it is up towards the top of the forum. I installed flashify and set the recovery image to the latest version of twrp (2.6.3.3) like OP suggested. I then backed up the stock recovery and the restore kernel in flashify. I rebooted recovery and there is an error. I read through the post and someone suggested using the previous twrp recovery image (2.6.3.2). Now it works, I immediately backed up the stock rom (with root). Now I'm worried about flashing a ROM when it says to use the most up to date twrp (which I don't have and I'm not sure how to update it now). Also I'm incredibly frustrated because I've reached my flash limit in Flashify because I was switching between different versions of twrp. I'm also worn out reading through posts to figure out how to get my recovery working and up to date. It's taken me like 3 hours now to get where I am. Can I install custom ROMs on an out dated version of twrp? Are there additional risks? Any information or resources on the recovery would be much appreciated.

[Q] Custom ROMs won't boot

Hey guys, I've seen this issue before yet I've tried everything in a few threads now but have no idea what is happening,I have tried using search function yet no solution has fixed my problem.
Problem:
When installing custom ROMs the installation goes fine. I put the ROM on the sdcard, follow instructions for flashing e.g wipe data/cache etc and then flash GAPPS. However I get stuck on the boot logo of every ROM. I've tried both TWRP and CWM recoveries, both with no luck. Also tried not flashing GAPPS and just trying to flash the ROM to no avail.
Current state of phone:
The phone is currently running stock firmware via downloading factory image and flashing in boot-loader : stock boot, recovery, system image etc
The phone works fine when rooted on stock firmware. E.g no custom rom yet rooted.
Could really do with some help guys, any ideas?
muqy said:
Hey guys, I've seen this issue before yet I've tried everything in a few threads now but have no idea what is happening,I have tried using search function yet no solution has fixed my problem.
Problem:
When installing custom ROMs the installation goes fine. I put the ROM on the sdcard, follow instructions for flashing e.g wipe data/cache etc and then flash GAPPS. However I get stuck on the boot logo of every ROM. I've tried both TWRP and CWM recoveries, both with no luck. Also tried not flashing GAPPS and just trying to flash the ROM to no avail.
Current state of phone:
The phone is currently running stock firmware via downloading factory image and flashing in boot-loader : stock boot, recovery, system image etc
The phone works fine when rooted on stock firmware. E.g no custom rom yet rooted.
Could really do with some help guys, any ideas?
Click to expand...
Click to collapse
same problem simple solution another user informed me of.
simply donwgrade to 4.3 JB stock rom through fastboot. Then you are able to flash a custm rom from the 4.3 stock rom.
Its crazy i have to do this but it worked for me, now im running the xperience rom which is a rom based on 4.4.2 kk.
the 4.3 android stock firmwares are linked somewhere in the FAQ's as well as the guide to ffastboot lash it.
peace.
chairsz said:
same problem simple solution another user informed me of.
simply donwgrade to 4.3 JB stock rom through fastboot. Then you are able to flash a custm rom from the 4.3 stock rom.
Its crazy i have to do this but it worked for me, now im running the xperience rom which is a rom based on 4.4.2 kk.
the 4.3 android stock firmwares are linked somewhere in the FAQ's as well as the guide to ffastboot lash it.
peace.
Click to expand...
Click to collapse
Hey man, worked a charm thanks!
For users who may have the same problem:
After flashing 4.3 onto the device it did NOT boot.
- However I then went into the bootloader flashed custom recovery, I used cwm.
- Then I went into recovery, used adb to push the rom and gapps onto sdcard
- Full wipe and then installed rom. Then installed gapps
Working fine.
Cheers chairsz :good::good:

I'm trying to avoid another brick PLEASE HELP

Howdy y'all. I bricked my old G2 D800, I don't want a repeat with the new one. I tried doing all the research I could. I have a new D800, 10d, 4.4.2. I want CM11, tried reading the threads on that and custom recovery. I just need a little help to make sure I have the order of operations down pat before I crash another. I've rooted and flashed ROMs before, but not with th locked boot loader and security AT&T has.
Please just correct me if I'm wrong. Through the threads I have read I believe this is what I am to do.
1.) Flash my 4.4.2 back to 4.2.2 using LG FT
2.) Root using IO23
3.) Download Flashify & install TWRP 2.7.7 with Loki
4.) Follow steps to install CM 10.2
5.) Follow steps to install CM 11
Of course make backup once 4.2.2 plus root and TWRP is achieved before trying CM. I just want CM like I've had on previous phones. Thanks in advance.
All is good back to being ROM junkie. Anyone who does read and wishes to flash custom roms and get custom recovery on KK. Obtain root via IOroot25, then use AutoRec Recovery Installer for TWRP recovery.

need advice with flashing rom

Hey, so I installed newest oxygenOS 2.1.4 for oneplus one which cames with its own recovery...I want to go back to cm12.1, don't have backup so I want clean and fresh installation. Now I am not sure what is the best method to do it without problems or bricking my phone, alot of people are bricking their phones when reverting back to cm12.1.
I want to know few things and can't find it on web, can I flash TWRP recovery without problems? Saw posts where people get into bootloops when doing this. Should I download fastboot zips and install it via adb or flashable zips and install it with recovery. If I choose flashable zip than I need to download kernel and modem also right? Or if I choose fastboot zips and don't install TWRP, would there be any problems because right now I see oneplus logo when I am in fastboot so I assume its their version and people said its buggy and flashing ROM with it is like playing russian roulette.
This is so confusing to me and I can't find those answers in flashing guides.
I used this guide http://forum.xda-developers.com/oneplus-one/general/guide-return-opo-to-100-stock-t2826541 to go back to 12.1 than installed custom ROM

Need help going to custom kernel

So I'm running stock kernel with the latest version of blissROM and Magisk installed with a few modules but I want to get DriveDroid working. To do that I need a custom kernel that allows the OP7P to act as a USB flash drive then the computer can boot from the phone.
Just for fun I tried to flash a kernel awhile back through ExKernelManager and all it did was brick the phone. Once I got it back and running I tried again, through TWRP and the same thing happened.
I prefer to flash the kernel through TWRP but I'd like someone to tell me what steps I should go through to make this work. Any help would be appreciated!!!

Categories

Resources