yashsingh1/xdaforums huggingface dataset:
[Remix OS for PC] HypoTurtle:
function init_hal_sensors()
{
local hal_sensors=kbd this is what you have at the moment
case "$(cat $DMIPATH/uevent)" in
*Lucid-MWE*)
set_property ro.ignore_atkbd 1
hal_sensors=hdaps
;;
*ICONIA*W5*)
hal_sensors=w500
;;
*S10-3t*)
hal_sensors=s103t
;;
*Inagua*)
#setkeycodes 0x62 29
#setkeycodes 0x74 56
set_property ro.ignore_atkbd 1
set_property hal.sensors.kbd.type 2
;;
*TEGA*|*2010:svnIntel:*)
set_property ro.ignore_atkbd 1
set_property hal.sensors.kbd.type 1
io_switch 0x0 0x1
setkeycodes 0x6d 125
;;
*DLI*)
set_property ro.ignore_atkbd 1
set_property hal.sensors.kbd.type 1
setkeycodes 0x64 1
setkeycodes 0x65 172
setkeycodes 0x66 120
setkeycodes 0x67 116
setkeycodes 0x68 114
setkeycodes 0x69 115
setkeycodes 0x6c 114
setkeycodes 0x6d 115
;;
*tx2*)
setkeycodes 0xb1 138
setkeycodes 0x8a 152
set_property hal.sensors.kbd.type 6
set_property poweroff.doubleclick 0
set_property qemu.hw.mainkeys 1
;;
*MS-N0E1*)
set_property ro.ignore_atkbd 1
set_property poweroff.doubleclick 0
setkeycodes 0xa5 125
setkeycodes 0xa7 1
setkeycodes 0xe3 142
;;
*Aspire1*25*)
modprobe lis3lv02d_i2c
hal_sensors=hdaps
echo -n "enabled" > /sys/class/thermal/thermal_zone0/mode
;;
*ThinkPad*Tablet*[color=green]|*HPPaviliong7*[/color])[color=red]Try this first[/color]
modprobe hdaps
hal_sensors=hdaps
;;
[Color=blue]	*HPPaviliong*)[color=red]Try entry just for HP Pavilion G's - removed the 7 as I presume the other versions are similar[/color]
hal_sensors=hdaps
;;[/color]
*)
;;
esac

# has iio sensor-hub?
if [ -n "`ls /sys/bus/iio/devices/iio:device* 2> /dev/null`" ]; then
busybox chown -R 1000.1000 /sys/bus/iio/devices/iio:device*/
lsmod | grep -q hid_sensor_accel_3d && hal_sensors=hsb || hal_sensors=iio
fi

set_property ro.hardware.sensors $hal_sensors
}

That should do it - just the one entry needed; probably adding to the thinkpad is the best option
[Remix OS for PC] Suici Doga:
I added the g series entry after removing the Aspire entry and it still only works for tilting. Maybe a problem with the driver or a hardware limitation (HP didn't design this 17 inch laptop to play games with the accelerometer :) ).I tried rotating the laptop but nothing happens (screen doesn't rotate).Is it possible to rotate the screen with the accelerometer or does it need a gyroscope (which my laptop doesn't have).

Also not only the g series has the accelerometer , newer and older of HP laptops also have it.
[Remix OS for PC] Suici Doga:
How can I submit a patch ? I tried Googling but I only found information about contributing to AOSP not Android x86 :confused:
[Remix OS for PC] HypoTurtle:
If you mention it on their google group: https://groups.google.com/forum/#!forum/android-x86 they'll apply it. The Jide team seem to keep their sources sync'ed with theirs so it should make it onto RemixOS in due course.

Just post with the above [or create a diff (diff init.sh init.sh1 > initsh.txt) between the two versions] and post that uevent line in case there's a better identifier to use.
[Remix OS for PC] Suici Doga:
On Linux I can play NeverBall using all 3 axis.On Remix OS only 1 axis works
[Nexus 5X Q&A, Help & Troubleshooting] thesebastian:
Hi!

I'd like to buy a 16GB version since I can save like 100€ vs 32GB version.

I only need 2GB-3GB for photos./videos.

2.5GB for Hearthstone.

1GB for WhatsApp media

And the rest for /cache.... small sized apps. (maybe Google translate offline data, 200MB).

Do you think it's possible? I used to do this in the Nexus 5 (non X) but that was a year ago....

Thanks!
[Nexus 5X Q&A, Help & Troubleshooting] emp504:
You got 10gb free space on the 16gb model, depends on carrier. Should be fine.
[Nexus 5X Q&A, Help & Troubleshooting] thesebastian:
And those 10GB are after updating all the google apps with play store?

I assume, /cache will eat like 1.5GB after a month, right?
[Nexus 5X Q&A, Help & Troubleshooting] emp504:
Yes, all pre-installed apps.

I started with 10,67gb after uninstalling/deactivating unwanted apps like google's office apps, gmusic, gmovies etc

Cache is at 900mb after a few days but it stopped growing quickly.
[Nexus 5X Q&A, Help & Troubleshooting] thesebastian:
Thanks!

And how many free gbs do you have now? and since when do you have the device (last factory reset)?
[Nexus 5X Q&A, Help & Troubleshooting] emp504:
Around 1,7gb free space (before clearing cache). I tried N for a while so last reset not long ago, maybe 10 days.
[Nexus 5X Q&A, Help & Troubleshooting] thesebastian:
Mmm I see. Maybe I need the 32GB version because Hearthstone will consume extra 2.5GB and I'll probably have 1.7gb-2gb free like you.
[Nexus 5X Q&A, Help & Troubleshooting] emp504:
It'll come down to your other apps then. I did consider limited space on the 16gb model as well, but the deal was too good to pass, so I got myself a small USB C/A stick if one day storage runs low (USB OTG). I'll place picture archives on there, which takes most of my space at.
[HTC Typhoon] rickwyatt:
:eek: here is wmp plug-in for typhoon install

and change your homescreen to wmp
[MTCD  Android Head Units Q&A] pmneo:
Hello,

i have a MTCD_KGL Head Unit and i am not able to connect to my Bluetooth GPS ( Nokia LD-3W ).

It is shown in the List of available devices, but no PIN Dialog shows up.

I have tried some Bluetooth Pairing apps, but they all wan't to enable Bluetooth first which does not respond.

Any Suggestions?
[MTCD  Android Head Units Q&A] sterod:
This has been documented, there is currently no fix.

http://forum.carjoying.com/thread-52-10-lollipop-bluetooth-problems.html
[MTCD  Android Head Units Q&A] pmneo:
I have just flashed the latest image from May 4 and it seems that the bluetooth enabling bug is solved!
[MTCD  Android Head Units Q&A] Luxferro:
Nice to hear. I'll have to give it a try on my head unit, as my bluetooth is very buggy as well.
[MTCD  Android Head Units Q&A] pmneo:
Hmm, this is curious ... after flashing it worked. After rooting i got the same error :(
[MTCD  Android Head Units Q&A] sterod:
[MENTION=2366275]doctorman[/MENTION] - Can i use this "KD" firmware on my Joying 10.1" mtcd unit to see if it fixed the bluetooth bug for me?

Also, can you send me a link to the 1.49.2 mtcd update compatible with my unit? I can't seem to find either of these things on an official joying page so I'm hesitant.
[MTCD  Android Head Units Q&A] doctorman:
technically any mtcD ROM should be interchangeable, I have not tried it.

here is the latest JY dMCU

dMCU https://mega.nz/#!R5QGFAgS!6SzIIdkxX...FRdnOTeu4q_y2k

--

Joying skipped the MAy update. I expect another update for mtcD from Joying soon.

--

Malaysk Got his mtcD unit and is working on it. I think he will use the latest KD ROM and add in JY goodies.

knowing Malaysk, I think we will have his ROM out in few days.
[MTCD  Android Head Units Q&A] sterod:
I see he posted the ROM today, I'm going to download and try it now. I get prompted for a decryption key on MEGA when I try to download that dmcu you linked.
[MTCD  Android Head Units Q&A] doctorman:
not sure why but here is the dmcu.

dont have time to test Malaysk ROM today but I will try it this week.

update us in his thread how it goes.

I am playing around with mtcB ROM5
[MTCD  Android Head Units Q&A] hashtowent:
I did try latest rom from Malaysk, nothing changed in concern of this bug.

Still hoping for this to be fixed! (Can't use Dashcommander for now, unless i use the USB-OBD2-Chip).

Huge respect to Malaysk for the huge benefits, we already gained by his work!
[MTCD  Android Head Units Q&A] masri1987:
I ordered this product:

http://xtrons.com/pf75m211a-7-androi...edes-benz.html

Came with this Firmware: MTCD_GS_V1.49_1 Apr 28th 2016

Torque\Dash Command fail miserably, both applications indicate that bluetooth is NOT ON. They attempt to turn it on only to freeze forever.

I updated the MCU to MTCD_GS_V1.61_1 May 31 2016

Also rooted and installed Malaysk V4 rom.

Still no luck.

I've sent a barrage of emails to the seller both on Ebay and through their official contact info on their site, still no luck.

What steps do we need to take to get this addressed?

To the DEVS, has the issue been identified in code? Is it a inherent problem in hardware or is it ROM related\MCU related?

I've been reading in various forums that it is bluetooth LIB files that need to be added in..?

Would love some answers, I know i'm not the only one experiencing this, plus it would help me determine if I should return this altogether if no FIX is possible...
[MTCD  Android Head Units Q&A] popeye70:
Please can you confirm that Usb OBD2 works well on MCTD units?
[MTCD  Android Head Units Q&A] masri1987:
Spoke with Xtrons again today.

They said to return the unit, but in the same breathe claimed it wasn't a hardware problem, which means it's software, they also said they'd ship out another one to me, which makes no sense if the software hasn't changed.

I asked them for a firmware update and they said that won't help.

Are they just bsing me at this point?
[MTCD  Android Head Units Q&A] masri1987:
update:

I somehow got Torque to work, but torque sucks, it still says bt is off , but i used the bt mac address to connect.

Dash command has no option for this.

Essentially the core of the problem is the OS is telling 3rd party apps that bluetooth is off, and doesn't give an option to power on
[MTCD  Android Head Units Q&A] whitetigerlgt:
^torque always worked, at least for me, since that particular app doesn't have a BT check for operation. Most 3rd party apps check if BT is enabled which is when the problem occurs. If you go in to the Torque app, you will see in adapter status, BT enabled fluctuating from on to off and back every few seconds. There is something weird going on in the background causing all this.
[MTCD  Android Head Units Q&A] masri1987:
Yeah i concur, the bluetooth check is what's killing it. Torque sucks so bad though :|
[MTCD  Android Head Units Q&A] hugovw1976:
I must have to change the name of my OBDII because have other than OBD.

Fortunately came with a HT-06 bluetooth and can acces and change name with AT commands with arduino, just have to connect the pins TX/RX and 3.3v and Ground from the HC-06 to arduino and with a simple code can change name on serial monitor. This is a great tutorial (not mine).

http://www.instructables.com/id/AT-command-mode-of-HC-05-Bluetooth-module/?ALLSTEPS
[MTCD  Android Head Units Q&A] Rexbron!:
I have an Xtrons PF unit (GS). After updating to 1.61 as listed on the product page, I am now experiencing Bluetooth issues as well.

ODB Bluetooth adapter is shown in the pairing screen but repeated attempts to pair it fail without an error message.

Bluetooth pairs with my Nexus 6p but if calls are initiated from the handset, the Bluetooth phone dialer will crash.

Shame, as the rest of the OS seems snappy.
[MTCD  Android Head Units Q&A] masri1987:
so wait, what was your MCU before where bt worked??
[MTCD  Android Head Units Q&A] Rexbron!:
It was GS_1.29 I believe. Dated around the beginning of April but I didn't record the MCU version prior to the upgrade.

Is bluetooth handled by the MCU?
[MTCD  Android Head Units Q&A] masri1987:
Yes and No.

The bluetooth problem we are all having is a ROM issue in my opinion.. the ROM is missing the options to control bluetooth on\off....
[MTCD  Android Head Units Q&A] Rexbron!:
I've been able to successfully get my ODBII Bluetooth adapter to pair with Xtron's GS_1.61 and Torque.

The steps I took were as follows:

1) Disconnect and forget any already paired devices from both the HU and the phone itself

2) Pair the ODB adapter. Of note, the icon for the ODB adapter was different from that of a phone.

a) Make note of the ODB MAC address

3) If the ODB adapter pairs correctly, pair your phone as well

4) In Torque's Adapter settings, select the MAC Address for the ODB adapter.

5) Torque complained that it wasn't able to connect to the adapter but shortly there after displayed and ECU Ok message and gauges were working.

Hope that helps.
[MTCD  Android Head Units Q&A] masri1987:
That's the way I got it to work, but Torque Sucks, DashCommand is the true winner here.
[MTCD  Android Head Units Q&A] avengr8527:
Another data point, just picked up a MTCD KGL_1.65 unit and haven't been successful in connecting with Torque - it toggles BT off/on constantly when trying to view the adapter status.
[MTCD  Android Head Units Q&A] Rexbron!:
Xtrons GS 1.75.1 (August 5th) update seems to have fixed the hands free calling issues for me.
[MTCD  Android Head Units Q&A] starshy:
Can you share it? I cant find that mcu version.
[MTCD  Android Head Units Q&A] Stephan_R:
Yesterday i have flashed GS 1.75.1 and today tested. BT and handsfree had operate perfect now. I have something tryed to get the failure. But BT handsfree now operates fine.

The Link ist posted in firmware thread. I dont have a Xtrons GS but my system runs the same GS firmware like xtrons.

I had buyed 4 units at aliexpress. My Seller has send me the update link. Its the same file like the Xtrons GS update.

GS 1.75.1 http://fs.163.com/fs/display/?p=X-N...Z45Nz7e-uKsoMS_FsxiEzSjIMy1WoEdaeSgIPuToGB73A
[MTCD  Android Head Units Q&A] PhantomXP:
ES4501TDE - MTCD_KGL_V1.53a_1 May 7 2016

I have a ES4501TDE. My problem with A2DP connection between iPhone OS9.3.4.

Connection: O.K.

Iphone Controlling from Radio : (Play, Pause, Stop etc.) O.K.

Sound: NOT O.K no Sound

and same problem with thread open!

OBD can connecting with radio. Blue symbol shown on task. Problem: i can't disconnect ODB.

(Disable Auto connection)

When i disconnected ODB from car, blue ODB icon stay on task and Bluetooth settings stay ODB2 "connected" ?!!
[MTCD  Android Head Units Q&A] michaelpop:
Has anybody tested GS firmware to Joying devices?
[MTCD  Android Head Units Q&A] nixfu:
I believe the same version(1.75) MCU update was posted last week by joying on their website. I would use that.
[MTCD  Android Head Units Q&A] michaelpop:
Agree to that, but bluetooth-issue is still there. No app which uses bluetooth-toggle is working.
[MTCD  Android Head Units Q&A] Stephan_R:
But the problems with unstable Fone and A2DP connection is fixed in 1.75 !!!
[MTCD  Android Head Units Q&A] Ciachciach:
The link doesn't work for me...could someone verify this? I run MTCD_GS_V1.61_1. Will this be compatible? I hope this will finaly solve my bluetooth problems. Where to get that update?
[MTCD  Android Head Units Q&A] Stephan_R:
Thats firmware and OS for my MTCD_GS_1.75: http://ul.to/hnp1yxue
[MTCD  Android Head Units Q&A] sterod:
No, this is incorrect. The bluetooth on the MTCD units is handled exclusively by the MCU via a serial connection which talks to their crappy BT phone and A2DP apps. Android is "blind" to the bluetooth adapter and that is why even with the custom ROM we are unable to talk to it or disable it through Android. Without the source code for the ROM, there is no hope of fixing this as we cannot even inject usb bt dongle drivers into the kernel to use a 2nd adapter.
[MTCD  Android Head Units Q&A] lukas.elk:
Couple times my apps that use Bluetooth (AlfaOBD and Torque Pro) seemed to work. When trying to select a BT device the paired devices showed up on the list. But then when trying again it freezes as usual. I don't know how to reproduce it, it seems to happen randomly. Is it possible that something is "blocking" access to Bluetooth?
[MTCD  Android Head Units Q&A] sterod:
This has been explained dozens of times already. The internal bluetooth adaptor on these units does not talk to Android. All communication is handled via the MCU, hence all these problems that cannot be resolved without the source code.
[MTCD  Android Head Units Q&A] dgbear:
Torque with Bluetooth on Android 5.1.1 MTCD with rk3188

Subject - Torque with Bluetooth on Android 5.1.1 MTCD with rk3188

Hi,

Thanks for all the feedback on this subject. I understand the challenge of not being able to fix the problem without the source code

My hope in posting is to share additional thoughts and see if we can find is an alternate approach in getting this needed functionality

What I noticed is the bluetooth setup does

not

seem to have a mechanism for the user to enter the pairing password.

:mad:I can't see how this would work without the user having the ability to enter the authentication password for each pared device.

Assumptions:

* In the case of paring with the cellphone.

- The radio works because the user is able to enter the password on the phone.

* In the case of the obd2 device

- There is no user interface so neither side can set a password.

- Communication fails because there are authentication problems.

* In the case of the obd2 device from the radio vendor.

- The vendors specific obd2 device works?

++ This obd2 device works because the radio's Bluetooth code recognizes the device's (ID or MAC Address ?) and sends the correct password.

Any comments on my assumptions?

Does this help spur any creating ideas on other ways to get his working?
[MTCD  Android Head Units Q&A] sterod:
You are wasting your time trying to pursue this on this platform. Joying as well as pretty much all the other manufacturers have completely abandoned MTCD on rk3188 in favor of the new intel-based Sofia units . Do not expect this to ever be fixed
[MTCD  Android Head Units Q&A] dgbear:
Thanks for the feedback... since I recently purchased the MTCD unit (for Totyota). Would it be your suggestion to:

A.. Send it back and get a MTCB unit.

. Is this a better trade-off?

B. Wait and hope they fix it.

Currently there is not a intel-based option that matches my factory face plate. While I could buy a generic and use the generic kit... it would come at the cost a 2" screen reduction and not look as good as the current MTCB / MTCD options. The other issue is the intel based ones are about $100 more...

I've also heard that the Torque will work if the obd2 device happens to match the ID (OBD / OBD2) and maybe the or MAC address of the obd2 device. Once I can confirm this, it might be an option to change this in some of my obd2 devices?
[MTCD  Android Head Units Q&A] ikerg:
or simply just upgrade your old RK3188 to PX5 platform [OctaCore + 2G RAM + 32GB ROM] that can be done just replacing the core board (keeping the MTCD MCU)...HotAudio has released the OctaCore PX5 platform first units, and it is planning on releasing the upgrade (no ETA nor price estimated yet)

the Intel platform, even MCU controlled BT as welll, at least has an option to enter the PIN code for BT devices prior to pair them.....and due to this, any ODB2 device can be paired and working with Torque/DashCommand...etc
[MTCD  Android Head Units Q&A] Nomader0:
Are you sure they are planning to release the board as an upgrade? from what i have read they are not planning to do that
[MTCD  Android Head Units Q&A] dgbear:
Thanks... I look forward to that release and associated pricing information.
[MTCD  Android Head Units Q&A] emarcin:
Is there any solution to this problem?
[MTCD  Android Head Units Q&A] DeejayTelis:
I don't know if im reviving an old thread, but i realized that i have the same problem now, and wanted to see if anyone found a fix or anything?
[MTCD  Android Head Units Q&A] emarcin:
Look at it:

This is from Hal9k Mod v1.2 - http://4pda.ru/forum/index.php?showtopic=751035&st=2440#entry59583997
[T-Mobile Galaxy Note 4 Q&A, Help & Troubleshooting] SageWilliams:
Hello everyone,

I have a Note 4 and yesterday it started acting funny. It would randomly stop responding then shut down. For instance, I was in the play store and clicked in the search area and noticed the keyboard would not open. Tried hitting the home, recents and back to no success. Had to battery pull to turn it back on and now even that will not work any more. On the off chance it does work, it works for about a minute or so and then shuts down.

I have tried running with with and without SD Card

I have factory restored it

Installed a Custom TW Rom and Custom AOSP Rom

The only thing I can think is that it could be battery but the stop responding part worries me a bit... like maybe there is a hardware issue that cannot be fixed.

Had the phone for about 2 to 3 years, same battery as when I got it.
[Android Studio] HidroDF:
Im making a pixel art game in Android Studio.

My question is, is possible to don't get the image blurred? Here is the example:

Here is my layout:

Here is my layout:

<!-- logo-app -->
<ImageView
android:layout_width="516px"
android:layout_height="122px"
android:id="@+id/logo_engine"
android:layout_gravity="center"
android:src="@drawable/logoengine"
android:contentDescription="@null" />

The imagen is 516x122 px so the size is correct but I dont know if the device zooms the application..

For example, the same App in Adobe Air, fits correctly because is designed in 240×320px and the device fits the application to screen perfectly. The application Is zoomed but pixels are zoomed perfectly. Is there any way to conserve the pixels and don't get blurred images?

Thanks!
[Android Studio] kps2501:
Use a SVG format picture. But I'm not sure that will work in Android Studio
[Galaxy Note5 Q&A, Help & Troubleshooting] quartist:
Hello guys

I just bought my new N920C and the battery is very weak. Knox is tripped, so no deep sleep

Any thing to reccomend since I was not able to find a clear answer!

Thank you
[Galaxy Note5 Q&A, Help & Troubleshooting] ViperCDX:
Considering u have root

Try greenify,naptime and removing bloat particularly facebook app and messenger
[Xperia Z5 Premium Q&A, Help & Troubleshooting] Quayron:
for a while i am using custom roms and other stuff but i could not get the logic of kernel and recovery. i know that recovery is the surface software we re using it to set up our system and other things.

and the kernel is the bridge between softwares and hardwares on device. but the question is.

which one should be install (or flash) first by the base and the second.

-example: i am looking for a good kernel and then search for a recovery to work with it and install upon the kernel ? or the other way. ?

-same question for choosing kernel and rom that i want to use . which one should i choose first then look for the other. ?

-and installing orders please :)??

thank you so much.
[Xperia Z5 Premium Q&A, Help & Troubleshooting] EMJI79:
Recovery and kernel/ROM are quite independent. You can choose the first one without caring about the two others.
[Xperia Z5 Premium Q&A, Help & Troubleshooting] dude9946:
If you want to think about it in steps, the Recovery can come first... Then the kernel that is best for your ROM... So Recovery/kernel/ROM.
[Galaxy Grand 2 General] Culds steve:
whats up guys

i made a new rom called Project s7 on Lp

i almost made it look like mm

bt i wanna add something new

so can anyone prefer me what to add or like that ?

it would help a lot ;)
[Galaxy Grand 2 General] NishRapper:
3MINIT BATTERY MOD , POTATO CLOCK And Add RomControl it is must....
[Galaxy Grand 2 General] dk621:
Double tap to wake, multiwindow(if possible) prerooted working theme store(secthemechooserv2),performance tweeks bugless setting app toolbox working edge feature that's all for me. Thank you.
[Galaxy Grand 2 General] Culds steve:
will try

should i add any games by default ?
[Galaxy Grand 2 General] Culds steve:
edge feature works

added some build prop tweaks

theme store is there

its pre rooted unless u flash any other kernel

setting app is from stock so np there

dt2w is impossible to add in any roms

multiwindow im trying to add (its hard actually)
[Galaxy Grand 2 General] dk621:
Great bro, take your time we will be waiting for your rom[emoji4] [emoji5]
[Galaxy Grand 2 General] VARUN KHASIA:
Make a bugless rom.. That's it. Each n Every rom has bugs..
[Galaxy Grand 2 General] Culds steve:
haha

trying to

bt having a status 6 problem in recovery :/

need to check again now :/
[Galaxy Grand 2 General] Culds steve:
okay

lets make changes

would there will be any problem if i change take my base as motion 16.8 ?

cause motion 17 is causing too much chaos
[Galaxy Grand 2 General] Anzd:
Awesome work. I just smooth and fast, style s7 mm ;)
[Galaxy Grand 2 General] sherry94:
plz fix dim colors and screen flickering also its a big issue in motion
[Galaxy Grand 2 General] Hammoud Abbas:
Can you add note 4 charging effects on lockscreen and full screen caller id?

Thank you for your work......