Coder Social home page Coder Social logo

android_device_elephone_p9000's People

Contributors

andyrichardson avatar deepflex avatar janengelmohr avatar jonnyvr1 avatar olegsvs avatar rmcc avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

android_device_elephone_p9000's Issues

Camera app crash

Camera crashes when taking a photo with the reverse camera and HDR enabled.

09-01 14:11:58.167   314   314 F DEBUG   :     #11 pc 000261ff  /system/lib/libcamera_client.so (_ZN7android16CameraParameters9unflattenERKNS_7String8E+116)
09-01 14:11:58.167   314   314 F DEBUG   :     #12 pc 000547f7  /system/lib/libcameraservice.so
09-01 14:11:58.167   314   314 F DEBUG   :     #13 pc 00054c9d  /system/lib/libcameraservice.so (_ZN7android12CameraClient13setParametersERKNS_7String8E+44)
09-01 14:11:58.167   314   314 F DEBUG   :     #14 pc 0001ebe5  /system/lib/libcamera_client.so (_ZN7android8BnCamera10onTransactEjRKNS_6ParcelEPS1_j+502)
09-01 14:11:58.773   288   288 I ServiceManager: service 'media.camera' died
09-01 14:11:58.776 23253 23295 W CameraBase: Camera service died!
09-01 14:11:58.776 23253 23295 W CameraBase: mediaserver's remote binder Camera object died
09-01 14:11:58.777 15130 15147 W CameraBase: Camera service died!
09-01 14:11:58.781 23253 23272 E Camera  : Error 100
09-01 14:11:58.781 23253 23272 E CameraErrorCallback: Got camera error callback. error=100

SIM Detection Errors

I've encountered SIM detection errors as of Build 4 using a clean flash. Inserting a SIM will produce a "SIM cards have changed" notification but will show "SIM empty" in the SIM card preferences within the settings menu.

The following log was produced when inserting a SIM in slot 2.

01-01 00:40:19.126   919   919 W KeyguardUpdateMonitor: invalid subId in handleSimStateChange()
01-01 00:40:19.133   712   740 D GpsLocationProvider: received SIM change, new known MCC/MNC: []
01-01 00:40:19.183  1288  1288 D SimSelectNotification:  no of slots 2 provision = false
01-01 00:40:19.295   919   919 W KeyguardUpdateMonitor: invalid subId in handleSimStateChange()
01-01 00:40:19.298   712   740 D GpsLocationProvider: received SIM change, new known MCC/MNC: []
01-01 00:40:19.304  1288  1288 D SimSelectNotification:  no of slots 2 provision = false
01-01 00:40:19.682   712   740 D GpsLocationProvider: received SIM change, new known MCC/MNC: []
01-01 00:40:19.825   712   740 D GpsLocationProvider: received SIM change, new known MCC/MNC: []
01-01 00:40:19.911   712   740 D GpsLocationProvider: received SIM change, new known MCC/MNC: []
01-01 00:40:19.925  2179  2179 D CellBroadcastReceiver: onReceive Intent { act=android.intent.action.internal_sim_state_changed flg=0x24000010 cmp=com.android.cellbroadcastreceiver/.CellBroadcastReceiver (has extras) }
01-01 00:40:20.522   712   740 D GpsLocationProvider: received SIM change, new known MCC/MNC: []

Reverting to build 3 resolves this issue.

Minor Bug: Bluetooth refresh devices - not working

I can't comment on previous versions but build 2 has issues with Bluetooth device detection. The only way to refresh the list of available devices is to toggle Bluetooth off and then on.

Hitting the refresh button produces the following output to logcat:

08-31 10:31:41.349 12017 12030 D A2dpService: getA2DPService(): returning com.android.bluetooth.a2dp.A2dpService@c19183c

As the A2DP service is purely related to audio over Bluetooth, I wonder if there is another call that should be made that isn't being executed BluetoothLeScanner.startScan() maybe?

Edit: Found this error when enabling Bluetooth

getBluetoothService() called with no BluetoothManagerCallback

After some research, I've heard it can be caused by opening too many Bluetooth sockets. Should that not be the case, there have also been suggestions to "Try to get BluetoothAdapter via getDefaultAdapter() prior to socket object create."

Media Encoder issue (Exoplayer lib)

ACodec : [OMX.MTK.VIDEO.DECODER.AVC] configureCodec returning error -61 ExoPlayerImplInternal: Internal track renderer error.

Video / GIF / VP9 Not loading

build error

make: *** No rule to make target 'device/elephone/p9000/prebuilt/nfc/lib/libnfc_ndef.so', needed by '/media/li/Samsung/cyanogenmod/out/target/product/p9000/system/lib/libnfc_ndef.so'. Stop.

Build 4 onwards black screen at boot

I know @Deepflex is aware of this issue through the XDA forum but I've taken the time to try and source this error and I believe it has something to do with this part of the boot log:

08-16 19:16:33.551   260   260 I NVRAM   : Coldboot: all uevent has handled
08-16 19:16:33.551   260   260 I vold    : 'nvdata' partition exists.
--------- beginning of crash
08-16 19:16:33.888   325   325 F libc    : page record for 0x7fac25b010 was not found (block_size=16)
08-16 19:16:33.948   276   276 E BootLogoUpdater: [boot_logo_updater]boot package = 0
08-16 19:16:33.948   276   276 E BootLogoUpdater: [boot_logo_updater]update boot reason = 0, ret = 2
08-16 19:16:38.250   896   896 F libc    : page record for 0x7fa2fab010 was not found (block_size=16)
08-16 19:16:43.819  1043  1043 F libc    : page record for 0x7f8afd6010 was not found (block_size=16)
08-16 19:16:48.132  1057  1057 F libc    : page record for 0x7fa59df010 was not found (block_size=16)
08-16 19:16:53.661  1085  1085 F libc    : page record for 0x7fa073a010 was not found (block_size=16)
08-16 19:16:56.953  1019  1019 E PackageManager: updateAllSharedLibrariesLPw failed: Package com.mediatek.engineermode requires unavailable shared library com.mediatek.crossmount.adapter; failing!
08-16 19:16:58.678  1104  1104 F libc    : page record for 0x7f7c1b4010 was not found (block_size=16)
08-16 19:16:59.504  1019  1019 E LockSettingsStorage: Cannot read file java.io.FileNotFoundException: /data/system/password.key: open failed: ENOENT (No such file or directory)
08-16 19:16:59.788  1019  1074 E WifiDisplayController: actionAtDisconnected, null display
08-16 19:16:59.811  1019  1074 E WifiDisplayController: WFD disconnected, and WifiLock isn't Held!
08-16 19:16:59.830  1019  1069 E KernelCpuSpeedReader: cpu4 time_in_state not exist, is it a BUG??!!
08-16 19:16:59.911   296  1026 E NetlinkEvent: Failed to open ra_info_flag (No such file or directory)
08-16 19:17:00.023  1019  1069 E KernelCpuSpeedReader: cpu4 time_in_state not exist, is it a BUG??!!
--------- beginning of main
08-16 19:17:00.545  1019  1109 E WifiStateMachine: ConnectModeState
08-16 19:17:00.547  1195  1311 E WVMExtractor: Failed to open libwvm.so: dlopen failed: library "libwvm.so

Can't boot my cm14.1 builds flashed with twrp

Hello,
I built successfully cm14.1 branch from Leskal. I tried to flash the zip from out dir through TWRP but I got 2 Errors while flashing (E:unknown command) and the system doesn't boot.
I also tried to build and flash TWRP7.1 with spft but it does not work.
Is it already possible to run cm14.1 builds on the p9000 ?

Connecting to Bluetooth keyboard - fails to connect

When trying to pair with a Bluetooth keyboard, the error "Can't communicate with [device]" is produced. A temporary fix is to toggle Bluetooth and then instantly attempt to pair with the keyboard as soon as possible. Because of the nature of the issue, I suspect that it is related to issue #76

Here is the Bluetooth log starting from an attempt to pair and ending at the failure notification. MAC address has been sensored.

08-31 10:41:49.406  9699  9699 I BluetoothDevice: createBond() for device 34:88:5D:42:**:** called by pid: 9699 tid: 9699
08-31 10:41:49.407 15768 15781 D A2dpService: getA2DPService(): returning com.android.bluetooth.a2dp.A2dpService@c19183c
08-31 10:41:49.470 15768 15788 I BluetoothBondStateMachine: Bond address is:34:88:5D:42:**:**
08-31 10:41:49.470 15768 15788 I BluetoothBondStateMachine: Entering PendingCommandState State
08-31 10:41:49.471 15768 15786 I BluetoothBondStateMachine: bondStateChangeCallback: Status: 0 Address: 34:88:5D:42:**:** newState: 1
08-31 10:41:49.474 15768 15788 I BluetoothBondStateMachine: Bond State Change Intent:34:88:5D:42:**:** OldState: 10 NewState: 11
08-31 10:42:24.492 15768 15786 I BluetoothBondStateMachine: bondStateChangeCallback: Status: 10 Address: 34:88:5D:42:**:** newState: 0
08-31 10:42:24.492 15768 15788 D BluetoothAdapterProperties: Failed to remove device: 34:88:5D:42:**:**
08-31 10:42:24.494 15768 15788 I BluetoothBondStateMachine: Bond State Change Intent:34:88:5D:42:**:** OldState: 11 NewState: 10
08-31 10:42:24.497 15768 15788 D A2dpService: getA2DPService(): returning com.android.bluetooth.a2dp.A2dpService@c19183c
08-31 10:42:24.498 15768 15788 I BluetoothBondStateMachine: StableState(): Entering Off State

Can't adjust volume on incall.

When receiving an incall the volume isn't adjustable via the rocker at the side of the phone. The Slider on the top is moving but the volume stay constant (and to loud BTW.).

I think this is since RC4. Done clean flash after flashing stockrom complete.

Error compiling p9000 lineageos 14.1

Hi
I compiled 13.0 rom without much problems (it's my 1st time compiling android & lineage/cm rom) but when I try to compile 14.1 rom (with leskal 14.1 branches) I always get the same compile error:

(I'm using Linux mint with lineageos 14.1 source)

system/netd/server/SoftapController.cpp:101:26: error: use of undeclared identifier 'hostapd_unix_file'
    ctrl = wpa_ctrl_open(hostapd_unix_file.c_str());
                         ^
system/netd/server/SoftapController.cpp:111:30: error: use of undeclared identifier 'hostapd_unix_file'
        ctrl = wpa_ctrl_open(hostapd_unix_file.c_str());
                             ^
system/netd/server/SoftapController.cpp:219:13: error: use of undeclared identifier 'hostapd_unix_file'
            hostapd_unix_file = wbuf;
            ^
3 errors generated.
build/core/binary.mk:986: recipe for target '/media/mik/dev1/android/system/out/target/product/p9000/obj/EXECUTABLES/netd_intermediates/SoftapController.o' failed
make: *** [/media/mik/dev1/android/system/out/target/product/p9000/obj/EXECUTABLES/netd_intermediates/SoftapController.o] Error 1

I used these commands to compile :

sh device/elephone/p9000/patches/install.sh
export JACK_SERVER_VM_ARGUMENTS="-Dfile.encoding=UTF-8 -XX:+TieredCompilation -Xmx8g"
./prebuilts/sdk/tools/jack-admin kill-server
./prebuilts/sdk/tools/jack-admin start-server
. build/envsetup.sh
brunch p9000

I would like to help but now I'm stuck and I can't find much informations about this error...
Did someone get the same issue ?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.