[P905 LTE ONLY!][KERNEL][ODIN] STOCK RELOADED | su | busybox | init.d | permissive !

Phreaker47

Senior Member
Aug 1, 2007
219
48
0
Guys!
I have probably found another solution for non-working Screen Mirroring / AllShare Cast when custom kernel is flashed (again, LTE devices only).
No need of modded lib
Seems that the only thing we need is to

1) run Terminal Emulator and type:
Code:
su -c setprop wlan.wfd.hdcp disable
(will work immediately; won't stick between reboots!), OR...

2) edit /system/build.prop file with any root file manager/text editor and add a line (no matter where):
Code:
wlan.wfd.hdcp=disable
(will work only after reboot; will stick between reboots).

Try this using kernel from op ;) waiting for feedback!
That works on my non-LTE Tab S 10.5 also!

TWRP, root, and screen mirroring all working together.
 

gggg

Senior Member
Jun 18, 2012
374
26
0
SM-t705

Guys!
I have probably found another solution for non-working Screen Mirroring / AllShare Cast when custom kernel is flashed (again, LTE devices only).
No need of modded lib
Seems that the only thing we need is to

1) run Terminal Emulator and type:
Code:
su -c setprop wlan.wfd.hdcp disable
(will work immediately; won't stick between reboots!), OR...

2) edit /system/build.prop file with any root file manager/text editor and add a line (no matter where):
Code:
wlan.wfd.hdcp=disable
(will work only after reboot; will stick between reboots).

Try this using kernel from op ;) waiting for feedback!
I want to go with 2) but can you please describe what you mean with "will stick between reboots" ... only on 1st reboot or on every further reboot and for how Long ?
 

THEDEVIOUS1

Senior Member
Nov 26, 2009
808
928
0
Works on exynos devices...at least the tab s anyway

Guys!
I have probably found another solution for non-working Screen Mirroring / AllShare Cast when custom kernel is flashed (again, LTE devices only).
No need of modded lib
Seems that the only thing we need is to

1) run Terminal Emulator and type:
Code:
su -c setprop wlan.wfd.hdcp disable
(will work immediately; won't stick between reboots!), OR...

2) edit /system/build.prop file with any root file manager/text editor and add a line (no matter where):
Code:
wlan.wfd.hdcp=disable
(will work only after reboot; will stick between reboots).

Try this using kernel from op ;) waiting for feedback!
i just wanted to confirm that this in fact works on exynos devices as well as it has been tested by myself personally & confirmed by a few other users in the Tab S forum....thx for your efforts in figuring this out for all of us

I want to go with 2) but can you please describe what you mean with "will stick between reboots" ... only on 1st reboot or on every further reboot and for how Long ?
just to clarify...the second method will work on every further boot until u either emove the line or flash a stock odin image which will replace the entire build.prop
 
Last edited:

gggg

Senior Member
Jun 18, 2012
374
26
0
...just to clarify...the second method will work on every further boot until u either emove the line or flash a stock odin image which will replace the entire build.prop
THX, but I ran into a problem...
I tried the line at the end of /system/build.prop file but now it is stuck in the boot screen (showing Samsung Galaxy TabS SM-T705 powered by adroid). I just get out of this by booting into TWRP and using the original build.prop.

Even if I make the line a comment by adding a "#" at the beginning it will not boot. Can it be that the problem comes from my copying the file and not editing the original (permissions of the coppied file are RW RW RW) or because I renamed the original (to keep it) to "build.proporg" ?

EDIT: I is working now, after redoing it all over again. I have no idea why ist working now ....
 
Last edited:

THEDEVIOUS1

Senior Member
Nov 26, 2009
808
928
0
THX, but I ran into a problem...
I tried the line at the end of /system/build.prop file but now it is stuck in the boot screen (showing Samsung Galaxy TabS SM-T705 powered by adroid). I just get out of this by booting into TWRP and using the original build.prop.

Even if I make the line a comment by adding a "#" at the beginning it will not boot. Can it be that the problem comes from my copying the file and not editing the original (permissions of the coppied file are RW RW RW) or because I renamed the original (to keep it) to "build.proporg" ?

EDIT: I is working now, after redoing it all over again. I have no idea why ist working now ....
Yep...That's the problem. The permissions MUST be changed back to the original 0644 (rw-r--r--) or it won't boot...why don't u just flash my SuperSamsung V2 rom which had the fix already baked in?
 
  • Like
Reactions: RaSand and gggg

gggg

Senior Member
Jun 18, 2012
374
26
0
THX, but I am still on my way from a noob to an "experienced noob" ;) so it will take a while until I go the next step ;)
 
Last edited:

ColBill

Senior Member
Apr 6, 2012
265
106
0
Anaheim, CA
Yep...That's the problem. The permissions MUST be changed back to the original 0644 (rw-r--r--) or it won't boot...why don't u just flash my SuperSamsung V2 rom which had the fix already baked in?
Thanks for all your great work on the the Tab 7.7. Quick question are you saying we can flash your SuperSamsung V2 ROM on a P905 or am I just a hopeful note pro 12.2 user?:fingers-crossed:
 

rodpp

Senior Member
Sep 30, 2008
55
17
0
Rio de Janeiro
Thank you for sharing your work!

I am a noob using your kernel but it seems (to me as a noob!) that it is not "fully" Permissive. Some observations:

1- After a reboot the Kernel in System Properties is Permissive and the Terminal return to the getenforce command is Permissive too. But if I run the command "setenforce 0" the getenforce command return Enforced forever, mo matter what I do.

2- If I try to start a server using the Servers Ultimate Pro, for example PHP+lighthttp, I get a Permission denied when the app try to start PHP or lighthttp. After changing the "permission" of PHP, lighthttp and busybox using a command like:

Code:
chcon u:object_r:system_file:s0 /data/data/com.icecoldapps.serversultimate.packc/php/php
the servers starts ok.

3- When trying to run a Linux image using the Linuxonandroid (http://sourceforge.net/projects/linuxonandroid/) the script return access denied. But running the scripts commands direct in the terminal, it runs without problems.

If someone could explain why these permissions errors are occurring (and how to fix) I appreciate it.

Regards,
Rodrigo.
 
Last edited:

rodpp

Senior Member
Sep 30, 2008
55
17
0
Rio de Janeiro
Thank you for sharing your work!

I am a noob using your kernel but it seems (to me as a noob!) that it is not "fully" Permissive. Some observations:

1- After a reboot the Kernel in System Properties is Permissive and the Terminal return to the getenforce command is Permissive too. But if I run the command "setenforce 0" the getenforce command return Enforced forever, mo matter what I do.

2- If I try to start a server using the Servers Ultimate Pro, for example PHP+lighthttp, I get a Permission denied when the app try to start PHP or lighthttp. After changing the "permission" of PHP, lighthttp and busybox using a command like:

Code:
chcon u:object_r:system_file:s0 /data/data/com.icecoldapps.serversultimate.packc/php/php
the servers starts ok.

3- When trying to run a Linux image using the Linuxonandroid (http://sourceforge.net/projects/linuxonandroid/) the script return access denied. But running the scripts commands direct in the terminal, it runs without problems.

If someone could explain why these permissions errors are occurring (and how to fix) I appreciate it.

Regards,
Rodrigo.
I compiled the kernel to enable the setenforce command and now all this problems are fixed after "setenforce 0".

So it really seems that there was some selinux working, although the getenforce command was returning "Permissive".

Sent from my SM-P905M using Tapatalk
 

ntt

Senior Member
Nov 18, 2006
107
9
38
Guys!
I have probably found another solution for non-working Screen Mirroring / AllShare Cast when custom kernel is flashed (again, LTE devices only).
No need of modded lib
Seems that the only thing we need is to

1) run Terminal Emulator and type:
Code:
su -c setprop wlan.wfd.hdcp disable
(will work immediately; won't stick between reboots!), OR...

2) edit /system/build.prop file with any root file manager/text editor and add a line (no matter where):
Code:
wlan.wfd.hdcp=disable
(will work only after reboot; will stick between reboots).

Try this using kernel from op ;) waiting for feedback!
It works very well on my note 3neo lte n7505 too :fingers-crossed::good:
 

koopg

Senior Member
Jan 5, 2013
85
6
0
p905 bricked

hi this is just a bit off topic

I need helpppppppppppppppppppppppppppppp

I was trying to change stock rom region ( to enable lte )
1. I download p905 UK from samobile and odin3.09 from the same page.
2. I reboot in to download mode
3. unzip the file downloaded ( 1x md5 file )
4. place it in odin PDA Box.
5. make sure only f.reset and auto reboot is checked
6. hit start,
7. 10 -20 minuets late I get a RED Fail (size)

I repeat this step few times from different computer and with different rigron stock roms with same result.

my tab can not be turn off it will loop boot in to emergency alert
"firmware upgrade encountered an issue"

I can not get in recovery mode
I can only boot in to download mode , how ever any re install it end up in same result.
+ my Knox warranty void ( how, why ? )

some guy in the forum gave me 2 different bootloader files for p905
I am not sure what I am suppose to do with that.
as I have mention before the device will not turn off and kind of stuck in download mode
so charging it can not be done .
its been 10 7 hours that my tab is open and screen is on
I am afraid I will run out of battery in a middle of my next try.

Please Please Help
I won't mind "donating money" for a wining answer helpppppppppppppppppppppppppppppp.

---------- Post added at 11:06 AM ---------- Previous post was at 10:18 AM ----------

hi this is just a bit off topic

I need helpppppppppppppppppppppppppppppp

I was trying to change stock rom region ( to enable lte )
1. I download p905 UK from samobile and odin3.09 from the same page.
2. I reboot in to download mode
3. unzip the file downloaded ( 1x md5 file )
4. place it in odin PDA Box.
5. make sure only f.reset and auto reboot is checked
6. hit start,
7. 10 -20 minuets late I get a RED Fail (size)

I repeat this step few times from different computer and with different rigron stock roms with same result.

my tab can not be turn off it will loop boot in to emergency alert
"firmware upgrade encountered an issue"

I can not get in recovery mode
I can only boot in to download mode , how ever any re install it end up in same result.
+ my Knox warranty void ( how, why ? )

some guy in the forum gave me 2 different bootloader files for p905
I am not sure what I am suppose to do with that.
as I have mention before the device will not turn off and kind of stuck in download mode
so charging it can not be done .
its been 10 7 hours that my tab is open and screen is on
I am afraid I will run out of battery in a middle of my next try.

Please Please Help
I won't mind "donating money" for a wining answer helpppppppppppppppppppppppppppppp.
[update]
I install the bootloader
the device is alive again. however
I have tones of alerts and error.
I think that my knox is void and it cousing the proplem .
plus the stock rom rigeon I was trying to install sis not work.
So I will try again and see what happens.

any suggestion would be great

is there any way to reset knox ?
 

esgie

Senior Member
Feb 17, 2013
333
176
43
Not really, as the kernel has been created by repacking the genuine one only (and not by compiling it from scratch). That means that the possibilities of implementing further custom improvements are really narrow. Also, take note that rodpp compiled the kernel with "setenforce" working out of the box.

Adding some "real" custom features won't be possible without compiling the kernel from source, and we (p905 users) still wait for some brave dev who will manage to do it ;)
 
  • Like
Reactions: firegras

nastyboy2

Member
Jul 6, 2011
18
1
0
St Louis
Guys!
I have probably found another solution for non-working Screen Mirroring / AllShare Cast when custom kernel is flashed (again, LTE devices only).
No need of modded lib
Seems that the only thing we need is to

1) run Terminal Emulator and type:
Code:
su -c setprop wlan.wfd.hdcp disable
(will work immediately; won't stick between reboots!), OR...

2) edit /system/build.prop file with any root file manager/text editor and add a line (no matter where):
Code:
wlan.wfd.hdcp=disable
(will work only after reboot; will stick between reboots).

Try this using kernel from op ;) waiting for feedback!
Thanks I've been fighting with this all day. Even did a factory reset. Editing build.prop worked for me. Just a note I think that you will need the paid version of root explorer to edit the file.
 

esgie

Senior Member
Feb 17, 2013
333
176
43
Thanks I've been fighting with this all day. Even did a factory reset. Editing build.prop worked for me. Just a note I think that you will need the paid version of root explorer to edit the file.
Guess you can do such a things with ie. Total Commander and many more for free :)
 

Shindsu

Member
Jun 16, 2013
37
2
0
Haverhill
Guys!
I have probably found another solution for non-working Screen Mirroring / AllShare Cast when custom kernel is flashed (again, LTE devices only).
No need of modded lib
Seems that the only thing we need is to

1) run Terminal Emulator and type:
Code:
su -c setprop wlan.wfd.hdcp disable
(will work immediately; won't stick between reboots!), OR...

2) edit /system/build.prop file with any root file manager/text editor and add a line (no matter where):
Code:
wlan.wfd.hdcp=disable
(will work only after reboot; will stick between reboots).

Try this using kernel from op ;) waiting for feedback!
Hi is it possible to do something similar, but to disable it for DVI monitors support?
 
Our Apps
Get our official app!
The best way to access XDA on your phone
Nav Gestures
Add swipe gestures to any Android
One Handed Mode
Eases uses one hand with your phone