yashsingh1/xdaforums huggingface dataset:
[MTCD  Android Head Units Q&A] f1x:
It is not the matter of any canbus decoder. The problem is inside MCU. Data sent from cabus decoder are received by MCU, then MCU through a serial port sends it to the MTCManager. It is 7 bytes frame, two last bytes are key code (unsigned short). MTCManager simply creates an intent, puts a key code and sends the intent through the broadcast.

Actually, MCU sends two types of key codes - irKey and HCTKey. HCT key codes are used in case of learning procedure (by factory settings app or by SWC Wheel app). Type of the key code depends on parameter rpt_key_mode (possible values are normal or key) set to the MCU via AudioManager. Learned key codes are stored in MCU - it is done by setting of the cfg_key parameter via AudioManager. For some reason, MCU sends HCT codes only for particular keys. It means that you are not able to change action of some SWC keys or panel keys, and some just simply do not work.

As you can see above - solution for the key codes done by the manufacturer is one big crap. AudioManager as an "communication bridge" with MCU - what the hell AudioManager has got to do with key codes :eek:?

If some key codes do not work, it won't work until manufacturer (NOT THE RESELLER) fix this. And probably manufacturer will not fix this because no one know who is the manufacturer :D. Joying, Xtrons, Erisin and others are just resellers, they do not have access to the source code, so asking them for the fix is useless. It does not matter if you will buy an HU from Joying or from Xtrons - it will have the same bugs.
[MTCD  Android Head Units Q&A] raptor_demon:
So can i see whats coming from the car by looking at that cfg-key parameter?

how do i check my MCU version?MTCD_KGL_V1.87_1 is what the radio says.

Raptor
[MTCD  Android Head Units Q&A] f1x:
Actually it is done by "Pannel Key Study" in Factory Settings. Factory Settings app read the value of this parameter, parse it and display on the screen as an icons grid. There is nothing to do with the "raw" value.

Edit:

Anyway, if you want to play with some "reverse engineering", some time ago I prepared an app to read data from serial port, lookup the keys broadcast and audio manager parameters.

Go to the "Lookup broadcast", press keys that do not work for you, and let me know if some digits appears on the screen.

If no, go to the "Set audio parameter" and type rpt_key_mode=key, then tap on set parameter. Then go to the "Lookup broadcast" and press keys that do not work for you once again, and let me know if some digits appears on the screen.

Afterwards set the rpt_key_mode=normal or just reset the device.
[MTCD  Android Head Units Q&A] Madyen:
Mate,

Short story..

As you can read in my topic; bought xtrons.. that I xtrons not resented but the company one who sold the canbus to xtrons,

so why pac has no problems with the swc button at all then?

this means that PAC has a decent programmed the canbus decoder.. right?

with the PAC one you get no mcu file with it at all :cool:

Summary: buy a pac canbus ;)

BrGd

Madyen
[MTCD  Android Head Units Q&A] f1x:
It is just an workaround. I suppose it is connected to the "key" wires. But why units for ~350$ need this?
[MTCD  Android Head Units Q&A] Madyen:
Asking them.. Not me!!
[MTCD  Android Head Units Q&A] raptor_demon:
Thanks for this, what port and baud should I use?
[MTCD  Android Head Units Q&A] f1x:
You do not need this, because you do not need to read from the serial port. Just use "set audio parameters" and "lookup broadcast"
[MTCD  Android Head Units Q&A] raptor_demon:
Thanks, I set the audio parameter to key and I only get data when I push the buttons on the radio: com.hct.key.study 9136 is the phone hang up button for instance.

The steering wheel buttons report nothing, even the ones that work now (volume and mute)

Kinda strange
[MTCD  Android Head Units Q&A] f1x:
It means that irKey codes are hardcoded inside the MCU. There is no possibility to override/learn them. You just have to wait for the fix from the manufacturer (if any will be released).
[MTCD  Android Head Units Q&A] raptor_demon:
Oh well, thanks for your help! i might try and arduino to read the keys and somehow change the head unit...
[MTCD  Android Head Units Q&A] paniqueado:
Have you tried to use MTCDTools? I have a Seat Leon (it is a spanish car from VW and use golf settings). The controls in the right side did not work, but with MTCDTools I can use them now.
[MTCD  Android Head Units Q&A] raptor_demon:
hi,

yes i did ,thanks, it didnt solve the issue

i wrote to the company that sold it to me and they said it wont work because those are supposed to contorl the car.

Raptor
[Sprint Samsung Galaxy S7 Edge Questions & Answers] goonygugle:
I have gotten a few request for unlocks on Nougat and I had to direct people to downgrade first, with root on nougat now possible I can unlock them while still on Nougat, Pm me if you need help, here is the root thread https://xdaforums.com/tmobile-s7-edge/how-to/heres-how-rooted-nougat-s7-edge-g935t-t3567502
[Sprint Samsung Galaxy S7 Edge Questions & Answers] Keyur_316:
Unlock+update question

Hi, I have sprint s7 edge and i have unlocked the phone to b use in india from a third party and it is working fine. Little problem with network and data on few carriers but works fine on other indian carriers. Now i m getting nougat updte from months now and i m thinkin to updte to nougat. If i updte to nougat will my phone get locked again?

Can u assist on this plz.
[Sprint Samsung Galaxy S7 Edge Questions & Answers] goonygugle:
You shouldnt have an issue when you update to nougat , now that I have done quite a few of these unlocks I have seen a few that re locked but they all appeared to be doing things while having a sprint sim card in the phone , if it re locks get ahold of me
[Galaxy Note5 Q&A, Help & Troubleshooting] $pooLz:
Ok ladies and gents,

I've been on a mission to root my Note 5 N920I for months now.

My problem is no computer will read/recognise the device. The Mac's seem to not even recognise it's plugged in, with Windows, no matter which driver I install it keeps telling me the "device descriptor failed blah blah blah". I managed to root my S4 very easily on Mac with Jodin3 so I know that it ain't no user error.

I've Googled and Googled ways to root without a computer or installing a custom recovery without root, but from what I understand I can't flash TWRP as recovery without a computer and therefore cannot root without a custom recovery.

I've Googled ways to fix the USB issue by making the xml file and putting it into the correct folder, but for that I need to be rooted. Right?

When she's plugged into a computer with USB debugging on or off nothing comes up in my notifications except for charging. I tried using the toolbox which I found on here (sorry can't remember the name) though it seemed like I was getting close, I couldn't get close enough before my temper got the better off me.

If my memory serves me correctly the OTG function worked when i first got the phone but didn't after the first update. My mate's Note 5 also has the same issue. I Googled it and seemed it was common issue on these phones.

I've tried to learn some Terminal/Command Prompt to see if I can fix it that way through Debian or whatever, only got as far as understanding it, kind of. Big ups to all you coders/programmers out there it really is an artform.

So PLZ PLZ can y'all help me, there has to be a way aside from setting this thing alight and getting a new phone.

My next mission, which I only embarked on a couple nights ago is unbricking my dad's Note 4 (N910G) that just hit the **** one day after spazzing out for a few days then would not turn on. I'm getting close though I haven't put much effort into that yet.

Any advice will be greatly appreciated, thanks in advance. ?
[Galaxy Note5 Q&A, Help & Troubleshooting] $pooLz:
Forgive me if I've posted this thread in the wrong area
[HTC Tornado] pauloslf:
Hi guys, i have this rom instaled but i'm having a serious problem, in all the calls i receive i have audio only 5 seconds after the call is initiated..

This means i can't hear the other person, before this 5 seconds...

does anyone know what could be the problem?

i'm using vjgrace 3.5 Rom

(i've posted this question also in the ROM thread but i think is more appropriate here)
[HTC Tornado] pauloslf:
ok, problem remains, i try to re-install the radio, but nothing!

should i try different radio versions?
[HTC Tornado] pauloslf:
i updated the radio after the OS can this be the problem?
[HTC Tornado] pauloslf:
i've just install vjgrace 3.5 Rom and the problem remains :|

if the situation remains i will have to get back to wm5 :| but thats really bad after trying WM6...

Please help me...

Thanks!
[HTC Tornado] Exitao:
You are the first person to complan of this in this forum. Try the main smartohones forum too.
[HTC Tornado] pauloslf:
ok i re-re-install the rom and it works now, but after that GPRS stops working... then i do a hard-reset and GPRS is working again and the calls audio is also correct..

but now WM6 seems to refuse sending some messages... with an unknown error

it's really complicate!!
[Nexus 5X Q&A, Help & Troubleshooting] naturekid:
Hi everyone,

my 5x tells me in the PlayStore Settings that the device is not certified?! Rom ist the Original with Mar 17 security patch. Only thing altered is that it is rooted.

Is that why it is not certified?

Joerg
[Nexus 5X Q&A, Help & Troubleshooting] :
Probably because i've two other phones that are rooted and it says Uncertified too.
[Nexus 5X Q&A, Help & Troubleshooting] compileThis:
Is this a common issue with rooting?
[Nexus 5X Q&A, Help & Troubleshooting] naturekid:
Well, it's not because they are rooted. Have a new one here that is not altered and not rooted and it is also not certified!
[Remix OS Player] ruthan666:
96% of PC users has Windows..
[Remix OS Player] Shinzok:
Hi ,

I'm pretty new to all this but have managed to resize the "userdata-qemu.img" file with the qemu-img command included in one of the sub-folders of RemixOS player.

I'm not using virtualbox, and was wondering if it would be possible to do the same with just windows 10.

The commands "e2fsk" and "resize2fs" are also available in one of he subfolders that come with RemixOS player. So i should be able to execute those as well.

My only problem would be: How i mount the "userdata-qemu.img" file as a block device in windows 10. So that i can execute the required commands to do the rest of this.

Thanks in advance,
[Remix OS Player] vlc33:
Thank You, I wrote this article because I did not know how to do the job 'in windows', I did not even know there was e2fsck and resize2fs already in tools directory.

Nevertheless, you will also need also a qcow2 image mounter for windows

I'd like to state that this proposed solution was already done 'under Windows'

.. with VirtualBox & Linux :)
[Remix OS Player] Shinzok:
ah ok, thank, will try to get linux working in virtualbox.

Ok, got it working.
[Remix OS Player] ddigler:
The tools you mentioned were intended for cygwin

I believe the tools you mentioned were intended to run under windows using cygwin. In the remix\RemixOSPlayer\remixemu\tools\bin subdirectory there are a number of cyg*.dll files i.e. cygwin1.dll along with e2fsck.exe, resize2fs.exe, tune2fs.exe. I didn't know they were there until I read your post. I haven't tried it this way yet. I had forgotten that I had and old installation of vbox on my laptop with linux on it so I may just go that route. But it does look like it should work fine just using windows and cygwin. Too late for you I guess but I thought I would put it out there in case someone else is wondering the same thing.
[Remix OS Player] vlc33:
I do not know if the tools directory is for cywin.

The point is that you need to mount the resized qcow2 and resize2fs it, so this can not be be done only with windows, you will need a Linux under Windows to do it.

As there is probably a cywin way, I do prefer Virtual Box+Linux way, either case both are not the solution but the tool to provide it.
[Remix OS Player] hevangel:
Thanks a lot for the instruction.

I followed the steps on an Ubuntu running in VirtualBox.

It works perfectly. Now I have 16GB in my Remix OS player disk image.
[Remix OS Player] ClemCa:
I did added 4G first to test then 30G it works perfectly :D

thanks for the tutorial!
[Remix OS Player] diorz38:
how to do it directly

Sistem that i use: Windows 10

Do this before first run:

Suppose you want to resize to 32GB and the folder that RemixOSplayer installed is D:\Programs\RemixOSPlayer:

D:\Programs\RemixOSPlayer\remixemu\qemu-img> .\qemu-img resize D:\Programs\RemixOSPlayer\remixemu\system-images\userdata-qemu.img 32000M

Use this command to verify the size, note the "virtual size":

D:\Programs\RemixOSPlayer\remixemu\qemu-img> .\qemu-img info D:\Programs\RemixOSPlayer\remixemu\system-images\userdata-qemu.img

change the RemixOSPlayer folder with your own installation
[Remix OS Player] vlc33:
Sorry but it is not that simple.

Hello, in fact this proposed single step is one of the firsts that appear in the tutorial, the question is if after doing only this step, the recognized size of the file system matches the 'virtual disk' new size, the answer is no it does not work that simple, that is why I elaborate this more complex procedure.

Verify it by yourself and test if your upgraded machine has those 32Gb, the answer will be no, it will remain with 4Gb.

That is because You have to expand the filesystem to match the new virtual 'fisical' new disk size.
[YU Yuphoria] #Rohan:
Team Horizon presents

[IMG="XENONHD"]https://dl.xda-developers.com/4/0/6/5/3/9/1/XENON.PNG?key=-JSwmn7KHhdSz8p-JlD1AQ&ts=1488895480[/IMG]

XenonHD is a custom firmware aka ROM for various Androiddevices. It is built from Android Open Source Project (AOSP) with additional features, performance and battery life improvements.

The idea behind XenonHD is to give users a ROM that is "blazing fast, rock stable and buttery smooth".

Features

XenonHD is based on the ideas Of

Stability

Every update is thoroughly tested before pushing out to the public. After all you rely on your phone everyday!

Open Source

XenonHD is completely open source. You can download the source and bring the love to your device!

Simplicity

XenonHD offers just the right amount of customisation and options. It is not bloated with features that you will never use!

DETAILS DONE RIGHT

Limitless options beautifully packed in a lightning fast operating system.

Everyday Ready & Fully Responsive

XenonHD is rock-stable and ready for everyday use. No lag, no stutters, just buttery smooth experience all along.

Full Substratum and OMS support.

XenonHD supports OMS and Substratum which allows you to change how your user interface looks.

Quick-to-Install and Easy-to-Use

Just flash XenonHD in your favourite recovery and reboot. That’s it!

Note(IMP):-

-After installing rom wait some time to becoming Rom stable

-Rom take some time on 1st boot

-Rom does n't include Gapps

-Clean Flash suggested

Sources

LINKS:-

XenonHD-170307-Unofficial-lettuce.zip

Flashing process:-

Go to TWRP

Wipe cache / dalvik cache / data / system......

Then,

select Reboot to recovery(Imp)

Ignore warning

Then flash rom

Thanks to:

AOSP

CyanogenMod

SlimRoms

My Helping Hands:-

Pranay Narang

pranu@cool

&

At last Me for compiling:p

Sorry If I forget some one Pm me

Version Information

Status: Almost Stable

Release Date: 07.3.2017

ROM Dev:-#ROHAN

ROM OS Version:-7.1.1 Nogaut (ARM 64)

ROM Kernel:-Linux 3.10.x

Based On:-XenonHd 7.1.1

If you liked and are enjoying my Roms and other works, do donate! To keep My Servers Alive

Donate Via Paytm

My Paytm QrCode Is attached

Its ur wish how much u donate:)
[YU Yuphoria] D3Venky:
Volte patch works?
[YU Yuphoria] D3Venky:
Random Reboots Issue.
[YU Yuphoria] #Rohan:
Guys Thread Moved to this place

https://xdaforums.com/yu-yuphoria/orig-development/official-xenonhd-7-1-t3572800
[Xiaomi Mi 4C] wolfanger:
As in title: Camera2api tested on xiaomi.eu modded miui 8 nougat rom is almost working.

Adding in buildprop : 'persist.camera.HAL3.enabled=1' Camera2 api support is present but image in main camera is flipped. Do you know any solution or fix about it?
[Xiaomi Mi 4C] Cozzmy13:
I think this can be solved kernel-side by changing the "qcom,mount-angle" property in this file https://github.com/Demon000/kernel_...boot/dts/libra/msm8992-camera-sensor-mtp.dtsi, but it's not the proper solution. How do you know that Camera 2 API is actually working?

Try installing the latest Google Camera to see how it behaves.
[Xiaomi Mi 4C] wolfanger:
After adding that string camera2 api is enabled and working. I can see it from API test and from camera apps supporting camera2 API. Raw and manual settings are working. Just one issue: images are 180° flipped.
[Xiaomi Mi 4C] wolfanger:
Ps: I tried it on nougat roms from xiaomi.eu.
[Xiaomi Mi 4C] legacyofthevoid:
Would be amazing if AICP can support camera2 (without the flipped image bug).
[Xiaomi Mi 4C] wolfanger:
AICP is currently based on nougat so... why not? Just try editind buildprop file adding the line I quoted in my first message. If it won't work, just remove that line you added.
[Xiaomi Mi 4C] Cozzmy13:
It will only work after today's nightly, since we were not using nougat blobs before, but camera will still be flipped. We've already decided to fix it. :D

https://github.com/csolanol/device_xiaomi_libra/issues
[Xiaomi Mi 4C] Brunnys:
I definitely adore you <3 :fingers-crossed:
[Xiaomi Mi 4C] Cozzmy13:
lol. Thanks for the support. :D
[Xiaomi Mi 4C] danbrown162:
Are you implying AICP will be using the new blobs from the next build onwards? Or just that the camera API2 will be fixed? ;)
[Xiaomi Mi 4C] wolfanger:
WIll fix be source related or configuration related? I liked AICP but for now I am on MIUI and I will like to add camera2api support on MIUI too.
[Xiaomi Mi 4C] Cozzmy13:
AICP will use nougat blobs on the next build. Please take into account that new blobs doesn't mean new bootloader. Bootloader will still be the old one. After the next build it will be possible to enable Camera2 API and work on a fix.

---------- Post added at 19:11 ---------- Previous post was at 19:09 ----------

Most likely source related since there is no configuration for this device like there is on the Mi5.
[Xiaomi Mi 4C] danbrown162:
Gotcha, best of both worlds then? I've already unlocked my bootloader again and updated blobs (So I could use the new Remix rom), is this going to cause any issues do you think? Thanks for all the work you're putting into this device btw, so much better because of developers such as yourself.

:laugh:
[Xiaomi Mi 4C] takotestas:
Hi. Camera2api can be enabled on RR-N-v5.8.2-20170309 too. Again - the same flipp issue. Also I'm having problems with camera app performance.
[Xiaomi Mi 4C] hansip87:
Interesting that the Manual Camera Compatibility test doesn't show Camera2 API compatibility on RR5.8.2.. so which is which?
[Xiaomi Mi 4C] takotestas:
Hi. After upgrade to RR-N-v5.8.2-20170309 everything is green on my phone.
[Xiaomi Mi 4C] xhacker:
Yeas but I thnig it's flipped
[Xiaomi Mi 4C] takotestas:
I have written previously - flipped image and performance issues currently. But this is first RR ROM which allows to enable camera 2 api. I hope that problems will be fixed soon.
[Xiaomi Mi 4C] hansip87:
Ah i see, i missed the build.prop part. and it works now, only flipped. Hopefully it will be fixed soon :)
[Xiaomi Mi 4C] mesziman:
Does this work with Marshmallow ROMs??

One addition: Using manual camera the RAW pictures are only 90 flipped
[Xiaomi Mi 4C] rohitdave:
Hi

I can use manual shutter speed from about 20 seconds up to 1/500 second on the Bacon and Freedcam apps using official RR cancro build. Manual ISO also works.

Phone is MI4 W with MicroG.

Earlier on the Unofficial RR / Nitrogen and the AOSP CAF build by Vasishath and Sahan I could never access any of the Manual settings, low light images come out good
[Xiaomi Mi 4C] rohitdave:
A bit off topic, what advantage does OSS camera HAL have if it disables manual modes in the app.

I see quite often roms with OSS camera HAL and have tried quite a few, but manual settings never worked on them.

Would appreciate if some one could enlighten me :)
[Xiaomi Mi 4C] predatoralan:
Hello guys, has anyone found a fix for this? I'm running LOS 14.1 and I enabled camera2 api but I can't find a way to fix the flipped image, thanks in advance.
[Xiaomi Mi 4C] Infernojz:
It's an important problem. I think we must find way to fix flipped image
[Xiaomi Mi 4C] savvas_p25:
Enable camera2api and install from market freedcam(has orientation 180°) ??

If we modded the Google camera that way?what do you think?
[Xiaomi Mi 4C] predatoralan:
Will try that app but I don't understand what you wanted to say about the Google camera.
[Xiaomi Mi 4C] savvas_p25:
modded Google camera to have orientation 180 as an option. Check the freedcam and you understand what I mean!
[Xiaomi Mi 4C] qvanphong:
Still have no idea to fix this, aren't we :(
[Xiaomi Mi 4C] predatoralan:
Yep...tried everything I could but I can't get google camera to work without the flipped images.
[Xiaomi Mi 4C] savvas_p25:
Check guys the latest freedcam and hedgecam 2 both have fix orientation 180.
[Xiaomi Mi 4C] savvas_p25:
Deleted
[Xiaomi Mi 4C] qvanphong:
In "camera2 test" app, i found the line "android.sensor.orientation" and it set at 270. Can we fix the flipped problem by edit it?
[Xiaomi Mi 4C] kopter36:
That orientation is set in kernel itself. Xiomi set it like that so it wont break or mess up apps that use legacy camera API (we currently use on libra).

You could compile the kernel back with 0 degree camera oreintation but whatever happen next, I have no idea.
[Xiaomi Mi 4C] jerangkenstein:
What if the hardware (camera sensor) is mounted upside down to fit the board design. Can we just set the orientation to 0 degree? The default is set to 180 degree, maybe to compensate the flipped sensor to display the image to the right angle on the screen.

Just wondering...

is this problem has been solved yet?
[Xiaomi Mi 4C] Infernojz:
This is not a problem now, api 2 working great
[Xiaomi Mi 4C] predatoralan:
Have you found a fix? I just tried it again and the image is still flipped, I don't see how this issue could fix itself just like that. (I'm on LOS 14.1-20180803-NIGHTLY-libra if that matters...)
[Xiaomi Mi 4C] savvas_p25:
Check the mi4c general thread...
[Xiaomi Mi 4C] predatoralan:
Thank you so much, I will try that.
[Android Head-Units] nyogtha:
Has anyone tried asking a retailer if they want help translating the UI on their units? I wouldn't mind doing this for free, but keep thinking someone must have tried it before and gotten nowhere...

I guess you would have to find the people making the software for the different brands. I don't understand why they don't spend more time with this. It would increase the quality feel of the units drastically for just a few hours of work.

If any manufacturers read this and you'd like some translation help. Let me know!
[Android Q&A, Help & Troubleshooting] jpg3927:
hello, i'm making roms for xiaomi mi 5s

after feb/28, my whole roms doesn't boot

here is my last_kmsg on boot

debuggerd has killed by signal 6 and many processes killed by something..

please help me to get boot on my roms..
[Verizon Samsung Galaxy S7 Edge Questions & Answers] sleepy3103:
Did Verizon take out the damn device maintenance? If so, why the hell do they do this crap. Come on Verizon. Stop taking features that are supposed to be built into our phones away and putting in junk.
[Verizon Samsung Galaxy S7 Edge Questions & Answers] junear:
Can you search in Quick Shortcut Maker if they have the packages?
[Verizon Samsung Galaxy S7 Edge Questions & Answers] sleepy3103:
I have never used quick shortcut maker. Wouldn't you have to be able to access the app by a search for that to work? Where do I find quick shortcut maker?