yashsingh1/xdaforums huggingface dataset:
[MTCB Android Head Units Q&A] kvantum:
Just so we're clear, here's what I'm implying you should do:

You don't do any CANBUS signal translation. Let the CANBUS decoder do that for you. Decoder picks out the signals from the buttons, translates them into serial, and sends three over the serial line. All you have to do is capture the serial signal, filter out the two repeats, and pass one signal on to the HU.

You're talking about hooking up to CANBUS itself. Trust me that's complexity 10 levels higher.
[MTCB Android Head Units Q&A] kvantum:
Since we can't embed images into comments:
[MTCB Android Head Units Q&A] Hein3G:
Thanks for the diagram [MENTION=4443705]kvantum[/MENTION], i might have been getting ahead of myself. Trying to figure out the CANBUS got me all excited.

Your solution is much simpler, so I'll give that a bash. Might look at interpreting the CANBUS signal for interest sake at a later stage.

Thanks again!
[MTCB Android Head Units Q&A] Hein3G:
I assume that you'll use a library to assign a Tx and RX function to two of the other digital I/O pins on the board or is it possible to use the Tx and Rx connections in the mini-USB when it's not conneced to the PC? Basically making a purpose built USB cable that will supply power as well as transfer the serial data to the HU?
[MTCB Android Head Units Q&A] Hein3G:
[MENTION=4443705]kvantum[/MENTION] Ok, i've been doing quite a bit of reading regarding how the arduino works and the programming behind it.

What i also gathered is the what the CANBUS Decoder is basically a LIN Bus interface between the CAN and the HU, that interprets the CAN+ and CAN- signal into a header and a response that in turn is sent over the Tx & Rx connections to the HU. (Please correct me if i'm wrong)

I still have a lot to read up on, but i'm grasping the basics and will hopefully get to the programming soon.

Once i've seen what the signal from the Decoder looks like, i'll understand better what info will have to be filtered for the "repeat code".
[MTCB Android Head Units Q&A] kvantum:
Arduino has pins directly connected to the serial line (TX and RX, digital pins 0 and 1)

For second serial port, you can use SoftwareSerial library https://www.arduino.cc/en/Reference/SoftwareSerial

So no need for custom USB cable. Just connect directly to the pins.

Last time I was able to tap into the serial port by running SSHDroid, connecting from a laptop to a linux shell, and I think I was able to read the serial ports using tail -f /dev/ttySx

There were a few ports last time I checked, just start pushing SWC buttons and see which port will give you some output

If I have time I can try it again and tell you exactly what I did
[MTCB Android Head Units Q&A] Hein3G:
Thanks for the advise. I have read up a little on using the softwareserial library, but still have a few things to make sense of. I would like to try figure it out for myself, but will appreciate any help if i get stuck. I'm not familiar with the "-f /dev/ttySx" you mentioned, but will read up on it.
[MTCB Android Head Units Q&A] kvantum:
linux "tail" command outputs last 10 lines of a file

tail -f monitors a file and outputs any additions

/dev/ttySx (where x is a number) is a way to express serial ports

so COM1 would be /dev/ttyS0, COM2 = /dev/ttyS1 etc

so with

tail -f /dev/ttyS0

you can monitor the serial port COM1 for any new activity. When you hit a button, if you're listening to the right serial port you will see the signal
[MTCB Android Head Units Q&A] Hisma:
Great info in this thread. Even though my CANBUS is working, I'm interested in learning how it works.
[MTCB Android Head Units Q&A] hugovw1976:
Do you able to read the serial port?

I try to read with arduino but only have random symbols (like if have wrong baud rate)

Right now I'm capable of replicate canbus message with and arduino and send info to the can module decoder in order to see all information on vehicle apk (and door status). but I want to send direct commands from arduino via seral.

Any advice?

Thanks.
[MTCB Android Head Units Q&A] JeeBee87:
Small contribution

Hello everybody, just a small contribution to this SWC repeat issue.

I've mounted a arduino nano between the canbus box decoder and the HU according to the schematics above.

After several tests I find out the serial communication configuration:

Baudrate is 38400

8 datas bits

No parity

2 stop bits.

Then I found out how are done the commands between decoder box and HU, it's two 6 bytes datas (one for the command, and the other as acknowledge (I suppose)). It's not ASCII char so it's not possible to display it directly on a serial monitor, what I have done is to print the byte not as character, but as number in decimal. With this method I've found what are the main commands (VOL +, VOL -, etc..) sent by the SWC.

For example, to increase the volume (VOL+) the box send 46, 32, 2, 1, 1, -37 (command) then 46, 32, 2, 0, 0, -35 (acknowledge).

This command is sent 2 or 3 times, that cause the issue.

I've made a small Arduino's program who filter this commands and now I don't have this repetition anymore.

Still have some side effect, for example when I open the door, I receive a Mute command, I have to work a little bit on the program to avoid all this small problems.

If somebody wants the program, or the command liste I've made, no problem, just let me know.

Regards.
[MTCB Android Head Units Q&A] dhmsjs:
Just FYI the format is

46 = packet start byte

32 = packet command byte

2 = data byte count (# of data bytes that follow)

(data bytes)

checksum byte = bit complement of the sum of all prior bytes in the packet except the start byte
[MTCB Android Head Units Q&A] valk791:
Hi guys i would ask your help. I have an Alfa Romeo Giulietta, Installed in the dash a nexus 7 2013 and I want use the steering wheel buttons. The car use the protocol is 15765-4 29bit and I have on Bluetooth obd reader. Can you please help me out? Thanks in advance.

Inviato dal mio FRD-L09 utilizzando Tapatalk
[MTCB Android Head Units Q&A] mattj949:
I'm interested in doing this myself. I was originally going to just make my own canbus decoder using Arduino, but this seems like a simpler solution. There is too much data going back and forth on the CAN, and I'm just trying to fix some badly mapped steering wheel controls.

I can't use the Key 1 and 2 wires because my SWC goes through a LIN bus and does not use resistive button values.
[MTCB Android Head Units Q&A] Pradip2626:
Sir, i need the program and list of commands, can you help me ? Mail me omcarent@gmail.com
[MTCB Android Head Units Q&A] Pradip2626:
Did you able to crack it ?
[MTCB Android Head Units Q&A] rafaGTI:
Hello, I have been trying for days to send the communication frames corresponding to the steering wheel buttons to my Android 2DIN with Arduino UNO by UART, but I have not been successful. The seller gave me some information but reading this post I see that he did not give me the complete information. Some of it matches so I would like to know how you solved it or if you can share the code (IDE). I would be very grateful.
[MTCB Android Head Units Q&A] darkspr1te:
source code for H/U to canbox interaction including protocol decoding,

https://github.com/darkspr1te/canbox

please note this software was not developed by me but i have since improved on it, i will upload my updated code soon when personal time allows me to dig up the hdd with it on (had a few system failures in past year) but this code covers both he headunit to canbox interactions and canbox to car interactions, a basic knowledge of OBD protocols helps, please note that the code is designed to work with existing boxes but diy options are easy as the code supports BCAN and SPI CAN so using a bluepill and canbus interface chip (eg tja1050) or bluepill and spi canbus chip.
[P3300, MDA Compact III  upgrading etc.] Lesaumon:
Hello,

je suis novice et je tente mon premier flashage sur p3300 (sous windows XP).

j'ai téléchargé la ROM Aje_fr 1.50 et j'ai dézippé tous les fichiers.

J'ai lancé start_uspl et j'ai bien un écran DOS mais avec une succession de lignes qui indiquent fichier non trouvé

Le P3300 redémarre et rien ne s'est installé... enfin ça se termine avec une erreur 204 !!!!!

Quelqu'un peut-il m'aider please
[P3300, MDA Compact III  upgrading etc.] Cuppie:
??????????

Learn to write in English please so everybody can read it. Maybe it helps to get a proper answer.
[P3300, MDA Compact III  upgrading etc.] petervbeck:
wrong language

Yes, a french thread is not very useful for others. My english isn't really good,

but here we want to help each other in a unique language...
[P3300, MDA Compact III  upgrading etc.] baboon99:
Looks like our french friend is trying to unlock his artemis using uspl but is getting a Dos box saying file not found error 204.

I have used this no problems

Lesaumon,

Have you read the pdf manual....its all in there.

Make sure u are connected via activesync, if not it will not work.

Also make sure you unzip all the files to a folder on your pc.

G
[P3300, MDA Compact III  upgrading etc.] Lesaumon:
Tks baboon

yes i have read the PDF manual and i've done exactly what's written in it.

Do i need to unzip all the files in the same folder ?

In fact i have a first folder with with a first RUU a RUURessource dll and then 2 other folders with the Artemis USPL and EnterBootloader folder.

Do i copy all the files in the same folder ?

Tks for your help guys
[P3300, MDA Compact III  upgrading etc.] baboon99:
Yes you need to unzip all the files, thats probably why you are getting the errors.
[P3300, MDA Compact III  upgrading etc.] karabey:
Thats a Problem.. The French people should accept that the World Language is English..not French.
[LG Optimus G Pro] jkneon:
Hi,

I installed CloudyG3 rom today and phone is not starting nor going into download mode.

I have LG Optimus G Pro E980 AT&T

I want to be sure that v10k is a factory image ?

AT&T E980AT V10k

And how to go into download mode because I tried many times and still black screen.

Regards.
[LG Optimus G Pro] hawkwind212:
Take the battery off, then hold both volume and power buttons together simultaneously, now plug the USB cord into your device, then connect the other end to the computer. The download screen may come on. Once the download mode comes on, put the battery back in and proceed as before. If this method doesn't work for you, try other combination such as holding both vol + pow buttons with the cord already plug into both phone and computer. Keep trying and you will get to it eventually.
[LG Optimus G Pro] jkneon:
I have done both method and nothing happend.
[LG Optimus G Pro] battlekaier:
Hold volume up and down and plug in your micro usb cable while it connected to computer. Your in download mode but it doesnt show. I had the same issue. Then flash your kdz/tot. It will work so dont worry
[LG Optimus G Pro] jkneon:
How to flash because its not going into recovery mode. I have downloaded the tot file from this link : http://xdaforums.com/showthread.php?t=2438088
[Nexus 5 Q&A, Help & Troubleshooting] Ownagecat:
While rooting my nexus my phone went into a TWRP loop of "/unable to mount data". I went to browse around online to look for a solution. This link suggested I install clockwork mod which I did. This made my phone somehow unable to be recognized by my computer. I spend the next 3 hours uninstalling drivers and reinstalling them (SDK included) and nothing works. My computer refuses to acknowledge my phone anymore. My phone claims on bootloader screen that it is still unlocked, and so I have hope for some sort of solution. I looked at a few other methods like the "LG flash tool" but my phone wouldn't go into download mode. I am able to wipe the cache but I can't wipe my data because supposedly it cannot be mounted. I am not sure if I can flash anything at all, clockwork can work but how do I get any files on my phone without bootloader? My phone is on marshmallow and I am not in an economically sound position to buy a new phone. I can provide pictures of my situation if that helps at all.

Any suggestions?
[Galaxy Tab S2 General] ashyx:
4.6 What's new:

We are the first one can root Android 5.1 - 6.0(Especially for 5.1), enjoy it !

Add Russian, Spanish, Portuguese, Hindi and Indonesian five languages

New software architecture, decrease RAM consuming

Enhance Root core, active protecting apps

Upgrade Auto-start and Uninstall tool

http://xdaforums.com/android/apps-games/one-click-root-tool-android-2-x-5-0-t3107461
[Galaxy Tab S2 General] squito:
I tried it on the Verizon version of the Tab s2 (t817v) it says there is a method but it fails :( maybe one day
[Galaxy Tab S2 General] Rhodesfreak:
Is it working with the sm-t710?
[Galaxy Tab S2 General] ashyx:
No need to ask just try. ;)
[Galaxy Tab S2 General] Willy318is:
SM-T710 Root failed

King Root App

Will try the Desktop version later and report back
[Galaxy Tab S2 General] Willy318is:
UPDATE:

Desktop Root App still failed to Root S2 T710

as of 12-13-2015

Regards
[Galaxy Tab S2 General] rredlin:
Everyone that does not have root on there T817A (at&t) try this (kingroot app) then it will add up the number of ppl looking for root, as of today, there are only 10 ppl submitting a request....Im sure the more that request it, via the app then they will concentrate on the root

thanks
[Galaxy Tab S2 General] norbertix:
T710 not working with king root app
[Galaxy Tab S2 General] Electroman789:
Latest apk

As of 12.25.15, no root for our SM-T817V :crying:

55 requests including mine
[Galaxy Tab S2 General] teflon79:
KangoRoot

Any confirmation if it works on the 817T?
[Galaxy Tab S2 General] Depressed T.Bear:
Latest version '4.6.5 beta2' failed to root T810 (latest 5.0.2). And I'm the one and only atm with a research request ? ...
[Galaxy Tab S2 General] InsayneShane:
FAILED on SM-T817W (ROGERS)
[Galaxy Tab S2 General] d0cx:
Still waiting for T817A
[Galaxy Tab S2 General] Phurkus:
Is it working for SM-T810?

Just bought it today
[Galaxy Tab S2 General] AmberLynn:
Not for me (5.0.2),

best regards

Amber
[Galaxy Tab S2 General] Depressed T.Bear:
Wow... I'm wondering why people dont even read some posts above before asking such questions... really, 3 (!) posts above was your answer...

Makes me just feel like this:
[Galaxy Tab S2 General] Peter Bakker:
Here same result, no root ,did request.
[Galaxy Tab S2 General] ducats:
Confirmed working on T817V. Just remember guys, this is temp root only. Don't expect it to function like other root methods.
[Galaxy Tab S2 General] krawhitham:
rootking 4.8 failed on t810 running oh7 5.1.1

Claims I'm the 1st to request research
[Galaxy Tab S2 General] mac231us:
failed on T715Y 5.0.2
[Galaxy Tab S2 General] le0.br4zuc4:
Too bad. I got excited for a min there. I also have vzw tab s2 and wanted to get it rooted
[Galaxy Tab S2 General] ashyx:
Dont give up at the first go. Sometimes it takes several tries.
[Galaxy Tab S2 General] rredlin:
v 4.8.1 rooted my ATT T817A until I reboot! hope they can fix that soon, I'm shocked it worked at all.

would I be able install TWRP, like this?
[Galaxy Tab S2 General] ashyx:
No it will brick ur device.

If you are running 5.0.2 you can convert to supersu.

Also you may be able to convert to Kingoroot now you have root if you are 5.1.1. Maybe that will stick?

Before messing though make a full backup of your device with Efs pro.
[Galaxy Tab S2 General] rredlin:
ok, will install Efs pro and make a back up to my pc, when I get home trmw.

then install Kingoroot, and see how that does with retaining root.

too bad about TWRP, I was looking forwards to have xpossed framework flashed so I could use wanam to customize the daylights out of this tab!

why do you think it won't stick with kingroot?

did you even think root would happen on the AT&T T817A 5.1.1 ?

thanks for your advice!
[Galaxy Tab S2 General] ashyx:
No idea why kingroot doesn't stick. Maybe knox or probably selinux policy blocking it, this is why Chainfire patches it. Check with root validator to see what's missing.

You can still install xposed. Install it with Flashfire.

However ensure you install the correct version or potential bricking may occur, so get that backup first.
[Galaxy Tab S2 General] rredlin:
ok, so installed root validate and it had 2 issues...

do you think SELinuxModeChanger app would fix one of these issues?

edit: what a twisted piece of pie! needs root to disable selinux, however the tab losses root on reboot, the app needs to reboot after the change to set it.
[Galaxy Tab S2 General] ashyx:
Is that before or after root stops working? There is no issue there as far as I can see.

Need to see the result after reboot and root stops working.

Also you won't be able to change selinux modes unless you have a kernel that allows it or install a permissive kernel. You don't need to reboot to change modes either it's instant.
[Galaxy Tab S2 General] rredlin:
that one is while root is working, the one that is after a reboot, shows all yellow, no root, and no busybox, and no SU.

I thought that selinux was causing me to loss the root? It looks like everything is just gone! like selinux wiped it out on reboot. i am going to still type in a term script to stop it. i found it here....

http://xdaforums.com/xposed/how-to-set-selinux-to-permissive-boot-t3034245/page2

Also flashfire is looking for SU or CM SU, it doesn't recognise the Kingroot SU, and i'm not sure how to get around that.

still trying to figure out the efs pro, it doesn't find my tab while connected and in download mode, but the PC sees it.....

I'm just so excited to have root, want to make it perm, so we can theme and tweak!
[Galaxy Tab S2 General] ashyx:
Yep flashfire requires supersu. Something you can't have on 5.1.1 or you'll boot loop.

Efs pro needs adb drivers installed and usb debugging enabled in development settings.

Make sure your device is detected by adb by doing ADB DEVICES in terminal.

Also that script you refer to won't work. Samsung forces selinux to enforcing in 5.1.1 and cannot be changed without a modified kernel.
[Galaxy Tab S2 General] rredlin:
You can still install xposed. Install it with Flashfire.

However ensure you install the correct version or potential bricking may occur, so get that backup first.

so I cant have it after all!

I will check the drivers and verify its seen by adb

yeap found out the script is useless.......

Back in the same boat! root is only temporary......
[Galaxy Tab S2 General] ashyx:
Did you try Kingoroot?
[Galaxy Tab S2 General] rredlin:
Yes, for the past 5 hours......

i tried kingoroot app version

then the PC version

then kingroot PC version

none were able to root the Tab, and yet the kingroot 4.8 app can root this tab, not always on the 1st try, but by the 3rd for sure.... i've tried removing the kingoroot su files, i tried renaming them, and then updated SU, but every time, it wants me to use TWRP to update the binaries, and or once i reboot i loss root!

this is very frustrating....
[Galaxy Tab S2 General] chuandinh:
We can get temp root with kingroot 4.8 (lose root after a reboot). I guess we have to flash the permissive kernel to keep permanent root. But again this will trip the KNOX.

Those who have 5.0.1 may be ok.
[Galaxy Tab S2 General] ashyx:
Are rooting with kingOroot when you already have root or without root?

You need to get root first with kingroot then root again with KingORoot .

Kingroot may attempt to block it, but you could follow the procedure I posted to replace it with SuperSU, but replace it with KingORoot instead.

Dont try and replace it with supersu unless you want a bootloop.
[Galaxy Tab S2 General] rredlin:
kind sir. where is this procedure posted? i will attempt it tonight after work.

thanks
[Galaxy Tab S2 General] rredlin:
can you please tell me where is the procedure to swap ssu with kingorootsu?

thanks
[Galaxy Tab S2 General] ashyx:
http://xdaforums.com/showthread.php?t=3129484

Follow steps 3 to 8.

However you will need to modify the script to run kingoroot at the end instead of supersu or when supersu runs cancel it and then start kingroot from the terminal window.

The other option is to remove kingroot first by using its uninstaller then try and root with Kingoroot.

http://xdaforums.com/showthread.php?t=3152410
[Galaxy Tab S2 General] mankvl:
Any progress on getting the root to work and not trip knox?
[Galaxy Tab S2 General] mac231us:
ROOTED T715Y 5.0.2 (wish had this available earlier)

just confirmed...rooted T715Y 5.0.2 (had restored back to stock twice flashed 2 firmwares through odin, factory reset all clean but of course knox tripped once from an earlier flash of twrp recovery--then used supersu from chainfire (the experimental one that works on some 5.1.1)-not the cfroot)

well now on a clean unrooted stock....4.8.1 apk version of kingroot worked...rooted verified by root explorer
[Galaxy Tab S2 General] mankvl:
And after reboot ur still rooted? I just flashed cfroot yesterday and tripped Knox :D

Išsiųsta naudojantis SM-T710 Tapatalk 4 Lt
[Galaxy Tab S2 General] mac231us:
Sorry did not return to edit..yes root lost on rebooot
[Galaxy Tab S2 General] iiKingofQueens:
It has lag

Well It worked and it rebooted I tried to check if I had root and I had to root again if I did that it rebooted again and wouldn't root again please fix this bug also i had said it wasn't computable with my device galaxy tab s2 5.0.2 and I still tried then this happend:(
[Galaxy Tab S2 General] gurpej singh:
App
[Galaxy Tab S2 General] krawhitham:
Now on oj1 5.1.1

I ran rooting 4.8.2 three times, 1st 2 failed 3rd worked. But when i reboot I get "kernel is not seandroid enforcing" in the upper left corner when it boots. I boot all the way, root is lost but running rootking reroots 1st try. Is the "kernel is not seandroid enforcing" error fixable?
[Galaxy Tab S2 General] ashyx:
It's not an error, it's just a silly samsung warning. Don't worry about it.

Did you use the PC version?
[Galaxy Tab S2 General] krawhitham:
No, apk
[Galaxy Tab S2 General] ashyx:
Then I'm not sure how you've achieved that warning, because the app version doesn't or shouldn't modify the boot.img unless the new version has changed the way it works.
[Galaxy Tab S2 General] rredlin:
I ran the newest kingroot. got root but when the tab rebooted I got

kernel is not Seandruid enforcing

custom binary blocked by FRP lock

and doesn't boot!

I can get to download and stock recovery. but no boot up. anything I can do to fix this? besides full wipe?

thanks
[Galaxy Tab S2 General] ashyx:
You need to flash stock Firmware then enable OEM unlock.
[Galaxy Tab S2 General] rredlin:
ok so once I Odin the stock back on and open oem unlock. will I have full root with kingroot?

---------- Post added at 02:47 PM ---------- Previous post was at 02:40 PM ----------

hope thing stays charged. I'm at work now for 5 days and no laptop this time.

when I plug it in. shows empty battery . like it's not charging

---------- Post added at 03:42 PM ---------- Previous post was at 02:47 PM ----------

as of reading in fourms, there's no option on att devices for OEM unlock. now wat?
[Galaxy Tab S2 General] rredlin:
I searched but could not find the firmware for sm-t817a 5.1.1 for att anywhere? does anyone know where I can find it? or how I can restore my tab?

thanks
[Galaxy Tab S2 General] rredlin:
any idea where I can find firmware for sm-t817a. or anything else I can try?
[Galaxy Tab S2 General] Cdeldridge:
Any updates on this? Is root on the T817V still only temp?
[Galaxy Tab S2 General] diehard2013:
IT WORKED !!!

thsx
[Galaxy Tab S2 General] Depressed T.Bear:
Latest version of Kingroot (V4.85_C139_B255) app can now (temp) root our T810 with 5.0.1 without trppin Knox!
[Galaxy Tab S2 General] Trikk-e:
Anybody tried to replace KingRoot for SuperSu before restart? I guess it wouldn't work but, if so, I guess when you restart SuperSu would also dissapear or Knox will be tripped. Just wondering
[Galaxy Tab S2 General] chuandinh:
lose root, and knox is not tripped
[Galaxy Tab S2 General] Trikk-e:
Thanks for your answer. I will try to root it this way tomorrow but, do you know if some stuff like ad blocking still works after restart?

Thanks
[Galaxy Tab S2 General] chuandinh:
No way to get adblock work without a reboot, but reboot lose root, so cant do any thing.