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
Hi,
I try to do my first mod.
I want to activate the numeric keyboard row. The Xperia tablets have this row (I'think the phablets have it too).
I found the methode "isTablet" in the com.sonyericsson.textinput.uxp-1.apk\smali\com\sonyericsson\textinput\uxp\util\EnvironmentUtils.smali:
Code:
.method public static isTablet(Landroid/content/Context;)Z
.locals 2
.param p0, "context" # Landroid/content/Context;
.prologue
.line 178
invoke-virtual {p0}, Landroid/content/Context;->getResources()Landroid/content/res/Resources;
move-result-object v0
invoke-virtual {v0}, Landroid/content/res/Resources;->getConfiguration()Landroid/content/res/Configuration;
move-result-object v0
iget v0, v0, Landroid/content/res/Configuration;->smallestScreenWidthDp:I
const/16 v1, 0x258
if-lt v0, v1, :cond_0
const/4 v0, 0x1
:goto_0
return v0
:cond_0
[COLOR="Red"] const/4 v0, 0x0[/COLOR]
goto :goto_0
.end method
I changed the red line to:
Code:
const/4 v0, 0x1
So the return value is always "1"
Then the logcat says something with framework/com.sony.devices.jar
So I copied the com.sony.devices.jar from the Xperia Z Ultra over the original one.
Now in keyboardsettings I have the option to enable numeric row.
But when I enable it i always get fc.
The the logcat says: E/AndroidRuntime( 1644): java.lang.RuntimeException: Not found exception for fieldName = com.sonyericsson.textinput.uxp:xml/num_kbd_deu_quertz
So I copied all the numeric keyboards of res/xml/sw600dp to res/xml.
But the keyboard still fc and I don't know what I can do.
Thats the logcat:
Code:
E/AndroidRuntime( 1644): FATAL EXCEPTION: main
E/AndroidRuntime( 1644): Process: com.sonyericsson.textinput.uxp, PID: 1644
E/AndroidRuntime( 1644): java.lang.RuntimeException: Not found exception for fieldName = com.sonyericsson.textinput.uxp:xml/kbd_common_overrides
E/AndroidRuntime( 1644): at com.sonyericsson.textinput.uxp.controller.ResourceLookupProvider.getLayoutXmlResourceParser(ResourceLookupProvider.java:297)
E/AndroidRuntime( 1644): at com.sonyericsson.textinput.uxp.controller.SizeAndScaleProvider.getLayoutXmlResourceParser(SizeAndScaleProvider.java:347)
E/AndroidRuntime( 1644): at com.sonyericsson.textinput.uxp.model.keyboard.KeyboardInflaterBase.createParserWrapper(KeyboardInflaterBase.java:60)
E/AndroidRuntime( 1644): at com.sonyericsson.textinput.uxp.model.keyboard.KeyboardInflaterBase.createParserWrapper(KeyboardInflaterBase.java:54)
E/AndroidRuntime( 1644): at com.sonyericsson.textinput.uxp.model.keyboard.KeyboardInflater.parseOverrideKeys(KeyboardInflater.java:224)
E/AndroidRuntime( 1644): at com.sonyericsson.textinput.uxp.model.keyboard.KeyboardInflater.inflateQwertyKeyboard(KeyboardInflater.java:113)
E/AndroidRuntime( 1644): at com.sonyericsson.textinput.uxp.controller.keyboard.KeyboardSwitcher.createKeyboard(KeyboardSwitcher.java:639)
E/AndroidRuntime( 1644): at com.sonyericsson.textinput.uxp.controller.keyboard.KeyboardSwitcher.setKeyboard(KeyboardSwitcher.java:280)
E/AndroidRuntime( 1644): at com.sonyericsson.textinput.uxp.controller.keyboard.KeyboardSwitcher.setKeyboardByIso(KeyboardSwitcher.java:891)
E/AndroidRuntime( 1644): at com.sonyericsson.textinput.uxp.controller.keyboard.KeyboardSwitcher.validateAndSetLayout(KeyboardSwitcher.java:827)
E/AndroidRuntime( 1644): at com.sonyericsson.textinput.uxp.controller.keyboard.KeyboardSwitcher.doInitOptional(KeyboardSwitcher.java:789)
E/AndroidRuntime( 1644): at com.sonyericsson.textinput.uxp.controller.keyboard.KeyboardSwitcher.initOptional(KeyboardSwitcher.java:781)
E/AndroidRuntime( 1644): at com.sonyericsson.collaboration.ObjectBinder.init(ObjectBinder.java:458)
E/AndroidRuntime( 1644): at com.sonyericsson.textinput.uxp.glue.InputMethodServiceGlue.bind(InputMethodServiceGlue.java:394)
E/AndroidRuntime( 1644): at com.sonyericsson.textinput.uxp.glue.InputMethodServiceGlue.onStartInputView(InputMethodServiceGlue.java:321)
E/AndroidRuntime( 1644): at android.inputmethodservice.InputMethodService.showWindowInner(InputMethodService.java:1507)
E/AndroidRuntime( 1644): at android.inputmethodservice.InputMethodService.showWindow(InputMethodService.java:1465)
E/AndroidRuntime( 1644): at android.inputmethodservice.InputMethodService$InputMethodImpl.showSoftInput(InputMethodService.java:476)
E/AndroidRuntime( 1644): at android.inputmethodservice.IInputMethodWrapper.executeMessage(IInputMethodWrapper.java:202)
E/AndroidRuntime( 1644): at com.android.internal.os.HandlerCaller$MyHandler.handleMessage(HandlerCaller.java:40)
E/AndroidRuntime( 1644): at android.os.Handler.dispatchMessage(Handler.java:102)
E/AndroidRuntime( 1644): at android.os.Looper.loop(Looper.java:212)
E/AndroidRuntime( 1644): at android.app.ActivityThread.main(ActivityThread.java:5135)
E/AndroidRuntime( 1644): at java.lang.reflect.Method.invokeNative(Native Method)
E/AndroidRuntime( 1644): at java.lang.reflect.Method.invoke(Method.java:515)
E/AndroidRuntime( 1644): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:877)
E/AndroidRuntime( 1644): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:693)
E/AndroidRuntime( 1644): at de.robv.android.xposed.XposedBridge.main(XposedBridge.java:132)
E/AndroidRuntime( 1644): at dalvik.system.NativeStart.main(Native Method)
Can anyone help me please?
Here's exactly what you are trying to do. You can get that or ask for help there maybe.
http://forum.xda-developers.com/showthread.php?t=2876852
templeka said:
Here's exactly what you are trying to do. You can get that or ask for help there maybe.
http://forum.xda-developers.com/showthread.php?t=2876852
Click to expand...
Click to collapse
Thanks for your answer.
I know this thread and I know how to do it like him. But if I use his methode the buttons of the keyboard get smaller.
I wanna do it like this: http://www.static.xperiablog.net/wp-content/uploads/2014/06/Xperia-Keyboard_4-640x400.png
Sony has implemented a numeric row. But only Xperia Tab and Xperia Ultra support it.
I'm sorry I can't help you there. I just found that thread but I'm no expert, plus I never used stock keyboards on any of my phones.
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.