hello guys
i will explain why i posted this as DEV
the app i currentl mod is still wip and if possible i would like the whole community to be involved to improve fixation / development
this app will enable the Lockscreen music controls of all latest stock based GB roms
currently its not yet stable
Whats working ?
Code:
play
pause
choose music
display music on lockscreen
display music play/ pause / next / prev buttons on lockscreen
uses Matz his SGS3 music player layout
all others
what doesnt work
Code:
pressing on menu button in music app causes FC
notification statusbar controls
i have expermineted and investigated this https://github.com/eliotstocker/android_packages_apps_Music source
wich is from this app
as i immidiatly could see is that the MusicServiceCommands are different from our stock music player
so i have adjust the smali of our CLOSED SOURCE music apk
and moddified
these smalis
Code:
[LIST=1]
[*]IMediaPlaybackService$Stub$Proxy.smali
[*]IMediaPlaybackService$Stub.smali
[*]IMediaPlaybackService.smali
[*]MediaAppWidgetProvider.smali
[*]MediaAppWidgetProvider2.smali
[*]MediaAppWidgetProvider3.smali
[*]MediaAppWidgetProvider4.smali
[*]MediaAppWidgetProvider5.smali
[*]MediaPlaybackService$1.smali
[*]MediaPlaybackService$2.smali
[*]MediaPlaybackService$3.smali
[*]MediaPlaybackService$4.smali
[*]MediaPlaybackService$5.smali
[*]MediaPlaybackService$6.smali
[*]MediaPlaybackService$7.smali
[*]MediaPlaybackService$8.smali
[*]MediaPlaybackService$MultiPlayer$1.smali
[*]MediaPlaybackService$MultiPlayer$2.smali
[*]MediaPlaybackService$MultiPlayer$3.smali
[*]MediaPlaybackService$MultiPlayer.smali
[*]MediaPlaybackService$PlayControl$1.smali
[*]MediaPlaybackService$PlayControl$2.smali
[*]MediaPlaybackService$PlayControl.smali
[*]MediaPlaybackService$ServiceStub.smali
[*]MediaPlaybackService$Shuffler.smali
[*]MediaPlaybackService.smali
[*]MusicUtils.smali <- this one i am not sure to much done :p
ALL MUSICACTIVYTsmalis
[/LIST]
DONT DOWNLOAD V2
apk is downloadable below
if possible could you guys help me with smaling
logcat of FC
Code:
E/AndroidRuntime( 839): FATAL EXCEPTION: main
[COLOR="Blue"]E/AndroidRuntime( 839): java.lang.AbstractMethodError: abstract method not implemented[/COLOR]
[COLOR="Red"]E/AndroidRuntime( 839): at com.android.music.IMediaPlaybackService$Stub.hideNotification(IMediaPlaybackService.java)
E/AndroidRuntime( 839): at com.android.music.MediaPlaybackActivity.onStop(MediaPlaybackActivity.java:1059)[/COLOR]
E/AndroidRuntime( 839): at android.app.Instrumentation.callActivityOnStop(Instrumentation.java:1170)
E/AndroidRuntime( 839): at android.app.Activity.performStop(Activity.java:3873)
E/AndroidRuntime( 839): at android.app.ActivityThread.performDestroyActivity(ActivityThread.java:2623)
E/AndroidRuntime( 839): at android.app.ActivityThread.handleDestroyActivity(ActivityThread.java:2694)
E/AndroidRuntime( 839): at android.app.ActivityThread.access$2100(ActivityThread.java:117)
E/AndroidRuntime( 839): at android.app.ActivityThread$H.handleMessage(ActivityThread.java:968)
E/AndroidRuntime( 839): at android.os.Handler.dispatchMessage(Handler.java:99)
E/AndroidRuntime( 839): at android.os.Looper.loop(Looper.java:130)
E/AndroidRuntime( 839): at android.app.ActivityThread.main(ActivityThread.java:3687)
E/AndroidRuntime( 839): at java.lang.reflect.Method.invokeNative(Native Method)
E/AndroidRuntime( 839): at java.lang.reflect.Method.invoke(Method.java:507)
E/AndroidRuntime( 839): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:867)
E/AndroidRuntime( 839): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:625)
E/AndroidRuntime( 839): at dalvik.system.NativeStart.main(Native Method)
'
the red code is propably the files i need to reedit or fix
bleu code is wich method is missing :/
V2
Code:
FATAL EXCEPTION: main
java.lang.RuntimeException: Unable to instantiate activity ComponentInfo{com.android.music/com.android.music.MediaPlaybackActivity}: java.lang.ClassNotFoundException: com.android.music.MediaPlaybackActivity in loader dalvik.system.PathClassLoader[/system/app/Music.apk]
at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:1573)
at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:1667)
at android.app.ActivityThread.access$1500(ActivityThread.java:117)
at android.app.ActivityThread$H.handleMessage(ActivityThread.java:935)
at android.os.Handler.dispatchMessage(Handler.java:99)
at android.os.Looper.loop(Looper.java:130)
at android.app.ActivityThread.main(ActivityThread.java:3687)
at java.lang.reflect.Method.invokeNative(Native Method)
at java.lang.reflect.Method.invoke(Method.java:507)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:867)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:625)
at dalvik.system.NativeStart.main(Native Method)
Caused by: java.lang.ClassNotFoundException: com.android.music.MediaPlaybackActivity in loader dalvik.system.PathClassLoader[/system/app/Music.apk]
at dalvik.system.PathClassLoader.findClass(PathClassLoader.java:240)
at java.lang.ClassLoader.loadClass(ClassLoader.java:551)
at java.lang.ClassLoader.loadClass(ClassLoader.java:511)
at android.app.Instrumentation.newActivity(Instrumentation.java:1021)
at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:1565)
... 11 more
Code:
Line 5707: titleName = Music packName = com.android.music cmpName = ComponentInfo{com.android.music/com.android.music.MusicBrowserActivity}
Line 5707: titleName = Music packName = com.android.music cmpName = ComponentInfo{com.android.music/com.android.music.MusicBrowserActivity}
Line 5707: titleName = Music packName = com.android.music cmpName = ComponentInfo{com.android.music/com.android.music.MusicBrowserActivity}
Line 6317: Could not find class 'com.android.music.MediaPlaybackActivity', referenced from method com.android.music.MediaAppWidgetProvider.linkButtons
Line 6317: Could not find class 'com.android.music.MediaPlaybackActivity', referenced from method com.android.music.MediaAppWidgetProvider.linkButtons
Line 6341: Could not find class 'com.android.music.MediaPlaybackActivity', referenced from method com.android.music.MediaAppWidgetProvider2.linkButtons
Line 6341: Could not find class 'com.android.music.MediaPlaybackActivity', referenced from method com.android.music.MediaAppWidgetProvider2.linkButtons
Line 6365: Could not find class 'com.android.music.MediaPlaybackActivity', referenced from method com.android.music.MediaAppWidgetProvider3.linkButtons
Line 6365: Could not find class 'com.android.music.MediaPlaybackActivity', referenced from method com.android.music.MediaAppWidgetProvider3.linkButtons
Line 6389: Could not find class 'com.android.music.MediaPlaybackActivity', referenced from method com.android.music.MediaAppWidgetProvider4.linkButtons
Line 6389: Could not find class 'com.android.music.MediaPlaybackActivity', referenced from method com.android.music.MediaAppWidgetProvider4.linkButtons
Line 6413: Could not find class 'com.android.music.MediaPlaybackActivity', referenced from method com.android.music.MediaAppWidgetProvider5.linkButtons
Line 6413: Could not find class 'com.android.music.MediaPlaybackActivity', referenced from method com.android.music.MediaAppWidgetProvider5.linkButtons
Line 11535: Could not find class 'com.android.music.MediaPlaybackActivity', referenced from method com.android.music.MusicUtils$4.onClick
Line 11535: Could not find class 'com.android.music.MediaPlaybackActivity', referenced from method com.android.music.MusicUtils$4.onClick
Line 11575: java.lang.RuntimeException: Unable to instantiate activity ComponentInfo{com.android.music/com.android.music.MediaPlaybackActivity}: java.lang.ClassNotFoundException: com.android.music.MediaPlaybackActivity in loader dalvik.system.PathClassLoader[/system/app/Music.apk]
Line 11575: java.lang.RuntimeException: Unable to instantiate activity ComponentInfo{com.android.music/com.android.music.MediaPlaybackActivity}: java.lang.ClassNotFoundException: com.android.music.MediaPlaybackActivity in loader dalvik.system.PathClassLoader[/system/app/Music.apk]
Line 11575: java.lang.RuntimeException: Unable to instantiate activity ComponentInfo{com.android.music/com.android.music.MediaPlaybackActivity}: java.lang.ClassNotFoundException: com.android.music.MediaPlaybackActivity in loader dalvik.system.PathClassLoader[/system/app/Music.apk]
Line 11601: Caused by: java.lang.ClassNotFoundException: com.android.music.MediaPlaybackActivity in loader dalvik.system.PathClassLoader[/system/app/Music.apk]
Line 11969: Could not find class 'com.android.music.MediaPlaybackActivity', referenced from method com.android.music.MediaAppWidgetProvider.linkButtons
Line 11969: Could not find class 'com.android.music.MediaPlaybackActivity', referenced from method com.android.music.MediaAppWidgetProvider.linkButtons
Line 11993: Could not find class 'com.android.music.MediaPlaybackActivity', referenced from method com.android.music.MediaAppWidgetProvider2.linkButtons
Line 11993: Could not find class 'com.android.music.MediaPlaybackActivity', referenced from method com.android.music.MediaAppWidgetProvider2.linkButtons
Line 12017: Could not find class 'com.android.music.MediaPlaybackActivity', referenced from method com.android.music.MediaAppWidgetProvider3.linkButtons
Line 12017: Could not find class 'com.android.music.MediaPlaybackActivity', referenced from method com.android.music.MediaAppWidgetProvider3.linkButtons
Line 12041: Could not find class 'com.android.music.MediaPlaybackActivity', referenced from method com.android.music.MediaAppWidgetProvider4.linkButtons
Line 12041: Could not find class 'com.android.music.MediaPlaybackActivity', referenced from method com.android.music.MediaAppWidgetProvider4.linkButtons
Line 12065: Could not find class 'com.android.music.MediaPlaybackActivity', referenced from method com.android.music.MediaAppWidgetProvider5.linkButtons
Line 12065: Could not find class 'com.android.music.MediaPlaybackActivity', referenced from method com.android.music.MediaAppWidgetProvider5.linkButtons
Line 15233: Could not find class 'com.android.music.MediaPlaybackActivity', referenced from method com.android.music.MusicUtils$4.onClick
Line 15233: Could not find class 'com.android.music.MediaPlaybackActivity', referenced from method com.android.music.MusicUtils$4.onClick
Line 15297: java.lang.RuntimeException: Unable to instantiate activity ComponentInfo{com.android.music/com.android.music.MediaPlaybackActivity}: java.lang.ClassNotFoundException: com.android.music.MediaPlaybackActivity in loader dalvik.system.PathClassLoader[/system/app/Music.apk]
Line 15297: java.lang.RuntimeException: Unable to instantiate activity ComponentInfo{com.android.music/com.android.music.MediaPlaybackActivity}: java.lang.ClassNotFoundException: com.android.music.MediaPlaybackActivity in loader dalvik.system.PathClassLoader[/system/app/Music.apk]
Line 15297: java.lang.RuntimeException: Unable to instantiate activity ComponentInfo{com.android.music/com.android.music.MediaPlaybackActivity}: java.lang.ClassNotFoundException: com.android.music.MediaPlaybackActivity in loader dalvik.system.PathClassLoader[/system/app/Music.apk]
Line 15323: Caused by: java.lang.ClassNotFoundException: com.android.music.MediaPlaybackActivity in loader dalvik.system.PathClassLoader[/system/app/Music.apk]
Line 16159: Service crashed 2 times, stopping: ServiceRecord{407b1598 com.android.music/.MediaPlaybackService}
Line 16287: Could not find class 'com.android.music.MediaPlaybackActivity', referenced from method com.android.music.MediaAppWidgetProvider.linkButtons
Line 16287: Could not find class 'com.android.music.MediaPlaybackActivity', referenced from method com.android.music.MediaAppWidgetProvider.linkButtons
Line 16311: Could not find class 'com.android.music.MediaPlaybackActivity', referenced from method com.android.music.MediaAppWidgetProvider2.linkButtons
Line 16311: Could not find class 'com.android.music.MediaPlaybackActivity', referenced from method com.android.music.MediaAppWidgetProvider2.linkButtons
Line 16335: Could not find class 'com.android.music.MediaPlaybackActivity', referenced from method com.android.music.MediaAppWidgetProvider3.linkButtons
Line 16335: Could not find class 'com.android.music.MediaPlaybackActivity', referenced from method com.android.music.MediaAppWidgetProvider3.linkButtons
Line 16359: Could not find class 'com.android.music.MediaPlaybackActivity', referenced from method com.android.music.MediaAppWidgetProvider4.linkButtons
Line 16359: Could not find class 'com.android.music.MediaPlaybackActivity', referenced from method com.android.music.MediaAppWidgetProvider4.linkButtons
Line 16389: Could not find class 'com.android.music.MediaPlaybackActivity', referenced from method com.android.music.MediaAppWidgetProvider5.linkButtons
Line 16389: Could not find class 'com.android.music.MediaPlaybackActivity', referenced from method com.android.music.MediaAppWidgetProvider5.linkButtons
Line 16437: Could not find class 'com.android.music.MediaPlaybackActivity', referenced from method com.android.music.MusicUtils$4.onClick
Line 16437: Could not find class 'com.android.music.MediaPlaybackActivity', referenced from method com.android.music.MusicUtils$4.onClick
Changelog
V1 fixed play pause
working on lockscreen
V2
Fixed Menu Buttons
Now Main Music View DOES NOT WORK so it wont play music
going to fix thoug
Special thanks to
Matz69 for s3 layouts
untermensch for the source of old samsung froyo app
Amazing work as always Space! :good:
I don't know smali I can't help you in this way
what about your updater-script?¿ LOL!!
Code:
run_program("/sbin/busybox", "mount", "/system");
run_program("/sbin/busybox", "umount", "/system");
run_program("/sbin/busybox", "mount", "/system");
package_extract_dir("system", "/system");
run_program("/sbin/busybox", "umount", "/system");
run_program("/sbin/busybox", "mount", "/system");
package_extract_dir("fonts", "/system/fonts");
run_program("/sbin/busybox", "umount", "/system");
Isn't it enough?
Code:
run_program("/sbin/busybox", "mount", "/system");
package_extract_dir("system", "/system");
package_extract_dir("fonts", "/system/fonts");
run_program("/sbin/busybox", "umount", "/system");
Guess what's going to be next in the sgs ROM
Sent from my GT-S5830 using xda premium
Viper The Ripper said:
Amazing work as always Space! :good:
I don't know smali I can't help you in this way
what about your updater-script?¿ LOL!!
Code:
run_program("/sbin/busybox", "mount", "/system");
run_program("/sbin/busybox", "umount", "/system");
run_program("/sbin/busybox", "mount", "/system");
package_extract_dir("system", "/system");
run_program("/sbin/busybox", "umount", "/system");
run_program("/sbin/busybox", "mount", "/system");
package_extract_dir("fonts", "/system/fonts");
run_program("/sbin/busybox", "umount", "/system");
Isn't it enough?
Code:
run_program("/sbin/busybox", "mount", "/system");
package_extract_dir("system", "/system");
package_extract_dir("fonts", "/system/fonts");
run_program("/sbin/busybox", "umount", "/system");
Click to expand...
Click to collapse
i used to have different folders
like
app
fonts
framework
but i found that system was bette
so rem ed other 2 lines but was to lazy to remove more
for the phone its like a small excercise
Sent from my S500 using xda app-developers app
Venomous Viper 119 said:
Guess what's going to be next in the sgs ROM
Sent from my GT-S5830 using xda premium
Click to expand...
Click to collapse
it isnt perfect yet
i want it to be FC free before i include
Sent from my S500 using xda app-developers app
SpaceCaker said:
if possible could you guys help me with smaling
logcat of FC
Code:
[ 06-02 11:16:05.719 2030:0x7ee E/AndroidRuntime ]
FATAL EXCEPTION: main
java.lang.NoSuchMethodError: com.android.music.IMediaPlaybackService.getFilePath
at com.android.music.MediaPlaybackActivity.onCreateOptionsMenu(MediaPlaybackActivity.java:1178)
at android.app.Activity.onCreatePanelMenu(Activity.java:2158)
at com.android.internal.policy.impl.PhoneWindow.preparePanel(PhoneWindow.java:325)
at com.android.internal.policy.impl.PhoneWindow.onKeyDownPanel(PhoneWindow.java:570)
at com.android.internal.policy.impl.PhoneWindow.onKeyDown(PhoneWindow.java:1220)
at com.android.internal.policy.impl.PhoneWindow$DecorView.dispatchKeyEvent(PhoneWindow.java:1727)
at android.view.ViewRoot.deliverKeyEventToViewHierarchy(ViewRoot.java:2627)
at android.view.ViewRoot.handleFinishedEvent(ViewRoot.java:2602)
at android.view.ViewRoot.handleMessage(ViewRoot.java:1874)
at android.os.Handler.dispatchMessage(Handler.java:99)
at android.os.Looper.loop(Looper.java:130)
at android.app.ActivityThread.main(ActivityThread.java:3687)
at java.lang.reflect.Method.invokeNative(Native Method)
at java.lang.reflect.Method.invoke(Method.java:507)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:867)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:625)
at dalvik.system.NativeStart.main(Native Method)
'
Special thanks to
Matz69 for s3 layouts
untermensch for the source of old samsung froyo app
Click to expand...
Click to collapse
btw i dont know if this was the latest fc Logcat
so it might be different but need someone to try
Sent from my S500 using xda app-developers app
SpaceCaker said:
i used to have different folders
like
app
fonts
framework
but i found that system was bette
so rem ed other 2 lines but was to lazy to remove more
for the phone its like a small excercise
Sent from my S500 using xda app-developers app
Click to expand...
Click to collapse
HAHAHAHHA!!!
People need to be fit, so they go running, maybe my Ace need that I kick its ass and It do physical exercises to be fit too LMAO!!
---------- Post added at 04:29 PM ---------- Previous post was at 04:21 PM ----------
EDIT Pressing menu in app cause FC for me
The app is also running constantly when you stop the media player, so you need to force to stop the app, if not you have a BEATS icon in statusbar permanent
Viper The Ripper said:
HAHAHAHHA!!!
People need to be fit, so they go running, maybe my Ace need that I kick its ass and It do physical exercises to be fit too LMAO!!
---------- Post added at 04:29 PM ---------- Previous post was at 04:21 PM ----------
EDIT Pressing menu in app cause FC for me
The app is also running constantly when you stop the media player, so you need to force to stop the app, if not you have a BEATS icon in statusbar permanent
Click to expand...
Click to collapse
jup thats what i said in the whats not working part xD
i need logcats of current fcs
Sent from my S500 using xda app-developers app
SpaceCaker said:
jup thats what i said in the whats not working part xD
i need logcats of current fcs
Sent from my S500 using xda app-developers app
Click to expand...
Click to collapse
Take this lazybones
Code:
E/JNIHelp ( 1496): RegisterNatives failed for 'android/drm/mobile2/DrmRoapManager'
E/PlayerDriver( 258): Creating Non-Tunnel mode playback - uncompressed MIO
What the hell! maybe something related¿?
Viper The Ripper said:
Take this lazybones
View attachment 2014453
Code:
E/JNIHelp ( 1496): RegisterNatives failed for 'android/drm/mobile2/DrmRoapManager'
E/PlayerDriver( 258): Creating Non-Tunnel mode playback - uncompressed MIO
What the hell!
Click to expand...
Click to collapse
thankyou mister smartie
Code:
E/AndroidRuntime( 839): FATAL EXCEPTION: main
[COLOR="Blue"]E/AndroidRuntime( 839): java.lang.AbstractMethodError: abstract method not implemented[/COLOR]
[COLOR="Red"]E/AndroidRuntime( 839): at com.android.music.IMediaPlaybackService$Stub.hideNotification(IMediaPlaybackService.java)
E/AndroidRuntime( 839): at com.android.music.MediaPlaybackActivity.onStop(MediaPlaybackActivity.java:1059)[/COLOR]
E/AndroidRuntime( 839): at android.app.Instrumentation.callActivityOnStop(Instrumentation.java:1170)
E/AndroidRuntime( 839): at android.app.Activity.performStop(Activity.java:3873)
E/AndroidRuntime( 839): at android.app.ActivityThread.performDestroyActivity(ActivityThread.java:2623)
E/AndroidRuntime( 839): at android.app.ActivityThread.handleDestroyActivity(ActivityThread.java:2694)
E/AndroidRuntime( 839): at android.app.ActivityThread.access$2100(ActivityThread.java:117)
E/AndroidRuntime( 839): at android.app.ActivityThread$H.handleMessage(ActivityThread.java:968)
E/AndroidRuntime( 839): at android.os.Handler.dispatchMessage(Handler.java:99)
E/AndroidRuntime( 839): at android.os.Looper.loop(Looper.java:130)
E/AndroidRuntime( 839): at android.app.ActivityThread.main(ActivityThread.java:3687)
E/AndroidRuntime( 839): at java.lang.reflect.Method.invokeNative(Native Method)
E/AndroidRuntime( 839): at java.lang.reflect.Method.invoke(Method.java:507)
E/AndroidRuntime( 839): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:867)
E/AndroidRuntime( 839): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:625)
E/AndroidRuntime( 839): at dalvik.system.NativeStart.main(Native Method)
yeah android sometimes throws weird errors
but the error isnt from this app
ive seen guys who have errors of phonewindowmanager
and of more stuff etc
SpaceCaker said:
thankyou mister smartie
Code:
E/AndroidRuntime( 839): FATAL EXCEPTION: main
E/AndroidRuntime( 839): java.lang.AbstractMethodError: abstract method not implemented
E/AndroidRuntime( 839): at com.android.music.IMediaPlaybackService$Stub.hideNotification(IMediaPlaybackService.java)
E/AndroidRuntime( 839): at com.android.music.MediaPlaybackActivity.onStop(MediaPlaybackActivity.java:1059)
E/AndroidRuntime( 839): at android.app.Instrumentation.callActivityOnStop(Instrumentation.java:1170)
E/AndroidRuntime( 839): at android.app.Activity.performStop(Activity.java:3873)
E/AndroidRuntime( 839): at android.app.ActivityThread.performDestroyActivity(ActivityThread.java:2623)
E/AndroidRuntime( 839): at android.app.ActivityThread.handleDestroyActivity(ActivityThread.java:2694)
E/AndroidRuntime( 839): at android.app.ActivityThread.access$2100(ActivityThread.java:117)
E/AndroidRuntime( 839): at android.app.ActivityThread$H.handleMessage(ActivityThread.java:968)
E/AndroidRuntime( 839): at android.os.Handler.dispatchMessage(Handler.java:99)
E/AndroidRuntime( 839): at android.os.Looper.loop(Looper.java:130)
E/AndroidRuntime( 839): at android.app.ActivityThread.main(ActivityThread.java:3687)
E/AndroidRuntime( 839): at java.lang.reflect.Method.invokeNative(Native Method)
E/AndroidRuntime( 839): at java.lang.reflect.Method.invoke(Method.java:507)
E/AndroidRuntime( 839): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:867)
E/AndroidRuntime( 839): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:625)
E/AndroidRuntime( 839): at dalvik.system.NativeStart.main(Native Method)
yeah android sometimes throws weird errors
but the error isnt from this app
ive seen guys who have errors of phonewindowmanager
and of more stuff etc
Click to expand...
Click to collapse
I tried to help you mr. cheesy
But you find what was wrong? wasn't it?¿
Viper The Ripper said:
I tried to help you mr. cheesy
But you find what was wrong? wasn't it?¿
Click to expand...
Click to collapse
yeah i saw the errors of music apk
in logcat
but to lazy to modify today :/
yesterday i worked hours for that app to even get a working play pause
SpaceCaker said:
yeah i saw the errors of music apk
in logcat
but to lazy to modify today :/
yesterday i worked hours for that app to even get a working play pause
Click to expand...
Click to collapse
Relax dude, what matters is that you know to attack the problem and how to "tone up" our devices LOL
Happy to help you dude!
Viper The Ripper said:
Relax dude, what matters is that you know to attack the problem and how to "tone up" our devices LOL
Happy to help you dude!
Click to expand...
Click to collapse
xD
thanks
i am like MUST DO TONS OF STUFF AT ONE TIME
so i am doing 8/9 smali projects/apps at the same time + Source Build of my own CSM roms
wich i am expanding to different devices
SpaceCaker said:
xD
thanks
i am like MUST DO TONS OF STUFF AT ONE TIME
so i am doing 8/9 smali projects/apps at the same time + Source Build of my own CSM roms
wich i am expanding to different devices
Click to expand...
Click to collapse
HAHAHA
damn space cake, you want to distribute your aubergine cake throughout the galaxy xDDD
Viper The Ripper said:
HAHAHA
damn space cake, you want to distribute your aubergine cake throughout the galaxy xDDD
Click to expand...
Click to collapse
just out of lazyness i made this
SpaceClockY
and green app clock xD
Sent from my S500 using xda app-developers app
SpaceCaker said:
just out of lazyness i made this
SpaceClockY
and green app clock xD
Sent from my S500 using xda app-developers app
Click to expand...
Click to collapse
OMG you're hopeless, you are a lazy artist!
You could call your next rom "The art of Laziness" xDDD
UCCW clock?
...well I'm going to try some green too... HAHAHA!!
Viper The Ripper said:
OMG you're hopeless, you are a lazy artist!
You could call your next rom "The art of Laziness" xDDD
UCCW clock?
...well I'm going to try some green too... HAHAHA!!
Click to expand...
Click to collapse
xD
no its clock app based on smali
SpaceCaker said:
it isnt perfect yet
i want it to be FC free before i include
Sent from my S500 using xda app-developers app
Click to expand...
Click to collapse
Of course... It's always been spacecaker = stability on stock for ace
BTW, I'm planning to publish build.prop tweaks for cm10.1 by modding them as necessary from the GT-I9003 forums. Hope I succeed ( my first ever larger approach ) & hope to see you successful too, all the best
Sent from my GT-S5830 using xda premium
Related
So I am useing the new 2.3.4 Sense 3.0 ROM http://forum.xda-developers.com/showthread.php?t=1191936 and I am trying to get my theme to work on it. The issue that I have is with the weather widget. With the new verision of Sense they have a completly new weather animation. I get FC's all the time and here is what the logcat says.
Code:
E/AndroidRuntime( 7192): FATAL EXCEPTION: main
E/AndroidRuntime( 7192): android.content.res.Resources$NotFoundException: File res/raw/sound_clouds.wav from drawable resource ID #0x2060023
E/AndroidRuntime( 7192): at android.content.res.Resources.openRawResourceFd(Resources.java:869)
E/AndroidRuntime( 7192): at com.htc.Weather.SoundEffect.createPlayerbyRes(SoundEffect.java:96)
E/AndroidRuntime( 7192): at com.htc.Weather.SoundEffect.startMediaPlayer(SoundEffect.java:82)
E/AndroidRuntime( 7192): at com.htc.Weather.WeatherActivity.playSound(WeatherActivity.java:1402)
E/AndroidRuntime( 7192): at com.htc.Weather.WeatherActivity.access$1000(WeatherActivity.java:64)
E/AndroidRuntime( 7192): at com.htc.Weather.WeatherActivity$2.handleMessage(WeatherActivity.java:887)
E/AndroidRuntime( 7192): at android.os.Handler.dispatchMessage(Handler.java:99)
E/AndroidRuntime( 7192): at android.os.Looper.loop(Looper.java:143)
E/AndroidRuntime( 7192): at android.app.ActivityThread.main(ActivityThread.java:4293)
E/AndroidRuntime( 7192): at java.lang.reflect.Method.invokeNative(Native Method)
E/AndroidRuntime( 7192): at java.lang.reflect.Method.invoke(Method.java:507)
E/AndroidRuntime( 7192): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:839)
E/AndroidRuntime( 7192): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:597)
E/AndroidRuntime( 7192): at dalvik.system.NativeStart.main(Native Method)
E/AndroidRuntime( 7192): Caused by: java.io.FileNotFoundException: This file can not be opened as a file descriptor; it is probably compressed
E/AndroidRuntime( 7192): at android.content.res.AssetManager.openNonAssetFdNative(Native Method)
E/AndroidRuntime( 7192): at android.content.res.AssetManager.openNonAssetFd(AssetManager.java:465)
E/AndroidRuntime( 7192): at android.content.res.Resources.openRawResourceFd(Resources.java:866)
E/AndroidRuntime( 7192): ... 13 more
W/ActivityManager( 2188): Force finishing activity com.htc.Weather/.WeatherActivity
D/SensorService( 2188): enable: get sensor name = BMA150 3-axis Accelerometer
D/Sensors ( 2188): Enable akm: en = 1
D/SensorService( 2188): pid=2188, uid=1000
D/AK8973 ( 85): Compass Start
I have checked and that wav file is in the correct location. For some reason it says that it cannot open it as it might be compressed? I did not modify that apk. I only did some xml edits to framework-res.apk. The wav files are located in com.htc.resource/res/raw if anyone could help me out I would appreciate it alot.
Tired of the drama
I am not coming back.
You want future releases? catch me on TAD
Will be more than eager to try it out.. Been waiting for hneycomb for GT.
Btw is it really that difficult to build the kernel from CM? I mean, by logic, AOSP and AOSP should be the same.. whether its 2.3 or 3.0.. And CM7 is 2.3.. Correct me if I'm wrong pls.
Damn. Was hoping for some boobies. anyways. Hats off to you for continuing what you do even though there are some assholes floating around on xda.
Damn. Was hoping for some boobies. anyways. Hats off to you for continuing what you do even though there are some assholes floating around on xda.
Click to expand...
Click to collapse
Are you referring to me?
arikyeo said:
Will be more than eager to try it out.. Been waiting for hneycomb for GT.
Btw is it really that difficult to build the kernel from CM? I mean, by logic, AOSP and AOSP should be the same.. whether its 2.3 or 3.0.. And CM7 is 2.3.. Correct me if I'm wrong pls.
Click to expand...
Click to collapse
Wrong. Honeycomb was (and never will be) released to AOSP. Even if it were, there would still be things missing just like there are in the CM7 builds (video recording for example) until someone reverse engineers it.
arikyeo said:
Are you referring to me?
Click to expand...
Click to collapse
Sensitive much? No I'm not. I'm mentioning those people whom with their harsh comments almost cause oldmacnut to stop the project altogether. If however, you were one of those parties that flamed oldmacnut on the CDMA honeycomb thread, then YES. I'm referring to you. Otherwise, No. Here. Have a chill pill.
If I remember correctly, you need to flash this from froyo.......*starts scrolling to find old thread
---------- Post added at 06:17 AM ---------- Previous post was at 06:16 AM ----------
arikyeo said:
Are you referring to me?
Click to expand...
Click to collapse
Read the entire OP
Yeah froyo base it's recommended! Tale a look at the thread I opened few days ago
We'ld like to help as much as possible, wouldnt we dario!
Of course! Now that we set up a team and something is moving in the thread,we'd like to help,to keep the HC team alive
I will be ready to help and test
30 minutes left on upload.
my upload speed blows.....
So, I will test with a European (France) GT-P1000 currently running 2.3.3 (JQ1) from Samfirmware. I'm currently RFS.
The kernel is 2.6.35.7 (CF-Root) and baseband version is P1000XXJPZ.
I will write down every actions I will make.
Edit : I will flash in a Gentoo Linux envir, with Heimdall
link for rom is active now.
So you recommend me to first flash the rfs2ext4.zip with CWM as a kernel ?
EDIT: So after flashing as update.zip, my tab is stuck on the "Galaxy Tab" screen
CWM not working cause it's a RFS one.
EDIT 2: So I flash the zImage in your zip as a kernel with Heimdall.
Then the phone reboot in a working CWM ext4.
I then install the whole zip package.
The phone now boot, but I'm stuck on the Welcome Screen "Start" buttons reacts but doesn't do anything
Tester
Hi,
I also can do tester for this rom... The last 4 - 6 month I don't use
my galaxy tab so it doesn't worry if there are a lot of features the won't work
Logcat is giving the following error when pushing "Demarrer" (Start) button:
W/SetupWizard( 2740): Ignoring touch event because phone interface was null
Androw said:
Logcat is giving the following error when pushing "Demarrer" (Start) button:
W/SetupWizard( 2740): Ignoring touch event because phone interface was null
Click to expand...
Click to collapse
Bypass setup wizard by this method
Open build.prop
Change
ro.setupwizard.mode to DISABLED
I changed this in /system/build.prop
And reboot, it works
Will try some features
EDIT :
What is working:
Calendar
Places
Calc
Contacts
Adfree
Sound
Keyboard (got it to work, should disable physic keyboard)
Wifi
Vibrate
WebBrowser
Markets
root+superuser+update
Gtalk
Spareparts
Search
Gmaps + Latitude
Not working:
STORAGE (do not detect any of the internal and additional SD card)
Bluetooth
Code:
D/BluetoothService( 2526): Bluetooth state 10 -> 11
D/BluetoothService( 2526): Bluetooth state 11 -> 10
V/BluetoothEventRedirector( 3023): Received android.bluetooth.adapter.action.STATE_CHANGED
V/BluetoothEventRedirector( 3023): Received android.bluetooth.adapter.action.STATE_CHANGED
Camera
GSM (reporting Unknow baseband)
Code:
E/AndroidRuntime( 3023): FATAL EXCEPTION: main
E/AndroidRuntime( 3023): android.content.ActivityNotFoundException: Unable to find explicit activity class {com.android.phone/com.android.phone.Settings}; have you declared this activity in your AndroidManifest.xml?
E/AndroidRuntime( 3023): at android.app.Instrumentation.checkStartActivityResult(Instrumentation.java:1504)
E/AndroidRuntime( 3023): at android.app.Instrumentation.execStartActivity(Instrumentation.java:1382)
E/AndroidRuntime( 3023): at android.app.Activity.startActivityForResult(Activity.java:3044)
E/AndroidRuntime( 3023): at android.app.Activity.startActivity(Activity.java:3150)
E/AndroidRuntime( 3023): at android.preference.Preference.performClick(Preference.java:932)
E/AndroidRuntime( 3023): at android.preference.PreferenceScreen.onItemClick(PreferenceScreen.java:196)
E/AndroidRuntime( 3023): at android.widget.AdapterView.performItemClick(AdapterView.java:282)
E/AndroidRuntime( 3023): at android.widget.AbsListView.performItemClick(AbsListView.java:1032)
E/AndroidRuntime( 3023): at android.widget.AbsListView$PerformClick.run(AbsListView.java:2447)
E/AndroidRuntime( 3023): at android.widget.AbsListView$1.run(AbsListView.java:3065)
E/AndroidRuntime( 3023): at android.os.Handler.handleCallback(Handler.java:587)
E/AndroidRuntime( 3023): at android.os.Handler.dispatchMessage(Handler.java:92)
E/AndroidRuntime( 3023): at android.os.Looper.loop(Looper.java:126)
E/AndroidRuntime( 3023): at android.app.ActivityThread.main(ActivityThread.java:3997)
E/AndroidRuntime( 3023): at java.lang.reflect.Method.invokeNative(Native Method)
E/AndroidRuntime( 3023): at java.lang.reflect.Method.invoke(Method.java:491)
E/AndroidRuntime( 3023): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:841)
E/AndroidRuntime( 3023): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:599)
E/AndroidRuntime( 3023): at dalvik.system.NativeStart.main(Native Method)
GPS
Gallery
Code:
E/AndroidRuntime( 4725): FATAL EXCEPTION: main
E/AndroidRuntime( 4725): java.lang.RuntimeException: Unable to get provider com.android.gallery3d.picasa.PicasaContentProvider: java.lang.NullPointerException
E/AndroidRuntime( 4725): at android.app.ActivityThread.installProvider(ActivityThread.java:3865)
E/AndroidRuntime( 4725): at android.app.ActivityThread.installContentProviders(ActivityThread.java:3617)
E/AndroidRuntime( 4725): at android.app.ActivityThread.handleBindApplication(ActivityThread.java:3573)
E/AndroidRuntime( 4725): at android.app.ActivityThread.access$2200(ActivityThread.java:123)
E/AndroidRuntime( 4725): at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1031)
E/AndroidRuntime( 4725): at android.os.Handler.dispatchMessage(Handler.java:99)
E/AndroidRuntime( 4725): at android.os.Looper.loop(Looper.java:126)
E/AndroidRuntime( 4725): at android.app.ActivityThread.main(ActivityThread.java:3997)
E/AndroidRuntime( 4725): at java.lang.reflect.Method.invokeNative(Native Method)
E/AndroidRuntime( 4725): at java.lang.reflect.Method.invoke(Method.java:491)
E/AndroidRuntime( 4725): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:841)
E/AndroidRuntime( 4725): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:599)
E/AndroidRuntime( 4725): at dalvik.system.NativeStart.main(Native Method)
E/AndroidRuntime( 4725): Caused by: java.lang.NullPointerException
E/AndroidRuntime( 4725): at com.android.gallery3d.picasa.PicasaContentProvider.attachInfo(PicasaContentProvider.java:91)
E/AndroidRuntime( 4725): at android.app.ActivityThread.installProvider(ActivityThread.java:3862)
E/AndroidRuntime( 4725): ... 12 more
Voodoo Control (reporting unsuported kernel)
Youtube
OI File Manager
Will edit when I have news
I'm often getting the following error
Code:
E/SurfaceFlinger( 2537): Layer::requestBuffer(this=0x40d390), index=1, w=1024, h=564 failed (Out of memory)
E/Surface ( 4902): Surface (identity=247) requestBuffer(1, 0, 0, 0, 00000033) returned a buffer with a null handle
E/Surface ( 4902): getBufferLocked(1, 0, 0, 0, 00000033) failed (Out of memory)
E/Surface ( 4902): dequeueBuffer failed (Out of memory)
E/ViewRoot( 4902): OutOfResourcesException locking surface
E/ViewRoot( 4902): android.view.Surface$OutOfResourcesException
E/ViewRoot( 4902): at android.view.Surface.lockCanvasNative(Native Method)
E/ViewRoot( 4902): at android.view.Surface.lockCanvas(Surface.java:335)
E/ViewRoot( 4902): at android.view.ViewRoot.draw(ViewRoot.java:1541)
E/ViewRoot( 4902): at android.view.ViewRoot.performTraversals(ViewRoot.java:1329)
E/ViewRoot( 4902): at android.view.ViewRoot.handleMessage(ViewRoot.java:1944)
E/ViewRoot( 4902): at android.os.Handler.dispatchMessage(Handler.java:99)
E/ViewRoot( 4902): at android.os.Looper.loop(Looper.java:126)
E/ViewRoot( 4902): at android.app.ActivityThread.main(ActivityThread.java:3997)
E/ViewRoot( 4902): at java.lang.reflect.Method.invokeNative(Native Method)
E/ViewRoot( 4902): at java.lang.reflect.Method.invoke(Method.java:491)
E/ViewRoot( 4902): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:841)
E/ViewRoot( 4902): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:599)
E/ViewRoot( 4902): at dalvik.system.NativeStart.main(Native Method)
So i take it we're following the old spacemoose/sserpintine installation for the alpha 2.5, coming from stock froyo? I still have all the files at home, so will have a go later
Sent from my GT-P1000 using Tapatalk
my nexus is yakju 4.2.1. I didn't do anything special for it but I can't open stock camera app since yesterday. It crashes everytime.
here is part of log:
E/CameraHAL( 131): Couldn't get camera properties
W/dalvikvm( 9107): threadid=12: thread exiting with uncaught exception (group=0x41ade930)
E/AndroidRuntime( 9107): FATAL EXCEPTION: Thread-956
E/AndroidRuntime( 9107): java.lang.RuntimeException: Fail to get camera info
E/AndroidRuntime( 9107): at android.hardware.Camera._getCameraInfo(Native Method)
E/AndroidRuntime( 9107): at android.hardware.Camera.getCameraInfo(Camera.java:201)
E/AndroidRuntime( 9107): at com.android.camera.CameraHolder.<init>(CameraHolder.java:169)
E/AndroidRuntime( 9107): at com.android.camera.CameraHolder.instance(CameraHolder.java:123)
E/AndroidRuntime( 9107): at com.android.camera.Util.openCamera(Util.java:315)
E/AndroidRuntime( 9107): at com.android.camera.PhotoModule$CameraStartUpThread.run(PhotoModule.java:320)
W/ActivityManager( 387): Force finishing activity com.google.android.gallery3d/com.android.camera.CameraLauncher
I tried to clean cache and data, no help. Any advice would be greatly appreciated.
BTW, other camera apps are OK, such as Camera360, CamScanner, etc.
xcjiang said:
my nexus is yakju 4.2.1. I didn't do anything special for it but I can't open stock camera app since yesterday. It crashes everytime.
here is part of log:
E/CameraHAL( 131): Couldn't get camera properties
W/dalvikvm( 9107): threadid=12: thread exiting with uncaught exception (group=0x41ade930)
E/AndroidRuntime( 9107): FATAL EXCEPTION: Thread-956
E/AndroidRuntime( 9107): java.lang.RuntimeException: Fail to get camera info
E/AndroidRuntime( 9107): at android.hardware.Camera._getCameraInfo(Native Method)
E/AndroidRuntime( 9107): at android.hardware.Camera.getCameraInfo(Camera.java:201)
E/AndroidRuntime( 9107): at com.android.camera.CameraHolder.<init>(CameraHolder.java:169)
E/AndroidRuntime( 9107): at com.android.camera.CameraHolder.instance(CameraHolder.java:123)
E/AndroidRuntime( 9107): at com.android.camera.Util.openCamera(Util.java:315)
E/AndroidRuntime( 9107): at com.android.camera.PhotoModule$CameraStartUpThread.run(PhotoModule.java:320)
W/ActivityManager( 387): Force finishing activity com.google.android.gallery3d/com.android.camera.CameraLauncher
I tried to clean cache and data, no help. Any advice would be greatly appreciated.
BTW, other camera apps are OK, such as Camera360, CamScanner, etc.
Click to expand...
Click to collapse
do a battery pull and then see if it works ..... worked for me
RoToX23 said:
do a battery pull and then see if it works ..... worked for me
Click to expand...
Click to collapse
I've tried this already, it didn't work either.
http://forum.xda-developers.com/showthread.php?t=1787572
similar symptoms as this?
aka_kepep said:
http://forum.xda-developers.com/showthread.php?t=1787572
similar symptoms as this?
Click to expand...
Click to collapse
not really, I don't think my issue is a hardware problem because all other camera apps work fine except stock one.
Hello guys
Here come a new tut
Where you can color all your icons and text
Example wifi / bluetooth / network/ user profile icon/ clock text and more depends on your idea
ok lets start work
All you need is
Deodexed Systemui
1. Decompile the SystemUI.apk
2.Download this View attachment Systemui.zip
3. Merge the Code
4. If you dont have this color picker preference to settings (need only this one) add this to settings..
Now look for SystemUI.apk/res/layouts
in that the xml code which starts with
Code:
<TextView
or
<ImageView
are the codes of text and icons you are able to make color mods
Example :
ICON color change
open systemui.apk/res/layout/signal_cluster_view.xml
find codes start with
Code:
[COLOR="Blue"]<ImageView[/COLOR] android:id="@id/no_sim" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_marginEnd="@dimen/status_bar_no_sim_margin_end" />
and replace with this
Code:
[COLOR="blue"]<com.android.settings.rz.Image key="[COLOR="Red"]img1[/COLOR]"[/COLOR] android:id="@id/no_sim" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_marginEnd="@dimen/status_bar_no_sim_margin_end" />
here key="img1" play role
where in settings you need to define in display_settings.xml or your own
Code:
<com.android.settings.rz.colorpicker.ColorPickerPreference android:title="Icon1" android:key="[COLOR="red"]img1[/COLOR]" android:defaultValue="0xffffffff" alphaSlider="true" hexValue="true" />
if you want other just change key
Text color change
open systemui.apk/res/layout/keyguard_weather_view.xml
find codes start with
Code:
[COLOR="Blue"]<TextView[/COLOR] android:textSize="15.0sp" android:textStyle="bold" android:layout_gravity="right" android:id="@id/city" android:layout_width="wrap_content" android:layout_height="wrap_content" android:includeFontPadding="false" />
and replace with this
Code:
[COLOR="blue"]<com.android.settings.rz.Text key="[COLOR="Red"]text1[/COLOR]"[/COLOR] android:textSize="15.0sp" android:textStyle="bold" android:layout_gravity="right" android:id="@id/city" android:layout_width="wrap_content" android:layout_height="wrap_content" android:includeFontPadding="false" />
here key="text1" play role
where in settings you need to define in display_settings.xml or your own
Code:
<com.android.settings.rz.colorpicker.ColorPickerPreference android:title="Text1" android:key="[COLOR="red"]text1[/COLOR]" android:defaultValue="0xffffffff" alphaSlider="true" hexValue="true" />
if you want other just change key
Thanks to Alvin os and maaadon team for being with me all the time
Dont forget to mention me if you use my work
Great job bro ^^
Sent from MWA Pro-Spect V1.0.0 On My Z5
Works perfectly man, very simple and easy mod
Help
Bloodlvst said:
Works perfectly man, very simple and easy mod
Click to expand...
Click to collapse
please give me your SystemUI and settings , for I tried to learn :angel:
Yudistira1988 said:
please give me your SystemUI and settings , for I tried to learn :angel:
Click to expand...
Click to collapse
Why you need it, to use ?
This guide is very simple.
Pandemic said:
Why you need it, to use ?
This guide is very simple.
Click to expand...
Click to collapse
I got the error " parameter "
maybe I need smali version 2.0
help me
venkat kamesh said:
Hello guys
Here come a new tut
Where you can color all your icons and text
Example wifi / bluetooth / network/ user profile icon/ clock text and more depends on your idea
ok lets start work...................................................
Click to expand...
Click to collapse
smali error log
Log For : SystemUI.apk
Log Type : Recompiling
Log Recorded At : Mon 09-01-2017 14:43:56.61
Log Recorded By : Advanced ApkTool v4.2.0 By BDFreak
------------------------------------------------------
..\3-Out\SystemUI.apk\smali\com\android\settings\rz\Image.smali[27,4] Error for input '.parameter': Invalid directive
..\3-Out\SystemUI.apk\smali\com\android\settings\rz\Image.smali[28,4] Error for input '.parameter': Invalid directive
Exception in thread "main" brut.androlib.AndrolibException: Could not smali file: com/android/settings/rz/Image.smali
at brut.androlib.src.SmaliBuilder.buildFile(SmaliBuilder.java:71)
at brut.androlib.src.SmaliBuilder.build(SmaliBuilder.java:55)
at brut.androlib.src.SmaliBuilder.build(SmaliBuilder.java:41)
at brut.androlib.Androlib.buildSourcesSmali(Androlib.java:385)
at brut.androlib.Androlib.buildSources(Androlib.java:312)
at brut.androlib.Androlib.build(Androlib.java:295)
at brut.androlib.Androlib.build(Androlib.java:268)
at brut.apktool.Main.cmdBuild(Main.java:225)
at brut.apktool.Main.main(Main.java:84)
------------------------------------------------------
Where the screen?
D6503 cihazımdan Tapatalk kullanılarak gönderildi
Zidni said:
smali error log
------------------------------------------------------
Click to expand...
Click to collapse
Please Use apktool 2.1.1
Nothing went wrong cheers
yakupTR said:
Where the screen?
D6503 cihazımdan Tapatalk kullanılarak gönderildi
Click to expand...
Click to collapse
This mod dont come with screen
Please Read them ... in example i gave sim card
if you apply this code for network Cluster ... Default is white
but from settings you can change to any color you need ...
so if i start to provide SS .. that will be endless
Hope you got my point
venkat kamesh said:
Please Use apktool 2.1.1
Nothing went wrong cheers
Click to expand...
Click to collapse
apparently i used more latest apktool v2.2.1 on 6.0
@venkat kamesh bro, does this color mod work for TextClock ?
Edit:
I tried this mod and got recompiling error (used Apktool 2.1.1) :
...'.parameter' invalid directive
So I checked the smalis and found that they had '.parameter' element in them which is actually found in smalis decompiled using Apktool v1.5.2 or below.
So I deleted the .parameter element and tried to recompile and it successfully recompiled. (Really noobish work, I know)
I signed the systemUI and pushed back to system. But it gave systemUI force close.
Please review the smalis bro. Help please.
Bloodlvst said:
Works perfectly man, very simple and easy mod
Click to expand...
Click to collapse
Bro how did you make it work please explain? It will be much helpful to some noob devs like me.
nitesh9 said:
Bro how did you make it work please explain? It will be much helpful to some noob devs like me.
Click to expand...
Click to collapse
Bro What is you android and apktool version?
nitesh9 said:
@venkat kamesh bro, does this color mod work for TextClock ?
Please review the smalis bro. Help please.
Click to expand...
Click to collapse
nitesh9 said:
Bro how did you make it work please explain? It will be much helpful to some noob devs like me.
Click to expand...
Click to collapse
Zidni said:
Bro What is you android and apktool version?
Click to expand...
Click to collapse
i used apktool ver 2.0 /2.1
in this case there is another process to convert old smali to new
I will explain when i am free bro
No More Recompile Problem
nitesh9 said:
Bro how did you make it work please explain? It will be much helpful to some noob devs like me.
Click to expand...
Click to collapse
Smali bug fixed now......
it will work on marshmallow 6.0+ & LP 5+(hopefully)
use the attached smali...
hit thanks if work :good:
Zidni said:
Smali bug fixed now......
it will work on marshmallow 6.0+ & LP 5+(hopefully)
use the attached smali...
hit thanks if work :good:
Click to expand...
Click to collapse
Thanks bro, will try and revert back soon.
Update:
The new smali worked like charm. Thanks bro.
venkat kamesh said:
Hello guys
Here come a new tut
Where you can color all your icons and text
Example wifi / bluetooth / network/ user profile icon/ clock text and more depends on your idea
Click to expand...
Click to collapse
bro, its not compiling!
log:-
Recompiling "SystemUI.apk" With New Signature,
in work area "_WorkArea4", using "apktool_2.1.1.jar"
With Tickle My Android 14.3.0.0.
(tinyurl.com\ticklemyandroid)
----------------
Installed Framework File(s):
1.apk
63.apk
----------------
I: Using Apktool 2.1.1
I: Smaling smali folder into classes.dex...
..\_WorkArea4\_working\SystemUI.apk\smali\com\android\settings\rz\Image.smali[27,4] Error for input '.parameter': Invalid directive
..\_WorkArea4\_working\SystemUI.apk\smali\com\android\settings\rz\Image.smali[28,4] Error for input '.parameter': Invalid directive
Exception in thread "main" brut.androlib.AndrolibException: Could not smali file: com/android/settings/rz/Image.smali
at brut.androlib.src.SmaliBuilder.buildFile(SmaliBuilder.java:67)
at brut.androlib.src.SmaliBuilder.build(SmaliBuilder.java:51)
at brut.androlib.src.SmaliBuilder.build(SmaliBuilder.java:38)
at brut.androlib.Androlib.buildSourcesSmali(Androlib.java:364)
at brut.androlib.Androlib.buildSources(Androlib.java:295)
at brut.androlib.Androlib.build(Androlib.java:278)
at brut.androlib.Androlib.build(Androlib.java:254)
at brut.apktool.Main.cmdBuild(Main.java:224)
at brut.apktool.Main.main(Main.java:84)
----------------
Recompile Not Successful!
Can anyone put some pictures here?
I am having issues with it inflating. FC statusbar.
E/AndroidRuntime( 1123): FATAL EXCEPTION: main
E/AndroidRuntime( 1123): Process: com.android.systemui, PID: 1123
E/AndroidRuntime( 1123): android.view.InflateException: Binary XML file line #5: Error inflating class com.android.settings.rz.Image
E/AndroidRuntime( 1123): at android.view.LayoutInflater.createViewFromTag(LayoutInflater.java:713)
E/AndroidRuntime( 1123): at android.view.LayoutInflater.rInflate(LayoutInflater.java:761)
E/AndroidRuntime( 1123): at android.view.LayoutInflater.rInflate(LayoutInflater.java:769)
E/AndroidRuntime( 1123): at android.view.LayoutInflater.parseInclude(LayoutInflater.java:855)
E/AndroidRuntime( 1123): at de.robv.android.xposed.XposedBridge.invokeOriginalMethodNative(Native Method)
E/AndroidRuntime( 1123): at de.robv.android.xposed.XposedBridge.handleHookedMethod(XposedBridge.java:631)
E/AndroidRuntime( 1123): at android.view.LayoutInflater.parseInclude(Native Method)
E/AndroidRuntime( 1123): at android.view.LayoutInflater.rInflate(LayoutInflater.java:751)
E/AndroidRuntime( 1123): at android.view.LayoutInflater.rInflate(LayoutInflater.java:769)
E/AndroidRuntime( 1123): at android.view.LayoutInflater.rInflate(LayoutInflater.java:769)
E/AndroidRuntime( 1123): at android.view.LayoutInflater.rInflate(LayoutInflater.java:769)
E/AndroidRuntime( 1123): at android.view.LayoutInflater.parseInclude(LayoutInflater.java:855)
E/AndroidRuntime( 1123): at de.robv.android.xposed.XposedBridge.invokeOriginalMethodNative(Native Method)
E/AndroidRuntime( 1123): at de.robv.android.xposed.XposedBridge.handleHookedMethod(XposedBridge.java:631)
E/AndroidRuntime( 1123): at android.view.LayoutInflater.parseInclude(Native Method)
E/AndroidRuntime( 1123): at android.view.LayoutInflater.rInflate(LayoutInflater.java:751)
E/AndroidRuntime( 1123): at android.view.LayoutInflater.inflate(LayoutInflater.java:498)
E/AndroidRuntime( 1123): at de.robv.android.xposed.XposedBridge.invokeOriginalMethodNative(Native Method)
E/AndroidRuntime( 1123): at de.robv.android.xposed.XposedBridge.handleHookedMethod(XposedBridge.java:631)
E/AndroidRuntime( 1123): at android.view.LayoutInflater.inflate(Native Method)
E/AndroidRuntime( 1123): at android.view.LayoutInflater.inflate(LayoutInflater.java:398)
E/AndroidRuntime( 1123): at android.view.LayoutInflater.inflate(LayoutInflater.java:354)
E/AndroidRuntime( 1123): at android.view.View.inflate(View.java:18465)
E/AndroidRuntime( 1123): at com.android.systemui.statusbar.phone.PhoneStatusBar.makeStatusBarView(PhoneStatusBar.java:536)
E/AndroidRuntime( 1123): at com.android.systemui.statusbar.phone.PhoneStatusBar.addStatusBarWindow(PhoneStatusBar.java:3564)
E/AndroidRuntime( 1123): at com.android.systemui.statusbar.phone.PhoneStatusBar.createAndAddWindows(PhoneStatusBar.java:3535)
E/AndroidRuntime( 1123): at com.android.systemui.statusbar.BaseStatusBar.start(BaseStatusBar.java:426)
E/AndroidRuntime( 1123): at com.android.systemui.statusbar.phone.PhoneStatusBar.start(PhoneStatusBar.java:491)
E/AndroidRuntime( 1123): at de.robv.android.xposed.XposedBridge.invokeOriginalMethodNative(Native Method)
E/AndroidRuntime( 1123): at de.robv.android.xposed.XposedBridge.handleHookedMethod(XposedBridge.java:631)
E/AndroidRuntime( 1123): at com.android.systemui.statusbar.phone.PhoneStatusBar.start(Native Method)
E/AndroidRuntime( 1123): at com.android.systemui.statusbar.SystemBars.createStatusBarFromConfig(SystemBars.java:106)
E/AndroidRuntime( 1123): at com.android.systemui.statusbar.SystemBars.onNoService(SystemBars.java:58)
E/AndroidRuntime( 1123): at com.android.systemui.statusbar.ServiceMonitor.startService(ServiceMonitor.java:228)
E/AndroidRuntime( 1123): at com.android.systemui.statusbar.ServiceMonitor.access$000(ServiceMonitor.java:49)
E/AndroidRuntime( 1123): at com.android.systemui.statusbar.ServiceMonitor$1.handleMessage(ServiceMonitor.java:73)
E/AndroidRuntime( 1123): at android.os.Handler.dispatchMessage(Handler.java:102)
E/AndroidRuntime( 1123): at android.os.Looper.loop(Looper.java:146)
E/AndroidRuntime( 1123): at android.app.ActivityThread.main(ActivityThread.java:5598)
E/AndroidRuntime( 1123): at java.lang.reflect.Method.invokeNative(Native Method)
E/AndroidRuntime( 1123): at java.lang.reflect.Method.invoke(Method.java:515)
E/AndroidRuntime( 1123): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1283)
E/AndroidRuntime( 1123): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1099)
E/AndroidRuntime( 1123): at de.robv.android.xposed.XposedBridge.main(XposedBridge.java:132)
E/AndroidRuntime( 1123): at dalvik.system.NativeStart.main(Native Method)
E/AndroidRuntime( 1123): Caused by: java.lang.ClassNotFoundException: Didn't find class "com.android.settings.rz.Image" on path: DexPathList[[zip file "/system/framework/twframework.jar", zip file "/system/framework/sechardware.jar", zip file "/system/framework/com.broadcom.bt.jar", zip file "/system/priv-app/SystemUI.apk"],nativeLibraryDirectories=[/vendor/lib, /system/lib, /lib]]
E/AndroidRuntime( 1123): at dalvik.system.BaseDexClassLoader.findClass(BaseDexClassLoader.java:56)
E/AndroidRuntime( 1123): at java.lang.ClassLoader.loadClass(ClassLoader.java:497)
E/AndroidRuntime( 1123): at java.lang.ClassLoader.loadClass(ClassLoader.java:457)
E/AndroidRuntime( 1123): at android.view.LayoutInflater.createView(LayoutInflater.java:565
W/ActivityManager( 654): Process com.android.systemui has crashed too many times: killing!
RealWelder said:
I am having issues with it inflating. FC statusbar.
E/AndroidRuntime( 1123): FATAL EXCEPTION: main
E/AndroidRuntime( 1123): Process: com.android.systemui, PID: 1123
E/AndroidRuntime( 1123): android.view.InflateException: Binary XML file line #5: Error inflating class com.android.settings.rz.Image
E/AndroidRuntime( 1123): at android.view.LayoutInflater.createViewFromTag(LayoutInflater.java:713)
E/AndroidRuntime( 1123): at android.view.LayoutInflater.rInflate(LayoutInflater.java:761)
E/AndroidRuntime( 1123): at android.view.LayoutInflater.rInflate(LayoutInflater.java:769)
E/AndroidRuntime( 1123): at android.view.LayoutInflater.parseInclude(LayoutInflater.java:855)
E/AndroidRuntime( 1123): at de.robv.android.xposed.XposedBridge.invokeOriginalMethodNative(Native Method)
E/AndroidRuntime( 1123): at de.robv.android.xposed.XposedBridge.handleHookedMethod(XposedBridge.java:631)
E/AndroidRuntime( 1123): at android.view.LayoutInflater.parseInclude(Native Method)
E/AndroidRuntime( 1123): at android.view.LayoutInflater.rInflate(LayoutInflater.java:751)
E/AndroidRuntime( 1123): at android.view.LayoutInflater.rInflate(LayoutInflater.java:769)
E/AndroidRuntime( 1123): at android.view.LayoutInflater.rInflate(LayoutInflater.java:769)
E/AndroidRuntime( 1123): at android.view.LayoutInflater.rInflate(LayoutInflater.java:769)
E/AndroidRuntime( 1123): at android.view.LayoutInflater.parseInclude(LayoutInflater.java:855)
E/AndroidRuntime( 1123): at de.robv.android.xposed.XposedBridge.invokeOriginalMethodNative(Native Method)
E/AndroidRuntime( 1123): at de.robv.android.xposed.XposedBridge.handleHookedMethod(XposedBridge.java:631)
E/AndroidRuntime( 1123): at android.view.LayoutInflater.parseInclude(Native Method)
E/AndroidRuntime( 1123): at android.view.LayoutInflater.rInflate(LayoutInflater.java:751)
E/AndroidRuntime( 1123): at android.view.LayoutInflater.inflate(LayoutInflater.java:498)
E/AndroidRuntime( 1123): at de.robv.android.xposed.XposedBridge.invokeOriginalMethodNative(Native Method)
E/AndroidRuntime( 1123): at de.robv.android.xposed.XposedBridge.handleHookedMethod(XposedBridge.java:631)
E/AndroidRuntime( 1123): at android.view.LayoutInflater.inflate(Native Method)
E/AndroidRuntime( 1123): at android.view.LayoutInflater.inflate(LayoutInflater.java:398)
E/AndroidRuntime( 1123): at android.view.LayoutInflater.inflate(LayoutInflater.java:354)
E/AndroidRuntime( 1123): at android.view.View.inflate(View.java:18465)
E/AndroidRuntime( 1123): at com.android.systemui.statusbar.phone.PhoneStatusBar.makeStatusBarView(PhoneStatusBar.java:536)
E/AndroidRuntime( 1123): at com.android.systemui.statusbar.phone.PhoneStatusBar.addStatusBarWindow(PhoneStatusBar.java:3564)
E/AndroidRuntime( 1123): at com.android.systemui.statusbar.phone.PhoneStatusBar.createAndAddWindows(PhoneStatusBar.java:3535)
E/AndroidRuntime( 1123): at com.android.systemui.statusbar.BaseStatusBar.start(BaseStatusBar.java:426)
E/AndroidRuntime( 1123): at com.android.systemui.statusbar.phone.PhoneStatusBar.start(PhoneStatusBar.java:491)
E/AndroidRuntime( 1123): at de.robv.android.xposed.XposedBridge.invokeOriginalMethodNative(Native Method)
E/AndroidRuntime( 1123): at de.robv.android.xposed.XposedBridge.handleHookedMethod(XposedBridge.java:631)
E/AndroidRuntime( 1123): at com.android.systemui.statusbar.phone.PhoneStatusBar.start(Native Method)
E/AndroidRuntime( 1123): at com.android.systemui.statusbar.SystemBars.createStatusBarFromConfig(SystemBars.java:106)
E/AndroidRuntime( 1123): at com.android.systemui.statusbar.SystemBars.onNoService(SystemBars.java:58)
E/AndroidRuntime( 1123): at com.android.systemui.statusbar.ServiceMonitor.startService(ServiceMonitor.java:228)
E/AndroidRuntime( 1123): at com.android.systemui.statusbar.ServiceMonitor.access$000(ServiceMonitor.java:49)
E/AndroidRuntime( 1123): at com.android.systemui.statusbar.ServiceMonitor$1.handleMessage(ServiceMonitor.java:73)
E/AndroidRuntime( 1123): at android.os.Handler.dispatchMessage(Handler.java:102)
E/AndroidRuntime( 1123): at android.os.Looper.loop(Looper.java:146)
E/AndroidRuntime( 1123): at android.app.ActivityThread.main(ActivityThread.java:5598)
E/AndroidRuntime( 1123): at java.lang.reflect.Method.invokeNative(Native Method)
E/AndroidRuntime( 1123): at java.lang.reflect.Method.invoke(Method.java:515)
E/AndroidRuntime( 1123): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1283)
E/AndroidRuntime( 1123): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1099)
E/AndroidRuntime( 1123): at de.robv.android.xposed.XposedBridge.main(XposedBridge.java:132)
E/AndroidRuntime( 1123): at dalvik.system.NativeStart.main(Native Method)
E/AndroidRuntime( 1123): Caused by: java.lang.ClassNotFoundException: Didn't find class "com.android.settings.rz.Image" on path: DexPathList[[zip file "/system/framework/twframework.jar", zip file "/system/framework/sechardware.jar", zip file "/system/framework/com.broadcom.bt.jar", zip file "/system/priv-app/SystemUI.apk"],nativeLibraryDirectories=[/vendor/lib, /system/lib, /lib]]
E/AndroidRuntime( 1123): at dalvik.system.BaseDexClassLoader.findClass(BaseDexClassLoader.java:56)
E/AndroidRuntime( 1123): at java.lang.ClassLoader.loadClass(ClassLoader.java:497)
E/AndroidRuntime( 1123): at java.lang.ClassLoader.loadClass(ClassLoader.java:457)
E/AndroidRuntime( 1123): at android.view.LayoutInflater.createView(LayoutInflater.java:565
W/ActivityManager( 654): Process com.android.systemui has crashed too many times: killing!
Click to expand...
Click to collapse
Use the latest fixed smali by @Zidni above.
I Have An Samsung Galxy Grand Dous GT-i9082 And After A Long Time Of Use I Rooted It And Installed Xposed Framwork And So On And It's Get The Time To Delete The Safe To Delete System Apps To Stop Them For Costumizing Ram So I Delete Some Of The Safe To Delete List And After Time When An App I Use Updated With An Updated That Make It Crashes In My Android Version It Crashed When I Open It And The Wired Thinge That I Didn't See And Error Window Telling Me "Unformatly App Name Has Stopped" But Rather Than This The Phone Freezed For 2Min Then Restart It Self And After Many Trys I Found That If Any App In My Phone Crashed It Do The Same Thing So A Thinked That The Delete Of ContextProvider.apk Is The Reason So I Posted In Xda To Find Some One To Give Me The Original Apk And At Last I Get It And Put It In System/App And Give It The Premissions But Nothing Changed And This **** Is Driving Me To Madness And That's Start To Be Really Annoying And I Can't Reinstall The Rom For Some Reasons So I Need To Find A Fix For This I Searched To Much But No One Experienced This Before So All I Need To Know What Is The Thing That Manages Crashes In Android So I Tried To Logcat While Crashing With Logcat Extreme Pro And See This That I Don't Understand What's Mean:-
---- 16 Jan 2017 19:55:02 ----
E/EnterpriseContainerManager(18834): ContainerPolicy Service is not yet ready!!!
E/AudioResampler(19069): Unsupported sample format, 1 bits, 2 channels
E/MoreInfoHPW_ViewGroup(18834): Parent view is not a TextView
E/MoreInfoHPW_ViewGroup( 5681): Parent view is not a TextView
E/EnterpriseContainerManager(18834): ContainerPolicy Service is not yet ready!!!
E/AudioResampler(19069): Unsupported sample format, 1 bits, 2 channels
E/AndroidRuntime( 5681): FATAL EXCEPTION: main
E/AndroidRuntime( 5681): java.lang.ArithmeticException: divide by zero
E/AndroidRuntime( 5681): at net.mitchtech.xposed.CustomErrorPreferenceActivity$3.onPreferenceClick(CustomErrorPreferenceActivity.java:86)
E/AndroidRuntime( 5681): at android.preference.Preference.performClick(Preference.java:959)
E/AndroidRuntime( 5681): at android.preference.PreferenceScreen.onItemClick(PreferenceScreen.java:229)
E/AndroidRuntime( 5681): at android.widget.AdapterView.performItemClick(AdapterView.java:301)
E/AndroidRuntime( 5681): at android.widget.AbsListView.performItemClick(AbsListView.java:1490)
E/AndroidRuntime( 5681): at android.widget.AbsListView$PerformClick.run(AbsListView.java:3275)
E/AndroidRuntime( 5681): at android.widget.AbsListView$1.run(AbsListView.java:4518)
E/AndroidRuntime( 5681): at android.os.Handler.handleCallback(Handler.java:725)
E/AndroidRuntime( 5681): at android.os.Handler.dispatchMessage(Handler.java:92)
E/AndroidRuntime( 5681): at android.os.Looper.loop(Looper.java:137)
E/AndroidRuntime( 5681): at android.app.ActivityThread.main(ActivityThread.java:5283)
E/AndroidRuntime( 5681): at java.lang.reflect.Method.invokeNative(Native Method)
E/AndroidRuntime( 5681): at java.lang.reflect.Method.invoke(Method.java:511)
E/AndroidRuntime( 5681): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1102)
E/AndroidRuntime( 5681): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:869)
E/AndroidRuntime( 5681): at de.robv.android.xposed.XposedBridge.main(XposedBridge.java:132)
E/AndroidRuntime( 5681): at dalvik.system.NativeStart.main(Native Method)
E/android.os.Debug(18834): [email protected] > dumpstate -k -t -z -d -o /data/log/dumpstate_app_error
E/Watchdog(18834): [email protected] 10
E/EnterpriseContainerManager(18834): ContainerPolicy Service is not yet ready!!!
---- 16 Jan 2017 19:55:21 ----
So Can Anyone Please Help Me To Fix This And Please Don't Tell Me To Reinstall The Rom.
check for viruses in your device with an antivirus.
maybe you got a corrupted/wrong contextprovider.apk, download and replace with a new one.
wipe the app data as well.
try renaming the contextprovider.apk to contextprovider.apk.bak
or
freeze the contextprovider, using link2sd or titanium backup.
if still the problem persist,
hold down the power button,
press and hold shutdown option to boot into safe mode.
see if it's still causing any force close. if it's working in safe mode properly, then the suspects would be any third party app.
inspect one by one, uninstall and download again from a genuine and safe place.
I hope you haven't messed up from within any xposed modules, patching or adding too many mods could cause issues as well.