yashsingh1/xdaforums huggingface dataset:
[Nexus 5 General] hexen88:
can't install recovery... it says installed, but every time im trying to boot into recovery - it shows me an broken android robot with some red sign over it...

halp? just installed android L
[Nexus 5 General] jd1639:
That's the stock recovery. Just hit vol up when you get the android
[Nexus 5 General] hexen88:
okay but I flashed TWRP twice, and still got stock recovery? ;(
[Nexus 5 General] jd1639:
How are you flashing twrp. Use

fastboot flash recovery recovery.img

Where recovery.img is the right path and name of the twrp image file
[Nexus 5 General] hexen88:
done it as u said twice, and also once using nexus root toolkit - none works
[Nexus 5 General] jd1639:
Do you get any errors when you flash? Your bootloader is unlocked, right
[Nexus 5 General] hexen88:
no errors, yes its unlocked

###### EDIT

finally worked, thank you
[Nexus 5 General] jd1639:
Don't know if you want to do this, but what happens if you lock the bootloader, fastboot oem lock. Does it stay locked after a reboot? Or is it still unlocked. I'm thinking your emmc is fried. Also when you boot into the bootloader what does the variant say, it should be something like D821(E). Looking for what is in the ()
[Nexus 5 General] goutham_krishna:
Did u try formatting the cache through fastboot as provided in OP?
[Nexus 5 General] Moony22:
Lucky Patcher issue...

Is there a way to get lucky patcher to work? For me it results in the same issue as lots of people are having - it suddenly reboots when granting root access and goes through the "optimising apps" process.

Since it's the same issue for lots of apps, surely there must be only one fix to get this working? I'm not sure - has anyone else managed to fix any of these "broken" apps.
[Nexus 5 General] a1exus:
Can I flash this somehow without flashing TWRP recovery, using stock recovery?
[Nexus 5 General] jd1639:
You can't flash it in stock recovery. But if your bootloader is unlocked you can boot into twrp, don't need to install it, in fastboot then flash it
[Nexus 5 General] a1exus:
How would I boot into TWRP?
[Nexus 5 General] jd1639:
fastboot boot twrp.img. where twrp.img is the full names of the image file
[Nexus 5 General] a1exus:
OK, where do I get twrp.img file for my nexus 7 2013(WiFi)?
[Nexus 5 General] jd1639:
Google nexus 7 twrp image file
[Nexus 5 General] a1exus:
I was at their site and I guess didn't search right. I just found it! Thanks!
[Nexus 5 General] SteeLx:
thanks works flawlessly :)
[Nexus 5 General] a1exus:
Worked fine for me too) titanium backup is not seeing it though(
[Nexus 5 General] vsod99:
Like others have stated before, this root seems to me to be mostly non-functional. Root checker and Root explorer work but Adblock Plus, Screen Recorders, Titanium Backup, ES3 root features, and other root apps do not work as expected.
[Nexus 5 General] jd1639:
It's because you don't have the right version of the app for L or there isn't a compatible app version. It's not root
[Nexus 5 General] vsod99:
In other words saying nearly all root applications are not compatible with L.
[Nexus 5 General] Vnldwth:
Error when flashing recovery???

When i flash recovery i am getting it to send the .img to mah nexus, but then i get a “FAILED (remote: size too large)” error. i installed L a while back, and it worked perfactly. any ideas on what to do?

I have a nexus 7
[Nexus 5 General] Ben36:
Latest version - http://download.chainfire.eu/567/SuperSU/UPDATE-SuperSU-v2.13.zip
[Nexus 5 General] :
HI all!

Tried this method but after reboot my phone goes crazy! Just the Back soft key was visible, and the screen was black. Anybody tested the latest 2.13 update from Chainfire?
[Nexus 5 General] Ben36:
Yup. Using it right now
[Nexus 5 General] garynych:
no work on new [LPX13D] is there a way to get root on new L?
[Nexus 5 General] jd1639:
Did you try the latest super su, 2.13?
[Nexus 5 General] treymok:
Tried using SuperSU 2.13... Application says binary not installed and that it cannot install it.
[Nexus 5 General] Bubble-be:
http://xdaforums.com/showpost.php?p=56090441&postcount=6881
[Nexus 5 General] slayer of worlds:
Just wait
[Nexus 5 General] synnvkz:
Nice!Still waiting:)
[Nexus 5 General] AndrasLOHF:
SuperSU 2.14 ABSOLUTELY does work on today's preview. However....you will need to extract and fastboot flash this boot image first: http://xdaforums.com/showpost.php?p=56096429&postcount=2889.

I am rooted and have SuperSU, Busybox, AdAway and Viper4Android working jut fine on today's preview.

This post explains the issue with previous root methods.

Originally Posted by sykopompos

I'll explain for those who are curious why SuperSU is not working without using the permissive boot image.

I've been keeping up with the new selinux changes going into aosp so I was already out ahead of them when the new preview came out.

Notable changes are su is now in it's own domain (this is gonna mess up SuperSU)

There is a new never allow rule that only let's the recovery write to the system partition and not allowed from anywhere else (breaks root as we know it) so I removed that never allow rule in the sepolicy so root works as it used to

Sent from my LG-D851
[Nexus 5 General] incrjaysen:
Same Issue here too.

I flashed the file mentioned in #1 via TWRP, but root seems not to kick in. Dont get it.

Edit: Looking to the post above mine gives me a good path. Going to find out if its working.

Edit2: Tried the idea in #248

Applied the boot.img before fastbooting with twrp. Dont know if this is a step too late. Tried 2 times. Gave up.

Went to the idea in #250

Work perfect. Thanks mate.

Edit3: Despite the fact that root seems to work, so busybox and stuff either - titanium doesnt. It has some pain I might not be able to resolve aswell. It says it cant get Root access, even if I am granting it via SuperSU. Waiting for Chainfire to just create a working SU isnt a bad idea I guess.
[Nexus 5 General] bryanlimy:
http://xdaforums.com/showpost.php?p=56096780&postcount=2902

I have root right now using this one, is working for the new L build
[Nexus 5 General] sykopompos:
Wow. I'm everywhere O.O

Sent from my LG-D851
[Nexus 5 General] Infinite104:
I understand your problem. We had the same issues with LP79. It isnt neccessarily Chainfires SuperSU but more the apps needing an update to get root access. I checked this with comparing ES explorer, that doesnt get root access (like on first preview) and root browser (that works like a charm. I successfully changed build.prop with it). So we have to wait for a Titanium update.
[Nexus 5 General] Rehab4Life:
I flashed the img listed above, http://xdaforums.com/showpost.php?p=56096780&postcount=2902 but still didn't get root rights. Can someone explain in a better way please
[Nexus 5 General] akce2001:
I flashed http://xdaforums.com/showpost.php?p=56096780&postcount=2902 then SuperSU 2.14 and then Latest TB beta5 and TB works fine. Thanks
[Nexus 5 General] nithin1992:
Where can i find TB beta 5?
[Nexus 5 General] lysm bre:
I'm a member with less than 10 posts, so I can't post the link to the tweet that has the download link, but just search this up on Google to find the tweet:

Titanium Backup

‏@TitaniumBackup

#TitaniumBackup 6.2.0-test5 (for Android L) is up, fixes problem when creating update.zip. Check it out! Download:
[Nexus 5 General] Wakamatsu:
https://twitter.com/TitaniumBackup/status/488627763734380544
[Nexus 5 General] nithin1992:
Yes i did find and install it, but im unable to restore anything at all. Always get an error "There is a problem parsing the package"

EDIT:Installing my Pro Key seems to fix it
[Nexus 5 General] and313:
You could also make an update.zip and boot into cwm and flash it no need for root. Thats how i did it and it worked
[Nexus 5 General] incrjaysen:
there is a titanium update out already to match the new preview requirements. works perfect with it
[Nexus 5 General] the Doctor:
Chainfire has posted a modified kernel for rooting.

Quick SuperSU fix for Nexus5/7 on LPX13D

Edit:

I couldn't get it to flash with CWM recovery, and Chainfire recommends TWRP. So, if you are a CWM guy, just extract the boot.img from the zip file and flash it with fastboot.
[Nexus 5 General] gotoman00:
i got root installed by flashing the modified boot img > flashing su > flashing radio, but neither apps ARLiberator and AppRadio Unchained are getting full root permissions. virtual device permissions set as unreadable, unwritable.
[Nexus 5 General] jd1639:
It's an app issue. They're aren't updated to 5.0 yet
[Nexus 5 General] joenathane:
It works with this kernel https://www.androidfilehost.com/?fid=95747613655047203 <- with SELINUX set to permissive

This was a big issue for me, I use my AppRadio daily, but wanted to upgrade too. Hopefully ARLiberator and AppRadio Unchained are updated to work with SELINUX enforcing, but for now this should do.

Now I wait for Xposed.
[Nexus 5 General] stokholm:
It isn't flashable with any recovery. It's just the boot image packed in a zip. You need to go the fastboot way.
[Nexus 5 General] markdj57:
Nexus 5

v5.0 preview

Is it possible to get the sdcard mounted when you have an encrypted device?

I got the boot and recovery installed so TWRO is working but it asks for a password on starting and I can't access sdcard

My last step to flash the update SuperSU, I can't do it. Any idea?

Thanks
[Nexus 5 General] Tagtag123:
Did fastboot flasg boot boot.img with this img and lost the ability to copy files from pc to phoned via USB, was trying apks. It said that phone got disconnected or something.

Back to the other boot.img and everything is good.

Can be an issue with it not being really pure, as I did this over -> latest preview+other boot.img
[Nexus 5 General] gotoman00:
thanks a billion for that one, working now!
[Nexus 5 General] Belgadon:
So I flashed the new Version of L (lpx13d) via fastbbot. The I flashed the new chainfire kernel (Quick SuperSU fix for Nexus5/7 on LPX13D) and then I flashed TWRP, both via fastboot. Thereafter I flashed superSU (UPDATE-SuperSU-v2.14.zip) via TWRP.

I still have no root. The SuperSU App says there is no SU-Files installed.

Did i something wrong? What did you guys do to get root?
[Nexus 5 General] nithin1992:
I've had issues with that kernel too. Just flash this kernel,then superSU and everything will work fine.

https://www.androidfilehost.com/?fid=95747613655047203
[Nexus 5 General] Belgadon:
Awesome. Thank you. Flashed that kernel and it worked like a charm. Finaly I can change my density. ;)

Edit: But everytime I reebot, I lose root privilages. :( I have to flash everthing again.
[Nexus 5 General] nithin1992:
Uh your doing something wrong. Get the boot.img from that kernel zip and flash it via fastboot. Use fastboot flash boot boot.img

Once your done, boot into recovery and flash SuperSU, this should work
[Nexus 5 General] peach007:
i flashed the boot image file from the kernel. still says no root in SuperSU. also, i am unable to flash a custom recovery. could you over some insight? i been trying to install CWM for almost 2 hours already through terminal. will TWRP do the trick? i prefer cwm, if it doesnt matter but i will use whatever works at this time. thanks in advance.
[Nexus 5 General] swat4samp:
Flash TWRP using fastboot, then you can flash kernel and root from recovery itself. I don't know about CWM, but TWRP works for everyone who tried.
[Nexus 5 General] peach007:
ok so i tried it that way and it worked. thank you very much! not sure why chainfire's fix wouldnt work for me either.
[Nexus 5 General] swat4samp:
Chainfire said that his modified kernel doesn't change whole system to permissive while other kernel does. Don't know how that affects root though.
[Nexus 5 General] blackuse:
i was able to get root privilege, flashed the kernel and su but the apps(titanium,xposed,es file explorer) wont work. is there any one who got this working?
[Nexus 5 General] Primokorn:
Titanium: check Twitter to download the latest beta version (L compatible)

Xposed: not compatible with ART / L

ES: need to flash PIE patch. Have a look at vomer's thread.
[Nexus 5 General] curtdragon:
So here is what I had to do to get rooted with the latest Android L.

This assumes your bootloader is unlocked. If not Unlock bootloader. Remember this erases anything on the internal memory so if you haven't unlocked then you will need to move those files back onto the phone.

If you haven't unlocked run:

fastboot oem unlock

Download SU from Chainfire:

BETA: http://xdaforums.com/apps/supersu/2014-09-02-supersu-v2-05-t2868133

STABLE: http://xdaforums.com/showthread.php?t=1538053

Download Chainfire's L kernel here: http://download.chainfire.eu/580/SuperSU/nexus5-hammerhead-lpx13d-kernel.zip

Download latest TWRP recovery: http://techerrata.com/browse/twrp2/hammerhead

Extract both files rename them boot.img and recovery.img respectively and put them in the same location you are going to run ADB from

Put the SU zip file somewhere on the device

I have my ADb set so I can run it from anywhere on my computer so I run the following command to boot into fastboot:

adb reboot bootloader

Once in bootloader

Run these commands to load the recovery and kernel:

fastboot format cache

fastboot flash recovery recovery.img

fastboot flash boot boot.img

Boot into recovery

Flash the SuperSU file you downloaded

Reboot

You now have root access.
[Nexus 5 General] bigsinger:
用尽一切办法无法root安卓5.0

Nothing works when i tried to root the latest 5.0 .Need help
[Nexus 5 General] jelle2503:
You need help in providing people with info other than "i tried".

Besides this thread is not a support thread for noobs.

Verstuurd vanaf mijn Nexus 5 met Tapatalk 4
[Nexus 5 General] jd1639:
See the post right above your post. That is the procedure you need to follow.
[Nexus 5 General] bigsinger:
thanks!

many thanks!
[Nexus 5 General] langhaardack:
got it working, dont use an outdated supersu.zip ^^
[Nexus 5 General] zer0se7en:
How do we do this using Mac? My PC is broken. I badly need to root. ;(
[Nexus 5 General] fuhayer:
is there a way to root without custom recovery ?
[Nexus 5 General] elsuzio:
Yes and no... you need a custom recovery to install root but it doesn't need to replace your current recovery.

Download TWRP, go to fastboot and instead of "fastboot flash <recovery.img>" to flash TWRP, you need to use "fastboot boot <recovery.img>". Your phone will then boot into that recovery, but preserving your original recovery. So, after you reboot again it will have the original recovery.

Hope it helps.
[Nexus 5 General] xrad:
Afaik this is what "boot temporary recovery" in the nexus root toolkit does, right? I did that in the past successfully with my N10. But when I tried it with a new N5, it wouldn't work but kept stuck in the stock recovery. I had to unlock the stock bootloader before it worked.
[Nexus 5 General] curtdragon:
Before you do any rooting or flashing you should have the bootloader unlocked
[Nexus 5 General] xrad:
Apparently. I was just hoping that one could root an N5 without unlocking like it's possible with the N10.
[Nexus 5 General] fuhayer:
i did but still no root access:

i downloaded TWRP and changed into recovery.img

fastboot boot recovery.img (nexus opened TWRP recovery screen)

i have chosen install and selected supers.2.01.zip

later on i tapped reboot

it is opened with installed superssu but no root access.

any mistake ?
[Nexus 5 General] jd1639:
Yeah, first you need supersu 2.14. You also need chainfires boot image. See a couple of pages back in this thread. A guy wrote up the procedure with links.
[Nexus 5 General] basmith7:
Did you ever get this worked out?
[Nexus 5 General] jpcdeux:
This method doesn't work. Followed to the letter. Several times. Doesn't work.
[Nexus 5 General] Ben36:
No this doesn't work for the latest 5.0 release... This is an old thread that people keep bringing up

Sent from my Android 5.0 Nexus 5
[Nexus 5 General] jd1639:
Actually, if you read a little, maybe two posts above yours you'll see that there is a method posted in this thread that works
[Nexus 5 General] Ben36:
Flash sykopompos boot.img in his n5 port thread.

Flash supersu 2.17

Done

Sent from my Android 5.0 Nexus 5
[Nexus 5 General] rednit:
how do i root the new final release ?
[Nexus 5 General] djlars:
http://download.chainfire.eu/363/CF-Root/CF-Auto-Root/CF-Auto-Root-hammerhead-hammerhead-nexus5.zip
[Nexus 5 General] tylerdurden83:
What am I supposed to do with this zip? Sorry for the noob question...
[Nexus 5 General] Liffeyman:
Tried flashing twrp but it failed.

Any ideas? Do i need a custom kernal or something?
[Nexus 5 General] adolfo778:
lol open the zip its a tool you run on your computers os
[Nexus 5 General] Liffeyman:
Well then lol, thanks for the heads up!
[Nexus 5 General] yahoowizard:
Will this wipe my device?
[Nexus 5 General] jd1639:
No, unless your bootloader is not unlocked
[Nexus 5 General] Liffeyman:
Just ran it and it didn't wipe mine
[Nexus 5 General] Meowdib:
http://cfautoroot.com/
[Nexus 5 General] DrearierJester1:
Are you using the new LRX21O?
[Nexus 5 General] MidtownHD:
if you use fastboot, just unzip it and boot the img file.
[Nexus 5 General] Liffeyman:
Yep, working fine. just installed titanium backup. Everything looks good so far
[Nexus 5 General] jnsson:
What do I do when I have booted the img file? And will I be able to to do a OTA the next time Google releases an update or not because of this img file? Sorry for asking but I have not done this before :)
[Nexus 5 General] MidtownHD:
It's just automatically rooting the phone for you. Have you ever rooted your Nexus 5 before?
[Nexus 5 General] Sonic Offline:
Titanium Backup refused to work for me. It kept saying it did not have root access.
[Nexus 5 General] jd1639:
You need the beta for android l
[Nexus 5 General] beezza:
cant root with super su

Im not a newb, but no expert. Manually updated my nexus to LRX210 and was able to add TWRP recovery. Tried to install SuperSU_2.01.zip with TWRP, rebooted, and when i open SuperSU it says it is not rooted.

any ideas?
[Nexus 5 General] Mikulec:
just extract this on your PC, boot to bootloader and run the tool, it will do the rroting for you: http://xdaforums.com/showpost.php?p=56700032&postcount=299
[Nexus 5 General] NPS_CA:
I Have Working Titanium backup

Try beta 5 of Ti Backup, working for me. I think they didn't package beta 6 properly as version still shows as latest market (older build R)

The twitter feed for Titanium Backup still had Beta 5 on a dowload link here: bit.ly/1sdL7d6

The LATEST Android L Beta 6 of Titanium Backup ALSO didn't work for me ; reporting no root; so again assuming they packaged up the APK wrong - use older Beta 5 for now in link above

I did test restore an APP + Data and it worked fine.

Prior steps I had to get to root + working Titanium Backup on LRX21O

- Backed up my phone apps

- Did adb reboot bootloader

- Installed Factory Image (flash-all NOT keeping old data)

- Rebooted and made sure phone is working with LRX21O; enabled dev mode [tap build version 10 times in about]

- Did adb reboot bootloader

- Used CF Autoroot for hamerhead + LRX210 (from here: http://autoroot.chainfire.eu/ - choose hammerhead near bottom + LRX210)

- Installed on reboot (used OI File Manager to get to storage and copied using Android File Transfer) Beta 5 of Titanium Backup from here [ bit.ly/1sdL7d6 ]
[Nexus 5 General] inferol:
Downloaded the link as suggested http://xdaforums.com/showpost.php?p=56700032&postcount=299

Unzipped it

Ran the tool

Red android appears (so its rooted)

System booted

Attempt to grant root access on ex file explorer app - succeed

10 seconds later, failed.

?
[Nexus 5 General] fkloznica:
Ex file explorer doesn't like android 5.. Wait for a proper update
[Nexus 5 General] NPS_CA:
Use Root Explorer for now...
[Nexus 5 General] KiaOrana:
Titanium Bckup

Hey guys,

could anyone direct me to the titanium backup apk compatible with L? I can't seem to be able to find it.

Thanks!
[Nexus 5 General] bryanlimy:
https://twitter.com/TitaniumBackup/status/532645824883593216

Do a Google search, is not that difficult, otherwise you might as well just use an iPhone

LG G Watch and Nexus 5 with ParanoidAndroid 4.6 and Franco Kernel
[Nexus 5 General] KiaOrana:
Sorry mate, I'm at work and Twitter is blocked, that's why I asked for a link to the APK, but thanks anyway :)
[Nexus 5 General] *boy*racer*:
Pm'd you KiaOrana
[Nexus 5 General] TheLastSidekick:
I'm not sure if it was mentioned...but honestly the easiest way to root is to have an unlocked boot loader > flash factory image > download SuperSU.zip (latest is 2.19 Beta right now) > Download CWM or TWRP > go to fastboot and flash the custom recovery with fastboot flash recovery name.IMG > boot into recovery > Install > SuperSU.zip > Reboot into ROM

Please by all means if there's an easier way let me know haha :P
[Nexus 5 General] swat4samp:
You need permissive boot.img before flashing supersu zip right, but i didn't find that for latest release. Will you kindly give me download link?

There is cfautoroot zip which automatically flashes modified kernel, but many of them faced problem with most of root apps even after flashing piefix.
[Nexus 5 General] TheLastSidekick:
I'm not sure about the stock kernel you could be right. I installed both root and Code Blue kernel together come to think about it. After the boot, everything was fine and I proceeded to install Busy box and use Trickster Mod. Every thing is still running 100%.

Edit : here is the SuperSU Beta thread.

http://xdaforums.com/apps/supersu/2014-09-02-supersu-v2-05-t2868133/post56607668
[Nexus 5 General] swat4samp:
You only flashed supersu zip file and then flashed code blue? Did you check root apps like es explorer?
[Nexus 5 General] TheLastSidekick:
Yes. I checked. I use Solid Explorer. And also Trickster Mod requires a rooted phone.
[Nexus 5 General] TheLastSidekick:
Here's some proof.
[Nexus 5 General] TheLastSidekick:
And here's two more.
[Nexus 5 General] swat4samp:
Chainfire mentioned cfautoroot. Is that what you flashed or supersu beta?
[Nexus 5 General] TheLastSidekick:
I have never used Cfautoroot. Not even on other devices. Just flashed SuperSU 2.19 in TWRP.
[Nexus 5 General] TheLastSidekick:
Here's SuperSU itself.
[Nexus 5 General] swat4samp:
Thanks, So code blue uses permissive kernel? I heard u need permissive kernel for root to work on L.
[Nexus 5 General] TheLastSidekick:
To be honest, I'm kind of new to Lollipop I've heard the same thing, but I do believe code blue might be permissive as you say. If SELinux was being enforced, I'm not sure root would even be possible.
[Nexus 5 General] swat4samp:
Yup, it seems code blue uses permissive kernel. That's the reason root works :good: Can you check whether greenify works? In dev preview, greenify didn't work.
[Nexus 5 General] wuadeq:
anybody succesfuly changed DPI? not working here..
[Nexus 5 General] TheLastSidekick:
Sorry it keeps failing to hibernate apps. I didn't even notice until you brought it up that it didn't work on Lollipop since I just cleaned wiped a few hours ago. Thanks for the heads up.
[Nexus 5 General] swat4samp:
Just as i thought. Did you flash patch for pie? http://xdaforums.com/showpost.php?p=56123703&postcount=13 Will you please confirm whether greenify works after flashing this?
[Nexus 5 General] TheLastSidekick:
Sorry don't know what Pie is exactly. I have heard of it before.
[Nexus 5 General] swat4samp:
Honestly i too don't know what exactly it does. But on dev previews, after using this patch, root worked for many apps including greenify and es explorer.
[Nexus 5 General] TheLastSidekick:
Perhaps I'll give it a try when I have a bit more free time on my hands. Greenify was essential for my long SOTs. Thanks for the link.
[Nexus 5 General] jnsson:
But will I be able to install OTA update? Because aren't de changing boot img?

Skickat från min Nexus 4 via Tapatalk
[Nexus 5 General] OptimusVDarwin:
Using the cf auto root why do i get this "the system cannot find the patch specified" ?
[Nexus 5 General] abovebeyondgal:
delete
[Nexus 5 General] TheLastSidekick:
I'm going to take a wild guess and say you have some sort of anti virus running that detects the exploit as harmful. If not, disregard.
[Nexus 5 General] OptimusVDarwin:
Umm I don't think so. (Not being sarcastic) lol what else could be the problem you think?