Problem Think Tank: Sensors Issue

Status
Not open for further replies.

xPhoenix777

Member
Joined
Jan 27, 2011
Messages
121
Reaction score
0
Location
Kamalazoo, MI
Well, we have quite filled the announcement thread with work. Lets keep the discussion in this thread, so legitimate posts about the Romer won't get swept away... That means you xPhoenix777 (!!??).

All joking aside. We don't have a solid fix on what is really causing the crash/soft-boot when sensors are enabled and the screen is off. What we do know is this:

  • The phone will soft-boot when the screen goes off with sensors enabled.
  • The logcat shows that the 'sensors' driver file could not be found when the sensors are enabled (something maybe that goes in conjunction with the sensors.so).
  • Sensors work when enabled, the logcat shows the phone watching tilt for flat/tilt angle.
  • Framework files, bin files, or the gestures.so (not present in D2G, but in D2) might have a play in it.
 
How the Romer came about...

Ok, now for a little background on the Romer, this will be a relatively dry read so feel free not to read it, I only post it to hopefully keep us from being redundant...it all started like this:

Several weeks ago, I downloaded and flashed Liberty for the D2 onto my D2G, just for fun. Right away, it was clear there were issues, no cellular anything, camera was inverted, video recording crashed completely, no bluetooth, no wifi, and the list goes on.

First problem to solve, Cellular signal...afterall this is a phone first and a nerd toy second (my wifes term not mine).

After a couple of google searches, I found that ril files were the "Radio Interface Layer" so...I swapped out anything in the /system/lib file with "ril" in the name. This got me 1x signal, but still no 3g. I went to the testing menu, set signal to CDMA auto prl, still no data. Thus began my build.prop research.

I then replaced the liberty build.prop with the fission build.prop and rebooted. BOOM! Data worked! Now to sort through all the build.prop code to find the one line that was the issue. I started by adding all the D2G code into the Liberty build.prop. I only added things that were actually missing, not things that were different. As that didn't solve it, I began to systematically change sections at a time, once I broke data again, I knew I had the right section. From their I narrowed it down to the #Additional properties# section at the very bottom and found, finally that D2 mounts the wrong usb Ril device (D2 is USB0 while D2G should be USB4)

So that fixed Cell/Data, but led me to issue two...the references in build.prop to the phone model tell the system which sensor files to use, since now the build.prop says D2G, sensors broke. I added back in D2G's /system/lib/hw files and was back in business but had the reboot issue we still have...

It was also at this point that I found that the keyboard was not correct (alt and shft cause the wrong characters to display).

I dug around and found the /system/usr file and grabbed the correct files out of keychars and keylayout. Now the keyboard works.

Now to tackle things like camera, etc.

I stared by parsing an "ls" command to a txt file starting in /system/lib. I then compared that list to Fissions /system/lib (which is actually stock /system/lib). No I didn't manually read the lists, I used a script to compare them, I then added all the stock D2G files that did not exist into Liberty /system/lib, set permissions, and rebooted...No effect. Then I decided to compare file sizes of files in the /lib folder that were the same. If the size was different I used the D2G file. This had some effect but I realized later was pointless. I knew all along that having the same name and file size did not mean it was actually the same file, I was just a jumping off point. About then I decided to Md5sum all the files and compare those.

This gave me a list of 60+ lib files that were unique to the D2G, I could start swapping them one by one, but that would take forever...copy, paste, set perms, reboot, repeat...So I started with files that looked like they dealt with my issues, like libcamera.so etc. That file alone didn't fix camera so I stated google searching and found that several files effected camera. After I replaced all of them, the camera and video started working. (I didn't know at the time, but if you dont have the D2G lights.droid2we.so file in /system/lib/hw, the camera inverts again so those .so files are tied to that sensor file).

When I stated this, I didn't realize that .so files were more phone specific than rom specific. At some point I md5sum compared D2 Fission with D2 Liberty and found that, for the most part, they had the same .so files. It was at that point that I decided to just use ALL of the D2G .so files...unfortunately this wont boot. IIRC, it bootlooped at the bootanimation. After some time, I narrowed it down to libandroid_runtime.so and libandroid_servers.so. I believe these two files are somehow tied to the frameworks in a way that makes them inseparable.

All that fixed just about everything except bluetooth and global data (and of course our sensor issue). At this point I decided to also carryover D2G /system/bin files into Liberty. This fixed bluetooth, global data, charge light and several other minor things.

I added the .so files, /hw files and /usr files to the Stock Liberty ROM, flashed, booted and worked pretty well. I tried that on Squidly...same thing, it worked!

WoZzy had permission from Squidly to release the ROM so we did.

Thats when I decided to put together the Romer. Why bother adding all the same files to each rom when we could just flash it over top and get to essentially the same place. WoZzy liked that idea so we released it as well.

The intended use was initially to get other people to look into the sensor issue, hence leaving them enabled by default. Then, when a few people didn't seem to mind the sensors, I decided to disable them by default. Either way I got my wish, people are interested in D2G development...some are even helping to fix the issues (xPhoenix777, 13th Angel, TinMan09, me, WoZ and I'm sure others I've either forgotten or that I don't know about)

So basically, the files found in Romer_v6 are unique to the D2G. It is possible that not swapping one of them would fix the problem, but...As I said earlier, the sensor issue was one of the first issues to come up. Yesterday I booted Liberty (stock) and swapped only the sensor files, renaming the D2G's to match the D2's. This one change immediately gave me the reset issue, which tells us something. The issue is probably related to a file we are not changing with the Romer, rather than one that we are changing.

My guesses, are similar to xPhoenix777, I think it is either something to do with:

  • libandroid_runtime.so or libandroid_servers.so
  • the D2 frameworks
  • gestures.droid2.so

For anybody that is interested, I've got google docs (spreadsheets) that compare framework-res.apk from Fission D2G to Liberty D2, as well as a few other framework files.
 
Just a thought, but since this is related to the power button, would this probably not be the same file that is changed to add reboot into the Droid 2 and Droid X on other versions (Ie Fission). If so I am guessing that at least ANGdroid knows the name of this, and can possibly shed some light on what may be wrong.
 
Last edited:
I've wondered that as well.

It has the same issues when it automatically sleeps too, and a long press of the power button still brings up the menu and works fine.

When the phone properly sleeps, it sends a command to stop checking orientation. When running a D2 Rom, that command is never seen because right about there, it crashes.

But, for what it's worth, I did PM Angdroid awhile back regarding this issue. No response yet.

Thanks for helping us brainstorm!
 
I've wondered that as well.

It has the same issues when it automatically sleeps too, and a long press of the power button still brings up the menu and works fine.

When the phone properly sleeps, it sends a command to stop checking orientation. When running a D2 Rom, that command is never seen because right about there, it crashes.

But, for what it's worth, I did PM Angdroid awhile back regarding this issue. No response yet.

Thanks for helping us brainstorm!


No problem, I have been playing around with different configurations offline trying to get something. I am new to the Android world, but not new to development. Reading your write up above really was helpful. Thanks for all your work.

Edit: Trying something a little off the beaten path, Flashing the D2 Fission 2.5.7 and seeing if we get any results. Has this been attempted yet?
 
Last edited:
Alright, for what it's worth, I just pushed the D2 sensors file over to Fission D2G (after renaming it to sensors.droid2we.so) and guess what. It created the reboot issue within D2G Fission!

Is this good news...I really don't know. But I think what it means is, almost unequivocally, that the crux of the issue is the sensors.so file. Maybe...?

Edit: @bmtbandit, yes I have and it works great!
 
Would you like me to post the list of D2G files needed to build Android? Perhaps they would help to narrow down your search. Also take a look at the output of 'strings <file> | grep lib*' , might be worth the effort at this point.

Sent from my White DROID 2 GLOBAL.
 
Sure, post it on up!

What file should I run that on?

Edit: run "strings sensors.droid2we.so | grep lib*" to tell me all the lib files that are referenced", if so, unfortunately all the referenced libs have the same md5 from D2 to D2G, I checked those awhile back. (not running grep...just reading the strings output)
 
Last edited:
Long post...

proprietary.motorola:
Code:
/system/app/PhoneConfig.apk
/system/app/ProgramMenu.apk
/system/bin/Hostapd
/system/bin/SaveBPVer
/system/bin/akmd2
/system/bin/ap_gain.bin
/system/bin/batch
/system/bin/battd
/system/bin/btcmd
/system/bin/bthelp
/system/bin/bttest_mot
/system/bin/charge_only_mode
/system/bin/chat-ril
/system/bin/dbvc_atvc_property_set
/system/bin/dmt
/system/bin/dund
/system/bin/ecckeyd
/system/bin/factory_reset
/system/bin/fdisk
/system/bin/firewall.sh
/system/bin/ftmipcd
/system/bin/gkilogd
/system/bin/loadpreinstalls.sh
/system/bin/mdm_panicd
/system/bin/modemlog
/system/bin/napics.sh
/system/bin/pppd-ril
/system/bin/pvrsrvinit
/system/bin/secclkd
/system/bin/smc_pa_ctrl
/system/bin/smoduled
/system/bin/startup_smc.sh
/system/bin/tcmd
/system/bin/tcmdhelp
/system/bin/testpppd
/system/bin/tstmetainfo
/system/bin/usbd
/system/etc/amazon-kindle.properties
/system/etc/arcplayer.cfg
/system/etc/backup_targets.csv
/system/etc/cameraCalFileDef5M.bin
/system/etc/excluded-input-devices.xml
/system/etc/firmware/ap_bt_data.bin
/system/etc/firmware/wl1271.bin
/system/etc/fm_rx_init_1273.2.bts
/system/etc/fm_rx_init_6450.2.bts
/system/etc/fmc_init_1273.2.bts
/system/etc/fmc_init_6450.2.bts
/system/etc/media_profiles.xml
/system/etc/priority_notifications_config.xml
/system/etc/pvextensions.cfg
/system/etc/pvplayer_mot.cfg
/system/etc/security/mancacerts.zip
/system/etc/security/oprcacerts.zip
/system/etc/security/suplcerts.bks
/system/etc/smc_android_cfg.ini
/system/etc/smc_android_cfg_256.ini
/system/etc/smc_pa.ift
/system/etc/smc_pa_pk_4_ipa.bin
/system/etc/supportedlocales.conf
/system/etc/vold.fstab
/system/etc/vzwpubagps.cer
/system/etc/wifi/fw_tiwlan_ap.bin
/system/etc/wifi/fw_wlan1271.bin
/system/etc/wifi/hostapd.conf.templet
/system/etc/wifi/tiwlan.ini
/system/etc/wifi/tiwlan_ap.ini
/system/etc/wifi/wpa_supplicant.conf
/system/lib/dsp/baseimage.dof
/system/lib/dsp/conversions.dll64P
/system/lib/dsp/h264vdec_sn.dll64P
/system/lib/dsp/h264venc_sn.dll64P
/system/lib/dsp/jpegenc_sn.dll64P
/system/lib/dsp/m4venc_sn.dll64P
/system/lib/dsp/mp3dec_sn.dll64P
/system/lib/dsp/mp4vdec_sn.dll64P
/system/lib/dsp/mpeg4aacdec_sn.dll64P
/system/lib/dsp/mpeg4aacenc_sn.dll64P
/system/lib/dsp/nbamrdec_sn.dll64P
/system/lib/dsp/nbamrenc_sn.dll64P
/system/lib/dsp/postprocessor_dualout.dll64P
/system/lib/dsp/ringio.dll64P
/system/lib/dsp/usn.dll64P
/system/lib/dsp/wbamrdec_sn.dll64P
/system/lib/dsp/wbamrenc_sn.dll64P
/system/lib/dsp/wmadec_sn.dll64P
/system/lib/dsp/wmv9dec_sn.dll64P
/system/lib/egl/libEGL_POWERVR_SGX530_125.so
/system/lib/egl/libGLESv1_CM_POWERVR_SGX530_125.so
/system/lib/egl/libGLESv2_POWERVR_SGX530_125.so
/system/lib/egl/libeglinfo.so
/system/lib/egl/libgles1_texture_stream.so
/system/lib/egl/libgles2_texture_stream.so
/system/lib/hw/gralloc.omap3.so
/system/lib/hw/lights.droid2we.so
/system/lib/hw/sensors.droid2we.so
/system/lib/libHPImgApi.so
/system/lib/libIMGegl.so
/system/lib/libMynetNativeJni.so
/system/lib/libOMX.TI.AAC.decode.so
/system/lib/libOMX.TI.AAC.encode.so
/system/lib/libOMX.TI.AMR.decode.so
/system/lib/libOMX.TI.AMR.encode.so
/system/lib/libOMX.TI.JPEG.Encoder.so
/system/lib/libOMX.TI.MP3.decode.so
/system/lib/libOMX.TI.Video.Decoder.so
/system/lib/libOMX.TI.Video.encoder.so
/system/lib/libOMX.TI.WBAMR.decode.so
/system/lib/libOMX.TI.WBAMR.encode.so
/system/lib/libOMX.TI.WMA.decode.so
/system/lib/libSwypeCore.so
/system/lib/libWifiAPHardware.so
/system/lib/libWifiAPNativeJni.so
/system/lib/libarcsoftpe.so
/system/lib/libbattd.so
/system/lib/libcaps.so
/system/lib/libcryptoki.so
/system/lib/libdlnahttpjni.so
/system/lib/libdlnajni.so
/system/lib/libdlnaprofileparser.so
/system/lib/libdlnasysjni.so
/system/lib/libdmengine.so
/system/lib/libdmjavaplugin.so
/system/lib/libglslcompiler.so
/system/lib/libhostapd_client.so
/system/lib/libimage_jni.so
/system/lib/libjanus.so
/system/lib/libjanus_jni.so
/system/lib/libkpt-review.so
/system/lib/libmedia_jni.so
/system/lib/libmediaext.so
/system/lib/libmetainfo.so
/system/lib/libmot_atcmd.so
/system/lib/libmot_atcmd_mflex.so
/system/lib/libmot_bluetooth_jni.so
/system/lib/libmot_bthid_jni.so
/system/lib/libmot_btpan_jni.so
/system/lib/libmot_led.so
/system/lib/libmotdrm1.so
/system/lib/libmotdrm1_jni.so
/system/lib/libmoto_netutil.so
/system/lib/libmoto_ril.so
/system/lib/libmotodbgutils.so
/system/lib/libmotprojectM.so
/system/lib/libmtp_jni.so
/system/lib/libmtpstack.so
/system/lib/libnativedrm1.so
/system/lib/liboemcamera.so
/system/lib/libomx_arcomxcore_sharedlibrary.so
/system/lib/libomx_evrcdec_sharedlibrary.so
/system/lib/libomx_qcelpdec_sharedlibrary.so
/system/lib/libomx_qcelpenc_sharedlibrary.so
/system/lib/libomx_wmadec_sharedlibrary.so
/system/lib/libopencore_arcaudiolocal.so
/system/lib/libopencore_arcaudiolocalreg.so
/system/lib/libopencore_motlocal.so
/system/lib/libopencore_motlocalreg.so
/system/lib/libopencore_motojanusreg.so
/system/lib/libopencore_motoma1.so
/system/lib/libpanorama.so
/system/lib/libpanorama_jni.so
/system/lib/libpkip.so
/system/lib/libpppd_plugin-ril.so
/system/lib/libpppd_plugin.so
/system/lib/libprojectM.so
/system/lib/libprovlib.so
/system/lib/libpvgetmetadata_extn.so
/system/lib/libpvr2d.so
/system/lib/libpvrANDROID_WSEGL.so
/system/lib/libscalado.so
/system/lib/libsmapi.so
/system/lib/libsrv_init.so
/system/lib/libsrv_um.so
/system/lib/libssmgr.so
/system/lib/libtpa.so
/system/lib/libtpa_core.so
/system/lib/libui3d.so
/system/lib/libvideoeditorlite.so
/system/lib/libvisualization_jni.so
/system/lib/libwbxmlparser.so
/system/tts/lang_pico/en-US_lh0_sg.bin
/system/tts/lang_pico/en-US_ta.bin
/system/tts/lang_pico/es-ES_ta.bin
/system/tts/lang_pico/es-ES_zl0_sg.bin
/system/usr/keychars/cdma_droid2we-keypad.kcm.bin
/system/usr/keylayout/cdma_droid2we-keypad.kl
/system/usr/keylayout/cpcap-key.kl
/system/xbin/backup
/system/xbin/drm1_func_test
/system/xbin/run_backup
/system/xbin/run_restore
/system/xbin/ssmgrd
proprietary.motorola.android_board:
Code:
/system/lib/libaudiopolicy.so
/system/lib/libmedia_jni.so
/system/lib/libaudio.so
/system/lib/libcamera.so
/system/lib/libnmea.so
/system/lib/libril_rds.so
/system/lib/libgps_rds.so
/system/lib/librds_util.so
/system/lib/libsmiledetect.so
/system/lib/libarcsoft.so
AndroidBoard.mk:
Code:
file := $(TARGET_ROOT_OUT)/init.mapphone_umts.rc
ALL_PREBUILT += $(file)
$(file) : $(LOCAL_PATH)/init.mapphone_umts.rc | $(ACP)
    $(transform-prebuilt-to-target)

file := $(TARGET_ROOT_OUT)/init.mapphone_cdma.rc
ALL_PREBUILT += $(file)
$(file) : $(LOCAL_PATH)/init.mapphone_cdma.rc | $(ACP)
    $(transform-prebuilt-to-target)

file := $(TARGET_ROOT_OUT)/init_prep_keypad.sh
ALL_PREBUILT += $(file)
$(file) : $(LOCAL_PATH)/init_prep_keypad.sh | $(ACP)
    $(transform-prebuilt-to-target)

include $(CLEAR_VARS)
LOCAL_MODULE := libaudio.so
LOCAL_MODULE_CLASS := SHARED_LIBRARIES
LOCAL_MODULE_PATH := $(TARGET_OUT_SHARED_LIBRARIES)
LOCAL_SRC_FILES := proprietary/$(LOCAL_MODULE)
OVERRIDE_BUILT_MODULE_PATH := $(TARGET_OUT_INTERMEDIATE_LIBRARIES)
include $(BUILD_PREBUILT)

include $(CLEAR_VARS)
LOCAL_MODULE := libaudiopolicy.so
LOCAL_MODULE_CLASS := SHARED_LIBRARIES
LOCAL_MODULE_PATH := $(TARGET_OUT_SHARED_LIBRARIES)
LOCAL_SRC_FILES := proprietary/$(LOCAL_MODULE)
LOCAL_ADDITIONAL_DEPENDENCIES := libmedia_jni.so
OVERRIDE_BUILT_MODULE_PATH := $(TARGET_OUT_INTERMEDIATE_LIBRARIES)
include $(BUILD_PREBUILT)

include $(CLEAR_VARS)
LOCAL_MODULE := libmedia_jni.so
LOCAL_MODULE_CLASS := SHARED_LIBRARIES
LOCAL_MODULE_PATH := $(TARGET_OUT_SHARED_LIBRARIES)
LOCAL_SRC_FILES := proprietary/$(LOCAL_MODULE)
OVERRIDE_BUILT_MODULE_PATH := $(TARGET_OUT_INTERMEDIATE_LIBRARIES)
include $(BUILD_PREBUILT)

include $(CLEAR_VARS)
LOCAL_MODULE := libcamera.so
LOCAL_MODULE_CLASS := SHARED_LIBRARIES
LOCAL_MODULE_PATH := $(TARGET_OUT_SHARED_LIBRARIES)
LOCAL_SRC_FILES := proprietary/$(LOCAL_MODULE)
LOCAL_ADDITIONAL_DEPENDENCIES := libsmiledetect.so
OVERRIDE_BUILT_MODULE_PATH := $(TARGET_OUT_INTERMEDIATE_LIBRARIES)
include $(BUILD_PREBUILT)

include $(CLEAR_VARS)
LOCAL_MODULE := libril_rds.so
LOCAL_MODULE_CLASS := SHARED_LIBRARIES
LOCAL_MODULE_PATH := $(TARGET_OUT_SHARED_LIBRARIES)
LOCAL_SRC_FILES := proprietary/$(LOCAL_MODULE)
OVERRIDE_BUILT_MODULE_PATH := $(TARGET_OUT_INTERMEDIATE_LIBRARIES)
include $(BUILD_PREBUILT)

include $(CLEAR_VARS)
LOCAL_MODULE := librds_util.so
LOCAL_MODULE_CLASS := SHARED_LIBRARIES
LOCAL_MODULE_PATH := $(TARGET_OUT_SHARED_LIBRARIES)
LOCAL_SRC_FILES := proprietary/$(LOCAL_MODULE)
OVERRIDE_BUILT_MODULE_PATH := $(TARGET_OUT_INTERMEDIATE_LIBRARIES)
include $(BUILD_PREBUILT)

include $(CLEAR_VARS)
LOCAL_MODULE := libnmea.so
LOCAL_MODULE_CLASS := SHARED_LIBRARIES
LOCAL_MODULE_PATH := $(TARGET_OUT_SHARED_LIBRARIES)
LOCAL_SRC_FILES := proprietary/$(LOCAL_MODULE)
OVERRIDE_BUILT_MODULE_PATH := $(TARGET_OUT_INTERMEDIATE_LIBRARIES)
include $(BUILD_PREBUILT)

include $(CLEAR_VARS)
LOCAL_MODULE := libgps_rds.so
LOCAL_MODULE_CLASS := SHARED_LIBRARIES
LOCAL_MODULE_PATH := $(TARGET_OUT_SHARED_LIBRARIES)
LOCAL_SRC_FILES := proprietary/$(LOCAL_MODULE)
LOCAL_ADDITIONAL_DEPENDENCIES := libnmea.so libril_rds.so librds_util.so
OVERRIDE_BUILT_MODULE_PATH := $(TARGET_OUT_INTERMEDIATE_LIBRARIES)
include $(BUILD_PREBUILT)

# dependency for libcamera.so
include $(CLEAR_VARS)
LOCAL_MODULE := libsmiledetect.so
LOCAL_MODULE_CLASS := SHARED_LIBRARIES
LOCAL_MODULE_PATH := $(TARGET_OUT_SHARED_LIBRARIES)
LOCAL_SRC_FILES := proprietary/$(LOCAL_MODULE)
LOCAL_ADDITIONAL_DEPENDENCIES := libarcsoft.so
OVERRIDE_BUILT_MODULE_PATH := $(TARGET_OUT_INTERMEDIATE_LIBRARIES)
include $(BUILD_PREBUILT)

# dependency for libsmiledetect.so
include $(CLEAR_VARS)
LOCAL_MODULE := libarcsoft.so
LOCAL_MODULE_CLASS := SHARED_LIBRARIES
LOCAL_MODULE_PATH := $(TARGET_OUT_SHARED_LIBRARIES)
LOCAL_SRC_FILES := proprietary/$(LOCAL_MODULE)
OVERRIDE_BUILT_MODULE_PATH := $(TARGET_OUT_INTERMEDIATE_LIBRARIES)
include $(BUILD_PREBUILT)

# symlink some keymap stuff
file := $(TARGET_OUT)/usr/keychars/sholes-keypad.kcm.bin
ALL_PREBUILT += $(file)
$(file) : $(TARGET_OUT)/usr/keychars/cdma_droid2we-keypad.kcm.bin
    @echo "Symlink: $@ -> cdma_droid2we-keypad.kcm.bin"
    @mkdir -p $(dir $@)
    @rm -rf $@
    $(hide) ln -sf cdma_droid2we-keypad.kcm.bin $@
file := $(TARGET_OUT)/usr/keylayout/sholes-keypad.kl
ALL_PREBUILT += $(file)
$(file) : $(TARGET_OUT)/usr/keylayout/cdma_droid2we-keypad.kl
    @echo "Symlink: $@ -> cdma_droid2we-keypad.kl"
    @mkdir -p $(dir $@)
    @rm -rf $@
    $(hide) ln -sf cdma_droid2we-keypad.kl $@
 
Alright, for what it's worth, I just pushed the D2 sensors file over to Fission D2G (after renaming it to sensors.droid2we.so) and guess what. It created the reboot issue within D2G Fission!

Is this good news...I really don't know. But I think what it means is, almost unequivocally, that the crux of the issue is the sensors.so file. Maybe...?

Edit: @bmtbandit, yes I have and it works great!

Could we push the sensors droid2we file renamed droid2 (and still have the droid2we file there). It might be something is still looking for the droid2 reference because bootup was looking for droid2we, found it and says "WE HAVE SENSORS!" - Said rogue app/service goes, "SENSORS?! OK *Tries to open droid2*".

If that build list doesn't fix it, this might be worth a shot.

EDIT: I read that you renamed the sensors droid2we to replace the droid2 file... that was when you had no build.prop saying the phone was actually the droid2we right? The push of the droid2we sensors over the droid 2 could actually soft-boot the device then...
 
Last edited:
Ive tried it a couple ways.

Within LIberty with a D2G build.prop, I've pushed the D2 sensor file (renaming it sensors.droid2we.so), no luck

Within Fission (with the standard build.prop), I pushed the D2 sensor file, again renamed sensor.droid2we.so, and it caused the soft reset.

I have also tried liberty with a D2G build.prop with all the stock liberty /system/lib/hw files as well as the droid2we sensors and lights files. still soft reboots.

so the folder would have the following:
sensors.droid2.so
sensors.droid2we.so
lights.droid2.so
lights.droid2we.so

as well as the others...
 
Ive tried it a couple ways.

Within LIberty with a D2G build.prop, I've pushed the D2 sensor file (renaming it sensors.droid2we.so), no luck

Within Fission (with the standard build.prop), I pushed the D2 sensor file, again renamed sensor.droid2we.so, and it caused the soft reset.

I have also tried liberty with a D2G build.prop with all the stock liberty /system/lib/hw files as well as the droid2we sensors and lights files. still soft reboots.

so the folder would have the following:
sensors.droid2.so
sensors.droid2we.so
lights.droid2.so
lights.droid2we.so

as well as the others...

/system/lib/libhardware_legacy.so

should do it, snatch it from a stock rom
 
Unfortunately were already including that in our little toolbox.

To see all the files that we are using, download the D2G_Romer_v6.zip and view them with winrar or 7zip or whatever. Those files are all the d2g files that have different md5sums as compared to D2 Liberty.
 
Unfortunately were already including that in our little toolbox.

To see all the files that we are using, download the D2G_Romer_v6.zip and view them with winrar or 7zip or whatever. Those files are all the d2g files that have different md5sums as compared to D2 Liberty.

ok what "sensors" arent working, proximity, accelerometer, compass, ambient light sensor??
 
All sensors work when enabled...
Then whenever it tries to sleep it soft resets..
Because of this issue we have to disable them.

Sent from my DROID2 GLOBAL using DroidForums App
 
Last edited:
Status
Not open for further replies.
Back
Top