• After 15+ years, we've made a big change: Android Forums is now Early Bird Club. Learn more here.

Root Let's Get CM Onto Avant!

Flash original build with headphones/ your cm backup and in the buildprop "/buildprop" and in the buildprob change
debug.egl.hw=1
debug.sf.hw=1
To
debug.egl.hw=0
debug.sf.hw=0


This theoretically disables hardware acceleration system wide and fix the back camera but might not work without the libchromatix***.so files from the lib folder on the stock ROM

Reboot after (no soft reboot)
 
Enable profile GPU rendering to adb and type in the command
Adb shell dumpsys gfxinfo
So I can examice how the GPU is handling things
 
I need some help from a more expiercened dev I've been looking at the propriety files and noticed some things missing that the stock ROM used
 
I wish I could do more to help, I really wanna see some love for this phone, its been a long time now without a fully functioning ROM. Thanks for the effort your putting into it, its appreciated.
 
Code:
D/PowerHAL_H_Ext(  682): cm_power_set_interactive_ext: enabling input devices
I/PowerManagerService(  682): Waking up from sleep...
I/WindowManager(  682): Lock screen displayed!
D/DisplayPowerController(  682): Unblocked screen on after 422062 ms
D/audio_hw_primary(  260): adev_set_parameters: enter: screen_state=on
E/audio_a2dp_hw(  260): adev_set_parameters: ERROR: set param called even when stream out is null
I/QCOM PowerHAL(  682): Got set_interactive hint
D/PowerManagerService-JNI(  682): Excessive delay in setInteractive(true) while turning screen on: 1355ms
D/SurfaceFlinger(  257): Screen acquired, type=0 flinger=0xb75e64e0
D/qdhwcomposer(  257): hwc_blank: Unblanking display: 0
I/qdhwcomposer(  257): handle_blank_event: dpy:0 panel power state: 1
D/qdhwcomposer(  257): hwc_blank: Done unblanking display: 0
D/SurfaceControl(  682): Excessive delay in unblankDisplay() while turning screen on: 341ms
I/PowerManagerService(  682): Going to sleep by user request...
D/SurfaceFlinger(  257): Screen released, type=0 flinger=0xb75e64e0
D/qdhwcomposer(  257): hwc_blank: Blanking display: 0
I/qdhwcomposer(  257): handle_blank_event: dpy:0 panel power state: 0
D/qdhwcomposer(  257): hwc_blank: Done blanking display: 0
D/SurfaceControl(  682): Excessive delay in blankDisplay() while turning screen off: 256ms
D/PowerHAL_H_Ext(  682): cm_power_set_interactive_ext: disabling input devices
I/QCOM PowerHAL(  682): Got set_interactive hint
D/PowerManagerService-JNI(  682): Excessive delay in setInteractive(false) while turning screen off: 203ms
W/View    (  817): requestLayout() improperly called by android.widget.TextClock{41fe1498 V.ED.... ......ID 0,0-53,129 #7f0b0013 app:id/clock1_regular} during layout: running second layout pass
W/View    (  817): requestLayout() improperly called by android.widget.TextClock{421f22f0 V.ED.... ......ID 53,0-176,129 #7f0b0014 app:id/clock2_regular} during layout: running second layout pass
W/View    (  817): requestLayout() improperly called by android.widget.TextClock{423f4a10 V.ED.... ......ID 178,0-261,25 #7f0b0018 app:id/date_bold} during layout: running second layout pass
W/View    (  817): requestLayout() improperly called by android.widget.TextView{41f019b8 V.ED.... ......ID 83,6-163,35 #7f0b0021 app:id/weather_city} during layout: running second layout pass
W/View    (  817): requestLayout() improperly called by android.widget.TextView{42076300 V.ED.... ......ID 57,35-163,60 #7f0b0027 app:id/weather_condition} during layout: running second layout pass
W/View    (  817): requestLayout() improperly called by android.widget.TextView{422d8050 V.ED.... ......ID 90,60-163,77 #7f0b0022 app:id/update_time} during layout: running second layout pass
W/View    (  817): requestLayout() improperly called by android.widget.TextView{425eec10 V.ED.... ......ID 2,0-64,41 #7f0b0024 app:id/weather_temp} during layout: running second layout pass
W/View    (  817): requestLayout() improperly called by android.widget.TextView{42b4b438 V.ED.... ......ID 0,43-66,71 #7f0b0026 app:id/weather_low_high} during layout: running second layout pass
D/audio_hw_primary(  260): adev_set_parameters: enter: screen_state=off
E/audio_a2dp_hw(  260): adev_set_parameters: ERROR: set param called even when stream out is null


This is the logcat from screen turning on and off. Probably PowerHAL?? anyone????
Im not very good at deving, but it might turn out to be the "D/PowerManagerService-JNI", so yeah i believe you're defiantly right, im gonna look into it
 
Noticed a bug when trying to use xposed additions. It makes the phone soft reboot. I havent figured out why yet, I'll look at the logs here in a minute.
 
I hope to build a cm12 tree for this device but having trouble finding support for ms8226 lollipop on the source page just jellybean and KitKat and try one of my
Builds that was bootable and add the drivers the changes might fix the camera. Here's a link to what might fix other issueshttp://forum.xda-developers.com/android/development/fix-bug-fixing-bugs-porting-custom-roms-t2909599
 
Back
Top Bottom