yashsingh1/xdaforums huggingface dataset:
[E 2015 General] xpmule:
If your bricked / frozen while installing SuperSU then hold down the power button until it powers OFF !

Then as the screen changes you can quickly hold down power plus volume down to get into the bootloader and load recovery.

I have used SuperSU on Lollipop and Marshmallow and i have a bunch of older versions and 2.79 on my SDCard

With Marshmallow i have frequently had to install an older beta version because all the newer ones refused to patch my Bootloader (if it doesn't on Marshmallow you screwed)

So.. my card has 2.79 and a bunch of other versions and the one that keeps saving my butt is "BETA-SuperSU-v2.62-3-20151211162651"

I have installed pretty much every version going backwards from 2.79 before and the only one that would patch my bootloader is that old one.

You can tell by reading the log in the Recovery screen in TWRP if it patched the bootloader or not.

If it didn't there is no point in booting yet.. just keep installing different versions to get that bootloader patched up.

ONCE IT IS ?

THEN.... install 2.79 ;)

..and reboot.

I said all that mainly for Marshmallow or higher issues (Lollipop was not a big deal for me)

I added the older systemless version here as an attachment if you guys need it. :)

I repeat.. for Marshmallow and you can't boot etc.

Load TWRP (install it if you need to)

Install that old version then check the log for the commentary about the bootloader being patched.. then before you reboot install 2.79 over top of that then reboot.. let it go it might take a few minutes.

You can get 2.79 (final non beta) here.. https://www.supersuroot.com/download.html

The attached old beta of SuperSu is the same as on the official page..

I checked the hashes right now ;)

SuperSU Root BETA v2.62-3.zip = MD5: 7fcb30bcbcd18b5f0b0f5848a096d4ed

Good luck ;)

Oh and the dev says use the zip installers so i never use the APK's.

Take his advice ..he made it LOL
[E 2015 General] elenaluz:
Can I root an xt1526 on Android 5.1 without installing a custom ROM? Will it break the camera?
[E 2015 General] allc0re:
Is there any way to get root without unlocking the bootloader?

I have an unlockable bootloader (AT&T) and would love to use Sunshine to unlock it. However, Sunshine requires root.
[E 2015 General] ALI12:
You can use Kingroot.apk or croowt.apk in order to temp root and than Sunshine to unlock boot loader.
[E 2015 General] allc0re:
Kingroot says it can't exploit my phone and I've been searching here for a working croowt.apk download link but they seem to be down.
[E 2015 General] ALI12:
This will do the job: https://xdaforums.com/android/software-hacking/root-tool-dirtycow-apk-adb-t3525120
[E 2015 General] aayush0508:
geek giant . in / install- twrp- without -unlocking -bootloader-qualcomm-device

Pls remove the spaces and add the h t t p

I found this will it work on my device Moto e2 4g XT 1527 as it's bootloader is not eligible for being unlocked by Motorola so can I not to twrp through this site's method and flash a custom ROM???
[E 2015 General] Cricketsucks:
Cricket

Is this a good way to unlock my phone for service on another carrier? It is my phone I bought it but only used Cricket for 3 months, they refuse to unlock my phone unless I pay them for three more months of service. I also simply dont have the money and the provider im trying to use is free (with ads). Please help? I need the cell phone to make money, ironically. (look at the date of this post) Its during Corona and I want to do delivery services, but without a cell phone that is impossible.
[E 2015 General] Ricky 4208808:
Yes
[E 2015 General] fix-this!:
no problem, let the games begin! :good:
[E 2015 General] cybojenix:
camera issue is resolved
[E 2015 General] fix-this!:
good, was just about to pm you and say that after every reboot my camera stops working.
[E 2015 General] cybojenix:
After the test files I gave you?
[E 2015 General] fix-this!:
Yup after a boot to twrp then back to the os the camera breaks everytime.
[E 2015 General] cybojenix:
Spoken with chainfire. Seems it's an SeLinux issue.

Drop in to permissive mode to fix camera. I might look in to fixing it properly at a later point
[E 2015 General] drpancake:
Wow! that was fast. Thanks for your work!
[E 2015 General] fix-this!:
How do you set it to permissive?
[E 2015 General] bobbyphoenix:
https://play.google.com/store/apps/details?id=com.mrbimc.selinux
[E 2015 General] fix-this!:
double post.
[E 2015 General] fix-this!:
i realize the dev may be taking a break but ive done a bit of experimenting before i go back to stock for now as i need to have a working camera. SuperSU seems to be the reason of the broken camera . the dev suggested setting selinux to permissive but that doesn't fix the issue. i did an experiment and uninstalled the latest superSU then used the beta 2.43 and the camera works every time but you have a slower boot time and i loose audio. was wondering if anybody has an ideas or solutions? im going to assume the issue we are having is from superSU and nothing more. as i said previously i know were early in development but we may need a custom kernel to help us along in solving this.

EDIT: i totally unrooted but kept twrp and my camera is fully working now. can even flash zips through twrp. its better than nothing until this can be resolved.
[E 2015 General] fix-this!:
here are logs i took after rooting my device. hopefully it will help any dev figure out why the cam breaks.

http://www.mediafire.com/download/le2466iwfyd41te/dmesg.log

http://www.mediafire.com/download/daiioxnfk3h2hez/event.log

http://www.mediafire.com/download/6g68fslsyjy86re/logcat.log

http://www.mediafire.com/download/rmp9agjaez5ipmb/modem.log
[E 2015 General] RioGrandeBlood:
Hi, I just got my Moto E 2015, only a few minutes old and not rooted yet. I wonder if someone tested the rooting possibilities for the rest of the Motorola Handys: CF Autoroot: Moto G, Moto G Lte, and so on. Could this be a tip?
[E 2015 General] fix-this!:
I havent no. I would like to get a perm fix for the camera though since rooting.
[E 2015 General] santoshvaza:
[MENTION=4584140]cybojenix[/MENTION]

can your guide followed for 3g variant moto e 2015
[E 2015 General] cybojenix:
I will not be providing a perma fix for the camera issue since:

I don't know enough about SELinux

I am not going to provide a boot image with SELinux disabled by default

The 3g variant is too different to the 4g version. I will not be supporting it at all.
[E 2015 General] dislorth:
is it working?
[E 2015 General] Mrinal.:
Unable to download

unable to get img file of twrp please mirror the link
[E 2015 General] cybojenix:
added links to make finding the recovery image easier.
[E 2015 General] globe778:
It works! Sort of.

So, after expieriencing the Camera issue before i quickly unrooted. Well, today i tried it with SuperSU Version 2.46 and it worked. But you still need to change the SELinux Mode to permisse with SELinuxModeChanger from the Play Store. Problem: Camera now only works after every second reboot, so it still unuseable.
[E 2015 General] johnnymayer:
Any updates on XT1527 root for 5.0.2? I am having more than a hell of a time.
[E 2015 General] Ravx:
HI

hey i am going to buy a moto e 2015 3g model. The question i wanted to ask is

1. Can i unlock my boot loader without bricking.

2. Is there any method to root the 3g varient without bricking.

3. Is custom recovery available for 3g varient without bricking.

4.If custom recovery is not available then can i install custom rom ( CM12) without recovery.

I searched a lot and it seems all support is for the LTE version. I dont want to brick my device. Please help.
[E 2015 General] joesee:
Was just wondering my XT1527 variant of the 2nd gen Moto E has a locked bootloader and wondered if anyone had tricks up their sleeves to give this thing root? Not really looking for a different rom or even recovery features.. just want to install viper4android. Thanks!
[E 2015 General] Code Of Conduct123:
who ever needs the files to this phone heres the link for them. EXTRACT THE ZIP PLEASE!!!!

http://www.mediafire.com/download/3ga1dkkgf1a2d8m/Moto_E_2015.zip
[E 2015 General] Ravx:
Will these work for 3g version?
[E 2015 General] kilurb:
Hi,

I got the Moto E 2015 yesterday, and I'm trying to unlock the bootloader. This is frustrating.

I installed the Motorola Drivers for this phone, but there is a driver that Windows does not have:

"Fastboot Surnia S"

I cannot get fastboot from the Android SDK to work at all with this. Is the guide given by the OP for a previous version of this phone? Any help?

FWIW I see that I've got a:

Product/Variant: surnia XT1527 8GB P3

OS is Lollipop.

I've spent the last 1.5 hours looking for a solution to this...

Thanks,

Brad
[E 2015 General] kilurb:
I ended up getting it working using the pictorial method here:

http://xdaforums.com/showthread.php?t=2588979

1) I installed the 15 second installer package

2) In Device Manager, selected the "Fastboot Surnia S" which showed an error.

3) Updated drivers -> Browse -> Let me pick

4) Chose "Samsung Android Device" (not sure why this was)

5) Selected "Android Bootloader Interface" and installed it.

6) Followed This guide's instructions for unlocking.

-Thanks
[E 2015 General] Code Of Conduct123:
no it will not. its only for the 4g/lte version sorry. i should have clarified it.

---------- Post added at 09:47 PM ---------- Previous post was at 09:44 PM ----------

http://pdadb.net/index.php?m=specs&id=7732&c=motorola_moto_e_2nd_gen_4g_lte_us_xt1527.

Yours is a 4g/lte. so it will work for yours.

---------- Post added at 09:50 PM ---------- Previous post was at 09:47 PM ----------

who is your carrier? download this app called cpu-z and take screenshots and post them here.
[E 2015 General] Ultraboss:
no more camera bug, SuperSU 2.48 beta

With the lastest SuperSU 2.48 beta, the camera is woking fine, even after each reboot ;)
[E 2015 General] matteo 06:
bjr

avec quelle recovery?
[E 2015 General] Ultraboss:
Le TWRP cf http://xdaforums.com/moto-e-2015/orig-development/twrp-moto-e-2015-recovery-t3049726

Je le boot en temporaire pour conserver l'original :

fastboot boot twrp.img

TWRP cf http://xdaforums.com/moto-e-2015/orig-development/twrp-moto-e-2015-recovery-t3049726

I boot to temporarily retain the original

fastboot boot twrp.img

MOD EDIT Your post has been translated to English.
[E 2015 General] matteo 06:
merci

comment en temporaire?
[E 2015 General] Ultraboss:
C'est la commande fastboot boot que j'ai mise
[E 2015 General] matteo 06:
Donc,si je comprends bien,tu sors de bootloader démarrant en recovery dans twrp puis tu root et aprés reboot tu es toujours avec recovery stock et si en cas de mise à jours tu n'a que désactiver supersu, c'est ça?
[E 2015 General] Ultraboss:
Voilà tu as tout compris :)

Et même en TWRP temporaire, tu peux faire les backups/restores etc...
[E 2015 General] matteo 06:
merci,tu m'a appris une nouvelle manip.
[E 2015 General] Ultraboss:
Bad news, since today the camera is not working anymore :( even with selinux permissive :crying:
[E 2015 General] npalmy:
My camera stopped working too.
[E 2015 General] johnnymayer:
still waiting on an XT1527 unlock and root. anyone getting close or have any ideas?
[E 2015 General] TonyStark R.I.P.:
Please be respectful of the XDA rules:

In this case rule #4

I have changed the OP to reflect the correct way to post. Please post in this way, from now on or your post will be removed.

Thank you for understanding
[E 2015 General] xtermmin:
The XT1527 (LTE) was the first version to be unlocked and rooted.

Follow this guide to unlock the bootloader: http://xdaforums.com/moto-e-2015/general/guide-unlock-bootloader-moto-e-2015-t3045748

Then install/boot [MENTION=4584140]cybojenix[/MENTION]'s TWRP recovery here: http://xdaforums.com/moto-e-2015/orig-development/twrp-moto-e-2015-recovery-t3049726

Then install SuperSU either via TWRP's included installer, or flash the latest one that can be obtained from [MENTION=631273]Chainfire[/MENTION]'s website.
[E 2015 General] johnnymayer:
it's not going to work for an at&t/aio/cricket wireless model. motorola isn't allowing a bootloader unlock for their models on at&t and related networks. there seems to be no workaround at this point for it either. if i could get the bootloader unlocked, i'd have zero problem getting everything else done.
[E 2015 General] tm515:
Verizon Model Bootloader

Motorola also does not allow unlocking Verizon Model. Anybody able to hack the phone to get the GSM bands working?
[E 2015 General] xtermmin:
Ah, you bought the XT1527 from a carrier. The version sold by Moto and Moto via Amazon is also the XT1527, but can be bootloader unlocked.
[E 2015 General] johnnymayer:
yeah, was in a situation where i needed a phone ASAP (work related) and had to buy that day, couldn't wait for shipping.
[E 2015 General] acedexplorerABL:
Got my moto e 4g today. Rooted and flashed away.. without reading the OP.

Wasted 3 hours trying to find a fix for camera and audio.. while trying different supersu zip files.

then read about the bug.

I hope the OP manages to fix this issue, which IMO is there only in the 4g variant. I can provide the logcats as well if needed.

the problem seems to be supersu and the SELinux modes.

when SELinux is in enforcing, camera fails instantly

when SELinux is in permissive, it takes about 5 seconds to fail.

Reverting to an older BETA supersu gives the camera back but no audio in/out is there.

fingers crossed for a fix soon.
[E 2015 General] squid2:
Try my kernel. I didn't experience any camera issues when rooted and running my kernel.
[E 2015 General] tkdsl:
can you post a link for your Kernel ?

thank you
[E 2015 General] squid2:
http://xdaforums.com/moto-e-2015/orig-development/squid-kernel-moto-e-lte-2015-t3072209
[E 2015 General] Bazilli:
So if i understand right camera bug is only in LTE model problem? Just bough XT1524 and unlocked my bootloader for root, but luckily i read this thread before doing anything . :silly:
[E 2015 General] matteo 06:
hi

me too have xt1524 surnia,i unlocked and rooted then installed rom cm12 by scritch(thanks@scritch)since 4 days with any issue,every things works finest
[E 2015 General] Bazilli:
Nice to hear mate. Gonna try that later if finding ''working'' root method took too long. :)
[E 2015 General] acedexplorerABL:
Working on XT1521

For the curious

XT1521 is the Indian 4g LTE model. I don't think there are too many changes in this.. but the build number points definitely to the latest build.

Anyhow.

For my indian fellows here.

Unlock the bootloader.

Flash the recovery by cybojenix... ie the one posted on this thread.

Go into recovery, without rebooting. use the vol keys to navigate in the bootloader.

Flash the squid kernel. then flash the supersu 2.46

reboot, go to supersu settings and disable the "Mount namespace separation" option.

reboot again.. and you should be having no issues.

In the meantime, im trying xposed alpha 2 and viper4android, incase anyone is interested.
[E 2015 General] tkdsl:
thank you
[E 2015 General] Bazilli:
SuperSU 2.49 Beta released. Chainfire says: Fixes some SELinux stuff on newer 5.x firmwares. Anybody tested yet?

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

e: tested with stock kernel and still no camera after root. Sad. :(
[E 2015 General] DrunkGreywind:
Yeah i wish i knew how to fix it myself :( why is it always camera problems lol?
[E 2015 General] Wave49:
Camera fix

Is the solution for the camera fix only flash custom kernel?

When I flash the [MENTION=6485916]squid2[/MENTION] kernel, there are always bootloop. :(
[E 2015 General] squid2:
The camera probably works with my kernel because I set SELinux to permissive at boot time. I'm wondering why your phone bootloops with my kernel. Does it reach the boot animation (planet spinning with Motorola logos), or does it reboot before that (at the unlocked bootloader warning screen)? I'm wondering if XT1527 kernels don't work on XT1523 stock ROMs for some reason. Have you tried the stock XT1527 kernel on my stock kernels thread? I expect the XT1527 stock kernel to break the camera since it has enforcing SELinux, but if it boots, you can use modified versions of the stock kernel with permissive SELinux to fix the camera.

I'll post modified stock kernel images with permissive SELinux when I find time so that people can fix their cameras without needing my kernel.
[E 2015 General] Wave49:
Bootloop locarion

When I flash your kernel, the phone stuck on the boot logo.

I will flash CM12.1 and flash your kernel to try.
[E 2015 General] squid2:
Don't use the separately flashable versions of my kernel with CM 12.1. They won't work. I'll post a new build of CM12.1 using my kernel to the CM thread soon.
[E 2015 General] tonymah:
Installing the TWRP Recovery Image worked fined for me. Only problem I now have is that I cannot encrypt my phone anymore. If I choose "Encrypt Phone" in the settings and proceed then the display just turns black when Android tries to reboot to start the encryption process. Nothing happens then. When I hard-reset the device it boots into Android without starting the encryption.

Since enabling encryption worked fine before I asume the TWRP recovery image flash must have broken it. Any clue how to fix this?
[E 2015 General] Inchoroi:
Everything worked fine as far as rooting went; camera still an issue, even with SuperSu 2.49 beta.
[E 2015 General] Bazilli:
Yeah. I wish someone would release stock kernel with SE permissive to fix camera. I hate to use my Android devise without root. :(
[E 2015 General] Inchoroi:
I haven't tried flashing the custom kernel posted earlier, but probably won't. I don't need the camera for the moment; only noticed it was broken because my wife tried to take a picture of our cats being cute.

EDIT: Also, I made an account here solely to thank the OP, as I hate not being able to do what I want with my phone.
[E 2015 General] rster:
My camera works fine with Squid's kernel and root. I don't think his kernel is that far from stock, or at least I haven't had any problems.
[E 2015 General] matteo 06:
I have xt1524 i ooted with superuser 2.46 then installed cm 12, uptaded to 12.1 allways without ever having camera problems,every things works exellently
[E 2015 General] Bazilli:
Well CM12.1 has nothing to do with stock. You can't root stock without breaking camera without custom kernel.
[E 2015 General] amit_28:
Moto e2gen 3g stock link ?
[E 2015 General] voosey:
moto e camera fix

Guys I tried everything to get my moto e camera to work... Everything from the selinux mode to uninstalling the camera from root... And reinstalling it. Forgot to put it back in the system but it was still busy... Then I came across this. Putting your phone into safe mode... So I looked it up. And I did what if said boot safe mode to get your camera up and running. I pressed the power button and waited for the power off prompt. Held my finger down on the power off prompt. Until it was fully highlighted. I then released and a new window opened up asking for safe mode. I rebooted into safe mode. Only system apps work in safe mode. But I couldn't use my camera. Because when I reinstalled it after a force uninstall I had to force stop Google play for it to finish... Back to my point. I didn't install it back into the system. So I couldn't click on it in safe mode. It got me down... After rebooting back out of safe mode... I went on Skype with my laptop depressed about my camera. I really wanted to use Skype on my phone. Anyway I didn't touch the camera after rebooting from safe mode. I went to show my girl my camera didn't work and to my surprise it was working..

So I jumped to Skype on my phone I was so happy I couldn't believe it... I rebooted my phone several times and still flawless... Camera works every time... I made my story long to better assist my brothers in moding so you could get a good idea of my victory..

Moral of the story... Safe mode. Sit there for a minute... Reboot.... Normal mode let phone sit some more and done... Hope this helps guys.
[E 2015 General] GnomishInvader:
glad it works for you, please clear up the below questions about your phone's current configuration:

1) is it still in permissive mode

2) is the camera still a non-system app while working now

3) and is the gapps running or disabled

Thanks
[E 2015 General] Rodrigo Araujo Lopes:
I was using squid's kernel, but my phone was to slow!!!

Yesterday went back to stock kernel to see if the phone would be faster with it. With stock kernel is running much more faster, I get the impression that squid's kernel consumes a lot of memmory, cause the phone was really too slow.

I tried to open the camera with all the superSU versions since 2.36, none worked.

I tried the method above, entering secure mode, camera won't open there and it is still not opening in normal mode =(
[E 2015 General] crazynapkinman:
Yes his method sounds like a fluke. I would stick to custom kernel for working camera w/ root. Selinux has to be permissive otherwise camera won't work when rooted/stock. Mine worked for a while but eventually got the camera error and had to flash squid kernel. I don't see the lag in it that everyone speaks of either. It was snappy and responsive for me. I still use or on my backup of stock.
[E 2015 General] AkumaX:
is the XT1528 affected? (will this root XT1528?) thanks!
[E 2015 General] brotherswing:
No, the XT1528 is not eligible for Motorola's unlock program.
[E 2015 General] voosey:
im not sure about the gapps but it worked its way back into the system section somehow. not sure if its still permissive sys/fs/selinux/enforce shows 0 so im guessing it is... selinux mode changer still shows permissive... so im going to say yes...needed a hard reset two days ago. and had to get the camera up and running all over again. so the camera is working in safe mode...and checking one thing really quick..booting safe mode now...one sec......checking to see if i can soft reboot out of safe mode...................... nope i cant. i would reboot safe mode a few times to get the camera to work. once it worked i did a stander reboot.. if the camera didnt work then i would try safe mode again. making sure the camera would work in safe mode. after trying over and over and rebooting from safe to regular when the camera works. i finally get it to work in regular mode. i leave the camera on just in case over and over again becasue i hate fighting with it. but now that it works any time i need to make a change. i go to rom tool box or some other app and preform a soft reboot. so that i dont lose my camera again..

i hope this helps

edit: haaaa... i dont need the mode changer for selinux i got from aptoid...rebooted from safe mode when camera finally worked and still working. i must remember from now on to soft boot only......what and sys/fs/selinux/enforce is showing a status of 1 so selinux is on and camera working. i really hope this helps.
[E 2015 General] Pratham Nathyal:
OK but I can't find apps to root my phone its lollipop motoe2 and kingroot e4root don't work

Even mobogienies PC app can't one click root it just tell me what's the best application to root without using boot loader my only motive is to use link2sd not flash ROMs so I need one click root please help

Pratham Nathyal ( MotoE2 3G, Lollipop5.0.2)
[E 2015 General] brotherswing:
The Moto E can't be rooted without unlocking the bootloader.
[E 2015 General] Pratham Nathyal:
Are u 100% sure I mean there are one click apps that work on other devices

Pratham Nathyal ( MotoE2 3G, Lollipop5.0.2)
[E 2015 General] brotherswing:
There's always the possibility that I'm wrong, but I'm confident that I am not. One click root methods rely on exploiting security vulnerabilities in Android. There are no known exploits for Lollipop as of right now, so the only root methods that currently work require an unlocked bootloader. I've been trying everything I can think of, including things that I already know won't work, because I'm stuck with one of the E2015's that can't be unlocked. I haven't found anything that works on it, although you are certainly welcome to try any you like. If you get lucky, let us know! I promise there's quite a few people who would like to know how you did it, myself included.