yashsingh1/xdaforums huggingface dataset:
[Google Pixel XL Questions & Answers] Shawn haz root:
I am having an issue obtaining root after I updated to NOF26V from NMF26V. I already had root and everything was working. To update to NOF26V, I deleted -w from the .bat file then used adb to boot to the boot loader. I then executed the .bat file and the phone successfully updated to NOF26V. I then boot into TWRP 3020 RC1 and flashed the latest SR4 .zip for Supersu. All output looks good, no errors and it says ...done at the end. When I boot into the OS, there's no root or Supersu installed. I was successful in reflashing franco r9 kernel though. I extracted the system.img from the image and ran "fastboot flash system system.img." I have been unsuccessful in getting root back and flashing the Weta Mods. What am I not doing or doing wrong?
[Google Pixel XL Questions & Answers] Golf c:
SR4 is old news. Try SuperSU 2.79 SR3 the latest.
[Google Pixel XL Questions & Answers] Shawn haz root:
I was flashing SuperSU v2.78 SR4. Isn't that newer than SR3?

I tried downloading and flashing SR3 but received the same result.
[Google Pixel XL Questions & Answers] Golf c:
There has been 3 updates since then.

https://download.chainfire.eu/1021/SuperSU/SR3-SuperSU-v2.79-SR3-20170114223742.zip
[Google Pixel XL Questions & Answers] Mike02z:
Yes, v2.79 SR4 is the latest SuperSU.
[Google Pixel XL Questions & Answers] Golf c:
Nope, 2.79 SR3 is
[Google Pixel XL Questions & Answers] Shawn haz root:
Is it 2.78 or 2.79? The supersu thread shows 2.78 SR4 as the latest. I did end up flashing that .zip you linked as I ended up on his site and found the latest.

https://xdaforums.com/pixel-xl/development/root-supersu-t3490156
[Google Pixel XL Questions & Answers] Golf c:
Again, the latest is 2.79 SR3
[Google Pixel XL Questions & Answers] Shawn haz root:
So SR4 came before SR3?

I did flash SR3 and I still don't have root :(

Edit: Here's a screen shot
[Google Pixel XL Questions & Answers] Golf c:
Your doing something wrong then. 2.78 SR4 comes before 2.79 SR3

https://xdaforums.com/apps/supersu/2014-09-02-supersu-v2-05-t2868133/post55256620
[Google Pixel XL Questions & Answers] Shawn haz root:
Yes, I must be. That's what I'm trying to figure out. I posted a screen shot on my last post in an edit.
[Google Pixel XL Questions & Answers] Golf c:
You have the wrong zip in the screen shot. 2.78 SR3, you need 2.79 SR3. I gave you the direct link
[Google Pixel XL Questions & Answers] Shawn haz root:
Yes, I noticed that after I posted it. I just tried that one too and still didn't get root
[Google Pixel XL Questions & Answers] Golf c:
I have been using it for 3 weeks, no issues. Download the SuperSU app from playstore before you flash zip.
[Google Pixel XL Questions & Answers] Mike02z:
You are right. 2.78 went to SR4... 2.79 SR3 is the latest.
[Google Pixel XL Questions & Answers] Shawn haz root:
That did it. I just installed Super Su from the play store and it already had root apparently. Thank you for your time!
[Google Pixel XL Questions & Answers] Golf c:
I knew you would get it. It's the little things. Haha! Especially with this phone right.
[Google Pixel XL Questions & Answers] TonikJDK:
I have had to manually install the SU app from the store also on a couple of occasions.
[Google Pixel XL Questions & Answers] Shawn haz root:
Good to know, thanks
[Google Pixel XL Questions & Answers] parakleet:
Math is actually my strong suit

I have been having the same issue for the last 24hrs.

How i missed 2.78->2.79? SMH

Re Flashed all is well.

Thanks
[Android Q&A, Help & Troubleshooting] Joc80:
Ok, so i installed twrp and rooted my s5 neo (sm-g903w) I want to install a custom rom.... but what will work with this phone? I have been looking around and cant find anything that is supported.

Maybe i am just dumb lol.
[Android Q&A, Help & Troubleshooting] Flukester69:
Well there is this info... https://xdaforums.com/search/forum/2792?query=g903

I wish there was more support for the g903w but not enough for me to warrant killing my warranty.
[Magisk] andrewsfm:
Perhaps someone can clarify for me...

I use Magisk and I've noticed that it was recently updated and there are mentionings about SELinux/sepolicy and pseudo enforced, etc. in the changelog.

Whenever I run SambaDroid it will fail to start unless I open the SELinuxModeChanger app and change the mode to Permissive first, which of course ruins SafetyNet, so I can't just leave it in that mode all the time.

I have to go back and change it to Enforcing when I am done.

An extra step I'm hoping won't be required in the future. Perhaps on a per-app basis like MagiskHide.

Should the recent changes to Magisk allow me to run SambaDroid without having to manually change the SELinux Mode?

If so, it doesn't work yet, but maybe I am misunderstanding the changelog references.
[Magisk] Didgeridoohan:
The update in v11 you're talking about should be able to hide permissive SELinux from SafetNet. In other words: you should be able to leave SELinux permissive and still pass SafetyNet with the help of Magisk Hide.
[Magisk] andrewsfm:
Ahh okay, I get it. Just tested it now and it works exactly like you described. It wouldn't pass SafetyNet before on the previous version but apparently does now after the upgrade when left in permissive. Thanks!
[Magisk] andrewsfm:
Nevermind my last post... Picked up the phone again, and opened SELinuxModeChanger and found that it had reverted back to enforcing on its own. Changed it to permissive, and then went back to Magisk Manager, and SafetyNet fails until I revert the setting back to enforcing. Seems like it works the first time, and then stops?
[Magisk] Didgeridoohan:
Hmm... Interesting. I think I'll do some tests myself.
[Magisk] Didgeridoohan:
Ok. I've tested and it seems to work as expected.

What I did was add a file in /magisk/.core/post-fs-data.d named 08setperm (doesn't matter what the file is named). In that file I added:

#!/system/sh

setenforce 0

This way SELinux is set to permissive at boot.

Disabled Magisk Hide, rebooted and verified that SELinux now was set to permissive on boot (typed getenforce in Teminal Emulator).

Enabled Magisk Hide again and voila! Typing getenforce in Terminal emulator now reported Enforcing and SafetyNet passed.

No idea if this will make SambaDroid work though...
[Magisk] andrewsfm:
I found a way to somewhat replicate what I am experiencing.

You'll need SELinuxModeChanger (SELMC) to see if you get the same results.

Although I'm wondering if it may be the cause of the problem...

Open recent apps and clear everything out.

Open SELMC and change to permissive.

Hit the home button.

Launch Magisk Manager and check SN. Should pass.

Hit the home button.

Clear recent apps.

Open SELMC, and it's back to enforcing.

Change back to permissive.

Hit the home button.

Re-launch MM and check SN, and it comes back CTS fail.

If you stay in MM and wait for a while, occasionally clicking check SN, eventually, it'll pass without changing anything.

If you change tasks over to SELMC, you'll see it's still in permissive as well.

It appears the transition from enforcing to permissive causes SN to fail for a while, and SELMC reverts back to enforcing if cleared from recent tasks, and re-activating it causes SN to fail for a period of time?
[Magisk] Didgeridoohan:
Sounds like MagiskHide deamon takes a short wile to start up after the change, or something like that. Seems normal to me... If you wan't a more permanent solution than SELMC, try using the script I posted earlier.
[Magisk] andrewsfm:
I gave your script a try, but it didn't work.

I created the file with the same contents/name by copy/paste, and put it in the folder you specified using Root Explorer.

Rebooted the phone, and checked selinux status using "sestatus" and it said enforcing.

Tried manually typing in the commands in your post into terminal emulator...

#!/system/sh (which didn't show a response.)

setenforce 0 (responded "Couldn't set enforcing to 0. Permission denied.")

So I tried...

su

setenforce 0

After that it shows permissive.

Ran SambaDroid, and it works fine, and SN passes.

Suggestions as to what is stopping permissive from applying at boot using your method?

What does #!/system/sh do?

Sorry, I don't know much about Linux, but I'm open to learning.
[Magisk] crusader727:
https://en.wikipedia.org/wiki/Shebang_(Unix)

MagiskHide sets pseudo-enforcing since Magisk 11 because enforcing is needed to pass SafetyNet
[Magisk] Didgeridoohan:
Could be that your file doesn't have the proper line endings. What text editor did you use (Notepad doesn't work)?

I'm attaching the file I used. Unzip it and place it in /magisk/.core/post-fs-data.d, reboot and see if that works.

By the way, I just realised I mistyped earlier. Not at all what i had named the file... Fingers going on auto I guess. :D Updated my earlier post.
[Magisk] andrewsfm:
Yeah, I used notepad... Should have used UltraEdit I guess?

Just downloaded your script and installed it, and it works fine now.

SambaDroid worked right off the bat without needing to remember to open SELMC every time before and after.

Thanks!
[Magisk] Meowdib:
Is this a bug in Magisk?
[Magisk] Didgeridoohan:
No. Why do you think that?
[Magisk] FlemishDroid:
I have an S7 and a modified stock kernel with SELinux permissive. I enabled Magisk hide and only enabled SystemUI and SafetyNet passed.

Sent from my S7.
[Magisk] jbw716:
Sorry for reviving a somewhat old thread. I was just curious if with this script, do apps that need SELinux Permissive work, AND SafetyNet still passes? Thanks! :)
[Magisk] Didgeridoohan:
Magisk Hide have a pseudo-enforcing feature that will make SELinux seem enforcing to hidden apps, even though it's permissive. Including SafetyNet.

So the answer to your question is: yes.
[Magisk] nadejo:
I request a thread regarding this issue. The script is very helpfull and i currently dont know any other way making selinux stay permanently on permissive. Many people are having this issue with soundmods like arise which require permissive selinux. Thnaks!!
[Magisk] Jman420:
Are you asking for a module to install the necessary script? Like I've provided here https://xdaforums.com/apps/magisk/module-magisk-selinux-permissive-script-t3577549.
[JASJAR, XDA Exec, MDA Pro Software Upgrading] lord2654:
I want to upgrade my Uni to wm6 but I don't like the cooked rom.

Where I can D/l it? Please!
[JASJAR, XDA Exec, MDA Pro Software Upgrading] PsiDOC:
Simple answer, you can't.

WM6 was never officially brought out for the Uni. It was ported and built by the very clever people here.

Psi
[Galaxy S6 Q&A, Help & Troubleshooting] nabilbek:
it is my uncle's phone

SM-G920F Galaxy S6 (G20FXXU5DQA2)

flashed back to stock and everything is 100% stock but the mobile networks in settings is missing and the sim cards wont work, it detects them being inserted but doesnt seem to connect.

Please help, couldn't find anything :eek:

Messing around with mobile data gives "insert sim card"
[Galaxy S6 Q&A, Help & Troubleshooting] nabilbek:
tried to factory reset from recovery, clearing the cache and reset from the Smart Switch desktop software.
[Galaxy S6 Q&A, Help & Troubleshooting] sofir786:
Could possibly be an issue with the sim card slot, does the phone show a valid imei number?
[Galaxy S6 Q&A, Help & Troubleshooting] brenner650:
100% hw, faulty SIM reader, cold solder, or something else on motherboard.

Try to ask in Samsung authorised repair center, maybe if you are lucky like me, factory warranty would be accepted.

I just told them I bought the phone second hand and it does not recognize SIM, did not go into details ;)
[Galaxy S6 Q&A, Help & Troubleshooting] ganderman1:
force stop stuck on s6
[Galaxy S6 Q&A, Help & Troubleshooting] Mrm35150:
The same thing happened to my G920P and I was stressing out looking for a solution. Finally, I figured it out myself.... I used idonne apps unlocking service awhile ago and still had their unlock app installed on my device. After trying repeatedly to no avail to unlock again I finally started looking thru the 3 dot settings and manuvered to the IOT HIDDEN SETTINGS TAB. From there I went to the "test mode menu" setting. Then to HW Test setting, down to #7 NV Rebuild All. Clicked that and let it do it's thing and all settings returned, no more stressing. Hope it works for you.
[Samsung Galaxy S7 Questions and Answers] hutch1100:
Hello all.. I tried flashing the latest stock version for my phone. Now it goes through it all and starts up but it says to draw my pattern to decrypt device storage.. I do and it says that it's incorrect. Did I brick my phone?
[Samsung Galaxy S7 Questions and Answers] voolandis:
No, u didn't. Restore it via Smart Swich. You'll lose data.
[Samsung Galaxy S7 Questions and Answers] hutch1100:
If I didn't have a back up on smart switch is it still possible?
[Samsung Galaxy S7 Questions and Answers] voolandis:
Yup, definitely. Put phone in download mode (Vol down + home + power; when prompted vol up), connect it to PC, open SmartSwitch, click "more" button in top right corner, select first option (emergency software recovery and init.) and follow on screen instructions.
[T-Mobile Samsung Galaxy S7 Questions & Answers] raduque:
Did a search, didn't find anything.

I was given a T-Mobile branded S7 and was thinking about using it as an OS test platform on my Verizon account (I personally use a 930U on Vz), so I need to SIM unlock it.

Can I do this with root?

FWIW, the person who gave me the phone canceled their service a couple weeks after getting it, because the service barely worked in our area (missed/dropped calls, missed SMS, "NOT REGISTERED TO NETWORK" errors, no data connection). I don't even think the first bill was sent out yet. I'm fairly certain the device is blacklisted on Tmo's network, so they won't even pretend to consider giving me an unlock code and I refuse to pay to remove something that shouldn't even be legally allowed in the first place.

Thanks!
[Nexus 5X Q&A, Help & Troubleshooting] Deleted member 7671171:
Hi! I went into the latest TWRP recovery with unlocked bootloader, and I wiped system, cache, dalvik and data. Then I flashed the proper vendor image, the ROM zip, Gapps and then Elemental X kernel. However, when I reboot, it just boots me into TWRP recovery. I have tried wiping dalvik cache and cache. I then tried restoring a nandroid, but it just got stuck on the Google screen. Didn't even get to the colored dots screen. I ended up flashing factory image, but I would like to get my Nandroids working and this ROM. Please help! Thanks :)
[Nexus 5X Q&A, Help & Troubleshooting] Aman301582:
I'm no expert but I think it might be happening because of encryption. Did you disable encryption before doing all this stuff?
[Nexus 5X Q&A, Help & Troubleshooting] Deleted member 7671171:
Encryption in stock Android? As far as I know, I can't turn it off. It says that the device is encrypted in settings. I think nougat forces encryption.

Unless maybe there's a patched kernel that can do that?
[Nexus 5X Q&A, Help & Troubleshooting] hilla_killa:
I dont think is your problem , im encrypted and never have issues with twrp! Never!! What version of twrp you running? Theres an unofficial kicking around that is much better than official! Maybe you got a bad download! I would redownload all, find and download unofficial twrp 3.0.2.3 I believe. Let your phone boot before you flash custom kernel, thats always worked great for me. The latest official twrps 3022 and 3021 both have nandroid restore issues as well efs restore issues that could ruin your day
[Nexus 5X Q&A, Help & Troubleshooting] neth15:
Format data and system (format, not wipe) and try installing it again. Should work
[Nexus 5X Q&A, Help & Troubleshooting] Deleted member 7671171:
OK, thanks :)
[Nexus 5X Q&A, Help & Troubleshooting] Deleted member 7671171:
Only data and system? Not cache and dalvik like the purenexus install guide says?
[Nexus 5X Q&A, Help & Troubleshooting] neth15:
Ofc wipe all partitions, but these two also format.
[Nexus 5X Q&A, Help & Troubleshooting] Deleted member 7671171:
What's the difference between wipe and format? On TWRP there is only WIPE for all partitions, but a format data button.
[Nexus 5X Q&A, Help & Troubleshooting] neth15:
Wipe just deletes all data on the partition. Format makes the partition again, therefore it removes encryption, repairs potential problems etc. Format data has dedicated button in TWRP, for formatting System go to Advanced Wipe, check system, tap on Partition details, check EXT4 and perform format.
[Nexus 5X Q&A, Help & Troubleshooting] Deleted member 7671171:
There is no Partition details button. Just fix partition or something like that.
[Nexus 5X Q&A, Help & Troubleshooting] neth15:
Repair or Change filesystem? Yeah, it should be that.
[Nexus 5X Q&A, Help & Troubleshooting] Deleted member 7671171:
OK, I will do that. Thanks :) Just to clarify, I format data and system, and wipe cache and dalvik?
[Nexus 5X Q&A, Help & Troubleshooting] jrotert:
A Thought

Dunno if this will help, but whenever I flash a ROM/kernel combo, I always flash the ROM/gapps, boot up with whatever kernel is included in ROM to make sure it boots properly, and then after successful boot flash EX kernel through TWRP.
[Nexus 5X Q&A, Help & Troubleshooting] Deleted member 7671171:
OK, so I formatted DATA and SYSTEM, and I wiped CACHE and DALVIK. I then flashed the proper vendor image, pushing it to the device with adb push, and then adb sideload for the pure nexus ROM. It's currently installing. Then, I will adb sideload the gapps ZIP file. Then I'll reboot and see if it worked :)

EDIT: It just said "No OS installed"

EDIT 2: Just flashed the ROM again, and it is showing the boot animation. This time I did not do Gapps. I also wiped and formatted everything again. Hope all goes well.

EDIT 3: The ROM booted fine. Glad all is working now :)
[Nexus 5X Q&A, Help & Troubleshooting] neth15:
Good job :) You're welcome
[Nexus 5X Q&A, Help & Troubleshooting] Deleted member 7671171:
So I had flashed the ROM with no Google Apps or anything, just the ROM. But when I add a Google Account, I can't because it says Google Play Services has stopped. I just noticed that the build number is one of a Nexus 6P, and the vendor image is different, the one I manually flashed.
[Lenovo A6000/Plus Questions & Answers] vara860460:
I have flashed carbon ROM 4.4 kitkat on my device using

Twrp material themed by sevenmax and when I reboot I have lost my recovery ( not booting to recovery) and I have tried to flash using flashfire but its showing root access cannot be acquired pls help
[Lenovo A6000/Plus Questions & Answers] laddugaur:
If ur phone is rooted then use flashify and flash twrp file
[Lenovo A6000/Plus Questions & Answers] Al-Jalodi:
Bro you need KitKat twrp
[Samsung Galaxy S7 Questions and Answers] crazyjust:
I bought an s7 (sm-g930f) from letgo. It worked fine for 2 weeks, then I got a lock screen from rentacenter. Does anyone know how I can get rid of this lock permanently?
[Samsung Galaxy S7 Questions and Answers] crazyjust:
If anyone knows, can you please email me at justme488@gmail.com . Thanks
[Samsung Galaxy S7 Questions and Answers] crazyjust:
I have installed twrp recovery and wiped out the os. Now my question is, how far can I go deleting? Can I delete partitions? Will flashing firmware recreate them? What can I do to make sure it's gone for good?
[Lenovo A6000/Plus Questions & Answers] Rn$h:
My switches of lenovo a6000 broken some days before and I used double tap feature and adb instead of switche

On last day during the time of a ROM installation the twrp become steck for 3 hours and I turned of the phone .Now I can't enter into the recovery mode using adb .My phone only shows boot logo.

Pls help me :(:(:
[Lenovo A6000/Plus Questions & Answers] inyourdream:
What switches did you mean?:confused:

Try to read this thread here https://xdaforums.com/showthread.php?t=2131284
[Lenovo A6000/Plus Questions & Answers] Rn$h:
All switches

Means volumes & power buttons
[Lenovo A6000/Plus Questions & Answers] laddugaur:
Is ur phn showing in adb command window?
[Lenovo A6000/Plus Questions & Answers] Rn$h:
I tried it

I installed adb on my PC

But PC doesn't recognize my phone & shows mtp connection failed

I only want to enter into recovery mode
[ZTE Axon 7 Questions & Answers] Thalias:
After flashing official A2017U B29 firmware from ZTE the signal network service is lost. I ignore this and continue to upgrade to Nougat successfully and I get lost signal. I notice that Dual Sim Setting is working.

Does official firmware overwrite original chinese baseband/bootstack? Is this the reason?

Can someone please upload chinese baseband/bootstack A2017 please?

Thanks so much
[ZTE Axon 7 Questions & Answers] awsomjgp:
Yes, it flashes the US bootstack. You have to flash the one here, but the dual sim settings won't work.
[ZTE Axon 7 Questions & Answers] Thalias:
It is hanging ZTE and 2 chinese words logo :(
[ZTE Axon 7 Questions & Answers] awsomjgp:
Try flashing the latest A2017 rom
[ZTE Axon 7 Questions & Answers] Thalias:
Yeah, I am on downloading it right now. I guess I have to wait DrakenFX pull out Nougat.
[ZTE Axon 7 Questions & Answers] Thalias:
I failed to flash full A2017 B13 and got the message :assert failed getprop( ro.product.name) == "P996A03"

But I can flash full A2017U B29. Any suggestion?
[LG G5 Questions & Answers] sofia-captivate:
Hi Guys, I sold a phone to one of my customers and the phone was having some issues so I did a hard reset on it. Now it says verify your Google account email and password and the customer kept on trying the email and password and we can't get into the main menu of the phone. We tried the google on desktop and it works fine. Please help me
[LG G5 Questions & Answers] Nick216ohio:
Had similar problem like that in past. Cliche answer but it worked. LGup and kdz it.
[Tilt, TyTN II, MDA Vario III General] TheAvenger:
Hi guys

I installed the Q-Mobile 1.1 ROM on my TYTN II and configured it. At one moment the Data Connection disappeared from the Comm Manager so I don't have the option to manually disconnect it any more. Can you tell me what setting I have to change to fix that?

Thanks.
[Tilt, TyTN II, MDA Vario III General] elrooster:
look for Schaps Advanced Config 1.0.cab this tool is awesome you could change the icons on Comm Manager to suite your needs or use the HTC Endkey.cab it has the option to manually data disconnect.

Pic One Comm Manager Modified w/Schaps Pic Two Endkey

I'm sorry I don't have the direct links for these cabs....
[Tilt, TyTN II, MDA Vario III General] TheAvenger:
Thanks, great!
[Moto G4 Plus Themes, Apps, and Mods] diegomartinezlovey:
Bootanimation HelloMoto (HD)

https://drive.google.com/open?id=0B_YNKRbEuOIBcmZKOGRHYTZmZDg

Bootanimation has to be pushed manually in system/media with 6-4-4 permissions

Tested in RR 5.8.1

Credits:

thewailer (bootanimation) https://xdaforums.com/moto-x-2014/themes-apps/bootlogo-bootanimation-hellomoto-t3543876[/CENTER]
[Moto G4 Plus Themes, Apps, and Mods] Smart Sujoy:
Can I get the Hello Moto sound in this bootanimation ??
[Moto G4 Plus Themes, Apps, and Mods] diegomartinezlovey:
Try this https://mega.nz/#!UtdAlCxB!8R44b5kMj7GvoB9wb6W7XdxnALKagAmDF9U1Hdemjig
[Moto G4 Plus Themes, Apps, and Mods] Adarsh balu:
Can anyone share a video of this boot animation
[Moto G4 Plus Themes, Apps, and Mods] shakti30:
Can't download the file via browser... Also where to download the hello moto sound
[Moto G4 Plus Themes, Apps, and Mods] ivwonka:
thank you! bootloader logo is nice. much better than the warning about my bootloader being locked!
[Moto G4 Plus Themes, Apps, and Mods] naveen135:
Can you give us an alternative link???

Cuz mega.nz tells us to download the app...not the zip file
[Moto G4 Plus Themes, Apps, and Mods] diegomartinezlovey:
https://drive.google.com/file/d/0B9LFiHnBGwk8MktidHZkY1d2bzg/view?usp=sharing
[Moto G4 Plus Themes, Apps, and Mods] HydrogenCyanide:
Sorry butl this doesn't work for me on Stock Nougat

Edit1: Now works but the animation its slow its normal right?
[Moto G4 Plus Themes, Apps, and Mods] vishalrao8:
Boot animation is too slow as compared to stock one