[Q] Building dsp manager in Eclipse - Java for Android App Development

Hi! I am trying to build dsp manager from source. I am using the code from cyanogenmod github (gingerbread branch). https://github.com/CyanogenMod/android_packages_apps_DSPManager/tree/gingerbread I didnt do any modifications to the code. And when I want to change equalizer settings it fcs.
Here is the log:
Code:
01-12 18:19:26.945: E/AndroidRuntime(16249): FATAL EXCEPTION: main
01-12 18:19:26.945: E/AndroidRuntime(16249): java.lang.RuntimeException: Error receiving broadcast Intent { act=com.bel.android.dspmanager.UPDATE } in [email protected]
01-12 18:19:26.945: E/AndroidRuntime(16249): at android.app.LoadedApk$ReceiverDispatcher$Args.run(LoadedApk.java:722)
01-12 18:19:26.945: E/AndroidRuntime(16249): at android.os.Handler.handleCallback(Handler.java:587)
01-12 18:19:26.945: E/AndroidRuntime(16249): at android.os.Handler.dispatchMessage(Handler.java:92)
01-12 18:19:26.945: E/AndroidRuntime(16249): at android.os.Looper.loop(Looper.java:130)
01-12 18:19:26.945: E/AndroidRuntime(16249): at android.app.ActivityThread.main(ActivityThread.java:3687)
01-12 18:19:26.945: E/AndroidRuntime(16249): at java.lang.reflect.Method.invokeNative(Native Method)
01-12 18:19:26.945: E/AndroidRuntime(16249): at java.lang.reflect.Method.invoke(Method.java:507)
01-12 18:19:26.945: E/AndroidRuntime(16249): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:867)
01-12 18:19:26.945: E/AndroidRuntime(16249): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:625)
01-12 18:19:26.945: E/AndroidRuntime(16249): at dalvik.system.NativeStart.main(Native Method)
01-12 18:19:26.945: E/AndroidRuntime(16249): Caused by: java.lang.IllegalArgumentException: AudioEffect: bad parameter value
01-12 18:19:26.945: E/AndroidRuntime(16249): at android.media.audiofx.AudioEffect.checkStatus(AudioEffect.java:1179)
01-12 18:19:26.945: E/AndroidRuntime(16249): at android.media.audiofx.Equalizer.setBandLevel(Equalizer.java:229)
01-12 18:19:26.945: E/AndroidRuntime(16249): at com.bel.android.dspmanager.HeadsetService.updateDsp(HeadsetService.java:220)
01-12 18:19:26.945: E/AndroidRuntime(16249): at com.bel.android.dspmanager.HeadsetService$2.onReceive(HeadsetService.java:100)
01-12 18:19:26.945: E/AndroidRuntime(16249): at android.app.LoadedApk$ReceiverDispatcher$Args.run(LoadedApk.java:709)
01-12 18:19:26.945: E/AndroidRuntime(16249): ... 9 more
TIA!

Are you using a Cm based ROM? I guess it needs some functions which are implemented in the OS and which only Cm based ROMs have to work properly.

nikwen said:
Are you using a Cm based ROM? I guess it needs some functions which are implemented in the OS and which only Cm based ROMs have to work properly.
Click to expand...
Click to collapse
I think it's not that. If I use already builded apk it works.
Sent from my GT-S5570I

m4RinKo2 said:
I think it's not that. If I use already builded apk it works.
Sent from my GT-S5570I
Click to expand...
Click to collapse
Ok, I've got no idea then.

Related

freeze on unlock??

hey guys it's been like 2 days no when i try to unlock my phone the screen freezes..
sometimes i get this?
java.lang.SecurityException: Permission Denial: opening provider com.google.android.gm.provider.MailProvider from ProcessRecord{407c6ed8 1761:com.sec.android.app.twlauncher/10032} (pid=1761, uid=10032) requires com.google.android.gm.permission.READ_GMAIL or com.google.android.gm.permission.WRITE_GMAIL
at android.os.Parcel.readException(Parcel.java:1322)
at android.os.Parcel.readException(Parcel.java:1276)
at android.app.ActivityManagerProxy.getContentProvider(ActivityManagerNative.java:1882)
at android.app.ActivityThread.getProvider(ActivityThread.java:3351)
at android.app.ActivityThread.acquireProvider(ActivityThread.java:3376)
at android.app.ContextImpl$ApplicationContentResolver.acquireProvider(ContextImpl.java:1826)
at android.content.ContentResolver.acquireProvider(ContentResolver.java:748)
at android.content.ContentResolver.query(ContentResolver.java:256)
at com.sec.android.app.twlauncher.Launcher.onGmailChanged(Launcher.java:30)
at com.sec.android.app.twlauncher.GmailObserver.onChange(GmailObserver.java:23)
at android.database.ContentObserver$NotificationRunnable.run(ContentObserver.java:43)
at android.os.Handler.handleCallback(Handler.java:587)
at android.os.Handler.dispatchMessage(Handler.java:92)
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:842)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:600)
at dalvik.system.NativeStart.main(Native Method)

[Q] Nexus 7 Google Play Crash Problem

I updated my Nexus 7 from 4.2.1 to 4.2.2 via OTA.
After updating, the google play app always crashes with message "Unfortunately, Google Play Store has stopped".
Below are some logs taken from the device when the app crashes.
E/AndroidRuntime( 2242): FATAL EXCEPTION: main
E/AndroidRuntime( 2242): java.lang.RuntimeException: java.lang.NullPointerException: expected receiver of type com.google.android.finsky.remoting.protos.Response$Payload, but got null
E/AndroidRuntime( 2242): at com.google.android.volley.MicroProtoHelper.getParsedResponseFromWrapper(MicroProtoHelper.java:38)
E/AndroidRuntime( 2242): at com.google.android.finsky.api.DfeRequest.deliverResponse(DfeRequest.java:456)
E/AndroidRuntime( 2242): at com.google.android.finsky.api.DfeRequest.deliverResponse(DfeRequest.java:49)
E/AndroidRuntime( 2242): at com.android.volley.ExecutorDelivery$ResponseDeliveryRunnable.run(ExecutorDelivery.java:99)
E/AndroidRuntime( 2242): at android.os.Handler.handleCallback(Handler.java:725)
E/AndroidRuntime( 2242): at android.os.Handler.dispatchMessage(Handler.java:92)
E/AndroidRuntime( 2242): at android.os.Looper.loop(Looper.java:137)
E/AndroidRuntime( 2242): at android.app.ActivityThread.main(ActivityThread.java:5041)
E/AndroidRuntime( 2242): at java.lang.reflect.Method.invokeNative(Native Method)
E/AndroidRuntime( 2242): at java.lang.reflect.Method.invoke(Method.java:511)
E/AndroidRuntime( 2242): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:793)
E/AndroidRuntime( 2242): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:560)
E/AndroidRuntime( 2242): at dalvik.system.NativeStart.main(Native Method)
E/AndroidRuntime( 2242): Caused by: java.lang.NullPointerException: expected receiver of type com.google.android.finsky.remoting.protos.Response$Payload, but got null
E/AndroidRuntime( 2242): at java.lang.reflect.Method.invokeNative(Native Method)
E/AndroidRuntime( 2242): at java.lang.reflect.Method.invoke(Method.java:511)
E/AndroidRuntime( 2242): at com.google.android.volley.MicroProtoHelper.getParsedResponseFromWrapper(MicroProtoHelper.java:36)
E/AndroidRuntime( 2242): ... 12 more
Can anyone provide a possible solution?
Thank you.

wanam exposed error log

xposed log is eating all the space available.
Code:
java.lang.NoSuchFieldError: com.android.systemui.statusbar.policy.ClockCenter#mExpandedHeader
at de.robv.android.xposed.XposedHelpers.findField(XposedHelpers.java:69)
at de.robv.android.xposed.XposedHelpers.getBooleanField(XposedHelpers.java:628)
at ma.wanam.xposed.XSysUIStatusBarClockPackage$1.afterHookedMethod(Unknown Source)
at de.robv.android.xposed.XposedBridge.handleHookedMethod(XposedBridge.java:645)
at com.android.systemui.statusbar.policy.Clock.updateClock(Native Method)
at com.android.systemui.statusbar.policy.Clock$2$1.run(Clock.java:362)
at android.os.Handler.handleCallback(Handler.java:733)
at android.os.Handler.dispatchMessage(Handler.java:95)
at android.os.Looper.loop(Looper.java:157)
at android.app.ActivityThread.main(ActivityThread.java:5335)
at java.lang.reflect.Method.invokeNative(Native Method)
at java.lang.reflect.Method.invoke(Method.java:515)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1265)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1081)
at de.robv.android.xposed.XposedBridge.main(XposedBridge.java:132)
at dalvik.system.NativeStart.main(Native Method)
can any body know how to fix this?
bump
toinktoink said:
xposed log is eating all the space available.
Code:
java.lang.NoSuchFieldError: com.android.systemui.statusbar.policy.ClockCenter#mExpandedHeader
at de.robv.android.xposed.XposedHelpers.findField(XposedHelpers.java:69)
at de.robv.android.xposed.XposedHelpers.getBooleanField(XposedHelpers.java:628)
at ma.wanam.xposed.XSysUIStatusBarClockPackage$1.afterHookedMethod(Unknown Source)
at de.robv.android.xposed.XposedBridge.handleHookedMethod(XposedBridge.java:645)
at com.android.systemui.statusbar.policy.Clock.updateClock(Native Method)
at com.android.systemui.statusbar.policy.Clock$2$1.run(Clock.java:362)
at android.os.Handler.handleCallback(Handler.java:733)
at android.os.Handler.dispatchMessage(Handler.java:95)
at android.os.Looper.loop(Looper.java:157)
at android.app.ActivityThread.main(ActivityThread.java:5335)
at java.lang.reflect.Method.invokeNative(Native Method)
at java.lang.reflect.Method.invoke(Method.java:515)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1265)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1081)
at de.robv.android.xposed.XposedBridge.main(XposedBridge.java:132)
at dalvik.system.NativeStart.main(Native Method)
can any body know how to fix this?
Click to expand...
Click to collapse
Can you upload your SystemUI.apk on my main thread?

How to store geofence in disk

Hey guys,
I'm having a problem figuring out a way to store the geofences that my app creates, in order to load them when I run the app again. The purpose is to show a list of geofences created by the user.
I tried to serialize them using Java's Serialization and I also tried to use Gson to convert them into a Json string. The problem with Gson it's when I try to load them, it gives me an error message saying that Geofence is not a class. (which is true, it's an interface).
logcat:
Code:
09-09 21:37:16.148 18137-18137/? D/dalvikvm﹕ Late-enabling CheckJNI
09-09 21:37:17.515 18137-18137/? I/dalvikvm﹕ Could not find method android.content.res.TypedArray.getChangingConfigurations, referenced from method android.support.v7.internal.widget.TintTypedArray.getChangingConfigurations
09-09 21:37:17.515 18137-18137/? W/dalvikvm﹕ VFY: unable to resolve virtual method 614: Landroid/content/res/TypedArray;.getChangingConfigurations ()I
09-09 21:37:17.515 18137-18137/? D/dalvikvm﹕ VFY: replacing opcode 0x6e at 0x0002
09-09 21:37:17.515 18137-18137/? I/dalvikvm﹕ Could not find method android.content.res.TypedArray.getType, referenced from method android.support.v7.internal.widget.TintTypedArray.getType
09-09 21:37:17.515 18137-18137/? W/dalvikvm﹕ VFY: unable to resolve virtual method 636: Landroid/content/res/TypedArray;.getType (I)I
09-09 21:37:17.515 18137-18137/? D/dalvikvm﹕ VFY: replacing opcode 0x6e at 0x0002
09-09 21:37:18.133 18137-18137/? D/GoogleAPIMsg﹕ Construcao do Client Google
09-09 21:37:18.164 18137-18137/? D/Manager﹕ Loading Geofences...
09-09 21:37:18.203 18137-18137/? D/AndroidRuntime﹕ Shutting down VM
09-09 21:37:18.203 18137-18137/? W/dalvikvm﹕ threadid=1: thread exiting with uncaught exception (group=0x419307c0)
09-09 21:37:18.234 18137-18137/? E/AndroidRuntime﹕ FATAL EXCEPTION: main
java.lang.RuntimeException: Unable to start activity ComponentInfo{com.smartlocation.wilcocsjrxxlxpto/com.smartlocation.wilcocsjrxxlxpto.HomeScreen}: java.lang.RuntimeException: Unable to invoke no-args constructor for interface com.google.android.gms.location.Geofence. Register an InstanceCreator with Gson for this type may fix this problem.
at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2339)
at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2389)
at android.app.ActivityThread.access$600(ActivityThread.java:153)
at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1269)
at android.os.Handler.dispatchMessage(Handler.java:99)
at android.os.Looper.loop(Looper.java:137)
at android.app.ActivityThread.main(ActivityThread.java:5289)
at java.lang.reflect.Method.invokeNative(Native Method)
at java.lang.reflect.Method.invoke(Method.java:525)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:739)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:555)
at dalvik.system.NativeStart.main(Native Method)
Caused by: java.lang.RuntimeException: Unable to invoke no-args constructor for interface com.google.android.gms.location.Geofence. Register an InstanceCreator with Gson for this type may fix this problem.
at com.google.gson.internal.ConstructorConstructor$12.construct(ConstructorConstructor.java:210)
at com.google.gson.internal.bind.ReflectiveTypeAdapterFactory$Adapter.read(ReflectiveTypeAdapterFactory.java:186)
at com.google.gson.Gson.fromJson(Gson.java:810)
at com.google.gson.Gson.fromJson(Gson.java:775)
at com.google.gson.Gson.fromJson(Gson.java:724)
at com.google.gson.Gson.fromJson(Gson.java:696)
at com.smartlocation.wilcocsjrxxlxpto.core.Manager.loadGeofences(Manager.java:203)
at com.smartlocation.wilcocsjrxxlxpto.HomeScreen.load(HomeScreen.java:252)
at com.smartlocation.wilcocsjrxxlxpto.HomeScreen.onCreate(HomeScreen.java:66)
at android.app.Activity.performCreate(Activity.java:5133)
at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1087)
at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2293)
************at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2389)
************at android.app.ActivityThread.access$600(ActivityThread.java:153)
************at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1269)
************at android.os.Handler.dispatchMessage(Handler.java:99)
************at android.os.Looper.loop(Looper.java:137)
************at android.app.ActivityThread.main(ActivityThread.java:5289)
************at java.lang.reflect.Method.invokeNative(Native Method)
************at java.lang.reflect.Method.invoke(Method.java:525)
************at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:739)
************at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:555)
************at dalvik.system.NativeStart.main(Native Method)
Caused by: java.lang.reflect.InvocationTargetException
at java.lang.reflect.Method.invokeNative(Native Method)
at java.lang.reflect.Method.invoke(Method.java:525)
at com.google.gson.internal.UnsafeAllocator$1.newInstance(UnsafeAllocator.java:48)
at com.google.gson.internal.ConstructorConstructor$12.construct(ConstructorConstructor.java:207)
************at com.google.gson.internal.bind.ReflectiveTypeAdapterFactory$Adapter.read(ReflectiveTypeAdapterFactory.java:186)
************at com.google.gson.Gson.fromJson(Gson.java:810)
************at com.google.gson.Gson.fromJson(Gson.java:775)
************at com.google.gson.Gson.fromJson(Gson.java:724)
************at com.google.gson.Gson.fromJson(Gson.java:696)
************at com.smartlocation.wilcocsjrxxlxpto.core.Manager.loadGeofences(Manager.java:203)
************at com.smartlocation.wilcocsjrxxlxpto.HomeScreen.load(HomeScreen.java:252)
************at com.smartlocation.wilcocsjrxxlxpto.HomeScreen.onCreate(HomeScreen.java:66)
************at android.app.Activity.performCreate(Activity.java:5133)
************at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1087)
************at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2293)
************at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2389)
************at android.app.ActivityThread.access$600(ActivityThread.java:153)
************at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1269)
************at android.os.Handler.dispatchMessage(Handler.java:99)
************at android.os.Looper.loop(Looper.java:137)
************at android.app.ActivityThread.main(ActivityThread.java:5289)
************at java.lang.reflect.Method.invokeNative(Native Method)
************at java.lang.reflect.Method.invoke(Method.java:525)
************at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:739)
************at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:555)
************at dalvik.system.NativeStart.main(Native Method)
Caused by: java.lang.InstantiationException: can't instantiate class com.google.android.gms.location.Geofence; abstract class or interface
at sun.misc.Unsafe.allocateInstance(Native Method)
************at java.lang.reflect.Method.invokeNative(Native Method)
************at java.lang.reflect.Method.invoke(Method.java:525)
************at com.google.gson.internal.UnsafeAllocator$1.newInstance(UnsafeAllocator.java:48)
************at com.google.gson.internal.ConstructorConstructor$12.construct(ConstructorConstructor.java:207)
************at com.google.gson.internal.bind.ReflectiveTypeAdapterFactory$Adapter.read(ReflectiveTypeAdapterFactory.java:186)
************at com.google.gson.Gson.fromJson(Gson.java:810)
************at com.google.gson.Gson.fromJson(Gson.java:775)
************at com.google.gson.Gson.fromJson(Gson.java:724)
************at com.google.gson.Gson.fromJson(Gson.java:696)
************at com.smartlocation.wilcocsjrxxlxpto.core.Manager.loadGeofences(Manager.java:203)
************at com.smartlocation.wilcocsjrxxlxpto.HomeScreen.load(HomeScreen.java:252)
************at com.smartlocation.wilcocsjrxxlxpto.HomeScreen.onCreate(HomeScreen.java:66)
************at android.app.Activity.performCreate(Activity.java:5133)
************at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1087)
************at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2293)
************at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2389)
************at android.app.ActivityThread.access$600(ActivityThread.java:153)
************at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1269)
************at android.os.Handler.dispatchMessage(Handler.java:99)
************at android.os.Looper.loop(Looper.java:137)
************at android.app.ActivityThread.main(ActivityThread.java:5289)
************at java.lang.reflect.Method.invokeNative(Native Method)
************at java.lang.reflect.Method.invoke(Method.java:525)
************at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:739)
************at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:555)
************at dalvik.system.NativeStart.main(Native Method)
09-09 21:37:18.648 18137-18137/? I/Process﹕ Sending signal. PID: 18137 SIG: 9
code:
Code:
public class Manager implements ResultCallback<Status>, LocationListener {
// Tag para fazer debug
protected static final String MAN = "Manager";
protected static final String SMS = "eventSMS";
protected static final String RING = "eventRing";
private Context mAppContext;
private GoogleApiClient mGoogleApiClient;
private LocationRequest mLocationRequest;
// Listas de Geofences
private TreeMap<String, Geofence> mGeofences;
private TreeMap<String, Event> mEvents;
private int mCounterActiveGeofences;
private PendingIntent mGeofencePendingIntent;
private Intent updateLocIntent;
/* Save */
private Gson gson;
private SharedPreferences prefs;
public Manager(Context context, GoogleApiClient googleApiClient){
mGeofences = new TreeMap<String, Geofence>();
mEvents = new TreeMap<String, Event>();
mGeofencePendingIntent = null;
mAppContext = context;
mGoogleApiClient = googleApiClient;
mCounterActiveGeofences = 0;
prefs = context.getSharedPreferences(Constants.Geofences, Context.MODE_PRIVATE);
gson = new Gson();
}
...
public void saveGeofences(){
String json;
Geofence geofence;
SharedPreferences.Editor editor = prefs.edit();
Log.d(MAN, "Saving Geofences...");
for (Map.Entry<String, Geofence> entry : mGeofences.entrySet()) {
geofence = mGeofences.get(entry.getKey());
json = gson.toJson(geofence);
editor.putString(geofence.getRequestId(), json);
Log.d(MAN, geofence.getRequestId() + " json: " + json);
}
editor.apply();
}
public void loadGeofences(){
Map<String, ?> keys = prefs.getAll();
Log.d(MAN, "Loading Geofences...");
for (Map.Entry<String, ?> entry : keys.entrySet()) {
String jsonString = prefs.getString(entry.getKey(), null);
Geofence geofence = gson.fromJson(jsonString, Geofence.class);
Log.d(MAN, geofence.getRequestId());
mGeofences.put(geofence.getRequestId(), geofence);
}
}
}
Thank you in advance.
wilcocsjr said:
Hey guys,
I'm having a problem figuring out a way to store the geofences that my app creates, in order to load them when I run the app again. The purpose is to show a list of geofences created by the user.
I tried to serialize them using Java's Serialization and I also tried to use Gson to convert them into a Json string. The problem with Gson it's when I try to load them, it gives me an error message saying that Geofence is not a class. (which is true, it's an interface).
Thank you in advance.
Click to expand...
Click to collapse
Could you show your code and show logcat read sticky thread how to post development questions
Sent from my SM-G530H using XDA Free mobile app
AndroidFire said:
Could you show your code and show logcat read sticky thread how to post development questions
Sent from my SM-G530H using XDA Free mobile app
Click to expand...
Click to collapse
Just edited the original post, sorry about that

Unfortunately the Process.com.android.phone Has Stopped

I'm having the same problem. Except I can't use the phone at all. I took the SIM card out of the micro sd port where the phone has been working somehow. It was a qlink wireless phone. I put the SIM card in the appropriate spot and factory reset it and now it is saying Unfortunately the Process.com.android.phone Has Stopped. Non-stop. It sometimes stops most of the time it's on the screen 24/7. Idk what to do. I want to use this phone. Please help.
Same Thing (Sprint Prepaid)
I am having the same issue as well, my phone was running crappy so i had performed a factory reset, upon reboot i have been receiving the com.android.phone repeatedly, and its no longer registering with the Sprint prepaid service. From there i decided to enable USB debugging to see if i could get some kind of info with "adb logcat" and this is what i received:
I/ActivityManager( 803): Process com.android.phone (pid 8149) has died.
I/com.skyfire.browser.toolbar.ProcessObserverService( 1302): On process died 8149,1001
I/ActivityManager( 803): Start proc com.android.phone for restart com.android.phone: pid=8196 uid=1001 gids={41001, 3004, 3009, 3005, 1006, 3002, 3001, 3003, 1028, 1015}
V/PhoneApp( 8196): onCreate()...
D/ItsOnAPI( 8196): Unable to load ItsOnOemApi implementation: java.lang.ClassNotFoundException: Didn't find class "com.itsoninc.android.impl.ItsOnOem" on path: DexPathList[[],nativeLibraryDirectories=[/vendor/lib, /system/lib]]
I/ItsOnAPI( 8196): ItsOn is not enabled
I/RoamingUtils( 8196): loadOdmSettings loaded:0
I/RoamingUtils( 8196): load odm settings start:
I/RoamingUtils( 8196): load odm settings node:./Customization/RoamPreference/HomeOnly value:0
I/RoamingUtils( 8196): load odm settings node:./Customization/RoamPreference/MenuDisplay value:1
I/RoamingUtils( 8196): load odm settings node:./SPA/DomDataGuard/Enabled value:N
I/RoamingUtils( 8196): load odm settings node:./SPA/DomVoiceGuard/Enabled value:Y
I/RoamingUtils( 8196): load odm settings domVoRoam:null domDaRoam:null domVoRoamGd:Y domDaRoamGd:N homeOnly:0 showMemu:1
W/dalvikvm( 8196): threadid=1: thread exiting with uncaught exception (group=0x415cbd58)
E/AndroidRuntime( 8196): FATAL EXCEPTION: main
E/AndroidRuntime( 8196): Process: com.android.phone, PID: 8196
E/AndroidRuntime( 8196): java.lang.RuntimeException: Unable to create application com.android.phone.PhoneApp: java.lang.NumberFormatException: Invalid int: "Y"
E/AndroidRuntime( 8196): at android.app.ActivityThread.handleBindApplication(ActivityThread.java:4439)
E/AndroidRuntime( 8196): at android.app.ActivityThread.access$1600(ActivityThread.java:145)
E/AndroidRuntime( 8196): at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1288)
E/AndroidRuntime( 8196): at android.os.Handler.dispatchMessage(Handler.java:102)
E/AndroidRuntime( 8196): at android.os.Looper.loop(Looper.java:136)
E/AndroidRuntime( 8196): at android.app.ActivityThread.main(ActivityThread.java:5109)
E/AndroidRuntime( 8196): at java.lang.reflect.Method.invokeNative(Native Method)
E/AndroidRuntime( 8196): at java.lang.reflect.Method.invoke(Method.java:515)
E/AndroidRuntime( 8196): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:800)
E/AndroidRuntime( 8196): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:616)
E/AndroidRuntime( 8196): at dalvik.system.NativeStart.main(Native Method)
E/AndroidRuntime( 8196): Caused by: java.lang.NumberFormatException: Invalid int: "Y"
E/AndroidRuntime( 8196): at java.lang.Integer.invalidInt(Integer.java:137)
E/AndroidRuntime( 8196): at java.lang.Integer.parse(Integer.java:374)
E/AndroidRuntime( 8196): at java.lang.Integer.parseInt(Integer.java:365)
E/AndroidRuntime( 8196): at java.lang.Integer.parseInt(Integer.java:331)
E/AndroidRuntime( 8196): at java.lang.Integer.valueOf(Integer.java:489)
E/AndroidRuntime( 8196): at com.android.internal.telephony.RoamingUtils.loadOdmSettings(RoamingUtils.java:315)
E/AndroidRuntime( 8196): at com.android.internal.telephony.cdma.CdmaServiceStateTracker.<init>(CdmaServiceStateTracker.java:277)
E/AndroidRuntime( 8196): at com.android.internal.telephony.cdma.CdmaLteServiceStateTracker.<init>(CdmaLteServiceStateTracker.java:90)
E/AndroidRuntime( 8196): at com.android.internal.telephony.cdma.CDMALTEPhone.initSstIcc(CDMALTEPhone.java:104)
E/AndroidRuntime( 8196): at com.android.internal.telephony.cdma.CDMAPhone.<init>(CDMAPhone.java:162)
E/AndroidRuntime( 8196): at com.android.internal.telephony.cdma.CDMALTEPhone.<init>(CDMALTEPhone.java:83)
E/AndroidRuntime( 8196): at com.android.internal.telephony.PhoneFactory.makeDefaultPhone(PhoneFactory.java:129)
E/AndroidRuntime( 8196): at com.android.internal.telephony.PhoneFactory.makeDefaultPhones(PhoneFactory.java:57)
E/AndroidRuntime( 8196): at com.android.phone.PhoneGlobals.onCreate(PhoneGlobals.java:549)
E/AndroidRuntime( 8196): at com.android.phone.PhoneApp.onCreate(PhoneApp.java:44)
E/AndroidRuntime( 8196): at android.app.Instrumentation.callApplicationOnCreate(Instrumentation.java:1007)
E/AndroidRuntime( 8196): at android.app.ActivityThread.handleBindApplication(ActivityThread.java:4436)
E/AndroidRuntime( 8196): ... 10 more
W/ActivityManager( 803): Process com.android.phone has crashed too many times: killing!
E/RLOG ( 7954): command timed out pid:8062
It appears that it has something to do with an invalid variable "Y" not being an integer. I am not super familiar with the Android OS, and have only dabbled with it briefly, but i am assuming the problem has been caused by the stock Recovery not wiping the cache on factory reset. Also im assuming that without root access and fastboot working, clearing the cache via ADB isn't going to work either . But as it stands right now I have 2 bricked phones and I just started freelancing, so i am going to be forced into figuring this out, because i need a phone. That's all the insight i can provide as of now, hopefully somebody else around here has more experience in the matter and can give us a hand.
I also experienced the same thing
I need twrp backup for recovery
hi
Your baseband is unknown ?
hoost3in said:
I am having the same issue as well, my phone was running crappy so i had performed a factory reset, upon reboot i have been receiving the com.android.phone repeatedly, and its no longer registering with the Sprint prepaid service. From there i decided to enable USB debugging to see if i could get some kind of info with "adb logcat" and this is what i received:
I/ActivityManager( 803): Process com.android.phone (pid 8149) has died.
I/com.skyfire.browser.toolbar.ProcessObserverService( 1302): On process died 8149,1001
I/ActivityManager( 803): Start proc com.android.phone for restart com.android.phone: pid=8196 uid=1001 gids={41001, 3004, 3009, 3005, 1006, 3002, 3001, 3003, 1028, 1015}
V/PhoneApp( 8196): onCreate()...
D/ItsOnAPI( 8196): Unable to load ItsOnOemApi implementation: java.lang.ClassNotFoundException: Didn't find class "com.itsoninc.android.impl.ItsOnOem" on path: DexPathList[[],nativeLibraryDirectories=[/vendor/lib, /system/lib]]
I/ItsOnAPI( 8196): ItsOn is not enabled
I/RoamingUtils( 8196): loadOdmSettings loaded:0
I/RoamingUtils( 8196): load odm settings start:
I/RoamingUtils( 8196): load odm settings node:./Customization/RoamPreference/HomeOnly value:0
I/RoamingUtils( 8196): load odm settings node:./Customization/RoamPreference/MenuDisplay value:1
I/RoamingUtils( 8196): load odm settings node:./SPA/DomDataGuard/Enabled value:N
I/RoamingUtils( 8196): load odm settings node:./SPA/DomVoiceGuard/Enabled value:Y
I/RoamingUtils( 8196): load odm settings domVoRoam:null domDaRoam:null domVoRoamGd:Y domDaRoamGd:N homeOnly:0 showMemu:1
W/dalvikvm( 8196): threadid=1: thread exiting with uncaught exception (group=0x415cbd58)
E/AndroidRuntime( 8196): FATAL EXCEPTION: main
E/AndroidRuntime( 8196): Process: com.android.phone, PID: 8196
E/AndroidRuntime( 8196): java.lang.RuntimeException: Unable to create application com.android.phone.PhoneApp: java.lang.NumberFormatException: Invalid int: "Y"
E/AndroidRuntime( 8196): at android.app.ActivityThread.handleBindApplication(ActivityThread.java:4439)
E/AndroidRuntime( 8196): at android.app.ActivityThread.access$1600(ActivityThread.java:145)
E/AndroidRuntime( 8196): at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1288)
E/AndroidRuntime( 8196): at android.os.Handler.dispatchMessage(Handler.java:102)
E/AndroidRuntime( 8196): at android.os.Looper.loop(Looper.java:136)
E/AndroidRuntime( 8196): at android.app.ActivityThread.main(ActivityThread.java:5109)
E/AndroidRuntime( 8196): at java.lang.reflect.Method.invokeNative(Native Method)
E/AndroidRuntime( 8196): at java.lang.reflect.Method.invoke(Method.java:515)
E/AndroidRuntime( 8196): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:800)
E/AndroidRuntime( 8196): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:616)
E/AndroidRuntime( 8196): at dalvik.system.NativeStart.main(Native Method)
E/AndroidRuntime( 8196): Caused by: java.lang.NumberFormatException: Invalid int: "Y"
E/AndroidRuntime( 8196): at java.lang.Integer.invalidInt(Integer.java:137)
E/AndroidRuntime( 8196): at java.lang.Integer.parse(Integer.java:374)
E/AndroidRuntime( 8196): at java.lang.Integer.parseInt(Integer.java:365)
E/AndroidRuntime( 8196): at java.lang.Integer.parseInt(Integer.java:331)
E/AndroidRuntime( 8196): at java.lang.Integer.valueOf(Integer.java:489)
E/AndroidRuntime( 8196): at com.android.internal.telephony.RoamingUtils.loadOdmSettings(RoamingUtils.java:315)
E/AndroidRuntime( 8196): at com.android.internal.telephony.cdma.CdmaServiceStateTracker.<init>(CdmaServiceStateTracker.java:277)
E/AndroidRuntime( 8196): at com.android.internal.telephony.cdma.CdmaLteServiceStateTracker.<init>(CdmaLteServiceStateTracker.java:90)
E/AndroidRuntime( 8196): at com.android.internal.telephony.cdma.CDMALTEPhone.initSstIcc(CDMALTEPhone.java:104)
E/AndroidRuntime( 8196): at com.android.internal.telephony.cdma.CDMAPhone.<init>(CDMAPhone.java:162)
E/AndroidRuntime( 8196): at com.android.internal.telephony.cdma.CDMALTEPhone.<init>(CDMALTEPhone.java:83)
E/AndroidRuntime( 8196): at com.android.internal.telephony.PhoneFactory.makeDefaultPhone(PhoneFactory.java:129)
E/AndroidRuntime( 8196): at com.android.internal.telephony.PhoneFactory.makeDefaultPhones(PhoneFactory.java:57)
E/AndroidRuntime( 8196): at com.android.phone.PhoneGlobals.onCreate(PhoneGlobals.java:549)
E/AndroidRuntime( 8196): at com.android.phone.PhoneApp.onCreate(PhoneApp.java:44)
E/AndroidRuntime( 8196): at android.app.Instrumentation.callApplicationOnCreate(Instrumentation.java:1007)
E/AndroidRuntime( 8196): at android.app.ActivityThread.handleBindApplication(ActivityThread.java:4436)
E/AndroidRuntime( 8196): ... 10 more
W/ActivityManager( 803): Process com.android.phone has crashed too many times: killing!
E/RLOG ( 7954): command timed out pid:8062
It appears that it has something to do with an invalid variable "Y" not being an integer. I am not super familiar with the Android OS, and have only dabbled with it briefly, but i am assuming the problem has been caused by the stock Recovery not wiping the cache on factory reset. Also im assuming that without root access and fastboot working, clearing the cache via ADB isn't going to work either . But as it stands right now I have 2 bricked phones and I just started freelancing, so i am going to be forced into figuring this out, because i need a phone. That's all the insight i can provide as of now, hopefully somebody else around here has more experience in the matter and can give us a hand.
Click to expand...
Click to collapse
Ever make any progress on this? This is the second time this happened to me and I don't want to wait another week for sprint to replace it again! What kind of pos can't be factory reset without basically bricking the phone!
binthe920 said:
Ever make any progress on this? This is the second time this happened to me and I don't want to wait another week for sprint to replace it again! What kind of pos can't be factory reset without basically bricking the phone!
Click to expand...
Click to collapse
Wondering the same as well.
I have the same problem and I can't even go to Sprint, as I don't have service with them
Please help
Solved, sort of, restore a working backup.
The only solution I could get to work is to root using the new aio app method that also installs TWRP. Someone was kind enough to share a functional backup at that point which I restored to mine. Pretty sad that Sharp and Sprint released a phone that you can't factory reset. It's not my backup to share but if you do a search you should be able to find someone to share theirs with you.
binthe920 said:
The only solution I could get to work is to root using the new aio app method that also installs TWRP. Someone was kind enough to share a functional backup at that point which I restored to mine. Pretty sad that Sharp and Sprint released a phone that you can't factory reset. It's not my backup to share but if you do a search you should be able to find someone to share theirs with you.
Click to expand...
Click to collapse
Can you tell me exactly which tool you used to root and custom recovery?
Is it this one? http://androidforums.com/threads/tool-aio-root-unroot-and-recovery-installer-gui-edition.705515/
I know you won't share that other person's backup, but can you send me your own?

Categories

Resources