yashsingh1/xdaforums huggingface dataset:
[Nexus 6  General] JimSmith94:
I've tried to install this to both /system/xbin and /system/bin. It acts like it finishes but then it says, "It looks like BusyBox is installed, but it does not appear to be the version that you selected..."

I think it's because as BusyBox states, the free space in /system is only 16MB. How are you guys getting around that?
[Nexus 6  General] abogrhen:
you don't need the last one

you need working one

so use this one until busybox update the version on the store

---------- Post added at 11:00 AM ---------- Previous post was at 10:57 AM ----------

I think so because it is not device dependent

but i don't have n5 to test

just flash it
[Nexus 6  General] CyanJustice:
Good lord, I can't find it, please link me this
[Nexus 6  General] JimSmith94:
It's linked in post #362, just a few posts back.
[Nexus 6  General] Powereh:
Delete some of the google apps that can be got from the store will free up some space.

I did a smart install with busybox & it works fine for me here.
[Nexus 6  General] JimSmith94:
Thanks, I'll do that. MyBackup Pro complains about an outdated BusyBox, but it still works.
[Nexus 6  General] GreenRaccoon:
For anyone else who has this problem, I fixed it by first uninstalling busybox with Stericson's BusyBox Installer app, then reinstalling it through TWRP using the zip file the OP posted in post #2.
[Nexus 6  General] JimSmith94:
I just tried what you said and still get the same uninstalled message from MyBackup Pro. When I run BusyBox itself, it says BusyBox is installed to /system/xbin, but also says BusyBox 123.2 will be installed to /system/xbin and goes through the whole gathering information process. App info says BusyBox Free version 33 is installed.

What is really installed and how can I know whether it needs to be updated or not?
[Nexus 6  General] GreenRaccoon:
Yeah you have the latest version of the installer, which is good. The app always goes through the gathering information process, even when busybox is already installed, so that's all good there. The app says that my phone has 16MB in system storage also, which isn't true, so yours probably isn't running low on space either.

The phone is rooted, correct? If you recently flashed an update, did you flash SuperSu 2.50 or 2.51? (I'm guessing so since you're on this thread lol.)

Would you be able to install this app and see what it says about busybox on your phone?

https://play.google.com/store/apps/details?id=eu.thedarken.rootvalidator

If the BusyBox .zip file flashed correctly, it should say that busybox is installed under /data/local. If it IS installed there, it's possible that MyBackup Pro is only looking for busybox under /system/xbin and /system/bin, which means that you'd have to wait for the dev to update the app.
[Nexus 6  General] JimSmith94:
With an orange bullet, it says Busybox found. When I expand that it says, also with orange bullets:

* No busybox available via $PATH

null, 0 applets

* -rwxr-xr-x root root

/system/xbin/busybox

Should I tell the BusyBox app to install to /data/local in the Custom Path option?
[Nexus 6  General] GW Show:
I am running into the same exact problem as the above poster. Orange circle next to busybox, same error.
[Nexus 6  General] SilentO:
does anyone know how to root the mra58k image?
[Nexus 6  General] illcat2000:
I used wugfresh's toolkit to root the stock rom just fine.
[Nexus 6  General] BladeRunner:
Unlock bootloader, flash twrp, flash modified boot/kernel flash supersu
[Nexus 6  General] GreenRaccoon:
Wait, I think I misread that earlier. It doesn't have a blue circle underneath the orange one showing a different location of busybox?
[Nexus 6  General] JimSmith94:
Correct. The BusyBox line and the two that I put asterisks in front of all have orange bullets.
[Nexus 6  General] dunjamon:
Did anyone manage to correct this? I'm have the same issue since upgrading to M.
[Nexus 6  General] adrynalyne:
No. For the record, I have nothing to do with this kernel, was just curious and looked at it.
[Nexus 6  General] DaMyth:
I can confirm this does work with MultiRom without any problems...
[Nexus 6  General] TCPDump:
Thanks for the feedback!
[Nexus 6  General] arregull:
Yes, I am not in M anymore. I still got that error when I reflashed M. So if you want to get rid of the error. Reflash the 5.1.1 using the NRT. Then use flash M again using the same tool.
[Nexus 6  General] npjohnson:
Could you outline the steps you took? Thanks.
[Nexus 6  General] DaMyth:
If you have Android M setup as a secondary rom, follow the instructions from the OP... Only difference is in recovery you'll go to MultiRom choose Android M and flash the zip files, kernel first the supersu
[Nexus 6  General] npjohnson:
Is there a special setting I am missing? I cant boot to M after doing this....
[Nexus 6  General] DaMyth:
I didn't have to use anything special. I do have Chroma setup as my main rom, Running Franco Kernel, and is unencrypted previous to setting up Android M as my secondary rom. All I did once this became available was download the zip files, flash the kernel first then flash supersu 2.49. Are you going into MultiRom and choosing Android M and then selecting flash zip file??? and then flashing them in that order???
[Nexus 6  General] rbedell:
Is there a thread for installing and going back to a backup? I'm downloading but worried about getting my backup back.
[Nexus 6  General] johnminator:
I still get boot err. I've flashed the kernal and the super su. Any ideas on what it is
[Nexus 6  General] RandomGuy982:
How did you get the host file to apply? Mine still fails at that part.
[Nexus 6  General] NewMan4Life2010:
Thanks NetworkingPro and also thank you jeson1332 for thanks suggesting AdBlockPlus. I have everything up and working and I also restore all my apps with Titanium Backup.
[Nexus 6  General] jason1332:
Well, I'll give you the answer but you won't like it... You have to do a full format through twrp... As in lose everything. It is a file structure issue that can only be resolved that way for now. Then you have to fastboot install entire package again, then twrp transfer and flash. It's a pain but I now have everything perfect.

You do not have to do that if you just want to block ads though. Ad block plus works without modifying host file by acting as a proxy with root. So use that if you don't want to spend the hour doing what I did. I will say the long way tibu and all my root apps are working flawlessly.

---------- Post added at 11:24 PM ---------- Previous post was at 11:23 PM ----------

Good deal my man...
[Nexus 6  General] TCPDump:
Update on anyone that can't use system read/write: If you find yourself having issues with mounting the system partition read and write then you may need to roll back to the Android L boot loader (not to be confused with the kernel "boot" image. Just wanted to let you all know that.

Thanks!
[Nexus 6  General] gee2012:
No issues here running Android M with the 71.10 Lollipop bootloader.
[Nexus 6  General] TCPDump:
If anyone is having issues blocking ads you can simply download and flash this zip in TWRP: http://xdaforums.com/attachment.php?attachmentid=3332129&stc=1&d=1432626656

Thanks!
[Nexus 6  General] TCPDump:
Glad to hear it! It seems to be hit and miss.
[Nexus 6  General] itlnstln:
Clean fastboot flash. System seems to mount as read/write OK and I can manipulate files there just fine, but system/etc returns an error saying it's read only in FX, thus hosts files not applying properly. Ti Backup and Flashify seem to be working OK. Unfortunately, AdAway is the main reason I still root.
[Nexus 6  General] TCPDump:
So you still cant get Ad Away to work? Whats the error you get? Also, you can flash this in TWRP to block ads: http://xdaforums.com/attachment.php?attachmentid=3332129&stc=1&d=1432626656
[Nexus 6  General] itlnstln:
AdAway just says it can't copy the file. When I go into File Exlporer (FX), I can mount system as rw and can add/delete files to the directory, but system/etc throws an error that says "etc is read only." Ti and Flashify work fine, though. Here is how I installed M:

-Fastboot flashed bootimage, radio, recovery, unencrypted boot (not Despair's), userdata and system.

-Rebooted, allowed system to restore

-Fastboot flashed TWRP

-Rebooted to TWRP; installed Despair's kernel, SuperSu 2.49, and Busybox

-Rebooted; installed AdAway, tried to apply and it failed.
[Nexus 6  General] Alxoom33:
Edit: Deleted as moot.
[Nexus 6  General] apogee82:
Can confirm. Tried to edit build.prop to remove tethering restrictions.

Also, there are checks in the build.prop related to the messages we are seeing at boot...

ro.build.expect.bootloader
ro.build.expect.baseband
ro.expect.recovery_id

If we can get system/etc writable maybe we can remove the boot warning?
[Nexus 6  General] itlnstln:
What do you edit in build.prop to bypass tethering restrictions? Sorry about the OT.
[Nexus 6  General] apogee82:
Let's not derail this thread but here you go!

net.tethering.noprovisioning=true
[Nexus 6  General] serdaj:
I just read through the thread and am seeing several of you guys posting about the authentication failed boot message. I am getting the same thing, but I have root access. My hang up has been trying to lower the DPI using Texdroider DPI. SuperSU is granting Texdroider root access and my device reboots, but it gets that same error and when the phone boots up I am still at factory 560 DPI.

My only two issues with M Dev Preview so far are not being able to reduce the DPI and I really wish I could swap the back and recents buttons in the nav bar.

Any help on accomplishing either of these?
[Nexus 6  General] DespairFactor:
You can change DPI using adb shell wm density dpi
[Nexus 6  General] themustached:
[MENTION=5169465]DespairFactor[/MENTION] 's kernel has busybox included for init.d. Just a heads up.
[Nexus 6  General] hahajoker:
Just to verify what I read some other places, the only way to clear out the "failed verification" error on boot is to fastboot flash stock recovery and factory reset? Will this error come up again when I re-install TWRP?
[Nexus 6  General] itlnstln:
The failed verification error on boot means nothing in practicality. It doesn't affect your device's ability to operate. Both my N6 and N9 show the message, but it doesn't bother anything.
[Nexus 6  General] Bostrot:
Port it?

Can someone port it to OnePlus One pls? I think the OPO is the best phone :silly:
[Nexus 6  General] hahajoker:
Anyone else noticing significant lag after installing the despair kernel? I'm running stock M with despair and the ad block zip posted by Network
[Nexus 6  General] itlnstln:
I don't think it's the kernel; the Hosts file is pretty hefty which can cause some slowdown when using connected apps/surfing the web. I noticed the lagginess when I flashed the posted hosts file. Try the hosts file attached. I replaced the file in the original zip with one I created with AdAway on my N9. It's much smaller and seems to help.
[Nexus 6  General] TCPDump:
READ THIS IF YOU HAVE ISSUES APPLYING HOST FILES (or other System R/W Issues)

[MENTION=2910255]itlnstln[/MENTION] is correct. The slowness is NOT the kernel, but the huge host file. If you had issues applying hosts via AdBlocker you can now fix that. Please see my OP for a work around. Once you apply the work around you will be able to fully mount your system partition read/write and get back to business as usual. Oh, once you apply a host file with AdAway or another ad blocker the huge host file you flashed will be blown away, too.

Thanks!
[Nexus 6  General] TCPDump:
Check the original post please, Ive updated it. If the work around works (I have no reason to believe it won't) then you'll have the warning gone and System R/W.
[Nexus 6  General] itlnstln:
It's convoluted as Hell, but it works now. Thanks.
[Nexus 6  General] TCPDump:
Haha, its P.F.M. :) Glad its working. So you can verify success independently, I assume?
[Nexus 6  General] itlnstln:
I can. I used the AdAway app successfully to update hosts as well as editing the build.prop in FX.
[Nexus 6  General] jamsterzak:
Confirmed working as intended. :good: :eek:
[Nexus 6  General] Zer0_Cool:
You can edit the build.prop without root, I changed my dpi this way and applied the tethering bypass. You just need to mount /system/ in TWRP, adb pull the build.prop, edit it, push it back, then fix permissions. You can follow the steps from this thread:

http://xdaforums.com/android/general/guide-enable-multi-window-mode-android-t3121483

I was also wondering if removing that line would get rid of the error, I just haven't tried it yet.

Edit: just tried this, it does not work

It probably won't be that easy to do away with.

https://source.android.com/devices/tech/security/verifiedboot/verified-boot.html
[Nexus 6  General] DespairFactor:
If I am needed for anything feel free to summon me with a mention
[Nexus 6  General] hdtechk:
Read the OP again it's easy to get reed of error
[Nexus 6  General] dthevenin:
Impossible to have the TWRP

Hi

I have a problem with this process, I m not able to reboot into the TWRP.

After the "adb reboot recover" (step 7) I just have the "dead droid" icon on the screen and no more option.

Someone has a idea?

cheers

d.
[Nexus 6  General] TCPDump:
Reboot to boot loader and flash twrp again, no big deal. Fastboot flash recovery twrp.img.
[Nexus 6  General] hahajoker:
Everything is running great for me now. My only hangup with the preview was not having an ad blocker. Problem solved. Thanks for the hard work.

Btw, my battery life is excellent compared to 5.1.1.
[Nexus 6  General] cheami:
I'm confused what you mean with this. I did Adaway and noticed the sluggish lag also. I then uninstalled the Adaway host files from the app, uninstalled the app, and flashed the host.zip from the post above yours. I notice slight sluggishness. Can this be improved?
[Nexus 6  General] dthevenin:
OK tks, works fine :)
[Nexus 6  General] TCPDump:
I would expect the .zip file to be much worse on lag. Basically the .zip file a huge multi-MB host file (all text). AdAway should be more efficient.
[Nexus 6  General] cheami:
Ah okay. I'm guessing I should have installed your Adaway apk from OP, as opposed to the official Adaway.

n/m, it seems to be a google sync issue.
[Nexus 6  General] DaMyth:
I guess I'm in a different boat than everybody else. I have no problems using any apps that require root, I can even use root explorer to change or edit any files that I see fit, but for some odd reason I can't get Titanium Backup to work for nothing. It immediately force closes before it even ask me for Root permissions. Any suggestions???
[Nexus 6  General] TCPDump:
Ill give it a try in a bit and see if I have the same issues.
[Nexus 6  General] manup456:
Yeah I have full root with no problem, but titanium does not work. That happened as well when lollipop came out until he updated. I don't think he will update for a preview build.
[Nexus 6  General] itlnstln:
Ti BU works fine for me. You may want to copy the backups to a PC and format userdata.
[Nexus 6  General] DaMyth:
is there any particular steps you took to make Ti Bu work???

I do vaguely remember that... If I remember correctly, he posted some test versions that worked with L on his twitter page.
[Nexus 6  General] itlnstln:
It wouldn't work until I formatted and flashed userdata in fastboot.
[Nexus 6  General] DaMyth:
I'm using Android M as a secondary rom with MultiRom, so I wonder if doing a factory reset/wipe data will do the trick...
[Nexus 6  General] bill3508:
I'd like to know this as well.
[Nexus 6  General] DaMyth:
It'll be awhile before I can test it, hopefully by tomorrow I'll know more if someone else doesn't...
[Nexus 6  General] DaMyth:
Just tried with no luck... trying to find out how to flash the .img to a secondary rom now
[Nexus 6  General] Hereisphilly:
I'm struggling to get adaway to copy the hosts file across, it fails on the last step!

Flashed elite kernel, SuperSU, busybox and installed adaway all from the OP

Anyone have any tips?
[Nexus 6  General] neriamarillo:
I'm having the use situation. Tried OP kernel and different kernels that are known working. Tried SuperSU 2.49 and 2.46. Formatted everything through twrp and reflashed images. Can't figure out what is going wrong.

If I may ask OP what was the workaround you had posted before that is now replaced in the first post?
[Nexus 6  General] TCPDump:
Ill put it back... Sorry
[Nexus 6  General] TCPDump:
See OP again. I just updated it.
[Nexus 6  General] neriamarillo:
That boot.img from step 4 did the trick. Thank you for this!
[Nexus 6  General] TCPDump:
Glad to hear it! I was trying to make it easier on everyone, but it turns out it only made it worse. haha
[Nexus 6  General] Lucke:
Will this require that kernel?

i'd prefer to be stock rooted.
[Nexus 6  General] TCPDump:
Hmmm, the stock boot image is SE Enforcing, so probably not, but I haven't tried it. I'll try it in a few hours because I'm curious. You should be able to flash any SE Permissive kernels. I may even make a stock SE off boot image if there's interest?
[Nexus 6  General] buckmarble:
I have tried the ways I know of to make the stock IMG permissive and they failed. That's why I ended up forcing my kernel permissive. There are new processes in M that change it back to enforcing. By forcing it to permissive in their kernel, the kernel will not let user space change the selinux state.
[Nexus 6  General] Hereisphilly:
Awesome, all working great now, thanks!
[Nexus 6  General] TheRealKingSen:
To go back to 5.1.1 do I need to flash the lollipop bootloader and radio?
[Nexus 6  General] TCPDump:
Maybe. I expect that you can probably go back using the new bootloader and radio, but haven't tried. Worst case, its just fails to boot, and you flash the old boot loader. Also, just to be clear, when you say bootloader are you referring to the actual, or the boot image (ramdisk and kernel)?
[Nexus 6  General] Lucke:
might have missed it in the thread already, but does this incorporate T-Mobile's wifi calling from their last update to 5.1.1?
[Nexus 6  General] DaMyth:
I'm able to use wifi calling with no problems...
[Nexus 6  General] joderme:
I think I will wait for a method to root with SELinux enforcing. Hoping one will come about.
[Nexus 6  General] TCPDump:
You will likely be waiting a while. The whole point of the new M policy is to prevent rooting with SE On. In fact, they have went to great lengths to ensure that even if you modify your file system when it reboots it undoes what you did. Just out of curiosity, why do you care about SE On if you're rooted? It's somewhat of an oxymoron, especially considering you can do far more damage with root.
[Nexus 6  General] greycobalt:
Edit: Wrong thread, my bad!
[Nexus 6  General] TCPDump:
Haha, either way. Enable USB debugging, then in developer options, then "Select USB Options".
[Nexus 6  General] greycobalt:
Thanks dude! I kind of rambled and realized I hijacked your thread into a Q&A. ;)
[Nexus 6  General] TCPDump:
No problem, my friend. Did that work for you?
[Nexus 6  General] adrynalyne:
What you described is a function of write protection, not SELINUX. We dont have write protection. Now, M will reflash the stock recovery at times, but that is because there is an sh file on the ROM that does it. That sort of thing has been around for years.
[Nexus 6  General] GuyInDogSuit:
You can also use Hell's Core kernel, Despair kernel, and Busybox on Rails.

Does that modified boot.img also disable forced encryption?
[Nexus 6  General] TCPDump:
Yep, should work just fine. I simply mention elite and Despair because I use both of them.
[Nexus 6  General] GuyInDogSuit:
Funny thing is, I can't seem to find this M build of Hells-Core for Nexus 6 even though multiple users have sworn that it is smooth as butter on Android M.

I didn't have to flash that R/W boot.img, by the way. I still have the unencrypted boot.img and I don't want to replace it.
[Nexus 6  General] madphone:
there it is
[Nexus 6  General] GuyInDogSuit:
Yep, already got it, thanks.
[Nexus 6  General] Chahk:
Does it disable forced encryption?
[Nexus 6  General] dmeadows013:
Can anyone confirm that tmobile WiFi calling is working with the kernels required for root?
[Nexus 6  General] teshxx:
Works like charm!
[Nexus 6  General] dmeadows013:
Great! I think I'll give it a flash
[Nexus 6  General] teshxx:
Most def. This the kernel I have been using http://projectelite.net/buck/shamu/M/
[Nexus 6  General] dmeadows013:
Thanks! I'll try out the June 3rd release once I get everything backed up and flash M
[Nexus 6  General] powdered_donuts:
this also worked for me to achieve root

start in bootloader mode plugged in to your pc, open nexus root toolkit v2.0.5, let it download the files for your device and select the correct model type and Android 5.1.0 LMY47D, leave custom recovery checked, click root, let it try to boot its modified boot image from your pc, it wont boot because you have m installed and its a 5.0.1 boot image, wait a minute during the swirling dots boot screen then reboot to bootloader mode, the toolkit will then recognize your device thinking it booted and run its script. after it finishes reboot. it will give you the error message. after you see that reboot to twrp and flash elite kernel and supersu 2.49. reboot and you have root. sorry for poor formatting.
[Nexus 6  General] Chad_Petree:
I flashed the busybox zip but I don't see the app on my drawer, is that normal?

I lost root after a reboot :(
[Nexus 6  General] andrewk36:
I'm getting the device failed verification error after installing M preview through fastboot, and nothing else. No kernel or anything, completely stock. Anyone know how to fix this?
[Nexus 6  General] bmakk2055:
Anyone have the fix-rw-boot.IMG in a flashable zip? It is just a kernel right?
[Nexus 6  General] Ed Murray:
Nexus 6 running M preview with stock recovery, flashed TWRP before I followed your steps.

After flashing the Fix through fastboot, it actually did boot fully, with no verification msg. After flashing the Kernel, whenever I try to flash Super SU 2.49 TWRP quits, reloads every try.

Any idea why?
[Nexus 6  General] SquireSCA:
Easiest way to get rid of the encryption on M Preview, everything else stock? Don't care about root or kernels for now, just want to run stock M preview without disk encryption...
[Nexus 6  General] beelow319:
Use a noforce encrypt boot.img, there's one for M floating around somewhere on XDA. I'm running it now with no issues.

Edit: fixed mistake, meant boot.img
[Nexus 6  General] SquireSCA:
Cool, just found it, installing now, thanks!

Now when the next preview comes on in a week or so with an OTA, will it revert back? That would suck as you have to wipe the phone each time...
[Nexus 6  General] beelow319:
I'm not sure honestly. I'm going to avoid the OTA and hope they post the new images.
[Nexus 6  General] SquireSCA:
So if that is the case, we can manually flash all the files via ADB and Fastboot, and just don't flash the kernel, leave it the one being used now?

I am hoping that the OTA doesn't overrite it, or if it does, unless you reformat the file system, it just stays decrypted
[Nexus 6  General] adrynalyne:
Just to clear up misconceptions, that's not a boot loader but instead a ramdisk editor.
[Nexus 6  General] bwheelies:
Is this going to be the next update to the N6?
[Nexus 6  General] krazyflipj:
Oops wrong thread
[Nexus 6  General] datajosh:
Seems like the fix for system r/w doesn't work on Preview 2 :(
[Nexus 6  General] kildon:
I can confirm that. Neither method works.
[Nexus 6  General] simms22:
works fine, and i did nothing at all to "fix" it. all i did was flash despair kernel and supersu 2.49 with it :)
[Nexus 6  General] kildon:
For root, yes, that works. Have you confirmed you have R/W access to system?
[Nexus 6  General] simms22:
ive edited my build.prop file several times, manually, using root explorer. does that count?
[Nexus 6  General] kildon:
And you're on Preview 2? I just reinstalled both of those, and Root Explorer won't mount system as RW. Tapping "Mount R/W" just does nothing.

---------- Post added at 05:21 AM ---------- Previous post was at 05:16 AM ----------

(Not trying to challenge you here. Just trying to figure out how to make it work :) )