Transfering Libraries from Hero to Ion/other ROM? - G1 Android Development

Hello all,
In my noobishness I tried to install the HtcMusic.apk from the Hero ROM onto a G1 running the Google Ion ROM. Well it gave me a MISSING_SHARED_LIBRARY error so in my ignorance I thought that I would be able to find whatever libraries were missing and transfer them to the Ion build and reflash the update.zip. The update flashed but the apk still cannot be installed. Do I have the concept of libraries wrong here and should just realize that it's not possible without doing other things or am I still missing libraries that should be transferred?
Thanks =)

thelamacmdr said:
Hello all,
In my noobishness I tried to install the HtcMusic.apk from the Hero ROM onto a G1 running the Google Ion ROM. Well it gave me a MISSING_SHARED_LIBRARY error so in my ignorance I thought that I would be able to find whatever libraries were missing and transfer them to the Ion build and reflash the update.zip. The update flashed but the apk still cannot be installed. Do I have the concept of libraries wrong here and should just realize that it's not possible without doing other things or am I still missing libraries that should be transferred?
Thanks =)
Click to expand...
Click to collapse
just adp push the libHtcMusic_jni.so from /system/lib and the HtcMusic.apk to /system/apps and you'll be set.

so i was missing a lib because the update.zip i downloaded doesn't have that...the search begins

Can't find this .so too.

Lib
this one is from a 6.0

And you think this would work for it?
Bcause this lib isn't requiered in the hero build.. *irritated*

Ok I did
Code:
adb remount
adb push libhtcmusic_jni.apk system/lib
adb install HtcMusic.apk
I still get the shared library error, maybe I have to push it to somewhere else or update.zip with the library included?

First Post:,
I've actually been working on this too. I've managed to get it to install. I followed another thread, pushing some stuff from /system/etc/permission and Platform.xml for the HTC stuff. I used the same lib a1t linked (although pulled mine right from the rom).
Although when running it on the phone I get this fun little log message:
Code:
E/dalvikvm( 347): Could not find method android.provider.DrmStore.getDrmConstra
int, referenced from method com.htc.music.MusicUtils.getDrmStatus
W/dalvikvm( 347): VFY: unable to resolve static method 403: Landroid/provider/D
rmStore;.getDrmConstraint (Landroid/content/ContentResolver;Landroid/net/Uri;I)L
android/provider/DrmStore$DrmConstraint;
W/dalvikvm( 347): VFY: rejecting opcode 0x71 at 0x00aa
W/dalvikvm( 347): VFY: rejected Lcom/htc/music/MusicUtils;.getDrmStatus (Landr
oid/content/Context;Landroid/net/Uri;)I
W/dalvikvm( 347): Verifier rejected class Lcom/htc/music/MusicUtils;
D/AndroidRuntime( 347): Shutting down VM
W/dalvikvm( 347): threadid=3: thread exiting with uncaught exception (group=0x4
000fe70)
E/AndroidRuntime( 347): Uncaught handler: thread main exiting due to uncaught e
xception
E/AndroidRuntime( 347): java.lang.VerifyError: com.htc.music.MusicUtils
E/AndroidRuntime( 347): at com.htc.music.HtcMusic.onStart(HtcMusic.java:
338)
E/AndroidRuntime( 347): at android.app.Instrumentation.callActivityOnSta
rt(Instrumentation.java:1205)
E/AndroidRuntime( 347): at android.app.Activity.performStart(Activity.ja
va:3490)
E/AndroidRuntime( 347): at android.app.ActivityThread.performLaunchActiv
ity(ActivityThread.java:2240)
E/AndroidRuntime( 347): at android.app.ActivityThread.handleLaunchActivi
ty(ActivityThread.java:2284)
E/AndroidRuntime( 347): at android.app.ActivityThread.access$1800(Activi
tyThread.java:112)
E/AndroidRuntime( 347): at android.app.ActivityThread$H.handleMessage(Ac
tivityThread.java:1692)
E/AndroidRuntime( 347): at android.os.Handler.dispatchMessage(Handler.ja
va:99)
E/AndroidRuntime( 347): at android.os.Looper.loop(Looper.java:123)
E/AndroidRuntime( 347): at android.app.ActivityThread.main(ActivityThrea
d.java:3948)
E/AndroidRuntime( 347): at java.lang.reflect.Method.invokeNative(Native
Method)
E/AndroidRuntime( 347): at java.lang.reflect.Method.invoke(Method.java:5
21)
E/AndroidRuntime( 347): at com.android.internal.os.ZygoteInit$MethodAndA
rgsCaller.run(ZygoteInit.java:782)
E/AndroidRuntime( 347): at com.android.internal.os.ZygoteInit.main(Zygot
eInit.java:540)
E/AndroidRuntime( 347): at dalvik.system.NativeStart.main(Native Method)
I/Process ( 60): Sending signal. PID: 347 SIG: 3
I/dalvikvm( 347): threadid=7: reacting to signal 3
I/dalvikvm( 347): Wrote stack trace to '/data/anr/traces.txt'
W/ActivityManager( 60): Launch timeout has expired, giving up wake lock!
Not in the loop as far as the HTC builds go, but there'ls definitely something I'm missing. android.provider is in the sdk, but the DRM stuff isn't (or doesn't seem to be). I tried pushing a few more things to the phone, hoping for a solution, but I ran out of room, I don't have the new SPL.

I can't really tell the problem from looking at this ( I'm kind of inexperienced in the way of Java/Android Application Dev.). Did you push the whole entire library from the HTC Hero ROM or rather the libs that aren't in the Haykuro/JF 1.51

sherlok said:
First Post:,
I've actually been working on this too. I've managed to get it to install. I followed another thread, pushing some stuff from /system/etc/permission and Platform.xml for the HTC stuff. I used the same lib a1t linked (although pulled mine right from the rom).
Although when running it on the phone I get this fun little log message:
Code:
E/dalvikvm( 347): Could not find method android.provider.DrmStore.getDrmConstra
int, referenced from method com.htc.music.MusicUtils.getDrmStatus
W/dalvikvm( 347): VFY: unable to resolve static method 403: Landroid/provider/D
rmStore;.getDrmConstraint (Landroid/content/ContentResolver;Landroid/net/Uri;I)L
android/provider/DrmStore$DrmConstraint;
W/dalvikvm( 347): VFY: rejecting opcode 0x71 at 0x00aa
W/dalvikvm( 347): VFY: rejected Lcom/htc/music/MusicUtils;.getDrmStatus (Landr
oid/content/Context;Landroid/net/Uri;)I
W/dalvikvm( 347): Verifier rejected class Lcom/htc/music/MusicUtils;
D/AndroidRuntime( 347): Shutting down VM
W/dalvikvm( 347): threadid=3: thread exiting with uncaught exception (group=0x4
000fe70)
E/AndroidRuntime( 347): Uncaught handler: thread main exiting due to uncaught e
xception
E/AndroidRuntime( 347): java.lang.VerifyError: com.htc.music.MusicUtils
E/AndroidRuntime( 347): at com.htc.music.HtcMusic.onStart(HtcMusic.java:
338)
E/AndroidRuntime( 347): at android.app.Instrumentation.callActivityOnSta
rt(Instrumentation.java:1205)
E/AndroidRuntime( 347): at android.app.Activity.performStart(Activity.ja
va:3490)
E/AndroidRuntime( 347): at android.app.ActivityThread.performLaunchActiv
ity(ActivityThread.java:2240)
E/AndroidRuntime( 347): at android.app.ActivityThread.handleLaunchActivi
ty(ActivityThread.java:2284)
E/AndroidRuntime( 347): at android.app.ActivityThread.access$1800(Activi
tyThread.java:112)
E/AndroidRuntime( 347): at android.app.ActivityThread$H.handleMessage(Ac
tivityThread.java:1692)
E/AndroidRuntime( 347): at android.os.Handler.dispatchMessage(Handler.ja
va:99)
E/AndroidRuntime( 347): at android.os.Looper.loop(Looper.java:123)
E/AndroidRuntime( 347): at android.app.ActivityThread.main(ActivityThrea
d.java:3948)
E/AndroidRuntime( 347): at java.lang.reflect.Method.invokeNative(Native
Method)
E/AndroidRuntime( 347): at java.lang.reflect.Method.invoke(Method.java:5
21)
E/AndroidRuntime( 347): at com.android.internal.os.ZygoteInit$MethodAndA
rgsCaller.run(ZygoteInit.java:782)
E/AndroidRuntime( 347): at com.android.internal.os.ZygoteInit.main(Zygot
eInit.java:540)
E/AndroidRuntime( 347): at dalvik.system.NativeStart.main(Native Method)
I/Process ( 60): Sending signal. PID: 347 SIG: 3
I/dalvikvm( 347): threadid=7: reacting to signal 3
I/dalvikvm( 347): Wrote stack trace to '/data/anr/traces.txt'
W/ActivityManager( 60): Launch timeout has expired, giving up wake lock!
Not in the loop as far as the HTC builds go, but there'ls definitely something I'm missing. android.provider is in the sdk, but the DRM stuff isn't (or doesn't seem to be). I tried pushing a few more things to the phone, hoping for a solution, but I ran out of room, I don't have the new SPL.
Click to expand...
Click to collapse
looks like you're missing the DRM stuff.
libdrmdec_jni.so
libdrmdec.so
libdrm1_jni.so
libdrm1.so
and probably the DrmProvider.apk
If you get this working, def let us know. the music player from that rom is sexy.

I've actually been working on this too. I've managed to get it to install. I followed another thread, pushing some stuff from /system/etc/permission and Platform.xml for the HTC stuff. I used the same lib a1t linked (although pulled mine right from the rom).
Click to expand...
Click to collapse
Hmm what files from system/etc/permissions did you push all of them or just Platform.xml and com.Htc.framework.xml? Cause as far as i know that's the only difference I have from whatt you've been doing except I pushed all of the libraries.

Any of you guys have luck porting the white clock over to Ion? From Hero build or JF? I can get the white notifications, but the clock refuses to budge. Unfortunately my normal goto guy is a bit under the weather.

blackeyedbrian said:
looks like you're missing the DRM stuff.
libdrmdec_jni.so
libdrmdec.so
libdrm1_jni.so
libdrm1.so
and probably the DrmProvider.apk
If you get this working, def let us know. the music player from that rom is sexy.
Click to expand...
Click to collapse
Ok i decided to play with this a little bit.
the method "getDrmConstraint" that is missing, is part of /system/framework/framework.jar on the hero rom. how to get that working on the other builds? i have no idea =D

Anyone got it working now?

Still workin on it, I'm trying to figure out what needs to be transferred. I'm thinking about just transfering all the files that have different file sizes (might check the sums too). I'll get back once I find out.
Edit: Just saw the framework.jar; the files have a difference of 2 mill in file size....
Edit2: Restarted phone after push, it's installed now

thelamacmdr said:
Still workin on it, I'm trying to figure out what needs to be transferred. I'm thinking about just transfering all the files that have different file sizes (might check the sums too). I'll get back once I find out.
Edit: Just saw the framework.jar; the files have a difference of 2 mill in file size....
Edit2: Restarted phone after push, it's installed now
Click to expand...
Click to collapse
so u pushed the lib, apk, n what else? would you mind just clarifying how u got it to work?

I didn't get it to work yet but I did manage to install it, I'm trying to find the location of class com.htc.widget. If anyone can please point it out it would be much appreciated. Once I figure out what I did and then do it again I'll post how to do it.
So far I transferred all of the HTC made libs, platform.xml, com.htc.framework.xml, and libhtcmusic_jni.so
For obvious reasons I won't post the Hero Rom (to get the libs from) and I'm not sure if I'm going too far just trying to use the Music app.

sorry for double post

check the diffs between the two images, this file will show the differences and files that only appear in one image but not the other.
update --> ion
updatehero --> hero
*i removed ringtones and notifications ogg mp3 just to focus on the rest

How did you manage to get this text file? I've been doing it manually....comparing the two zip files.
EDIT: Ok logcat shows
Code:
Could not find class 'com.htc.widget.AboutDialog$Builder', referenced from method com.htc.music.BaseHtcMusic.onCreateDialog
this is followed by a series of verify errors. These classes are located in a lib somewhere I'm assuming?
EDIT2: No longer have class errors, pushed files from system/framework
now receive error
Code:
E/dalvikvm( 330): Could not find method android.provider.DrmStore.getDrmConstra
int, referenced from method com.htc.music.MusicUtils.getDrmStatus

Related

[old thread] 2.3.4 keyboard

Hey,
i succesfully installed the keyboard but something is still missing. kayboard always FC...
EDITED:
Blackwatch89 managed this, go to this thread
_smurf said:
Hey,
i succesfully installed the keyboard but something is still missing. kayboard always FC.
I discovered the necessary files are at least:
com.sonyericsson.uxpres.jar
com.sonyericsson.uxp.jar
com.sonyericsson.uxp.xml
com.sonyericsson.uxpres.xml
textinput-tng.apk
libXT9Engine.so
/usr/xt9
found the FC in bugreport, can somebody help?:
Code:
09-23 14:27:31.966 I/CustomizationProvider( 3089): No configuration file: /system/etc/customization/settings/com/sonyericsson/textinput/uxp/custom_settings.xml
09-23 14:27:32.196 I/MoPub ( 2645): Ad failed to load.
09-23 14:27:32.246 E/XT9Engine( 1314): failed to open(/system/usr/xt9/SEMC_620_CSlsUN_xt9.ldb) error=Permission denied (13)
09-23 14:27:32.246 E/XT9Engine( 1314): Can't load type 5, ldbfile: /system/usr/xt9/SEMC_620_CSlsUN_xt9.ldb
09-23 14:27:32.246 D/AndroidRuntime( 1314): Shutting down VM
09-23 14:27:32.246 W/dalvikvm( 1314): threadid=1: thread exiting with uncaught exception (group=0x4001d560)
09-23 14:27:32.256 E/AndroidRuntime( 1314): FATAL EXCEPTION: main
09-23 14:27:32.256 E/AndroidRuntime( 1314): java.lang.RuntimeException: result:10
09-23 14:27:32.256 E/AndroidRuntime( 1314): at com.sonyericsson.textinput.uxp.model.xt9.XT9Engine.XT9Engine_setActiveLanguage(Native Method)
09-23 14:27:32.256 E/AndroidRuntime( 1314): at com.sonyericsson.textinput.uxp.model.xt9.XT9Engine.setLanguage(XT9Engine.java:407)
09-23 14:27:32.256 E/AndroidRuntime( 1314): at com.sonyericsson.textinput.uxp.model.xt9.XT9Engine.initOptional(XT9Engine.java:539)
09-23 14:27:32.256 E/AndroidRuntime( 1314): at com.sonyericsson.collaboration.ObjectBinder.init(ObjectBinder.java:507)
09-23 14:27:32.256 E/AndroidRuntime( 1314): at com.sonyericsson.textinput.uxp.glue.InputMethodServiceGlue.bind(InputMethodServiceGlue.java:258)
09-23 14:27:32.256 E/AndroidRuntime( 1314): at com.sonyericsson.textinput.uxp.glue.InputMethodServiceGlue.onStartInput(InputMethodServiceGlue.java:211)
09-23 14:27:32.256 E/AndroidRuntime( 1314): at android.inputmethodservice.InputMethodService.doStartInput(InputMethodService.java:1441)
09-23 14:27:32.256 E/AndroidRuntime( 1314): at android.inputmethodservice.InputMethodService$InputMethodImpl.startInput(InputMethodService.java:354)
09-23 14:27:32.256 E/AndroidRuntime( 1314): at android.inputmethodservice.IInputMethodWrapper.executeMessage(IInputMethodWrapper.java:152)
09-23 14:27:32.256 E/AndroidRuntime( 1314): at com.android.internal.os.HandlerCaller$MyHandler.handleMessage(HandlerCaller.java:61)
09-23 14:27:32.256 E/AndroidRuntime( 1314): at android.os.Handler.dispatchMessage(Handler.java:99)
09-23 14:27:32.256 E/AndroidRuntime( 1314): at android.os.Looper.loop(Looper.java:123)
09-23 14:27:32.256 E/AndroidRuntime( 1314): at android.app.ActivityThread.main(ActivityThread.java:3701)
09-23 14:27:32.256 E/AndroidRuntime( 1314): at java.lang.reflect.Method.invokeNative(Native Method)
09-23 14:27:32.256 E/AndroidRuntime( 1314): at java.lang.reflect.Method.invoke(Method.java:507)
09-23 14:27:32.256 E/AndroidRuntime( 1314): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:862)
09-23 14:27:32.256 E/AndroidRuntime( 1314): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:620)
09-23 14:27:32.256 E/AndroidRuntime( 1314): at dalvik.system.NativeStart.main(Native Method)
I tried set severral permission for the file but didnt helped
Bugreport attached.
Click to expand...
Click to collapse
Have you tried adding the ime.jar and the smartslider.jar and see if that works. i will give it a goe but not making any promises
Blackwatch89 said:
Have you tried adding the ime.jar and the smartslider.jar and see if that works. i will give it a goe but not making any promises
Click to expand...
Click to collapse
doesnt work, still same error:
Code:
E/XT9Engine( 1314): failed to open(/system/usr/xt9/SEMC_620_CSlsUN_xt9.ldb) error=Permission denied (13)
_smurf said:
doesnt work, still same error:
Code:
E/XT9Engine( 1314): failed to open(/system/usr/xt9/SEMC_620_CSlsUN_xt9.ldb) error=Permission denied (13)
Click to expand...
Click to collapse
Try to use Root Explorer to navigate to the file "SEMC_620_CSlsUN_xt9.ldb" and select Options -> Permissions and check Read, Write, Execute in Others, Group and Owner....and press ok.
Tell me if that works for you
allow all the permissions was the first thing i tried
We can see the custom_settings.xml file?
mancr said:
We can see the custom_settings.xml file?
Click to expand...
Click to collapse
custom_settings.xml? Which one? The appropriate file /system/etc/customization/settings/com/sonyericsson/textinput/uxp/custom_settings.xml is not created yet. I suppose this file will be created after first successful startup.
This file is not present in the dumb filesystem (arc).
Any news about this?
PlayStation®3? Adda psnID: Nagarebozhi
Nagarebozhi said:
Any news about this?
PlayStation®3? Adda psnID: Nagarebozhi
Click to expand...
Click to collapse
No I dont know how to solve the permission problem.
_smurf said:
No I dont know how to solve the permission problem.
Click to expand...
Click to collapse
I hope someone can help you out friend, good work so far. Keep it up.
strix75 said:
I hope someone can help you out friend, good work so far. Keep it up.
Click to expand...
Click to collapse
I hope so. Im not an android developer but going to learn, google and investigate asap
_smurf said:
I hope so. Im not an android developer but going to learn, google and investigate asap
Click to expand...
Click to collapse
I am still looking into this just so yo know. I too have had the same problem as you. I think the whole source code needs to be changed to work with our phones.
Wwwwwweeeeeeeee have keyboard. I have done it!!!!!!!!!!!!!!!!!!!!!1
Blackwatch89 said:
Wwwwwweeeeeeeee have keyboard. I have done it!!!!!!!!!!!!!!!!!!!!!1
Click to expand...
Click to collapse
can you post screenshot? and how to install it?
Blackwatch89 said:
Wwwwwweeeeeeeee have keyboard. I have done it!!!!!!!!!!!!!!!!!!!!!1
Click to expand...
Click to collapse
PLISssssssss How to install it !! XDD
Blackwatch89 said:
Wwwwwweeeeeeeee have keyboard. I have done it!!!!!!!!!!!!!!!!!!!!!1
Click to expand...
Click to collapse
That is great! thx!

[9001][ROM] Mazen's AOSP 2.3.7 ROM for 9001

mazen912 said:
hello
i ported aosp 2.3.7 but can't boot after 2 weeks of trying
please dev's check it
thanks
Click to expand...
Click to collapse
MOD EDIT: Removed link since it destroys recovery...
ATTENTION! THIS SEEMS TO DESTROY THE RECOVERY!!!
I tried to reboot into feamod but this does not work. Using Odin right now to get back to a booting state.
Be careful!
Quoting from the Cyanogenmod Porting thread so I do not need to spam it.
As he wrote, it does not boot.
That's what my logcat spits out:
Code:
W/dalvikvm( 460): threadid=1: thread exiting with uncaught exception (group=0x4
0015560)
E/AndroidRuntime( 460): *** FATAL EXCEPTION IN SYSTEM PROCESS: main
E/AndroidRuntime( 460): java.lang.UnsatisfiedLinkError: Cannot load library: li
nk_image[1962]: 458 could not load needed library 'libsystem_server.so' for 'l
ibandroid_servers.so' (link_image[1962]: 458 could not load needed library 'li
bcameraservice.so' for 'libsystem_server.so' (link_image[1962]: 458 could not
load needed library 'libseccameraadaptor.so' for 'libcameraservice.so' (link_ima
ge[1962]: 458 could not load needed library 'libcamera.so' for 'libseccameraad
aptor.so' (reloc_library[1311]: 458 cannot locate '_ZN7android7Overlay5setFdEi
'...
E/AndroidRuntime( 460): ))))
E/AndroidRuntime( 460): at java.lang.Runtime.loadLibrary(Runtime.java:45
5)
E/AndroidRuntime( 460): at java.lang.System.loadLibrary(System.java:554)
E/AndroidRuntime( 460): at com.android.server.SystemServer.main(SystemSe
rver.java:624)
E/AndroidRuntime( 460): at java.lang.reflect.Method.invokeNative(Native
Method)
E/AndroidRuntime( 460): at java.lang.reflect.Method.invoke(Method.java:5
07)
E/AndroidRuntime( 460): at com.android.internal.os.ZygoteInit$MethodAndA
rgsCaller.run(ZygoteInit.java:839)
E/AndroidRuntime( 460): at com.android.internal.os.ZygoteInit.main(Zygot
eInit.java:597)
E/AndroidRuntime( 460): at dalvik.system.NativeStart.main(Native Method)
I/Process ( 460): Sending signal. PID: 460 SIG: 9
I/Zygote ( 458): Exit zygote because system server (460) has terminated
E/AndroidRuntime( 460): Error reporting crash
E/AndroidRuntime( 460): java.lang.NullPointerException
E/AndroidRuntime( 460): at com.android.internal.os.RuntimeInit$UncaughtH
andler.uncaughtException(RuntimeInit.java:76)
E/AndroidRuntime( 460): at java.lang.ThreadGroup.uncaughtException(Threa
dGroup.java:854)
E/AndroidRuntime( 460): at java.lang.ThreadGroup.uncaughtException(Threa
dGroup.java:851)
E/AndroidRuntime( 460): at dalvik.system.NativeStart.main(Native Method)
There seem to be some missing / not found files.
Hmm interesting development but I guess if he uses boot.img and recovery.img from Cyanogenmod port it could work?
broodplank1337 said:
Hmm interesting development but I guess if he uses boot.img and recovery.img from Cyanogenmod port it could work?
Click to expand...
Click to collapse
well we will never discover it if nobody will test it...
maybe I will do it, if I find the time for it.
stay tuned =)
ok guy's
it is just trying i'm not a dev guy
about recovery problem it is easy no need to use odin
when your phone not able to boot go to adb and push feamod recovery to sdcard
then
adb shell
su
dd if=/sdcard/recovery.img of=/dev/block/mmcblk0p13
adb reboot recovery
---------- Post added at 06:19 PM ---------- Previous post was at 06:14 PM ----------
i hope some one explain from wintel_mac logcat
what i should to do to fix it?
i'll test it right now
unfortunally it doesn´t work ;(
i tried it with skywalkers kernel, cm dev boot img and it wouldn´t boot...
mazen912 would you kindly ask if skywalker will help you out?
the hope dies at last....
what kernel did you use??
nail16 said:
what kernel did you use??
Click to expand...
Click to collapse
the one which mazen put in and skyhigh v1.3
i use https://github.com/abbradar
to porting but i will change the kernel
mazen912 said:
ok guy's
it is just trying i'm not a dev guy
about recovery problem it is easy no need to use odin
when your phone not able to boot go to adb and push feamod recovery to sdcard
then
adb shell
su
dd if=/sdcard/recovery.img of=/dev/block/mmcblk0p13
adb reboot recovery
Click to expand...
Click to collapse
I came up with that also, but as sdcard was not mounted (since vold is not executed at this early boot stage) I was not able to do that. However I did not check if /data was already there, I think it must have been there. And it should be RW.
So push it do /data if you experience the same problem and dd it with if=/data/recovery.img and it should work.
But of course Odin worked, too.
pffff... I can't download it! Every time download stops to 1% (because of very low speed (3-6kbs per second))
Please, someone pm me another download link if it is not big trouble. Thank's
geo_xar said:
pffff... I can't download it! Every time download stops to 1% (because of very low speed (3-6kbs per second))
Please, someone pm me another download link if it is not big trouble. Thank's
Click to expand...
Click to collapse
it is useless don't bother yourself
logcat attatched i hope some one can help me

[Q] Having issues with my rom - ICS tablet mode will not engage.

So I'm at a point where this rom is perfect for my phone. It works just fine and has no crashes at all. The only problem is that when running a low enough DPI for tablet mode to work, SystemUI crashes out of nowhere.
I ran a logcat but I unfortunately can't read this very well, so I'm hoping someone else could chime in.
Code:
loading: class com.android.systemui.statusbar.tablet.TabletStatusBar
running: [email protected]
Resizing status bar plugged=false height=64 old=0
Shutting down VM
threadid=1: thread exiting with uncaught exception (group=0x40c0f1f8)
FATAL EXCEPTION: main
java.lang.RuntimeException: Unable to create service com.android.systemui.SystemUIService: android.view.InflateException: Binary XMI file line #19: Error inflating class com.android.systemui.statusbar.tablet.TabletStatusBarView
at android.app.ActivityThread.handleCreateService(ActivityThread.java:2275)
at android.app.ActivityThread.access$1600(ActivityThread.java:127)
at android.os.Looper.loop(Looper.java:137) at android.app.ActivityThread.main(ActivityThread.java:4507)
at java.lang.reflect.Method.invokeNative(Native Method)
at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1213)
at android.os.Handler.dispatchMessage(Handler.java:99)
at java.lang.reflect.Method.invoke(Method.java:511)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:790)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:557)
at dalvik.system.NativeStart.main(Native Method) Caused by: android.view.InflateException: Binary XMI file line #19: Error inflating class com.android.systemui.statusbar.tablet.TabletStatusBarView
at android.view.LayoutInflater.createView(LayoutInflater.java:606) at android.view.LayoutInflater.createViewFromTag(LayoutInflater.java:680)
at android.view.LayoutInflater.inflate(LayoutInflater.java:466)
at android.view.LayoutInflater.inflate(LayoutInflater.java:396)
at android.view.LayoutInflater.inflate(LayoutInflater.java:352)
at android.view.View.inflate(View.java:13742)
at com.android.systemui.statusbar.tablet.TabletStatusBar.makeStatusBarView(TabletStatusBar.java:773)
at com.android.systemui.statusbar.StatusBar.start(StatusBar.java:92) at com.android.systemui.statusbar.tablet.TabletStatusBar.start(TabletStatusBar.java:658)
at com.android.systemui.SystemUIService.onCreate(SystemUIService.java:93)
at android.app.ActivityThread.handleCreateService(ActivityThread.java:2265)
... 10 more
Caused by: java.lang.reflect.InvocationTargetException
at java.lang.reflect.Constructor.constructNative(Native Method)
at java.lang.reflect.Constructor.newInstance(Constructor.java:417)
at android.view.LayoutInflater.createView(LayoutInflater.java:586)
... 20 more
Caused by: android.content.res.Resources;NotFoundException: Resource is not a Drawable (color or path): TypedValue{t=0x12/d=0x0 a=3 r=0x7f020173)
at android.content.res.Resources.loadDrawable(Resources.java:1899)
at android.content.res.TypedArray.getDrawable(TypedArray.java:601)
at android.view.View.<init>(View.java:2839)
at android.view.ViewOroup.<init>(ViewOroup.java:385)
at android.widget.FrameLayout.<init>(FrameLayout.java:99)
at android.widget.FrameLayout.<init>(FrameLayout.java:95)
at com.android.systemui.statusbar.tablet.TabletStatusBarView.<init>(TabletStatusBarView.java:40)
... 23 more
id=37 Removed android/com.android.internal.app.ResolverActivity idx=0 Map Size=2
id=37 Removed android/com.android.internal.app.ResolverActivity idx=-2 Map Size=2
[email protected] > dumpstate -k -t -n -z -d -o /data/log/dumpstate_app_error Process com.andrcid.systemui has crashed ;co many times: killing!

[GAPPS] Google Apps for Android 4.4/KitKat

Google Apps to cache for Android 4.4/KitKat
Installed (mostly) to /cache, and intended for ARMv6 (no libs, srec, or tts)
A full KitKat/CM11 ROM nearly fills our /system partition, so even the smallest, most trimmed gapps won't fit.
Option 2 is this - installing them to /cache and symlinking to /system
Because they are installed to /cache, do not wipe cache or factory reset after installing - you won't have gapps anymore.
If you do need to wipe cache, reinstall the zip afterwards.
Data can be wiped as long as you use Mounts & storage > Format /data, not factory reset from the main menu.
Added to /system: 9.9 MB
Added to /cache: 33.6 MB
(according to GNOME's archive manager)
If you have previously installed a different gapps package, please format /system and reinstall the ROM then this gapps package
Download:
gapps-4.4-tocache-20141026-2.zip
4645549b29720a264941247afd3f6269
Google Drive: http://goo.gl/3ad3HR
MediaFire: https://www.mediafire.com/?livkok80xyegdwj
team-simplicit.com: http://www.team-simplicit.com/downloads/gapps/gapps-4.4-tocache-20141026-2.zip
Pick whatever mirror is fastest for you
I'll try and keep Play Services and the Play Store up to date so they don't use up space on /data, but neither of them make any notification when updated, so I might lag behind a bit.
Changelog:
20141026-2:
- Moved more things out from cache as 20141026 was not enough
20141026:
- Moved an app from cache to system, as the space usage on cache was too much for some devices
20141025:
- Removed SetupWizard (caused problems)
- Play Services updated to 6.1.83
- Play Store updated to 5.0.31
20140605:
- Play Store updated to 4.8.20
20140523:
- Play Services updated to 4.4.52 (1174655-012)
20140519:
- Initial package
New package available in first post - Google Play Services updated to 4.4.52 (1174655-012)
New package, Play Store updated to 4.8.20
(I think after this I'll stop bumping and only update the first post instead - these changes update themselves on the device anyway)
@WinSuk,
Have you considered swapping the system and userdata partitions around (if userdata is actually bigger than system on your device)? See this patch as a reference: http://review.androidarmv6.org/#/c/7300/
We'll be enabling hardware TLS for all msm7x27 devices in the androidarmv6 project soon, which will require an updated recovery image. Now would be a good time to include the mtd hack, if it seems worthwhile for your device.
psyke83 said:
@WinSuk,
Have you considered swapping the system and userdata partitions around (if userdata is actually bigger than system on your device)? See this patch as a reference: http://review.androidarmv6.org/#/c/7300/
We'll be enabling hardware TLS for all msm7x27 devices in the androidarmv6 project soon, which will require an updated recovery image. Now would be a good time to include the mtd hack, if it seems worthwhile for your device.
Click to expand...
Click to collapse
Like ways, we can use sd-ext as well
Sent from my Xperia M using XDA Premium 4 mobile app
psyke83 said:
@WinSuk,
Have you considered swapping the system and userdata partitions around (if userdata is actually bigger than system on your device)? See this patch as a reference: http://review.androidarmv6.org/#/c/7300/
We'll be enabling hardware TLS for all msm7x27 devices in the androidarmv6 project soon, which will require an updated recovery image. Now would be a good time to include the mtd hack, if it seems worthwhile for your device.
Click to expand...
Click to collapse
Our system partition is actually bigger than data 240MB vs 185MB.
It might be a useful hack for older ROMs like CM9 though (where we have lots of system space)
WinSuk said:
Our system partition is actually bigger than data 240MB vs 185MB.
It might be a useful hack for older ROMs like CM9 though (where we have lots of system space)
Click to expand...
Click to collapse
For like even bigger ROMs, or maybe gapps, you can use the /cache partition. Or bind it data to have more space
Sent from my Optimus One using XDA Premium 4 mobile app
Package updated - problem-causing SetupWizard removed, Play Store & Play Services updated.
Edit: updated again for compatibility with newer devices
Suitable for all android devices ?
Any PlayStore said:
Suitable for all android devices ?
Click to expand...
Click to collapse
No, just ARMv6 devices - other devices will have a lot missing using this package.
PA gapps would be good for other devices.
I got this and play store and gms keeps crashing.
E/MediaFocusControl( 1885): java.app.GmsApplication: java.lang.ClassNotFoundException: Didn't find class "com.google.android.gms.common.app.GmsApplication" on path: DexPathLt$MethodAndArgsCaller.run(ZygoteInit.java:732)
E/AndroidRuntime( 2260): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:566)
E/AndroidRuntime( 2260): at dalvik.system.NativeStart.main(Native Method)
E/AndroidRuntime( 2260): Caused by: java.lang.ClassNotFoundException: Didn't find class "com.google.android.gms.common.app.GmsApplication" on path: DexPathList[[zip file "/system/framework/com.android.media.remotedisplay.jar", zip file "/system/framework/com.android.location.provider.jar", zip file "/system/priv-app/PrebuiltGmsCore.apk"],nativeLibraryDirectories=[/vendor/lib, /system/lib]]
E/AndroidRuntime( 2260): at dalvik.system.BaseDexClassLoader.findClass(BaseDexClassLoader.java:56)
E/AndroidRuntime( 2260): at java.lang.ClassLoader.loadClass(ClassLoader.java:497)
E/AndroidRuntime( 2260): at java.lang.ClassLoader.loadClass(ClassLoader.java:457)
E/AndroidRuntime( 2260): at android.app.Instrumentation.newApplication(Instrumentation.java:975)
E/AndroidRuntime( 2260): at android.app.LoadedApk.makeApplication(LoadedApk.java:509)
E/AndroidRuntime( 2260): ... 11 more
E/AndroidRuntime( 2260): Suppressed: java.io.IOException: unable to open DEX file
E/AndroidRuntime( 2260): at dalvik.system.DexFile.openDexFileNative(Native Method)
E/AndroidRuntime( 2260): at dalvik.system.DexFile.openDexFile(DexFile.java:296)
E/AndroidRuntime( 2260): at dalvik.system.DexFile.<init>(DexFile.java:80)
E/AndroidRuntime( 2260): at dalvik.system.DexFile.<init>(DexFile.java:59)
E/AndroidRuntime( 2260): at dalvik.system.DexPathList.loadDexFile(DexPathList.java:263)
E/AndroidRuntime( 2260): at dalvik.system.DexPathList.makeDexElements(DexPathList.java:230)E/AndroidRuntime( 2260): at dalvik.system.DexPathList.<init>(DexPathList.java:112)
E/AndroidRuntime( 2260): at dalvik.system.BaseDexClassLoader.<init>(BaseDexClassLoader.java:48)
E/AndroidRuntime( 2260): at dalvik.system.PathClassLoader.<init>(PathClassLoader.java:65)
E/AndroidRuntime( 2260): at android.app.ApplicationLoaders.getClassLoader(ApplicationLoaders.java:57)
E/AndroidRuntime( 2260): at android.app.LoadedApk.getClassLoader(LoadedApk.java:321)
E/AndroidRuntime( 2260): at android.app.LoadedApk.makeApplication(LoadedApk.java:507)
E/AndroidRuntime( 2260): ... 11 more
E/dalvikvm( 2283): Dex cache directory isn't writable: /data/dalvik-cache
E/AndroidRuntime( 2283): FATAL EXCEPTION: main
E/AndroidRuntime( 2283): Process: com.google.process.location, PID: 2283
E/AndroidRuntime( 2283): java.lang.RuntimeException: Unable to get provider com.google.android.location.reporting.service.ReportingContentProvider: java.lang.ClassNotFoundException: Didn't find class "com.google.android.location.reporting.service.ReportingContentProvider" on path: DexPathList[[zip file "/system/framework/com.android.media.remotedisplay.jar", zip file "/system/framework/com.android.location.provider.jar", zip file "/system/priv-app/PrebuiltGmsCore.apk"],nativeLibraryDirectories=[/vendor/lib, /system/lib]]
E/AndroidRuntime( 2283): at android.app.ActivityThread.installProvider(ActivityThread.java:4955)
E/AndroidRuntime( 2283): at android.app.ActivityThread.installContentProviders(ActivityThread.java:4547)
E/AndroidRuntime( 2283): at android.app.ActivityThread.handleBindApplication(ActivityThread.java:4487)
E/AndroidRuntime( 2283): at android.app.ActivityThread.access$1500(ActivityThread.java:144)
E/AndroidRuntime( 2283): at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1265)
E/AndroidRuntime( 2283): at android.os.Handler.dispatchMessage(Handler.java:102)
E/AndroidRuntime( 2283): at android.os.Looper.loop(Looper.java:136)
E/AndroidRuntime( 2283): at android.app.ActivityThread.main(ActivityThread.java:5179)
E/AndroidRuntime( 2283): at java.lang.reflect.Method.invokeNative(Native Method)
E/AndroidRuntime( 2283): at java.lang.reflect.Method.invoke(Method.java:515)
E/AndroidRuntime( 2283): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:732)
E/AndroidRuntime( 2283): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:566)
E/AndroidRuntime( 2283): at dalvik.system.NativeStart.main(Native Method)
E/AndroidRuntime( 2283): Caused by: java.lang.ClassNotFoundException: Didn't find class "com.google.android.location.reporting.service.ReportingContentProvider" on path: DexPathList[[zip file "/system/framework/com.android.media.remotedisplay.jar", zip file "/system/framework/com.android.location.provider.jar", zip file "/system/priv-app/PrebuiltGmsCore.apk"],nativeLibraryDirectories=[/vendor/lib, /system/lib]]
E/AndroidRuntime( 2283): at dalvik.system.BaseDexClassLoader.findClass(BaseDexClassLoader.java:56)
E/AndroidRuntime( 2283): at java.lang.ClassLoader.loadClass(ClassLoader.java:497)
E/AndroidRuntime( 2283): at java.lang.ClassLoader.loadClass(ClassLoader.java:457)
E/AndroidRuntime( 2283): at android.app.ActivityThread.installProvider(ActivityThread.java:4940)
E/AndroidRuntime( 2283): ... 12 more
E/AndroidRuntime( 2283): Suppressed: java.io.IOException: unable to open DEX file
E/AndroidRuntime( 2283): at dalvik.system.DexFile.openDexFileNative(Native Method)
E/AndroidRuntime( 2283): at dalvik.system.DexFile.openDexFile(DexFile.java:296)
E/AndroidRuntime( 2283): at dalvik.system.DexFile.<init>(DexFile.java:80)
E/AndroidRuntime( 2283): at dalvik.system.DexFile.<init>(DexFile.java:59)
E/AndroidRuntime( 2283): at dalvik.system.DexPathList.loadDexFile(DexPathList.java:263)
E/AndroidRuntime( 2283): at dalvik.system.DexPathList.makeDexElements(DexPathList.java:230)E/AndroidRuntime( 2283): at dalvik.system.DexPathList.<init>(DexPathList.java:112)
E/AndroidRuntime( 2283): at dalvik.system.BaseDexClassLoader.<init>(BaseDexClassLoader.java:48)
E/AndroidRuntime( 2283): at dalvik.system.PathClassLoader.<init>(PathClassLoader.java:65)
E/AndroidRuntime( 2283): at android.app.ApplicationLoaders.getClassLoader(ApplicationLoaders.java:57)
E/AndroidRuntime( 2283): at android.app.LoadedApk.getClassLoader(LoadedApk.java:321)
E/AndroidRuntime( 2283): at android.app.ContextImpl.getClassLoader(ContextImpl.java:734)
E/AndroidRuntime( 2283): at android.app.ActivityThread.installProvider(ActivityThread.java:4939)
E/AndroidRuntime( 2283): ... 12 more
and much more of this...
Does not function at all!
My Xperia broke from a drop on wooden floor - so i am now using my old Wildfire S
Install order:
cm-11-20150308-NIGHTLY-marvel (works as intended)
CronMod-INT2EXT4+_signed (works as intended)
gapps-4.4-tocache-20141026-2 (broken)
The Play Store functions at start, but WApp and YTube will demand that "Google Services Framework" is installed. (Can not pass this)
After "Google Services Framework" gets installed - gapps just crash all over. (Look at attached images)
YTube - crashes after logo
Instagram - crashes instantly
WApp - will not backup online, or download backups
Google Play - broken
gapps-base-arm-4.4.4-20170902-1-signed <- unable to install this new version of gapps (Look at last image)

Google Keyboard is constantly crashing with a cert whitelisting error in logcat

A colleague has given me her Moto G which has an issue with the Google Keyboard constantly crashing. She (and I) have cleared cache and data for the app, cleared the entire cache partition from recovery, and I managed to update "Google Keyboard" to "Gboard" (which appears to be a rebranding replacement based on the identical package ID) but it still happens. I have run logcat on the device with the following output:
Code:
W/GoogleCertificatesImpl( 1761): Package com.android.inputmethod.latin has a cert in the whitelist but wrong package name. go/package-enforcement-help
W/GoogleCertificatesImpl( 1761): Package com.android.inputmethod.latin has a cert in the whitelist but wrong package name. go/package-enforcement-help
D/AndroidRuntime( 4698): Shutting down VM
E/AndroidRuntime( 4698): FATAL EXCEPTION: main
E/AndroidRuntime( 4698): Process: com.android.inputmethod.latin, PID: 4698
E/AndroidRuntime( 4698): java.lang.SecurityException: GoogleCertificatesRslt: not whitelisted: pkg=com.android.inputmethod.latin, sha1=38918a453d07199354f8b19af05ec6562ced5788, atk=false, ver=12221236.true
E/AndroidRuntime( 4698): at android.os.Parcel.readException(Parcel.java:1546)
E/AndroidRuntime( 4698): at android.os.Parcel.readException(Parcel.java:1499)
E/AndroidRuntime( 4698): at com.google.android.gms.common.internal.q$a$a.a(Unknown Source)
E/AndroidRuntime( 4698): at com.google.android.gms.internal.hn.a(Unknown Source)
E/AndroidRuntime( 4698): at com.google.android.gms.common.internal.i.aZ(Unknown Source)
E/AndroidRuntime( 4698): at com.google.android.gms.common.internal.i$e.onServiceConnected(Unknown Source)
E/AndroidRuntime( 4698): at com.google.android.gms.common.internal.l$b$a.onServiceConnected(Unknown Source)
E/AndroidRuntime( 4698): at android.app.LoadedApk$ServiceDispatcher.doConnected(LoadedApk.java:1208)
E/AndroidRuntime( 4698): at android.app.LoadedApk$ServiceDispatcher$RunConnection.run(LoadedApk.java:1225)
E/AndroidRuntime( 4698): at android.os.Handler.handleCallback(Handler.java:739)
E/AndroidRuntime( 4698): at android.os.Handler.dispatchMessage(Handler.java:95)
E/AndroidRuntime( 4698): at android.os.Looper.loop(Looper.java:135)
E/AndroidRuntime( 4698): at android.app.ActivityThread.main(ActivityThread.java:5343)
E/AndroidRuntime( 4698): at java.lang.reflect.Method.invoke(Native Method)
E/AndroidRuntime( 4698): at java.lang.reflect.Method.invoke(Method.java:372)
E/AndroidRuntime( 4698): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:905)
E/AndroidRuntime( 4698): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:700)
but I can't find any reference on Google to the cert whitelisting message. This is a stock UK Moto G (falcon) running the latest factory firmware (LPBS23.13-56-2), non-rooted, locked bootloader. Any other suggestions short of a factory reset appreciated!
Downgrading to Google Play Services v11.9.75 (from APKPure) seems to fix this....but you can't disable automatic Google Play Services updates so I guess this issue is likely to come back?
Just for my own benefit more than anyone else while I wait to see if this happens again....
Google Keyboard 4.0.x / Play Services 11.9.75 = error
Google Keyboard 4.0.x / Play Services 12.x = error
GBoard 7.0.8 / Play Services 11.9.75 = OK
GBoard 7.0.8 / Play Services 12.x = error
We have thousands of staff using these moto g's they're old and soon to be replaced but people cannot be without a keyboard...
We have a strict device policy and unfortunately it demands the most up to date software available.
Our only current alternative is to use an alternative keyboard app like Swiftkey Keyboard or Hackers Keyboard, and explaining to user Doris why we're installing hackers keyboard onto her device is great!
This has only been constantly crashing since an update was pushed out.
It's not just this one then? That's annoying - I guess there's not much to do then other than suggest she replaces her phone, and wait for the inevitable day when my other colleague's Moto G goes the same way.

Categories

Resources