• Introducing XDA Computing: Discussion zones for Hardware, Software, and more!    Check it out!

[KERNEL][PERMISSIVE]Galaxy Tab S3 - SM-T820/T825 permissive kernel

Search This thread

ashyx

Inactive Recognized Contributor
Oct 14, 2012
15,087
9,907
This is a permissive kernel for the the SM-T820 and SM-T825.
There is nothing special about this kernel except it will allow permissive mode. Some apps require it so it may be useful to someone.


Features:
◘ Forced Encryption disabled
◘ DM-Verity disabled
◘ Root restrictions removed
◘ NTFS support << To be added
◘ F2FS support << To be aded

◘ Current build is -XXU1AQD6 (It's preferable to be using the same firmware build or your device may not boot. however the kernel is working with firmware XXU1AQDC)

Issues:
◘ WIFI password forgotten after reboot.


NOTE: Due to Forced Encryption being disabled you MUST remove encryption from the data partition by using the FORMAT DATA button in TWRP. (THIS WILL WIPE ALL YOUR DATA!)

For information how to decrypt see the TWRP thread: https://forum.xda-developers.com/ga...recovery-twrp-3-1-0-1-samsung-galaxy-t3581359



Download (Must be flashed with ODIN)

◘ SM-T820: T820_permissive_boot_AQD6.

◘ SM-T825: SM-T825_permissive_boot_AQD6



IMPORTANT: THIS WILL TRIP THE KNOX COUNTER AND I HOLD NO RESPONSIBILTY FOR WHAT HAPPENS IF YOU DECIDE TO FLASH THIS. ITS UP TO YOU TO MAKE A DEVICE BACKUP WITH TWRP OR HAVE THE STOCK FIRMWARE TO HAND!



Credits: Me, my testers @HUBSi01, @jonathonalexander
Please note I don't own this device and spend a lot of my free time bringing these builds for you to use and benefit from.

FEEDBACK IS APPRECIATED PLEASE.
THANKS.


DONATE ME HERE IF YOU WANT TO BUY ME A BEER OR HIT THE THANKS BUTTON IF I HELPED YOU



.
 
Last edited:

jonathonalexander

Senior Member
Oct 8, 2016
129
12
ashyx,

how can i get my tab S3 back to its original state ?

any advise ?

Download the latest firmware using 'Samfirm'. With this application, you must enter your device name and your region code (in your case SM-T825 and whatever your region code is) . It will give you a 'zip' with four files to flash.

Flash these four files in the latest version of 'Odin' with your tablet in 'Download' mode.
 
Last edited:

ashyx

Inactive Recognized Contributor
Oct 14, 2012
15,087
9,907
No WIFI issue is present on stock. Everything functioning normally.
I thought as much.

OK can you pull the logs with the SYSLOG app on Google play.

Boot with the permissive kernel then connect to wifi (make sure the Neverforget app is disabled)
Post the zip it creates.

I'll see if there's anything to give me a clue.
 

jonathonalexander

Senior Member
Oct 8, 2016
129
12
I thought as much.

OK can you pull the logs with the SYSLOG app on Google play.

Boot with the permissive kernel then connect to wifi (make sure the Neverforget app is disabled)
Post the zip it creates.

I'll see if there's anything to give me a clue.

Hope that is correct.
 

Attachments

  • stocklog.zip
    1.3 MB · Views: 23
  • permissivelog.zip
    817.6 KB · Views: 29

ashyx

Inactive Recognized Contributor
Oct 14, 2012
15,087
9,907
So looking at the logs there is some obvious and expected errors:

Securestorage, this is the root of the problem and seems to be common with custom kernels, the reason we have to bypass secure storage with the build prop edit:


05-07 19:53:55.338 I/SecureStorage( 1188): [INFO]: SPID(0x00000000)Secure Storage Daemon sent config to TA/driver
05-07 19:53:55.338 E/SecureStorage( 1188): [ERROR]:SPID(0x00000000)
05-07 19:53:55.338 E/SecureStorage( 1188): [ERROR]:SPID(0x00000000)
05-07 19:53:55.338 E/SecureStorage( 1188): [ERROR]:SPID(0x00000000)===============================================================================
05-07 19:53:55.338 E/SecureStorage( 1188): [ERROR]:SPID(0x00000000)The kernel binary has been changed.
05-07 19:53:55.338 E/SecureStorage( 1188): [ERROR]:SPID(0x00000000)The platform/kernel binaries should be synchronized for running Secure Storage.
05-07 19:53:55.338 E/SecureStorage( 1188): [ERROR]:SPID(0x00000000)Please use the same version of platform/kernel binaries.
05-07 19:53:55.338 E/SecureStorage( 1188): [ERROR]:SPID(0x00000000)===============================================================================
05-07 19:53:55.338 E/SecureStorage( 1188): [ERROR]:SPID(0x00000000)
05-07 19:53:55.338 E/SecureStorage( 1188): [ERROR]:SPID(0x00000000)

Well Samsung don't provide the code to build the wifi driver with the kernel source if that is what it is referring to, however I'm not sure what it means by 'Synchronized'. If it means kernel version then they should be the same. If it's also referring to the other modules that get built with the kernel I can include them. However I'm not sure that will fix Securestorage.
This does not appear with the stock kernel which should be the same version as the permissive kernel.


Further to this we get some info about the wifi connecting:
05-07 19:54:25.592 D/WifiConfigManager( 1875): Loading config and enabling all networks
05-07 19:54:25.595 D/WifiConfigManager( 1875): loaded 0 passpoint configs
05-07 19:54:25.596 D/WifiConfigManager( 1875): configuration found for missing network, nid=-371054347, ignored, networks.size=1
05-07 19:54:25.597 D/WifiConfigManager( 1875): --- Begin /data/misc/wifi/wpa_supplicant.conf ---
05-07 19:54:25.598 D/WifiConfigManager( 1875): ctrl_interface=/data/misc/wifi/sockets
05-07 19:54:25.598 D/WifiConfigManager( 1875): update_config=1
05-07 19:54:25.598 D/WifiConfigManager( 1875): device_name=gts3lwifixx
05-07 19:54:25.598 D/WifiConfigManager( 1875): manufacturer=samsung
05-07 19:54:25.598 D/WifiConfigManager( 1875): model_name=SM-T820
05-07 19:54:25.599 D/WifiConfigManager( 1875): model_number=SM-T820
05-07 19:54:25.599 D/WifiConfigManager( 1875): serial_number=<private info omitted>
05-07 19:54:25.599 D/WifiConfigManager( 1875): device_type=10-0050F204-5
05-07 19:54:25.599 D/WifiConfigManager( 1875): config_methods=physical_display virtual_push_button
05-07 19:54:25.599 D/WifiConfigManager( 1875): p2p_oper_reg_class=124
05-07 19:54:25.599 D/WifiConfigManager( 1875): p2p_oper_channel=149
05-07 19:54:25.599 D/WifiConfigManager( 1875): p2p_disabled=1
05-07 19:54:25.600 D/WifiConfigManager( 1875): hs20=1
05-07 19:54:25.600 D/WifiConfigManager( 1875): internet=1
05-07 19:54:25.600 D/WifiConfigManager( 1875): interworking=1
05-07 19:54:25.600 D/WifiConfigManager( 1875): okc=1
05-07 19:54:25.600 D/WifiConfigManager( 1875): ss_enc=1
05-07 19:54:25.600 D/WifiConfigManager( 1875): pmf=1
05-07 19:54:25.601 D/WifiConfigManager( 1875): external_sim=1
05-07 19:54:25.601 D/WifiConfigManager( 1875):
05-07 19:54:25.601 D/WifiConfigManager( 1875): network={
05-07 19:54:25.601 D/WifiConfigManager( 1875): ssid="VM8462634"
05-07 19:54:25.601 D/WifiConfigManager( 1875): psk=f918f4a4169180806fcabafad62ffa0e
05-07 19:54:25.601 D/WifiConfigManager( 1875): key_mgmt=WPA-PSK
05-07 19:54:25.601 D/WifiConfigManager( 1875): priority=1
05-07 19:54:25.602 D/WifiConfigManager( 1875): frequency=5220
05-07 19:54:25.602 D/WifiConfigManager( 1875): autojoin=1
05-07 19:54:25.602 D/WifiConfigManager( 1875): scanned_hs20=0
05-07 19:54:25.602 D/WifiConfigManager( 1875): id_str="%7B%22creatorUid%22%3A%221000%22%2C%22configKey%22%3A%22%5C%22VM8462634%5C%22WPA_PSK%22%7D"
05-07 19:54:25.602 D/WifiConfigManager( 1875): usable_internet=1
05-07 19:54:25.602 D/WifiConfigManager( 1875): skip_internet_check=-1
05-07 19:54:25.602 D/WifiConfigManager( 1875): verified_password=0
05-07 19:54:25.603 D/WifiConfigManager( 1875): }
05-07 19:54:25.603 D/WifiConfigManager( 1875): --- End /data/misc/wifi/wpa_supplicant.conf Contents ---

To me it seems the wifi config is being loaded, but according to the previous error Secures storage support isn't running, so how is it reading the wpa_supplicant.conf then I ask?
Also notice the text in red says 'Ignored', ignoring the wifi config?, Also 'verified password=0' not sure if this is the issue I would expect it to be 1.
Now for some reason none of this exists in the log for the stock kernel, did you do anything different?

Going off this info there is something I am going to have a look at and try in another kernel compile. The best idea would be to get secure storage working if possible.

.
 
Last edited:

jonathonalexander

Senior Member
Oct 8, 2016
129
12
@ashyx I didn't do anything different that I know of. Surely that remember password being at 0 is interesting.. Why would it say that
 
Last edited:

ashyx

Inactive Recognized Contributor
Oct 14, 2012
15,087
9,907
@ashyx I didn't do anything different that I know of. Surely that remember password being at 0 is interesting.. Why would it say that

Ok I have recompiled and changed a couple of things. Now because I've changed 2 things, one may negate the other. It all depends how the stock kernel was built.
Give it go,also if you could pull the logs again afterwards.

https://www.androidfilehost.com/?fid=457095661767159394

By the way make sure that the ro.securestorage.support flag is set back to true if it existed.

.
 
Last edited:

jonathonalexander

Senior Member
Oct 8, 2016
129
12

Top Liked Posts

  • There are no posts matching your filters.
  • 10
    This is a permissive kernel for the the SM-T820 and SM-T825.
    There is nothing special about this kernel except it will allow permissive mode. Some apps require it so it may be useful to someone.


    Features:
    ◘ Forced Encryption disabled
    ◘ DM-Verity disabled
    ◘ Root restrictions removed
    ◘ NTFS support << To be added
    ◘ F2FS support << To be aded

    ◘ Current build is -XXU1AQD6 (It's preferable to be using the same firmware build or your device may not boot. however the kernel is working with firmware XXU1AQDC)

    Issues:
    ◘ WIFI password forgotten after reboot.


    NOTE: Due to Forced Encryption being disabled you MUST remove encryption from the data partition by using the FORMAT DATA button in TWRP. (THIS WILL WIPE ALL YOUR DATA!)

    For information how to decrypt see the TWRP thread: https://forum.xda-developers.com/ga...recovery-twrp-3-1-0-1-samsung-galaxy-t3581359



    Download (Must be flashed with ODIN)

    ◘ SM-T820: T820_permissive_boot_AQD6.

    ◘ SM-T825: SM-T825_permissive_boot_AQD6



    IMPORTANT: THIS WILL TRIP THE KNOX COUNTER AND I HOLD NO RESPONSIBILTY FOR WHAT HAPPENS IF YOU DECIDE TO FLASH THIS. ITS UP TO YOU TO MAKE A DEVICE BACKUP WITH TWRP OR HAVE THE STOCK FIRMWARE TO HAND!



    Credits: Me, my testers @HUBSi01, @jonathonalexander
    Please note I don't own this device and spend a lot of my free time bringing these builds for you to use and benefit from.

    FEEDBACK IS APPRECIATED PLEASE.
    THANKS.


    DONATE ME HERE IF YOU WANT TO BUY ME A BEER OR HIT THE THANKS BUTTON IF I HELPED YOU



    .
    3
    @ashyx for Wifi Password Fix look here: github
    2
    This is the one that I used,
    https://www.androidfilehost.com/?fid=817550096634767515

    I have noticed today that Bluetooth will not turn on, I am not sure if that has been this way from the start or not. Haven't used it on this tablet yet. Trying to enable it through the service commands don't work either.

    In case someone else has issues with bluetooth not being able to turn on, and trying to use bluetooth fix apps, and other commands just aren't working. Here is what I did, and also the symptom.
    Detail of problem: If your bluetooth is grayed out, select it to turn it on, it slides over, but remains grayed out. And slides back over to off position after leaving the setting page.
    Do this:
    1. Go to /data/misc/bluedroid directory
    2. rename bt_config.conf and bt_config.bak files, or move them to sd card.
    3. run the following command in step 4 from a terminal, or by connecting to adb shell.
    4. am start -a android.bluetooth.adapter.action.REQUEST_ENABLE
    5. A message will pop up about a bluetooth enable request, agree to that and bluetooth is working.
    1
    @ashyx so I will try that now then.

    tell me exactly what you need me to do, from the beginning.
    1
    @ashyx so I will try that now then.

    tell me exactly what you need me to do, from the beginning.

    Give me a moment and I'll post the stock kernel for you to flash and you can report the outcome.

    https://www.androidfilehost.com/?fid=673368273298952995

    .