Rotate Sensor & g-sensor operate in reverse (7.1-r1)

2,840 views
Skip to first unread message

Zero

unread,
Feb 10, 2018, 7:02:38 PM2/10/18
to Android-x86
Hi Everyone,
I been testing android-x86_64-7.1-r1 on three of my PC tablets (Samsung Ativ 700t Pro, Vaio-Z Canvas, Porsche Design Book one), the screen is automatically rotated 180 degrees in reverse whether viewing the tablet on landscape or portrait, picture is always backwards; also tested some g-sensor games like riptide, g-sensor is also operating in reverse, i tilt right and it goes left, tilt left and it goes right.

This happens on all my 3 PC tablets, this never happened on previous versions, does anyone have a solution or can kindly help me with this?

n00bile erasmus

unread,
Feb 10, 2018, 9:39:49 PM2/10/18
to Android-x86
hp pavilion x2 detachable 12-b020nr

i installed the 32bit version first and no rotation at all. then i installed the 64bit and rotate and g-sensor are in reverse. tried adding hal_sensors=true in init.sh, but it didn't work.


*HPPAVILION*)
hal_sensors=true
;;

Chih-Wei Huang

unread,
Feb 11, 2018, 10:13:45 PM2/11/18
to Android-x86
That means you are lucky. :)
The new sensors hal works for you.
But you need to reverse the orientation.

You may need some of these properties.
Try these commands: (via root)

setprop ro.iio.accel.x.opt_scale -1
setprop ro.iio.accel.y.opt_scale -1
setprop ro.iio.accel.z.opt_scale -1
stop; start

If they works, tell me your product id by
the following command. I'll add it next release.

cat /sys/class/dmi/id/uevent


--
Chih-Wei
Android-x86 project
http://www.android-x86.org

Wing Chun Lau

unread,
Feb 13, 2018, 12:26:51 AM2/13/18
to Android-x86
chih-Wei,

Thank you very much for the provided steps and all the effort on Android x86.
The auto-rotation works great on my elitebook x360 1030 G2 after entering the above commands.

The id is:
x86_64:/ # cat /sys/class/dmi/id/uevent
MODALIAS=dmi:bvnHP:bvrP80Ver.01.14:bd01/22/2018:svnHP:pnHPEliteBookx3601030G2:pvr:rvnHP:rn827D:rvrKBCVersion44.61:cvnHP:ct31:cvr:

Zero

unread,
Feb 13, 2018, 4:09:24 PM2/13/18
to Android-x86
Chih-Wei,
Thanks for help, your method did work on my 3 PC tablets, rotating & gyro sensors worked correctly in the x64 version after entering commands, although I have to enter the commands every time i reboot the device, does not save.
n00bile eramus is correct, the sensors do not work at all on my PC tablets using the x86 version.

Below are Product ID's for my 3 tablets;

Porsche Design Book one:
MODALIAS=dmi:bvnInsyde:bvrQP113:bd07/12/2017:svnPORSCHEDESIGN:pnBOOKONE:pvr:rvnQuanta:rnKabyLake_PD_V1:rvr:cvnQuanta:ct31:cvr

Samsung Ativ Pro 700T:
MODALIAS=dmi:bvnAmericanMegatrendsInc.:bvrP09AAT.048.130828.dg:bd08/28/2013:svnSAMSUNGELECTRONICSCO.,LTD.:pn700T1C:pvrP09ATT:rnvSAMSUNGELECTRONICSCO.,LTD.:rnXE700T1C-A02US:rvrSEC_SW_REVISION_1234567890ABCD:cvnSAMSUNGELECTRONICS.,LTD.:ct8:cvrN/A:

Vaio Z Canvas:
MODALIAS=dmi:bvnPhoenixTechnologiesLtd.:bvrR1060VE:bd08/14/2015:svnVAIOCorporation:pnVJZ12A:pvrReserved:rvnVAIOCorporation:rnVAIO:rvrN/A:cvnVAIOCorporation:ct10:cvrN/A:

n00bile erasmus

unread,
Feb 14, 2018, 12:46:48 AM2/14/18
to Android-x86
setprops worked here, too.

MODALIAS=dmi:bvnAmericanMegatrendsInc.:bvrF.14:bd06/24/2016:svnHP:pnHPPavilionx2Detachable:pvr:rvnHP:rn8181:rvr42.25:cvnHP:ct10:cvrChassisVersion:

thank y'all kindly

Chih-Wei Huang

unread,
Feb 14, 2018, 10:18:53 AM2/14/18
to Android-x86
2018-02-14 13:46 GMT+08:00 n00bile erasmus <n00...@gmail.com>:
> setprops worked here, too.
>
> MODALIAS=dmi:bvnAmericanMegatrendsInc.:bvrF.14:bd06/24/2016:svnHP:pnHPPavilionx2Detachable:pvr:rvnHP:rn8181:rvr42.25:cvnHP:ct10:cvrChassisVersion:

Thank you for the report.

It seems more devices need to reverse the orientation.
So I just changed the default orientation.

You can download the cm-x86 14.1-r1 to test.

youling 257

unread,
Feb 14, 2018, 10:49:20 AM2/14/18
to Android-x86
download speed 50KB/S,very slow.

在 2018年2月14日星期三 UTC+8下午11:18:53,Chih-Wei Huang写道:

youling 257

unread,
Feb 14, 2018, 11:01:15 AM2/14/18
to Android-x86

Andrea Campanella

unread,
Feb 14, 2018, 11:22:28 PM2/14/18
to Android-x86
I'm having the same problem on the HP Spectre  x360:

x86_64:/ $ cat /sys/class/dmi/id/uevent
MODALIAS=dmi:bvnAmericanMegatrendsInc.:bvrF.43:bd09/28/2016:svnHP:pnHPSpectrex360Convertible:pvr:rvnHP:rn804E:rvr33.24:cvnHP:ct10:cvrChassisVersion: 


Zero

unread,
Feb 15, 2018, 2:23:48 AM2/15/18
to Android-x86
Confirming CM14.1 x64 bit has fixed reverse rotation on my 3 PC tablets, not only that, but has fixed my sound issue & corrected Bluetooth from turning on & off, giving me a stable Bluetooth connection.
this update has made android run just smooth as 4.4r3 through 6.0r3 did on my devices. I will try 32-bit version tomorrow.

Wing Chun Lau

unread,
Feb 15, 2018, 5:52:29 AM2/15/18
to Android-x86
Rotation does not work out of the box for lineage os 14.1 on my laptop (HP Elitebook x360) even when auto-rotation is enabled. The accelerometer does not seem to have any effect even if I change the device's orientation. Any idea?

Wing Chun Lau

unread,
Feb 23, 2018, 11:14:05 AM2/23/18
to Android-x86
As an update, i found it works fine after reinstalling and no reversal of rotation at all :)

Alan Weinstock

unread,
Apr 24, 2018, 2:49:57 PM4/24/18
to Android-x86
These commands work for me after installation on both of my laptop 2-in-1's show signs of reversed g-sensor input 

output of `cat /sys/class/dmi/id/uevent`

Latitude 7350: MODALIAS=dmi:bvnDellInc.:bvrA10:bd04/14/2016:svnDellInc.:pnLatitude7350:pvr:rvnDellInc.:rn:rvr:cvnDellInc.:ct8:cvr:
Latitude 3379: MODALIAS=dmi:bvnDellInc.:bvr01.00.05:bd08/23/2016:svnDellInc.:pnLatitude3379:pvr:rvnDellInc.:rn0R89WG:rvrA00:cvnDellInc.:ct9:cvr:

Chih-Wei Huang

unread,
Apr 24, 2018, 10:23:33 PM4/24/18
to Android-x86
2018-04-25 2:49 GMT+08:00 Alan Weinstock <pyrob...@gmail.com>:
> These commands work for me after installation on both of my laptop 2-in-1's
> show signs of reversed g-sensor input

Which version shows reversed g-sensor input?
7.1-r1 or cm-14.1-r1?
Note they have opposite input.

The coming 7.1-r2 will follow cm-14.1-r1.
So please confirm which one is correct for you.

Alan Weinstock

unread,
Apr 25, 2018, 2:10:47 AM4/25/18
to Android-x86
Apologies for not mentioning, 7.1-r1 is the one I'm using that has reversed input

Chih-Wei Huang

unread,
Apr 25, 2018, 2:26:56 AM4/25/18
to Android-x86
2018-04-25 14:10 GMT+08:00 Alan Weinstock <pyrob...@gmail.com>:
> Apologies for not mentioning, 7.1-r1 is the one I'm using that has reversed
> input

Then you can try cm-14.1-r1 which should be normal
on your device.

The coming 7.1-r2 will be aligned with the change
of cm-14.1-r1.

Alan Weinstock

unread,
Apr 25, 2018, 2:48:40 AM4/25/18
to Android-x86
okidokie, thanks.

It looks like the OSDN mirror for that release is down, and I can't find it in the fosshub archive either

Chih-Wei Huang

unread,
Apr 25, 2018, 3:12:18 AM4/25/18
to Android-x86
2018-04-25 14:48 GMT+08:00 Alan Weinstock <pyrob...@gmail.com>:
> okidokie, thanks.
>
> It looks like the OSDN mirror for that release is down, and
> I can't find it

Ah..! I'm surprised the link was wrong that I didn't notice
and you are the first guy found it after two months of release...

The correct link is
https://osdn.net/rel/android-x86/CM%20Release%2014.1

> in the fosshub archive either

The first four files are.

NebudZvedy Zvedy

unread,
May 3, 2018, 7:31:02 PM5/3/18
to Android-x86
I have same problem with my Toshiba Z20 10B convertible and last build.. with previous builds i was ok, its broken for all video players and for Wine x86.

Nebudte Zvedy

unread,
May 4, 2018, 4:48:41 AM5/4/18
to Android-x86
MODALIAS=dmi:bvnTOSHIBA:bvrVersion6.60:bd03/13/2018:svnTOSHIBA:pnPORTEGEZ20T-B:pvrPT15BE-00E00DCZ:rvnTOSHIBA:rnPORTEGEZ20T-B:rvrVersionA0:cvnTOSHIBA:ct10:cvrVersion1.0:

Chih-Wei Huang

unread,
May 4, 2018, 6:08:51 AM5/4/18
to Android-x86
This thread is about g-sensor reversed issue.
Did you mean 7.1-r1 is ok for you but 7.1-r2 is bad?

Nebudte Zvedy

unread,
May 4, 2018, 7:02:44 PM5/4/18
to Android-x86
Did you mean 7.1-r1 is ok for you but 7.1-r2 is bad? 
  Exactly.

Nebudte Zvedy

unread,
May 6, 2018, 9:16:37 AM5/6/18
to Android-x86
How to make this change permanent?

  Where in init script i could add these parameters?

Chih-Wei Huang

unread,
May 8, 2018, 12:27:48 AM5/8/18
to Android-x86
2018-05-06 21:16 GMT+08:00 Nebudte Zvedy <berserke...@gmail.com>:
> How to make this change permanent?
>
> Where in init script i could add these parameters?

So you need to reverse 3 axis. Right?
Try this patch:

diff --git a/init.sh b/init.sh
index ccd1058..760d7b2 100644
--- a/init.sh
+++ b/init.sh
@@ -264,6 +264,11 @@ function init_hal_sensors()
set_property ro.iio.accel.x.opt_scale -1
set_property ro.iio.accel.y.opt_scale -1
;;
+ *PORTEGEZ20T*)
+ set_property ro.iio.accel.x.opt_scale -1
+ set_property ro.iio.accel.y.opt_scale -1
+ set_property ro.iio.accel.z.opt_scale -1
+ ;;
*ST70416-6*)
set_property ro.iio.accel.order 102
;;

You can modify /etc/init.sh directly
if it's read-write mode.

Nebudte Zvedy

unread,
May 8, 2018, 1:51:18 AM5/8/18
to Android-x86
Sorry too much Linux terminal magic for me..

  What is command which exactly i should run? Its unclear for me from the post.

  Second solution is say me, what text is should replace by using some text editor.

Chih-Wei Huang

unread,
May 8, 2018, 2:31:10 AM5/8/18
to Android-x86
The patch means to insert the 4 lines (+ means insert) to
function init_hal_sensors() (about line 264...) of /etc/init.sh

Nebudte Zvedy

unread,
May 11, 2018, 10:46:32 AM5/11/18
to Android-x86
Thx, now its working.

Nebudte Zvedy

unread,
May 11, 2018, 11:04:13 AM5/11/18
to Android-x86
Hmm, i still have still problem, when i slightly tilt device its upside-down and i cant force it back.. There is more thing wrong with sensor settings..

Nebudte Zvedy

unread,
May 12, 2018, 9:24:46 AM5/12/18
to Android-x86
I upgraded 7.1r1 to 7.1r2 and now it seems to be ok.

Chih-Wei Huang

unread,
May 13, 2018, 10:04:38 PM5/13/18
to Android-x86
2018-05-12 21:24 GMT+08:00 Nebudte Zvedy <berserke...@gmail.com>:
> I upgraded 7.1r1 to 7.1r2 and now it seems to be ok.

Oh... Last time I asked
"Did you mean 7.1-r1 is ok for you but 7.1-r2 is bad?"
You said "Exactly."
I'm a little confused.

Could you confirm which one is good and which one is bad?

NebudZvedy Zvedy

unread,
May 14, 2018, 8:46:58 AM5/14/18
to andro...@googlegroups.com
7.1r1 - its bad, even with patched init.sh
7.1r2  - its ok, i dunno if is init.sh rewrited during upgrade

--
You received this message because you are subscribed to a topic in the Google Groups "Android-x86" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/android-x86/RFXYW5MNCuk/unsubscribe.
To unsubscribe from this group and all its topics, send an email to android-x86+unsubscribe@googlegroups.com.
To post to this group, send email to andro...@googlegroups.com.
Visit this group at https://groups.google.com/group/android-x86.
For more options, visit https://groups.google.com/d/optout.

chalesyu

unread,
Jun 4, 2018, 7:46:38 AM6/4/18
to Android-x86
but for me 7.1-r1 is ok but 7.1-r2 is bad
my ACPI id is BOSC0200 ,althrough I update the kernel to 4.17-rc5 , this accelerometer still not work

and here are old information:
ACCEL_MOUNT_MATRIX=-1, 0, 0; 0, -1, 0; 0, 0, 1

what should I add into init.sh ?

Chih-Wei Huang

unread,
Jun 4, 2018, 11:00:44 AM6/4/18
to Android-x86
2018-06-04 19:46 GMT+08:00 chalesyu <zhaoyu5...@gmail.com>:
> but for me 7.1-r1 is ok but 7.1-r2 is bad
> my ACPI id is BOSC0200 ,althrough I update the kernel to 4.17-rc5 , this accelerometer still not work

What id? Show the result of

cat /sys/class/dmi/id/uevent

> and here are old information:
> ACCEL_MOUNT_MATRIX=-1, 0, 0; 0, -1, 0; 0, 0, 1
>
> what should I add into init.sh ?

Try to add this to init_hal_sensors()

set_property ro.iio.accel.z.opt_scale -1
Message has been deleted

chalesyu

unread,
Jun 4, 2018, 12:25:18 PM6/4/18
to Android-x86
cat /sys/class/dmi/id/uevent
MODALIAS=dmi:bvnAmericanMegatrendsInc.:bvr5.12:bd08/18/2017:svnJumper:pnEZpad:pvr:rvnJumper:rnEZpad:rvr.A008:cvn:ct3:cvr:

I also try to add “set_property ro.iio.accel.z.opt_scale -1“ to init.sh ,but no luck,it is not work

I know it previous work on CM-x86 14.1-rc1 with a 4.14 kernel (github.com/youling257/android-4.9/tree/android-4.14)

youling 257

unread,
Jun 4, 2018, 6:35:59 PM6/4/18
to Android-x86
how to use /system/lib/hw/sensors.iio-old.so ? not use /system/vendor/lib/hw/sensors.iio.so

在 2018年6月4日星期一 UTC+8下午11:00:44,Chih-Wei Huang写道:

Chih-Wei Huang

unread,
Jun 4, 2018, 8:26:50 PM6/4/18
to Android-x86
2018-06-05 6:35 GMT+08:00 youling 257 <youli...@gmail.com>:
> how to use /system/lib/hw/sensors.iio-old.so ? not use
> /system/vendor/lib/hw/sensors.iio.so

setprop ro.hardware.sensors iio-old

or change hal_sensors=iio to hal_sensors=iio-old
in /etc/init.sh.

Chih-Wei Huang

unread,
Jun 4, 2018, 9:57:14 PM6/4/18
to Android-x86
I think I was misled by your accel matrix.
(are you sure that's the correct variable you set?)

If 7.1-r1 does work, what you need is to revert 3 axes:

set_property ro.iio.accel.x.opt_scale -1
set_property ro.iio.accel.y.opt_scale -1
set_property ro.iio.accel.z.opt_scale -1

(Not sure if you really need to revert z axis. You should check it by a sensors testing app.)

Yu Zhao

unread,
Jun 4, 2018, 11:05:43 PM6/4/18
to andro...@googlegroups.com
Oh, Sorry.  it is not 7.1-r1  , it is 7.1rc1 (CM-x86 14.1-rc1) workd

looks like sensor has no data , But I found 
/sys/bus/iio/devices/iio:device0/in_accel_x_raw
/sys/bus/iio/devices/iio:device0/in_accel_y_raw
/sys/bus/iio/devices/iio:device0/in_accel_z_raw
both have data and change with time
But I don't know why APP can't use this data.
--
You received this message because you are subscribed to the Google Groups "Android-x86" group.
To unsubscribe from this group and stop receiving emails from it, send an email to android-x86+unsubscribe@googlegroups.com.
Screenshot_20180605104119.jpg
Screenshot_20180605104435.jpg
Screenshot_20180605104446.jpg

Chih-Wei Huang

unread,
Jun 5, 2018, 12:36:02 AM6/5/18
to Android-x86
2018-06-05 11:05 GMT+08:00 Yu Zhao <zhaoyu5...@gmail.com>:
> Oh, Sorry. it is not 7.1-r1 , it is 7.1rc1 (CM-x86 14.1-rc1) workd

Then try to change sensors HAL to iio-old
as explained in my previous email.

Yu Zhao

unread,
Jun 5, 2018, 12:44:06 AM6/5/18
to andro...@googlegroups.com
I changed hal_sensors=iio to hal_sensors=iio-old  in init.sh
Now screen rotation workd.
But Android APP can't get sensor data.


2018年6月5日星期二,Chih-Wei Huang <cwh...@android-x86.org> 写道:
--
You received this message because you are subscribed to the Google Groups "Android-x86" group.
To unsubscribe from this group and stop receiving emails from it, send an email to android-x86...@googlegroups.com.

Yu Zhao

unread,
Jun 5, 2018, 10:35:57 AM6/5/18
to andro...@googlegroups.com
Now this sensor totally  workd , Thanks a lot !!!
“Android APP can't get sensor data.“ It's because APP have cache, delete it can slove this problem.

2018年6月5日星期二,Chih-Wei Huang <cwh...@android-x86.org> 写道:
--
You received this message because you are subscribed to the Google Groups "Android-x86" group.
To unsubscribe from this group and stop receiving emails from it, send an email to android-x86...@googlegroups.com.

Chih-Wei Huang

unread,
Jun 7, 2018, 11:32:37 PM6/7/18
to Android-x86
2018-06-05 22:35 GMT+08:00 Yu Zhao <zhaoyu5...@gmail.com>:
> Now this sensor totally workd , Thanks a lot !!!
> “Android APP can't get sensor data.“ It's because APP have cache, delete it
> can slove this problem.

Good. But I still suggest you study
how to make new iio HAL work.
It should be better than the old one.

Besides, I suggest you use a sensors testing app
to test it, e.g., Physics Toolbox Sensor Suite.
It will show you exact values read from the sensors HAL.

> 2018年6月5日星期二,Chih-Wei Huang <cwh...@android-x86.org> 写道:
>>
>> 2018-06-05 11:05 GMT+08:00 Yu Zhao <zhaoyu5...@gmail.com>:
>> > Oh, Sorry. it is not 7.1-r1 , it is 7.1rc1 (CM-x86 14.1-rc1) workd
>>
>> Then try to change sensors HAL to iio-old
>> as explained in my previous email.



--

chalesyu

unread,
Jun 8, 2018, 10:14:34 PM6/8/18
to Android-x86
thanks for your advice , but my aim is only to make this sensor work.
And now screen rotation can always work , but sensor test APP rarely can get X,Y,Z value. (maybe only on cold boot or rebuild cache? delete APP cache can't solve problem...) (using iio-old)

Chih-Wei Huang

unread,
Jun 11, 2018, 6:06:24 AM6/11/18
to Android-x86
2018-06-09 10:14 GMT+08:00 chalesyu <zhaoyu5...@gmail.com>:
> thanks for your advice , but my aim is only to make this sensor work.

If iio-old just work, what you need is for new iio HAL
is ro.iio.accel.y.opt_scale=-1
(like ASUS T100)

Try the patch:

diff --git a/init.sh b/init.sh
index 2228775..a59ac18 100644
--- a/init.sh
+++ b/init.sh
@@ -267,7 +267,7 @@ function init_hal_sensors()
*ST70416-6*)
set_property ro.iio.accel.order 102
;;
- *T10*TA*)
+ *T10*TA*|*pnEZpad*)
set_property ro.iio.accel.y.opt_scale -1
;;
*)

chalesyu

unread,
Jun 11, 2018, 7:56:33 AM6/11/18
to Android-x86
I tried your patch to init.sh, but nothing changed. (hal_sensors=iio)
screenshot is same as my previous email.

chalesyu

unread,
Jun 20, 2018, 3:09:13 AM6/20/18
to Android-x86
Hi Chih-Wei,

I decided temporarily use iio-old to make it work,and i have make a patch for it (tested on CM 14.1- r2)

When I have more time to test,I will try to use new iio HAL

在 2018年6月11日星期一 UTC+8下午6:06:24,Chih-Wei Huang写道:
Screenshot_20180620-135102.png
EZpad_accel_iio-old.patch

incipi...@gmail.com

unread,
Jun 25, 2018, 6:21:27 PM6/25/18
to Android-x86
Hi

I need help on my linx 1010 (baytrail). Everything works atm. However, I have an issue with the landscape rotation. It's upside down.

I've tried to use:

setprop ro.iio.accel.y.opt_scale -1
stop; start
It restarts but portrait reversed also

I tried setprop ro.iio.accel.x.opt_scale -1
stop; start
It just shows a black screen.

Any idea how this could be fixed?


android_x86_64:/ $ cat /sys/class/dmi/id/uevent
MODALIAS=dmi:bvnINSYDECorp.:bvrLINX1010L.R22.3.010:bd09/06/2015:svnLINX:pnLINX1010L:pvrType1-TBDbyOEM:rvnType2-BoardManufacturer:rnType2-BoardProductName:rvrType2-BoardVersion:cvnChassisManufacturer:ct10:cvrChassisVersion:
android_x86_64:/ $

Thank you!!

Chih-Wei Huang

unread,
Jun 26, 2018, 12:19:43 AM6/26/18
to Android-x86
2018-06-26 6:21 GMT+08:00 <incipi...@gmail.com>:
> Hi
>
> I need help on my linx 1010 (baytrail). Everything works atm. However, I have an issue with the landscape rotation. It's upside down.
>
> I've tried to use:
>
> setprop ro.iio.accel.y.opt_scale -1
> stop; start
> It restarts but portrait reversed also
>
> I tried setprop ro.iio.accel.x.opt_scale -1
> stop; start
> It just shows a black screen.

It's unusual. Have you tried again?
(after set both properties)

What's getprop ro.hardware.sensors ?

Which android-x86 version did you use?

> Any idea how this could be fixed?
>
> android_x86_64:/ $ cat /sys/class/dmi/id/uevent
> MODALIAS=dmi:bvnINSYDECorp.:bvrLINX1010L.R22.3.010:bd09/06/2015:svnLINX:pnLINX1010L:pvrType1-TBDbyOEM:rvnType2-BoardManufacturer:rnType2-BoardProductName:rvrType2-BoardVersion:cvnChassisManufacturer:ct10:cvrChassisVersion:
> android_x86_64:/ $



enco

unread,
Jun 26, 2018, 4:29:52 AM6/26/18
to Android-x86
Hi

Using the command it comes up as 'iio'

The build I use is LOS RC1, I got the build from a Thinkpad 8 group as all the function works out of the box (sound was not, but i can easily fix it)

Portrait mode is fine, Landscape mode is reversed.

Tried the commands again and doesn't seem to work

Chih-Wei Huang

unread,
Jun 26, 2018, 4:53:53 AM6/26/18
to Android-x86
2018-06-26 16:29 GMT+08:00 enco <incipi...@gmail.com>:
> Hi
>
> Using the command it comes up as 'iio'
> The build I use is LOS RC1, I got the build from a Thinkpad 8 group as all
> the function works out of the box (sound was not, but i can easily fix it)

Which version is it exactly? Check

getprop ro.build.display.id

enco

unread,
Jun 26, 2018, 12:54:39 PM6/26/18
to Android-x86
Hi

android_x86_64:/ $ su
android_x86_64:/ # getprop ro.hardware.sensors
iio
android_x86_64:/ # getprop ro.build.display.id
cm_android_x86_64-userdebug 7.1.2 NJH47F 4497f0574d test-keys
android_x86_64:/ #

Chih-Wei Huang

unread,
Jun 26, 2018, 11:11:07 PM6/26/18
to Android-x86
This seems to be a custom version
so I'm still not sure what sensors HAL it uses.

Please check if you have this file:

ls -l /system/vendor/lib64/hw/sensors.iio.so

Also check:

getprop ro.build.date

BTW, have you tested the latest CM 14.1-r2 release?

enco

unread,
Jun 27, 2018, 7:17:22 AM6/27/18
to Android-x86
Hi

I have fixed the problem editing init.sh, adding the x-axis command line.
I now just need to fix the wifi stability issue. Will start anther thread. thank you

Noire Black

unread,
Aug 6, 2018, 8:15:34 PM8/6/18
to Android-x86
have a t200ta tablet, the rotation settings are the same as the t100ta, just changed 
*T10*TA*)
 to 
*T*0*TA*)

in init.sh. don't know if that's been done on newer versions 
Message has been deleted

Ludger Müller

unread,
Mar 24, 2021, 5:21:08 PM3/24/21
to Android-x86

Hi. My name is Ludger and I'm from Germany. I installed Android as second OS on my 2in1 Acer Switch One10 SW01-111
The item is running Win10Home. 
I made a partition with 15GB and installed BlissOS (Bliss-v11.13--OFFICIAL-20201113-1525_x86_64_k-k4.19.122-ax86-ga-rmi_m-20.1.0-llvm90_dgc-t3_gms_intelhd) with the Android X86-Installer. The sensor is regognized by the system but it's working revers: When I have the tablet in landscape format the apps are in portrait and squeezed. When I rotatet the tablet in portrait format the apps are shown correctly.
The guys from Bliss-Development on XDA told me to search for ro.iio.accel.x.opt_scale, ro.iio.accel.order in the android x86 google groups and so I found this group.
I've already updated the kernel with Gearlock to 5.10x but there is no change. Then I used the app Acceleromter Calibration free. The app shows that the sensor is working but it is not able to fix the reversproblem.
Can you help me to solve the problem
Regards
Ludger

Ludger Müller

unread,
Mar 25, 2021, 8:12:05 AM3/25/21
to Android-x86
Edit: The app Accelerometer Calibration shows the sensor type. It is an S0-i2c-KIOX000A:00

Regards
Ludger

Reply all
Reply to author
Forward
0 new messages