Fix TWRP Retention for OTA Updates - OnePlus Nord N10 5G Questions & Answers

I'm trying to update to 11.0.2 with TWRP & Magisk Installed
I ran the TWRP A/B Retention Script at the wrong time (I ran before the OTA applied) and now the update won't run because the sha doesn't match on recovery_b.
TWRP is still installed, and working properly.
How can I restore recovery_b to stock so that I can do the OTA update?
Code:
10-31 21:26:40.629 1354 1354 I update_engine: [1031/212640.629574:INFO:delta_performer.cc(452)] is_ddr5 is , partition name recovery , target path /dev/block/bootdevice/by-name/recovery_a
10-31 21:26:40.629 1354 1354 I update_engine: [1031/212640.629819:INFO:delta_performer.cc(504)] Opening /dev/block/bootdevice/by-name/recovery_a partition without O_DSYNC
10-31 21:26:40.631 1354 1354 I update_engine: [1031/212640.631207:INFO:delta_performer.cc(138)] Caching writes.
10-31 21:26:40.631 1354 1354 I update_engine: [1031/212640.631378:INFO:delta_performer.cc(516)] Applying 160 operations to partition "recovery"
10-31 21:26:40.699 1354 1354 E update_engine: [1031/212640.699043:ERROR:fec_file_descriptor.cc(30)] No ECC data in the passed file
10-31 21:26:40.699 1354 1354 E update_engine: [1031/212640.699251:ERROR:delta_performer.cc(550)] Unable to open ECC source partition recovery on slot B, file /dev/block/bootdevice/by-name/recovery_b: Invalid argument (22)
10-31 21:26:40.699 1354 1354 E update_engine: [1031/212640.699350:ERROR:delta_performer.cc(1282)] The hash of the source data on disk for this operation doesn't match the expected value. This could mean that the delta update payload was targeted for another version, or that the source partition was modified after it was installed, for example, by mounting a filesystem.
10-31 21:26:40.699 1354 1354 E update_engine: [1031/212640.699405:ERROR:delta_performer.cc(1287)] Expected: sha256|hex = 67743BA06C21B6F433753BAB17B6747FA6DEDCC5589B48C62E7B760A08E78804
10-31 21:26:40.699 1354 1354 E update_engine: [1031/212640.699457:ERROR:delta_performer.cc(1290)] Calculated: sha256|hex = 4D367F9C46A3FECAC8F699FC501F141C3BB4D6A9B39DB2D26CC60CEF72ACD485
10-31 21:26:40.699 1354 1354 E update_engine: [1031/212640.699511:ERROR:delta_performer.cc(1301)] Operation source (offset:size) in blocks: 0:1,13293:511
10-31 21:26:40.699 1354 1354 E update_engine: [1031/212640.699608:ERROR:delta_performer.cc(1622)] source_fd != nullptr failed.
10-31 21:26:40.699 1354 1354 E update_engine: [1031/212640.699693:ERROR:delta_performer.cc(307)] Failed to perform BROTLI_BSDIFF operation 1409, which is the operation 0 in partition "recovery"
FYI
Just In Case Anyone is looking for it. I think the OTA update for BE86AA can be found here. I found it in logcat
https://android.googleapis.com/packages/ota-api/package/7d1400a6d94e7ab1ef096761876409963c0b1dae.zip

alchemist.zim said:
I'm trying to update to 11.0.2 with TWRP & Magisk Installed
I ran the TWRP A/B Retention Script at the wrong time (I ran before the OTA applied) and now the update won't run because the sha doesn't match on recovery_b.
TWRP is still installed, and working properly.
How can I restore recovery_b to stock so that I can do the OTA update?
Code:
10-31 21:26:40.629 1354 1354 I update_engine: [1031/212640.629574:INFO:delta_performer.cc(452)] is_ddr5 is , partition name recovery , target path /dev/block/bootdevice/by-name/recovery_a
10-31 21:26:40.629 1354 1354 I update_engine: [1031/212640.629819:INFO:delta_performer.cc(504)] Opening /dev/block/bootdevice/by-name/recovery_a partition without O_DSYNC
10-31 21:26:40.631 1354 1354 I update_engine: [1031/212640.631207:INFO:delta_performer.cc(138)] Caching writes.
10-31 21:26:40.631 1354 1354 I update_engine: [1031/212640.631378:INFO:delta_performer.cc(516)] Applying 160 operations to partition "recovery"
10-31 21:26:40.699 1354 1354 E update_engine: [1031/212640.699043:ERROR:fec_file_descriptor.cc(30)] No ECC data in the passed file
10-31 21:26:40.699 1354 1354 E update_engine: [1031/212640.699251:ERROR:delta_performer.cc(550)] Unable to open ECC source partition recovery on slot B, file /dev/block/bootdevice/by-name/recovery_b: Invalid argument (22)
10-31 21:26:40.699 1354 1354 E update_engine: [1031/212640.699350:ERROR:delta_performer.cc(1282)] The hash of the source data on disk for this operation doesn't match the expected value. This could mean that the delta update payload was targeted for another version, or that the source partition was modified after it was installed, for example, by mounting a filesystem.
10-31 21:26:40.699 1354 1354 E update_engine: [1031/212640.699405:ERROR:delta_performer.cc(1287)] Expected: sha256|hex = 67743BA06C21B6F433753BAB17B6747FA6DEDCC5589B48C62E7B760A08E78804
10-31 21:26:40.699 1354 1354 E update_engine: [1031/212640.699457:ERROR:delta_performer.cc(1290)] Calculated: sha256|hex = 4D367F9C46A3FECAC8F699FC501F141C3BB4D6A9B39DB2D26CC60CEF72ACD485
10-31 21:26:40.699 1354 1354 E update_engine: [1031/212640.699511:ERROR:delta_performer.cc(1301)] Operation source (offset:size) in blocks: 0:1,13293:511
10-31 21:26:40.699 1354 1354 E update_engine: [1031/212640.699608:ERROR:delta_performer.cc(1622)] source_fd != nullptr failed.
10-31 21:26:40.699 1354 1354 E update_engine: [1031/212640.699693:ERROR:delta_performer.cc(307)] Failed to perform BROTLI_BSDIFF operation 1409, which is the operation 0 in partition "recovery"
FYI
Just In Case Anyone is looking for it. I think the OTA update for BE86AA can be found here. I found it in logcat
https://android.googleapis.com/packages/ota-api/package/7d1400a6d94e7ab1ef096761876409963c0b1dae.zip
Click to expand...
Click to collapse
How did you run twrp a/b retention script? im trying to look for it because it is no longer in magisk.
i went to the twrp a/b retention script link you provided but i tried flashing it in magisk and twrp it did not work it just come up with a error and won't flash.

Related

[Q] Netflix/HBO/DRM protected content not playing

Hi,
I've been struggling to get Netflix and HBO Nordic working on my Galaxy S2 running Cyanogenmod 10.1 nightlies. I've tried Netflix 2.1.1 and 1.8.1, and a modded HBO 1.0 app bypassing the root check.
Here are some logcat (*:W) excerpts from the different apps.
HBO Nordic app, force closes upon pressing play:
Code:
W/AudioService( 2198): RemoteControlClient died
F/libc (26548): Fatal signal 11 (SIGSEGV) at 0x00000000 (code=1), thread 26548 (drmserver)
W/DrmManagerClientImpl(Native)(26554): DrmManager server died!
E/WVMExtractor(28011): Drm manager failed to initialize.
E/MediaPlayer(26554): error (1, -2147483648)
E/MediaPlayer(26554): Error (1,-2147483648)
W/dalvikvm(26554): threadid=1: thread exiting with uncaught exception (group=0x40f2f930)
E/AndroidRuntime(26554): FATAL EXCEPTION: main
E/AndroidRuntime(26554): java.lang.NullPointerException
E/AndroidRuntime(26554): at com.hbo.android.app.activity.VideoActivity.finishWithError(VideoActivity.java:240)
E/AndroidRuntime(26554): at com.hbo.android.app.activity.VideoActivity.access$2(VideoActivity.java:236)
E/AndroidRuntime(26554): at com.hbo.android.app.activity.VideoActivity$2.onMediaPlayerError(VideoActivity.java:108)
E/AndroidRuntime(26554): at com.hbo.android.app.widget.video.player.PlayerBase.onError(PlayerBase.java:425)
E/AndroidRuntime(26554): at com.hbo.android.app.widget.video.player.internal.BaseVideoView$4.onError(BaseVideoView.java:372)
E/AndroidRuntime(26554): at android.media.MediaPlayer$EventHandler.handleMessage(MediaPlayer.java:2003)
E/AndroidRuntime(26554): at android.os.Handler.dispatchMessage(Handler.java:99)
E/AndroidRuntime(26554): at android.os.Looper.loop(Looper.java:137)
E/AndroidRuntime(26554): at android.app.ActivityThread.main(ActivityThread.java:5191)
E/AndroidRuntime(26554): at java.lang.reflect.Method.invokeNative(Native Method)
E/AndroidRuntime(26554): at java.lang.reflect.Method.invoke(Method.java:511)
E/AndroidRuntime(26554): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:795)
E/AndroidRuntime(26554): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:562)
E/AndroidRuntime(26554): at dalvik.system.NativeStart.main(Native Method)
W/ActivityManager( 2198): Force finishing activity com.hbo.android.app/.activity.VideoActivity
W/ActivityManager( 2198): Activity pause timeout for ActivityRecord{41d77aa8 u0 com.hbo.android.app/.activity.VideoActivity}
W/InputDispatcher( 2198): channel '419febd8 com.hbo.android.app/com.hbo.android.app.activity.MainActivity (server)' ~ Consumer closed input channel or an error occurred. events=0x9
E/InputDispatcher( 2198): channel '419febd8 com.hbo.android.app/com.hbo.android.app.activity.MainActivity (server)' ~ Channel is unrecoverably broken and will be disposed!
W/InputDispatcher( 2198): channel '41938168 com.hbo.android.app/com.hbo.android.app.activity.VideoActivity (server)' ~ Consumer closed input channel or an error occurred. events=0x9
E/InputDispatcher( 2198): channel '41938168 com.hbo.android.app/com.hbo.android.app.activity.VideoActivity (server)' ~ Channel is unrecoverably broken and will be disposed!
W/InputDispatcher( 2198): Attempted to unregister already unregistered input channel '419febd8 com.hbo.android.app/com.hbo.android.app.activity.MainActivity (server)'
W/InputDispatcher( 2198): Attempted to unregister already unregistered input channel '41938168 com.hbo.android.app/com.hbo.android.app.activity.VideoActivity (server)'
E/Trace (28321): error opening trace file: No such file or directory (2)
E/Trace (28356): error opening trace file: No such file or directory (2)
Netflix 1.8.1, plays sound and shows subtitles, but no video:
Code:
W/ActivityManager( 2198): Scheduling restart of crashed service com.teamhacksung.tvout/.TvOutService in 5000ms
W/libc (27869): pthread_create sched_setscheduler call failed: Operation not permitted
W/libc (27869): pthread_create sched_setscheduler call failed: Operation not permitted
W/libc (27869): pthread_create sched_setscheduler call failed: Operation not permitted
W/libc (27869): pthread_create sched_setscheduler call failed: Operation not permitted
W/libc (27869): pthread_create sched_setscheduler call failed: Operation not permitted
W/libc (27869): pthread_create sched_setscheduler call failed: Operation not permitted
E/Trace (28011): error opening trace file: No such file or directory (2)
E/SEC_COMP_REGS(28011): .
E/SEC_COMP_REGS(28011): ..
E/SEC_COMP_REGS(28011): libOMX.SEC.AVC.Decoder.so
E/SEC_COMP_REGS(28011): Path & libName : /system/lib/omx/libOMX.SEC.AVC.Decoder.so
E/SEC_COMP_REGS(28011): libOMX.SEC.AVC.Encoder.so
E/SEC_COMP_REGS(28011): Path & libName : /system/lib/omx/libOMX.SEC.AVC.Encoder.so
E/SEC_COMP_REGS(28011): libOMX.SEC.M4V.Decoder.so
E/SEC_COMP_REGS(28011): Path & libName : /system/lib/omx/libOMX.SEC.M4V.Decoder.so
E/SEC_COMP_REGS(28011): libOMX.SEC.M4V.Encoder.so
E/SEC_COMP_REGS(28011): Path & libName : /system/lib/omx/libOMX.SEC.M4V.Encoder.so
E/SEC_COMP_REGS(28011): libOMX.SEC.WMV.Decoder.so
E/SEC_COMP_REGS(28011): Path & libName : /system/lib/omx/libOMX.SEC.WMV.Decoder.so
E/OMXNodeInstance(28011): OMX_GetExtensionIndex failed
E/ ( 1864): egl_android_pixel_format* _egl_android_get_native_buffer_format(android_native_buffer_t*) unsupported native buffer format (0x13)
E/SurfaceTexture( 1864): [SurfaceView] error creating EGLImage: 0x3003
E/SurfaceTexture( 1864): [SurfaceView] updateTexImage: acquire failed: Unknown error 2147483648 (-2147483648)
E/ ( 1864): egl_android_pixel_format* _egl_android_get_native_buffer_format(android_native_buffer_t*) unsupported native buffer format (0x13)
E/SurfaceTexture( 1864): [SurfaceView] error creating EGLImage: 0x3003
E/SurfaceTexture( 1864): [SurfaceView] updateTexImage: acquire failed: Unknown error 2147483648 (-2147483648)
E/BufferQueue( 1864): [SurfaceView] acquireBuffer: max acquired buffer count reached: 2 (max=1)
E/SurfaceTexture( 1864): [SurfaceView] updateTexImage: acquire failed: Function not implemented (-38)
E/Trace (28196): error opening trace file: No such file or directory (2)
W/InputEventReceiver( 2198): Attempted to finish an input event but the input event receiver has already been disposed.
W/InputEventReceiver( 2198): Attempted to finish an input event but the input event receiver has already been disposed.
W/AudioFlinger(28011): session id 277 not found for pid 2198
E/BufferQueue( 1864): [SurfaceView] dequeueBuffer: SurfaceTexture has been abandoned!
E/ACodec (28011): dequeueBuffer failed.
E/BufferQueue( 1864): [SurfaceView] queueBuffer: SurfaceTexture has been abandoned!
E/SurfaceTextureClient(28011): queueBuffer: error queuing buffer to SurfaceTexture, -19
E/NuPlayer(28011): Received error from video decoder, aborting playback.
W/BufferQueue( 1864): [SurfaceView] cancelBuffer: BufferQueue has been abandoned!
W/AudioService( 2198): stream was not muted by this client
E/AudioService( 2198): Could not get client death handler for stream: 3
Netflix 2.1.1, stuck on loading screen:
Code:
W/dalvikvm(28732): method Lcom/netflix/mediaclient/android/widget/NetflixSeekBar;.onKeyChange incorrectly overrides package-private method with same name in Landroid/widget/AbsSeekBar;
E/SEC_COMP_REGS(28732): .
E/SEC_COMP_REGS(28732): ..
E/SEC_COMP_REGS(28732): libOMX.SEC.AVC.Decoder.so
E/SEC_COMP_REGS(28732): Path & libName : /system/lib/omx/libOMX.SEC.AVC.Decoder.so
E/SEC_COMP_REGS(28732): libOMX.SEC.AVC.Encoder.so
E/SEC_COMP_REGS(28732): Path & libName : /system/lib/omx/libOMX.SEC.AVC.Encoder.so
E/SEC_COMP_REGS(28732): libOMX.SEC.M4V.Decoder.so
E/SEC_COMP_REGS(28732): Path & libName : /system/lib/omx/libOMX.SEC.M4V.Decoder.so
E/SEC_COMP_REGS(28732): libOMX.SEC.M4V.Encoder.so
E/SEC_COMP_REGS(28732): Path & libName : /system/lib/omx/libOMX.SEC.M4V.Encoder.so
E/SEC_COMP_REGS(28732): libOMX.SEC.WMV.Decoder.so
E/SEC_COMP_REGS(28732): Path & libName : /system/lib/omx/libOMX.SEC.WMV.Decoder.so
E/OMXNodeInstance(28732): OMX_GetExtensionIndex failed
E/NetflixTransport-JNI(28732): Java_com_netflix_mediaclient_javabridge_transport_NativeTransport_native_1setVOapi systemAndroid set VO API
E/NetflixTransport-JNI(28732): Custom params sw analytics params set
E/Trace (28929): error opening trace file: No such file or directory (2)
E/Trace (28959): error opening trace file: No such file or directory (2)
E/Trace (28976): error opening trace file: No such file or directory (2)
E/nf_service(28732): Unable to get instance of PlayerActivity, only pass stateChnage event to MP
Anyone have a clue what might be wrong? Is it a DRM decrypting process that doesn't work, as I suspect?

[Problem] [Venue 8 3830] Unfortunately, process com.google.process.gapps has stoped

Nobody faced with the error "Unfortunately, process com.google.process.gapps has stoped"? When I click "OK" button immediately there is a new error message from other applications and from themselves gapps.
I do not want a hard reset (need a install and reconfigure many apps, that have steadily worked), so I need the identification and elimination of the problem. During these log contains this error message:
05-05 08:43:24.398 16945-16945/? E/SQLiteDatabase: Failed to open database '/data/user/0/com.google.android.gsf/databases/gservices.db'.
android.database.sqlite.SQLiteException: not an error (code 0): Could not open the database in read/write mode.
at android.database.sqlite.SQLiteConnection.nativeOpen(Native Method)
at android.database.sqlite.SQLiteConnection.open(SQLiteConnection.java:209)
at android.database.sqlite.SQLiteConnection.open(SQLiteConnection.java:193)
at android.database.sqlite.SQLiteConnectionPool.openConnectionLocked(SQLiteConnectionPool.java:463)
at android.database.sqlite.SQLiteConnectionPool.open(SQLiteConnectionPool.java:185)
at android.database.sqlite.SQLiteConnectionPool.open(SQLiteConnectionPool.java:177)
at android.database.sqlite.SQLiteDatabase.openInner(SQLiteDatabase.java:804)
at android.database.sqlite.SQLiteDatabase.open(SQLiteDatabase.java:789)
at android.database.sqlite.SQLiteDatabase.openDatabase(SQLiteDatabase.java:694)
at android.app.ContextImpl.openOrCreateDatabase(ContextImpl.java:951)
at android.content.ContextWrapper.openOrCreateDatabase(ContextWrapper.java:256)
at android.database.sqlite.SQLiteOpenHelper.getDatabaseLocked(SQLiteOpenHelper.java:224)
at android.database.sqlite.SQLiteOpenHelper.getWritableDatabase(SQLiteOpenHelper.java:164)
at com.google.android.gsf.gservices.GservicesProvider.computeLocalDigestAndUpdateValues(GservicesProvider.java:393)
at com.google.android.gsf.gservices.GservicesProvider.onCreate(GservicesProvider.java:173)
at android.content.ContentProvider.attachInfo(ContentProvider.java:1591)
at android.content.ContentProvider.attachInfo(ContentProvider.java:1562)
at android.app.ActivityThread.installProvider(ActivityThread.java:4830)
at android.app.ActivityThread.installContentProviders(ActivityThread.java:4425)
at android.app.ActivityThread.handleBindApplication(ActivityThread.java:4365)
at android.app.ActivityThread.access$1500(ActivityThread.java:138)
at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1296)
at android.os.Handler.dispatchMessage(Handler.java:102)
at android.os.Looper.loop(Looper.java:149)
at android.app.ActivityThread.main(ActivityThread.java:5061)
at java.lang.reflect.Method.invokeNative(Native Method)
at java.lang.reflect.Method.invoke(Method.java:515)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:787)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:603)
at dalvik.system.NativeStart.main(Native Method)
05-05 08:43:24.398 16945-16945/? E/AndroidRuntime: FATAL EXCEPTION: main
Process: com.google.process.gapps, PID: 16945
java.lang.RuntimeException: Unable to get provider com.google.android.gsf.gservices.GservicesProvider: android.database.sqlite.SQLiteException: not an error (code 0): Could not open the database in read/write mode.
at android.app.ActivityThread.installProvider(ActivityThread.java:4833)
at android.app.ActivityThread.installContentProviders(ActivityThread.java:4425)
at android.app.ActivityThread.handleBindApplication(ActivityThread.java:4365)
at android.app.ActivityThread.access$1500(ActivityThread.java:138)
at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1296)
at android.os.Handler.dispatchMessage(Handler.java:102)
at android.os.Looper.loop(Looper.java:149)
at android.app.ActivityThread.main(ActivityThread.java:5061)
at java.lang.reflect.Method.invokeNative(Native Method)
at java.lang.reflect.Method.invoke(Method.java:515)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:787)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:603)
at dalvik.system.NativeStart.main(Native Method)
...
05-05 08:43:24.568 159-159/? E/dpstmrg:: executing DPST command
05-05 08:43:24.568 159-159/? E/dpstmrg:: sent command: cmd = 3
05-05 08:43:24.588 154-268/? E/IMGSRV: :0: PVRDRMOpen: TP3, ret = 42
05-05 08:43:24.718 159-159/? E/dpstmrg:: executing DPST command
05-05 08:43:24.718 159-159/? E/dpstmrg:: sent command: cmd = 3
05-05 08:43:24.818 159-159/? E/dpstmrg:: executing DPST command
05-05 08:43:24.818 159-159/? E/dpstmrg:: sent command: cmd = 3
05-05 08:43:25.558 154-268/? E/IMGSRV: :0: PVRDRMOpen: TP3, ret = 50
05-05 08:43:25.768 154-512/? E/IMGSRV: :0: PVRDRMOpen: TP3, ret = 39
05-05 08:43:25.788 154-269/? E/IMGSRV: :0: PVRDRMOpen: TP3, ret = 38
05-05 08:43:27.258 488-500/? E/Sensors: pjn=== LightSensor, als_value:3.000000
05-05 08:43:27.388 488-500/? E/Sensors: pjn=== LightSensor, als_value:4.000000
05-05 08:43:41.418 6594-16995/? E/SQLiteDatabase: Failed to open database '/data/data/com.google.android.gms/databases/playlog.db'.
android.database.sqlite.SQLiteException: not an error (code 0): Could not open the database in read/write mode.
at android.database.sqlite.SQLiteConnection.nativeOpen(Native Method)
at android.database.sqlite.SQLiteConnection.open(SQLiteConnection.java:209)
at android.database.sqlite.SQLiteConnection.open(SQLiteConnection.java:193)
at android.database.sqlite.SQLiteConnectionPool.openConnectionLocked(SQLiteConnectionPool.java:463)
at android.database.sqlite.SQLiteConnectionPool.open(SQLiteConnectionPool.java:185)
at android.database.sqlite.SQLiteConnectionPool.open(SQLiteConnectionPool.java:177)
at android.database.sqlite.SQLiteDatabase.openInner(SQLiteDatabase.java:804)
at android.database.sqlite.SQLiteDatabase.open(SQLiteDatabase.java:789)
at android.database.sqlite.SQLiteDatabase.openDatabase(SQLiteDatabase.java:694)
at android.app.ContextImpl.openOrCreateDatabase(ContextImpl.java:951)
at android.content.ContextWrapper.openOrCreateDatabase(ContextWrapper.java:256)
at android.content.ContextWrapper.openOrCreateDatabase(ContextWrapper.java:256)
at android.database.sqlite.SQLiteOpenHelper.getDatabaseLocked(SQLiteOpenHelper.java:224)
at android.database.sqlite.SQLiteOpenHelper.getWritableDatabase(SQLiteOpenHelper.java:164)
at com.google.android.gms.playlog.store.r.dcom.google.android.gms:97)
at com.google.android.gms.clearcut.service.a.acom.google.android.gms:153)
at com.google.android.gms.common.service.f.runcom.google.android.gms:176)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1112)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:587)
at com.google.android.gms.common.util.a.c.runcom.google.android.gms:17)
at java.lang.Thread.run(Thread.java:841)
05-05 08:43:41.418 6594-16995/? E/ClearcutLoggerIntentService: not an error (code 0): Could not open the database in read/write mode.
android.database.sqlite.SQLiteException: not an error (code 0): Could not open the database in read/write mode.
at android.database.sqlite.SQLiteConnection.nativeOpen(Native Method)
at android.database.sqlite.SQLiteConnection.open(SQLiteConnection.java:209)
at android.database.sqlite.SQLiteConnection.open(SQLiteConnection.java:193)
at android.database.sqlite.SQLiteConnectionPool.openConnectionLocked(SQLiteConnectionPool.java:463)
at android.database.sqlite.SQLiteConnectionPool.open(SQLiteConnectionPool.java:185)
at android.database.sqlite.SQLiteConnectionPool.open(SQLiteConnectionPool.java:177)
at android.database.sqlite.SQLiteDatabase.openInner(SQLiteDatabase.java:804)
at android.database.sqlite.SQLiteDatabase.open(SQLiteDatabase.java:789)
at android.database.sqlite.SQLiteDatabase.openDatabase(SQLiteDatabase.java:694)
at android.app.ContextImpl.openOrCreateDatabase(ContextImpl.java:951)
at android.content.ContextWrapper.openOrCreateDatabase(ContextWrapper.java:256)
at android.content.ContextWrapper.openOrCreateDatabase(ContextWrapper.java:256)
at android.database.sqlite.SQLiteOpenHelper.getDatabaseLocked(SQLiteOpenHelper.java:224)
at android.database.sqlite.SQLiteOpenHelper.getWritableDatabase(SQLiteOpenHelper.java:164)
at com.google.android.gms.playlog.store.r.dcom.google.android.gms:97)
at com.google.android.gms.clearcut.service.a.acom.google.android.gms:153)
at com.google.android.gms.common.service.f.runcom.google.android.gms:176)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1112)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:587)
at com.google.android.gms.common.util.a.c.runcom.google.android.gms:17)
at java.lang.Thread.run(Thread.java:841)
05-05 08:43:41.418 6594-16995/? E/SQLiteDatabase: Failed to open database '/data/data/com.google.android.gms/databases/playlog.db'.
android.database.sqlite.SQLiteException: not an error (code 0): Could not open the database in read/write mode.
at android.database.sqlite.SQLiteConnection.nativeOpen(Native Method)
at android.database.sqlite.SQLiteConnection.open(SQLiteConnection.java:209)
at android.database.sqlite.SQLiteConnection.open(SQLiteConnection.java:193)
at android.database.sqlite.SQLiteConnectionPool.openConnectionLocked(SQLiteConnectionPool.java:463)
at android.database.sqlite.SQLiteConnectionPool.open(SQLiteConnectionPool.java:185)
at android.database.sqlite.SQLiteConnectionPool.open(SQLiteConnectionPool.java:177)
at android.database.sqlite.SQLiteDatabase.openInner(SQLiteDatabase.java:804)
at android.database.sqlite.SQLiteDatabase.open(SQLiteDatabase.java:789)
at android.database.sqlite.SQLiteDatabase.openDatabase(SQLiteDatabase.java:694)
at android.app.ContextImpl.openOrCreateDatabase(ContextImpl.java:951)
at android.content.ContextWrapper.openOrCreateDatabase(ContextWrapper.java:256)
at android.content.ContextWrapper.openOrCreateDatabase(ContextWrapper.java:256)
at android.database.sqlite.SQLiteOpenHelper.getDatabaseLocked(SQLiteOpenHelper.java:224)
at android.database.sqlite.SQLiteOpenHelper.getWritableDatabase(SQLiteOpenHelper.java:164)
at com.google.android.gms.playlog.store.r.dcom.google.android.gms:97)
at com.google.android.gms.clearcut.service.a.acom.google.android.gms:153)
at com.google.android.gms.common.service.f.runcom.google.android.gms:176)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1112)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:587)
at com.google.android.gms.common.util.a.c.runcom.google.android.gms:17)
at java.lang.Thread.run(Thread.java:841)
...
05-05 08:43:48.438 150-150/? E/ia_watchdog: Timer interrupt
05-05 08:43:48.438 150-150/? E/ia_watchdog: waiting for a timer interrupt
05-05 08:44:06.428 16980-16985/? E/dalvikvm: Unable to open stack trace file '/data/anr/traces.txt': Read-only file system
05-05 08:44:06.718 488-500/? E/Sensors: poll() failed (Interrupted system call)
05-05 08:44:06.738 488-493/? E/dalvikvm: Unable to open stack trace file '/data/anr/traces.txt': Read-only file system
05-05 08:44:06.828 737-743/? E/dalvikvm: Unable to open stack trace file '/data/anr/traces.txt': Read-only file system
05-05 08:44:07.048 728-733/? E/dalvikvm: Unable to open stack trace file '/data/anr/traces.txt': Read-only file system
05-05 08:44:07.248 566-569/? E/dalvikvm: Unable to open stack trace file '/data/anr/traces.txt': Read-only file system
05-05 08:44:08.218 1045-1050/? E/dalvikvm: Unable to open stack trace file '/data/anr/traces.txt': Read-only file system
This too lazy to read the log - everything goes wrong when trying to write / open a file / database. Very annoying message like "Read-only file system", can it be flash memory began to fail?
Any help? After factory reset (and 5 hours normal work) problem still happens. How I can check and fix (if needed) my memory storage? Or it's problem in gapps?

[Request] Animated Pixel NavBar on Z5 Compact

I was following this guide here: https://chromloop.com/2016/11/guide-how-to-port-pixel-navigation-bar-animation-to-your-phone/ but without success. My rom is 7.1.1 stock odex .54.
logcat here
--------- beginning of crash
10-31 00:42:42.462 E/AndroidRuntime(12427): FATAL EXCEPTION: main
10-31 00:42:42.462 E/AndroidRuntime(12427): Process: com.android.systemui, PID: 12427
10-31 00:42:42.462 E/AndroidRuntime(12427): java.lang.ClassCastException: com.google.android.systemui.OpaLayout cannot be cast to android.widget.ImageView
10-31 00:42:42.462 E/AndroidRuntime(12427): at com.android.systemui.statusbar.phone.ButtonDispatcher.setCrossfadeDrawable(ButtonDispatcher.java:192)
10-31 00:42:42.462 E/AndroidRuntime(12427): at com.android.systemui.statusbar.phone.NavigationBarView.setHomeIcon(NavigationBarView.java:522)
10-31 00:42:42.462 E/AndroidRuntime(12427): at com.android.systemui.statusbar.phone.NavigationBarView.setNavigationIconHints(NavigationBarView.java:580)
10-31 00:42:42.462 E/AndroidRuntime(12427): at com.android.systemui.statusbar.phone.NavigationBarView.reorient(NavigationBarView.java:799)
10-31 00:42:42.462 E/AndroidRuntime(12427): at com.android.systemui.statusbar.phone.PhoneStatusBar.prepareNavigationBarView(PhoneStatusBar.java:1628)
10-31 00:42:42.462 E/AndroidRuntime(12427): at com.android.systemui.statusbar.phone.PhoneStatusBar.addNavigationBar(PhoneStatusBar.java:1673)
10-31 00:42:42.462 E/AndroidRuntime(12427): at com.android.systemui.statusbar.phone.PhoneStatusBar.start(PhoneStatusBar.java:803)
10-31 00:42:42.462 E/AndroidRuntime(12427): at com.android.systemui.statusbar.SystemBars.createStatusBarFromConfig(SystemBars.java:110)
10-31 00:42:42.462 E/AndroidRuntime(12427): at com.android.systemui.statusbar.SystemBars.onNoService(SystemBars.java:62)
10-31 00:42:42.462 E/AndroidRuntime(12427): at com.android.systemui.statusbar.ServiceMonitor.startService(ServiceMonitor.java:230)
10-31 00:42:42.462 E/AndroidRuntime(12427): at com.android.systemui.statusbar.ServiceMonitor.-wrap5(ServiceMonitor.java)
10-31 00:42:42.462 E/AndroidRuntime(12427): at com.android.systemui.statusbar.ServiceMonitor$1.handleMessage(ServiceMonitor.java:73)
10-31 00:42:42.462 E/AndroidRuntime(12427): at android.os.Handler.dispatchMessage(Handler.java:102)
10-31 00:42:42.462 E/AndroidRuntime(12427): at android.os.Looper.loop(Looper.java:241)
10-31 00:42:42.462 E/AndroidRuntime(12427): at android.app.ActivityThread.main(ActivityThread.java:6274)
10-31 00:42:42.462 E/AndroidRuntime(12427): at java.lang.reflect.Method.invoke(Native Method)
10-31 00:42:42.462 E/AndroidRuntime(12427): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:886)
10-31 00:42:42.462 E/AndroidRuntime(12427): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:776)
10-31 00:42:42.464 D/ActivityManager( 3145): New dropbox entry: com.android.systemui, system_app_crash, db7f643e-e176-438a-bdba-9d8bf9eed2b9
10-31 00:42:42.473 D/clmlib ( 1648): Got activities:0x00000008
10-31 00:42:42.474 I/JavaDumper:JavaDumperThread( 1648): addEvent: [email protected] processName: com.android.systemui
10-31 00:42:42.475 I/JavaDumper:JavaDumperThread( 1648): Event: [email protected] TimeStamp: 1509381762
10-31 00:42:42.492 W/asset ( 3145): Version security token mismatch.
10-31 00:42:42.492 W/asset ( 3145): Path: /system/priv-app/SystemUI/SystemUI.apk
10-31 00:42:42.492 W/asset ( 3145): targetTokenFromPath: 0000000059f752b026d46df30001030b00000112
10-31 00:42:42.492 W/asset ( 3145): targetTokenFromFile: 0000000059f75633069db8710001030b00000116
My friend told me that Sony has prevented my modification, that would break when I replace the layout and the code assumes a different layout. But Pixel NavBar becomes default in Sony Oreo. Is it possible to port this feature?
Thanks in advance.

Mi A3 Couldn't update

Hi,
Last few week I got an update for my Mi A3. But it show "Couldn't Update". I have tried restart for a few times, still failed. At first I thought is a common issue that happen before for Android 10 Global version. But until now, I google but didn't get similar issue.
Code:
06-09 10:22:14.223 1026 1026 I update_engine: [0609/102214.223549:INFO:delta_performer.cc(384)] Opening /dev/block/bootdevice/by-name/qupfw_a partition without O_DSYNC
06-09 10:22:14.224 1026 1026 I update_engine: [0609/102214.224616:INFO:delta_performer.cc(127)] Caching writes.
06-09 10:22:14.224 1026 1026 I update_engine: [0609/102214.224776:INFO:delta_performer.cc(396)] Applying 3 operations to partition "qupfw"
06-09 10:22:14.253 1026 1026 I update_engine: [0609/102214.253610:INFO:delta_performer.cc(384)] Opening /dev/block/bootdevice/by-name/rpm_a partition without O_DSYNC
06-09 10:22:14.254 1026 1026 I update_engine: [0609/102214.254519:INFO:delta_performer.cc(127)] Caching writes.
06-09 10:22:14.254 1026 1026 I update_engine: [0609/102214.254630:INFO:delta_performer.cc(396)] Applying 4 operations to partition "rpm"
06-09 10:22:14.274 1026 1026 I update_engine: [0609/102214.274571:INFO:delta_performer.cc(384)] Opening /dev/block/bootdevice/by-name/storsec_a partition without O_DSYNC
06-09 10:22:14.275 1026 1026 I update_engine: [0609/102214.275496:INFO:delta_performer.cc(127)] Caching writes.
06-09 10:22:14.275 1026 1026 I update_engine: [0609/102214.275606:INFO:delta_performer.cc(396)] Applying 3 operations to partition "storsec"
06-09 10:22:14.296 1026 1026 I update_engine: [0609/102214.296526:INFO:delta_performer.cc(384)] Opening /dev/block/bootdevice/by-name/system_a partition without O_DSYNC
06-09 10:22:14.297 1026 1026 I update_engine: [0609/102214.297435:INFO:delta_performer.cc(127)] Caching writes.
06-09 10:22:14.297 1026 1026 I update_engine: [0609/102214.297545:INFO:delta_performer.cc(396)] Applying 2663 operations to partition "system"
06-09 10:22:14.325 1026 1026 E update_engine: [0609/102214.325666:ERROR:fec_file_descriptor.cc(30)] No ECC data in the passed file
06-09 10:22:14.325 1026 1026 E update_engine: [0609/102214.325892:ERROR:delta_performer.cc(430)] Unable to open ECC source partition system on slot B, file /dev/block/bootdevice/by-name/system_b: Success (0)
06-09 10:22:14.326 1026 1026 E update_engine: [0609/102214.326004:ERROR:delta_performer.cc(1135)] The hash of the source data on disk for this operation doesn't match the expected value. This could mean that the delta update payload was targeted for another version, or that the source partition was modified after it was installed, for example, by mounting a filesystem.
06-09 10:22:14.326 1026 1026 E update_engine: [0609/102214.326089:ERROR:delta_performer.cc(1140)] Expected: sha256|hex = 8FDC83A129E42CCF54930CDF2E0CADA4B9D18D9F28CCA93859745FBFF655620E
06-09 10:22:14.326 1026 1026 E update_engine: [0609/102214.326143:ERROR:delta_performer.cc(1143)] Calculated: sha256|hex = A4862B6548106E22C0A0FEC181ECE24EEF4665B4E9766EE1D815FC88DD2E251F
06-09 10:22:14.326 1026 1026 E update_engine: [0609/102214.326217:ERROR:delta_performer.cc(1154)] Operation source (offset:size) in blocks: 0:2,219:1,224:1,235:226,699:2,2908:49,2958:156,3321:2,3580:1,3584:1,3588:1,3945:1,3948:5,3954:11,3967:10,3978:18,3999:2,4003:3,4007:1,4009:6,4016:12,4034:1
06-09 10:22:14.326 1026 1026 W update_engine: [0609/102214.326291:WARNING:mount_history.cc(66)] Device was remounted R/W 2 times. Last remount happened on 2020-05-15 10:30:32.000 UTC.
06-09 10:22:14.326 1026 1026 E update_engine: [0609/102214.326354:ERROR:delta_performer.cc(1435)] source_fd != nullptr failed.
06-09 10:22:14.326 1026 1026 E update_engine: [0609/102214.326414:ERROR:delta_performer.cc(296)] Failed to perform BROTLI_BSDIFF operation 2373, which is the operation 0 in partition "system"
06-09 10:22:14.326 1026 1026 E update_engine: [0609/102214.326468:ERROR:download_action.cc(336)] Error ErrorCode::kDownloadStateInitializationError (20) in DeltaPerformer's Write method when processing the received payload -- Terminating processing
06-09 10:22:14.327 1026 1026 I update_engine: [0609/102214.327135:INFO:delta_performer.cc(313)] Discarding 3276 unused downloaded bytes
06-09 10:22:14.327 1026 1026 I update_engine: [0609/102214.327209:INFO:libcurl_http_fetcher.cc(548)] Requesting libcurl to terminate transfer.
06-09 10:22:14.332 1026 1026 I update_engine: [0609/102214.332250:INFO:multi_range_http_fetcher.cc(177)] Received transfer terminated.
06-09 10:22:14.332 1026 1026 I update_engine: [0609/102214.332476:INFO:multi_range_http_fetcher.cc(129)] TransferEnded w/ code 206
06-09 10:22:14.332 1026 1026 I update_engine: [0609/102214.332553:INFO:multi_range_http_fetcher.cc(131)] Terminating.
06-09 10:22:14.386 1026 1026 I update_engine: [0609/102214.386506:INFO:action_processor.cc(116)] ActionProcessor: finished DownloadAction with code ErrorCode::kDownloadStateInitializationError
06-09 10:22:14.386 1026 1026 I update_engine: [0609/102214.386774:INFO:action_processor.cc(121)] ActionProcessor: Aborting processing due to failure.
06-09 10:22:14.386 1026 1026 I update_engine: [0609/102214.386865:INFO:update_attempter_android.cc(454)] Processing Done.
06-09 10:22:14.387 1026 1026 I update_engine: [0609/102214.387793:INFO:update_attempter_android.cc(473)] Resetting update progress.
06-09 10:22:14.387 1026 1026 I update_engine: [0609/102214.387916:INFO:dynamic_partition_control_android.cc(151)] Destroying [] from device mapper
06-09 10:22:14.401 3279 9469 I SystemUpdate: [Control,InstallationControl] Installation progress updated to (0x111, 0.000).
06-09 10:22:14.402 1026 1026 I update_engine: [0609/102214.402755:INFO:metrics_reporter_android.cc(29)] uploading 1 to histogram for metric ota_update_engine_attempt_number
06-09 10:22:14.403 1026 1026 I update_engine: [0609/102214.402996:INFO:metrics_reporter_android.cc(29)] uploading 0 to histogram for metric ota_update_engine_attempt_payload_type
06-09 10:22:14.403 1026 1026 I update_engine: [0609/102214.403138:INFO:metrics_reporter_android.cc(29)] uploading 0 to histogram for metric ota_update_engine_attempt_fixed_duration_boottime_in_minutes
06-09 10:22:14.403 1026 1026 I update_engine: [0609/102214.403258:INFO:metrics_reporter_android.cc(29)] uploading 0 to histogram for metric ota_update_engine_attempt_duration_monotonic_in_minutes
06-09 10:22:14.403 1026 1026 I update_engine: [0609/102214.403364:INFO:metrics_reporter_android.cc(29)] uploading 44 to histogram for metric ota_update_engine_attempt_payload_size_mib
06-09 10:22:14.403 1026 1026 I update_engine: [0609/102214.403459:INFO:metrics_reporter_android.cc(29)] uploading 1 to histogram for metric ota_update_engine_attempt_result
06-09 10:22:14.403 1026 1026 I update_engine: [0609/102214.403576:INFO:metrics_reporter_android.cc(29)] uploading 20 to histogram for metric ota_update_engine_attempt_error_code
06-09 10:22:14.403 1026 1026 I update_engine: [0609/102214.403829:INFO:metrics_reporter_android.cc(29)] uploading 29 to histogram for metric ota_update_engine_attempt_fixed_current_bytes_downloaded_mib
From what I notice, these 2 lines show the reason of these issue. From what I remember, I loaded twrp recovery before. Is this cause the OTA failed to update?
The hash of the source data on disk for this operation doesn't match the expected value. This could mean that the delta update payload was targeted for another version, or that the source partition was modified after it was installed, for example, by mounting a filesystem.
Device was remounted R/W 2 times. Last remount happened on 2020-05-15 10:30:32.000 UTC.
Anyone has this issue? Or any suggestion to solve this issue.
How do I check what is the version of this update? It does not show in the system update. I have downloaded the OTA.zip.
Current version: Android 10 for EU.
Build number: V11.0.1.0.QFQEUXM
Thanks
You already found the reason why it fails (https://forum.xda-developers.com/mi-a3/how-to/guide-failed-ota-update-installation-t4041291). Reflash stock boot and system images via fastboot.
_mysiak_ said:
You already found the reason why it fails (https://forum.xda-developers.com/mi-a3/how-to/guide-failed-ota-update-installation-t4041291). Reflash stock boot and system images via fastboot.
Click to expand...
Click to collapse
After reflash, I will need to start over, right?
Thanks
JackVoo said:
After reflash, I will need to start over, right?
Thanks
Click to expand...
Click to collapse
Start over with what? You will need to root your phone again, but you do not need to perform a factory reset.
_mysiak_ said:
Start over with what? You will need to root your phone again, but you do not need to perform a factory reset.
Click to expand...
Click to collapse
"Start over" mean restore all the app again?
Look at the steps, I will need to flash the system.img. Will I lost all the app data?
Thanks.
JackVoo said:
"Start over" mean restore all the app again?
Look at the steps, I will need to flash the system.img. Will I lost all the app data?
Thanks.
Click to expand...
Click to collapse
Nothing will be lost, app data will stay intact as it's located in /data partition.
Code:
E update_engine: [0615/084826.429756:ERROR:fec_file_descriptor.cc(30)] No ECC data in the passed file
E update_engine: [0615/084826.429929:ERROR:delta_performer.cc(430)] Unable to open ECC source partition vendor on slot B, file /dev/block/bootdevice/by-name/vendor_b: Success (0)
E update_engine: [0615/084826.432353:ERROR:delta_performer.cc(1135)] The hash of the source data on disk for this operation doesn't match the expected value. This could mean that the delta update payload was targeted for another version, or that the source partition was modified after it was installed, for example, by mounting a filesystem.
E update_engine: [0615/084826.432433:ERROR:delta_performer.cc(1140)] Expected: sha256|hex = 8D0481F97F0F0184F9DFA41A11E27C3A6D36BF9B667327346CA6CB2CB73F52C5
E update_engine: [0615/084826.432483:ERROR:delta_performer.cc(1143)] Calculated: sha256|hex = 06C00C642CAB09B613A1BFC162C508453C8DF1D09A81081FC339812D94291569
E update_engine: [0615/084826.432568:ERROR:delta_performer.cc(1154)] Operation source (offset:size) in blocks: 0:2,71:1,75:2,79:2,82:1,85:1,87:2,92:1,97:1,137:1,291:82,573:2,3169:173,3343:7,3758:173,3949:7,5976:1,6874:1,7355:1,7363:1,7489:1,7498:1,8010:1,8123:1,8144:1,9464:1,9530:1,9535:1,9539:2,9544:2,9549:2,9554:2,9559:2,9565:2,9568:1,9571:2,9574:1,9577:2,9580:1,9590:2,9593:1,9596:2,9599:1,9604:1,9608:2,9613:2,9618:2,9623:2,9628:2,9631:1,9642:1,9644:1,9671:1,9673:1,9678:1
W update_engine: [0615/084826.432657:WARNING:mount_history.cc(66)] [B]Device was remounted R/W 1 times[/B]. Last remount happened on 2020-05-15 10:30:34.000 UTC.
E update_engine: [0615/084826.432775:ERROR:delta_performer.cc(1435)] source_fd != nullptr failed.
E update_engine: [0615/084826.432968:ERROR:delta_performer.cc(296)] Failed to perform BROTLI_BSDIFF operation 5067, which is the operation 0 in partition "vendor"
E update_engine: [0615/084826.433040:ERROR:download_action.cc(336)] Error ErrorCode::kDownloadStateInitializationError (20) in DeltaPerformer's Write method when processing the received payload -- Terminating processing
I update_engine: [0615/084826.433510:INFO:delta_performer.cc(313)] Discarding 1311 unused downloaded bytes
Hi, I have follow the instruction https://forum.xda-developers.com/mi-a3/how-to/guide-failed-ota-update-installation-t4041291 to flash the system.img to my system partition. Still have the same issue.
My active slot is B, I only flash to B only, I didn't flash A. Does it has any effect?
I do not have root, so can't check with tune2fs.
Any suggestion?
Thanks
JackVoo said:
Code:
E update_engine: [0615/084826.429756:ERROR:fec_file_descriptor.cc(30)] No ECC data in the passed file
E update_engine: [0615/084826.429929:ERROR:delta_performer.cc(430)] Unable to open ECC source partition vendor on slot B, file /dev/block/bootdevice/by-name/vendor_b: Success (0)
E update_engine: [0615/084826.432353:ERROR:delta_performer.cc(1135)] The hash of the source data on disk for this operation doesn't match the expected value. This could mean that the delta update payload was targeted for another version, or that the source partition was modified after it was installed, for example, by mounting a filesystem.
E update_engine: [0615/084826.432433:ERROR:delta_performer.cc(1140)] Expected: sha256|hex = 8D0481F97F0F0184F9DFA41A11E27C3A6D36BF9B667327346CA6CB2CB73F52C5
E update_engine: [0615/084826.432483:ERROR:delta_performer.cc(1143)] Calculated: sha256|hex = 06C00C642CAB09B613A1BFC162C508453C8DF1D09A81081FC339812D94291569
E update_engine: [0615/084826.432568:ERROR:delta_performer.cc(1154)] Operation source (offset:size) in blocks: 0:2,71:1,75:2,79:2,82:1,85:1,87:2,92:1,97:1,137:1,291:82,573:2,3169:173,3343:7,3758:173,3949:7,5976:1,6874:1,7355:1,7363:1,7489:1,7498:1,8010:1,8123:1,8144:1,9464:1,9530:1,9535:1,9539:2,9544:2,9549:2,9554:2,9559:2,9565:2,9568:1,9571:2,9574:1,9577:2,9580:1,9590:2,9593:1,9596:2,9599:1,9604:1,9608:2,9613:2,9618:2,9623:2,9628:2,9631:1,9642:1,9644:1,9671:1,9673:1,9678:1
W update_engine: [0615/084826.432657:WARNING:mount_history.cc(66)] [B]Device was remounted R/W 1 times[/B]. Last remount happened on 2020-05-15 10:30:34.000 UTC.
E update_engine: [0615/084826.432775:ERROR:delta_performer.cc(1435)] source_fd != nullptr failed.
E update_engine: [0615/084826.432968:ERROR:delta_performer.cc(296)] Failed to perform BROTLI_BSDIFF operation 5067, which is the operation 0 in partition "vendor"
E update_engine: [0615/084826.433040:ERROR:download_action.cc(336)] Error ErrorCode::kDownloadStateInitializationError (20) in DeltaPerformer's Write method when processing the received payload -- Terminating processing
I update_engine: [0615/084826.433510:INFO:delta_performer.cc(313)] Discarding 1311 unused downloaded bytes
Hi, I have follow the instruction https://forum.xda-developers.com/mi-a3/how-to/guide-failed-ota-update-installation-t4041291 to flash the system.img to my system partition. Still have the same issue.
My active slot is B, I only flash to B only, I didn't flash A. Does it has any effect?
I do not have root, so can't check with tune2fs.
Any suggestion?
Thanks
Click to expand...
Click to collapse
You did not follow the instructions as they say to use Fastboot, not TWRP to flash images.
_mysiak_ said:
You did not follow the instructions as they say to use Fastboot, not TWRP to flash images.
Click to expand...
Click to collapse
I didnt't use twrp, I am using
Code:
fastboot flash system_b system.img
to flash the system.img.
My active slot is B. I get it from fastboot getvar all.
Thanks
JackVoo said:
I didnt't use twrp, I am using
Code:
fastboot flash system_b system.img
to flash the system.img.
My active slot is B. I get it from fastboot getvar all.
Thanks
Click to expand...
Click to collapse
Did you flash also boot.img? You mentioned that one R/W mount is from TWRP, which is not possible with stock boot and system images.
_mysiak_ said:
Did you flash also boot.img? You mentioned that one R/W mount is from TWRP, which is not possible with stock boot and system images.
Click to expand...
Click to collapse
Hi, ya. The remount R/W issue is cause by TWRP which I use at 15-May. I am trying to fix this issue. From the forum guide, if using custom ROM, then only need to flash boot.img.
Okay. I will try to flash boot.img and system.img.
Thanks for the reply
_mysiak_ said:
Did you flash also boot.img? You mentioned that one R/W mount is from TWRP, which is not possible with stock boot and system images.
Click to expand...
Click to collapse
Ya. the R/W is due to TWRP at 15-May. Which I want to fix this issue now
Okay. I will try flash the boot.img and system.img.
Thanks for the reply
Flash boot.img and system.img not working for this issue.
I solve it by flashing the new fastboot ROM to slot A. My current active slot is B.
Thanks for the help.

Question Looking for input on video issue

Hi all,
I'm experiencing video freezes on my OnePlus Nord 2, so I'm wondering whether this is an issue specific to my device or a generic issue with the Nord 2.
So, anyone with a Nord 2, can you please perform the following test and post the results here?
Open Google Chrome browser on the Nord 2
Navigate to https://www.nu.nl/289242/video/waarom-de-algemene-politieke-beschouwingen-belangrijk-zijn-voor-de-formatie.html (arbitrary video on popular Dutch news site)
Play commercials if necessary, then play actual video stream
While video stream is playing, use the settings icon to change video resolution from 1080p to 720p, or vice versa
Wait a couple of seconds to see whether the video freezes or continues playing
If the video continues playing, repeat steps 4 through 6
Please report whether the video plays correctly, or freezes shortly after changing the resolution. Also, whether the video freezes or not, if you have access to adb, please also report whether 'adb logcat *:W' shows a lot of warnings and errors while playing the video.
For more background information on this issue, please see https://forum.xda-developers.com/t/video-freezes-in-chrome-audio-captions-continue.4333457/.
Thanks for your help!
Same issue here on EEA variant. Got the phone for my daughter and she's not happy with freezing tiktok videos.
Stripped log before video freezes in tiktok:
Code:
09-22 17:16:02.951 1224 31061 W MtkOmxVdecDebug: [0xeb35eb00] === BufQWDT=== FTB too slow: 4460213us
09-22 17:16:02.962 30784 30859 W ttmn : <0x0,AVMDLManagerBridge.cpp,native_setIntValue,688>set key:709 value:0
09-22 17:16:02.962 30784 30859 W ttmn : <0x0,AVMDLog.cpp,set_alog_enable,38>set_alog_enable, 0
09-22 17:16:02.964 30784 30784 E Parcel : Reading a NULL string not supported here.
09-22 17:16:02.981 30784 31084 W ttmn : <0x0,av_decoder.cpp,resetCodec,727>codec need recreate: 0x7afc19ec80
09-22 17:16:03.002 1224 31062 W MtkOmxVdecExV4L2: [0xeb35eb00] FBD with wrong time order, 2666000 => -1
09-22 17:16:03.005 30784 31087 W AudioTrack: Use of stream types is deprecated for operations other than volume control
09-22 17:16:03.005 30784 31087 W AudioTrack: See the documentation of AudioTrack() for what to use instead with android.media.AudioAttributes to qualify your playback use case
09-22 17:16:03.008 30784 31083 W ttmn : <0x0,av_decoder.cpp,resetCodec,727>codec need recreate: 0x7b2f0b3300
09-22 17:16:03.048 31874 32181 E Parcel : Reading a NULL string not supported here.
09-22 17:16:03.049 31874 32181 E Parcel : Reading a NULL string not supported here.
09-22 17:16:03.050 1224 10915 E MtkV4L2Device: [0xeb35ed5c] [setDevicePollInterrupt] write sueeeed...
09-22 17:16:03.052 31874 32181 E Parcel : Reading a NULL string not supported here.
09-22 17:16:03.059 31874 32181 E Parcel : Reading a NULL string not supported here.
09-22 17:16:03.061 1224 10915 E libc : Access denied finding property "ro.mtk_crossmount_support"
09-22 17:16:03.061 1224 10915 E libc : Access denied finding property "ro.mtk_deinterlace_support"
09-22 17:16:03.063 31874 32181 E Parcel : Reading a NULL string not supported here.
09-22 17:16:03.072 30784 31083 W ttmn : <0x0,aj_media_codec.cpp,reconfigureCodec,644>width:0 height:0, nalSize: 0, maxWidth:0, maxHeight:4 surface : 14234, extradataSize: 166
09-22 17:16:03.096 1224 10915 E MtkOmxVdecExV4L2: [0xdd3c6e00] MtkOmxVdec::GetParameter unsupported nParamIndex
09-22 17:16:03.096 1224 10915 E OMXNodeInstance: getParameter(0xdd3c6e04:MTK.DECODER.HEVC, ??(0x6f600011)) ERROR: UnsupportedIndex(0x8000101a)
09-22 17:16:03.096 30784 31385 E OplusACodec: [GetVideoCodingTypeFromMime:L1093] mime:video/hevc
09-22 17:16:03.098 1224 10915 E MtkOmxVdecExV4L2: [0xdd3c6e00] MtkOmxVdec::SetConfig Unknown config index: 0x6F800002
09-22 17:16:03.098 1224 10915 E OMXNodeInstance: setConfig(0xdd3c6e04:MTK.DECODER.HEVC, ConfigPriority(0x6f800002)) ERROR: UnsupportedIndex(0x8000101a)
09-22 17:16:03.098 1224 10915 E MtkOmxVdecExV4L2: [0xdd3c6e00] MtkOmxVdec::GetConfig Unknown config index: 0x6F100004
09-22 17:16:03.098 1224 10915 E OMXNodeInstance: getConfig(0xdd3c6e04:MTK.DECODER.HEVC, ConfigAndroidVendorExtension(0x6f100004)) ERROR: UnsupportedIndex(0x8000101a)
09-22 17:16:03.099 1224 9352 E MtkV4L2Device: [0xdd3c705c] [getColorDesc] ioctl(3222820423) failed. error = Invalid argument
09-22 17:16:03.114 1180 4430 W ResourceManagerService: Ignoring request to add new resource entry with value <= 0
09-22 17:16:03.115 1224 9352 W gralloc4: Buffer descriptor with invalid usage bits 0x2000
09-22 17:16:03.117 1224 9352 W gralloc4: Buffer descriptor with invalid usage bits 0x2000
09-22 17:16:03.119 1224 9352 W gralloc4: Buffer descriptor with invalid usage bits 0x2000
09-22 17:16:03.120 1224 9352 W gralloc4: Buffer descriptor with invalid usage bits 0x2000
09-22 17:16:03.133 1224 31388 E MtkOmxVdecExV4L2: [0xdd3c6e00] MtkOmxVdec::handleResolutionChange
09-22 17:16:03.137 1224 10915 E MtkOmxVdecExV4L2: [0xdd3c6e00] Ignore SP AndroidNativeBufferConsumerUsage in mState:(3)
09-22 17:16:03.140 1224 10915 W gralloc4: Buffer descriptor with invalid usage bits 0x2000
09-22 17:16:03.146 1224 10915 W gralloc4: Buffer descriptor with invalid usage bits 0x2000
09-22 17:16:03.154 1224 10915 W gralloc4: Buffer descriptor with invalid usage bits 0x2000
09-22 17:16:03.156 1224 9352 W gralloc4: Buffer descriptor with invalid usage bits 0x2000
09-22 17:16:03.161 1224 10915 W gralloc4: Buffer descriptor with invalid usage bits 0x2000
09-22 17:16:03.163 550 550 E SELinux : avc: denied { find } for interface=vendor.mediatek.hardware.mmagent::IMMAgent sid=u:r:mediacodec:s0 pid=1224 scontext=u:r:mediacodec:s0 tcontext=u:object_r:mtk_hal_mmagent_hwservice:s0 tclass=hwservice_manager permissive=0
09-22 17:16:03.163 1224 31395 E MDP : [PQ][DpAIPqControl] workerLoop: Failed to get service
09-22 17:16:03.164 1224 9352 W gralloc4: Buffer descriptor with invalid usage bits 0x2000
09-22 17:16:03.167 1224 9352 W gralloc4: Buffer descriptor with invalid usage bits 0x2000
09-22 17:16:03.168 30784 31086 W ttmn : <0x0,video_outlet_android.cpp,openDevice,327>open render success
09-22 17:16:03.171 1224 9352 W gralloc4: Buffer descriptor with invalid usage bits 0x2000
09-22 17:16:03.173 1224 9352 W gralloc4: Buffer descriptor with invalid usage bits 0x2000
09-22 17:16:03.177 1224 9352 W gralloc4: Buffer descriptor with invalid usage bits 0x2000
Can't reproduce with your video it plays fine in latest chrome with resolution changed multiple times.
But have 100% success to get freezing video here with:
In tiktok default feed videos plays fine. Scroll next videos all fine.
Swipe to userprofile and select video it freezes after first frame.
Scroll to next video it plays fine again
Works good, tiktok and the Video not freeze.. im on EEA V10
Update:
Upgraded the phone with sakarya1980's files (update_07_auf_09,09_10 Thanks for your work!) to V10.
Everything is uptodate.
Issue still exists and can be reproduced with tiktok method
https://imgur.com/a/vIDzKgt
Edit:
Fiddled around in Developer options and noticed "Don’t Keep Activities" was enabled (not sure why). Turning this option off and video playback is fine
Everything works fine here too , video link from first post plays just fine in chrome or firefox in my nord 2 .
Same for tiktok , no freezing even after very long sessions or other apps running in background
To all that replied so far, thanks for testing this. Do you have the 8/128GB version, or 12/256GB? And for those mentioning 'EEA' version, I assume this just means you purchased the device in Europe? Or do you see some indication of 'EEA' somewhere on the device itself?
A local OnePlus service center replaced both my mainboard and display last week to see whether the issue was caused by faulty hardware, but unfortunately the problem is still present. The service center flashed the device with A.07, but previously I had the same issue with A.10.
Here's a video showing the behavior: https://drive.google.com/file/d/107cshn5LQK3Yh-CMBQLvqa7Uyk1gyefH/view?usp=sharing
Here it's the 8/128GB version. Think there is some diff in software between IND/EEA, on the phone itself nothing says EEA. But there must be other diffs the phone here never showed v08 v09 ota updates. It was 05 to 07 and then 07 to 10 (wich failed to install thats why used sakarya1980 files).
Is it only in chrome on this webpage or other apps too? Have you tried switching to desktopversion in chrome?
In your capture the sound keeps playing here the whole video stopped (wich was fixed with disabling the devoption)
Nört said:
Here it's the 8/128GB version. Think there is some diff in software between IND/EEA, on the phone itself nothing says EEA. But there must be other diffs the phone here never showed v08 v09 ota updates. It was 05 to 07 and then 07 to 10 (wich failed to install thats why used sakarya1980 files).
Is it only in chrome on this webpage or other apps too? Have you tried switching to desktopversion in chrome?
In your capture the sound keeps playing here the whole video stopped (wich was fixed with disabling the devoption)
Click to expand...
Click to collapse
Same here, 8/128GB version, and I've only seen A.07 and A.10 versions. I've seen this problem in both Chrome and Brave browsers; Edge and DuckDuckGo browsers are not affected but video quality is much worse, I guess because these browsers are not using hardware video decoding.
If I disable hardware acceleration in Chrome (through chrome://flags), then videos are no longer freezing but video quality is much worse. I haven't tried many other apps, but for example YouTube doesn't seem to be affected (good video quality and no freezes when switching resolution).
Hi there
Have the exact same issue on a oneplus Nord 2 5g 12/256GB. Video freezing on Chrome and Brave browser. Firefox has no issues with that.
I am not that technical, but just fiddled around in flags on Brave (and suppose will work on chrome as well).
Setting Android SurfaceControl to disabled is a workaround that fixed this issue for me!
Hope it works for you too.
Daan_H said:
Have the exact same issue on a oneplus Nord 2 5g 12/256GB. Video freezing on Chrome and Brave browser.
Setting Android SurfaceControl to disabled is a workaround that fixed this issue for me!
Hope it works for you too.
Click to expand...
Click to collapse
Many thanks for this tip! Changing this setting in Chrome seems to fix the issue for me as well, I'll do some more testing soon.

Categories

Resources