[ROM][UNOFFICIAL][10.0] LineageOS 17.1 for UMIDIGI F1 and F1 PLAY

what system you want on android 11 ??

  • Pixel Experience

    Votes: 0 0.0%
  • Havoc OS

    Votes: 0 0.0%
  • LineageOS

    Votes: 6 100.0%
  • crDroid

    Votes: 0 0.0%

  • Total voters
    6
Search This thread

pwdhun

Member
Oct 19, 2021
5
1
Hi. I downloaded and tried to install this ROM (what is in the first forum entry by the author) on my UMIDIGI F1 Play : https://www.mediafire.com/file/5e87kyoyho6eo8n/lineage-17.1-20210821-UNOFFICIAL-F1_EEA.zip/file - but there was just an error code:
" E3004: This package is for device: F1; this device is: F1_Play ".
So from twrp (3.5.2_10-0) therefore i can not install it. Can you help me?

umf1play-error.jpg
 
Last edited:

yudati

Member
Aug 2, 2015
26
5
Hi. I downloaded and tried to install this ROM (what is in the first forum entry by the author) on my UMIDIGI F1 Play : https://www.mediafire.com/file/5e87kyoyho6eo8n/lineage-17.1-20210821-UNOFFICIAL-F1_EEA.zip/file - but there was just an error code:
" E3004: This package is for device: F1; this device is: F1_Play ".
So from twrp (3.5.2_10-0) therefore i can not install it. Can you help me?

View attachment 5436673
That's what happened to me as well ....you need to install it with different version of twrp
3.3.1 and than it'll work
 
  • Like
Reactions: pwdhun

Shadow Of Leaf

Senior Member
Jul 28, 2014
612
483
Casablanca
Samsung Galaxy Z Flip3
Hi. I downloaded and tried to install this ROM (what is in the first forum entry by the author) on my UMIDIGI F1 Play : https://www.mediafire.com/file/5e87kyoyho6eo8n/lineage-17.1-20210821-UNOFFICIAL-F1_EEA.zip/file - but there was just an error code:
" E3004: This package is for device: F1; this device is: F1_Play ".
So from twrp (3.5.2_10-0) therefore i can not install it. Can you help me?

View attachment 5436673

use TWRP 3.3.1 it will work
TWRP 3.3.1 download link : https://xdaforums.com/t/recovery-decryption-works-unofficial-twrp-3-3-1-for-umidigi-f1-play.4007315/
 
  • Like
Reactions: pwdhun

pwdhun

Member
Oct 19, 2021
5
1
Many thanks guys,

With linked TWRP 3.3.1 umidigi-play-f1 version it is work!
(with official twrp 3.3.1 for um f1 play - from twrp.me the error code is remains the same!)

A new question about the LA Trust service:
- How i can enable SELinux (what is red and off now in the Trust menu) ?
- Also the google sercurity pack level notification is old and red now (but I understand that since the rom is not the latest either) ..
- And the encryption is red and off too.

Thanks in advance for the solutions!
 
Last edited:

yudati

Member
Aug 2, 2015
26
5
Can someone please check if the recording video works ? ( Try to watch the video after recording it)
I tried reinstall everything from beginning and still not working
 

Shadow Of Leaf

Senior Member
Jul 28, 2014
612
483
Casablanca
Samsung Galaxy Z Flip3
Many thanks guys,

With linked TWRP 3.3.1 umidigi-play-f1 version it is work!
(with official twrp 3.3.1 for um f1 play - from twrp.me the error code is remains the same!)

A new question about the LA Trust service:
- How i can enable SELinux (what is red and off now in the Trust menu) ?
- Also the google sercurity pack level notification is old and red now (but I understand that since the rom is not the latest either) ..
- And the encryption is red and off too.

Thanks in advance for the solutions!
for now selinux is permissive due to bugs i will enable enforcing mode when fixing bugs
for security patch i will try to update the source code as my internet is a little bit slow
 

Shadow Of Leaf

Senior Member
Jul 28, 2014
612
483
Casablanca
Samsung Galaxy Z Flip3
Can someone please check if the recording video works ? ( Try to watch the video after recording it)
I tried reinstall everything from beginning and still not working
yes i confirmed the camera bug

when turn on the phone the camera woked but i think when media codec get messed up the camera will too
for now just reboot your phone it will work

as for the problem i think the media codec in vendor is old and incompatible with lineageos 17.1 thats why camera sometimes stop working and google chrome get the phone to soft reboot

i will try to fix but not know cause i accidentally delete my linux partition (ubuntu) with all its data , it will take time to get everything set up
 

yudati

Member
Aug 2, 2015
26
5
yes i confirmed the camera bug

when turn on the phone the camera woked but i think when media codec get messed up the camera will too
for now just reboot your phone it will work

as for the problem i think the media codec in vendor is old and incompatible with lineageos 17.1 thats why camera sometimes stop working and google chrome get the phone to soft reboot

i will try to fix but not know cause i accidentally delete my linux partition (ubuntu) with all its data , it will take time to get everything set up
Ok
Thank you so much
Really appreciate it ❤️
 

Teetoow

Member
Feb 12, 2015
5
0
First of all thank you very much for your work. This rom is just awesome comparing to the official one..
I just would like to ask you if there is a solution in order to get the camera working under Signal messenger. There is a black screen when I want to take a picture.
The logcat returns:

Code:
12-01 22:37:57.157 18998 18998 D DeferrableSurface: Surface created[total_surfaces=2, used_surfaces=0](androidx.camera.core.impl.ImmediateSurface@13dac40}
12-01 22:37:57.161 18998 29190 I OMXClient: IOmx service obtained
12-01 22:37:57.161   577  1423 I OMXMaster: makeComponentInstance(OMX.google.aac.encoder) in omx@1.0-service process
12-01 22:37:57.164   577  1423 E OMXNodeInstance: getExtensionIndex(0xe5c2b480:google.aac.encoder, OMX.google.android.index.storeMetaDataInBuffers) ERROR: UnsupportedIndex(0x8000101a)
12-01 22:37:57.173   441   825 D AudioALSAStreamManager: openInputStream(), devices = 0x80000004, format = 0x1, channels = 0xc, sampleRate = 48000, status = 182, acoustics = 0x0
12-01 22:37:57.173   441   825 D AudioALSAStreamIn: AudioALSAStreamIn()
12-01 22:37:57.173   441   825 D AudioALSAStreamIn: set(), devices = 0x80000004, format = 0x1, channels = 0xc, sampleRate = 48000, acoustics = 0x0, flags = 0
12-01 22:37:57.173   441   825 D AudioALSAStreamIn: CheckBesRecordInfo()
12-01 22:37:57.173   441   825 D AudioSpeechEnhanceInfo: GetBesRecScene() -1
12-01 22:37:57.173   441   825 D AudioSpeechEnhanceInfo: IsBesRecTuningEnable()- 0
12-01 22:37:57.173   441   825 D AudioSpeechEnhanceInfo: IsAPDMNRTuningEnable(), 0
12-01 22:37:57.173   441   825 D AudioSpeechEnhanceInfo: GetForceMagiASRState(), feature_support=1a097c57, 400, mForceMagiASR=0
12-01 22:37:57.173   441   825 D AudioSpeechEnhanceInfo: GetForceAECRecState(), mForceAECRec=0
12-01 22:37:57.173   441   825 D AudioALSAStreamIn: set() done, sampleRate = 48000, num_channels = 2, buffer_size=3840, tempDebugflag = 0
12-01 22:37:57.173   441   825 D AudioALSAStreamManager: -openInputStream(), in = 0xf2375600, status = 0x0, mStreamInVector.size() = 1
12-01 22:37:57.176   475 29198 I AudioFlinger: AudioFlinger's thread 0x77dc135180 tid=29198 ready to run
12-01 22:37:57.176   441   825 D AudioALSAStreamIn: standby()
12-01 22:37:57.177   441   825 D AudioALSAStreamIn: standby()
12-01 22:37:57.181 18998 18998 I VideoCapture: source: 1 audioSampleRate: 48000 channelConfig: 12 audioFormat: 2 bufferSize: 7680
12-01 22:37:57.182 18998 18998 D DeferrableSurface: Surface created[total_surfaces=3, used_surfaces=0](androidx.camera.core.SurfaceRequest$2@d714c6c}
12-01 22:37:57.183 18998 18998 D CameraOrientationUtil: getRelativeImageRotation: destRotationDegrees=0, sourceRotationDegrees=90, isOppositeFacing=true, result=90
12-01 22:37:57.183 18998 27874 D Camera2CameraImpl: {Camera@2c6cfea[id=0]} Use case ImageCapture:ImageCapture ACTIVE
12-01 22:37:57.183 18998 27874 D UseCaseAttachState: Active and attached use case: [] for camera: 0
12-01 22:37:57.184 18998 27874 D Camera2CameraImpl: {Camera@2c6cfea[id=0]} Use case androidx.camera.core.VideoCapture@3d50028 INACTIVE
12-01 22:37:57.184 18998 27874 D UseCaseAttachState: Active and attached use case: [] for camera: 0
12-01 22:37:57.184 18998 27874 D Camera2CameraImpl: {Camera@2c6cfea[id=0]} Use case Preview:Preview ACTIVE
12-01 22:37:57.184 18998 27874 D UseCaseAttachState: Active and attached use case: [] for camera: 0
12-01 22:37:57.184 18998 27874 D UseCaseAttachState: Active and attached use case: [] for camera: 0
12-01 22:37:57.185 18998 27874 D Camera2CameraImpl: {Camera@2c6cfea[id=0]} Use cases [ImageCapture:ImageCapture, androidx.camera.core.VideoCapture@3d50028, Preview:Preview] now ATTACHED
12-01 22:37:57.185 18998 27874 D UseCaseAttachState: All use case: [ImageCapture59600459, Preview246247745, VideoCapture64290856] for camera: 0
12-01 22:37:57.185  3107  3107 D KP2AAF  : OnAccEvent
12-01 22:37:57.185 18998 27874 D UseCaseAttachState: Active and attached use case: [ImageCapture59600459, Preview246247745] for camera: 0
12-01 22:37:57.186  3107  3107 D KP2AAF  : OnAccEvent
12-01 22:37:57.186  3107  3107 D KP2AAF  : event: 32, package = org.thoughtcrime.securesms
12-01 22:37:57.186  3107  3107 D KP2AAF  : event package is no launcher
12-01 22:37:57.186 18998 27874 D Camera2CameraImpl: {Camera@2c6cfea[id=0]} Resetting Capture Session
12-01 22:37:57.186 18998 27874 D Camera2CameraImpl: {Camera@2c6cfea[id=0]} Releasing session in state INITIALIZED
12-01 22:37:57.186 18998 27874 D CameraStateRegistry: tryOpenCamera(Camera@2c6cfea[id=0]) [Available Cameras: 1, Already Open: false (Previous state: CLOSED)] --> SUCCESS
12-01 22:37:57.186 18998 27874 D CameraStateRegistry: Recalculating open cameras:
12-01 22:37:57.186 18998 27874 D CameraStateRegistry: Camera                                       State
12-01 22:37:57.186 18998 27874 D CameraStateRegistry: -------------------------------------------------------------------
12-01 22:37:57.186 18998 27874 D CameraStateRegistry: Camera@c0facbc[id=3]                         UNKNOWN
12-01 22:37:57.186 18998 27874 D CameraStateRegistry: Camera@1adf1b7[id=1]                         UNKNOWN
12-01 22:37:57.186 18998 27874 D CameraStateRegistry: Camera@2c6cfea[id=0]                         OPENING
12-01 22:37:57.186 18998 27874 D CameraStateRegistry: Camera@12fa790[id=2]                         UNKNOWN
12-01 22:37:57.186 18998 27874 D CameraStateRegistry: -------------------------------------------------------------------
12-01 22:37:57.186 18998 27874 D CameraStateRegistry: Open count: 1 (Max allowed: 1)
12-01 22:37:57.187 18998 27874 D Camera2CameraImpl: {Camera@2c6cfea[id=0]} Transitioning camera internal state: INITIALIZED --> OPENING
12-01 22:37:57.187 18998 27874 D Camera2CameraImpl: {Camera@2c6cfea[id=0]} Opening camera.
12-01 22:37:57.187 18998 27874 D UseCaseAttachState: All use case: [ImageCapture59600459, Preview246247745, VideoCapture64290856] for camera: 0
12-01 22:37:57.191   558 18498 I CameraService: CameraService::connect call (PID -1 "org.thoughtcrime.securesms", camera ID 0) for HAL version default and Camera API version 2
12-01 22:37:57.192   558 18498 I Camera2ClientBase: Camera 0: Opened. Client: org.thoughtcrime.securesms (PID 18998, UID 10139)
12-01 22:37:57.192   558 18498 I CameraDeviceClient: CameraDeviceClient 0: Opened
12-01 22:37:57.194   558 18498 I CameraService: onTorchStatusChangedLocked: Torch status changed for cameraId=0, newStatus=0
12-01 22:37:57.196   962 10376 D AudioSystem: +setParameters(): cameraFacing=back
12-01 22:37:57.197   441   825 D AudioALSAHardware: +setParameters(): cameraFacing=back
12-01 22:37:57.197   441   825 W AudioALSAHardware: setParameters(), still have param.size() = 1, remain param = "cameraFacing=back"
12-01 22:37:57.197   441   825 D AudioALSAHardware: -setParameters(): cameraFacing=back
12-01 22:37:57.198  1608  1608 I GoogleInputMethodService: GoogleInputMethodService.onFinishInput():3293
12-01 22:37:57.199   962   962 V SettingsProvider: Notifying for 0: content://settings/secure/flashlight_available
12-01 22:37:57.199  1608  1608 I GoogleInputMethodService: GoogleInputMethodService.onStartInput():1981
12-01 22:37:57.200  1608  1608 I DeviceUnlockedTag: DeviceUnlockedTag.notifyDeviceLockStatusChanged():79 Notify device unlocked.
12-01 22:37:57.201   473   496 I vendor.mediatek.hardware.power@2.0-impl: scnDisable hdl:124
12-01 22:37:57.202 18998 18998 D PreviewView: Surface requested by Preview.
12-01 22:37:57.203   473   496 I vendor.mediatek.hardware.power@2.0-impl: scnReg hdl:123
12-01 22:37:57.204   473   496 I vendor.mediatek.hardware.power@2.0-impl: scnReg hdl:125
12-01 22:37:57.204   473   496 I vendor.mediatek.hardware.power@2.0-impl: scnEnable hdl:123, timeout:1000
12-01 22:37:57.204  3107  3107 D KP2AAF  : root package is no launcher
12-01 22:37:57.204  3107  3107 D KP2AAF  : URL=androidapp://org.thoughtcrime.securesms
12-01 22:37:57.204   473   495 I libPowerHal: perfUserScnEnable - handle:123
12-01 22:37:57.204   473   496 I vendor.mediatek.hardware.power@2.0-impl: scnReg hdl:126
12-01 22:37:57.204  3107  3107 D KP2AAF  : Cancel notif
12-01 22:37:57.204   473   496 I vendor.mediatek.hardware.power@2.0-impl: scnEnable hdl:125, timeout:0
12-01 22:37:57.204   579   920 D mtkcam-dev3: Set display idle delay to 100, handle 126
12-01 22:37:57.205   473   495 I libPowerHal: perfUserScnEnable - handle:125
12-01 22:37:57.206   473   495 I libPowerHal: cmdSetting - unknown cmd:79, p1:100, p2:0, p3:0, p4:0
12-01 22:37:57.206   473   496 I vendor.mediatek.hardware.power@2.0-impl: scnEnable hdl:126, timeout:0
12-01 22:37:57.206   473   495 I libPowerHal: perfUserScnEnable - handle:126
12-01 22:37:57.206 18998 18998 D TextureViewImpl: SurfaceTexture available. Size: 1920x1080
12-01 22:37:57.206 18998 18998 D TextureViewImpl: Surface set on Preview.
12-01 22:37:57.207   579   920 D MtkCam/Utils: [init] Success to get Daemon Service. mCameraClientPackageName:
12-01 22:37:57.210   558 18498 I CameraProviderManager: Camera device device@3.4/internal/0 torch status is now NOT_AVAILABLE
12-01 22:37:57.210   558 18498 I CameraService: onTorchStatusChangedLocked: Torch status changed for cameraId=0, newStatus=0
12-01 22:37:57.210   579 29203 D SeninfDrv: [init][init]: Entry count 0
12-01 22:37:57.211   558 18498 I CameraProviderManager: Camera device device@3.4/internal/3 torch status is now NOT_AVAILABLE
12-01 22:37:57.211   558 18498 I CameraService: onTorchStatusChangedLocked: Torch status changed for cameraId=3, newStatus=0
12-01 22:37:57.211 18998 18998 D PreviewView: Preview transformation info updated. TransformationInfo{cropRect=Rect(0, 0 - 1920, 1080), rotationDegrees=90, targetRotation=0}
12-01 22:37:57.211 18998 18998 D PreviewTransform: Transformation info set: TransformationInfo{cropRect=Rect(0, 0 - 1920, 1080), rotationDegrees=90, targetRotation=0} 1920x1080 false
12-01 22:37:57.212   579 29203 D SeninfDrv: [init]Efuse Data:0x1045018c= 0x6b58e6b4, 0x10450190= 0x6318841e, 0x104501bc= 0x7300c6b0, 0x104501c0= 0x73000000
12-01 22:37:57.212   579 29203 D SeninfDrv: [init][init]: Exit count 1
12-01 22:37:57.212   579 29203 D ImgSensorDrv: [init][init] imgsensor_drv
12-01 22:37:57.212   579 29202 D         : [getAEManualPline] no manual pline matching, MinFps/MaxFps/SensorMode/SceneMode/ISOSpeed: 50/300/1/1/0
12-01 22:37:57.212   579 29203 D ImgSensorDrv: [featureControl][featureControl] Skip due to no FeatureId
12-01 22:37:57.212   579 29203 D SeninfDrv: [configMclk][Tg0clk]: pcEn=1 freq=24
12-01 22:37:57.212   579 29202 D         : [getAEManualPline] no manual pline matching, MinFps/MaxFps/SensorMode/SceneMode/ISOSpeed: 50/300/1/1/0
12-01 22:37:57.212   579 29203 D SeninfDrv: [setMclk][setTg0Phase]pcEn(1), freq(24)
12-01 22:37:57.212   579 29203 D ImgSensorDrv: [featureControl][featureControl] Skip due to no FeatureId
12-01 22:37:57.212   579 29203 D SeninfDrv: [setMclkIODrivingCurrent]DrivingIdx(0), Reg(0x00000000)
12-01 22:37:57.212   579   668 D ULogGuard: Running: 4 threads, 0 requests; 1 guards in monitor. Timeout = 16000,60000 msec
12-01 22:37:57.212   579 29202 D LaserDrv: Device error opening : No such file or directory
12-01 22:37:57.212   579 29202 E ImgSensorDrv: [featureControl]Err( 1374):[featureControl] Err-ctrlCode (Bad address)
12-01 22:37:57.212   579 29202 D ImgSensorDrv: [sendCommand][sendCommand] cmd = 16423, FeatureId = 3125
12-01 22:37:57.212   579 29202 E ImgSensorDrv: [sendCommand]Err( 1152):[sendCommand] Err-ctrlCode (Bad address)
12-01 22:37:57.212   579 29202 E MtkCam/HalSensor: [sendCommand] [sendCommand] sendCommand fail! 4027
12-01 22:37:57.212   579 29202 E MtkCam/HalSensor:  (sendCommand){#1302:vendor/mediatek/proprietary/hardware/mtkcam/drv/src/sensor/mt6771/../common/v1_1/HalSensor.cpp}
12-01 22:37:57.212   579 29202 E aaa_sensor_mgr: Err SENSOR_CMD_GET_CTRL_PIN_CAPABILITY, Sensor dev:8 ret:-14
12-01 22:37:57.212   579 29202 E aaa_sensor_mgr:  (getSensorCtrlPinCapability){#910:vendor/mediatek/proprietary/hardware/mtkcam/aaa/source/isp_50/sensor_mgr/aaa_sensor_mgr.cpp}
12-01 22:37:57.212   579 29202 D flash_custom.cpp: cust_getFlashProjectPara_V3(): sensorDev(1), mainPartId(1), subPartId(1).
12-01 22:37:57.212   579 29202 D FlashUtils: copyTuningPara(): yTarget(188), policy(5).
12-01 22:37:57.218   578   578 I Gyroscope: batch: handle:3, flag:0,samplingPeriodNs:20000000 maxBatchReportLatencyNs:0
12-01 22:37:57.218   473   496 I vendor.mediatek.hardware.power@2.0-impl: powerHintAsync hint:8, data:0
12-01 22:37:57.219   336   336 I hwservicemanager: getTransport: Cannot find entry vendor.lineage.camera.motor@1.0::ICameraMotor/default in either framework or device manifest.
12-01 22:37:57.221   578   578 I Gyroscope: enable: handle:3, en:1
12-01 22:37:57.221 18998 27874 D Camera2CameraImpl: {Camera@2c6cfea[id=0]} Use case ImageCapture:ImageCapture ACTIVE
12-01 22:37:57.221 18998 27874 D UseCaseAttachState: Active and attached use case: [ImageCapture59600459, Preview246247745] for camera: 0
12-01 22:37:57.222 18998 27874 D Camera2CameraImpl: {Camera@2c6cfea[id=0]} Use case androidx.camera.core.VideoCapture@3d50028 INACTIVE
12-01 22:37:57.223 18998 27874 D UseCaseAttachState: Active and attached use case: [ImageCapture59600459, Preview246247745] for camera: 0
12-01 22:37:57.223   578   578 I Accelerometer: batch: handle:0, flag:0,samplingPeriodNs:20000000 maxBatchReportLatencyNs:0
12-01 22:37:57.224   578   578 I Accelerometer: enable: handle:0, en:1
12-01 22:37:57.224 18998 27874 D Camera2CameraImpl: {Camera@2c6cfea[id=0]} Use case Preview:Preview ACTIVE
12-01 22:37:57.224 18998 27874 D UseCaseAttachState: Active and attached use case: [ImageCapture59600459, Preview246247745] for camera: 0
12-01 22:37:57.226 18998 27874 I chatty  : uid=10139(org.thoughtcrime.securesms) CameraX-core_ca identical 1 line
12-01 22:37:57.228 18998 27874 D UseCaseAttachState: Active and attached use case: [ImageCapture59600459, Preview246247745] for camera: 0
12-01 22:37:57.229 18998 27874 D Camera2CameraImpl: {Camera@2c6cfea[id=0]} CameraDevice.onOpened()
12-01 22:37:57.231 18998 27874 D Camera2CameraImpl: {Camera@2c6cfea[id=0]} Transitioning camera internal state: OPENING --> OPENED
12-01 22:37:57.231 18998 27874 D CameraStateRegistry: Recalculating open cameras:
12-01 22:37:57.231 18998 27874 D CameraStateRegistry: Camera                                       State
12-01 22:37:57.231 18998 27874 D CameraStateRegistry: -------------------------------------------------------------------
12-01 22:37:57.231 18998 27874 D CameraStateRegistry: Camera@c0facbc[id=3]                         UNKNOWN
12-01 22:37:57.231 18998 27874 D CameraStateRegistry: Camera@1adf1b7[id=1]                         UNKNOWN
12-01 22:37:57.231 18998 27874 D CameraStateRegistry: Camera@2c6cfea[id=0]                         OPEN
12-01 22:37:57.231 18998 27874 D CameraStateRegistry: Camera@12fa790[id=2]                         UNKNOWN
12-01 22:37:57.231 18998 27874 D CameraStateRegistry: -------------------------------------------------------------------
12-01 22:37:57.231 18998 27874 D CameraStateRegistry: Open count: 1 (Max allowed: 1)
12-01 22:37:57.232 18998 27874 D UseCaseAttachState: All use case: [ImageCapture59600459, Preview246247745, VideoCapture64290856] for camera: 0
12-01 22:37:57.234 18998 27874 D SyncCaptureSessionBase: [androidx.camera.camera2.internal.SynchronizedCaptureSessionBaseImpl@ffde0b] getSurface...done
12-01 22:37:57.234 18998 27874 D DeferrableSurface: New surface in use[total_surfaces=3, used_surfaces=1](androidx.camera.core.impl.ImmediateSurface@9ee07d}
12-01 22:37:57.234 18998 27874 D DeferrableSurface: use count+1, useCount=1 androidx.camera.core.impl.ImmediateSurface@9ee07d
12-01 22:37:57.234 18998 27874 D DeferrableSurface: New surface in use[total_surfaces=3, used_surfaces=2](androidx.camera.core.SurfaceRequest$2@d714c6c}
12-01 22:37:57.234 18998 27874 D DeferrableSurface: use count+1, useCount=1 androidx.camera.core.SurfaceRequest$2@d714c6c
12-01 22:37:57.234 18998 27874 D DeferrableSurface: New surface in use[total_surfaces=3, used_surfaces=3](androidx.camera.core.impl.ImmediateSurface@13dac40}
12-01 22:37:57.234 18998 27874 D DeferrableSurface: use count+1, useCount=1 androidx.camera.core.impl.ImmediateSurface@13dac40
12-01 22:37:57.234 18998 27874 D CaptureSession: Opening capture session.
12-01 22:37:57.237   558 18498 W CameraDeviceClient: createSurfaceFromGbp: Camera 0 with consumer usage flag: 256: Forcing asynchronous mode for stream
12-01 22:37:57.239   558 18498 W CameraDeviceClient: createSurfaceFromGbp: Camera 0: Overriding format 0x1 to IMPLEMENTATION_DEFINED
12-01 22:37:57.244   558 18498 W H2BGraphicBufferProducer: getConsumerUsage is not fully supported
12-01 22:37:57.246   558 18498 W H2BGraphicBufferProducer: getConsumerUsage is not fully supported
12-01 22:37:57.256   579   922 W mtkcam-AppStreamMgr: [0-ConfigHandler::checkStream] framework stream dataspace:0x08c20000(V0_JFIF|STANDARD_BT601_625|TRANSFER_SMPTE_170M|RANGE_FULL) {.v3_2 = {.id = 1, .streamType = OUTPUT, .width = 3840, .height = 2160, .format = BLOB, .usage = CPU_READ_NEVER | CPU_READ_RARELY | CPU_READ_OFTEN | CPU_WRITE_NEVER (0x3), .dataSpace = UNKNOWN | STANDARD_UNSPECIFIED | STANDARD_BT601_625 | TRANSFER_UNSPECIFIED | TRANSFER_LINEAR | TRANSFER_SRGB | TRANSFER_SMPTE_170M | RANGE_UNSPECIFIED | RANGE_FULL | V0_JFIF (0x8c20000), .rotation = ROTATION_0}, .physicalCameraId = "", .bufferSize = 16885080}
12-01 22:37:57.256   579   922 W mtkcam-AppStreamMgr: [0-ConfigHandler::checkStream] framework stream dataspace:0x00000104(BT709) {.v3_2 = {.id = 2, .streamType = OUTPUT, .width = 1280, .height = 720, .format = RGBA_8888, .usage = CPU_READ_NEVER | CPU_READ_RARELY | CPU_READ_OFTEN | CPU_WRITE_NEVER | VIDEO_ENCODER (0x10003), .dataSpace = UNKNOWN | STANDARD_UNSPECIFIED | TRANSFER_UNSPECIFIED | RANGE_UNSPECIFIED | BT709 (0x104), .rotation = ROTATION_0}, .physicalCameraId = "", .bufferSize = 0}
12-01 22:37:57.256   579   922 E mtkcam-AppStreamMgr: [0-ConfigHandler::checkStream] unsupported size 1280x720 for format 0x1/rotation:0 - {.v3_2 = {.id = 2, .streamType = OUTPUT, .width = 1280, .height = 720, .format = RGBA_8888, .usage = CPU_READ_NEVER | CPU_READ_RARELY | CPU_READ_OFTEN | CPU_WRITE_NEVER | VIDEO_ENCODER (0x10003), .dataSpace = UNKNOWN | STANDARD_UNSPECIFIED | TRANSFER_UNSPECIFIED | RANGE_UNSPECIFIED | BT709 (0x104), .rotation = ROTATION_0}, .physicalCameraId = "", .bufferSize = 0} (checkStream){#403:vendor/mediatek/proprietary/hardware/mtkcam3/main/hal/device/3.x/app/AppStreamMgr.ConfigHandler.cpp}
12-01 22:37:57.256   579   922 E mtkcam-AppStreamMgr: [0-ConfigHandler::checkStreams] streams[id:2] has a bad status: -22(Invalid argument) (checkStreams){#436:vendor/mediatek/proprietary/hardware/mtkcam3/main/hal/device/3.x/app/AppStreamMgr.ConfigHandler.cpp}
12-01 22:37:57.256   579   922 E mtkcam-AppStreamMgr: [0-ConfigHandler::beginConfigureStreams] checkStreams failed - StreamConfiguration={.streams = [3]{{.v3_2 = {.id = 0, .streamType = OUTPUT, .width = 1920, .height = 1080, .format = IMPLEMENTATION_DEFINED, .usage = CPU_READ_NEVER | CPU_WRITE_NEVER | GPU_TEXTURE (0x100), .dataSpace = UNKNOWN | STANDARD_UNSPECIFIED | TRANSFER_UNSPECIFIED | RANGE_UNSPECIFIED (0), .rotation = ROTATION_0}, .physicalCameraId = "", .bufferSize = 0}, {.v3_2 = {.id = 1, .streamType = OUTPUT, .width = 3840, .height = 2160, .format = BLOB, .usage = CPU_READ_NEVER | CPU_READ_RARELY | CPU_READ_OFTEN | CPU_WRITE_NEVER (0x3), .dataSpace = UNKNOWN | STANDARD_UNSPECIFIED | STANDARD_BT601_625 | TRANSFER_UNSPECIFIED | TRANSFER_LINEAR | TRANSFER_SRGB | TRANSFER_SMPTE_170M | RANGE_UNSPECIFIED | RANGE_FULL | V0_JFIF (0x8c20000), .rotation = ROTATION_0}, .physicalCameraId = "", .bufferSize = 16885080}, {.v3_2 = {.id = 2, .streamType = OUTPUT, .width = 1280, .height = 720, .format = RGBA_8888, .usage = CPU_READ_NEVER | CPU_READ_RARELY | CPU_READ_OFT
12-01 22:37:57.256   579   922 E mtkcam-dev3: [0-session::onConfigureStreamsLocked] fail to beginConfigureStreams (onConfigureStreamsLocked){#801:vendor/mediatek/proprietary/hardware/mtkcam3/main/hal/device/3.x/device/CameraDevice3SessionImpl.cpp}
12-01 22:37:57.256   558 18498 E Camera3-Device: Camera 0: configureStreamsLocked: Set of requested inputs/outputs not supported by HAL
12-01 22:37:57.256   558 18498 E CameraDeviceClient: endConfigure: Camera 0: Unsupported set of inputs/outputs provided
12-01 22:37:57.257 18998 27874 W CameraDevice-JV-0: Stream configuration failed due to: endConfigure:495: Camera 0: Unsupported set of inputs/outputs provided
12-01 22:37:57.257 18998 27874 E CameraCaptureSession: Session 0: Failed to create capture session; configuration failed
12-01 22:37:57.257 18998 27874 D DeferrableSurface: use count-1,  useCount=0 closed=false androidx.camera.core.impl.ImmediateSurface@9ee07d
12-01 22:37:57.257 18998 27874 D DeferrableSurface: Surface no longer in use[total_surfaces=3, used_surfaces=2](androidx.camera.core.impl.ImmediateSurface@9ee07d}
12-01 22:37:57.257 18998 27874 D DeferrableSurface: use count-1,  useCount=0 closed=false androidx.camera.core.SurfaceRequest$2@d714c6c
12-01 22:37:57.257 18998 27874 D DeferrableSurface: Surface no longer in use[total_surfaces=3, used_surfaces=1](androidx.camera.core.SurfaceRequest$2@d714c6c}
12-01 22:37:57.257 18998 27874 D DeferrableSurface: use count-1,  useCount=0 closed=false androidx.camera.core.impl.ImmediateSurface@13dac40
12-01 22:37:57.257 18998 27874 D DeferrableSurface: Surface no longer in use[total_surfaces=3, used_surfaces=0](androidx.camera.core.impl.ImmediateSurface@13dac40}
12-01 22:37:57.258 18998 27874 E CaptureSession: CameraCaptureSession.onConfigureFailed() RELEASED
12-01 22:37:57.258 18998 27874 E SequentialExecutor: Exception while executing runnable CallbackListener,androidx.camera.camera2.internal.Camera2CameraImpl$2@f009794
12-01 22:37:57.258 18998 27874 E SequentialExecutor: java.lang.RuntimeException: java.lang.IllegalStateException: onConfigureFailed
12-01 22:37:57.258 18998 27874 E SequentialExecutor:     at androidx.camera.camera2.internal.Camera2CameraImpl$2.onFailure(Camera2CameraImpl.java:989)
12-01 22:37:57.258 18998 27874 E SequentialExecutor:     at androidx.camera.core.impl.utils.futures.Futures$CallbackListener.run(Futures.java:338)
12-01 22:37:57.258 18998 27874 E SequentialExecutor:     at androidx.camera.core.impl.utils.executor.SequentialExecutor$QueueWorker.workOnQueue(SequentialExecutor.java:229)
12-01 22:37:57.258 18998 27874 E SequentialExecutor:     at androidx.camera.core.impl.utils.executor.SequentialExecutor$QueueWorker.run(SequentialExecutor.java:171)
12-01 22:37:57.258 18998 27874 E SequentialExecutor:     at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1167)
12-01 22:37:57.258 18998 27874 E SequentialExecutor:     at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:641)
12-01 22:37:57.258 18998 27874 E SequentialExecutor:     at java.lang.Thread.run(Thread.java:919)
12-01 22:37:57.258 18998 27874 E SequentialExecutor: Caused by: java.lang.IllegalStateException: onConfigureFailed
12-01 22:37:57.258 18998 27874 E SequentialExecutor:     at androidx.camera.camera2.internal.SynchronizedCaptureSessionBaseImpl$1.onConfigureFailed(SynchronizedCaptureSessionBaseImpl.java:237)
12-01 22:37:57.258 18998 27874 E SequentialExecutor:     at android.hardware.camera2.impl.CallbackProxies$SessionStateCallbackProxy.lambda$onConfigureFailed$1$CallbackProxies$SessionStateCallbackProxy(CallbackProxies.java:64)
12-01 22:37:57.258 18998 27874 E SequentialExecutor:     at android.hardware.camera2.impl.-$$Lambda$CallbackProxies$SessionStateCallbackProxy$gvbTsp9UPpKJAbdycdci_ZW5BeI.run(Unknown Source:4)
12-01 22:37:57.258 18998 27874 E SequentialExecutor:     ... 5 more

Maybe I'm wrong but it seems it bugs because signal tried to configure only specific video resolutions which are not supported by the codec used (it worked with the official rom).

And last but not least is it possible to get automatic brightness setting working ? It doesn't change automatically the brightness.

Thanks for your answer.
 

Kangburra

Senior Member
Sep 7, 2007
2,361
665
Does anyone know how to get roaming to work? The sim works fine at home but overseas it reverts to emergency calls only. If I put in a local sim that works.
 

Teetoow

Member
Feb 12, 2015
5
0
Hey,
There is also another problem: sometimes google play services is draining all the battery. When the phone is restarted the problem is solved until the app restart to drain the battery.
It can occurs after several hours of use. I don't understand what is the trigger and how to solve this bug (or at least restart google play services without restarting the phone)..
If someone has an idea it would be great.
Thanks in advance.
 

Shadow Of Leaf

Senior Member
Jul 28, 2014
612
483
Casablanca
Samsung Galaxy Z Flip3
Hey,
There is also another problem: sometimes google play services is draining all the battery. When the phone is restarted the problem is solved until the app restart to drain the battery.
It can occurs after several hours of use. I don't understand what is the trigger and how to solve this bug (or at least restart google play services without restarting the phone)..
If someone has an idea it would be great.
Thanks in advance.
you use opengapps ??
can you try to clear cache and/or try another gapps package
 

Teetoow

Member
Feb 12, 2015
5
0
you use opengapps ??
can you try to clear cache and/or try another gapps package
Thank you for your help!

Yes I use it. Unfortunately I need it for my banking account applications (and one of them is detecting the custom ROM.. I had to install magisk but one of them is still detecting the ROM/root but it is not the current discussion)

Do you mean trying another version of opengapps? Or one of their kind of package (nano, pico etc.)? Or something else than opengapps ?
If the package needs to be reinstalled before the ROM it will be hard to test it quickly, I will lose everything again :(
 

Shadow Of Leaf

Senior Member
Jul 28, 2014
612
483
Casablanca
Samsung Galaxy Z Flip3
Thank you for your help!

Yes I use it. Unfortunately I need it for my banking account applications (and one of them is detecting the custom ROM.. I had to install magisk but one of them is still detecting the ROM/root but it is not the current discussion)

Do you mean trying another version of opengapps? Or one of their kind of package (nano, pico etc.)? Or something else than opengapps ?
If the package needs to be reinstalled before the ROM it will be hard to test it quickly, I will lose everything again :(
wipe cache
try this gapps package https://sourceforge.net/projects/flamegapps/files/arm64/android-10/2021-12-09/
 

Kangburra

Senior Member
Sep 7, 2007
2,361
665
i dont use roaming so can you try to use another sim card to see if roaming work on a certain sim cards or doesnt work at all
Sorry I can't. I sent the SIM back to my home country and will just use one for the country I am in.


Update: Roaming the other way worked so it is NOT the ROM, sorry for that.

Arriving home with a foreign SIM the roaming worked as expected and I have all functions working.
 
Last edited:

Kangburra

Senior Member
Sep 7, 2007
2,361
665
My F1 has died, I have a boot error and the USB port does not work. I just wanted to thank you for breathing life into this phone and express how grateful I am for your work. :cool:
 

Top Liked Posts

  • There are no posts matching your filters.
  • 2
    Lineage_OS_Logo.jpg

    Code:
    * Your warranty is now void.
    *
    * I am not responsible for bricked devices, dead SD cards,
    * thermonuclear war, or you getting fired because the alarm app failed. Please
    * do some research if you have any concerns about features included in this ROM
    * before flashing it! YOU are choosing to make these modifications, and if
    * you point the finger at me for messing up your device, I will laugh at you.
    LineageOS is a free, community built, aftermarket firmware distribution of Android 10, which is designed to increase performance and reliability over stock Android for your device.

    LineageOS is based on the Android Open Source Project with extra contributions from many people within the Android community. It can be used without any need to have any Google application installed. Linked below is a package that has come from another Android project that restore the Google parts. LineageOS does still include various hardware-specific code, which is also slowly being open-sourced anyway.

    All the source code for LineageOS is available in the LineageOS Github repo. And if you would like to contribute to LineageOS, please visit out Gerrit Code Review. You can also view the Changelog for a full list of changes & features.

    Not Working
    • VoLTE (and will not be fixed due to MTK's proprietary extensions)
    • Selinux is permissive
    • FM Radio is Working But No Sound
    • Sudden Shutdown

    Instructions :
    • Flash your phone with the latest stock rom version (20190903 download link )
    • Boot your F1 Play to the official OS.
    • Go to `Settings > About phone`, tap `build number` several times to enable developer settings.
    • Go to `Settings > System > Developer Settings`, enable `OEM unlocking` and `ADB debugging`.
    • Connect your phone to your PC and open a terminal or a command line window.
    • Run `adb reboot bootloader` on your PC (there is no way to enter bootloader directly, only possible through adb).
    • Run `fastboot flashing unlock` and comfirm unlock on device (THIS WILL WIPE ALL DATA!).
    • Run `fastboot reboot` to reboot your device and now you should see an unlocked warning during boot screen with orange state.
    • Download the latest build and gapps
    • Power off
    • Press on Power+Volume up button to boot up to Fastboot
    • Execute "fastboot flash recovery TWRP 3.X.X_F1(or Play).img"
    • Wait to Finish And Execute "fastboot reboot recovery"
    • Wipe Data,System,Cache
    • Flash the latest build
    • Flash gapps(optional)
    • Flash Magisk(optional)
    • Reboot
    Downloads :
    F1 : https://www.mediafire.com/file/ff5pab2m47wm20g/lineage-17.1-20220515-UNOFFICIAL-F1.zip/file
    F1 Play : https://www.mediafire.com/file/d5e8apmil5qpeo7/lineage-17.1-20220515-UNOFFICIAL-F1_EEA.zip/file
    Gapps : https://opengapps.org/
    TWRP 3.6.1 Recovery for F1 Play : https://www.mediafire.com/file/dn8mzk8bpulvqig/TWRP_3.6.1-F1_Play.img/file
    TWRP 3.6.1 Recovery for F1 : https://www.mediafire.com/file/91k98oii8ab7j1l/TWRP_3.6.1-F1.img/file
    TWRP 3.3.1 Recovery for F1 Play : https://www.mediafire.com/file/okky2dmgd5zupql/TWRP-3.3.1-F1_Play.img/file
    TWRP 3.3.1 Recovery for F1 : https://www.mediafire.com/file/ei83p1lwjupavdd/TWRP-3.3.1-F1.img/file
    PBRP Recovery F1 Play : https://www.mediafire.com/file/sl2t7vdqy1ztfsi/PBRP-3.1.0-F1_Play.img/file
    PBRP Recovery F1 : https://www.mediafire.com/file/1omqnnh0bvnbath/PBRP-3.1.0-F1.img/file
    Magisk : https://github.com/topjohnwu/Magisk/releases/download/v24.3/Magisk-v24.3.apk

    Reporting Bugs

    • DO NOT Report bugs if you're running a custom kernel or you installed Xposed
    • Grab a logcat right after the problem has occurred. (Please include at least a few pages of the log, not just the last few lines, unless you know what you're doing.)
    • If it is a random reboot, grab /proc/last_kmsg. (Do not bother getting a logcat unless you can get it just before the reboot. A logcat after a reboot is useless)
    Remember to provide as much info as possible. The more info you provide, the more likely that the bug will be solved. Please also do not report known issues. Any bug not reported in the bug report format below may be ignored.


    Code:
    What is your--
    LineageOS version:
    LineageOS Download url:
    Gapps version:

    Did you--
    wipe:
    restore with titanium backup:
    reboot after having the issue:

    Are you using--
    a task killer:
    a non-stock kernel:
    other modifications:

    Changelog:
    - 07-02-2021 : Initial build

    - 20-03-2021 :
    *Fix display Lags
    *Added Material Files and GoCamera
    *Fix GoCamera Video Recording bug
    *Added F1 Build
    *Fix 'dev/fm' Permission Error
    *Fix Incoming Call Bug

    - 24-04-2021 :
    *Fix Incoming call bug (now really fixed)
    *Add LiveDisplay (but it not working cause of kernel)
    *Back to LineageOS Charge Animation
    *Fix Some Carriers does not Work
    *Fix "Stuck at SIM Card Pin"
    *Fix Random Reboot and recovery loop (I Think because of TWRP if you have this issue flash LineageOS Recovery)
    *Add Face Unlock
    *Add DT2W (double tap to wake)
    *Fix Write Access to System partition (you need to flash LineageOS Recovery)

    - 3-06-2021 :
    Build TWRP 3.5.2 For both devices from scratch

    - 17-07-2021 :
    * Fix in call bug in F1 and F1 play (my mistake)
    * Update some system Apps
    * For NOW use TWRP 3.3.1 Cause it Works well with Data Encryption

    - 28-07-2021 :
    * Fix Recovery Loop on TWRP 3.3.1 on F1 and F1 Play (flash the newest recovery to fix recovery loop)
    * For NOW use TWRP 3.3.1 Cause it Work well with Data Encryption

    - 06-08-2021 :
    - Fix FM Radio (finally)
    - Add Chromuim instead of jelly
    - Fix Video Encoding on Chromuim Based Browsers
    - Disable LiveDisplay (not entirely there is in settings)
    - Revert back to Snap ( LineageOS Camera) instead of Google Camera Go (to fix video recording issue)

    - 10-08-2021 :
    - Revert Back to Jelly Browser (Chromuim has some issues)
    - Fix Sound Distortion via Besloudness Settings APP (you can still enable/disable Besloudness audio Feature)
    - Use LineageOS NFC Stacks instead of Prebuilted One from Vendor (fix Random shutdown)

    - 19-08-2021 :
    - add support AOD (Always on Display)
    - Remove LiveDisplay(now is removed from settings)
    - add support Night Light and fix the flicker when enabled
    - Add MiraVision(not working for now)
    - Improve System Stability and performance
    - Enable insecure ADB for debugging

    21-8-2021 :
    - Fix Besloudness Settings not found
    - Fix low brightness is still not low
    - Drop MiraVision Support(need a lot of mediatek properties that are closed source code)

    25-4-2022 :
    - April security updates included
    - Add Treble gsi Patches for more stability
    - release with TWRP 3.6.1 and PBRP 3.1.0

    1-5-2022 :
    - Hide DocumentsUI Icon (cause we have a file manager)
    - Drop and disable LiveDisplay
    - Revert and Enable Night Light (Work Well)
    - fix playing video on Chrome will reboot the phone
    - some other improvements i forgot

    15-5-2022 :
    - Fix an error in system property
    - Use a bigger APN config to fix "service is unavailable"
    - Update Material Files

    For Donations:
    Feel free to donate to support this project.

    Credits:
    1. UMIDIGI
    2. PeterCxy [for his device tree for f1]
    3. a-dead-trousers[For some code from his device tree]
    XDA:DevDB Information
    LineageOS 17.1 for UMIDIGI F1 and F1 Play, ROM for Miscellaneous Android Development

    Contributors

    Shadow Of Leaf
    Source Code: https://github.com/Shadowofleaf/android_device_umidgi_f1_play

    ROM OS Version: Android 10
    ROM Kernel: Linux 4.x
    Based On: LineageOS

    Version Information
    Status:
    Beta

    Created 2021-02-07
    Last Updated 2022-05-15
    2
    test this new releases and report back for bugs
    2
    After using it for some time I can say it looks beatiful and improved the performance of the device.
    1
    I'd love to put Lineage on an unused Umidigi F1 that I have, but I'm struggling.

    ADB works fine while the phone's turned on, I've added all the drivers I've seen suggested, and it shows up as "F1" in device manager. But when I put it into fastboot mode, the computer (Windows 10) can no longer connect to it. Nothing shows up when I type "fastboot devices".

    I've tried the SP Flash approach too, but TWRP never seems to be loaded onto the phone. I reset back to the stock firmware, turned on OEM unlocking and USB debugging, then switched the phone off. Used the scatter file from the stock firmware, added the TWRP file for recovery (v 3.5.2), hit download and plugged the phone in.

    SP Flash looks like it downloads the recovery just fine. It goes through the motions and gives me the big green tick. But afterwards, no TWRP. I'm holding volume up as it powers on, but it just goes to Android recovery, and no sign of TWRP. The first time I reboot after trying to flash TWRP I get a message saying "Red Status - Your device has failed verification and may not work properly. Please download recovery image with correct signature or disable verified boot."

    If anyone has any advice, that'd be awesome! Thanks!

    Edit: Oh, and now I'm also seeing "TEE" and "Google" along with some Chinese characters in the top right corner of the screen permanently now, so I obviously got something pretty wrong here! Any way to get rid of that? Would getting Lineage on there remove it?
    1
    No, recovery is F1_play for UMIDIGI F1 PLay
    lineage file is: lineage-17.1-20220515-UNOFFICIAL-F1_EEA
    install-script says:
    Code:
    assert(getprop("ro.product.device") == "F1" || getprop("ro.build.product") == "F1" || abort("E3004: This package is for device: F1; this device is " + getprop("ro.product.device") + "."););
    I checked it again
    lineage-17.1-20220515-UNOFFICIAL-F1 for F1 has exactly the same install-script
    idid you try this : TWRP 3.6.1 Recovery for F1 Play : https://www.mediafire.com/file/dn8mzk8bpulvqig/TWRP_3.6.1-F1_Play.img/file cause i have umidigi f1 play and it works , i don't have this error