Please help me!Thanks - General Questions and Answers

When I build arom for my device ,Ihave aproblem that I can't slove :crying:
make_vars-mk_N939St.mk:362: warning: Soong: -fno-exceptions -Wno-multichar -fno-strict-aliasing -fstack-protector-strong -ffunction-sections -fdata-sections -funwind-tables -Wa,--noexecstack -Werror=format-security -D_FORTIFY_SOURCE=2 -fno-short-enums -no-canonical-prefixes -fno-canonical-system-headers -Werror=pointer-to-int-cast -Werror=int-to-pointer-cast -Werror=implicit-function-declaration -fno-strict-volatile-bitfields -DNDEBUG -O2 -g -Wstrict-aliasing=2 -fgcse-after-reload -frerun-cse-after-loop -frename-registers -DANDROID -fmessage-length=0 -W -Wall -Wno-unused -Winit-self -Wpointer-arith -DNDEBUG -UDEBUG -fdebug-prefix-map=/proc/self/cwd= -fdiagnostics-color -Werror=return-type -Werror=non-virtual-dtor -Werror=address -Werror=sequence-point -Werror=date-time -mcpu=cortex-a53
/home/jack/Mokee/O/out/soong/make_vars-mk_N939St.mk:810: error: Soong variable check failed.
18:19:38 ckati failed with: exit status 1
build/core/main.mk:21: recipe for target 'run_soong_ui' failed
make: *** [run_soong_ui] Error 1

Related

Problem with xposed on moto g 4.4.3

For some reason when i flash xposed framework and reboot, my phone will boot till the boot animation and turn to a black screen halfway, and then the only way is to press power button which will make the phone vibrate, and i need to keep pressing until the phone stops vibrating when i press the power button, than it will go to my lock screen and everything is normal except that xposed is no working. and i have no idea why
how do i get a log for what is happening during boot to prevent xposed from working for my phone?
/system/bin/sh : sh
D/libsuperuser( 9334): [libsuperuser][O][SU-] -BOC-
D/libsuperuser( 9334): [libsuperuser][O][SU-] uid=0(root) gid=0(root) context=u:
r:init_shell:s0
D/libsuperuser( 9334): [libsuperuser][O][SU*] 1500e016-94cd-4086-9a81-05512b836a
52-00000001
D/libsuperuser( 9334): [libsuperuser][O][SU-] 1500e016-94cd-4086-9a81-05512b836a
52-00000001 0
D/libsuperuser( 9334): [libsuperuser][C][SU+] /data/data/de.robv.android.xposed.
installer/cache/busybox-xposed mount -o remount,rw /system
D/libsuperuser( 9334): [libsuperuser][O][SU-] 541b4208-dad3-4691-9d8b-4a26c396cd
e8-00000002 0
D/libsuperuser( 9334): [libsuperuser][O][SU*] 541b4208-dad3-4691-9d8b-4a26c396cd
e8-00000002
D/libsuperuser( 9334): [libsuperuser][C][SU+] /data/data/de.robv.android.xposed.
installer/cache/busybox-xposed cp -a /system/bin/app_process /system/bin/app_pro
cess.orig
D/libsuperuser( 9334): [libsuperuser][O][SU*] c3de7cbe-c70d-4b79-9735-5c7270c5f7
0a-00000003
D/libsuperuser( 9334): [libsuperuser][O][SU-] c3de7cbe-c70d-4b79-9735-5c7270c5f7
0a-00000003 0
D/libsuperuser( 9334): [libsuperuser][C][SU+] /data/data/de.robv.android.xposed.
installer/cache/busybox-xposed sync
D/libsuperuser( 9334): [libsuperuser][O][SU-] b15e5de8-9b25-4948-939e-9850a7ed67
83-00000004 0
D/libsuperuser( 9334): [libsuperuser][O][SU*] b15e5de8-9b25-4948-939e-9850a7ed67
83-00000004
D/libsuperuser( 9334): [libsuperuser][C][SU+] /data/data/de.robv.android.xposed.
installer/cache/busybox-xposed cp -a /data/data/de.robv.android.xposed.installer
/bin/app_process /system/bin/app_process
D/libsuperuser( 9334): [libsuperuser][O][SU-] 0fccd2f5-558f-4f67-8623-2efbc262a4
bb-00000005 0
D/libsuperuser( 9334): [libsuperuser][O][SU*] 0fccd2f5-558f-4f67-8623-2efbc262a4
bb-00000005
D/libsuperuser( 9334): [libsuperuser][C][SU+] /data/data/de.robv.android.xposed.
installer/cache/busybox-xposed chmod 755 /system/bin/app_process
D/libsuperuser( 9334): [libsuperuser][O][SU-] f0e4937e-0fe9-4c70-a42e-15b1549061
db-00000006 0
D/libsuperuser( 9334): [libsuperuser][O][SU*] f0e4937e-0fe9-4c70-a42e-15b1549061
db-00000006
D/libsuperuser( 9334): [libsuperuser][C][SU+] /data/data/de.robv.android.xposed.
installer/cache/busybox-xposed chown root:shell /system/bin/app_process
D/libsuperuser( 9334): [libsuperuser][O][SU*] df222303-06bc-4e56-bc3e-eab809a464
5b-00000007
D/libsuperuser( 9334): [libsuperuser][O][SU-] df222303-06bc-4e56-bc3e-eab809a464
5b-00000007 0
D/libsuperuser( 9334): [libsuperuser][C][SU+] /data/data/de.robv.android.xposed.
installer/cache/busybox-xposed rm /data/data/de.robv.android.xposed.installer/co
nf/disabled
D/libsuperuser( 9334): [libsuperuser][O][SU*] cdddb043-2a85-4d32-a894-f6a4a74771
14-00000008
D/libsuperuser( 9334): [libsuperuser][O][SU-] cdddb043-2a85-4d32-a894-f6a4a74771
14-00000008 0
D/libsuperuser( 9334): [libsuperuser][C][SU+] /data/data/de.robv.android.xposed.
installer/cache/busybox-xposed sync
D/libsuperuser( 9334): [libsuperuser][O][SU-] c12921c3-3d1c-44cc-8145-46e800647b
38-00000009 0
D/libsuperuser( 9334): [libsuperuser][O][SU*] c12921c3-3d1c-44cc-8145-46e800647b
38-00000009
I/XposedInstaller( 9334): updating modules.list
I/SFPerfTracer( 263): triggers: (rate: 11:424) (compose: 0:7) (post: 0:1)
(render: 0:17) (12:3906 frames) (13:7349)
D/SFPerfTracer( 263): layers: (5:11) (DimLayer: 0:2)* (FocusedStackFrame
: 0:55)* (StatusBar: 0:1161) (NavigationBar: 0:356) (com.go.multiplewallpaper.Mu
ltipleWallpaperService: 0:82)* (DimLayer: 13:101) (de.robv.android.xposed.instal
ler/de.robv.android.xposed.installer.WelcomeActivity: 0:111)* (de.robv.android.x
posed.installer/de.robv.android.xposed.installer.XposedInstallerActivity: 0:70)
(de.robv.android.xposed.installer/de.robv.android.xposed.installer.XposedInstall
erActivity: 13:18)
W/linker ( 9743): /system/bin/app_process has text relocations. This is wasting
memory and is a security risk. Please fix.
D/AndroidRuntime( 9743):
D/AndroidRuntime( 9743): >>>>>> AndroidRuntime START com.android.internal.os.Run
timeInit <<<<<<
D/AndroidRuntime( 9743): CheckJNI is OFF
D/dalvikvm( 9743): Trying to load lib libjavacore.so 0x0
D/dalvikvm( 9743): Added shared lib libjavacore.so 0x0
D/dalvikvm( 9743): Trying to load lib libnativehelper.so 0x0
D/dalvikvm( 9743): Added shared lib libnativehelper.so 0x0
D/dalvikvm( 9743): No JNI_OnLoad found in libnativehelper.so 0x0, skipping init
D/dalvikvm( 9743): Note: class Landroid/app/ActivityManagerNative; has 181 unimp
lemented (abstract) methods
W/SurfaceFlinger( 263): couldn't log to binary event log: overflow.
E/memtrack( 9743): Couldn't load memtrack module (No such file or directory)
E/android.os.Debug( 9743): failed to load memtrack module: -2
D/AndroidRuntime( 9743): Calling main entry com.android.commands.am.Am
I/ActivityManager( 1027): Start proc com.koushikdutta.superuser for broadcast co
m.koushikdutta.superuser/.SuReceiver: pid=9790 uid=10102 gids={50102}
D/AndroidRuntime( 9743): Shutting down VM
D/dalvikvm( 9743): GC_CONCURRENT freed 97K, 14% free 609K/708K, paused 1ms+0ms,
total 3ms
I/SFPerfTracer( 263): triggers: (rate: 11:425) (compose: 0:7) (post: 0:1)
(render: 0:19) (43:3964 frames) (44:7419)
D/SFPerfTracer( 263): layers: (6:12) (DimLayer: 0:2)* (FocusedStackFrame
: 0:58)* (StatusBar: 0:1161) (NavigationBar: 0:356) (com.go.multiplewallpaper.Mu
ltipleWallpaperService: 0:82)* (DimLayer: 0:121) (de.robv.android.xposed.install
er/de.robv.android.xposed.installer.XposedInstallerActivity: 0:71) (de.robv.andr
oid.xposed.installer/de.robv.android.xposed.installer.XposedInstallerActivity: 0
:30)* (de.robv.android.xposed.installer/de.robv.android.xposed.installer.XposedI
nstallerActivity: 17:36) (Toast: 30:33)
I/ActivityManager( 1027): Killing 9491:com.android.settings/1000 (adj 15): empty
#9
W/ContextImpl( 1331): Calling a method in the system process without a qualified
user: android.app.ContextImpl.sendBroadcast:1252 android.content.ContextWrapper
.sendBroadcast:365 com.motorola.motocare.util.TriggerHelper$TriggerBuilder.send:
76 com.motorola.motocare.internal.frameworkevents.ProcessKillTrigger.sendTrigger
:147 com.motorola.motocare.internal.frameworkevents.ProcessKillTrigger.handleFra
meworkEvent:164
I/SFPerfTracer( 263): triggers: (rate: 0:0) (995 sw vsyncs) (0 skipped) (4
4:7269 vsyncs) (46:11890)
D/WifiService( 1027): Client connection lost with reason: 4
D/libsuperuser( 9334): [libsuperuser][C][SU+] /data/data/de.robv.android.xposed.
installer/cache/busybox-xposed reboot
E/qdhwcomposer( 263): hwc_sync: ioctl MSMFB_BUFFER_SYNC failed, err=Operation n
ot permitted
E/qdhwcomposer( 263): hwc_sync: acq_fen_fd_cnt=1 flags=0 fd=16 dpy=0 numHwLayer
s=6
E/qdoverlay( 263): Failed to call ioctl MSMFB_OVERLAY_PLAY err=Operation not pe
rmitted
E/qdoverlay( 263): MdpData failed to play
E/qdoverlay( 263): == Dump MdpData start ==
E/qdoverlay( 263): == Dump OvFD fd=63 path=/dev/graphics/fb0 start/end ==
E/qdoverlay( 263): mOvData msmfb_overlay_data id=8
E/qdoverlay( 263): data msmfb_data offset=0 memid=27 id=0 flags=0x0 priv=0
E/qdoverlay( 263): == Dump MdpData end ==
E/qdhwcomposer( 263): draw: queueBuffer failed for FBUpdate
E/qdhwcomposer( 263): hwc_set_primary: FBUpdate draw failed
E/qdoverlay( 263): Failed to call ioctl MSMFB_DISPLAY_COMMIT err=Operation not
permitted
E/qdoverlay( 263): static bool overlay:verlay::displayCommit(const int&, cons
t overlay::utils:im&): commit failed
E/qdhwcomposer( 263): hwc_set_primary: display commit fail for 0 dpy!
E/qdoverlay( 263): Failed to call ioctl MSMFB_OVERLAY_SET err=Operation not per
mitted
E/qdoverlay( 263): MdpCtrl failed to setOverlay
E/qdoverlay( 263): == Bad OVInfo is: mdp_overlay z=0 fg=0 alpha=255 mask=-1 fl
ags=0x20000 id=8
E/qdoverlay( 263): src msmfb_img w=736 h=1280 format=13 MDP_RGBA_8888
E/qdoverlay( 263): src_rect mdp_rect x=0 y=0 w=720 h=1280
E/qdoverlay( 263): dst_rect mdp_rect x=0 y=0 w=720 h=1280
E/qdoverlay( 263): Ctrl commit failed set overlay
E/qdhwcomposer( 263): configure: configMdp failed for dpy 0
E/qdoverlay( 263): Failed to call ioctl MSMFB_OVERLAY_UNSET err=Operation not p
ermitted
E/qdoverlay( 263): MdpCtrl close error in unset
Are you running ART or Dalvik? Xposed will not currently work with ART.
SbM_ said:
Are you running ART or Dalvik? Xposed will not currently work with ART.
Click to expand...
Click to collapse
im using davlik
Xposed automatically switch your system to Dalvik.
Flash the Xposed-recovery that you have on your SD-Card via Custom Recovery.
Then reboot, remove all the Xposed settings/apk/etc. - reboot and reinstall Xposed.
*also be sure you have busybox and supersu installed.
darkeingel said:
Xposed automatically switch your system to Dalvik.
Flash the Xposed-recovery that you have on your SD-Card via Custom Recovery.
Then reboot, remove all the Xposed settings/apk/etc. - reboot and reinstall Xposed.
*also be sure you have busybox and supersu installed.
Click to expand...
Click to collapse
i never change to art at all, it was working fine till i restarted my phone
You FLASH Xposed?
edisso10018 said:
You FLASH Xposed?
Click to expand...
Click to collapse
i install the app and install the framework from there?
darkeingel said:
Xposed automatically switch your system to Dalvik.
Flash the Xposed-recovery that you have on your SD-Card via Custom Recovery.
Then reboot, remove all the Xposed settings/apk/etc. - reboot and reinstall Xposed.
*also be sure you have busybox and supersu installed.
Click to expand...
Click to collapse
i tried uninstalling the apks for xposed and other xposed related apks and reinstall, but its not working

[Completed] MicromaxA089 mobile gives Camera error "UnfortunatelyGallery has stopped" after flash

MicromaxA089 mobile gives Camera error "UnfortunatelyGallery has stopped" after flash
Hi after installing customr rom in micromax a089 mobile , it gives camera error "UnfortunatelyGallery has stopped" and camera gets closed.
This is only problem facing after flashing custom rom
Could you pleas ehelp , attached catLog file. Thanks
Sorry forgot to add the logs...here it is.
catLog:
=========
10-08 13:21:10.507 E/AlarmManager(531): Alarm at trigger: Alarm{42288d88 type 2 com.google.android.gms}
10-08 13:21:16.986 E/OMXCodec(139): @@ [OUT] def.nBufferSize = 32768
10-08 13:21:16.986 E/OMXCodec(139): @@ [OUT] totalSize = 131072
10-08 13:21:17.016 E/OMXCodec(139): @@ [OUT] def.nBufferSize = 32768
10-08 13:21:17.016 E/OMXCodec(139): @@ [OUT] totalSize = 131072
10-08 13:21:17.108 E/IspDrv (139): IspDrv[mediatek/platform/mt6572/hardware/camera/core/drv/isp/isp_drv.cpp, kRefCntCtrl, line1361] ERROR: ISP_IOC_REF_CNT_CTRL fail(-1)[errno(1)peration not permitted]
10-08 13:21:17.108 E/IspDrv (139): IspDrv[mediatek/platform/mt6572/hardware/camera/core/drv/isp/isp_drv.cpp, init, line0190] ERROR: ISP_REF_CNT_GET fail, errno(1)peration not permitted.
10-08 13:21:17.928 E/Gallery2/PhotoDataAdapter(2417): fireDataChange: enterCameraPreview
10-08 13:21:18.001 E/Gallery2/PhotoDataAdapter(2417): fireDataChange: enterCameraPreview
10-08 13:21:18.360 E/Gallery2/PhotoDataAdapter(2417): fireDataChange: enterCameraPreview
10-08 13:21:18.414 E/IspDrv (139): IspDrv[mediatek/platform/mt6572/hardware/camera/core/drv/isp/isp_drv.cpp, rtBufCtrl, line1347] ERROR: ISP_IOC_BUFFER_CTRL(-1)
10-08 13:21:18.414 E/IspDrv (139): IspDrv[mediatek/platform/mt6572/hardware/camera/core/drv/isp/isp_drv.cpp, freeAllPhyBuf, line1332] ERROR: ERROR:clear kernel ring buff failed
10-08 13:21:18.414 E/iio/camio(139): iio/camio[mediatek/platform/mt6572/hardware/camera/core/imageio/pipe/CamIOPipe/CamIOPipe.cpp, sendCommand, line0731] ERROR: CamIOPipe sendCommand NOT SUPPORT!
10-08 13:21:18.414 E/iio/camio(139): iio/camio[mediatek/platform/mt6572/hardware/camera/core/imageio/pipe/CamIOPipe/CamIOPipe.cpp, sendCommand, line0731] ERROR: CamIOPipe sendCommand NOT SUPPORT!
10-08 13:21:18.414 E/iio/camio(139): iio/camio[mediatek/platform/mt6572/hardware/camera/core/imageio/pipe/CamIOPipe/CamIOPipe.cpp, sendCommand, line0731] ERROR: CamIOPipe sendCommand NOT SUPPORT!
10-08 13:21:18.415 E/Drv/IMem(139): Drv/IMem[mediatek/platform/mt6572/hardware/camera/core/drv/imem/imem_drv.cpp, init, line0115] ERROR: ISP_REF_CNT_INC fail(-1)[errno(1)peration not permitted]
10-08 13:21:18.420 E/MtkCam/HwBuffhandler(139): (3073)[virtual void HwBuffer::createBuffer()] mpIMemDrv->init() error (virtual void HwBuffer::createBuffer()){#49:mediatek/platform/mt6572/hardware/camera/core/hwscenario/HwBuffHandler.cpp}
10-08 13:21:18.420 E/ion (139): ioctl c0144900 failed with code -1: Not a typewriter
10-08 13:21:18.420 E/Drv/IMem(139): Drv/IMem[mediatek/platform/mt6572/hardware/camera/core/drv/imem/imem_drv.cpp, allocVirtBuf, line0324] ERROR: ion_alloc_mm fail
10-08 13:21:18.420 E/MtkCam/HwBuffhandler(139): (3073)[virtual void HwBuffer::createBuffer()] mpIMemDrv->allocVirtBuf() error (virtual void HwBuffer::createBuffer()){#53:mediatek/platform/mt6572/hardware/camera/core/hwscenario/HwBuffHandler.cpp}
10-08 13:21:18.420 E/Drv/IMem(139): Drv/IMem[mediatek/platform/mt6572/hardware/camera/core/drv/imem/imem_drv.cpp, init, line0115] ERROR: ISP_REF_CNT_INC fail(-1)[errno(1)peration not permitted]
10-08 13:21:18.420 E/MtkCam/HwBuffhandler(139): (3073)[virtual void HwBuffer::createBuffer()] mpIMemDrv->init() error (virtual void HwBuffer::createBuffer()){#49:mediatek/platform/mt6572/hardware/camera/core/hwscenario/HwBuffHandler.cpp}
10-08 13:21:18.420 E/ion (139): ioctl c0144900 failed with code -1: Not a typewriter
10-08 13:21:18.420 E/Drv/IMem(139): Drv/IMem[mediatek/platform/mt6572/hardware/camera/core/drv/imem/imem_drv.cpp, allocVirtBuf, line0324] ERROR: ion_alloc_mm fail
10-08 13:21:18.420 E/MtkCam/HwBuffhandler(139): (3073)[virtual void HwBuffer::createBuffer()] mpIMemDrv->allocVirtBuf() error (virtual void HwBuffer::createBuffer()){#53:mediatek/platform/mt6572/hardware/camera/core/hwscenario/HwBuffHandler.cpp}
10-08 13:21:18.420 E/Drv/IMem(139): Drv/IMem[mediatek/platform/mt6572/hardware/camera/core/drv/imem/imem_drv.cpp, init, line0115] ERROR: ISP_REF_CNT_INC fail(-1)[errno(1)peration not permitted]
10-08 13:21:18.420 E/MtkCam/HwBuffhandler(139): (3073)[virtual void HwBuffer::createBuffer()] mpIMemDrv->init() error (virtual void HwBuffer::createBuffer()){#49:mediatek/platform/mt6572/hardware/camera/core/hwscenario/HwBuffHandler.cpp}
10-08 13:21:18.420 E/ion (139): ioctl c0144900 failed with code -1: Not a typewriter
10-08 13:21:18.420 E/Drv/IMem(139): Drv/IMem[mediatek/platform/mt6572/hardware/camera/core/drv/imem/imem_drv.cpp, allocVirtBuf, line0324] ERROR: ion_alloc_mm fail
10-08 13:21:18.420 E/MtkCam/HwBuffhandler(139): (3073)[virtual void HwBuffer::createBuffer()] mpIMemDrv->allocVirtBuf() error (virtual void HwBuffer::createBuffer()){#53:mediatek/platform/mt6572/hardware/camera/core/hwscenario/HwBuffHandler.cpp}
10-08 13:21:18.420 E/IspDrv (139): IspDrv[mediatek/platform/mt6572/hardware/camera/core/drv/isp/isp_drv.cpp, rtBufCtrl, line1347] ERROR: ISP_IOC_BUFFER_CTRL(-1)
10-08 13:21:18.420 E/IspDrv (139): IspDrv[mediatek/platform/mt6572/hardware/camera/core/drv/isp/isp_drv.cpp, enqueueHwBuf, line1168] ERROR: ERROR: get rt buf size
10-08 13:21:18.420 E/iio/camio(139): iio/camio[mediatek/platform/mt6572/hardware/camera/core/imageio/pipe/CamIOPipe/CamIOPipe.cpp, enqueOutBuf, line0296] ERROR: IspDrv enqueueHwBuf failed
10-08 13:21:18.420 E/IspDrv (139): IspDrv[mediatek/platform/mt6572/hardware/camera/core/drv/isp/isp_drv.cpp, rtBufCtrl, line1347] ERROR: ISP_IOC_BUFFER_CTRL(-1)
10-08 13:21:18.420 E/IspDrv (139): IspDrv[mediatek/platform/mt6572/hardware/camera/core/drv/isp/isp_drv.cpp, enqueueHwBuf, line1168] ERROR: ERROR: get rt buf size
10-08 13:21:18.420 E/iio/camio(139): iio/camio[mediatek/platform/mt6572/hardware/camera/core/imageio/pipe/CamIOPipe/CamIOPipe.cpp, enqueOutBuf, line0296] ERROR: IspDrv enqueueHwBuf failed
10-08 13:21:18.420 E/IspDrv (139): IspDrv[mediatek/platform/mt6572/hardware/camera/core/drv/isp/isp_drv.cpp, rtBufCtrl, line1347] ERROR: ISP_IOC_BUFFER_CTRL(-1)
10-08 13:21:18.420 E/IspDrv (139): IspDrv[mediatek/platform/mt6572/hardware/camera/core/drv/isp/isp_drv.cpp, enqueueHwBuf, line1168] ERROR: ERROR: get rt buf size
10-08 13:21:18.420 E/iio/camio(139): iio/camio[mediatek/platform/mt6572/hardware/camera/core/imageio/pipe/CamIOPipe/CamIOPipe.cpp, enqueOutBuf, line0296] ERROR: IspDrv enqueueHwBuf failed
10-08 13:21:18.424 E/iio/camio(139): iio/camio[mediatek/platform/mt6572/hardware/camera/core/imageio/pipe/CamIOPipe/CamIOPipe.cpp, sendCommand, line0731] ERROR: CamIOPipe sendCommand NOT SUPPORT!
10-08 13:21:18.424 E/IspDrv (139): IspDrv[mediatek/platform/mt6572/hardware/camera/core/drv/isp/isp_drv.cpp, waitIrq, line0399] ERROR: ISP_IOC_WAIT_IRQ fail(-1)
10-08 13:21:18.425 E/IspDrv (139): IspDrv[mediatek/platform/mt6572/hardware/camera/core/drv/isp/isp_drv.cpp, waitIrq, line0405] ERROR: SENINF reg 0x14014018=0x00000000
10-08 13:21:18.427 E/IspDrv (139): IspDrv[mediatek/platform/mt6572/hardware/camera/core/drv/isp/isp_drv.cpp, waitIrq, line0411] ERROR: SENINF reg 0x14014618=0x00000000
10-08 13:21:18.427 E/IspDrv (139): IspDrv[mediatek/platform/mt6572/hardware/camera/core/drv/isp/isp_drv.cpp, control, line1018] ERROR: waitIrq( irq_TG1_DONE ) fail
10-08 13:21:18.427 E/IspDrv (139): IspDrv[mediatek/platform/mt6572/hardware/camera/core/drv/isp/isp_drv.cpp, waitIrq, line0399] ERROR: ISP_IOC_WAIT_IRQ fail(-1)
10-08 13:21:18.428 E/IspDrv (139): IspDrv[mediatek/platform/mt6572/hardware/camera/core/drv/isp/isp_drv.cpp, waitIrq, line0405] ERROR: SENINF reg 0x14014018=0x00000000
10-08 13:21:18.429 E/IspDrv (139): IspDrv[mediatek/platform/mt6572/hardware/camera/core/drv/isp/isp_drv.cpp, waitIrq, line0411] ERROR: SENINF reg 0x14014618=0x00000000
10-08 13:21:18.429 E/iio/camio(139): iio/camio[mediatek/platform/mt6572/hardware/camera/core/imageio/pipe/CamIOPipe/CamIOPipe.cpp, irq, line0635] ERROR: waitIrq error!
10-08 13:21:18.429 E/IspDrv (139): IspDrv[mediatek/platform/mt6572/hardware/camera/core/drv/isp/isp_drv.cpp, rtBufCtrl, line1347] ERROR: ISP_IOC_BUFFER_CTRL(-1)
10-08 13:21:18.429 E/IspDrv (139): IspDrv[mediatek/platform/mt6572/hardware/camera/core/drv/isp/isp_drv.cpp, waitBufReady, line1122] ERROR: rtBufCtrl fail: ISP_RT_BUF_CTRL_IS_RDY
10-08 13:21:18.429 E/iio/camio(139): iio/camio[mediatek/platform/mt6572/hardware/camera/core/imageio/pipe/CamIOPipe/CamIOPipe.cpp, dequeOutBuf, line0332] ERROR: waitBufReady failed
10-08 13:21:18.429 E/MtkCam/VSSScen(139): [deque] mpCamIOPipe->dequeOutBuf fail (deque){#740:mediatek/platform/mt6572/hardware/camera/core/hwscenario/VSSScenario.cpp}
10-08 13:21:18.429 E/MtkCam/PrvCQT(139): (3073)[dropFrame] drop frame failed (dropFrame){#1428:mediatek/platform/mt6572/hardware/camera/hal/adapter/MtkPhoto/Preview/PreviewCmdQueThread.cpp}
10-08 13:21:18.430 E/IspDrv (139): IspDrv[mediatek/platform/mt6572/hardware/camera/core/drv/isp/isp_drv.cpp, rtBufCtrl, line1347] ERROR: ISP_IOC_BUFFER_CTRL(-1)
10-08 13:21:18.430 E/IspDrv (139): IspDrv[mediatek/platform/mt6572/hardware/camera/core/drv/isp/isp_drv.cpp, waitBufReady, line1122] ERROR: rtBufCtrl fail: ISP_RT_BUF_CTRL_IS_RDY
10-08 13:21:18.430 E/iio/camio(139): iio/camio[mediatek/platform/mt6572/hardware/camera/core/imageio/pipe/CamIOPipe/CamIOPipe.cpp, dequeOutBuf, line0332] ERROR: waitBufReady failed
10-08 13:21:18.430 E/MtkCam/VSSScen(139): [deque] mpCamIOPipe->dequeOutBuf fail (deque){#740:mediatek/platform/mt6572/hardware/camera/core/hwscenario/VSSScenario.cpp}
10-08 13:21:18.430 E/MtkCam/PrvCQT(139): (3073)[dropFrame] drop frame failed (dropFrame){#1428:mediatek/platform/mt6572/hardware/camera/hal/adapter/MtkPhoto/Preview/PreviewCmdQueThread.cpp}
10-08 13:21:18.430 E/MtkCam/CamAdapter(139): (139)(MtkPhoto)[onHandleStartPreview] StartPreview stage 2 (delay): fail (onHandleStartPreview){#140:mediatek/platform/mt6572/hardware/camera/hal/adapter/MtkPhoto/Preview/MtkPhotoCamAdapter.Preview.cpp}
10-08 13:21:18.430 E/MtkCam/CamDevice(139): (139)(Default:0)[CamDevice::startPreview] startPreview() in CameraAdapter returns: [Function not implemented(38)] (startPreview){#343:mediatek/hardware/camera/device/CamDevice/CamDevice.cpp}
10-08 13:21:18.435 E/IspDrv (139): IspDrv[mediatek/platform/mt6572/hardware/camera/core/drv/isp/isp_drv.cpp, rtBufCtrl, line1347] ERROR: ISP_IOC_BUFFER_CTRL(-1)
10-08 13:21:18.435 E/IspDrv (139): IspDrv[mediatek/platform/mt6572/hardware/camera/core/drv/isp/isp_drv.cpp, waitBufReady, line1122] ERROR: rtBufCtrl fail: ISP_RT_BUF_CTRL_IS_RDY
10-08 13:21:18.435 E/iio/camio(139): iio/camio[mediatek/platform/mt6572/hardware/camera/core/imageio/pipe/CamIOPipe/CamIOPipe.cpp, dequeOutBuf, line0332] ERROR: waitBufReady failed
10-08 13:21:18.435 E/IspDrv (139): IspDrv[mediatek/platform/mt6572/hardware/camera/core/drv/isp/isp_drv.cpp, waitIrq, line0399] ERROR: ISP_IOC_WAIT_IRQ fail(-1)
10-08 13:21:18.436 E/IspDrv (139): IspDrv[mediatek/platform/mt6572/hardware/camera/core/drv/isp/isp_drv.cpp, waitIrq, line0405] ERROR: SENINF reg 0x14014018=0x00000000
10-08 13:21:18.437 E/IspDrv (139): IspDrv[mediatek/platform/mt6572/hardware/camera/core/drv/isp/isp_drv.cpp, waitIrq, line0411] ERROR: SENINF reg 0x14014618=0x00000000
10-08 13:21:18.437 E/IspDrv (139): IspDrv[mediatek/platform/mt6572/hardware/camera/core/drv/isp/isp_drv.cpp, control, line1032] ERROR: waitIrq( irq_TG1_DONE ) fail
10-08 13:21:18.438 E/IspDrv (139): IspDrv[mediatek/platform/mt6572/hardware/camera/core/drv/isp/isp_drv.cpp, rtBufCtrl, line1347] ERROR: ISP_IOC_BUFFER_CTRL(-1)
10-08 13:21:18.438 E/IspDrv (139): IspDrv[mediatek/platform/mt6572/hardware/camera/core/drv/isp/isp_drv.cpp, freeAllPhyBuf, line1332] ERROR: ERROR:clear kernel ring buff failed
10-08 13:21:18.458 E/IspDrv (139): IspDrv[mediatek/platform/mt6572/hardware/camera/core/drv/isp/isp_drv.cpp, kRefCntCtrl, line1361] ERROR: ISP_IOC_REF_CNT_CTRL fail(-1)[errno(1)peration not permitted]
10-08 13:21:18.458 E/IspDrv (139): IspDrv[mediatek/platform/mt6572/hardware/camera/core/drv/isp/isp_drv.cpp, uninit, line0336] ERROR: ISP_REF_CNT_GET fail, errno(1)peration not permitted.
10-08 13:21:18.464 E/AndroidRuntime(2417): FATAL EXCEPTION: Camera Handler Thread
10-08 13:21:18.464 E/AndroidRuntime(2417): java.lang.RuntimeException: startPreview failed
10-08 13:21:18.464 E/AndroidRuntime(2417): at android.hardware.Camera.startPreview(Native Method)
10-08 13:21:18.464 E/AndroidRuntime(2417): at com.mediatek.camera.AndroidCamera.startPreview(AndroidCamera.java:168)
10-08 13:21:18.464 E/AndroidRuntime(2417): at com.android.camera.CameraManager$CameraHandler.handleMessage(CameraManager.java:166)
10-08 13:21:18.464 E/AndroidRuntime(2417): at android.os.Handler.dispatchMessage(Handler.java:107)
10-08 13:21:18.464 E/AndroidRuntime(2417): at android.os.Looper.loop(Looper.java:194)
10-08 13:21:18.464 E/AndroidRuntime(2417): at android.os.HandlerThread.run(HandlerThread.java:60)
10-08 13:21:18.530 E/AppErrorDialog(531): Failed to get ILowStorageHandle instance
10-08 13:21:18.576 E/OMXCodec(139): @@ [OUT] def.nBufferSize = 32768
10-08 13:21:18.576 E/OMXCodec(139): @@ [OUT] totalSize = 131072
10-08 13:21:18.580 E/OMXCodec(139): @@ [OUT] def.nBufferSize = 32768
10-08 13:21:18.580 E/OMXCodec(139): @@ [OUT] totalSize = 131072
10-08 13:21:18.599 E/OMXCodec(139): [OMX.MTK.AUDIO.DECODER.VORBIS] No more output data in fillOutputBuffer, mFilledBuffers size=0
10-08 13:21:18.599 E/OMXCodec(139): [OMX.MTK.AUDIO.DECODER.VORBIS] read() final return
10-08 13:21:18.642 E/OMXCodec(139): [OMX.MTK.AUDIO.DECODER.VORBIS] No more output data in fillOutputBuffer, mFilledBuffers size=1
10-08 13:21:18.642 E/OMXCodec(139): [OMX.MTK.AUDIO.DECODER.VORBIS] No more output data in fillOutputBuffer, mFilledBuffers size=0
10-08 13:21:18.642 E/OMXCodec(139): [OMX.MTK.AUDIO.DECODER.VORBIS] read() final return
10-08 13:21:18.697 E/AEE/LIBAEE(531): shell: cant create socket with aed: Connection refused
10-08 13:21:20.604 E/InputDispatcher(531): channel '421dafa8 com.android.gallery3d/com.android.camera.CameraLauncher (server)' ~ Channel is unrecoverably broken and will be disposed!
Hi,
I can't find a relevant thread for your device and issue. You likely should try installing your stock firmware. You could try looking on the manufacturer website for firmware and flashing instructions. You can also ask about your issue here,
http://forum.xda-developers.com/showthread.php?t=2259645
Good luck!

Sony E6853 ASOP 7.1 Build Help

Hey Guys,
I need a little help with just understanding what this error is, I'm trying to build AOSP 7.1 for a Sony E6853 and keep running in to it.
I haven't posed in the device specific forum as there's a lack of activity in there and this doesn't seem to be a device specific error but it is in the wrong place then please let me know.
The guide I'm following is here: http://developer.sonymobile.com/open-devices/aosp-build-instructions/how-to-build-aosp-nougat-for-unlocked-xperia-devices/
Any help would be greatly appreciated, I'm a .net developer so building Android is pretty new to me .
Code:
[ 65% 31667/48245] target thumb C++: l...venc/src/video_encoder_device_v4l2.cpp
FAILED: /bin/bash -c "(PWD=/proc/self/cwd prebuilts/clang/host/linux-x86/clang-2690385/bin/clang++ -I hardware/qcom/media/msm8974/mm-video-v4l2/vidc/venc/inc -I hardware/qcom/media/msm8974/mm-video-v4l2/vidc/../vidc/common/inc -I hardware/qcom/media/msm8974/mm-core/inc -I hardware/qcom/media/msm8974/libstagefrighthw -I out/target/product/satsuki/obj/include/qcom/display -I out/target/product/satsuki/obj/include/adreno -I frameworks/native/include/media/hardware -I frameworks/native/include/media/openmax -I hardware/qcom/media/msm8974/libc2dcolorconvert -I frameworks/av/include/media/stagefright -I frameworks/av/include/media/hardware -I hardware/qcom/media/msm8974/mm-video-v4l2/vidc -I out/target/product/satsuki/obj_arm/SHARED_LIBRARIES/libOmxVenc_intermediates -I out/target/product/satsuki/gen/SHARED_LIBRARIES/libOmxVenc_intermediates -I libnativehelper/include/nativehelper \$(cat out/target/product/satsuki/obj_arm/SHARED_LIBRARIES/libOmxVenc_intermediates/import_includes) -isystem system/core/include -isystem system/media/audio/include -isystem hardware/libhardware/include -isystem hardware/libhardware_legacy/include -isystem hardware/ril/include -isystem libnativehelper/include -isystem frameworks/native/include -isystem frameworks/native/opengl/include -isystem frameworks/av/include -isystem frameworks/base/include -isystem out/target/product/satsuki/obj/include -isystem device/sony/common-headers/kernel-headers -isystem bionic/libc/arch-arm/include -isystem bionic/libc/include -isystem bionic/libc/kernel/uapi -isystem bionic/libc/kernel/common -isystem bionic/libc/kernel/uapi/asm-arm -isystem bionic/libm/include -isystem bionic/libm/include/arm -c -fno-exceptions -Wno-multichar -msoft-float -ffunction-sections -fdata-sections -funwind-tables -fstack-protector-strong -Wa,--noexecstack -Werror=format-security -D_FORTIFY_SOURCE=2 -fno-short-enums -no-canonical-prefixes -mcpu=cortex-a7 -D__ARM_FEATURE_LPAE=1 -mfloat-abi=softfp -mfpu=neon -DANDROID -fmessage-length=0 -W -Wall -Wno-unused -Winit-self -Wpointer-arith -Werror=return-type -Werror=non-virtual-dtor -Werror=address -Werror=sequence-point -Werror=date-time -DNDEBUG -g -Wstrict-aliasing=2 -DNDEBUG -UDEBUG -D__compiler_offsetof=__builtin_offsetof -Werror=int-conversion -Wno-reserved-id-macro -Wno-format-pedantic -Wno-unused-command-line-argument -fcolor-diagnostics -nostdlibinc -target arm-linux-androideabi -target arm-linux-androideabi -Bprebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.9/arm-linux-androideabi/bin -fvisibility-inlines-hidden -Wsign-promo -Wno-inconsistent-missing-override -nostdlibinc -target arm-linux-androideabi -mthumb -Os -fomit-frame-pointer -fno-strict-aliasing -fno-rtti -g -O3 -Dlrintf=_ffix_r -D__align=__alignx -D__alignx\\(x\\)=__attribute__\\(\\(__aligned__\\(x\\)\\)\\) -DT_ARM -Dinline=__inline -D_ANDROID_ -UENABLE_DEBUG_LOW -DENABLE_DEBUG_HIGH -DENABLE_DEBUG_ERROR -UINPUT_BUFFER_LOG -UOUTPUT_BUFFER_LOG -USINGLE_ENCODER_INSTANCE -DMAX_RES_1080P -DMAX_RES_1080P_EBI -D_MSM8974_ -DUSE_ION -D_ANDROID_ICS_ -fPIC -D_USING_LIBCXX -std=gnu++14 -Werror=int-to-pointer-cast -Werror=pointer-to-int-cast -Werror=address-of-temporary -Werror=null-dereference -Werror=return-type -MD -MF out/target/product/satsuki/obj_arm/SHARED_LIBRARIES/libOmxVenc_intermediates/venc/src/video_encoder_device_v4l2.d -o out/target/product/satsuki/obj_arm/SHARED_LIBRARIES/libOmxVenc_intermediates/venc/src/video_encoder_device_v4l2.o hardware/qcom/media/msm8974/mm-video-v4l2/vidc/venc/src/video_encoder_device_v4l2.cpp ) && (cp out/target/product/satsuki/obj_arm/SHARED_LIBRARIES/libOmxVenc_intermediates/venc/src/video_encoder_device_v4l2.d out/target/product/satsuki/obj_arm/SHARED_LIBRARIES/libOmxVenc_intermediates/venc/src/video_encoder_device_v4l2.P; sed -e 's/#.*//' -e 's/^[^:]*: *//' -e 's/ *\\\\\$//' -e '/^\$/ d' -e 's/\$/ :/' < out/target/product/satsuki/obj_arm/SHARED_LIBRARIES/libOmxVenc_intermediates/venc/src/video_encoder_device_v4l2.d >> out/target/product/satsuki/obj_arm/SHARED_LIBRARIES/libOmxVenc_intermediates/venc/src/video_encoder_device_v4l2.P; rm -f out/target/product/satsuki/obj_arm/SHARED_LIBRARIES/libOmxVenc_intermediates/venc/src/video_encoder_device_v4l2.d )"
hardware/qcom/media/msm8974/mm-video-v4l2/vidc/venc/src/video_encoder_device_v4l2.cpp:412:33: error: use of undeclared identifier 'V4L2_EVENT_MSM_VIDC_CLOSE_DONE'
if (dqevent.type == V4L2_EVENT_MSM_VIDC_CLOSE_DONE) {
^
hardware/qcom/media/msm8974/mm-video-v4l2/vidc/venc/src/video_encoder_device_v4l2.cpp:459:5: error: use of undeclared identifier 'V4L2_EVENT_MSM_VIDC_CLOSE_DONE'
V4L2_EVENT_MSM_VIDC_CLOSE_DONE,
^
hardware/qcom/media/msm8974/mm-video-v4l2/vidc/venc/src/video_encoder_device_v4l2.cpp:467:26: error: invalid application of 'sizeof' to an incomplete type 'const int []'
int array_sz = sizeof(event_type)/sizeof(int);
^~~~~~~~~~~~
hardware/qcom/media/msm8974/mm-video-v4l2/vidc/venc/src/video_encoder_device_v4l2.cpp:1072:26: error: invalid application of 'sizeof' to an incomplete type 'const int []'
int array_sz = sizeof(event_type)/sizeof(int);
^~~~~~~~~~~~
hardware/qcom/media/msm8974/mm-video-v4l2/vidc/venc/src/video_encoder_device_v4l2.cpp:2771:67: warning: format specifies type 'unsigned int' but the argument has type 'unsigned long' [-Wformat]
DEBUG_PRINT_ERROR("Failed setting color format in in etb %x", m_sVenc_cfg.inputformat);
~~ ^~~~~~~~~~~~~~~~~~~~~~~
%lx
hardware/qcom/media/msm8974/mm-video-v4l2/vidc/../vidc/common/inc/vidc_debug.h:48:23: note: expanded from macro 'DEBUG_PRINT_ERROR'
ALOGE(fmt,##args)
^~~~
system/core/include/log/log.h:156:52: note: expanded from macro 'ALOGE'
#define ALOGE(...) ((void)ALOG(LOG_ERROR, LOG_TAG, __VA_ARGS__))
^~~~~~~~~~~
system/core/include/log/log.h:453:38: note: expanded from macro 'ALOG'
LOG_PRI(ANDROID_##priority, tag, __VA_ARGS__)
^~~~~~~~~~~
system/core/include/log/log.h:461:37: note: expanded from macro 'LOG_PRI'
android_printLog(priority, tag, __VA_ARGS__)
^~~~~~~~~~~
system/core/include/log/log.h:618:36: note: expanded from macro 'android_printLog'
__android_log_print(prio, tag, fmt)
^~~
1 warning and 4 errors generated.
[ 65% 31667/48245] target Package: fra...amework-res_intermediates/package.apk)
warning: string 'gsm_alphabet_default_charset' has no default translation.
warning: string 'gsm_alphabet_default_charset' is missing 90 required localizations: af_ZA am_ET ar_EG az_AZ be_BY bg_BG bn_BD bs_BA ca_ES cs_CZ da_DK de_AT de_CH de_DE de_LI el_GR en_AU en_CA en_GB en_IN en_NZ en_SG en_US eo_EU es_ES es_US et_EE eu_ES fa_IR fi_FI fr_BE fr_CA fr_CH fr_FR gl_ES gu_IN hi_IN hr_HR hu_HU hy_AM in_ID is_IS it_CH it_IT iw_IL ja_JP ka_GE kk_KZ km_KH kn_IN ky_KG lo_LA lt_LT lv_LV mk_MK ml_IN mn_MN mr_IN ms_MY my_MM nb_NO ne_NP nl_BE nl_NL pa_IN pl_PL pt_BR pt_PT ro_RO ru_RU si_LK sk_SK sl_SI sq_AL sr_RS sv_SE sw_TZ ta_IN te_IN th_TH tl_PH tr_TR uk_UA ur_PK uz_UZ vi_VN zh_CN zh_HK zh_TW zu_ZA
warning: string 'wfcSpnFormat' has no default translation.
warning: string 'wfcSpnFormat' is missing 41 required localizations: az_AZ be_BY bn_BD bs_BA en_AU en_CA en_GB en_IN en_NZ en_SG en_US eo_EU et_EE eu_ES gl_ES gu_IN hy_AM is_IS ka_GE kk_KZ km_KH kn_IN ky_KG lo_LA mk_MK ml_IN mn_MN mr_IN ms_MY my_MM ne_NP pa_IN si_LK sq_AL ta_IN te_IN ur_PK uz_UZ zh_CN zh_HK zh_TW
warning: no entries written for dimen/password_keyboard_height (0x010500c3)
ninja: build stopped: subcommand failed.
build/core/ninja.mk:148: recipe for target 'ninja_wrapper' failed
make: *** [ninja_wrapper] Error 1
#### make failed to build some targets (01:50:50 (hh:mm:ss)) ####
Thanks in advance guys.

AOSP 7.1 Build Failure

Hi Guys,
Trying to build 7.1 AOSP for Z5 Premium and keep running in to this, anyone have any idea what it means or how to fix it?
Code:
[ 65% 31667/48245] target thumb C++: l...venc/src/video_encoder_device_v4l2.cpp
FAILED: /bin/bash -c "(PWD=/proc/self/cwd prebuilts/clang/host/linux-x86/clang-2690385/bin/clang++ -I hardware/qcom/media/msm8974/mm-video-v4l2/vidc/venc/inc -I hardware/qcom/media/msm8974/mm-video-v4l2/vidc/../vidc/common/inc -I hardware/qcom/media/msm8974/mm-core/inc -I hardware/qcom/media/msm8974/libstagefrighthw -I out/target/product/satsuki/obj/include/qcom/display -I out/target/product/satsuki/obj/include/adreno -I frameworks/native/include/media/hardware -I frameworks/native/include/media/openmax -I hardware/qcom/media/msm8974/libc2dcolorconvert -I frameworks/av/include/media/stagefright -I frameworks/av/include/media/hardware -I hardware/qcom/media/msm8974/mm-video-v4l2/vidc -I out/target/product/satsuki/obj_arm/SHARED_LIBRARIES/libOmxVenc_intermediates -I out/target/product/satsuki/gen/SHARED_LIBRARIES/libOmxVenc_intermediates -I libnativehelper/include/nativehelper \$(cat out/target/product/satsuki/obj_arm/SHARED_LIBRARIES/libOmxVenc_intermediates/import_includes) -isystem system/core/include -isystem system/media/audio/include -isystem hardware/libhardware/include -isystem hardware/libhardware_legacy/include -isystem hardware/ril/include -isystem libnativehelper/include -isystem frameworks/native/include -isystem frameworks/native/opengl/include -isystem frameworks/av/include -isystem frameworks/base/include -isystem out/target/product/satsuki/obj/include -isystem device/sony/common-headers/kernel-headers -isystem bionic/libc/arch-arm/include -isystem bionic/libc/include -isystem bionic/libc/kernel/uapi -isystem bionic/libc/kernel/common -isystem bionic/libc/kernel/uapi/asm-arm -isystem bionic/libm/include -isystem bionic/libm/include/arm -c -fno-exceptions -Wno-multichar -msoft-float -ffunction-sections -fdata-sections -funwind-tables -fstack-protector-strong -Wa,--noexecstack -Werror=format-security -D_FORTIFY_SOURCE=2 -fno-short-enums -no-canonical-prefixes -mcpu=cortex-a7 -D__ARM_FEATURE_LPAE=1 -mfloat-abi=softfp -mfpu=neon -DANDROID -fmessage-length=0 -W -Wall -Wno-unused -Winit-self -Wpointer-arith -Werror=return-type -Werror=non-virtual-dtor -Werror=address -Werror=sequence-point -Werror=date-time -DNDEBUG -g -Wstrict-aliasing=2 -DNDEBUG -UDEBUG -D__compiler_offsetof=__builtin_offsetof -Werror=int-conversion -Wno-reserved-id-macro -Wno-format-pedantic -Wno-unused-command-line-argument -fcolor-diagnostics -nostdlibinc -target arm-linux-androideabi -target arm-linux-androideabi -Bprebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.9/arm-linux-androideabi/bin -fvisibility-inlines-hidden -Wsign-promo -Wno-inconsistent-missing-override -nostdlibinc -target arm-linux-androideabi -mthumb -Os -fomit-frame-pointer -fno-strict-aliasing -fno-rtti -g -O3 -Dlrintf=_ffix_r -D__align=__alignx -D__alignx\\(x\\)=__attribute__\\(\\(__aligned__\\(x\\)\\)\\) -DT_ARM -Dinline=__inline -D_ANDROID_ -UENABLE_DEBUG_LOW -DENABLE_DEBUG_HIGH -DENABLE_DEBUG_ERROR -UINPUT_BUFFER_LOG -UOUTPUT_BUFFER_LOG -USINGLE_ENCODER_INSTANCE -DMAX_RES_1080P -DMAX_RES_1080P_EBI -D_MSM8974_ -DUSE_ION -D_ANDROID_ICS_ -fPIC -D_USING_LIBCXX -std=gnu++14 -Werror=int-to-pointer-cast -Werror=pointer-to-int-cast -Werror=address-of-temporary -Werror=null-dereference -Werror=return-type -MD -MF out/target/product/satsuki/obj_arm/SHARED_LIBRARIES/libOmxVenc_intermediates/venc/src/video_encoder_device_v4l2.d -o out/target/product/satsuki/obj_arm/SHARED_LIBRARIES/libOmxVenc_intermediates/venc/src/video_encoder_device_v4l2.o hardware/qcom/media/msm8974/mm-video-v4l2/vidc/venc/src/video_encoder_device_v4l2.cpp ) && (cp out/target/product/satsuki/obj_arm/SHARED_LIBRARIES/libOmxVenc_intermediates/venc/src/video_encoder_device_v4l2.d out/target/product/satsuki/obj_arm/SHARED_LIBRARIES/libOmxVenc_intermediates/venc/src/video_encoder_device_v4l2.P; sed -e 's/#.*//' -e 's/^[^:]*: *//' -e 's/ *\\\\\$//' -e '/^\$/ d' -e 's/\$/ :/' < out/target/product/satsuki/obj_arm/SHARED_LIBRARIES/libOmxVenc_intermediates/venc/src/video_encoder_device_v4l2.d >> out/target/product/satsuki/obj_arm/SHARED_LIBRARIES/libOmxVenc_intermediates/venc/src/video_encoder_device_v4l2.P; rm -f out/target/product/satsuki/obj_arm/SHARED_LIBRARIES/libOmxVenc_intermediates/venc/src/video_encoder_device_v4l2.d )"
hardware/qcom/media/msm8974/mm-video-v4l2/vidc/venc/src/video_encoder_device_v4l2.cpp:412:33: error: use of undeclared identifier 'V4L2_EVENT_MSM_VIDC_CLOSE_DONE'
if (dqevent.type == V4L2_EVENT_MSM_VIDC_CLOSE_DONE) {
^
hardware/qcom/media/msm8974/mm-video-v4l2/vidc/venc/src/video_encoder_device_v4l2.cpp:459:5: error: use of undeclared identifier 'V4L2_EVENT_MSM_VIDC_CLOSE_DONE'
V4L2_EVENT_MSM_VIDC_CLOSE_DONE,
^
hardware/qcom/media/msm8974/mm-video-v4l2/vidc/venc/src/video_encoder_device_v4l2.cpp:467:26: error: invalid application of 'sizeof' to an incomplete type 'const int []'
int array_sz = sizeof(event_type)/sizeof(int);
^~~~~~~~~~~~
hardware/qcom/media/msm8974/mm-video-v4l2/vidc/venc/src/video_encoder_device_v4l2.cpp:1072:26: error: invalid application of 'sizeof' to an incomplete type 'const int []'
int array_sz = sizeof(event_type)/sizeof(int);
^~~~~~~~~~~~
hardware/qcom/media/msm8974/mm-video-v4l2/vidc/venc/src/video_encoder_device_v4l2.cpp:2771:67: warning: format specifies type 'unsigned int' but the argument has type 'unsigned long' [-Wformat]
DEBUG_PRINT_ERROR("Failed setting color format in in etb %x", m_sVenc_cfg.inputformat);
~~ ^~~~~~~~~~~~~~~~~~~~~~~
%lx
hardware/qcom/media/msm8974/mm-video-v4l2/vidc/../vidc/common/inc/vidc_debug.h:48:23: note: expanded from macro 'DEBUG_PRINT_ERROR'
ALOGE(fmt,##args)
^~~~
system/core/include/log/log.h:156:52: note: expanded from macro 'ALOGE'
#define ALOGE(...) ((void)ALOG(LOG_ERROR, LOG_TAG, __VA_ARGS__))
^~~~~~~~~~~
system/core/include/log/log.h:453:38: note: expanded from macro 'ALOG'
LOG_PRI(ANDROID_##priority, tag, __VA_ARGS__)
^~~~~~~~~~~
system/core/include/log/log.h:461:37: note: expanded from macro 'LOG_PRI'
android_printLog(priority, tag, __VA_ARGS__)
^~~~~~~~~~~
system/core/include/log/log.h:618:36: note: expanded from macro 'android_printLog'
__android_log_print(prio, tag, fmt)
^~~
1 warning and 4 errors generated.
[ 65% 31667/48245] target Package: fra...amework-res_intermediates/package.apk)
warning: string 'gsm_alphabet_default_charset' has no default translation.
warning: string 'gsm_alphabet_default_charset' is missing 90 required localizations: af_ZA am_ET ar_EG az_AZ be_BY bg_BG bn_BD bs_BA ca_ES cs_CZ da_DK de_AT de_CH de_DE de_LI el_GR en_AU en_CA en_GB en_IN en_NZ en_SG en_US eo_EU es_ES es_US et_EE eu_ES fa_IR fi_FI fr_BE fr_CA fr_CH fr_FR gl_ES gu_IN hi_IN hr_HR hu_HU hy_AM in_ID is_IS it_CH it_IT iw_IL ja_JP ka_GE kk_KZ km_KH kn_IN ky_KG lo_LA lt_LT lv_LV mk_MK ml_IN mn_MN mr_IN ms_MY my_MM nb_NO ne_NP nl_BE nl_NL pa_IN pl_PL pt_BR pt_PT ro_RO ru_RU si_LK sk_SK sl_SI sq_AL sr_RS sv_SE sw_TZ ta_IN te_IN th_TH tl_PH tr_TR uk_UA ur_PK uz_UZ vi_VN zh_CN zh_HK zh_TW zu_ZA
warning: string 'wfcSpnFormat' has no default translation.
warning: string 'wfcSpnFormat' is missing 41 required localizations: az_AZ be_BY bn_BD bs_BA en_AU en_CA en_GB en_IN en_NZ en_SG en_US eo_EU et_EE eu_ES gl_ES gu_IN hy_AM is_IS ka_GE kk_KZ km_KH kn_IN ky_KG lo_LA mk_MK ml_IN mn_MN mr_IN ms_MY my_MM ne_NP pa_IN si_LK sq_AL ta_IN te_IN ur_PK uz_UZ zh_CN zh_HK zh_TW
warning: no entries written for dimen/password_keyboard_height (0x010500c3)
ninja: build stopped: subcommand failed.
build/core/ninja.mk:148: recipe for target 'ninja_wrapper' failed
make: *** [ninja_wrapper] Error 1
#### make failed to build some targets (01:50:50 (hh:mm:ss)) ####
Thanks.
7.1 hasn't gotten the kernel source ready yet.
Also you're building with O3? That's bound to break things.

Compile cwmv6.0.5.1 for samsung_rossaltectc(SM-G3609) Stand still on boot logo

/tmp/recovery.log
__bionic_open_tzdata: couldn't find any tzdata when looking for localtime!
__bionic_open_tzdata: couldn't find any tzdata when looking for GMT!
__bionic_open_tzdata: couldn't find any tzdata when looking for posixrules!
Starting recovery on Fri Jan 10 23:52:14 2014
failed to mmap framebuffer: Invalid argument
CWM-based Recovery v6.0.5.1
recovery filesystem table
=========================
0 /efs ext4 /dev/block/bootdevice/by-name/efs 0
1 /boot emmc /dev/block/bootdevice/by-name/boot 0
2 /recovery emmc /dev/block/bootdevice/by-name/recovery 0
3 /cache ext4 /dev/block/bootdevice/by-name/cache 0
4 /system ext4 /dev/block/bootdevice/by-name/system 0
5 /data ext4 /dev/block/bootdevice/by-name/userdata -16384
6 /preload ext4 /dev/block/bootdevice/by-name/hidden 0
7 /sdcard vfat /dev/block/mmcblk1p1 0
8 /modem emmc /dev/block/bootdevice/by-name/apnhlos 0
9 /mdm emmc /dev/block/bootdevice/by-name/modem 0
10 /tmp ramdisk ramdisk 0
W:Unable to get recovery.fstab info for /datadata during fstab generation!
W:Unable to get recovery.fstab info for /emmc during fstab generation!
W:Unable to get recovery.fstab info for /sd-ext during fstab generation!
W:Unable to get recovery.fstab info for /external_sd during fstab generation!
I:Completed outputting fstab.
I:Connected to Vold..
I:200 0 Volumes listed.
Irocessing arguments.
mount: mounting /dev/block/bootdevice/by-name/cache on /cache failed: No such file or directory
W:failed to mount /dev/block/bootdevice/by-name/cache (File exists)
I:Cannot load volume /misc.
mount: mounting /dev/block/bootdevice/by-name/cache on /cache failed: No such file or directory
W:failed to mount /dev/block/bootdevice/by-name/cache (File exists)
E:Can't mount /cache/recovery/command
I:Cannot load volume /misc.
I:Checking arguments.
I:device_recovery_start()
Command: "/sbin/recovery"
ro.cm.device=rossaltectc
ro.cm.display.version=11-20191206-UNOFFICIAL-rossaltectc
ro.cm.version=11-20191206-UNOFFICIAL-rossaltectc
ro.cm.releasetype=UNOFFICIAL
ro.adb.qemud=1
ro.com.google.clientidbase=android-google
ro.com.android.dateformat=MM-dd-yyyy
ro.com.android.dataroaming=false
ro.com.android.wifi-watchlist=GoogleGuest
ro.ril.hsxpa=1
ro.ril.gprsclass=10
ro.url.legal=
ro.url.legal.android_privacy=
ro.boot.emmc=true
ro.boot.sec_atd.tty=/dev/ttyHSL0
ro.boot.selinux=permissive
ro.boot.baseband=msm
ro.boot.hardware=qcom
ro.boot.serialno=abadc057
ro.boot.bootdevice=7824900.sdhci
ro.boot.bootloader=G3609KES1APJ2
ro.boot.debug_level=0x4f4c
ro.boot.warranty_bit=0
ro.boot.cp_debug_level=0x55FF
ro.emmc=0
ro.wifi.channels=
ro.allow.mock.location=0
ro.board.platform=msm8916
ro.build.id=KTU84Q
ro.build.date=2019年 12月 06日 星期五 13:09:29 CST
ro.build.date.utc=0
ro.build.host=w
ro.build.tags=test-keys
ro.build.type=userdebug
ro.build.user=q
ro.build.display.id=cm_rossaltectc-userdebug 4.4.4 KTU84Q c148cecdd1 test-keys
ro.build.product=rossaltectc
ro.build.selinux=1
ro.build.version.sdk=19
ro.build.version.base_os=
ro.build.version.release=4.4.4
ro.build.version.codename=REL
ro.build.version.incremental=c148cecdd1
ro.build.version.security_patch=2016-11-01
ro.build.description=cm_rossaltectc-userdebug 4.4.4 KTU84Q c148cecdd1 test-keys
ro.build.fingerprint=samsung/cm_rossaltectc/rossaltectc:4.4.4/KTU84Q/c148cecdd1:userdebug/test-keys
ro.build.characteristics=default
ro.config.ringtone=Orion.ogg
ro.config.alarm_alert=Hassium.ogg
ro.config.notification_sound=Argon.ogg
ro.secure=1
ro.carrier=unknown
ro.cmlegal.url=https://cyngn.com/legal/privacy-policy
ro.product.cpu.abi=armeabi-v7a
ro.product.cpu.abi2=armeabi
ro.product.name=cm_rossaltectc
ro.product.board=rossaltectc
ro.product.brand=samsung
ro.product.model=rossaltectc
ro.product.device=rossaltectc
ro.product.locale.region=US
ro.product.locale.language=en
ro.product.manufacturer=samsung
ro.baseband=msm
ro.bootmode=unknown
ro.hardware=qcom
ro.revision=5
ro.serialno=abadc057
ro.bootloader=G3609KES1APJ2
ro.debuggable=1
ro.modversion=11-20191206-UNOFFICIAL-rossaltectc
ro.rommanager.developerid=cyanogenmod
ro.factorytest=0
ro.setupwizard.enterprise_mode=1
net.bt.name=Android
net.change=net.bt.name
init.svc.adbd=running
init.svc.vold=running
init.svc.healthd=running
init.svc.ueventd=running
init.svc.recovery=running
init.svc.setup_adbd=stopped
dalvik.vm.lockprof.threshold=500
dalvik.vm.stack-trace-file=/data/anr/traces.txt
persist.sys.dun.override=0
persist.sys.usb.config=adb
persist.sys.dalvik.vm.lib=libdvm.so
persist.sys.dalvik.multithread=false
persist.sys.root_access=1
persist.sys.recovery_update=false
service.adb.root=1
keyguard.no_require_sim=true
I:Checking for extendedcommand...
Click to expand...
Click to collapse
When i view cm11/bootable/recovery/recovery.c
Found the following code
Code:
} else {
LOGI("0\n");
LOGI("Checking for extendedcommand...\n");
status = INSTALL_ERROR; // No command specified
// we are starting up in user initiated recovery here
// let's set up some default options
signature_check_enabled = 0;
is_user_initiated_recovery = 1;
if (!headless) {
ui_set_show_text(1);
ui_set_background(BACKGROUND_ICON_CLOCKWORK);
LOGI("1\n");
}
if (extendedcommand_file_exists()) {
LOGI("Running extendedcommand...\n");
int ret;
LOGI("2\n");
if (0 == (ret = run_and_remove_extendedcommand())) {
status = INSTALL_SUCCESS;
ui_set_show_text(0);
LOGI("3\n");
}
else {
handle_failure(ret);
LOGI("4\n");
}
} else {
LOGI("Skipping execution of extendedcommand, file not found...\n");
}
When I comment the above code
screen flickered and restarted
and I can't adb pull /tmp/recovery.log using adb
device tree
[email protected]:~$ ls and/cm11/device/samsung/rossaltectc/
AndroidBoard.mk cm.mk kernel system.prop
AndroidProducts.mk device_rossaltectc.mk recovery vendorsetup.sh
BoardConfig.mk dt.img recovery.fstab
Click to expand...
Click to collapse
BoardConfig.mk
Code:
USE_CAMERA_STUB := true
# inherit from the proprietary version
-include vendor/samsung/rossaltectc/BoardConfigVendor.mk
TARGET_ARCH := arm
TARGET_NO_BOOTLOADER := true
TARGET_BOARD_PLATFORM := msm8916
TARGET_CPU_ABI := armeabi-v7a
TARGET_CPU_ABI2 := armeabi
TARGET_ARCH_VARIANT := armv7-a-neon
TARGET_CPU_VARIANT := cortex-a7
TARGET_CPU_SMP := true
ARCH_ARM_HAVE_TLS_REGISTER := true
TARGET_BOOTLOADER_BOARD_NAME := rossaltectc
BOARD_KERNEL_CMDLINE := console=null androidboot.hardware=qcom user_debug=31 msm_rtb.filter=0x3F ehci-hcd.park=3 androidboot.bootdevice=7824900.sdhci androidboot.selinux=permissive
BOARD_KERNEL_BASE := 0x80000000
BOARD_KERNEL_PAGESIZE := 2048
# fix this up by examining /proc/mtd on a running device
BOARD_BOOTIMAGE_PARTITION_SIZE := 13631488
BOARD_RECOVERYIMAGE_PARTITION_SIZE := 15728640
BOARD_SYSTEMIMAGE_PARTITION_SIZE := 943718400
BOARD_USERDATAIMAGE_PARTITION_SIZE := 2651828224
BOARD_FLASH_BLOCK_SIZE := 131072
TARGET_PREBUILT_KERNEL := device/samsung/rossaltectc/kernel
TARGET_PREBUILT_RECOVERY_KERNEL := device/samsung/rossaltectc/kernel
BOARD_MKBOOTIMG_ARGS := --dt device/samsung/rossaltectc/dt.img
BOARD_HAS_NO_SELECT_BUTTON := true
help me
please
can your help me?
please
I thank you very much
please supermans
Discover by inserting source code
Stuck at 11 12 code below
recovery.c
Code:
LOGI("11\n");
ui_set_show_text(1);
LOGI("12\n");
ui_set_background(BACKGROUND_ICON_CLOCKWORK);
LOGI("13\n");
please eveyone
please
please
pleasepleaseplease
I found the cause of the problem, which appeared in the source code of compiling the sbin/recovery binary file. If you replace someone else's recovery binary file and repack it, you can successfully enter recovery, but I don't know what happened to the recovery source code of the cm11 original warehouse

Categories

Resources