[Magisk Rom][T83x] WETA 7.0 [SG4][Sep.11]

Mentalmuso

Recognized Developer
Mar 20, 2012
7,549
8,496
263
Austin
Installed v1.0. Aside from a little hiccups on first boot everything been smooth so far. I hope you get your tab back soon and update to the right base :D

Are you able to compile from source? A thing that've driven crazy in the last few days is the latency problems with bluetooth controller (namely my Switch Pro Controller but it also might have to do with audio device latency, too). It seems that the cause is most likely stemming from bluetooth SSR_MAX_LATENCY value, default to 800ms which is too high and causes the lag. The value resides within' system/bt/bta/include/bta_hh_api.h and the name is BTA_HH_SSR_MAX_LATENCY_DEF 800. Based on what I've been reading around the minimal value which can be used is 24.

I managed to find the hex value in bluetooth.default.so and changed it to 24ms and it has eliminated the latency problem all together. It would be nicer if this can be done from source.

(src: https://www.reddit.com/r/EmulationO...ing_joycon_bluetooth_lag_fix_on_android_play/).
what did you use to search for the value? im not finding it in that .so

[emoji450]
 
  • Like
Reactions: ALLDAT

Mentalmuso

Recognized Developer
Mar 20, 2012
7,549
8,496
263
Austin
Pie root and TWRP

Below is a modified twrp img that will work with pie. I used @ashyx twrp to achieve this.

Root is a custom kernel with security disabled and is permissive. Magisk is pre patched.

1. Flash complete stock PIE using Odin.
2. Boot up fully, connect to internet and open dev settings and check oem unlock is checked.
3. Boot into download mode and flash WETA_Pie_T83x_Root+TWRP.tar in Odin. Don't let it boot to system, boot straight into TWRP.
4. Flash T83x_PIE_encryptdisabler_+++.zip
5. Format data in TWRP
6. Reboot to recovery/TWRP
7. Reboot to system

If boot hangs on Samsung logo for more than 7min then force reboot. It should bootup then.

Downloads - https://nextcloud.justbeca.us/s/t66H4DLXL5DYRss

There's always a chance of getting stuck with the unofficial binaries lockout message. If this happens flash stock Pie AP.tar with Odin. Boot and connect to internet then when you go to dev settings, oem unlock should be present and KG status should be back to checking. Remember this is all a work in progress

Sent from my SM-N9600 using Tapatalk
 

Leeum

Senior Member
Sep 30, 2014
447
123
0
Straya
Pie root and TWRP

Below is a modified twrp img that will work with pie. I used @ashyx twrp to achieve this.

Root is a custom kernel with security disabled and is permissive. Magisk is pre patched.

1. Flash complete stock PIE using Odin.
2. Boot up fully, connect to internet and open dev settings and check oem unlock is checked.
3. Boot into download mode and flash WETA_Pie_T83x_Root+TWRP.tar in Odin. Don't let it boot to system, boot straight into TWRP.
4. Flash T83x_PIE_encryptdisabler_+++.zip
5. Format data in TWRP
6. Reboot to recovery/TWRP
7. Reboot to system

If boot hangs on Samsung logo for more than 7min then force reboot. It should bootup then.

Downloads - https://nextcloud.justbeca.us/s/t66H4DLXL5DYRss

There's always a chance of getting stuck with the unofficial binaries lockout message. If this happens flash stock Pie AP.tar with Odin. Boot and connect to internet then when you go to dev settings, oem unlock should be present and KG status should be back to checking. Remember this is all a work in progress

Sent from my SM-N9600 using Tapatalk
Yew thanks mate. Worked like a charm. Chur :good:
 

Aluyi

Senior Member
Apr 20, 2012
312
116
43
Nuremberg, Germany.
Pie root and TWRP

Below is a modified twrp img that will work with pie. I used @ashyx twrp to achieve this.

Root is a custom kernel with security disabled and is permissive. Magisk is pre patched.

1. Flash complete stock PIE using Odin.
2. Boot up fully, connect to internet and open dev settings and check oem unlock is checked.
3. Boot into download mode and flash WETA_Pie_T83x_Root+TWRP.tar in Odin. Don't let it boot to system, boot straight into TWRP.
4. Flash T83x_PIE_encryptdisabler_+++.zip
5. Format data in TWRP
6. Reboot to recovery/TWRP
7. Reboot to system

If boot hangs on Samsung logo for more than 7min then force reboot. It should bootup then.

Downloads - https://nextcloud.justbeca.us/s/t66H4DLXL5DYRss

There's always a chance of getting stuck with the unofficial binaries lockout message. If this happens flash stock Pie AP.tar with Odin. Boot and connect to internet then when you go to dev settings, oem unlock should be present and KG status should be back to checking. Remember this is all a work in progress

Sent from my SM-N9600 using Tapatalk
5. Format data in TWRP
6. Reboot to recovery/TWRP
7. Reboot to system
If I do this, would there be a system to boot ? Thanks .
 

Aluyi

Senior Member
Apr 20, 2012
312
116
43
Nuremberg, Germany.
Format data, is a separate partition to system so yes

Sent from my SM-N9600 using Tapatalk
Most appreciated your prompt answer....gonna flash right now :good:

---------- Post added at 03:50 PM ---------- Previous post was at 03:37 PM ----------

Format data, is a separate partition to system so yes

Sent from my SM-N9600 using Tapatalk
Would I be asking too much if I ask you for a Deodexed firmware ? If yes I´m sorry for that and I never meant to be rude. Please show me how to if you got the time and wanna, if no, I still appreciate you and thank you for your positve energy. :good:

---------- Post added at 04:43 PM ---------- Previous post was at 03:50 PM ----------

Most appreciated your prompt answer....gonna flash right now :good:

---------- Post added at 03:50 PM ---------- Previous post was at 03:37 PM ----------



Would I be asking too much if I ask you for a Deodexed firmware ? If yes I´m sorry for that and I never meant to be rude. Please show me how to if you got the time and wanna, if no, I still appreciate you and thank you for your positve energy. :good:
Followed your How to, and I got me a rooted Pie SM-T835. You the best Boss:good:
 
  • Like
Reactions: Mentalmuso

Mentalmuso

Recognized Developer
Mar 20, 2012
7,549
8,496
263
Austin
Most appreciated your prompt answer....gonna flash right now :good:

---------- Post added at 03:50 PM ---------- Previous post was at 03:37 PM ----------





Would I be asking too much if I ask you for a Deodexed firmware ? If yes I´m sorry for that and I never meant to be rude. Please show me how to if you got the time and wanna, if no, I still appreciate you and thank you for your positve energy. :good:

---------- Post added at 04:43 PM ---------- Previous post was at 03:50 PM ----------





Followed your How to, and I got me a rooted Pie SM-T835. You the best Boss:good:
Fully deodexed is a real pain in the butt to get to boot. Regardless I never need to do that, my rom always has a deodexed systemui and services.jar.

There will be a full WETA Pie ROM coming in the next day or so once I get some time.

Edit . Why is it you need fully deodexed anyway? Odex/Vdex is a snappier experience. I always deodex the whole system, but never boot it or anything. So I can certainly zip up the deodexed app/priv-app/framework if you want to mess with it yourself.

Sent from my SM-N9600 using Tapatalk
 
Last edited:
  • Like
Reactions: ALLDAT and Aluyi

Aluyi

Senior Member
Apr 20, 2012
312
116
43
Nuremberg, Germany.
Fully deodexed is a real pain in the butt to get to boot. Regardless I never need to do that, my rom always has a deodexed systemui and services.jar.

There will be a full WETA Pie ROM coming in the next day or so once I get some time.

Edit . Why is it you need fully deodexed anyway? Odex/Vdex is a snappier experience. I always deodex the whole system, but never boot it or anything. So I can certainly zip up the deodexed app/priv-app/framework if you want to mess with it yourself.

Sent from my SM-N9600 using Tapatalk
Like you said Boss, I always wanna mess with ´em, I have a Note 9, S9+ S7 edge and Tab S4. I don´t smoke or drink so a brother gotta have some fun just ****in up ****. Forgive my bad French. If you could send it my way:D or I´ll just wait for your beautiful work. I still got some other stuff to **** up, yeah.:good:
 

Mentalmuso

Recognized Developer
Mar 20, 2012
7,549
8,496
263
Austin
Like you said Boss, I always wanna mess with ´em, I have a Note 9, S9+ S7 edge and Tab S4. I don´t smoke or drink so a brother gotta have some fun just ****in up ****. Forgive my bad French. If you could send it my way:D or I´ll just wait for your beautiful work. I still got some other stuff to **** up, yeah.:good:
I'll zip it up later

Sent from my SM-N9600 using Tapatalk
 
  • Like
Reactions: ALLDAT and Aluyi

mintjustin

Senior Member
Dec 9, 2010
158
6
0
what did you use to search for the value? im not finding it in that .so

[emoji450]
The value is only found in source code which is most likely not available. I had to edit the compiled bluetooth.default.so in the lib64 folder. It can be done with a hex editor. I used Hopper Disassembler but there is an android hex editor in playstore that does the job. Make sure you make a backup copy of the file. Here's the post from gbatemp forum that worked for me: https://gbatemp.net/threads/android-joycon-lag.469485/page-5#post-8100210
 
  • Like
Reactions: Mentalmuso

Kholargol

Senior Member
Feb 15, 2008
662
175
0
Paris
Pie root and TWRP

1. Flash complete stock PIE using Odin.
Is step 1. concerning everyone, I mean even people coming from a non rooted/no TWRPed/regular stock PIE ROM updated by OTA? Or is it a way to start with a good base for people with custom ROMS?

I'm asking because I can't use Odin on my computer (Linux user) and don't feel comfortable with Heimdall
 

Mentalmuso

Recognized Developer
Mar 20, 2012
7,549
8,496
263
Austin
Is step 1. concerning everyone, I mean even people coming from a non rooted/no TWRPed/regular stock PIE ROM updated by OTA? Or is it a way to start with a good base for people with custom ROMS?



I'm asking because I can't use Odin on my computer (Linux user) and don't feel comfortable with Heimdall
I'm thinking if you have OTA'd to pie, you will be ok with not doing the first Odin step. But to get twrp on to your device you will still need to is odin

Sent from my SM-N9600 using Tapatalk
 
  • Like
Reactions: Kholargol