termux / termux-app

Termux - a terminal emulator application for Android OS extendible by variety of packages.
https://f-droid.org/en/packages/com.termux
Other
36.28k stars 3.81k forks source link

Unable to install bootstrap #2168

Closed Ftwrr closed 2 years ago

Ftwrr commented 3 years ago

Screenshot_2021-07-08-02-09-08-64_84d3000e3f4017145260f7618db1d683

ghost commented 3 years ago

Where did you get the Termux APK file?

Ftwrr commented 3 years ago

Where did you get the Termux APK file?

f-droid

Ftwrr commented 3 years ago

Screenshot_2021-07-08-08-35-21-24_84d3000e3f4017145260f7618db1d683

agnostic-apollo commented 3 years ago

Copy the complete error from menu on top right (3 dots) and post that and not screenshots.

agnostic-apollo commented 3 years ago

@Ftwrr it would be better if you posted the full error so that I can see the full path and is it always the same path or different every time?

However, also try the debug build apk for v0.117 and see if it works. I attempted to fix it with termux/termux-app@dc8bdfe.

https://github.com/termux/termux-app/releases/tag/v0.117

You also need to uninstall termux and all plugins you have already installed from F-Droid before installing debug build.

https://github.com/termux/termux-app#installation

Ftwrr commented 3 years ago

Copy the complete error from menu on top right (3 dots) and post that and not screenshots.

Report Info

User Action: crash report
Sender: TermuxInstaller
Report Timestamp: 2021-07-08 23:31:43 UTC

Bootstrap Error

Error Code: 200
Error Message (FileUtils Error):

Creating directory file at path "/data/data/com.termux/files/usr-staging/bin" failed.

StackTraces

-

Termux App Info

APP_NAME: Termux
PACKAGE_NAME: com.termux
VERSION_NAME: 0.117
VERSION_CODE: 117
TARGET_SDK: 28
IS_DEBUG_BUILD: true
APK_RELEASE: Github Debug Build
SIGNING_CERTIFICATE_SHA256_DIGEST: B6DA01480EEFD5FBF2CD3771B8D1021EC791304BDD6C4BF41D3FAABAD48EE5E1

Device Info

Software

OS_VERSION: 4.9.190+
SDK_INT: 29
RELEASE: 10
ID: QP1A.190711.020
DISPLAY: RMX2180_11_A.95
INCREMENTAL: 1622100863
SECURITY_PATCH: 2021-06-05
IS_DEBUGGABLE: 0
IS_TREBLE_ENABLED: true
TYPE: user
TAGS: release-keys

Hardware

MANUFACTURER: realme
BRAND: realme
MODEL: RMX2180
PRODUCT: RMX2180T2
BOARD: oppo6765
HARDWARE: mt6765
DEVICE: RMX2180
SUPPORTED_ABIS: arm64-v8a, armeabi-v7a, armeabi

Ftwrr commented 3 years ago

@Ftwrr it would be better if you posted the full error so that I can see the full path and is it always the same path or different every time?

However, also try the debug build apk for v0.117 and see if it works. I attempted to fix it with termux/termux-app@dc8bdfe.

https://github.com/termux/termux-app/releases/tag/v0.117

You also need to uninstall termux and all plugins you have already installed from F-Droid before installing debug build.

https://github.com/termux/termux-app#installation

debug build apk not working

agnostic-apollo commented 3 years ago

debug build apk not working

Thanks for testing. Are you willing to test more builds if I send them?

For now do this. When Abort/Try again popup shows, then press back button. Then open left drawer by swiping right from left edge of screen, then long press New Session button and press FAILSAFE. Then run logcat -d command. Then long press the terminal like one does for copying text -> select More -> select Report Issue and then copy report like you did for above and post it here. You must quickly do this after the Abort/Try Again popup.

If you can't seem to open left drawer (because of gesture navigation), press home button, then long press on termux launcher icon and select Failsafe, that should work too.

agnostic-apollo commented 3 years ago

Also when you are in the failsafe session before running logcat -d command, run mkdir -p /data/data/com.termux/files/usr-staging/bin; echo $?

Ftwrr commented 3 years ago

debug build apk not working

Thanks for testing. Are you willing to test more builds if I send them?

For now do this. When Abort/Try again popup shows, then press back button. Then open left drawer by swiping right from left edge of screen, then long press New Session button and press FAILSAFE. Then run logcat -d command. Then long press the terminal like one does for copying text -> select More -> select Report Issue and then copy report like you did for above and post it here. You must quickly do this after the Abort/Try Again popup.

If you can't seem to open left drawer (because of gesture navigation), press home button, then long press on termux launcher icon and select Failsafe, that should work too.

yes

Ftwrr commented 3 years ago

Also when you are in the failsafe session before running logcat -d command, run mkdir -p /data/data/com.termux/files/usr-staging/bin; echo $?

:/ $ mkdir -p /data/data/com.termux/files/usr-staging/bin; echo $? mkdir: '/data/data/com.termux': Permission denied 1 :/ $

Ftwrr commented 3 years ago

debug build apk not working

Thanks for testing. Are you willing to test more builds if I send them?

For now do this. When Abort/Try again popup shows, then press back button. Then open left drawer by swiping right from left edge of screen, then long press New Session button and press FAILSAFE. Then run logcat -d command. Then long press the terminal like one does for copying text -> select More -> select Report Issue and then copy report like you did for above and post it here. You must quickly do this after the Abort/Try Again popup.

If you can't seem to open left drawer (because of gesture navigation), press home button, then long press on termux launcher icon and select Failsafe, that should work too.

Transcript

07-09 16:21:05.206 19613 19613 V ViewRootImpl[TermuxActivity]: Input event delivered to android.view.ViewRootImpl$EarlyPostImeInputStage@f86f923 at 2021-07-09 16:21:05.200
07-09 16:21:05.209 19613 19613 V ViewRootImpl[TermuxActivity]: [ANR Warning]Input routeing takes more than 6000ms since 2021-07-09 16:20:20.176, this = com.mediatek.view.impl.ViewDebugManagerImpl@87dcca4
07-09 16:21:05.210 19613 19613 V ViewRootImpl[TermuxActivity]: Input event delivered to android.view.ViewRootImpl$SyntheticInputStage@67f019e at 2021-07-09 16:21:05.207
07-09 16:21:05.210 19613 19613 V ViewRootImpl[TermuxActivity]: Input event delivered to android.view.ViewRootImpl$NativePostImeInputStage@72ee20 at 2021-07-09 16:21:05.207
07-09 16:21:05.211 19613 19613 V ViewRootImpl[TermuxActivity]: Input event delivered to android.view.ViewRootImpl$ViewPostImeInputStage@23d53d9 at 2021-07-09 16:21:05.207
07-09 16:21:05.211 19613 19613 V ViewRootImpl[TermuxActivity]: Input event delivered to android.view.ViewRootImpl$EarlyPostImeInputStage@f86f923 at 2021-07-09 16:21:05.207
07-09 16:21:06.928 19613 20271 D Surface : Surface::disconnect(this=0x7a6872d000,api=1)
07-09 16:21:06.952 19613 19613 D SoundPool: native_release called
07-09 16:21:06.958 19613 19613 D SoundPool: native_release end
07-09 16:21:06.965 19613 19613 V PhoneWindow: DecorView setVisiblity: visibility = 4, Parent = android.view.ViewRootImpl@ac5e34e, this = DecorView@7881213[TermuxActivity]
07-09 16:21:07.758 19613 19613 D View    : [Warning] assignParent to null: this = DecorView@7881213[TermuxActivity]
07-09 16:21:07.759 19613 19613 I InputTransport: Destroy ARC handle: 0x796ccf92a0
07-09 16:21:12.461 19613 19613 W ActivityThread: handleWindowVisibility: no activity for token android.os.BinderProxy@b782cbd
07-09 16:21:12.497 19613 19613 W Termux:SharedProperties: Not loading properties since file is null
07-09 16:21:12.539 19613 19613 D TestOverScroll: getScaledOverscrollDistance: b
07-09 16:21:12.581 19613 20962 I NuMediaExtractor: setDataSource fd=65 (/mnt/expand/20720b14-d2a1-4182-8f56-d93f25aa8778/app/com.termux-WwnHm-uZJ-s7coEAMh7y6w==/base.apk), offset=88596428, length=5090
07-09 16:21:12.586 19613 19613 V PhoneWindow: DecorView setVisiblity: visibility = 4, Parent = null, this = DecorView@fea9498[]
07-09 16:21:12.589 19613 19613 D ColorViewRootUtil: initSwipState, isDisplayCompatApp false
07-09 16:21:12.590 19613 19613 D ColorViewRootUtil: mScreenHeight 1600, mScreenWidth 720
07-09 16:21:12.593 19613 19613 D WindowManager: Add to mViews: DecorView@fea9498[TermuxActivity], this = android.view.WindowManagerGlobal@4da9f5a,pkg= com.termux
07-09 16:21:12.597 19613 20962 I MediaCodec: CreateByType(), mime = audio/vorbis, encoder = 0
07-09 16:21:12.597 19613 19613 D ViewRootImpl[TermuxActivity]: hardware acceleration = true , fakeHwAccelerated = false, sRendererDisabled = false, forceHwAccelerated = false, sSystemRendererDisabled = false
07-09 16:21:12.599 19613 20962 I MediaCodec: ----------------------------------------
07-09 16:21:12.599 19613 20962 I MediaCodec: matched component [c2.android.vorbis.decoder]
07-09 16:21:12.599 19613 20962 I MediaCodec: matched component [OMX.google.vorbis.decoder]
07-09 16:21:12.599 19613 20962 I MediaCodec: ----------------------------------------
07-09 16:21:12.599 19613 20962 I MediaCodec: new MediaCodec()
07-09 16:21:12.600 19613 20963 D CCodec  : allocate(c2.android.vorbis.decoder)
07-09 16:21:12.603 19613 20963 I CCodec  : Created component [c2.android.vorbis.decoder]
07-09 16:21:12.604 19613 20963 D CCodecConfig: read media type: audio/vorbis
07-09 16:21:12.606 19613 20963 D ReflectedParamUpdater: extent() != 1 for single value type: algo.buffers.max-count.values
07-09 16:21:12.606 19613 19613 I InputTransport: Create ARC handle: 0x7965374520
07-09 16:21:12.606 19613 20963 D ReflectedParamUpdater: extent() != 1 for single value type: output.subscribed-indices.values
07-09 16:21:12.606 19613 20963 D ReflectedParamUpdater: extent() != 1 for single value type: input.buffers.allocator-ids.values
07-09 16:21:12.606 19613 20963 D ReflectedParamUpdater: extent() != 1 for single value type: output.buffers.allocator-ids.values
07-09 16:21:12.607 19613 20963 D ReflectedParamUpdater: extent() != 1 for single value type: algo.buffers.allocator-ids.values
07-09 16:21:12.607 19613 20963 D ReflectedParamUpdater: extent() != 1 for single value type: output.buffers.pool-ids.values
07-09 16:21:12.607 19613 20963 D ReflectedParamUpdater: extent() != 1 for single value type: algo.buffers.pool-ids.values
07-09 16:21:12.607 19613 19613 V PhoneWindow: DecorView setVisiblity: visibility = 0, Parent = android.view.ViewRootImpl@b36d757, this = DecorView@fea9498[TermuxActivity]
07-09 16:21:12.608 19613 20963 I CCodecConfig: query failed after returning 7 values (BAD_INDEX)
07-09 16:21:12.608 19613 20963 D CCodecConfig: c2 config is Dict {
07-09 16:21:12.608 19613 20963 D CCodecConfig:   c2::u32 coded.bitrate.value = 64000
07-09 16:21:12.608 19613 20963 D CCodecConfig:   c2::u32 input.buffers.max-size.value = 32768
07-09 16:21:12.608 19613 20963 D CCodecConfig:   c2::u32 input.delay.value = 0
07-09 16:21:12.608 19613 20963 D CCodecConfig:   string input.media-type.value = "audio/vorbis"
07-09 16:21:12.608 19613 20963 D CCodecConfig:   string output.media-type.value = "audio/raw"
07-09 16:21:12.608 19613 20963 D CCodecConfig:   c2::u32 raw.channel-count.value = 1
07-09 16:21:12.608 19613 20963 D CCodecConfig:   c2::u32 raw.sample-rate.value = 48000
07-09 16:21:12.608 19613 20963 D CCodecConfig: }
07-09 16:21:12.609 19613 20962 I MediaCodec: configure()
07-09 16:21:12.609 19613 20963 D CCodecConfig: no c2 equivalents for durationUs
07-09 16:21:12.609 19613 20963 D CCodecConfig: no c2 equivalents for csd-1
07-09 16:21:12.609 19613 20963 D CCodecConfig: no c2 equivalents for track-id
07-09 16:21:12.609 19613 20963 D CCodecConfig: no c2 equivalents for channel-mask
07-09 16:21:12.610 19613 20963 D CCodecConfig: c2 config is Dict {
07-09 16:21:12.610 19613 20963 D CCodecConfig:   c2::u32 coded.bitrate.value = 64000
07-09 16:21:12.610 19613 20963 D CCodecConfig:   c2::u32 input.buffers.max-size.value = 32768
07-09 16:21:12.610 19613 20963 D CCodecConfig:   c2::u32 input.delay.value = 0
07-09 16:21:12.610 19613 20963 D CCodecConfig:   string input.media-type.value = "audio/vorbis"
07-09 16:21:12.610 19613 20963 D CCodecConfig:   string output.media-type.value = "audio/raw"
07-09 16:21:12.610 19613 20963 D CCodecConfig:   c2::u32 raw.channel-count.value = 1
07-09 16:21:12.610 19613 20963 D CCodecConfig:   c2::u32 raw.sample-rate.value = 44100
07-09 16:21:12.610 19613 20963 D CCodecConfig: }
07-09 16:21:12.611 19613 20963 W Codec2Client: query -- param skipped: index = 1107298332.
07-09 16:21:12.611 19613 20963 D CCodec  : setup formats input: AMessage(what = 0x00000000) = {
07-09 16:21:12.611 19613 20963 D CCodec  :   int32_t channel-count = 1
07-09 16:21:12.611 19613 20963 D CCodec  :   int32_t max-input-size = 32768
07-09 16:21:12.611 19613 20963 D CCodec  :   string mime = "audio/vorbis"
07-09 16:21:12.611 19613 20963 D CCodec  :   int32_t sample-rate = 44100
07-09 16:21:12.611 19613 20963 D CCodec  : } and output: AMessage(what = 0x00000000) = {
07-09 16:21:12.611 19613 20963 D CCodec  :   int32_t channel-count = 1
07-09 16:21:12.611 19613 20963 D CCodec  :   string mime = "audio/raw"
07-09 16:21:12.611 19613 20963 D CCodec  :   int32_t sample-rate = 44100
07-09 16:21:12.611 19613 20963 D CCodec  :   int32_t channel-mask = 1
07-09 16:21:12.611 19613 20963 D CCodec  : }
07-09 16:21:12.612 19613 20962 I MediaCodec: Audio start()
07-09 16:21:12.613 19613 20963 W Codec2Client: query -- param skipped: index = 1342179345.
07-09 16:21:12.613 19613 20963 W Codec2Client: query -- param skipped: index = 2415921170.
07-09 16:21:12.616 19613 20963 D CCodecBufferChannel: [c2.android.vorbis.decoder#870] Created input block pool with allocatorID 16 => poolID 25 - OK (0)
07-09 16:21:12.618 19613 20280 D BufferPoolAccessor: bufferpool2 0x79d7425e20 : 0(0 size) total buffers - 0(0 size) used buffers - 2/9 (recycle/alloc) - 7/24 (fetch/transfer)
07-09 16:21:12.618 19613 20280 D BufferPoolAccessor: Destruction - bufferpool2 0x79d7425e20 cached: 0/0M, 0/0% in use; allocs: 9, 22% recycled; transfers: 24, 71% unfetced
07-09 16:21:12.618 19613 20963 I CCodecBufferChannel: [c2.android.vorbis.decoder#870] Created output block pool with allocatorID 16 => poolID 76 - OK
07-09 16:21:12.618 19613 20963 D CCodecBufferChannel: [c2.android.vorbis.decoder#870] Configured output block pool ids 76 => OK
07-09 16:21:12.640 19613 20962 I MediaCodec: stop()
07-09 16:21:12.641 19613 19613 I Choreographer: Skipped 2 frames!  The application may be doing too much work on its main thread.
07-09 16:21:12.643 19613 20962 I MediaCodec: Audio release()
07-09 16:21:12.644 19613 20962 I MediaCodec: ~MediaCodec()
07-09 16:21:12.718 19613 20271 D Surface : Surface::connect(this=0x796ca9b000,api=1)
07-09 16:21:12.720 19613 20271 D Surface : Surface::setBufferCount(this=0x796ca9b000,bufferCount=3)
07-09 16:21:12.720 19613 20271 D Surface : Surface::allocateBuffers(this=0x796ca9b000)
07-09 16:21:12.791 19613 19613 D ColorViewRootUtil: initSwipState, isDisplayCompatApp false
07-09 16:21:12.793 19613 19613 D ColorViewRootUtil: mScreenHeight 1600, mScreenWidth 720
07-09 16:21:12.795 19613 19613 D WindowManager: Add to mViews: com.color.internal.widget.ColorToastLayout{5ee9d15 V.E...... ......I. 0,0-0,0 #c0204f9 oppo:id/color_toast_layout}, this = android.view.WindowManagerGlobal@4da9f5a,pkg= com.termux
07-09 16:21:12.800 19613 19613 D ViewRootImpl[Toast]: hardware acceleration = true , fakeHwAccelerated = false, sRendererDisabled = false, forceHwAccelerated = false, sSystemRendererDisabled = false
07-09 16:21:12.807 19613 19613 I InputTransport: Create ARC handle: 0x79652a0720
07-09 16:21:12.831 19613 19613 I Choreographer: Skipped 3 frames!  The application may be doing too much work on its main thread.
07-09 16:21:12.860 19613 20271 D Surface : Surface::connect(this=0x7965734000,api=1)
07-09 16:21:12.861 19613 20271 D Surface : Surface::setBufferCount(this=0x7965734000,bufferCount=3)
07-09 16:21:12.861 19613 20271 D Surface : Surface::allocateBuffers(this=0x7965734000)
07-09 16:21:12.871 19613 19613 D ColorViewRootUtil: initSwipState, isDisplayCompatApp false
07-09 16:21:12.873 19613 19613 D ColorViewRootUtil: mScreenHeight 1600, mScreenWidth 720
07-09 16:21:12.891 19613 19613 D ColorViewRootUtil: initSwipState, isDisplayCompatApp false
07-09 16:21:12.892 19613 19613 D ColorViewRootUtil: mScreenHeight 1600, mScreenWidth 720
07-09 16:21:12.949 19613 19613 D ColorViewRootUtil: initSwipState, isDisplayCompatApp false
07-09 16:21:12.950 19613 19613 D ColorViewRootUtil: mScreenHeight 1600, mScreenWidth 720
07-09 16:21:14.426 19613 19613 D ColorViewRootUtil: nav bar mode ignore false downX 117 downY 840 mScreenHeight 1600 mScreenWidth 720 mStatusBarHeight 36 globalScale 1.7560976 nav mode 0 rotation 0 event MotionEvent { action=ACTION_DOWN, actionButton=0, id[0]=0, x[0]=117.0, y[0]=840.0, toolType[0]=TOOL_TYPE_FINGER, buttonState=0, classification=NONE, metaState=0, flags=0x2, edgeFlags=0x0, pointerCount=1, historySize=0, eventTime=3667853, downTime=3667853, deviceId=2, source=0x1002, displayId=0 }
07-09 16:21:14.642 19613 20271 D Surface : Surface::disconnect(this=0x7965734000,api=1)
07-09 16:21:14.643 19613 19613 D View    : [Warning] assignParent to null: this = com.color.internal.widget.ColorToastLayout{5ee9d15 V.E...... ......ID 0,0-56,44 #c0204f9 oppo:id/color_toast_layout}
07-09 16:21:14.644 19613 19613 I InputTransport: Destroy ARC handle: 0x79652a0720
07-09 16:21:14.831 19613 19613 D ColorViewRootUtil: initSwipState, isDisplayCompatApp false
07-09 16:21:14.832 19613 19613 D ColorViewRootUtil: mScreenHeight 1600, mScreenWidth 720
07-09 16:21:14.833 19613 19613 D WindowManager: Add to mViews: android.widget.PopupWindow$PopupDecorView{b971b51 V.E...... R.....I. 0,0-0,0}, this = android.view.WindowManagerGlobal@4da9f5a,pkg= com.termux
07-09 16:21:14.837 19613 19613 D ViewRootImpl[PopupWindow:f325eea]: hardware acceleration = true , fakeHwAccelerated = false, sRendererDisabled = false, forceHwAccelerated = false, sSystemRendererDisabled = false
07-09 16:21:14.844 19613 19613 I InputTransport: Create ARC handle: 0x79652a07e0
07-09 16:21:14.848 19613 19613 D ColorViewRootUtil: initSwipState, isDisplayCompatApp false
07-09 16:21:14.850 19613 19613 D ColorViewRootUtil: mScreenHeight 1600, mScreenWidth 720
07-09 16:21:14.852 19613 19613 D WindowManager: Add to mViews: android.widget.PopupWindow$PopupDecorView{3e11b8d V.E...... R.....I. 0,0-0,0}, this = android.view.WindowManagerGlobal@4da9f5a,pkg= com.termux
07-09 16:21:14.855 19613 19613 D ViewRootImpl[PopupWindow:b4f7fb6]: hardware acceleration = true , fakeHwAccelerated = false, sRendererDisabled = false, forceHwAccelerated = false, sSystemRendererDisabled = false
07-09 16:21:14.861 19613 19613 I InputTransport: Create ARC handle: 0x79652a0ae0
07-09 16:21:14.874 19613 19613 D TestOverScroll: getScaledOverscrollDistance: b
07-09 16:21:14.886 19613 19613 I Choreographer: Skipped 2 frames!  The application may be doing too much work on its main thread.
07-09 16:21:14.904 19613 20271 D Surface : Surface::connect(this=0x7965762000,api=1)
07-09 16:21:14.906 19613 20271 D Surface : Surface::setBufferCount(this=0x7965762000,bufferCount=3)
07-09 16:21:14.906 19613 20271 D Surface : Surface::allocateBuffers(this=0x7965762000)
07-09 16:21:14.952 19613 20271 D Surface : Surface::connect(this=0x796539f000,api=1)
07-09 16:21:14.954 19613 20271 D Surface : Surface::setBufferCount(this=0x796539f000,bufferCount=3)
07-09 16:21:14.955 19613 20271 D Surface : Surface::allocateBuffers(this=0x796539f000)
07-09 16:21:14.992 19613 19613 D ColorViewRootUtil: initSwipState, isDisplayCompatApp false
07-09 16:21:14.994 19613 19613 D ColorViewRootUtil: mScreenHeight 1600, mScreenWidth 720
07-09 16:21:14.996 19613 19613 D ColorViewRootUtil: initSwipState, isDisplayCompatApp false
07-09 16:21:14.997 19613 19613 D ColorViewRootUtil: mScreenHeight 1600, mScreenWidth 720
07-09 16:21:15.000 19613 19613 E ViewDragHelper: Ignoring pointerId=0 because ACTION_DOWN was not received for this pointer before ACTION_MOVE. It likely happened because  ViewDragHelper did not receive all the events in the event stream.
07-09 16:21:15.000 19613 19613 I chatty  : uid=10188(com.termux) identical 2 lines
07-09 16:21:15.000 19613 19613 E ViewDragHelper: Ignoring pointerId=0 because ACTION_DOWN was not received for this pointer before ACTION_MOVE. It likely happened because  ViewDragHelper did not receive all the events in the event stream.
07-09 16:21:15.031 19613 19613 I Choreographer: Skipped 1 frames!  The application may be doing too much work on its main thread.
07-09 16:21:15.394 19613 19613 D ColorViewRootUtil: initSwipState, isDisplayCompatApp false
07-09 16:21:15.397 19613 19613 D ColorViewRootUtil: mScreenHeight 1600, mScreenWidth 720
07-09 16:21:15.399 19613 19613 D WindowManager: Add to mViews: android.widget.PopupWindow$PopupDecorView{9ac89a7 V.E...... R.....I. 0,0-0,0}, this = android.view.WindowManagerGlobal@4da9f5a,pkg= com.termux
07-09 16:21:15.405 19613 19613 D ViewRootImpl[PopupWindow:8643fa8]: hardware acceleration = true , fakeHwAccelerated = false, sRendererDisabled = false, forceHwAccelerated = false, sSystemRendererDisabled = false
07-09 16:21:15.417 19613 19613 I InputTransport: Create ARC handle: 0x79653744c0
07-09 16:21:15.448 19613 20271 D Surface : Surface::connect(this=0x7965623000,api=1)
07-09 16:21:15.449 19613 20271 D Surface : Surface::setBufferCount(this=0x7965623000,bufferCount=3)
07-09 16:21:15.450 19613 20271 D Surface : Surface::allocateBuffers(this=0x7965623000)
07-09 16:21:15.467 19613 19613 I Choreographer: Skipped 2 frames!  The application may be doing too much work on its main thread.
07-09 16:21:15.471 19613 19613 D ColorViewRootUtil: initSwipState, isDisplayCompatApp false
07-09 16:21:15.473 19613 19613 D ColorViewRootUtil: mScreenHeight 1600, mScreenWidth 720
07-09 16:21:15.911 19613 19613 D ColorViewRootUtil: nav bar mode ignore false downX 145 downY 773 mScreenHeight 1600 mScreenWidth 720 mStatusBarHeight 36 globalScale 1.7560976 nav mode 0 rotation 0 event MotionEvent { action=ACTION_DOWN, actionButton=0, id[0]=0, x[0]=145.0, y[0]=33.0, toolType[0]=TOOL_TYPE_FINGER, buttonState=0, classification=NONE, metaState=0, flags=0x0, edgeFlags=0x0, pointerCount=1, historySize=0, eventTime=3669335, downTime=3669335, deviceId=2, source=0x1002, displayId=0 }
07-09 16:21:16.002 19613 20271 D Surface : Surface::disconnect(this=0x7965762000,api=1)
07-09 16:21:16.004 19613 19613 D View    : [Warning] assignParent to null: this = android.widget.PopupWindow$PopupDecorView{b971b51 V.E...... R....... 0,0-62,31}
07-09 16:21:16.004 19613 19613 I InputTransport: Destroy ARC handle: 0x79652a07e0
07-09 16:21:16.019 19613 20271 D Surface : Surface::disconnect(this=0x796539f000,api=1)
07-09 16:21:16.021 19613 19613 D View    : [Warning] assignParent to null: this = android.widget.PopupWindow$PopupDecorView{3e11b8d V.E...... R....... 0,0-62,31}
07-09 16:21:16.022 19613 19613 I InputTransport: Destroy ARC handle: 0x79652a0ae0
07-09 16:21:16.044 19613 19613 I Choreographer: Skipped 2 frames!  The application may be doing too much work on its main thread.
07-09 16:21:16.079 19613 19613 I Choreographer: Skipped 1 frames!  The application may be doing too much work on its main thread.
07-09 16:21:16.182 19613 20271 D Surface : Surface::disconnect(this=0x7965623000,api=1)
07-09 16:21:16.185 19613 20271 D OpenGLRenderer: endAllActiveAnimators on 0x79657b6300 (RippleDrawable) with handle 0x796a05a0e0
07-09 16:21:16.185 19613 19613 D View    : [Warning] assignParent to null: this = android.widget.PopupWindow$PopupDecorView{9ac89a7 V.E...... R......D 0,0-297,69}
07-09 16:21:16.186 19613 19613 I InputTransport: Destroy ARC handle: 0x79653744c0
07-09 16:21:16.343 19613 19613 V ViewRootImpl[TermuxActivity]: [ANR Warning]Input routeing takes more than 6000ms since 2021-07-09 16:20:20.176, this = com.mediatek.view.impl.ViewDebugManagerImpl@87dcca4
07-09 16:21:16.344 19613 19613 V ViewRootImpl[TermuxActivity]: Input event delivered to android.view.ViewRootImpl$EarlyPostImeInputStage@43df2de at 2021-07-09 16:21:16.336
07-09 16:21:16.345 19613 19613 V ViewRootImpl[TermuxActivity]: Input event delivered to android.view.ViewRootImpl$SyntheticInputStage@b91e6d5 at 2021-07-09 16:21:16.338
07-09 16:21:16.346 19613 19613 V ViewRootImpl[TermuxActivity]: Input event delivered to android.view.ViewRootImpl$ViewPostImeInputStage@1da3f8c at 2021-07-09 16:21:16.337
07-09 16:21:16.347 19613 19613 V ViewRootImpl[TermuxActivity]: Input event delivered to android.view.ViewRootImpl$NativePostImeInputStage@4143cbf at 2021-07-09 16:21:16.337
07-09 16:21:16.352 19613 19613 V ViewRootImpl[TermuxActivity]: [ANR Warning]Input routeing takes more than 6000ms since 2021-07-09 16:20:20.176, this = com.mediatek.view.impl.ViewDebugManagerImpl@87dcca4
07-09 16:21:16.353 19613 19613 V ViewRootImpl[TermuxActivity]: Input event delivered to android.view.ViewRootImpl$EarlyPostImeInputStage@43df2de at 2021-07-09 16:21:16.347
07-09 16:21:16.353 19613 19613 V ViewRootImpl[TermuxActivity]: Input event delivered to android.view.ViewRootImpl$SyntheticInputStage@b91e6d5 at 2021-07-09 16:21:16.348
07-09 16:21:16.354 19613 19613 V ViewRootImpl[TermuxActivity]: Input event delivered to android.view.ViewRootImpl$ViewPostImeInputStage@1da3f8c at 2021-07-09 16:21:16.348
07-09 16:21:16.355 19613 19613 V ViewRootImpl[TermuxActivity]: Input event delivered to android.view.ViewRootImpl$NativePostImeInputStage@4143cbf at 2021-07-09 16:21:16.348
07-09 16:21:17.565 19613 19613 D ColorViewRootUtil: nav bar mode ignore false downX 11 downY 902 mScreenHeight 1600 mScreenWidth 720 mStatusBarHeight 36 globalScale 1.7560976 nav mode 0 rotation 0 event MotionEvent { action=ACTION_DOWN, actionButton=0, id[0]=0, x[0]=11.0, y[0]=902.0, toolType[0]=TOOL_TYPE_FINGER, buttonState=0, classification=NONE, metaState=0, flags=0x0, edgeFlags=0x0, pointerCount=1, historySize=0, eventTime=3670989, downTime=3670989, deviceId=2, source=0x1002, displayId=0 }
07-09 16:21:18.458 19613 19613 D ColorViewRootUtil: nav bar mode ignore false downX 73 downY 245 mScreenHeight 1600 mScreenWidth 720 mStatusBarHeight 36 globalScale 1.7560976 nav mode 0 rotation 0 event MotionEvent { action=ACTION_DOWN, actionButton=0, id[0]=0, x[0]=73.0, y[0]=245.0, toolType[0]=TOOL_TYPE_FINGER, buttonState=0, classification=NONE, metaState=0, flags=0x0, edgeFlags=0x0, pointerCount=1, historySize=0, eventTime=3671885, downTime=3671885, deviceId=2, source=0x1002, displayId=0 }
07-09 16:21:19.033 19613 19613 D TestOverScroll: getScaledOverscrollDistance: b
07-09 16:21:19.043 19613 19613 D TestOverScroll: getScaledOverscrollDistance: b
07-09 16:21:19.062 19613 19613 D ColorViewRootUtil: initSwipState, isDisplayCompatApp false
07-09 16:21:19.064 19613 19613 D ColorViewRootUtil: mScreenHeight 1600, mScreenWidth 720
07-09 16:21:19.067 19613 19613 D WindowManager: Add to mViews: DecorView@1df29fa[TermuxActivity], this = android.view.WindowManagerGlobal@4da9f5a,pkg= com.termux
07-09 16:21:19.073 19613 19613 D ViewRootImpl[TermuxActivity]: hardware acceleration = true , fakeHwAccelerated = false, sRendererDisabled = false, forceHwAccelerated = false, sSystemRendererDisabled = false
07-09 16:21:19.091 19613 19613 I InputTransport: Create ARC handle: 0x7965374320
07-09 16:21:19.098 19613 19613 I Choreographer: Skipped 1 frames!  The application may be doing too much work on its main thread.
07-09 16:21:19.163 19613 20271 D Surface : Surface::connect(this=0x79657c4000,api=1)
07-09 16:21:19.166 19613 20271 D Surface : Surface::setBufferCount(this=0x79657c4000,bufferCount=3)
07-09 16:21:19.166 19613 20271 D Surface : Surface::allocateBuffers(this=0x79657c4000)
07-09 16:21:19.263 19613 19613 I Choreographer: Skipped 9 frames!  The application may be doing too much work on its main thread.
07-09 16:21:19.281 19613 19613 D ColorViewRootUtil: initSwipState, isDisplayCompatApp false
07-09 16:21:19.284 19613 19613 D ColorViewRootUtil: mScreenHeight 1600, mScreenWidth 720
07-09 16:21:19.317 19613 19613 D ColorViewRootUtil: initSwipState, isDisplayCompatApp false
07-09 16:21:19.320 19613 19613 D ColorViewRootUtil: mScreenHeight 1600, mScreenWidth 720
07-09 16:21:20.515 19613 19613 D ColorViewRootUtil: nav bar mode ignore false downX 507 downY 911 mScreenHeight 1600 mScreenWidth 720 mStatusBarHeight 36 globalScale 1.7560976 nav mode 0 rotation 0 event MotionEvent { action=ACTION_DOWN, actionButton=0, id[0]=0, x[0]=435.0, y[0]=223.0, toolType[0]=TOOL_TYPE_FINGER, buttonState=0, classification=NONE, metaState=0, flags=0x0, edgeFlags=0x0, pointerCount=1, historySize=0, eventTime=3673938, downTime=3673938, deviceId=2, source=0x1002, displayId=0 }
07-09 16:21:20.641 19613 20271 D Surface : Surface::disconnect(this=0x79657c4000,api=1)
07-09 16:21:20.642 19613 20271 D OpenGLRenderer: endAllActiveAnimators on 0x79656bac00 (RippleDrawable) with handle 0x796a05e760
07-09 16:21:20.643 19613 19613 D View    : [Warning] assignParent to null: this = DecorView@1df29fa[TermuxActivity]
07-09 16:21:20.644 19613 19613 I InputTransport: Destroy ARC handle: 0x7965374320
07-09 16:21:20.662 19613 19613 I Choreographer: Skipped 1 frames!  The application may be doing too much work on its main thread.
07-09 16:21:21.062 19613 19613 D ColorViewRootUtil: nav bar mode ignore false downX 39 downY 178 mScreenHeight 1600 mScreenWidth 720 mStatusBarHeight 36 globalScale 1.7560976 nav mode 0 rotation 0 event MotionEvent { action=ACTION_DOWN, actionButton=0, id[0]=0, x[0]=39.0, y[0]=178.0, toolType[0]=TOOL_TYPE_FINGER, buttonState=0, classification=NONE, metaState=0, flags=0x0, edgeFlags=0x0, pointerCount=1, historySize=0, eventTime=3674486, downTime=3674486, deviceId=2, source=0x1002, displayId=0 }
07-09 16:21:21.665 19613 19613 D TestOverScroll: getScaledOverscrollDistance: b
07-09 16:21:21.683 19613 19613 D TestOverScroll: getScaledOverscrollDistance: b
07-09 16:21:21.713 19613 19613 D ColorViewRootUtil: initSwipState, isDisplayCompatApp false
07-09 16:21:21.717 19613 19613 D ColorViewRootUtil: mScreenHeight 1600, mScreenWidth 720
07-09 16:21:21.720 19613 19613 D WindowManager: Add to mViews: DecorView@88028c3[TermuxActivity], this = android.view.WindowManagerGlobal@4da9f5a,pkg= com.termux
07-09 16:21:21.728 19613 19613 D ViewRootImpl[TermuxActivity]: hardware acceleration = true , fakeHwAccelerated = false, sRendererDisabled = false, forceHwAccelerated = false, sSystemRendererDisabled = false
07-09 16:21:21.745 19613 19613 I InputTransport: Create ARC handle: 0x7965374d00
07-09 16:21:21.824 19613 20271 D Surface : Surface::connect(this=0x79653fe000,api=1)
07-09 16:21:21.826 19613 20271 D Surface : Surface::setBufferCount(this=0x79653fe000,bufferCount=3)
07-09 16:21:21.827 19613 20271 D Surface : Surface::allocateBuffers(this=0x79653fe000)
07-09 16:21:21.906 19613 19613 I Choreographer: Skipped 8 frames!  The application may be doing too much work on its main thread.
07-09 16:21:21.920 19613 19613 D ColorViewRootUtil: initSwipState, isDisplayCompatApp false
07-09 16:21:21.923 19613 19613 D ColorViewRootUtil: mScreenHeight 1600, mScreenWidth 720
07-09 16:21:22.614 19613 19613 D ColorViewRootUtil: nav bar mode ignore false downX 113 downY 345 mScreenHeight 1600 mScreenWidth 720 mStatusBarHeight 36 globalScale 1.7560976 nav mode 0 rotation 0 event MotionEvent { action=ACTION_DOWN, actionButton=0, id[0]=0, x[0]=41.0, y[0]=-343.0, toolType[0]=TOOL_TYPE_FINGER, buttonState=0, classification=NONE, metaState=0, flags=0x0, edgeFlags=0x0, pointerCount=1, historySize=0, eventTime=3676038, downTime=3676038, deviceId=2, source=0x1002, displayId=0 }
07-09 16:21:23.127 19613 19613 D ColorViewRootUtil: nav bar mode ignore false downX 93 downY 458 mScreenHeight 1600 mScreenWidth 720 mStatusBarHeight 36 globalScale 1.7560976 nav mode 0 rotation 0 event MotionEvent { action=ACTION_DOWN, actionButton=0, id[0]=0, x[0]=21.0, y[0]=-230.0, toolType[0]=TOOL_TYPE_FINGER, buttonState=0, classification=NONE, metaState=0, flags=0x0, edgeFlags=0x0, pointerCount=1, historySize=0, eventTime=3676552, downTime=3676552, deviceId=2, source=0x1002, displayId=0 }
07-09 16:21:23.566 19613 19613 D ColorViewRootUtil: nav bar mode ignore false downX 477 downY 935 mScreenHeight 1600 mScreenWidth 720 mStatusBarHeight 36 globalScale 1.7560976 nav mode 0 rotation 0 event MotionEvent { action=ACTION_DOWN, actionButton=0, id[0]=0, x[0]=405.0, y[0]=247.0, toolType[0]=TOOL_TYPE_FINGER, buttonState=0, classification=NONE, metaState=0, flags=0x0, edgeFlags=0x0, pointerCount=1, historySize=0, eventTime=3676988, downTime=3676988, deviceId=2, source=0x1002, displayId=0 }
07-09 16:21:23.660 19613 20271 D Surface : Surface::disconnect(this=0x79653fe000,api=1)
07-09 16:21:23.662 19613 20271 D OpenGLRenderer: endAllActiveAnimators on 0x7965815c00 (RippleDrawable) with handle 0x796a05ab80
07-09 16:21:23.662 19613 19613 D View    : [Warning] assignParent to null: this = DecorView@88028c3[TermuxActivity]
07-09 16:21:23.663 19613 19613 I InputTransport: Destroy ARC handle: 0x7965374d00
07-09 16:21:23.680 19613 19613 I Choreographer: Skipped 1 frames!  The application may be doing too much work on its main thread.
07-09 16:21:24.331 19613 19613 D ColorViewRootUtil: nav bar mode ignore false downX 98 downY 1414 mScreenHeight 1600 mScreenWidth 720 mStatusBarHeight 36 globalScale 1.7560976 nav mode 0 rotation 0 event MotionEvent { action=ACTION_DOWN, actionButton=0, id[0]=0, x[0]=98.0, y[0]=1414.0, toolType[0]=TOOL_TYPE_FINGER, buttonState=0, classification=NONE, metaState=0, flags=0x0, edgeFlags=0x0, pointerCount=1, historySize=0, eventTime=3677755, downTime=3677755, deviceId=2, source=0x1002, displayId=0 }
07-09 16:21:24.614 19613 19613 D ColorViewRootUtil: initSwipState, isDisplayCompatApp false
07-09 16:21:24.616 19613 19613 D ColorViewRootUtil: mScreenHeight 1600, mScreenWidth 720
07-09 16:21:24.690 19613 19613 I Choreographer: Skipped 2 frames!  The application may be doing too much work on its main thread.
07-09 16:21:25.398 19613 19613 D ColorViewRootUtil: nav bar mode ignore false downX 3 downY 917 mScreenHeight 1600 mScreenWidth 720 mStatusBarHeight 36 globalScale 1.7560976 nav mode 0 rotation 0 event MotionEvent { action=ACTION_DOWN, actionButton=0, id[0]=0, x[0]=3.0, y[0]=917.0, toolType[0]=TOOL_TYPE_FINGER, buttonState=0, classification=NONE, metaState=0, flags=0x0, edgeFlags=0x0, pointerCount=1, historySize=0, eventTime=3678821, downTime=3678821, deviceId=2, source=0x1002, displayId=0 }
07-09 16:21:26.142 19613 19613 D ColorViewRootUtil: nav bar mode ignore false downX 215 downY 1022 mScreenHeight 1600 mScreenWidth 720 mStatusBarHeight 36 globalScale 1.7560976 nav mode 0 rotation 0 event MotionEvent { action=ACTION_DOWN, actionButton=0, id[0]=0, x[0]=215.0, y[0]=1022.0, toolType[0]=TOOL_TYPE_FINGER, buttonState=0, classification=NONE, metaState=0, flags=0x0, edgeFlags=0x0, pointerCount=1, historySize=0, eventTime=3679569, downTime=3679569, deviceId=2, source=0x1002, displayId=0 }
07-09 16:21:26.354 19613 19613 I Choreographer: Skipped 4 frames!  The application may be doing too much work on its main thread.
07-09 16:21:26.396 19613 19613 W Termux:SharedProperties: Not loading properties since file is null
07-09 16:21:26.469 19613 19613 W Termux:SharedProperties: Not loading properties since file is null
07-09 16:21:26.481 19613 19613 D ColorViewRootUtil: initSwipState, isDisplayCompatApp false
07-09 16:21:26.485 19613 19613 D ColorViewRootUtil: mScreenHeight 1600, mScreenWidth 720
07-09 16:21:26.487 19613 19613 D WindowManager: Add to mViews: com.color.internal.widget.ColorToastLayout{c606060 V.E...... ......I. 0,0-0,0 #c0204f9 oppo:id/color_toast_layout}, this = android.view.WindowManagerGlobal@4da9f5a,pkg= com.termux
07-09 16:21:26.494 19613 19613 D ViewRootImpl[Toast]: hardware acceleration = true , fakeHwAccelerated = false, sRendererDisabled = false, forceHwAccelerated = false, sSystemRendererDisabled = false
07-09 16:21:26.504 19613 19613 I InputTransport: Create ARC handle: 0x7965549480
07-09 16:21:26.505 19613 19613 I Choreographer: Skipped 8 frames!  The application may be doing too much work on its main thread.
07-09 16:21:26.576 19613 20271 D Surface : Surface::connect(this=0x79653fb000,api=1)
07-09 16:21:26.578 19613 20271 D Surface : Surface::setBufferCount(this=0x79653fb000,bufferCount=3)
07-09 16:21:26.579 19613 20271 D Surface : Surface::allocateBuffers(this=0x79653fb000)
07-09 16:21:26.598 19613 19613 I Choreographer: Skipped 3 frames!  The application may be doing too much work on its main thread.
07-09 16:21:26.615 19613 19613 D ColorViewRootUtil: initSwipState, isDisplayCompatApp false
07-09 16:21:26.618 19613 19613 D ColorViewRootUtil: mScreenHeight 1600, mScreenWidth 720
07-09 16:21:27.346 19613 19613 D ColorViewRootUtil: nav bar mode ignore false downX 0 downY 943 mScreenHeight 1600 mScreenWidth 720 mStatusBarHeight 36 globalScale 1.7560976 nav mode 0 rotation 0 event MotionEvent { action=ACTION_DOWN, actionButton=0, id[0]=0, x[0]=0.0, y[0]=943.0, toolType[0]=TOOL_TYPE_FINGER, buttonState=0, classification=NONE, metaState=0, flags=0x2, edgeFlags=0x0, pointerCount=1, historySize=0, eventTime=3680771, downTime=3680771, deviceId=2, source=0x1002, displayId=0 }
07-09 16:21:28.027 19613 19613 D ColorViewRootUtil: nav bar mode ignore false downX 187 downY 1018 mScreenHeight 1600 mScreenWidth 720 mStatusBarHeight 36 globalScale 1.7560976 nav mode 0 rotation 0 event MotionEvent { action=ACTION_DOWN, actionButton=0, id[0]=0, x[0]=187.0, y[0]=1018.0, toolType[0]=TOOL_TYPE_FINGER, buttonState=0, classification=NONE, metaState=0, flags=0x2, edgeFlags=0x0, pointerCount=1, historySize=0, eventTime=3681454, downTime=3681454, deviceId=2, source=0x1002, displayId=0 }
07-09 16:21:28.354 19613 20271 D Surface : Surface::disconnect(this=0x79653fb000,api=1)
07-09 16:21:28.356 19613 19613 D View    : [Warning] assignParent to null: this = com.color.internal.widget.ColorToastLayout{c606060 V.E...... ......ID 0,0-56,44 #c0204f9 oppo:id/color_toast_layout}
07-09 16:21:28.357 19613 19613 I InputTransport: Destroy ARC handle: 0x7965549480
07-09 16:21:28.380 19613 19613 I Choreographer: Skipped 1 frames!  The application may be doing too much work on its main thread.
07-09 16:21:28.471 19613 19613 D TestOverScroll: getScaledOverscrollDistance: b
07-09 16:21:28.479 19613 19613 D TestOverScroll: getScaledOverscrollDistance: b
07-09 16:21:28.492 19613 19613 D ColorViewRootUtil: initSwipState, isDisplayCompatApp false
07-09 16:21:28.496 19613 19613 D ColorViewRootUtil: mScreenHeight 1600, mScreenWidth 720
07-09 16:21:28.498 19613 19613 D WindowManager: Add to mViews: DecorView@30a23a2[TermuxActivity], this = android.view.WindowManagerGlobal@4da9f5a,pkg= com.termux
07-09 16:21:28.505 19613 19613 D ViewRootImpl[TermuxActivity]: hardware acceleration = true , fakeHwAccelerated = false, sRendererDisabled = false, forceHwAccelerated = false, sSystemRendererDisabled = false
07-09 16:21:28.515 19613 19613 I InputTransport: Create ARC handle: 0x79655d8340
07-09 16:21:28.563 19613 20271 D Surface : Surface::connect(this=0x79656eb000,api=1)
07-09 16:21:28.566 19613 20271 D Surface : Surface::setBufferCount(this=0x79656eb000,bufferCount=3)
07-09 16:21:28.567 19613 20271 D Surface : Surface::allocateBuffers(this=0x79656eb000)
07-09 16:21:28.616 19613 19613 I Choreographer: Skipped 1 frames!  The application may be doing too much work on its main thread.
07-09 16:21:28.635 19613 19613 D ColorViewRootUtil: initSwipState, isDisplayCompatApp false
07-09 16:21:28.638 19613 19613 D ColorViewRootUtil: mScreenHeight 1600, mScreenWidth 720
07-09 16:21:29.450 19613 19613 D ColorViewRootUtil: nav bar mode ignore false downX 140 downY 919 mScreenHeight 1600 mScreenWidth 720 mStatusBarHeight 36 globalScale 1.7560976 nav mode 0 rotation 0 event MotionEvent { action=ACTION_DOWN, actionButton=0, id[0]=0, x[0]=68.0, y[0]=231.0, toolType[0]=TOOL_TYPE_FINGER, buttonState=0, classification=NONE, metaState=0, flags=0x0, edgeFlags=0x0, pointerCount=1, historySize=0, eventTime=3682873, downTime=3682873, deviceId=2, source=0x1002, displayId=0 }
07-09 16:21:29.786 19613 20271 D Surface : Surface::disconnect(this=0x79656eb000,api=1)
07-09 16:21:29.789 19613 19613 D View    : [Warning] assignParent to null: this = DecorView@30a23a2[TermuxActivity]
07-09 16:21:29.790 19613 19613 I InputTransport: Destroy ARC handle: 0x79655d8340
07-09 16:21:29.809 19613 19613 I Choreographer: Skipped 7 frames!  The application may be doing too much work on its main thread.
07-09 16:21:29.866 19613 19613 W Termux:SharedProperties: Not loading properties since file is null
07-09 16:21:29.925 19613 19613 W Termux:SharedProperties: Not loading properties since file is null
07-09 16:21:29.931 19613 19613 D ColorViewRootUtil: initSwipState, isDisplayCompatApp false
07-09 16:21:29.932 19613 19613 D ColorViewRootUtil: mScreenHeight 1600, mScreenWidth 720
07-09 16:21:29.934 19613 19613 D WindowManager: Add to mViews: com.color.internal.widget.ColorToastLayout{2d02f77 V.E...... ......I. 0,0-0,0 #c0204f9 oppo:id/color_toast_layout}, this = android.view.WindowManagerGlobal@4da9f5a,pkg= com.termux
07-09 16:21:29.938 19613 19613 D ViewRootImpl[Toast]: hardware acceleration = true , fakeHwAccelerated = false, sRendererDisabled = false, forceHwAccelerated = false, sSystemRendererDisabled = false
07-09 16:21:29.945 19613 19613 I InputTransport: Create ARC handle: 0x79655d8840
07-09 16:21:29.957 19613 19613 I Choreographer: Skipped 6 frames!  The application may be doing too much work on its main thread.
07-09 16:21:30.017 19613 20271 D Surface : Surface::connect(this=0x796590b000,api=1)
07-09 16:21:30.019 19613 20271 D Surface : Surface::setBufferCount(this=0x796590b000,bufferCount=3)
07-09 16:21:30.019 19613 20271 D Surface : Surface::allocateBuffers(this=0x796590b000)
07-09 16:21:30.032 19613 19613 I Choreographer: Skipped 2 frames!  The application may be doing too much work on its main thread.
07-09 16:21:30.048 19613 19613 D ColorViewRootUtil: initSwipState, isDisplayCompatApp false
07-09 16:21:30.050 19613 19613 D ColorViewRootUtil: mScreenHeight 1600, mScreenWidth 720
07-09 16:21:31.778 19613 20271 D Surface : Surface::disconnect(this=0x796590b000,api=1)
07-09 16:21:31.779 19613 19613 D View    : [Warning] assignParent to null: this = com.color.internal.widget.ColorToastLayout{2d02f77 V.E...... ......ID 0,0-56,44 #c0204f9 oppo:id/color_toast_layout}
07-09 16:21:31.779 19613 19613 I InputTransport: Destroy ARC handle: 0x79655d8840
07-09 16:21:31.838 19613 19613 I Choreographer: Skipped 3 frames!  The application may be doing too much work on its main thread.
07-09 16:21:32.047 19613 20271 D Surface : Surface::disconnect(this=0x796ca9b000,api=1)
07-09 16:21:32.063 19613 19613 D SoundPool: native_release called
07-09 16:21:32.064 19613 19613 D SoundPool: native_release end
07-09 16:21:32.069 19613 19613 V PhoneWindow: DecorView setVisiblity: visibility = 4, Parent = android.view.ViewRootImpl@b36d757, this = DecorView@fea9498[TermuxActivity]
07-09 16:21:32.447 19613 19613 I Choreographer: Skipped 22 frames!  The application may be doing too much work on its main thread.
07-09 16:21:43.346 19613 21001 I NuMediaExtractor: setDataSource fd=65 (/mnt/expand/20720b14-d2a1-4182-8f56-d93f25aa8778/app/com.termux-WwnHm-uZJ-s7coEAMh7y6w==/base.apk), offset=88596428, length=5090
07-09 16:21:43.349 19613 19613 V PhoneWindow: DecorView setVisiblity: visibility = 0, Parent = android.view.ViewRootImpl@b36d757, this = DecorView@fea9498[TermuxActivity]
07-09 16:21:43.351 19613 19613 I Choreographer: Skipped 1 frames!  The application may be doing too much work on its main thread.
07-09 16:21:43.363 19613 21001 I MediaCodec: CreateByType(), mime = audio/vorbis, encoder = 0
07-09 16:21:43.365 19613 21001 I MediaCodec: ----------------------------------------
07-09 16:21:43.365 19613 21001 I MediaCodec: matched component [c2.android.vorbis.decoder]
07-09 16:21:43.365 19613 21001 I MediaCodec: matched component [OMX.google.vorbis.decoder]
07-09 16:21:43.365 19613 21001 I MediaCodec: ----------------------------------------
07-09 16:21:43.365 19613 21001 I MediaCodec: new MediaCodec()
07-09 16:21:43.368 19613 20271 D Surface : Surface::connect(this=0x796ca9b000,api=1)
07-09 16:21:43.369 19613 21002 D CCodec  : allocate(c2.android.vorbis.decoder)
07-09 16:21:43.372 19613 20271 D Surface : Surface::setBufferCount(this=0x796ca9b000,bufferCount=3)
07-09 16:21:43.373 19613 20271 D Surface : Surface::allocateBuffers(this=0x796ca9b000)
07-09 16:21:43.373 19613 21002 I CCodec  : Created component [c2.android.vorbis.decoder]
07-09 16:21:43.373 19613 21002 D CCodecConfig: read media type: audio/vorbis
07-09 16:21:43.375 19613 21002 D ReflectedParamUpdater: extent() != 1 for single value type: algo.buffers.max-count.values
07-09 16:21:43.376 19613 21002 D ReflectedParamUpdater: extent() != 1 for single value type: output.subscribed-indices.values
07-09 16:21:43.376 19613 21002 D ReflectedParamUpdater: extent() != 1 for single value type: input.buffers.allocator-ids.values
07-09 16:21:43.376 19613 21002 D ReflectedParamUpdater: extent() != 1 for single value type: output.buffers.allocator-ids.values
07-09 16:21:43.376 19613 21002 D ReflectedParamUpdater: extent() != 1 for single value type: algo.buffers.allocator-ids.values
07-09 16:21:43.376 19613 21002 D ReflectedParamUpdater: extent() != 1 for single value type: output.buffers.pool-ids.values
07-09 16:21:43.377 19613 21002 D ReflectedParamUpdater: extent() != 1 for single value type: algo.buffers.pool-ids.values
07-09 16:21:43.378 19613 21002 I CCodecConfig: query failed after returning 7 values (BAD_INDEX)
07-09 16:21:43.378 19613 21002 D CCodecConfig: c2 config is Dict {
07-09 16:21:43.378 19613 21002 D CCodecConfig:   c2::u32 coded.bitrate.value = 64000
07-09 16:21:43.378 19613 21002 D CCodecConfig:   c2::u32 input.buffers.max-size.value = 32768
07-09 16:21:43.378 19613 21002 D CCodecConfig:   c2::u32 input.delay.value = 0
07-09 16:21:43.378 19613 21002 D CCodecConfig:   string input.media-type.value = "audio/vorbis"
07-09 16:21:43.378 19613 21002 D CCodecConfig:   string output.media-type.value = "audio/raw"
07-09 16:21:43.378 19613 21002 D CCodecConfig:   c2::u32 raw.channel-count.value = 1
07-09 16:21:43.378 19613 21002 D CCodecConfig:   c2::u32 raw.sample-rate.value = 48000
07-09 16:21:43.378 19613 21002 D CCodecConfig: }
07-09 16:21:43.379 19613 21001 I MediaCodec: configure()
07-09 16:21:43.379 19613 21002 D CCodecConfig: no c2 equivalents for durationUs
07-09 16:21:43.379 19613 21002 D CCodecConfig: no c2 equivalents for csd-1
07-09 16:21:43.379 19613 21002 D CCodecConfig: no c2 equivalents for track-id
07-09 16:21:43.379 19613 21002 D CCodecConfig: no c2 equivalents for channel-mask
07-09 16:21:43.380 19613 21002 D CCodecConfig: c2 config is Dict {
07-09 16:21:43.380 19613 21002 D CCodecConfig:   c2::u32 coded.bitrate.value = 64000
07-09 16:21:43.380 19613 21002 D CCodecConfig:   c2::u32 input.buffers.max-size.value = 32768
07-09 16:21:43.380 19613 21002 D CCodecConfig:   c2::u32 input.delay.value = 0
07-09 16:21:43.380 19613 21002 D CCodecConfig:   string input.media-type.value = "audio/vorbis"
07-09 16:21:43.380 19613 21002 D CCodecConfig:   string output.media-type.value = "audio/raw"
07-09 16:21:43.380 19613 21002 D CCodecConfig:   c2::u32 raw.channel-count.value = 1
07-09 16:21:43.380 19613 21002 D CCodecConfig:   c2::u32 raw.sample-rate.value = 44100
07-09 16:21:43.380 19613 21002 D CCodecConfig: }
07-09 16:21:43.381 19613 21002 W Codec2Client: query -- param skipped: index = 1107298332.
07-09 16:21:43.382 19613 21002 D CCodec  : setup formats input: AMessage(what = 0x00000000) = {
07-09 16:21:43.382 19613 21002 D CCodec  :   int32_t channel-count = 1
07-09 16:21:43.382 19613 21002 D CCodec  :   int32_t max-input-size = 32768
07-09 16:21:43.382 19613 21002 D CCodec  :   string mime = "audio/vorbis"
07-09 16:21:43.382 19613 21002 D CCodec  :   int32_t sample-rate = 44100
07-09 16:21:43.382 19613 21002 D CCodec  : } and output: AMessage(what = 0x00000000) = {
07-09 16:21:43.382 19613 21002 D CCodec  :   int32_t channel-count = 1
07-09 16:21:43.382 19613 21002 D CCodec  :   string mime = "audio/raw"
07-09 16:21:43.382 19613 21002 D CCodec  :   int32_t sample-rate = 44100
07-09 16:21:43.382 19613 21002 D CCodec  :   int32_t channel-mask = 1
07-09 16:21:43.382 19613 21002 D CCodec  : }
07-09 16:21:43.382 19613 21001 I MediaCodec: Audio start()
07-09 16:21:43.383 19613 21002 W Codec2Client: query -- param skipped: index = 1342179345.
07-09 16:21:43.383 19613 21002 W Codec2Client: query -- param skipped: index = 2415921170.
07-09 16:21:43.385 19613 21002 D CCodecBufferChannel: [c2.android.vorbis.decoder#833] Created input block pool with allocatorID 16 => poolID 26 - OK (0)
07-09 16:21:43.387 19613 20280 D BufferPoolAccessor: bufferpool2 0x79d7445820 : 0(0 size) total buffers - 0(0 size) used buffers - 2/9 (recycle/alloc) - 7/24 (fetch/transfer)
07-09 16:21:43.388 19613 21002 I CCodecBufferChannel: [c2.android.vorbis.decoder#833] Created output block pool with allocatorID 16 => poolID 77 - OK
07-09 16:21:43.388 19613 20280 D BufferPoolAccessor: Destruction - bufferpool2 0x79d7445820 cached: 0/0M, 0/0% in use; allocs: 9, 22% recycled; transfers: 24, 71% unfetced
07-09 16:21:43.388 19613 21002 D CCodecBufferChannel: [c2.android.vorbis.decoder#833] Configured output block pool ids 77 => OK
07-09 16:21:43.414 19613 21001 I MediaCodec: stop()
07-09 16:21:43.415 19613 21001 I MediaCodec: Audio release()
07-09 16:21:43.418 19613 21001 I MediaCodec: ~MediaCodec()
07-09 16:21:43.459 19613 19613 I Choreographer: Skipped 1 frames!  The application may be doing too much work on its main thread.
07-09 16:21:43.534 19613 19613 D ColorViewRootUtil: initSwipState, isDisplayCompatApp false
07-09 16:21:43.536 19613 19613 D ColorViewRootUtil: mScreenHeight 1600, mScreenWidth 720
07-09 16:21:43.678 19613 19613 D ColorViewRootUtil: nav bar mode ignore false downX 166 downY 756 mScreenHeight 1600 mScreenWidth 720 mStatusBarHeight 36 globalScale 1.7560976 nav mode 0 rotation 0 event MotionEvent { action=ACTION_DOWN, actionButton=0, id[0]=0, x[0]=166.0, y[0]=756.0, toolType[0]=TOOL_TYPE_FINGER, buttonState=0, classification=NONE, metaState=0, flags=0x0, edgeFlags=0x0, pointerCount=1, historySize=0, eventTime=3697105, downTime=3697105, deviceId=2, source=0x1002, displayId=0 }
07-09 16:21:44.080 19613 19613 D ColorViewRootUtil: initSwipState, isDisplayCompatApp false
07-09 16:21:44.082 19613 19613 D ColorViewRootUtil: mScreenHeight 1600, mScreenWidth 720
07-09 16:21:44.083 19613 19613 D WindowManager: Add to mViews: android.widget.PopupWindow$PopupDecorView{ec11117 V.E...... R.....I. 0,0-0,0}, this = android.view.WindowManagerGlobal@4da9f5a,pkg= com.termux
07-09 16:21:44.087 19613 19613 D ViewRootImpl[PopupWindow:675bf58]: hardware acceleration = true , fakeHwAccelerated = false, sRendererDisabled = false, forceHwAccelerated = false, sSystemRendererDisabled = false
07-09 16:21:44.093 19613 19613 I InputTransport: Create ARC handle: 0x79d7443360
07-09 16:21:44.097 19613 19613 D ColorViewRootUtil: initSwipState, isDisplayCompatApp false
07-09 16:21:44.099 19613 19613 D ColorViewRootUtil: mScreenHeight 1600, mScreenWidth 720
07-09 16:21:44.100 19613 19613 D WindowManager: Add to mViews: android.widget.PopupWindow$PopupDecorView{13ba7b3 V.E...... R.....I. 0,0-0,0}, this = android.view.WindowManagerGlobal@4da9f5a,pkg= com.termux
07-09 16:21:44.103 19613 19613 D ViewRootImpl[PopupWindow:a337904]: hardware acceleration = true , fakeHwAccelerated = false, sRendererDisabled = false, forceHwAccelerated = false, sSystemRendererDisabled = false
07-09 16:21:44.109 19613 19613 I InputTransport: Create ARC handle: 0x79d74434e0
07-09 16:21:44.124 19613 19613 D TestOverScroll: getScaledOverscrollDistance: b
07-09 16:21:44.131 19613 19613 I Choreographer: Skipped 2 frames!  The application may be doing too much work on its main thread.
07-09 16:21:44.148 19613 20271 D Surface : Surface::connect(this=0x7965949000,api=1)
07-09 16:21:44.149 19613 20271 D Surface : Surface::setBufferCount(this=0x7965949000,bufferCount=3)
07-09 16:21:44.150 19613 20271 D Surface : Surface::allocateBuffers(this=0x7965949000)
07-09 16:21:44.168 19613 20271 D Surface : Surface::connect(this=0x796545f000,api=1)
07-09 16:21:44.169 19613 20271 D Surface : Surface::setBufferCount(this=0x796545f000,bufferCount=3)
07-09 16:21:44.169 19613 20271 D Surface : Surface::allocateBuffers(this=0x796545f000)
07-09 16:21:44.194 19613 19613 D ColorViewRootUtil: initSwipState, isDisplayCompatApp false
07-09 16:21:44.196 19613 19613 D ColorViewRootUtil: mScreenHeight 1600, mScreenWidth 720
07-09 16:21:44.199 19613 19613 E ViewDragHelper: Ignoring pointerId=0 because ACTION_DOWN was not received for this pointer before ACTION_MOVE. It likely happened because  ViewDragHelper did not receive all the events in the event stream.
07-09 16:21:44.199 19613 19613 I chatty  : uid=10188(com.termux) identical 2 lines
07-09 16:21:44.199 19613 19613 E ViewDragHelper: Ignoring pointerId=0 because ACTION_DOWN was not received for this pointer before ACTION_MOVE. It likely happened because  ViewDragHelper did not receive all the events in the event stream.
07-09 16:21:44.224 19613 19613 D ColorViewRootUtil: initSwipState, isDisplayCompatApp false
07-09 16:21:44.226 19613 19613 D ColorViewRootUtil: mScreenHeight 1600, mScreenWidth 720
07-09 16:21:44.227 19613 19613 E ViewDragHelper: Ignoring pointerId=0 because ACTION_DOWN was not received for this pointer before ACTION_MOVE. It likely happened because  ViewDragHelper did not receive all the events in the event stream.
07-09 16:21:44.228 19613 19613 I chatty  : uid=10188(com.termux) identical 2 lines
07-09 16:21:44.228 19613 19613 E ViewDragHelper: Ignoring pointerId=0 because ACTION_DOWN was not received for this pointer before ACTION_MOVE. It likely happened because  ViewDragHelper did not receive all the events in the event stream.
07-09 16:21:44.552 19613 19613 D ColorViewRootUtil: initSwipState, isDisplayCompatApp false
07-09 16:21:44.554 19613 19613 D ColorViewRootUtil: mScreenHeight 1600, mScreenWidth 720
07-09 16:21:44.555 19613 19613 D WindowManager: Add to mViews: android.widget.PopupWindow$PopupDecorView{a7de3a3 V.E...... R.....I. 0,0-0,0}, this = android.view.WindowManagerGlobal@4da9f5a,pkg= com.termux
07-09 16:21:44.558 19613 19613 D ViewRootImpl[PopupWindow:1692b34]: hardware acceleration = true , fakeHwAccelerated = false, sRendererDisabled = false, forceHwAccelerated = false, sSystemRendererDisabled = false
07-09 16:21:44.564 19613 19613 I InputTransport: Create ARC handle: 0x79d7443b00
07-09 16:21:44.586 19613 20271 D Surface : Surface::connect(this=0x7965693000,api=1)
07-09 16:21:44.587 19613 20271 D Surface : Surface::setBufferCount(this=0x7965693000,bufferCount=3)
07-09 16:21:44.588 19613 20271 D Surface : Surface::allocateBuffers(this=0x7965693000)
07-09 16:21:44.604 19613 19613 I Choreographer: Skipped 1 frames!  The application may be doing too much work on its main thread.
07-09 16:21:44.607 19613 19613 D ColorViewRootUtil: initSwipState, isDisplayCompatApp false
07-09 16:21:44.608 19613 19613 D ColorViewRootUtil: mScreenHeight 1600, mScreenWidth 720
07-09 16:21:45.130 19613 19613 D ColorViewRootUtil: nav bar mode ignore false downX 156 downY 678 mScreenHeight 1600 mScreenWidth 720 mStatusBarHeight 36 globalScale 1.7560976 nav mode 0 rotation 0 event MotionEvent { action=ACTION_DOWN, actionButton=0, id[0]=0, x[0]=140.0, y[0]=23.0, toolType[0]=TOOL_TYPE_FINGER, buttonState=0, classification=NONE, metaState=0, flags=0x0, edgeFlags=0x0, pointerCount=1, historySize=0, eventTime=3698557, downTime=3698557, deviceId=2, source=0x1002, displayId=0 }
07-09 16:21:45.236 19613 20271 D Surface : Surface::disconnect(this=0x7965949000,api=1)
07-09 16:21:45.237 19613 19613 D View    : [Warning] assignParent to null: this = android.widget.PopupWindow$PopupDecorView{ec11117 V.E...... R....... 0,0-62,31}
07-09 16:21:45.237 19613 19613 I InputTransport: Destroy ARC handle: 0x79d7443360
07-09 16:21:45.245 19613 20271 D Surface : Surface::disconnect(this=0x796545f000,api=1)
07-09 16:21:45.246 19613 19613 D View    : [Warning] assignParent to null: this = android.widget.PopupWindow$PopupDecorView{13ba7b3 V.E...... R.....I. 0,0-62,31}
07-09 16:21:45.247 19613 19613 I InputTransport: Destroy ARC handle: 0x79d74434e0
07-09 16:21:45.280 19613 19613 I Choreographer: Skipped 1 frames!  The application may be doing too much work on its main thread.
07-09 16:21:45.382 19613 20271 D Surface : Surface::disconnect(this=0x7965693000,api=1)
07-09 16:21:45.383 19613 20271 D OpenGLRenderer: endAllActiveAnimators on 0x7965961600 (RippleDrawable) with handle 0x7969c0f4c0
07-09 16:21:45.384 19613 19613 D View    : [Warning] assignParent to null: this = android.widget.PopupWindow$PopupDecorView{a7de3a3 V.E...... R......D 0,0-297,69}
07-09 16:21:45.384 19613 19613 I InputTransport: Destroy ARC handle: 0x79d7443b00
07-09 16:21:45.572 19613 19613 V ViewRootImpl[TermuxActivity]: [ANR Warning]Input routeing takes more than 6000ms since 2021-07-09 16:20:20.176, this = com.mediatek.view.impl.ViewDebugManagerImpl@87dcca4
07-09 16:21:45.573 19613 19613 V ViewRootImpl[TermuxActivity]: Input event delivered to android.view.ViewRootImpl$EarlyPostImeInputStage@43df2de at 2021-07-09 16:21:45.569
07-09 16:21:45.573 19613 19613 V ViewRootImpl[TermuxActivity]: Input event delivered to android.view.ViewRootImpl$SyntheticInputStage@b91e6d5 at 2021-07-09 16:21:45.570
07-09 16:21:45.574 19613 19613 V ViewRootImpl[TermuxActivity]: Input event delivered to android.view.ViewRootImpl$ViewPostImeInputStage@1da3f8c at 2021-07-09 16:21:45.569
07-09 16:21:45.574 19613 19613 V ViewRootImpl[TermuxActivity]: Input event delivered to android.view.ViewRootImpl$NativePostImeInputStage@4143cbf at 2021-07-09 16:21:45.569
07-09 16:21:45.577 19613 19613 V ViewRootImpl[TermuxActivity]: [ANR Warning]Input routeing takes more than 6000ms since 2021-07-09 16:20:20.176, this = com.mediatek.view.impl.ViewDebugManagerImpl@87dcca4
07-09 16:21:45.577 19613 19613 V ViewRootImpl[TermuxActivity]: Input event delivered to android.view.ViewRootImpl$EarlyPostImeInputStage@43df2de at 2021-07-09 16:21:45.575
07-09 16:21:45.577 19613 19613 V ViewRootImpl[TermuxActivity]: Input event delivered to android.view.ViewRootImpl$SyntheticInputStage@b91e6d5 at 2021-07-09 16:21:45.575
07-09 16:21:45.577 19613 19613 V ViewRootImpl[TermuxActivity]: Input event delivered to android.view.ViewRootImpl$ViewPostImeInputStage@1da3f8c at 2021-07-09 16:21:45.575
07-09 16:21:45.578 19613 19613 V ViewRootImpl[TermuxActivity]: Input event delivered to android.view.ViewRootImpl$NativePostImeInputStage@4143cbf at 2021-07-09 16:21:45.575
07-09 16:21:47.715 19613 20271 D Surface : Surface::disconnect(this=0x796ca9b000,api=1)
07-09 16:21:47.729 19613 19613 D SoundPool: native_release called
07-09 16:21:47.731 19613 19613 D SoundPool: native_release end
07-09 16:21:47.737 19613 19613 V PhoneWindow: DecorView setVisiblity: visibility = 4, Parent = android.view.ViewRootImpl@b36d757, this = DecorView@fea9498[TermuxActivity]
07-09 16:22:02.611 19613 21019 I NuMediaExtractor: setDataSource fd=65 (/mnt/expand/20720b14-d2a1-4182-8f56-d93f25aa8778/app/com.termux-WwnHm-uZJ-s7coEAMh7y6w==/base.apk), offset=88596428, length=5090
07-09 16:22:02.613 19613 19613 V PhoneWindow: DecorView setVisiblity: visibility = 0, Parent = android.view.ViewRootImpl@b36d757, this = DecorView@fea9498[TermuxActivity]
07-09 16:22:02.614 19613 19613 I Choreographer: Skipped 2 frames!  The application may be doing too much work on its main thread.
07-09 16:22:02.627 19613 21019 I MediaCodec: CreateByType(), mime = audio/vorbis, encoder = 0
07-09 16:22:02.628 19613 21019 I MediaCodec: ----------------------------------------
07-09 16:22:02.628 19613 21019 I MediaCodec: matched component [c2.android.vorbis.decoder]
07-09 16:22:02.628 19613 21019 I MediaCodec: matched component [OMX.google.vorbis.decoder]
07-09 16:22:02.628 19613 21019 I MediaCodec: ----------------------------------------
07-09 16:22:02.628 19613 21019 I MediaCodec: new MediaCodec()
07-09 16:22:02.629 19613 21020 D CCodec  : allocate(c2.android.vorbis.decoder)
07-09 16:22:02.630 19613 20271 D Surface : Surface::connect(this=0x796ca9b000,api=1)
07-09 16:22:02.633 19613 20271 D Surface : Surface::setBufferCount(this=0x796ca9b000,bufferCount=3)
07-09 16:22:02.633 19613 21020 I CCodec  : Created component [c2.android.vorbis.decoder]
07-09 16:22:02.633 19613 20271 D Surface : Surface::allocateBuffers(this=0x796ca9b000)
07-09 16:22:02.634 19613 21020 D CCodecConfig: read media type: audio/vorbis
07-09 16:22:02.636 19613 21020 D ReflectedParamUpdater: extent() != 1 for single value type: algo.buffers.max-count.values
07-09 16:22:02.637 19613 21020 D ReflectedParamUpdater: extent() != 1 for single value type: output.subscribed-indices.values
07-09 16:22:02.637 19613 21020 D ReflectedParamUpdater: extent() != 1 for single value type: input.buffers.allocator-ids.values
07-09 16:22:02.638 19613 21020 D ReflectedParamUpdater: extent() != 1 for single value type: output.buffers.allocator-ids.values
07-09 16:22:02.638 19613 21020 D ReflectedParamUpdater: extent() != 1 for single value type: algo.buffers.allocator-ids.values
07-09 16:22:02.638 19613 21020 D ReflectedParamUpdater: extent() != 1 for single value type: output.buffers.pool-ids.values
07-09 16:22:02.639 19613 21020 D ReflectedParamUpdater: extent() != 1 for single value type: algo.buffers.pool-ids.values
07-09 16:22:02.640 19613 21020 I CCodecConfig: query failed after returning 7 values (BAD_INDEX)
07-09 16:22:02.641 19613 21020 D CCodecConfig: c2 config is Dict {
07-09 16:22:02.641 19613 21020 D CCodecConfig:   c2::u32 coded.bitrate.value = 64000
07-09 16:22:02.641 19613 21020 D CCodecConfig:   c2::u32 input.buffers.max-size.value = 32768
07-09 16:22:02.641 19613 21020 D CCodecConfig:   c2::u32 input.delay.value = 0
07-09 16:22:02.641 19613 21020 D CCodecConfig:   string input.media-type.value = "audio/vorbis"
07-09 16:22:02.641 19613 21020 D CCodecConfig:   string output.media-type.value = "audio/raw"
07-09 16:22:02.641 19613 21020 D CCodecConfig:   c2::u32 raw.channel-count.value = 1
07-09 16:22:02.641 19613 21020 D CCodecConfig:   c2::u32 raw.sample-rate.value = 48000
07-09 16:22:02.641 19613 21020 D CCodecConfig: }
07-09 16:22:02.641 19613 21019 I MediaCodec: configure()
07-09 16:22:02.642 19613 21020 D CCodecConfig: no c2 equivalents for durationUs
07-09 16:22:02.642 19613 21020 D CCodecConfig: no c2 equivalents for csd-1
07-09 16:22:02.642 19613 21020 D CCodecConfig: no c2 equivalents for track-id
07-09 16:22:02.642 19613 21020 D CCodecConfig: no c2 equivalents for channel-mask
07-09 16:22:02.643 19613 21020 D CCodecConfig: c2 config is Dict {
07-09 16:22:02.643 19613 21020 D CCodecConfig:   c2::u32 coded.bitrate.value = 64000
07-09 16:22:02.643 19613 21020 D CCodecConfig:   c2::u32 input.buffers.max-size.value = 32768
07-09 16:22:02.643 19613 21020 D CCodecConfig:   c2::u32 input.delay.value = 0
07-09 16:22:02.643 19613 21020 D CCodecConfig:   string input.media-type.value = "audio/vorbis"
07-09 16:22:02.643 19613 21020 D CCodecConfig:   string output.media-type.value = "audio/raw"
07-09 16:22:02.643 19613 21020 D CCodecConfig:   c2::u32 raw.channel-count.value = 1
07-09 16:22:02.643 19613 21020 D CCodecConfig:   c2::u32 raw.sample-rate.value = 44100
07-09 16:22:02.643 19613 21020 D CCodecConfig: }
07-09 16:22:02.644 19613 21020 W Codec2Client: query -- param skipped: index = 1107298332.
07-09 16:22:02.644 19613 21020 D CCodec  : setup formats input: AMessage(what = 0x00000000) = {
07-09 16:22:02.644 19613 21020 D CCodec  :   int32_t channel-count = 1
07-09 16:22:02.644 19613 21020 D CCodec  :   int32_t max-input-size = 32768
07-09 16:22:02.644 19613 21020 D CCodec  :   string mime = "audio/vorbis"
07-09 16:22:02.644 19613 21020 D CCodec  :   int32_t sample-rate = 44100
07-09 16:22:02.644 19613 21020 D CCodec  : } and output: AMessage(what = 0x00000000) = {
07-09 16:22:02.644 19613 21020 D CCodec  :   int32_t channel-count = 1
07-09 16:22:02.644 19613 21020 D CCodec  :   string mime = "audio/raw"
07-09 16:22:02.644 19613 21020 D CCodec  :   int32_t sample-rate = 44100
07-09 16:22:02.644 19613 21020 D CCodec  :   int32_t channel-mask = 1
07-09 16:22:02.644 19613 21020 D CCodec  : }
07-09 16:22:02.644 19613 21019 I MediaCodec: Audio start()
07-09 16:22:02.645 19613 21020 W Codec2Client: query -- param skipped: index = 1342179345.
07-09 16:22:02.645 19613 21020 W Codec2Client: query -- param skipped: index = 2415921170.
07-09 16:22:02.647 19613 21020 D CCodecBufferChannel: [c2.android.vorbis.decoder#552] Created input block pool with allocatorID 16 => poolID 27 - OK (0)
07-09 16:22:02.648 19613 20280 D BufferPoolAccessor: bufferpool2 0x796cb6e220 : 0(0 size) total buffers - 0(0 size) used buffers - 2/9 (recycle/alloc) - 7/24 (fetch/transfer)
07-09 16:22:02.648 19613 20280 D BufferPoolAccessor: Destruction - bufferpool2 0x796cb6e220 cached: 0/0M, 0/0% in use; allocs: 9, 22% recycled; transfers: 24, 71% unfetced
07-09 16:22:02.649 19613 21020 I CCodecBufferChannel: [c2.android.vorbis.decoder#552] Created output block pool with allocatorID 16 => poolID 78 - OK
07-09 16:22:02.649 19613 21020 D CCodecBufferChannel: [c2.android.vorbis.decoder#552] Configured output block pool ids 78 => OK
07-09 16:22:02.675 19613 21019 I MediaCodec: stop()
07-09 16:22:02.676 19613 21019 I MediaCodec: Audio release()
07-09 16:22:02.677 19613 21019 I MediaCodec: ~MediaCodec()
07-09 16:22:02.812 19613 19613 D ColorViewRootUtil: initSwipState, isDisplayCompatApp false
07-09 16:22:02.815 19613 19613 D ColorViewRootUtil: mScreenHeight 1600, mScreenWidth 720
07-09 16:22:05.789 19613 19613 D ColorViewRootUtil: nav bar mode ignore false downX 28 downY 78 mScreenHeight 1600 mScreenWidth 720 mStatusBarHeight 36 globalScale 1.7560976 nav mode 0 rotation 0 event MotionEvent { action=ACTION_DOWN, actionButton=0, id[0]=0, x[0]=28.0, y[0]=78.0, toolType[0]=TOOL_TYPE_FINGER, buttonState=0, classification=NONE, metaState=0, flags=0x0, edgeFlags=0x0, pointerCount=1, historySize=0, eventTime=3719211, downTime=3719211, deviceId=2, source=0x1002, displayId=0 }
07-09 16:22:06.197 19613 19613 D ColorViewRootUtil: initSwipState, isDisplayCompatApp false
07-09 16:22:06.201 19613 19613 D ColorViewRootUtil: mScreenHeight 1600, mScreenWidth 720
07-09 16:22:06.204 19613 19613 D WindowManager: Add to mViews: android.widget.PopupWindow$PopupDecorView{45f15b6 V.E...... R.....I. 0,0-0,0}, this = android.view.WindowManagerGlobal@4da9f5a,pkg= com.termux
07-09 16:22:06.214 19613 19613 D ViewRootImpl[PopupWindow:55ee3db]: hardware acceleration = true , fakeHwAccelerated = false, sRendererDisabled = false, forceHwAccelerated = false, sSystemRendererDisabled = false
07-09 16:22:06.234 19613 19613 I InputTransport: Create ARC handle: 0x79d7443b60
07-09 16:22:06.247 19613 19613 D ColorViewRootUtil: initSwipState, isDisplayCompatApp false
07-09 16:22:06.251 19613 19613 D ColorViewRootUtil: mScreenHeight 1600, mScreenWidth 720
07-09 16:22:06.254 19613 19613 D WindowManager: Add to mViews: android.widget.PopupWindow$PopupDecorView{2bed742 V.E...... R.....I. 0,0-0,0}, this = android.view.WindowManagerGlobal@4da9f5a,pkg= com.termux
07-09 16:22:06.264 19613 19613 D ViewRootImpl[PopupWindow:5dde2b7]: hardware acceleration = true , fakeHwAccelerated = false, sRendererDisabled = false, forceHwAccelerated = false, sSystemRendererDisabled = false
07-09 16:22:06.281 19613 19613 I InputTransport: Create ARC handle: 0x79d7443d00
07-09 16:22:06.325 19613 19613 D TestOverScroll: getScaledOverscrollDistance: b
07-09 16:22:06.347 19613 19613 I Choreographer: Skipped 6 frames!  The application may be doing too much work on its main thread.
07-09 16:22:06.349 19613 19613 E ViewDragHelper: Ignoring pointerId=0 because ACTION_DOWN was not received for this pointer before ACTION_MOVE. It likely happened because  ViewDragHelper did not receive all the events in the event stream.
07-09 16:22:06.349 19613 19613 I chatty  : uid=10188(com.termux) identical 2 lines
07-09 16:22:06.349 19613 19613 E ViewDragHelper: Ignoring pointerId=0 because ACTION_DOWN was not received for this pointer before ACTION_MOVE. It likely happened because  ViewDragHelper did not receive all the events in the event stream.
07-09 16:22:06.384 19613 20271 D Surface : Surface::connect(this=0x79659ac000,api=1)
07-09 16:22:06.386 19613 20271 D Surface : Surface::setBufferCount(this=0x79659ac000,bufferCount=3)
07-09 16:22:06.387 19613 20271 D Surface : Surface::allocateBuffers(this=0x79659ac000)
07-09 16:22:06.432 19613 20271 D Surface : Surface::connect(this=0x79658f8000,api=1)
07-09 16:22:06.434 19613 20271 D Surface : Surface::setBufferCount(this=0x79658f8000,bufferCount=3)
07-09 16:22:06.435 19613 20271 D Surface : Surface::allocateBuffers(this=0x79658f8000)
07-09 16:22:06.465 19613 19613 E ViewDragHelper: Ignoring pointerId=0 because ACTION_DOWN was not received for this pointer before ACTION_MOVE. It likely happened because  ViewDragHelper did not receive all the events in the event stream.
07-09 16:22:06.465 19613 19613 I chatty  : uid=10188(com.termux) identical 2 lines
07-09 16:22:06.465 19613 19613 E ViewDragHelper: Ignoring pointerId=0 because ACTION_DOWN was not received for this pointer before ACTION_MOVE. It likely happened because  ViewDragHelper did not receive all the events in the event stream.
07-09 16:22:06.477 19613 19613 I Choreographer: Skipped 6 frames!  The application may be doing too much work on its main thread.
07-09 16:22:06.505 19613 19613 D ColorViewRootUtil: initSwipState, isDisplayCompatApp false
07-09 16:22:06.507 19613 19613 D ColorViewRootUtil: mScreenHeight 1600, mScreenWidth 720
07-09 16:22:06.509 19613 19613 D ColorViewRootUtil: initSwipState, isDisplayCompatApp false
07-09 16:22:06.511 19613 19613 D ColorViewRootUtil: mScreenHeight 1600, mScreenWidth 720
07-09 16:22:06.787 19613 19613 D ColorViewRootUtil: initSwipState, isDisplayCompatApp false
07-09 16:22:06.790 19613 19613 D ColorViewRootUtil: mScreenHeight 1600, mScreenWidth 720
07-09 16:22:06.791 19613 19613 D WindowManager: Add to mViews: android.widget.PopupWindow$PopupDecorView{8bf94f2 V.E...... R.....I. 0,0-0,0}, this = android.view.WindowManagerGlobal@4da9f5a,pkg= com.termux
07-09 16:22:06.795 19613 19613 D ViewRootImpl[PopupWindow:376e7a7]: hardware acceleration = true , fakeHwAccelerated = false, sRendererDisabled = false, forceHwAccelerated = false, sSystemRendererDisabled = false
07-09 16:22:06.802 19613 19613 I InputTransport: Create ARC handle: 0x79653f50e0
07-09 16:22:06.827 19613 20271 D Surface : Surface::connect(this=0x7965744000,api=1)
07-09 16:22:06.829 19613 20271 D Surface : Surface::setBufferCount(this=0x7965744000,bufferCount=3)
07-09 16:22:06.829 19613 20271 D Surface : Surface::allocateBuffers(this=0x7965744000)
07-09 16:22:06.844 19613 19613 I Choreographer: Skipped 1 frames!  The application may be doing too much work on its main thread.
07-09 16:22:06.847 19613 19613 D ColorViewRootUtil: initSwipState, isDisplayCompatApp false
07-09 16:22:06.852 19613 19613 D ColorViewRootUtil: mScreenHeight 1600, mScreenWidth 720
07-09 16:22:07.151 19613 19613 D ColorViewRootUtil: nav bar mode ignore false downX 53 downY 84 mScreenHeight 1600 mScreenWidth 720 mStatusBarHeight 36 globalScale 1.7560976 nav mode 0 rotation 0 event MotionEvent { action=ACTION_DOWN, actionButton=0, id[0]=0, x[0]=33.0, y[0]=20.0, toolType[0]=TOOL_TYPE_FINGER, buttonState=0, classification=NONE, metaState=0, flags=0x0, edgeFlags=0x0, pointerCount=1, historySize=0, eventTime=3720576, downTime=3720576, deviceId=2, source=0x1002, displayId=0 }
07-09 16:22:07.258 19613 20271 D Surface : Surface::disconnect(this=0x7965744000,api=1)
07-09 16:22:07.260 19613 19613 D View    : [Warning] assignParent to null: this = android.widget.PopupWindow$PopupDecorView{8bf94f2 V.E...... R......D 0,0-297,69}
07-09 16:22:07.261 19613 19613 I InputTransport: Destroy ARC handle: 0x79653f50e0
07-09 16:22:07.287 19613 19613 I Choreographer: Skipped 1 frames!  The application may be doing too much work on its main thread.
07-09 16:22:07.383 19613 19613 I Choreographer: Skipped 1 frames!  The application may be doing too much work on its main thread.
07-09 16:22:07.967 19613 19613 D ColorViewRootUtil: nav bar mode ignore false downX 58 downY 85 mScreenHeight 1600 mScreenWidth 720 mStatusBarHeight 36 globalScale 1.7560976 nav mode 0 rotation 0 event MotionEvent { action=ACTION_DOWN, actionButton=0, id[0]=0, x[0]=46.0, y[0]=21.0, toolType[0]=TOOL_TYPE_FINGER, buttonState=0, classification=NONE, metaState=0, flags=0x0, edgeFlags=0x0, pointerCount=1, historySize=0, eventTime=3721392, downTime=3721392, deviceId=2, source=0x1002, displayId=0 }
07-09 16:22:07.979 19613 19613 D ColorViewRootUtil: initSwipState, isDisplayCompatApp false
07-09 16:22:07.981 19613 19613 D ColorViewRootUtil: mScreenHeight 1600, mScreenWidth 720
07-09 16:22:07.984 19613 19613 D WindowManager: Add to mViews: android.widget.PopupWindow$PopupDecorView{8930897 V.E...... R.....I. 0,0-0,0}, this = android.view.WindowManagerGlobal@4da9f5a,pkg= com.termux
07-09 16:22:07.989 19613 19613 D ViewRootImpl[PopupWindow:376e7a7]: hardware acceleration = true , fakeHwAccelerated = false, sRendererDisabled = false, forceHwAccelerated = false, sSystemRendererDisabled = false
07-09 16:22:08.003 19613 19613 I InputTransport: Create ARC handle: 0x79653f53c0
07-09 16:22:08.054 19613 20271 D Surface : Surface::connect(this=0x7965865000,api=1)
07-09 16:22:08.057 19613 20271 D Surface : Surface::setBufferCount(this=0x7965865000,bufferCount=3)
07-09 16:22:08.057 19613 20271 D Surface : Surface::allocateBuffers(this=0x7965865000)
07-09 16:22:08.094 19613 19613 I Choreographer: Skipped 4 frames!  The application may be doing too much work on its main thread.
07-09 16:22:08.099 19613 20271 D Surface : Surface::disconnect(this=0x7965865000,api=1)
07-09 16:22:08.100 19613 19613 D View    : [Warning] assignParent to null: this = android.widget.PopupWindow$PopupDecorView{8930897 V.E...... R......D 0,0-297,69}
07-09 16:22:08.101 19613 19613 I InputTransport: Destroy ARC handle: 0x79653f53c0
07-09 16:22:08.136 19613 19613 D ColorViewRootUtil: initSwipState, isDisplayCompatApp false
07-09 16:22:08.138 19613 19613 D ColorViewRootUtil: mScreenHeight 1600, mScreenWidth 720
07-09 16:22:08.141 19613 19613 I Choreographer: Skipped 2 frames!  The application may be doing too much work on its main thread.
07-09 16:22:08.250 19613 19613 D ColorViewRootUtil: initSwipState, isDisplayCompatApp false
07-09 16:22:08.253 19613 19613 D ColorViewRootUtil: mScreenHeight 1600, mScreenWidth 720
07-09 16:22:08.538 19613 19613 D ColorViewRootUtil: initSwipState, isDisplayCompatApp false
07-09 16:22:08.542 19613 19613 D ColorViewRootUtil: mScreenHeight 1600, mScreenWidth 720
07-09 16:22:08.902 19613 19613 D ColorViewRootUtil: initSwipState, isDisplayCompatApp false
07-09 16:22:08.904 19613 19613 D ColorViewRootUtil: mScreenHeight 1600, mScreenWidth 720
07-09 16:22:08.905 19613 19613 D WindowManager: Add to mViews: android.widget.PopupWindow$PopupDecorView{3031ea2 V.E...... R.....I. 0,0-0,0}, this = android.view.WindowManagerGlobal@4da9f5a,pkg= com.termux
07-09 16:22:08.908 19613 19613 D ViewRootImpl[PopupWindow:376e7a7]: hardware acceleration = true , fakeHwAccelerated = false, sRendererDisabled = false, forceHwAccelerated = false, sSystemRendererDisabled = false
07-09 16:22:08.915 19613 19613 I InputTransport: Create ARC handle: 0x79653f5480
07-09 16:22:08.942 19613 20271 D Surface : Surface::connect(this=0x7965741000,api=1)
07-09 16:22:08.944 19613 20271 D Surface : Surface::setBufferCount(this=0x7965741000,bufferCount=3)
07-09 16:22:08.944 19613 20271 D Surface : Surface::allocateBuffers(this=0x7965741000)
07-09 16:22:08.963 19613 19613 I Choreographer: Skipped 1 frames!  The application may be doing too much work on its main thread.
07-09 16:22:08.966 19613 19613 D ColorViewRootUtil: initSwipState, isDisplayCompatApp false
07-09 16:22:08.968 19613 19613 D ColorViewRootUtil: mScreenHeight 1600, mScreenWidth 720
07-09 16:22:10.155 19613 19613 D ColorViewRootUtil: nav bar mode ignore false downX 112 downY 155 mScreenHeight 1600 mScreenWidth 720 mStatusBarHeight 36 globalScale 1.7560976 nav mode 0 rotation 0 event MotionEvent { action=ACTION_DOWN, actionButton=0, id[0]=0, x[0]=20.0, y[0]=23.0, toolType[0]=TOOL_TYPE_FINGER, buttonState=0, classification=NONE, metaState=0, flags=0x0, edgeFlags=0x0, pointerCount=1, historySize=0, eventTime=3723578, downTime=3723578, deviceId=2, source=0x1002, displayId=0 }
07-09 16:22:10.237 19613 20271 D Surface : Surface::disconnect(this=0x7965741000,api=1)
07-09 16:22:10.239 19613 19613 D View    : [Warning] assignParent to null: this = android.widget.PopupWindow$PopupDecorView{3031ea2 V.E...... R......D 0,0-297,69}
07-09 16:22:10.240 19613 19613 I InputTransport: Destroy ARC handle: 0x79653f5480
07-09 16:22:10.891 19613 19613 I Choreographer: Skipped 1 frames!  The application may be doing too much work on its main thread.
07-09 16:22:11.363 19613 19613 I Choreographer: Skipped 1 frames!  The application may be doing too much work on its main thread.
07-09 16:22:11.415 19613 19613 I Choreographer: Skipped 1 frames!  The application may be doing too much work on its main thread.
07-09 16:22:11.499 19613 19613 I Choreographer: Skipped 1 frames!  The application may be doing too much work on its main thread.
07-09 16:22:11.576 19613 19613 I Choreographer: Skipped 1 frames!  The application may be doing too much work on its main thread.
07-09 16:22:12.234 19613 19613 I Choreographer: Skipped 1 frames!  The application may be doing too much work on its main thread.
07-09 16:22:12.391 19613 19613 I Choreographer: Skipped 1 frames!  The application may be doing too much work on its main thread.
07-09 16:22:13.006 19613 19613 D ColorViewRootUtil: initSwipState, isDisplayCompatApp false
07-09 16:22:13.009 19613 19613 D ColorViewRootUtil: mScreenHeight 1600, mScreenWidth 720
07-09 16:22:13.011 19613 19613 D WindowManager: Add to mViews: android.widget.PopupWindow$PopupDecorView{7d1c869 V.E...... R.....I. 0,0-0,0}, this = android.view.WindowManagerGlobal@4da9f5a,pkg= com.termux
07-09 16:22:13.017 19613 19613 D ViewRootImpl[PopupWindow:376e7a7]: hardware acceleration = true , fakeHwAccelerated = false, sRendererDisabled = false, forceHwAccelerated = false, sSystemRendererDisabled = false
07-09 16:22:13.027 19613 19613 I InputTransport: Create ARC handle: 0x79653f5740
07-09 16:22:13.085 19613 20271 D Surface : Surface::connect(this=0x796573f000,api=1)
07-09 16:22:13.089 19613 20271 D Surface : Surface::setBufferCount(this=0x796573f000,bufferCount=3)
07-09 16:22:13.089 19613 20271 D Surface : Surface::allocateBuffers(this=0x796573f000)
07-09 16:22:13.117 19613 19613 I Choreographer: Skipped 4 frames!  The application may be doing too much work on its main thread.
07-09 16:22:13.121 19613 19613 D ColorViewRootUtil: initSwipState, isDisplayCompatApp false
07-09 16:22:13.124 19613 19613 D ColorViewRootUtil: mScreenHeight 1600, mScreenWidth 720
07-09 16:22:13.986 19613 19613 D ColorViewRootUtil: nav bar mode ignore false downX 55 downY 211 mScreenHeight 1600 mScreenWidth 720 mStatusBarHeight 36 globalScale 1.7560976 nav mode 0 rotation 0 event MotionEvent { action=ACTION_DOWN, actionButton=0, id[0]=0, x[0]=55.0, y[0]=48.0, toolType[0]=TOOL_TYPE_FINGER, buttonState=0, classification=NONE, metaState=0, flags=0x0, edgeFlags=0x0, pointerCount=1, historySize=0, eventTime=3727410, downTime=3727410, deviceId=2, source=0x1002, displayId=0 }
07-09 16:22:14.078 19613 20271 D Surface : Surface::disconnect(this=0x79659ac000,api=1)
07-09 16:22:14.080 19613 19613 D View    : [Warning] assignParent to null: this = android.widget.PopupWindow$PopupDecorView{45f15b6 V.E...... R.....I. 0,0-62,31}
07-09 16:22:14.080 19613 19613 I InputTransport: Destroy ARC handle: 0x79d7443b60
07-09 16:22:14.092 19613 20271 D Surface : Surface::disconnect(this=0x79658f8000,api=1)
07-09 16:22:14.094 19613 19613 D View    : [Warning] assignParent to null: this = android.widget.PopupWindow$PopupDecorView{2bed742 V.E...... R.....I. 0,0-62,31}
07-09 16:22:14.095 19613 19613 I InputTransport: Destroy ARC handle: 0x79d7443d00
07-09 16:22:14.110 19613 19613 I Choreographer: Skipped 1 frames!  The application may be doing too much work on its main thread.
07-09 16:22:14.145 19613 19613 I Choreographer: Skipped 1 frames!  The application may be doing too much work on its main thread.
07-09 16:22:14.243 19613 20271 D Surface : Surface::disconnect(this=0x796573f000,api=1)
07-09 16:22:14.245 19613 20271 D OpenGLRenderer: endAllActiveAnimators on 0x7972136200 (RippleDrawable) with handle 0x79d7443ae0
07-09 16:22:14.246 19613 19613 D View    : [Warning] assignParent to null: this = android.widget.PopupWindow$PopupDecorView{7d1c869 V.E...... R......D 0,0-297,69}
07-09 16:22:14.246 19613 19613 I InputTransport: Destroy ARC handle: 0x79653f5740
07-09 16:22:15.219 19613 20271 D Surface : Surface::disconnect(this=0x796ca9b000,api=1)
07-09 16:22:15.232 19613 19613 D SoundPool: native_release called
07-09 16:22:15.233 19613 19613 D SoundPool: native_release end
07-09 16:22:15.240 19613 19613 V PhoneWindow: DecorView setVisiblity: visibility = 4, Parent = android.view.ViewRootImpl@b36d757, this = DecorView@fea9498[TermuxActivity]
07-09 16:22:53.906 19613 21054 I NuMediaExtractor: setDataSource fd=65 (/mnt/expand/20720b14-d2a1-4182-8f56-d93f25aa8778/app/com.termux-WwnHm-uZJ-s7coEAMh7y6w==/base.apk), offset=88596428, length=5090
07-09 16:22:53.909 19613 19613 V PhoneWindow: DecorView setVisiblity: visibility = 0, Parent = android.view.ViewRootImpl@b36d757, this = DecorView@fea9498[TermuxActivity]
07-09 16:22:53.925 19613 21054 I MediaCodec: CreateByType(), mime = audio/vorbis, encoder = 0
07-09 16:22:53.927 19613 20271 D Surface : Surface::connect(this=0x796ca9b000,api=1)
07-09 16:22:53.927 19613 21054 I MediaCodec: ----------------------------------------
07-09 16:22:53.927 19613 21054 I MediaCodec: matched component [c2.android.vorbis.decoder]
07-09 16:22:53.927 19613 21054 I MediaCodec: matched component [OMX.google.vorbis.decoder]
07-09 16:22:53.927 19613 21054 I MediaCodec: ----------------------------------------
07-09 16:22:53.927 19613 21054 I MediaCodec: new MediaCodec()
07-09 16:22:53.930 19613 21055 D CCodec  : allocate(c2.android.vorbis.decoder)
07-09 16:22:53.930 19613 20271 D Surface : Surface::setBufferCount(this=0x796ca9b000,bufferCount=3)
07-09 16:22:53.930 19613 20271 D Surface : Surface::allocateBuffers(this=0x796ca9b000)
07-09 16:22:53.934 19613 21055 I CCodec  : Created component [c2.android.vorbis.decoder]
07-09 16:22:53.934 19613 21055 D CCodecConfig: read media type: audio/vorbis
07-09 16:22:53.936 19613 21055 D ReflectedParamUpdater: extent() != 1 for single value type: algo.buffers.max-count.values
07-09 16:22:53.937 19613 21055 D ReflectedParamUpdater: extent() != 1 for single value type: output.subscribed-indices.values
07-09 16:22:53.937 19613 21055 D ReflectedParamUpdater: extent() != 1 for single value type: input.buffers.allocator-ids.values
07-09 16:22:53.937 19613 21055 D ReflectedParamUpdater: extent() != 1 for single value type: output.buffers.allocator-ids.values
07-09 16:22:53.937 19613 21055 D ReflectedParamUpdater: extent() != 1 for single value type: algo.buffers.allocator-ids.values
07-09 16:22:53.937 19613 21055 D ReflectedParamUpdater: extent() != 1 for single value type: output.buffers.pool-ids.values
07-09 16:22:53.937 19613 21055 D ReflectedParamUpdater: extent() != 1 for single value type: algo.buffers.pool-ids.values
07-09 16:22:53.939 19613 21055 I CCodecConfig: query failed after returning 7 values (BAD_INDEX)
07-09 16:22:53.939 19613 21055 D CCodecConfig: c2 config is Dict {
07-09 16:22:53.939 19613 21055 D CCodecConfig:   c2::u32 coded.bitrate.value = 64000
07-09 16:22:53.939 19613 21055 D CCodecConfig:   c2::u32 input.buffers.max-size.value = 32768
07-09 16:22:53.939 19613 21055 D CCodecConfig:   c2::u32 input.delay.value = 0
07-09 16:22:53.939 19613 21055 D CCodecConfig:   string input.media-type.value = "audio/vorbis"
07-09 16:22:53.939 19613 21055 D CCodecConfig:   string output.media-type.value = "audio/raw"
07-09 16:22:53.939 19613 21055 D CCodecConfig:   c2::u32 raw.channel-count.value = 1
07-09 16:22:53.939 19613 21055 D CCodecConfig:   c2::u32 raw.sample-rate.value = 48000
07-09 16:22:53.939 19613 21055 D CCodecConfig: }
07-09 16:22:53.939 19613 21054 I MediaCodec: configure()
07-09 16:22:53.940 19613 21055 D CCodecConfig: no c2 equivalents for durationUs
07-09 16:22:53.940 19613 21055 D CCodecConfig: no c2 equivalents for csd-1
07-09 16:22:53.940 19613 21055 D CCodecConfig: no c2 equivalents for track-id
07-09 16:22:53.940 19613 21055 D CCodecConfig: no c2 equivalents for channel-mask
07-09 16:22:53.941 19613 21055 D CCodecConfig: c2 config is Dict {
07-09 16:22:53.941 19613 21055 D CCodecConfig:   c2::u32 coded.bitrate.value = 64000
07-09 16:22:53.941 19613 21055 D CCodecConfig:   c2::u32 input.buffers.max-size.value = 32768
07-09 16:22:53.941 19613 21055 D CCodecConfig:   c2::u32 input.delay.value = 0
07-09 16:22:53.941 19613 21055 D CCodecConfig:   string input.media-type.value = "audio/vorbis"
07-09 16:22:53.941 19613 21055 D CCodecConfig:   string output.media-type.value = "audio/raw"
07-09 16:22:53.941 19613 21055 D CCodecConfig:   c2::u32 raw.channel-count.value = 1
07-09 16:22:53.941 19613 21055 D CCodecConfig:   c2::u32 raw.sample-rate.value = 44100
07-09 16:22:53.941 19613 21055 D CCodecConfig: }
07-09 16:22:53.941 19613 21055 W Codec2Client: query -- param skipped: index = 1107298332.
07-09 16:22:53.942 19613 21055 D CCodec  : setup formats input: AMessage(what = 0x00000000) = {
07-09 16:22:53.942 19613 21055 D CCodec  :   int32_t channel-count = 1
07-09 16:22:53.942 19613 21055 D CCodec  :   int32_t max-input-size = 32768
07-09 16:22:53.942 19613 21055 D CCodec  :   string mime = "audio/vorbis"
07-09 16:22:53.942 19613 21055 D CCodec  :   int32_t sample-rate = 44100
07-09 16:22:53.942 19613 21055 D CCodec  : } and output: AMessage(what = 0x00000000) = {
07-09 16:22:53.942 19613 21055 D CCodec  :   int32_t channel-count = 1
07-09 16:22:53.942 19613 21055 D CCodec  :   string mime = "audio/raw"
07-09 16:22:53.942 19613 21055 D CCodec  :   int32_t sample-rate = 44100
07-09 16:22:53.942 19613 21055 D CCodec  :   int32_t channel-mask = 1
07-09 16:22:53.942 19613 21055 D CCodec  : }
07-09 16:22:53.942 19613 21054 I MediaCodec: Audio start()
07-09 16:22:53.944 19613 21055 W Codec2Client: query -- param skipped: index = 1342179345.
07-09 16:22:53.944 19613 21055 W Codec2Client: query -- param skipped: index = 2415921170.
07-09 16:22:53.946 19613 21055 D CCodecBufferChannel: [c2.android.vorbis.decoder#912] Created input block pool with allocatorID 16 => poolID 28 - OK (0)
07-09 16:22:53.948 19613 20280 D BufferPoolAccessor: bufferpool2 0x796cb6e420 : 0(0 size) total buffers - 0(0 size) used buffers - 2/9 (recycle/alloc) - 7/24 (fetch/transfer)
07-09 16:22:53.948 19613 20280 D BufferPoolAccessor: Destruction - bufferpool2 0x796cb6e420 cached: 0/0M, 0/0% in use; allocs: 9, 22% recycled; transfers: 24, 71% unfetced
07-09 16:22:53.948 19613 21055 I CCodecBufferChannel: [c2.android.vorbis.decoder#912] Created output block pool with allocatorID 16 => poolID 79 - OK
07-09 16:22:53.948 19613 21055 D CCodecBufferChannel: [c2.android.vorbis.decoder#912] Configured output block pool ids 79 => OK
07-09 16:22:53.974 19613 21054 I MediaCodec: stop()
07-09 16:22:53.974 19613 21054 I MediaCodec: Audio release()
07-09 16:22:53.977 19613 21054 I MediaCodec: ~MediaCodec()
07-09 16:22:54.007 19613 19613 I Choreographer: Skipped 1 frames!  The application may be doing too much work on its main thread.
07-09 16:22:54.122 19613 19613 D ColorViewRootUtil: initSwipState, isDisplayCompatApp false
07-09 16:22:54.124 19613 19613 D ColorViewRootUtil: mScreenHeight 1600, mScreenWidth 720
07-09 16:22:54.219 19613 19613 D ColorViewRootUtil: nav bar mode ignore false downX 150 downY 706 mScreenHeight 1600 mScreenWidth 720 mStatusBarHeight 36 globalScale 1.7560976 nav mode 0 rotation 0 event MotionEvent { action=ACTION_DOWN, actionButton=0, id[0]=0, x[0]=150.0, y[0]=706.0, toolType[0]=TOOL_TYPE_FINGER, buttonState=0, classification=NONE, metaState=0, flags=0x0, edgeFlags=0x0, pointerCount=1, historySize=0, eventTime=3767647, downTime=3767647, deviceId=2, source=0x1002, displayId=0 }
07-09 16:22:54.622 19613 19613 D ColorViewRootUtil: initSwipState, isDisplayCompatApp false
07-09 16:22:54.623 19613 19613 D ColorViewRootUtil: mScreenHeight 1600, mScreenWidth 720
07-09 16:22:54.624 19613 19613 D WindowManager: Add to mViews: android.widget.PopupWindow$PopupDecorView{2eb5147 V.E...... R.....I. 0,0-0,0}, this = android.view.WindowManagerGlobal@4da9f5a,pkg= com.termux
07-09 16:22:54.629 19613 19613 D ViewRootImpl[PopupWindow:cce4cc8]: hardware acceleration = true , fakeHwAccelerated = false, sRendererDisabled = false, forceHwAccelerated = false, sSystemRendererDisabled = false
07-09 16:22:54.635 19613 19613 I InputTransport: Create ARC handle: 0x79652a0340
07-09 16:22:54.638 19613 19613 D ColorViewRootUtil: initSwipState, isDisplayCompatApp false
07-09 16:22:54.640 19613 19613 D ColorViewRootUtil: mScreenHeight 1600, mScreenWidth 720
07-09 16:22:54.641 19613 19613 D WindowManager: Add to mViews: android.widget.PopupWindow$PopupDecorView{f01bae3 V.E...... R.....I. 0,0-0,0}, this = android.view.WindowManagerGlobal@4da9f5a,pkg= com.termux
07-09 16:22:54.644 19613 19613 D ViewRootImpl[PopupWindow:4df6d74]: hardware acceleration = true , fakeHwAccelerated = false, sRendererDisabled = false, forceHwAccelerated = false, sSystemRendererDisabled = false
07-09 16:22:54.650 19613 19613 I InputTransport: Create ARC handle: 0x79653f5240
07-09 16:22:54.663 19613 19613 D TestOverScroll: getScaledOverscrollDistance: b
07-09 16:22:54.671 19613 19613 I Choreographer: Skipped 3 frames!  The application may be doing too much work on its main thread.
07-09 16:22:54.672 19613 19613 E ViewDragHelper: Ignoring pointerId=0 because ACTION_DOWN was not received for this pointer before ACTION_MOVE. It likely happened because  ViewDragHelper did not receive all the events in the event stream.
07-09 16:22:54.672 19613 19613 I chatty  : uid=10188(com.termux) identical 2 lines
07-09 16:22:54.672 19613 19613 E ViewDragHelper: Ignoring pointerId=0 because ACTION_DOWN was not received for this pointer before ACTION_MOVE. It likely happened because  ViewDragHelper did not receive all the events in the event stream.
07-09 16:22:54.689 19613 20271 D Surface : Surface::connect(this=0x796598e000,api=1)
07-09 16:22:54.691 19613 20271 D Surface : Surface::setBufferCount(this=0x796598e000,bufferCount=3)
07-09 16:22:54.691 19613 20271 D Surface : Surface::allocateBuffers(this=0x796598e000)
07-09 16:22:54.708 19613 20271 D Surface : Surface::connect(this=0x7965572000,api=1)
07-09 16:22:54.710 19613 20271 D Surface : Surface::setBufferCount(this=0x7965572000,bufferCount=3)
07-09 16:22:54.710 19613 20271 D Surface : Surface::allocateBuffers(this=0x7965572000)
07-09 16:22:54.732 19613 19613 I Choreographer: Skipped 2 frames!  The application may be doing too much work on its main thread.
07-09 16:22:54.733 19613 19613 E ViewDragHelper: Ignoring pointerId=0 because ACTION_DOWN was not received for this pointer before ACTION_MOVE. It likely happened because  ViewDragHelper did not receive all the events in the event stream.
07-09 16:22:54.733 19613 19613 I chatty  : uid=10188(com.termux) identical 2 lines
07-09 16:22:54.733 19613 19613 E ViewDragHelper: Ignoring pointerId=0 because ACTION_DOWN was not received for this pointer before ACTION_MOVE. It likely happened because  ViewDragHelper did not receive all the events in the event stream.
07-09 16:22:54.756 19613 19613 D ColorViewRootUtil: initSwipState, isDisplayCompatApp false
07-09 16:22:54.757 19613 19613 D ColorViewRootUtil: mScreenHeight 1600, mScreenWidth 720
07-09 16:22:54.759 19613 19613 D ColorViewRootUtil: initSwipState, isDisplayCompatApp false
07-09 16:22:54.760 19613 19613 D ColorViewRootUtil: mScreenHeight 1600, mScreenWidth 720
07-09 16:22:54.761 19613 19613 I Choreographer: Skipped 1 frames!  The application may be doing too much work on its main thread.
07-09 16:22:54.762 19613 19613 E ViewDragHelper: Ignoring pointerId=0 because ACTION_DOWN was not received for this pointer before ACTION_MOVE. It likely happened because  ViewDragHelper did not receive all the events in the event stream.
07-09 16:22:54.771 19613 19613 I chatty  : uid=10188(com.termux) identical 6 lines
07-09 16:22:54.771 19613 19613 E ViewDragHelper: Ignoring pointerId=0 because ACTION_DOWN was not received for this pointer before ACTION_MOVE. It likely happened because  ViewDragHelper did not receive all the events in the event stream.
07-09 16:22:55.144 19613 19613 D ColorViewRootUtil: initSwipState, isDisplayCompatApp false
07-09 16:22:55.146 19613 19613 D ColorViewRootUtil: mScreenHeight 1600, mScreenWidth 720
07-09 16:22:55.147 19613 19613 D WindowManager: Add to mViews: android.widget.PopupWindow$PopupDecorView{14722d3 V.E...... R.....I. 0,0-0,0}, this = android.view.WindowManagerGlobal@4da9f5a,pkg= com.termux
07-09 16:22:55.151 19613 19613 D ViewRootImpl[PopupWindow:bf31ba4]: hardware acceleration = true , fakeHwAccelerated = false, sRendererDisabled = false, forceHwAccelerated = false, sSystemRendererDisabled = false
07-09 16:22:55.158 19613 19613 I InputTransport: Create ARC handle: 0x7965549ce0
07-09 16:22:55.179 19613 20271 D Surface : Surface::connect(this=0x79659c6000,api=1)
07-09 16:22:55.180 19613 20271 D Surface : Surface::setBufferCount(this=0x79659c6000,bufferCount=3)
07-09 16:22:55.181 19613 20271 D Surface : Surface::allocateBuffers(this=0x79659c6000)
07-09 16:22:55.196 19613 19613 I Choreographer: Skipped 1 frames!  The application may be doing too much work on its main thread.
07-09 16:22:55.200 19613 19613 D ColorViewRootUtil: initSwipState, isDisplayCompatApp false
07-09 16:22:55.201 19613 19613 D ColorViewRootUtil: mScreenHeight 1600, mScreenWidth 720
07-09 16:22:55.570 19613 19613 D ColorViewRootUtil: nav bar mode ignore false downX 134 downY 646 mScreenHeight 1600 mScreenWidth 720 mStatusBarHeight 36 globalScale 1.7560976 nav mode 0 rotation 0 event MotionEvent { action=ACTION_DOWN, actionButton=0, id[0]=0, x[0]=134.0, y[0]=42.0, toolType[0]=TOOL_TYPE_FINGER, buttonState=0, classification=NONE, metaState=0, flags=0x0, edgeFlags=0x0, pointerCount=1, historySize=0, eventTime=3768998, downTime=3768998, deviceId=2, source=0x1002, displayId=0 }
07-09 16:22:55.679 19613 20271 D Surface : Surface::disconnect(this=0x796598e000,api=1)
07-09 16:22:55.680 19613 19613 D View    : [Warning] assignParent to null: this = android.widget.PopupWindow$PopupDecorView{2eb5147 V.E...... R....... 0,0-62,31}
07-09 16:22:55.680 19613 19613 I InputTransport: Destroy ARC handle: 0x79652a0340
07-09 16:22:55.688 19613 20271 D Surface : Surface::disconnect(this=0x7965572000,api=1)
07-09 16:22:55.689 19613 19613 D View    : [Warning] assignParent to null: this = android.widget.PopupWindow$PopupDecorView{f01bae3 V.E...... R.....I. 0,0-62,31}
07-09 16:22:55.689 19613 19613 I InputTransport: Destroy ARC handle: 0x79653f5240
07-09 16:22:55.824 19613 20271 D Surface : Surface::disconnect(this=0x79659c6000,api=1)
07-09 16:22:55.825 19613 20271 D OpenGLRenderer: endAllActiveAnimators on 0x7965a09900 (RippleDrawable) with handle 0x79d6b4d680
07-09 16:22:55.826 19613 19613 D View    : [Warning] assignParent to null: this = android.widget.PopupWindow$PopupDecorView{14722d3 V.E...... R......D 0,0-297,69}
07-09 16:22:55.826 19613 19613 I InputTransport: Destroy ARC handle: 0x7965549ce0
07-09 16:22:56.113 19613 19613 V ViewRootImpl[TermuxActivity]: [ANR Warning]Input routeing takes more than 6000ms since 2021-07-09 16:20:20.176, this = com.mediatek.view.impl.ViewDebugManagerImpl@87dcca4
07-09 16:22:56.114 19613 19613 V ViewRootImpl[TermuxActivity]: Input event delivered to android.view.ViewRootImpl$EarlyPostImeInputStage@43df2de at 2021-07-09 16:22:56.110
07-09 16:22:56.114 19613 19613 V ViewRootImpl[TermuxActivity]: Input event delivered to android.view.ViewRootImpl$SyntheticInputStage@b91e6d5 at 2021-07-09 16:22:56.111
07-09 16:22:56.114 19613 19613 V ViewRootImpl[TermuxActivity]: Input event delivered to android.view.ViewRootImpl$ViewPostImeInputStage@1da3f8c at 2021-07-09 16:22:56.110
07-09 16:22:56.114 19613 19613 V ViewRootImpl[TermuxActivity]: Input event delivered to android.view.ViewRootImpl$NativePostImeInputStage@4143cbf at 2021-07-09 16:22:56.110
07-09 16:22:56.116 19613 19613 V ViewRootImpl[TermuxActivity]: [ANR Warning]Input routeing takes more than 6000ms since 2021-07-09 16:20:20.176, this = com.mediatek.view.impl.ViewDebugManagerImpl@87dcca4
07-09 16:22:56.117 19613 19613 V ViewRootImpl[TermuxActivity]: Input event delivered to android.view.ViewRootImpl$EarlyPostImeInputStage@43df2de at 2021-07-09 16:22:56.115
07-09 16:22:56.117 19613 19613 V ViewRootImpl[TermuxActivity]: Input event delivered to android.view.ViewRootImpl$SyntheticInputStage@b91e6d5 at 2021-07-09 16:22:56.115
07-09 16:22:56.117 19613 19613 V ViewRootImpl[TermuxActivity]: Input event delivered to android.view.ViewRootImpl$ViewPostImeInputStage@1da3f8c at 2021-07-09 16:22:56.115
07-09 16:22:56.118 19613 19613 V ViewRootImpl[TermuxActivity]: Input event delivered to android.view.ViewRootImpl$NativePostImeInputStage@4143cbf at 2021-07-09 16:22:56.115
07-09 16:22:56.264 19613 19613 I Choreographer: Skipped 1 frames!  The application may be doing too much work on its main thread.
07-09 16:22:56.305 19613 19613 I Choreographer: Skipped 1 frames!  The application may be doing too much work on its main thread.
:/ $

Termux App Info

APP_NAME: Termux
PACKAGE_NAME: com.termux
VERSION_NAME: 0.117
VERSION_CODE: 117
TARGET_SDK: 28
IS_DEBUG_BUILD: true
APK_RELEASE: Github Debug Build
SIGNING_CERTIFICATE_SHA256_DIGEST: B6DA01480EEFD5FBF2CD3771B8D1021EC791304BDD6C4BF41D3FAABAD48EE5E1

Device Info

Software

OS_VERSION: 4.9.190+
SDK_INT: 29
RELEASE: 10
ID: QP1A.190711.020
DISPLAY: RMX2180_11_A.95
INCREMENTAL: 1622100863
SECURITY_PATCH: 2021-06-05
IS_DEBUGGABLE: 0
IS_TREBLE_ENABLED: true
TYPE: user
TAGS: release-keys

Hardware

MANUFACTURER: realme
BRAND: realme
MODEL: RMX2180
PRODUCT: RMX2180T2
BOARD: oppo6765
HARDWARE: mt6765
DEVICE: RMX2180
SUPPORTED_ABIS: arm64-v8a, armeabi-v7a, armeabi

agnostic-apollo commented 3 years ago

/ $ mkdir -p /data/data/com.termux/files/usr-staging/bin; echo $? mkdir: '/data/data/com.termux': Permission denied 1

Have you ever rooted your device?

Also send output for stat /data/data/com.termux from failsafe session. Maybe android is not automatically creating it at app startup.

agnostic-apollo commented 3 years ago

Also are you trying to run app in work profile (or secondary user)?

ghost commented 3 years ago

@agnostic-apollo Work profile and secondary user accounts are normally detected by installer code. So remaining cases are incorrect modes/ownership or missing com.termux directory. The latter case is a system bug.

agnostic-apollo commented 3 years ago

Work profile and secondary user accounts are normally detected by installer code

Secondary user is (hence the brackets), but not work profile. It seems to need a different check as per here. Sub comments also say even that isn't working on xiaomi. Who knows maybe secondary user is faulty on some devices too. You can create work profiles with Island app. I will have to test to check things out.

The missing directory should be fixable with a call to Context.getFilesDir(). Possibly that path can be compared with /data/data/com.termux/files to handle faulty checks for work profile.

ghost commented 3 years ago

Secondary user is (hence the brackets), but not work profile.

Technically, it is a separate user profile. I didn't tried it with work profile created by Google Services (never used such and currently don't have possibility to test it), but a one created with Shelter application was detected correctly.

Possibly that path can be compared with /data/data/com.termux/files to handle faulty checks for work profile.

This will not work for Samsung devices with Secure Folder which binds /data/user/150 to /data/data in own mount namespace. Termux even works in it, with restrictions like not working am, if mentioned installer code (for checking secondary user) was removed.

ghost commented 3 years ago

a one created with Shelter application was detected correctly.

Screenshot_20210709-130337

agnostic-apollo commented 3 years ago

but a one created with Shelter application was detected correctly.

I see, assuming that check is working on the realme device above, then that would leave ownership/permission or missing directory issue.

This will not work for Samsung devices with Secure Folder which binds /data/user/150 to /data/data in own mount namespace. Termux even works in it, with restrictions like not working am, if mentioned installer code (for checking secondary user) was removed.

If termux "mostly" works for a such a "user profile" case, then wouldn't it be better to remove the profile check and do it based on getFilesDir(). Secure Folder would have advantage of extra security for someone who needs it, although bug reports may increase, but we can add such info to the report generated, we can also add an option for it in settings and keep default behaviour. Why do you say it will not work? Does getFilesDir() return /data/user/150/* or /data/data/*?

agnostic-apollo commented 3 years ago

Check is working for Island app as well on android 11 avd.

ghost commented 3 years ago

getFilesDir() will return /data/user/150/*, but Termux will be able to install bootstrap and start bash. Package manager and everything else will work too. You can use /data/user/150 as check case for detecting Secure Folder, even though this isn't correct way. Alternate way is to check write access to $PREFIX or attempting to create that directory if not exist.

You can't rely on /data/user/150/ because this path is undocumented and device can have more than one Knox container. 150 is a user ID and possibly that on other devices it will belong to normal secondary account.

Since my Samsung device now uses a custom ROM, Knox functionality has gone and I can't do further tests. But as I wrote, /data/user/150/* can be exempt from "incorrect" installation paths.

P.S. That's more like off-topic. Secure Folder support is another issue, not this one.

agnostic-apollo commented 3 years ago

So I tested it out and created a work profile in android 10 rooted avd and then ran /sbin/su -mm -c mount /data/user/10/com.termux /data/data/com.termux after removing the primary user check and managed to get termux working in the work profile as well. I didn't test much, but apt worked, but am didn't, but if someone has root, then am could be usable too. The mount command was done in the global namespace which broke the primary user termux since it should be done in the right namespace normally, but that would have required changes or time and possibly magisk manager to be installed in work profile as well. Unmount can be done with /sbin/su -mm -c umount /data/data/com.termux.

Alternate way is to check write access to $PREFIX You can't rely on /data/user/150/

Yeah, checking for /data/data/com.termux/files was enough in my tests.

Basically, its possible to add restricted support for multiple users for rooted users or where bind mount is done by default by the OS like in Samsung's case. I didn't add that support yet since that would require more time, cause users should be shown a prompt for that and if they want to accept the risks, also a shared preference for the choice and possibly a warning in termux settings about the restricted termux, and that @termux won't be obligated to provide much support for broken stuff.

As for current issue, @Ftwrr still hasn't sent the output for stat /data/data/com.termux so still not sure why its failing on their device. The latest debug build has added the call for getFilesDir(), so if missing directory is the issue, hopefully it should work.

The build will also show the secondary user/work profile info on bootstrap installation failure. Note that USER_ID and /data/user/<id> are different even though its /data/user/0 for primary user 0.

Secondary User

Secondary Test User

Work Profile

Island Profile

agnostic-apollo commented 3 years ago

Looking more closely into aosp code, /data/user/0/com.termux or /data/data/com.termux would not be created by a call to Context.getFilesDir(). It gets the data directory file by calling getDataDir() which would actually just log an exception if the data directory is not null and doesn't exist and is being run by the system user, without actually creating it. If its null, then an exception will be thrown, but that likely doesn't apply in our case. The ensurePrivateDirExists() wouldn't create it either since it makes the mkdir syscall only, which wouldn't create the parent directories of files. I checked and deleted the data directory with root after installing and running an example app and then called getFilesDir() and it logged as expected Failed to ensure /data/user/0/<package_name>/files: mkdir failed: ENOENT (No such file or directory). The data directory is not necessary for app to run and is normally created by android on install or update and not on every app start. So missing directory issue wouldn't be fixed by the call. I should have checked this before committing to master.

agnostic-apollo commented 3 years ago

Another potential reason for failure could be that the OP's android creates the /data/user/0/com.termux directory and not the symlink from /data/user/0 to /data/data, since Context.getFilesDir() likely returns /data/user/0/com.termux on the device and the path returned by it is what apps are supposed to use (some devices would return /data/data/com.termux). In that case, official termux likely can't be used on the device (without root).

$ stat /data/user/0
  File: /data/user/0 -> /data/data
  Size: 10              Blocks: 0          IO Block: 4096   symbolic link
Device: 10303h/66307d   Inode: 343394      Links: 1
Access: (0777/lrwxrwxrwx)  Uid: (    0/    root)   Gid: (    0/    root)
agnostic-apollo commented 2 years ago

Install v0.118.0+ and post errors if any.

Grimler91 commented 2 years ago

@BlackKDX 0.118+ (i.e. 0.119) is not released yet. Install from github in the meanwhile, see wiki: https://github.com/termux/termux-app/wiki/Termux-on-android-5-or-6

w311ang commented 2 months ago

The mount command was done in the global namespace which broke the primary user termux since it should be done in the right namespace normally,

for https://github.com/termux/termux-app/issues/2168#issuecomment-877621546. You can mount it for Termux in other users separately, I used this module https://github.com/HuskyDG/magic_proc_monitor