[TOOL/UTILITY][TWRP][3.2][RECOVERY] TWRP 3.2.1-0 TeamWin Recovery Project

Mike02z

Senior Member
Feb 3, 2012
1,952
794
0
Greenville, SC
Can you post kmsg from recovery. Shortly after booting twrp do adb shell cat /proc/kmsg > /sdcard/kmsg.txt and post the results.

When I run that command from my PC while in TWRP via adb shell I get the following error:

"The system cannot find the path specified"

adb sees the device and sees it is in recovery so not sure why it is not working via adb shell.

If I run it from a terminal command in TWRP. Here is the output.
 

Attachments

bigbiff

Senior Recognized Developer
Jun 8, 2010
6,791
6,777
243

tatuk

Senior Member
Mar 20, 2011
189
16
0
Toronto
Installed TWRP 2.7.0.1, it works like a charm, thanks to bigbiff and the team. It doesn't recognize exFAT, it's understandable, I've read the explanation on the team site.
Let's wait until some developers ignore M$ copyrights crap :)
 

bigbiff

Senior Recognized Developer
Jun 8, 2010
6,791
6,777
243
Installed TWRP 2.7.0.1, it works like a charm, thanks to bigbiff and the team. It doesn't recognize exFAT, it's understandable, I've read the explanation on the team site.
Let's wait until some developers ignore M$ copyrights crap :)
It has exfat support, just trying to work on getting selinux enforcing turned off.

Just to make sure, can someone use adb shell "setenforce permissive" and try a backup to exfat sdcard?
 

Duly.noted

Senior Member
Dec 5, 2013
506
114
0
Hmmm using this I wonder if it is possible to unroot and then reroot relatively quickly

Sent from my SCH-I605 using XDA Premium 4 mobile app
 

esgie

Senior Member
Feb 17, 2013
333
176
43
Well, in P905 i made a repacked kernel (or a serie of repacked kernels...) with a lot of changes (well-known, less well-known, and my own as an experiment) which target was to make goddamn selinux state to permissive.
No success.
Is it possible that sammy forced the enforcing state withing kernel zImage itself?
 

bigbiff

Senior Recognized Developer
Jun 8, 2010
6,791
6,777
243
Well, in P905 i made a repacked kernel (or a serie of repacked kernels...) with a lot of changes (well-known, less well-known, and my own as an experiment) which target was to make goddamn selinux state to permissive.
No success.
Is it possible that sammy forced the enforcing state withing kernel zImage itself?
It seems no matter what @Mike02z cannot get it set in the kernel I compiled from samsung sources. I even tried to set the boot options in the kernel to set permissive to nothing. Modifying sysfs results in enforcing too. Sometime today I hope to pull out SELINUX and see if that helps while retaining security labels.
 

Duly.noted

Senior Member
Dec 5, 2013
506
114
0
You can restore your nandroid of stock rom and then flash stock recovery with odin.
What im wanting to do it use su to unroot and clean up so screen mirroring will work then immediately be able to reroot without going to a computer. I know many versions of twrp support the ability to root a firmware directly from twrp.

Sent from my SCH-I605 using XDA Premium 4 mobile app
 
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