Need Help - Fixed Permision with SELinux - now in trouble - Android Q&A, Help & Troubleshooting

Hi,
i clicked "Fix permission & Se Linux " in TWRP recovery tool. Now, i am not able to access the phone, it says "com.android.phone has stopped. Is there any way to reverse the permission and SeLinux config in android. Can anyone help?
Mobile: Samsung Grand Prime
OS: Android 5,lollipop

Related

[PROBLEM] I cant install applications from the sd

hello guys, i buy a Motorola Atrix AT&T 2 days ago, the problem is that I cant install applications from the SD (non-market apps).
Now my device is rooted well but still I can not install them.
The message is: "this application comes from an unknown source, and for your security only applications from trusted sources installed Can Be installed."
Rigth now im intalling apps from promp but i want to do it from the sd
THX for your patieent
i'm amazed you rooted the phone and didnt get side loading working..
the guide you used to root should have info on "sideloading", check again
where is this guide?
How did you root your Atrix?
gingerbreak or Gladiatrix.
If you used Gingerbreak: http://forum.xda-developers.com/showthread.php?t=1052850
i have my device rooted! i must found a guide for news members i found a guide ( http://forum.xda-developers.com/showthread.php?t=969960 ) but i dont know where got sqlite3 y how executed on windows 7
http://forum.xda-developers.com/showthread.php?t=1017373
Do this!
*************************************
ALLOW SUPERUSER REQUEST ON YOUR PHONE
*************************************
Enabling sideloading ...
./data/local/tmp/gladenable.sh: 23: /system/bin/sqlite3: Permission denied
./data/local/tmp/gladenable.sh: 23: /system/bin/sqlite3: Permission denied
Sideloading enabled.
i get this error and y cant install any aplication on the sd
Go to settings/applications and make sure Unknown sources is checked.
i dont have this option on my atrix,
CXout said:
i dont have this option on my atrix,
Click to expand...
Click to collapse
Get Glad.
i also have had this problem
Are you allowing the superuser request that pops up on the phone screen during the process, because from the error message I read a few posts ago, I think that may be your problem.
problem resolved y close the post

[Q] iptables issue in android 4.4.2

Samsung Galaxy Tab Pro 12.2 (SM-T900), android 4.4.2 stock, rooted.
No any app can open a port (even higher 1024) . I'm getting errors like 'iptables: permission denied'. Root Check says device is rooted (and I can edit system files in Root Explorer). I tried 3 smb servers and 2 ssh servers. Everytime server starting it shows 'root permissions granted', but nothing.
Additionally I tried to add static route in terminal. It's appears in route table but not working.
To check is it realy iptables issue I need to (temporary) let non preveleged users edit iptables rules, but don't know how to do it. Can anybody help me?

Direct TV Error 40 Root Check bypass on Amlogic s905x (TX5Pro, Marshmallow)

I downloaded the DirecTV Now app on New Year's Eve hoping for $35/cable. Instead, I was greeted with the same Error 40 that everyone with a rooted device got. It took me a couple of days of researching and playing and reflashing and..., but I've finally figured out the simple(r) method to bypass this stupid root check for DirectTV Now (AKA Error 40, QP1005)
This applies to the TX5Pro, but it should work on any s905x based AMLogic SoC running Marshmallow 6.0 (A95X, CQ9, TX5, TX3, X96, NEXBOX, +many more.) As I understand it, they all have similar Android builds using the p212 board and firmware. I also have a M8S s812 running Kit-Kat 4.4.2 that I'll work on breaking, next.
First things, first: If possible, find your firmware and do a clean flash. Not a requirement, but if you've been playing with this for a while and you've ended up here, you've probably mucked up your /system files in some way or another. I managed to screw up my su binary location a few times and couldn't get it back without a lot of work. Reflashing was a three-minute, headache-free task.
That said, you'll want to adb over tcp/ip as these devices don't like to play the USB cable game.
Code:
adb connect deviceipaddress:5555
Follow up with
Code:
adb shell
and
Code:
su
to get into a root shell (if you don't get one by default.) Mine came with SuperUser from ClockworkMod preinstalled as a system app. Mount your system folder
Code:
mount -o rw,remount,rw /system
and edit your build.prop file with Vim.
Code:
vi /system/build.prop
If Vim is new to you, search the interwebs for a Vim cheat sheet.
Here's the trick with this... DirecTV Now's shared object file in lib/armeabi/libdrmagent_downloadable_jni.so looks for a few keywords within a few properties. Those properties are:
Code:
ro.build.product
ro.build.tags
ro.build.type
ro.build.display.id
...and the keywords are:
Code:
"release-keys, OnePlus2, OnePlus, Z26CL, STUDIO_C, user" are keywords that it favors, while "cm, cyanogen, cyanogenmod, debug, userdebug, A0001" are disqualifying keywords. Supposedly, "test-keys" is a bad word, too.
In my case, I needed to edit my build.prop to eliminate any sign of the bad words. Example:
Code:
ro.build.display.id=p212-userdebug 6.0.1 MHC19J 20160909 test-keys
to
ro.build.display.id=p212-user 6.0.1 MHC19J 20160909 release-keys
Run through the file and replace anything that says userdebug with user and test-keys with release-keys until you get to "#end build properties" Then save and reboot.
After reboot, install Hide My Root (I used the one from Amphoras) and hide the Su binary. This is where things might be getting tricky for some of you... on the TX5Pro, the SuperUser app is a system installed app, meaning it can't be uninstalled (it can, but it's not exactly a simple task for everyone) so you'll need to go into settings -> apps -> superuser and disable the app from there. Reboot again. Now, with the su binary hidden and the app's manifest not showing up in the system, the error 40 message should go away. This option will allow you to quickly restore su and SuperUser without needing a bunch of additional steps. You'll still need to set the device location service to "battery saving" (or use mock locations) but that's a simple task anyone can figure out.
The app is a choppy on high def feeds for some reason. I can't tell if this is processing/memory issue or a feed (wifi) issue. By default, the app doesn't work on ethernet, meaning you'll have to use wifi until you can fix that issue. But hey, one thing at a time, right? Anyway, I hope this helps anyone with this particular headache.
Thanks for pointing me in the right direction...
Got DirecTV NOW working on my nexus 6 running pure nexus ROM... I just did the edits with super su root and root explorer. Then disabled super su and rebooted.
Now to update the the build.prop files on the lineage os 13.0 nexus 10, and my wife's kltevzw (on ting gsm network) running lineage os 14.1
hi please help i flashed wrong twrp recovery i think now my amlogic smartbox failed to boot in recovery mode and the main problem is my smartbox Encryption Unsuccessful Factory reset, when i click factory reset nothing happend please guide how to solve this
Sent from my SM-N910G using Tapatalk
jameson.donaghy said:
I downloaded the DirecTV Now app on New Year's Eve hoping for $35/cable.
Click to expand...
Click to collapse
Any chance that you tried this out with Data Free TV/"Sponsored Data" with an AT&T wireless account? i.e. running the box through a Cellular Hotspot or tethered to your phone. I've been looking at if one could use one of therse Android TV Boxes to basically get Data Free TV.
my live tv app detect root try with magisk also but no success in my s905x help me guys
Sent from my SM-N910G using Tapatalk
is anyone help me out
Sent from my SM-N910G using Tapatalk
I edited my build.prop files to try and "hide" the root and I still get the error. I also tried root cloak with xposed and still nothing
Thanks so much
This really helped. I used Xposed module to hide those keywords. Worked a charm!

[Xiaomi Mi 6] addonsu - no Root Access option

Hello!
I have recently purchased a Xiaomi Mi 6 and flashed LineageOS Sagit 15.1 along with addonsu-14.1-arm64-signed.zip on it.
My sources where
https://forum.xda-developers.com/mi-...i-mi6-t3754382
https://download.lineageos.org/extras
After installation, I was following these steps to enable root access:
https://www.theandroidsoul.com/root-...-on-lineage-os
But I dont see the option "Root Access" in the developers section. I can only see "Manage Root Access", which is greyed out (I guess because no app has root permissions yet).
Does anyone have an idea why that might be?
Thank you!
BR,
Philipp
P.S.: fyi, I tried to install Magisk as well, but after installation it wouldn't let me boot into system. I always ended up in the default Recovery Mode. Then I switched to addonsu.
So maybe someone knows whats wrong here

Can't find selinux.config

Hi I have Samsung Galaxy j7 core j701F, I'm running magisk on my device and I ran the saftey net test and it failed, while trying to solve this I tried to change selinux state to endorced by editing /etc/selinux.config, but when I opened the folder there was no such file!
When I run getenforce command it gives me "permissive"
Is this a problem and how can I fix it?
Thanks

Categories

Resources