[Android] _Matsiev_:
Thanks a lot for this guide. :good: I have successfullly ported this rom to my s4 mini. Everything is good, but I always get system ui error. How can I fix this problem?

I/OMXCodec( 326): [OMX.google.vorbis.decoder] allocated buffer 0xb82c9d30 on ou
tput port
I/OMXCodec( 326): [OMX.google.vorbis.decoder] allocated buffer 0xb82c9f50 on ou
tput port
I/OMXCodec( 326): [OMX.google.vorbis.decoder] allocated buffer 0xb82ca090 on ou
tput port
I/OMXCodec( 326): [OMX.google.vorbis.decoder] allocated buffer 0xb82ca1b8 on ou
tput port
W/AwesomePlayer( 326): Trying to create tunnel player mIsTunnelAudio 0,
LPAPlayer::mObjectsAlive 0, TunnelPlayer::mTunnelObjectsAlive =
0, (mAudioPlayer == NULL) 1
E/AwesomePlayer( 326): LPAPlayer::Clip duration setting of less than 30sec not
supported, defaulting to 60sec
D/AudioPlayer( 326): start of Playback, useOffload 0
I/OMXNodeInstance( 326): OMX_FreeBuffer for buffer header 0xb82c9d30 successful

I/OMXNodeInstance( 326): OMX_FreeBuffer for buffer header 0xb82c9f50 successful

I/OMXNodeInstance( 326): OMX_FreeBuffer for buffer header 0xb82ca090 successful

I/OMXNodeInstance( 326): OMX_FreeBuffer for buffer header 0xb82ca1b8 successful

I/OMXCodec( 326): [OMX.google.vorbis.decoder] allocating 4 buffers of size 3276
8 on output port
I/OMXCodec( 326): [OMX.google.vorbis.decoder] allocated buffer 0xb82d73a0 on ou
tput port
I/OMXCodec( 326): [OMX.google.vorbis.decoder] allocated buffer 0xb82d74a8 on ou
tput port
I/OMXCodec( 326): [OMX.google.vorbis.decoder] allocated buffer 0xb82d75e8 on ou
tput port
I/OMXCodec( 326): [OMX.google.vorbis.decoder] allocated buffer 0xb82ca468 on ou
tput port
D/BluetoothManagerService( 722): Message: 20
D/BluetoothManagerService( 722): Added callback: android.bluetooth.IBluetoothMa
nagerCallback$Stub$Proxy@41c9f028:true
D/BluetoothAdapter( 1876): 1102105064: getState() : mService = null. Returning
STATE_OFF
D/BluetoothAdapter( 1876): 1102105064: getState() : mService = null. Returning
STATE_OFF
D/AudioPlayer( 326): Pause Playback at 30
D/AudioPlayer( 326): reset: mPlaying=0 mReachedEOS=1 useOffload=0
I/OMXNodeInstance( 326): OMX_FreeBuffer for buffer header 0xb82c9be8 successful

I/OMXNodeInstance( 326): OMX_FreeBuffer for buffer header 0xb82c9b30 successful

I/OMXNodeInstance( 326): OMX_FreeBuffer for buffer header 0xb82c9a60 successful

I/OMXNodeInstance( 326): OMX_FreeBuffer for buffer header 0xb82caca0 successful

I/OMXNodeInstance( 326): OMX_FreeBuffer for buffer header 0xb82ca468 successful

I/OMXNodeInstance( 326): OMX_FreeBuffer for buffer header 0xb82d75e8 successful

I/OMXNodeInstance( 326): OMX_FreeBuffer for buffer header 0xb82d74a8 successful

I/OMXNodeInstance( 326): OMX_FreeBuffer for buffer header 0xb82d73a0 successful

I/ExtendedUtils( 326): AV Sync late margin : Intended=40ms Using=0ms
D/AwesomePlayer( 326): Before reset_l
D/ExtendedUtils( 326): printFileName fd(23) -> /system/media/audio/ui/Unlock.og
g
D/PhoneStatusBar( 1876): mSettingsPanelGravity = 55
I/StatusBarManagerService( 722): registerStatusBar bar=com.android.internal.sta
tusbar.IStatusBar$Stub$Proxy@41aa1718
D/ExtendedUtils( 326): extended extractor not needed, return default
D/AwesomePlayer( 326): Tunnel Mime Type: audio/vorbis, object alive = 0, mTunne
lAliveAP = 0
W/Settings( 1876): Setting airplane_mode_on has moved from android.provider.Sett
ings.System to android.provider.Settings.Global, returning read-only value.
D/AwesomePlayer( 326): maxPossible tunnels = 1
D/AwesomePlayer( 326): Normal Audio Playback
E/AwesomePlayer( 326): LPAPlayer::Clip duration setting of less than 30sec not
supported, defaulting to 60sec
D/OMXCodec( 326): Successfully allocated OMX node 'OMX.google.vorbis.decoder'
I/OMXCodec( 326): Codec outputs a different number of channels than the input s
tream contains (contains 2 channels, codec outputs 1 channels).
I/AwesomePlayer( 326): Could not offload audio decode, try pcm offload (16-bit)

I/OMXCodec( 326): [OMX.google.vorbis.decoder] allocating 4 buffers of size 8192
on input port
I/OMXCodec( 326): [OMX.google.vorbis.decoder] allocated buffer 0xb82cb0a8 on in
put port
I/OMXCodec( 326): [OMX.google.vorbis.decoder] allocated buffer 0xb82ce860 on in
put port
I/OMXCodec( 326): [OMX.google.vorbis.decoder] allocated buffer 0xb82ccad0 on in
put port
I/OMXCodec( 326): [OMX.google.vorbis.decoder] allocated buffer 0xb82ccb88 on in
put port
I/OMXCodec( 326): [OMX.google.vorbis.decoder] allocating 4 buffers of size 3276
8 on output port
I/OMXCodec( 326): [OMX.google.vorbis.decoder] allocated buffer 0xb82ccd10 on ou
tput port
I/OMXCodec( 326): [OMX.google.vorbis.decoder] allocated buffer 0xb82ccf68 on ou
tput port
I/OMXCodec( 326): [OMX.google.vorbis.decoder] allocated buffer 0xb82cd0a8 on ou
tput port
I/OMXCodec( 326): [OMX.google.vorbis.decoder] allocated buffer 0xb82cd1d0 on ou
tput port
W/AwesomePlayer( 326): Trying to create tunnel player mIsTunnelAudio 0,
LPAPlayer::mObjectsAlive 0, TunnelPlayer::mTunnelObjectsAlive =
0, (mAudioPlayer == NULL) 1
E/AwesomePlayer( 326): LPAPlayer::Clip duration setting of less than 30sec not
supported, defaulting to 60sec
D/AudioPlayer( 326): start of Playback, useOffload 0
I/OMXNodeInstance( 326): OMX_FreeBuffer for buffer header 0xb82ccd10 successful

I/OMXNodeInstance( 326): OMX_FreeBuffer for buffer header 0xb82ccf68 successful

I/OMXNodeInstance( 326): OMX_FreeBuffer for buffer header 0xb82cd0a8 successful

I/OMXNodeInstance( 326): OMX_FreeBuffer for buffer header 0xb82cd1d0 successful

I/OMXCodec( 326): [OMX.google.vorbis.decoder] allocating 4 buffers of size 3276
8 on output port
I/OMXCodec( 326): [OMX.google.vorbis.decoder] allocated buffer 0xb82ccbe0 on ou
tput port
I/OMXCodec( 326): [OMX.google.vorbis.decoder] allocated buffer 0xb82d6288 on ou
tput port
I/OMXCodec( 326): [OMX.google.vorbis.decoder] allocated buffer 0xb82cce40 on ou
tput port
I/OMXCodec( 326): [OMX.google.vorbis.decoder] allocated buffer 0xb82ccf68 on ou
tput port
D/AudioPlayer( 326): Pause Playback at 0
D/AudioPlayer( 326): reset: mPlaying=0 mReachedEOS=1 useOffload=0
I/OMXNodeInstance( 326): OMX_FreeBuffer for buffer header 0xb82ccb88 successful

I/OMXNodeInstance( 326): OMX_FreeBuffer for buffer header 0xb82ccad0 successful

I/OMXNodeInstance( 326): OMX_FreeBuffer for buffer header 0xb82ce860 successful

I/OMXNodeInstance( 326): OMX_FreeBuffer for buffer header 0xb82cb0a8 successful

I/OMXNodeInstance( 326): OMX_FreeBuffer for buffer header 0xb82ccf68 successful

I/OMXNodeInstance( 326): OMX_FreeBuffer for buffer header 0xb82cce40 successful

I/OMXNodeInstance( 326): OMX_FreeBuffer for buffer header 0xb82d6288 successful

I/OMXNodeInstance( 326): OMX_FreeBuffer for buffer header 0xb82ccbe0 successful

V/NFC ( 1876): this device does not have NFC support
I/QuickSettingsController( 1876): Default tiles being loaded
I/QuickSettingsController( 1876): Tiles list: toggleAirplane|toggleBluetooth|tog
gleMobileData|toggleWifi|toggleBrightness|toggleSettings|toggleAutoRotate|toggle
GPS|toggleFlashlight|toggleWifiAp
W/Settings( 1876): Setting airplane_mode_on has moved from android.provider.Sett
ings.System to android.provider.Settings.Global, returning read-only value.
W/Settings( 1876): Setting airplane_mode_on has moved from android.provider.Sett
ings.System to android.provider.Settings.Global, returning read-only value.
D/Tethering( 722): exception when get active network info:java.lang.NullPointer
Exception
D/Tethering( 722): exception when get active network info:java.lang.NullPointer
Exception
E/MediaFocusControl( 722): Error updating focussed RCC to RCD
E/MediaFocusControl( 722): java.util.EmptyStackException
E/MediaFocusControl( 722): at java.util.Stack.peek(Stack.java:57)
E/MediaFocusControl( 722): at android.media.MediaFocusControl.registerRemot
eControlDisplay_int(MediaFocusControl.java:2238)
E/MediaFocusControl( 722): at android.media.MediaFocusControl.registerRemot
eController(MediaFocusControl.java:217)
E/MediaFocusControl( 722): at android.media.AudioService.registerRemoteCont
roller(AudioService.java:4541)
E/MediaFocusControl( 722): at android.media.IAudioService$Stub.onTransact(I
AudioService.java:614)
E/MediaFocusControl( 722): at android.os.Binder.execTransact(Binder.java:40
4)
E/MediaFocusControl( 722): at dalvik.system.NativeStart.run(Native Method)
W/Settings( 1876): Setting airplane_mode_on has moved from android.provider.Sett
ings.System to android.provider.Settings.Global, returning read-only value.
D/Tethering( 722): exception when get active network info:java.lang.NullPointer
Exception
I/QuickSettingsController( 1876): Default tiles being loaded
I/QuickSettingsController( 1876): Tiles list: toggleAirplane|toggleBluetooth|tog
gleMobileData|toggleWifi|toggleBrightness|toggleSettings|toggleAutoRotate|toggle
GPS|toggleFlashlight|toggleWifiAp
W/Settings( 1876): Setting airplane_mode_on has moved from android.provider.Sett
ings.System to android.provider.Settings.Global, returning read-only value.
W/Settings( 1876): Setting airplane_mode_on has moved from android.provider.Sett
ings.System to android.provider.Settings.Global, returning read-only value.
W/Settings( 1876): Setting airplane_mode_on has moved from android.provider.Sett
ings.System to android.provider.Settings.Global, returning read-only value.
D/PhoneStatusBar( 1876): disable: < EXPAND* icons alerts ticker system_info BACK
* HOME* RECENT* clock SEARCH* >
D/Sensors ( 722): LightSensor readEvents x = 28.000000, raw = 28
D/NotificationRowLayout( 1876): view added: com.android.systemui.statusbar.Expan
dableNotificationRow{41d872f0 V.E..... ......I. 0,0-0,0}; new count: 1
D/BluetoothAdapter( 1876): 1102105064: getState() : mService = null. Returning
STATE_OFF
D/BluetoothAdapter( 1876): 1102105064: getState() : mService = null. Returning
STATE_OFF
D/PhoneStatusBar( 1876): heads up is disabled
W/com.android.server.ThemeService( 722): Not setting lockscreen wp because wall
paper file was not found.
I/Adreno-EGL( 1876): <qeglDrvAPI_eglInitialize:381>: EGL 1.4 QUALCOMM build: AU_
LINUX_ANDROID_KK_2.7_RB1.04.04.04.007.064_msm8960_KK_2.7_RB1__release_AU ()
I/Adreno-EGL( 1876): OpenGL ES Shader Compiler Version: 17.01.12.SPL
I/Adreno-EGL( 1876): Build Date: 07/01/14 Tue
I/Adreno-EGL( 1876): Local Branch:
I/Adreno-EGL( 1876): Remote Branch: quic/kk_2.7_rb1.41
I/Adreno-EGL( 1876): Local Patches: NONE
I/Adreno-EGL( 1876): Reconstruct Branch: AU_LINUX_ANDROID_KK_2.7_RB1.04.04.04.00
7.064 + NOTHING
E/com.android.server.ThemeService( 722): Could not find any audio assets
E/com.android.server.ThemeService( 722): Could not find any audio assets
D/Sensors ( 722): LightSensor readEvents x = 28.000000, raw = 28
D/Sensors ( 722): activate: acc_enable=1, mag_enable=0
D/Sensors ( 722): activate: handle=4, enabled=0
D/Sensors ( 722): LightSensor enable = 0
D/Sensors ( 722): LightSensor enableSensor = 0
I/PowerManagerService( 722): Going to sleep by user request...
E/com.android.server.ThemeService( 722): Could not find any audio assets
I/ThermalDaemon( 331): Sensor 'tsens_tz_sensor0' - alarm raised 1 at 52.0 degC
E/MediaFocusControl( 722): Error updating focussed RCC to RCD
E/MediaFocusControl( 722): java.util.EmptyStackException
E/MediaFocusControl( 722): at java.util.Stack.peek(Stack.java:57)
E/MediaFocusControl( 722): at android.media.MediaFocusControl.registerRemot
eControlDisplay_int(MediaFocusControl.java:2238)
E/MediaFocusControl( 722): at android.media.MediaFocusControl.registerRemot
eControlDisplay(MediaFocusControl.java:230)
E/MediaFocusControl( 722): at android.media.AudioService.registerRemoteCont
rolDisplay(AudioService.java:4545)
E/MediaFocusControl( 722): at android.media.IAudioService$Stub.onTransact(I
AudioService.java:593)
E/MediaFocusControl( 722): at android.os.Binder.execTransact(Binder.java:40
4)
E/MediaFocusControl( 722): at dalvik.system.NativeStart.run(Native Method)
W/Settings( 1876): Setting airplane_mode_on has moved from android.provider.Sett
ings.System to android.provider.Settings.Global, returning read-only value.
W/Settings( 1876): Setting airplane_mode_on has moved from android.provider.Sett
ings.System to android.provider.Settings.Global, returning read-only value.
W/Settings( 1876): Setting airplane_mode_on has moved from android.provider.Sett
ings.System to android.provider.Settings.Global, returning read-only value.
W/Settings( 1876): Setting airplane_mode_on has moved from android.provider.Sett
ings.System to android.provider.Settings.Global, returning read-only value.
W/Settings( 1876): Setting airplane_mode_on has moved from android.provider.Sett
ings.System to android.provider.Settings.Global, returning read-only value.
W/Settings( 1876): Setting airplane_mode_on has moved from android.provider.Sett
ings.System to android.provider.Settings.Global, returning read-only value.
W/Settings( 1876): Setting airplane_mode_on has moved from android.provider.Sett
ings.System to android.provider.Settings.Global, returning read-only value.
W/Settings( 1876): Setting airplane_mode_on has moved from android.provider.Sett
ings.System to android.provider.Settings.Global, returning read-only value.
I/Choreographer( 1876): Skipped 99 frames! The application may be doing too muc
h work on its main thread.
E/com.android.server.ThemeService( 722): Could not find any font assets
I/Adreno-EGL( 1876): <qeglDrvAPI_eglInitialize:381>: EGL 1.4 QUALCOMM build: AU_
LINUX_ANDROID_KK_2.7_RB1.04.04.04.007.064_msm8960_KK_2.7_RB1__release_AU ()
I/Adreno-EGL( 1876): OpenGL ES Shader Compiler Version: 17.01.12.SPL
I/Adreno-EGL( 1876): Build Date: 07/01/14 Tue
I/Adreno-EGL( 1876): Local Branch:
I/Adreno-EGL( 1876): Remote Branch: quic/kk_2.7_rb1.41
I/Adreno-EGL( 1876): Local Patches: NONE
I/Adreno-EGL( 1876): Reconstruct Branch: AU_LINUX_ANDROID_KK_2.7_RB1.04.04.04.00
7.064 + NOTHING
D/OpenGLRenderer( 1876): Enabling debug mode 0
D/Tethering( 722): exception when get active network info:java.lang.NullPointer
Exception
D/SurfaceFlinger( 323): Screen released, type=0 flinger=0xb7d004e0
D/qdhwcomposer( 323): hwc_blank: Blanking display: 0
D/qdhwcomposer( 323): hwc_blank: Done blanking display: 0
D/SurfaceControl( 722): Excessive delay in blankDisplay() while turning screen
off: 404ms
I/ThermalDaemon( 331): Sensor 'tsens_tz_sensor0' - alarm cleared 1 at 46.0 degC

D/Sensors ( 722): activate: acc_enable=0, mag_enable=0
D/Sensors ( 722): activate: handle=0, enabled=0
D/com.android.server.ThemeService( 722): Force stopping org.fiui.launcher for t
heme change
I/ActivityManager( 722): Force stopping org.fiui.launcher appid=10016 user=0: f
rom pid 722
I/ActivityManager( 722): Killing 1289:org.fiui.launcher/u0a16 (adj 0): stop org
.fiui.launcher
I/WindowState( 722): WIN DEATH: Window{41e3cfb0 u0 org.fiui.launcher/org.cyanog
enmod.trebuchet.CustomHomeLauncher}
D/PhoneStatusBar( 1876): disable: < EXPAND icons alerts ticker system_info BACK
HOME RECENT CLOCK* SEARCH >
I/ActivityManager( 722): Force finishing activity ActivityRecord{41dc6ce8 u0
org.fiui.launcher/org.cyanogenmod.trebuchet.CustomHomeLauncher t2}
I/ActivityManager( 722): START u0 {act=android.intent.action.MAIN cat=[android.
intent.category.HOME] flg=0x10000000 cmp=org.fiui.launcher/org.cyanogenmod.trebu
chet.CustomHomeLauncher} from pid 0
V/Zygote ( 1919): Switching descriptor 34 to /dev/null
V/Zygote ( 1919): Switching descriptor 10 to /dev/null
I/ActivityManager( 722): Start proc org.fiui.launcher for activity org.fiui.lau
ncher/org.cyanogenmod.trebuchet.CustomHomeLauncher: pid=1919 uid=10016 gids={500
16, 1028}
I/Choreographer( 1876): Skipped 39 frames! The application may be doing too muc
h work on its main thread.
D/ActivityThread( 1919): handleBindApplication:org.fiui.launcher
D/ActivityThread( 1919): setTargetHeapUtilization:0.75
D/ActivityThread( 1919): setTargetHeapMinFree:2097152
D/Launcher.LauncherProvider( 1919): 11683562 - initializeMaxScreenId(): 1
V/Launcher( 1919): LauncherAppState inited
E/ActivityThread( 1919): Failed to find provider info for com.android.launcher2.
settings
W/Launcher( 1919): setApplicationContext called twice! old=com.android.launcher3
.LauncherApplication@41a71190 new=com.android.launcher3.LauncherApplication@41a7
1190

C:\adb\progbin>