Hi. From a couple of days to now I am not getting new Email notifications from Gmail app.
If I open it, sometimes it FCs, but other times I can see there are new emails.
I checked logcat and it says:
Code:
I/dalvikvm-heap( 3206): Forcing collection of SoftReferences for 6431540-byte allocation
D/dalvikvm( 3206): GC_FOR_MALLOC freed 17 objects / 968 bytes in 87ms
E/dalvikvm-heap( 3206): Out of memory on a 6431540-byte allocation.
I/dalvikvm( 3206): "SyncAdapterThread-2" prio=5 tid=20 RUNNABLE
I/dalvikvm( 3206): | group="main" sCount=0 dsCount=0 s=N obj=0x43e1eef0 self=0x116d08
I/dalvikvm( 3206): | sysTid=3232 nice=10 sched=0/0 cgrp=bg_non_interactive handle=1175960
I/dalvikvm( 3206): at java.io.ByteArrayOutputStream.expand(ByteArrayOutputStream.java:~93)
I/dalvikvm( 3206): at java.io.ByteArrayOutputStream.write(ByteArrayOutputStream.java:218)
I/dalvikvm( 3206): at com.google.android.gm.provider.Dictionary.append(Dictionary.java:18)
I/dalvikvm( 3206): at com.google.android.gm.provider.MailSync.initDictionary(MailSync.java:2813)
I/dalvikvm( 3206): at com.google.android.gm.provider.MailSync.unzipMessageBatch(MailSync.java:1919)
I/dalvikvm( 3206): at com.google.android.gm.provider.MailSync.handleConversationProto(MailSync.java:1837)
I/dalvikvm( 3206): at com.google.android.gm.provider.MailSync.handleResponseProto(MailSync.java:931)
I/dalvikvm( 3206): at com.google.android.gm.provider.MailSync.handleResponse(MailSync.java:826)
I/dalvikvm( 3206): at com.google.android.gm.provider.MailSync.handleSyncResponse(MailSync.java:806)
I/dalvikvm( 3206): at com.google.android.gm.provider.MailEngine.runSyncLoop(MailEngine.java:1280)
I/dalvikvm( 3206): at com.google.android.gm.provider.MailEngine.sync(MailEngine.java:1194)
I/dalvikvm( 3206): at com.google.android.gm.provider.MailSyncAdapterService$SyncAdapterImpl.onPerformLoggedSync(MailSyncAdapterService.java:61)
I/dalvikvm( 3206): at com.google.android.common.LoggingThreadedSyncAdapter.onPerformSync(LoggingThreadedSyncAdapter.java:27)
I/dalvikvm( 3206): at android.content.AbstractThreadedSyncAdapter$SyncThread.run(AbstractThreadedSyncAdapter.java:163)
I/dalvikvm( 3206):
W/dalvikvm( 3206): threadid=20: thread exiting with uncaught exception (group=0x400207c8)
D/Gmail ( 3206): Starting attachment download: 17, conversationId = 1352568836251179980, messageId=1352581843972953260, partId=0.1, rendition=SIMPLE, saveToSd=false
E/AndroidRuntime( 3206): FATAL EXCEPTION: SyncAdapterThread-2
E/AndroidRuntime( 3206): java.lang.OutOfMemoryError
E/AndroidRuntime( 3206): at java.io.ByteArrayOutputStream.expand(ByteArrayOutputStream.java:93)
E/AndroidRuntime( 3206): at java.io.ByteArrayOutputStream.write(ByteArrayOutputStream.java:218)
E/AndroidRuntime( 3206): at com.google.android.gm.provider.Dictionary.append(Dictionary.java:18)
E/AndroidRuntime( 3206): at com.google.android.gm.provider.MailSync.initDictionary(MailSync.java:2813)
E/AndroidRuntime( 3206): at com.google.android.gm.provider.MailSync.unzipMessageBatch(MailSync.java:1919)
E/AndroidRuntime( 3206): at com.google.android.gm.provider.MailSync.handleConversationProto(MailSync.java:1837)
E/AndroidRuntime( 3206): at com.google.android.gm.provider.MailSync.handleResponseProto(MailSync.java:931)
E/AndroidRuntime( 3206): at com.google.android.gm.provider.MailSync.handleResponse(MailSync.java:826)
E/AndroidRuntime( 3206): at com.google.android.gm.provider.MailSync.handleSyncResponse(MailSync.java:806)
E/AndroidRuntime( 3206): at com.google.android.gm.provider.MailEngine.runSyncLoop(MailEngine.java:1280)
E/AndroidRuntime( 3206): at com.google.android.gm.provider.MailEngine.sync(MailEngine.java:1194)
E/AndroidRuntime( 3206): at com.google.android.gm.provider.MailSyncAdapterService$SyncAdapterImpl.onPerformLoggedSync(MailSyncAdapterService.java:61)
E/AndroidRuntime( 3206): at com.google.android.common.LoggingThreadedSyncAdapter.onPerformSync(LoggingThreadedSyncAdapter.java:27)
E/AndroidRuntime( 3206): at android.content.AbstractThreadedSyncAdapter$SyncThread.run(AbstractThreadedSyncAdapter.java:163)
I/Process ( 3206): Sending signal. PID: 3206 SIG: 9
E/JavaBinder( 107): !!! FAILED BINDER TRANSACTION !!!
I/ActivityManager( 107): Process com.google.android.gm (pid 3206) has died.
W/ActivityManager( 107): Scheduling restart of crashed service com.google.android.gm/.downloadprovider.DownloadService in 5000ms
W/ActivityManager( 107): Scheduling restart of crashed service com.google.android.gm/.provider.MailSyncAdapterService in 14999ms
D/SyncManager( 107): failed sync operation authority: gmail-ls account: Account {[email protected], type=com.google} extras: [feed=https://mail.google.com/mail/g/?client=1289907852874 ] syncSource: 0 when: 12774389 expedited: false, SyncResult: stats [ numIoExceptions: 1]
Could you give a hint about what is happening??
Thanks!!
Could somebody Fix or explain whats going on in this logcat. E/WindowManager( 8035): Activity com.google.android.apps.mymaps.MyMapsMain has leaked window [email protected] that was originally added here
E/WindowManager( 8035): android.view.WindowLeaked: Activity com.google.android.apps.mymaps.MyMapsMain has leaked window [email protected] that was originally added here
E/WindowManager( 8035): at android.view.ViewRoot.(ViewRoot.java:247)
E/WindowManager( 8035): at android.view.WindowManagerImpl.addView(WindowManagerImpl.java:148)
E/WindowManager( 8035): at android.view.WindowManagerImpl.addView(WindowManagerImpl.java:91)
E/WindowManager( 8035): at android.view.Window$LocalWindowManager.addView(Window.java:424)
E/WindowManager( 8035): at android.widget.PopupWindow.invokePopup(PopupWindow.java:828)
E/WindowManager( 8035): at android.widget.PopupWindow.showAtLocation(PopupWindow.java:688)
E/WindowManager( 8035): at com.google.android.apps.mymaps.MyMapsMain$6.run(MyMapsMain.java:368)
E/WindowManager( 8035): at android.os.Handler.handleCallback(Handler.java:587)
E/WindowManager( 8035): at android.os.Handler.dispatchMessage(Handler.java:92)
E/WindowManager( 8035): at android.os.Looper.loop(Looper.java:123)
E/WindowManager( 8035): at android.app.ActivityThread.main(ActivityThread.java:4627)
E/WindowManager( 8035): at java.lang.reflect.Method.invokeNative(Native Method)
E/WindowManager( 8035): at java.lang.reflect.Method.invoke(Method.java:521)
E/WindowManager( 8035): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:868)
E/WindowManager( 8035): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:626)
E/WindowManager( 8035): at dalvik.system.NativeStart.main(Native Method)
No one?
Sent from my Nexus One using XDA App
if youre using the mymapseditor thing from google in the market, its been broken since 2.2. momst of the stuff in the that you can do now in googlemaps now anyway along with using mytracks
Im afraid not. I need an app for pinning and saving a specific position with a description from my phone, and have it saved on my maps online at google.com/maps
a description would be nice but i usually just star places then edit the names and description of them on the computer, for me its quicker than adding descriptions and names and everything standing around on my phone. i'd be interested if you find something though.
I have been trying to hack this apk for a while, and it seems like every time I get pass one hurdle, there seems to be another. I have come to the point where I am stuck. The program installs, but when I run it, it force closes immediately. I used logcat to debug it, at it is getting stuck at com.paypal.android.MEP.PayPalActivity in the AndroidManifest file, a file I didn't even edit. I have uploaded my file here..
https://rapidshare.com/files/458402928/signedcom.bionicpanda.aquapets.apk
I feel like this shouldn't be too hard of a fix, I m just not familiar with integrating paypal into apps.
Thanks in advance.
I did a little more work on it, and simply removed that line in the manifest, hoping that maybe, it would disable checking for PayPal. I don't really need PayPal (I don't plan on buying anything through the game), so if PayPal is the issue, I don't really mind if it is disabled. However, this didn't work, either.
Does it have something to do with not adding the libraries to the build path? I figured I didn't need to since it was already built once before. I am using apkmanager to compile and sign, and it's doing that fine, so I don't think that's the issue.
So I tried debugging it using the emulator, and I get the following error when running the app:
Code:
I/ActivityManager( 66): Starting activity: Intent { act=android.intent.action.
MAIN cat=[android.intent.category.LAUNCHER] flg=0x10200000 cmp=com.bionicpanda.a
quapets/.activity.BPLauncher }
I/ActivityManager( 66): Start proc com.bionicpanda.aquapets for activity com.b
ionicpanda.aquapets/.activity.BPLauncher: pid=396 uid=10036 gids={3003, 1015}
D/dalvikvm( 396): GC_FOR_MALLOC freed 8425 objects / 272904 bytes in 111ms
W/dalvikvm( 396): threadid=7: thread exiting with uncaught exception (group=0x4
001d800)
E/AndroidRuntime( 396): FATAL EXCEPTION: Thread-8
E/AndroidRuntime( 396): java.lang.NullPointerException
E/AndroidRuntime( 396): at java.lang.System.arraycopy(Native Method)
E/AndroidRuntime( 396): at com.paypal.android.b.b.a(Unknown Source)
E/AndroidRuntime( 396): at com.paypal.android.b.g.c(Unknown Source)
E/AndroidRuntime( 396): at com.paypal.android.MEP.PayPal.setLanguage(Unk
nown Source)
E/AndroidRuntime( 396): at com.paypal.android.MEP.PayPal.initWithAppID(U
nknown Source)
E/AndroidRuntime( 396): at com.bionicpanda.aquapets.utilities.BPApplicat
ion$1.run(BPApplication.java:177)
W/ActivityManager( 66): Activity idle timeout for HistoryRecord{44ed0c08 com.b
ionicpanda.aquapets/.activity.BPLauncher}
W/ActivityManager( 66): Force finishing activity com.bionicpanda.aquapets/.a
ctivity.BPLauncher
D/dalvikvm( 396): GC_FOR_MALLOC freed 3962 objects / 192456 bytes in 137ms
W/ActivityManager( 66): Activity pause timeout for HistoryRecord{44ed0c08 com.
bionicpanda.aquapets/.activity.BPLauncher}
I/ARMAssembler( 66): generated scanline__00000077:03515104_00000000_00000000 [
33 ipp] (47 ins) at [0x35c3b0:0x35c46c] in 7980996 ns
E/MP3Extractor( 34): Unable to resync. Signalling end of stream.
E/MP3Extractor( 34): Unable to resync. Signalling end of stream.
E/MP3Extractor( 34): Unable to resync. Signalling end of stream.
E/MP3Extractor( 34): Unable to resync. Signalling end of stream.
E/MP3Extractor( 34): Unable to resync. Signalling end of stream.
W/InputManagerService( 66): Window already focused, ignoring focus gain of: co
[email protected]
I/Process ( 396): Sending signal. PID: 396 SIG: 9
I/ActivityManager( 66): Process com.bionicpanda.aquapets (pid 396) has died.
W/ActivityManager( 66): Activity destroy timeout for HistoryRecord{44ed0c08 co
m.bionicpanda.aquapets/.activity.BPLauncher}
I/ActivityManager( 66): Starting activity: Intent { act=android.intent.action.
MAIN cat=[android.intent.category.HOME] flg=0x10200000 cmp=com.android.launcher/
com.android.launcher2.Launcher }
D/dalvikvm( 307): GC_EXPLICIT freed 32 objects / 1848 bytes in 144ms
D/SntpClient( 66): request time failed: java.net.SocketException: Address fami
ly not supported by protocol
dberm22 said:
I used logcat to debug it, at it is getting stuck at com.paypal.android.MEP.PayPalActivity in the AndroidManifest file, a file I didn't even edit. I have uploaded my file here..
https://rapidshare.com/files/458402928/signedcom.bionicpanda.aquapets.apk
Thanks in advance.
Click to expand...
Click to collapse
Actually, come to think of it, I did delete a line in that file that says xlargeScreens = "false", which gave me an error when compiling. Once I deleted it, it compiled just fine. I dont think that would cause my errors though (especially since I'm using a droid X).
Can someone PLEEEEEASE respond?
Instead of decompiling it, editing, and recompiling, i took my compiled xmls and put it into the original file. Then, I extracted and resigned. It starts up now (sometimes), but I get an error saying "this video cannot play", and then it force closes. Heres my logcat:
Code:
I/ActivityManager( 66): Starting activity: Intent { act=android.intent.action.
MAIN cat=[android.intent.category.LAUNCHER] flg=0x10200000 cmp=com.bionicpanda.a
quapets/.activity.BPLauncher }
I/ActivityManager( 66): Start proc com.bionicpanda.aquapets for activity com.b
ionicpanda.aquapets/.activity.BPLauncher: pid=608 uid=10036 gids={3003, 1015}
D/dalvikvm( 608): GC_FOR_MALLOC freed 8406 objects / 272152 bytes in 115ms
W/ActivityManager( 66): Launch timeout has expired, giving up wake lock!
D/dalvikvm( 608): GC_FOR_MALLOC freed 8090 objects / 258424 bytes in 169ms
W/ActivityManager( 66): Activity idle timeout for HistoryRecord{44ecf198 com.b
ionicpanda.aquapets/.activity.BPLauncher}
D/dalvikvm( 608): GC_FOR_MALLOC freed 4009 objects / 159312 bytes in 178ms
D/dalvikvm( 608): GC_FOR_MALLOC freed 2907 objects / 282080 bytes in 98ms
D/dalvikvm( 608): GC_FOR_MALLOC freed 89 objects / 54408 bytes in 178ms
D/dalvikvm( 608): GC_FOR_MALLOC freed 33 objects / 99736 bytes in 157ms
I/dalvikvm-heap( 608): Grow heap (frag case) to 4.000MB for 146585-byte allocat
ion
D/dalvikvm( 608): GC_FOR_MALLOC freed 0 objects / 0 bytes in 186ms
D/dalvikvm( 608): GC_FOR_MALLOC freed 59 objects / 288160 bytes in 78ms
D/dalvikvm( 608): GC_FOR_MALLOC freed 22 objects / 97936 bytes in 184ms
I/dalvikvm-heap( 608): Grow heap (frag case) to 4.159MB for 146524-byte allocat
ion
D/dalvikvm( 608): GC_FOR_MALLOC freed 8 objects / 680 bytes in 169ms
D/dalvikvm( 608): GC_FOR_MALLOC freed 11 objects / 261512 bytes in 181ms
D/dalvikvm( 608): GC_FOR_MALLOC freed 7 objects / 90336 bytes in 179ms
I/dalvikvm-heap( 608): Grow heap (frag case) to 4.297MB for 146524-byte allocat
ion
D/dalvikvm( 608): GC_FOR_MALLOC freed 0 objects / 0 bytes in 171ms
I/FETCH FAILED( 608): FAILURE: java.net.SocketTimeoutException: SSL handshake t
imed out [Ljava.lang.StackTraceElement;@4504fdf8 null
D/FlurryAgent( 608): Starting new session
D/FlurryAgent( 608): Got locale: en_US
W/Settings( 608): Setting android_id has moved from android.provider.Settings.S
ystem to android.provider.Settings.Secure, returning read-only value.
D/FlurryAgent( 608): Sending report to: http://data.flurry.com/aap.do
D/dalvikvm( 608): GC_FOR_MALLOC freed 4196 objects / 377848 bytes in 221ms
D/FlurryAgent( 608): Report successful
D/FlurryAgent( 608): Report response: [email protected]
513bbc0
D/FlurryAgent( 608): Done sending agent report
W/dalvikvm( 608): threadid=8: thread exiting with uncaught exception (group=0x4
001d800)
D/FlurryAgent( 608): Ending session
D/dalvikvm( 171): GC_EXPLICIT freed 2021 objects / 115976 bytes in 512ms
D/dalvikvm( 608): GC_FOR_MALLOC freed 3392 objects / 137072 bytes in 423ms
D/MediaPlayer( 608): Couldn't open file on client side, trying server side
I/StagefrightPlayer( 34): setDataSource('android.resource://com.bionicpanda.aq
uapets/2131099674')
E/MediaPlayer( 608): error (1, -2147483648)
I/ActivityManager( 66): Displayed activity com.bionicpanda.aquapets/.activity.
BPLauncher: 17863 ms (total 17863 ms)
E/MediaPlayer( 608): Error (1,-2147483648)
D/VideoView( 608): Error: 1,-2147483648
I/ActivityManager( 66): Process com.example.android.apis (pid 519) has died.
E/AndroidRuntime( 608): FATAL EXCEPTION: AsyncTask #1
E/AndroidRuntime( 608): java.lang.RuntimeException: An error occured while exec
uting doInBackground()
E/AndroidRuntime( 608): at android.os.AsyncTask$3.done(AsyncTask.java:20
0)
E/AndroidRuntime( 608): at java.util.concurrent.FutureTask$Sync.innerSet
Exception(FutureTask.java:273)
E/AndroidRuntime( 608): at java.util.concurrent.FutureTask.setException(
FutureTask.java:124)
E/AndroidRuntime( 608): at java.util.concurrent.FutureTask$Sync.innerRun
(FutureTask.java:307)
E/AndroidRuntime( 608): at java.util.concurrent.FutureTask.run(FutureTas
k.java:137)
E/AndroidRuntime( 608): at java.util.concurrent.ThreadPoolExecutor.runWo
rker(ThreadPoolExecutor.java:1068)
E/AndroidRuntime( 608): at java.util.concurrent.ThreadPoolExecutor$Worke
r.run(ThreadPoolExecutor.java:561)
E/AndroidRuntime( 608): at java.lang.Thread.run(Thread.java:1096)
E/AndroidRuntime( 608): Caused by: android.content.res.Resources$NotFoundExcept
ion: File res/raw/event_achievement_reached.mp3 from drawable resource ID #0x7f0
60003
E/AndroidRuntime( 608): at android.content.res.Resources.openRawResource
Fd(Resources.java:860)
E/AndroidRuntime( 608): at android.media.SoundPool.load(SoundPool.java:2
04)
E/AndroidRuntime( 608): at com.bionicpanda.aquapets.utilities.SoundManag
er.addSound(SoundManager.java:62)
E/AndroidRuntime( 608): at com.bionicpanda.aquapets.utilities.BPApplicat
ion$LoadAudioResources.doInBackground(BPApplication.java:212)
E/AndroidRuntime( 608): at android.os.AsyncTask$2.call(AsyncTask.java:18
5)
E/AndroidRuntime( 608): at java.util.concurrent.FutureTask$Sync.innerRun
(FutureTask.java:305)
E/AndroidRuntime( 608): ... 4 more
E/AndroidRuntime( 608): Caused by: java.io.FileNotFoundException: This file can
not be opened as a file descriptor; it is probably compressed
E/AndroidRuntime( 608): at android.content.res.AssetManager.openNonAsset
FdNative(Native Method)
E/AndroidRuntime( 608): at android.content.res.AssetManager.openNonAsset
Fd(AssetManager.java:426)
E/AndroidRuntime( 608): at android.content.res.Resources.openRawResource
Fd(Resources.java:857)
E/AndroidRuntime( 608): ... 9 more
D/dalvikvm( 608): GC_FOR_MALLOC freed 5188 objects / 745088 bytes in 303ms
W/ActivityManager( 66): Force finishing activity com.bionicpanda.aquapets/.a
ctivity.BPLauncher
D/dalvikvm( 608): GC_EXPLICIT freed 4060 objects / 176728 bytes in 126ms
E/WindowManager( 608): Activity com.bionicpanda.aquapets.activity.BPLauncher ha
s leaked window [email protected]
that was originally added here
E/WindowManager( 608): android.view.WindowLeaked: Activity com.bionicpanda.aqua
pets.activity.BPLauncher has leaked window com.android.internal.policy.impl.Phon
[email protected] that was originally added here
E/WindowManager( 608): at android.view.ViewRoot.<init>(ViewRoot.java:24
7)
E/WindowManager( 608): at android.view.WindowManagerImpl.addView(Window
ManagerImpl.java:148)
E/WindowManager( 608): at android.view.WindowManagerImpl.addView(Window
ManagerImpl.java:91)
E/WindowManager( 608): at android.view.Window$LocalWindowManager.addVie
w(Window.java:424)
E/WindowManager( 608): at android.app.Dialog.show(Dialog.java:241)
E/WindowManager( 608): at android.app.AlertDialog$Builder.show(AlertDia
log.java:802)
E/WindowManager( 608): at android.widget.VideoView$4.onError(VideoView.
java:387)
E/WindowManager( 608): at android.media.MediaPlayer$EventHandler.handle
Message(MediaPlayer.java:1264)
E/WindowManager( 608): at android.os.Handler.dispatchMessage(Handler.ja
va:99)
E/WindowManager( 608): at android.os.Looper.loop(Looper.java:123)
E/WindowManager( 608): at android.app.ActivityThread.main(ActivityThrea
d.java:4627)
E/WindowManager( 608): at java.lang.reflect.Method.invokeNative(Native
Method)
E/WindowManager( 608): at java.lang.reflect.Method.invoke(Method.java:5
21)
E/WindowManager( 608): at com.android.internal.os.ZygoteInit$MethodAndA
rgsCaller.run(ZygoteInit.java:868)
E/WindowManager( 608): at com.android.internal.os.ZygoteInit.main(Zygot
eInit.java:626)
E/WindowManager( 608): at dalvik.system.NativeStart.main(Native Method)
W/InputManagerService( 66): Window already focused, ignoring focus gain of: co
[email protected]
I/Process ( 608): Sending signal. PID: 608 SIG: 9
I/ActivityManager( 66): Process com.android.packageinstaller (pid 549) has die
d.
I/ActivityManager( 66): Process com.bionicpanda.aquapets (pid 608) has died.
I have been working some with the apk you uploaded and get the same errors as you showed on both my phone(CM7) and a stock 2.2 emulator. Decompiling then building it again without any changes didn't help any either.
I see you are trying a different approach but still having some issues. Would you mind uploading the original apk along with the custom versions of the files you wish to use? Then I could try playing around with adding them also to see if we can figure anything out. Would also help if you let me know the path to the corresponding original files within the apk.
Thanks!
here is the link for the original file:
https://rapidshare.com/files/458742720/com.bionicpanda.aquapetsOrig.apk
I attached the edited xml's.
I'm really stuck...don't know why its FCing. So frustrating.
I got it! It was all about compression ratio...
I turned it to 0, and now it works! Woohoo!
Heres the link:
http://www.multiupload.com/4ECH25VQDO
thanks for your help anyway!
dberm22 said:
I got it! It was all about compression ratio...
I turned it to 0, and now it works! Woohoo!
Heres the link:
https://rapidshare.com/files/458758583/signedcom.bionicpanda.aquapetsHACKED.apk
thanks for your help anyway!
Click to expand...
Click to collapse
I'm glad you got it working. I saw that the most recent error log you posted said something about compression but I hadn't gotten around to even downloading the stuff yet to try anything. Feels good to have it up and running I'm sure...persistance pays off .
Due to some new requests, I have re-uploaded the file.
http://www.multiupload.com/4GP7YH8V47
dberm22 said:
Due to some new requests, I have re-uploaded the file.
http://www.multiupload.com/4GP7YH8V47
Click to expand...
Click to collapse
Hi,
Any chance this file can be uploaded for Canada? Site say geographic area is out of bounds.
Cheers,
JK
I'm a completely new android developer, just trying to get myself familiar with the basic concepts while creating something with a little practical use. thanks in advance for your time.
I'm trying to take a video longer than the default 30-minute limit. basically I'm trying to write an app that loops over taking a video. concept is simple.
I copy-pasted some code from the web, now basically has a SurfaceView implementation, like
public void surfaceCreated(SurfaceHolder holder) {
// The Surface has been created, acquire the camera and tell it where
// to draw.
camera = Camera.open();
recorder = new MediaRecorder();
try {
camera.setPreviewDisplay(holder);
Log.w("after recorder", "");
recorder.setCamera(camera);
recorder.setVideoSource(MediaRecorder.VideoSource.DEFAULT);
recorder.setOutputFormat(MediaRecorder.OutputFormat.MPEG_4);
recorder.setVideoEncoder(MediaRecorder.VideoEncoder.MPEG_4_SP);
recorder.setOutputFile(Environment.getExternalStorageDirectory().getAbsolutePath() + "/yyvideo/aaa.3gp");
recorder.setPreviewDisplay(mHolder.getSurface());
recorder.prepare();
Log.w("after prepare", "okok");
and then I have an activity:
public class Yyandroid2Activity extends Activity {
// private static final String TAG = "MyActivity";
private static final String TAG = "CameraDemo";
// Camera camera;
Preview preview;
Button buttonClick;
/** Called when the activity is first created. */
@Override
public void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
setContentView(R.layout.main);
preview = new Preview(this);
((FrameLayout) findViewById(R.id.preview)).addView(preview);
buttonClick = (Button) findViewById(R.id.buttonClick);
buttonClick.setOnClickListener( new OnClickListener() {
private boolean state_on = false;
public void onClick(View v) {
if ( ! state_on ) {
preview.camera.unlock();
preview.recorder.start();
but it gave the following exceptions
10-23 16:38:54.893: W/System.err(666): at android.app.ActivityThread.main(ActivityThread.java:3683)
10-23 16:38:54.903: W/System.err(666): at java.lang.reflect.Method.invokeNative(Native Method)
10-23 16:38:54.903: W/System.err(666): at java.lang.reflect.Method.invoke(Method.java:507)
10-23 16:38:54.903: W/System.err(666): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:839)
10-23 16:38:54.903: W/System.err(666): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:597)
10-23 16:38:54.903: W/System.err(666): at dalvik.system.NativeStart.main(Native Method)
10-23 16:39:01.424: E/MediaRecorder(666): start called in an invalid state: 4
10-23 16:39:01.424: D/AndroidRuntime(666): Shutting down VM
10-23 16:39:01.424: W/dalvikvm(666): threadid=1: thread exiting with uncaught exception (group=0x40015560)
10-23 16:39:01.474: E/AndroidRuntime(666): FATAL EXCEPTION: main
10-23 16:39:01.474: E/AndroidRuntime(666): java.lang.IllegalStateException
10-23 16:39:01.474: E/AndroidRuntime(666): at android.media.MediaRecorder.start(Native Method)
10-23 16:39:01.474: E/AndroidRuntime(666): at yy.android.Yyandroid2Activity$4.onClick(Yyandroid2Activity.java:147)
10-23 16:39:01.474: E/AndroidRuntime(666): at android.view.View.performClick(View.java:2485)
10-23 16:39:01.474: E/AndroidRuntime(666): at android.view.View$PerformClick.run(View.java:9080)
10-23 16:39:01.474: E/AndroidRuntime(666): at android.os.Handler.handleCallback(Handler.java:587)
10-23 16:39:01.474: E/AndroidRuntime(666): at android.os.Handler.dispatchMessage(Handler.java:92)
10-23 16:39:01.474: E/AndroidRuntime(666): at android.os.Looper.loop(Looper.java:123)
10-23 16:39:01.474: E/AndroidRuntime(666): at android.app.ActivityThread.main(ActivityThread.java:3683)
10-23 16:39:01.474: E/AndroidRuntime(666): at java.lang.reflect.Method.invokeNative(Native Method)
10-23 16:39:01.474: E/AndroidRuntime(666): at java.lang.reflect.Method.invoke(Method.java:507)
10-23 16:39:01.474: E/AndroidRuntime(666): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:839)
10-23 16:39:01.474: E/AndroidRuntime(666): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:597)
10-23 16:39:01.474: E/AndroidRuntime(666): at dalvik.system.NativeStart.main(Native Method)
10-23 16:39:03.514: I/Process(666): Sending signal. PID: 666 SIG: 9
any idea where the error is?
Thanks a lot
Yang
Hi folks.
Last night my phone simply restarted and couldn't start again. It is rooted, I have adb access, I can remount /system rw, but can't find the reason of the bootloop. Here's a logcat output:
Code:
% adb shell
[email protected]:/ $ su
su
[email protected]:/ # logcat *:E
logcat *:E
--------- beginning of /dev/log/system
E/LocationManagerService( 5244): no geocoder provider found
E/VoldCmdListener( 126): CommandListener::VolumeCmd::runCommand --> shared
E/MobileDataStateTracker( 5244): default: Ignoring feature request because could not acquire PhoneService
E/MobileDataStateTracker( 5244): mms: Ignoring feature request because could not acquire PhoneService
E/MobileDataStateTracker( 5244): supl: Ignoring feature request because could not acquire PhoneService
E/MobileDataStateTracker( 5244): dun: Ignoring feature request because could not acquire PhoneService
E/MobileDataStateTracker( 5244): hipri: Ignoring feature request because could not acquire PhoneService
E/MobileDataStateTracker( 5244): fota: Ignoring feature request because could not acquire PhoneService
E/MobileDataStateTracker( 5244): ims: Ignoring feature request because could not acquire PhoneService
E/MobileDataStateTracker( 5244): cbs: Ignoring feature request because could not acquire PhoneService
E/MobileDataStateTracker( 5244): dm: Ignoring feature request because could not acquire PhoneService
E/MobileDataStateTracker( 5244): wap: Ignoring feature request because could not acquire PhoneService
E/MobileDataStateTracker( 5244): net: Ignoring feature request because could not acquire PhoneService
E/MobileDataStateTracker( 5244): cmmail: Ignoring feature request because could not acquire PhoneService
E/MobileDataStateTracker( 5244): rcse: Ignoring feature request because could not acquire PhoneService
E/MobileDataStateTracker( 5244): default: Ignoring feature request because could not acquire PhoneService
E/MobileDataStateTracker( 5244): mms: Ignoring feature request because could not acquire PhoneService
E/MobileDataStateTracker( 5244): supl: Ignoring feature request because could not acquire PhoneService
E/MobileDataStateTracker( 5244): dun: Ignoring feature request because could not acquire PhoneService
E/MobileDataStateTracker( 5244): hipri: Ignoring feature request because could not acquire PhoneService
E/MobileDataStateTracker( 5244): fota: Ignoring feature request because could not acquire PhoneService
E/MobileDataStateTracker( 5244): ims: Ignoring feature request because could not acquire PhoneService
E/MobileDataStateTracker( 5244): cbs: Ignoring feature request because could not acquire PhoneService
E/MobileDataStateTracker( 5244): dm: Ignoring feature request because could not acquire PhoneService
E/MobileDataStateTracker( 5244): wap: Ignoring feature request because could not acquire PhoneService
E/MobileDataStateTracker( 5244): net: Ignoring feature request because could not acquire PhoneService
E/MobileDataStateTracker( 5244): cmmail: Ignoring feature request because could not acquire PhoneService
E/MobileDataStateTracker( 5244): rcse: Ignoring feature request because could not acquire PhoneService
E/AndroidRuntime( 5244): *** FATAL EXCEPTION IN SYSTEM PROCESS: UI
E/AndroidRuntime( 5244): java.lang.RuntimeException: native typeface cannot be made
E/AndroidRuntime( 5244): at android.graphics.Typeface.<init>(Typeface.java:175)
E/AndroidRuntime( 5244): at android.graphics.Typeface.createFromFile(Typeface.java:169)
E/AndroidRuntime( 5244): at com.android.internal.policy.impl.keyguard.ClockView.onFinishInflate(ClockView.java:157)
E/AndroidRuntime( 5244): at android.view.LayoutInflater.rInflate(LayoutInflater.java:754)
E/AndroidRuntime( 5244): at android.view.LayoutInflater.rInflate(LayoutInflater.java:749)
E/AndroidRuntime( 5244): at android.view.LayoutInflater.rInflate(LayoutInflater.java:749)
E/AndroidRuntime( 5244): at android.view.LayoutInflater.rInflate(LayoutInflater.java:749)
E/AndroidRuntime( 5244): at android.view.LayoutInflater.inflate(LayoutInflater.java:489)
E/AndroidRuntime( 5244): at android.view.LayoutInflater.inflate(LayoutInflater.java:396)
E/AndroidRuntime( 5244): at com.android.internal.policy.impl.keyguard.KeyguardHostView.addDefaultStatusWidget(KeyguardHostView.java:1469)
E/AndroidRuntime( 5244): at com.android.internal.policy.impl.keyguard.KeyguardHostView.checkAppWidgetConsistency(KeyguardHostView.java:1569)
E/AndroidRuntime( 5244): at com.android.internal.policy.impl.keyguard.KeyguardHostView$1.onBootCompleted(KeyguardHostView.java:212)
E/AndroidRuntime( 5244): at com.android.internal.policy.impl.keyguard.KeyguardUpdateMonitor.handleBootCompleted(KeyguardUpdateMonitor.java:800)
E/AndroidRuntime( 5244): at com.android.internal.policy.impl.keyguard.KeyguardUpdateMonitor$1.handleMessage(KeyguardUpdateMonitor.java:213)
E/AndroidRuntime( 5244): at android.os.Handler.dispatchMessage(Handler.java:107)
E/AndroidRuntime( 5244): at android.os.Looper.loop(Looper.java:194)
E/AndroidRuntime( 5244): at android.os.HandlerThread.run(HandlerThread.java:60)
E/AndroidRuntime( 5336): FATAL EXCEPTION: main
E/AndroidRuntime( 5336): java.lang.RuntimeException: Package manager has died
E/AndroidRuntime( 5336): at android.app.ApplicationPackageManager.getResourcesForApplicationAsUser(ApplicationPackageManager.java:778)
E/AndroidRuntime( 5336): at com.android.systemui.statusbar.StatusBarIconView.getIcon(StatusBarIconView.java:181)
E/AndroidRuntime( 5336): at com.android.systemui.statusbar.phone.Ticker.addEntry(Ticker.java:206)
E/AndroidRuntime( 5336): at com.android.systemui.statusbar.phone.PhoneStatusBar.tick(PhoneStatusBar.java:2257)
E/AndroidRuntime( 5336): at com.android.systemui.statusbar.phone.PhoneStatusBar.addNotification(PhoneStatusBar.java:1101)
E/AndroidRuntime( 5336): at com.android.systemui.statusbar.CommandQueue$H.handleMessage(CommandQueue.java:304)
E/AndroidRuntime( 5336): at android.os.Handler.dispatchMessage(Handler.java:107)
E/AndroidRuntime( 5336): at android.os.Looper.loop(Looper.java:194)
E/AndroidRuntime( 5336): at android.app.ActivityThread.main(ActivityThread.java:5371)
E/AndroidRuntime( 5336): at java.lang.reflect.Method.invokeNative(Native Method)
E/AndroidRuntime( 5336): at java.lang.reflect.Method.invoke(Method.java:525)
E/AndroidRuntime( 5336): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:833)
E/AndroidRuntime( 5336): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:600)
E/AndroidRuntime( 5336): at dalvik.system.NativeStart.main(Native Method)
E/AndroidRuntime( 5336): Caused by: android.os.DeadObjectException
E/AndroidRuntime( 5336): at android.os.BinderProxy.transact(Native Method)
E/AndroidRuntime( 5336): at android.content.pm.IPackageManager$Stub$Proxy.getApplicationInfo(IPackageManager.java:1565)
E/AndroidRuntime( 5336): at android.app.ApplicationPackageManager.getResourcesForApplicationAsUser(ApplicationPackageManager.java:773)
E/AndroidRuntime( 5336): ... 13 more
E/AndroidRuntime( 5336): Error reporting crash
E/AndroidRuntime( 5336): android.os.DeadObjectException
E/AndroidRuntime( 5336): at android.os.BinderProxy.transact(Native Method)
E/AndroidRuntime( 5336): at android.app.ActivityManagerProxy.handleApplicationCrash(ActivityManagerNative.java:3396)
E/AndroidRuntime( 5336): at com.android.internal.os.RuntimeInit$UncaughtHandler.uncaughtException(RuntimeInit.java:77)
E/AndroidRuntime( 5336): at java.lang.ThreadGroup.uncaughtException(ThreadGroup.java:693)
E/AndroidRuntime( 5336): at java.lang.ThreadGroup.uncaughtException(ThreadGroup.java:690)
E/AndroidRuntime( 5336): at dalvik.system.NativeStart.main(Native Method)
E/ActivityThread( 5386): Failed to find provider info for settings
E/ActivityThread( 5386): Failed to find provider info for settings
E/AndroidRuntime( 5386): FATAL EXCEPTION: main
E/AndroidRuntime( 5386): java.lang.RuntimeException: Unable to start receiver com.android.phone.OtaStartupReceiver: java.lang.RuntimeException: Unable to create application com.android.phone.PhoneApp: java.lang.NullPointerException
E/AndroidRuntime( 5386): at android.app.ActivityThread.handleReceiver(ActivityThread.java:2557)
E/AndroidRuntime( 5386): at android.app.ActivityThread.access$1500(ActivityThread.java:162)
E/AndroidRuntime( 5386): at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1440)
E/AndroidRuntime( 5386): at android.os.Handler.dispatchMessage(Handler.java:107)
E/AndroidRuntime( 5386): at android.os.Looper.loop(Looper.java:194)
E/AndroidRuntime( 5386): at android.app.ActivityThread.main(ActivityThread.java:5371)
E/AndroidRuntime( 5386): at java.lang.reflect.Method.invokeNative(Native Method)
E/AndroidRuntime( 5386): at java.lang.reflect.Method.invoke(Method.java:525)
E/AndroidRuntime( 5386): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:833)
E/AndroidRuntime( 5386): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:600)
E/AndroidRuntime( 5386): at dalvik.system.NativeStart.main(Native Method)
E/AndroidRuntime( 5386): Caused by: java.lang.RuntimeException: Unable to create application com.android.phone.PhoneApp: java.lang.NullPointerException
E/AndroidRuntime( 5386): at android.app.LoadedApk.makeApplication(LoadedApk.java:517)
E/AndroidRuntime( 5386): at android.app.ActivityThread.handleReceiver(ActivityThread.java:2528)
E/AndroidRuntime( 5386): ... 10 more
E/AndroidRuntime( 5386): Caused by: java.lang.NullPointerException
E/AndroidRuntime( 5386): at android.provider.Settings$NameValueCache.getStringForUser(Settings.java:832)
E/AndroidRuntime( 5386): at android.provider.Settings$System.getStringForUser(Settings.java:1029)
E/AndroidRuntime( 5386): at android.provider.Settings$System.getIntForUser(Settings.java:1099)
E/AndroidRuntime( 5386): at android.provider.Settings$System.getInt(Settings.java:1094)
E/AndroidRuntime( 5386): at com.android.internal.telephony.DataConnectionTracker.getDataConnectionFromSetting(DataConnectionTracker.java:1948)
E/AndroidRuntime( 5386): at com.android.internal.telephony.gsm.GsmDataConnectionTracker.trySetupData(GsmDataConnectionTracker.java:945)
E/AndroidRuntime( 5386): at com.android.internal.telephony.gsm.GsmDataConnectionTracker.applyNewState(GsmDataConnectionTracker.java:2228)
E/AndroidRuntime( 5386): at com.android.internal.telephony.gsm.GsmDataConnectionTracker.onSetDependencyMet(GsmDataConnectionTracker.java:2180)
E/AndroidRuntime( 5386): at com.android.internal.telephony.gsm.GsmDataConnectionTracker.initApnContextsAndDataConnection(GsmDataConnectionTracker.java:505)
E/AndroidRuntime( 5386): at com.android.internal.telephony.gsm.GsmDataConnectionTracker.<init>(GsmDataConnectionTracker.java:338)
E/AndroidRuntime( 5386): at com.android.internal.telephony.gsm.GSMPhone.<init>(GSMPhone.java:291)
E/AndroidRuntime( 5386): at com.android.internal.telephony.gsm.GSMPhone.<init>(GSMPhone.java:262)
E/AndroidRuntime( 5386): at com.android.internal.telephony.gemini.MTKPhoneFactory.makeDefaultPhone(SourceFile:248)
E/AndroidRuntime( 5386): at com.android.internal.telephony.PhoneFactory.makeDefaultPhones(PhoneFactory.java:121)
E/AndroidRuntime( 5386): at com.android.phone.PhoneGlobals.onCreate(PhoneGlobals.java:620)
E/AndroidRuntime( 5386): at com.android.phone.PhoneApp.onCreate(PhoneApp.java:43)
E/AndroidRuntime( 5386): at android.app.Instrumentation.callApplicationOnCreate(Instrumentation.java:1000)
E/AndroidRuntime( 5386): at android.app.LoadedApk.makeApplication(LoadedApk.java:514)
E/AndroidRuntime( 5386): ... 11 more
E/AndroidRuntime( 5386): Error reporting crash
E/AndroidRuntime( 5386): android.os.DeadObjectException
E/AndroidRuntime( 5386): at android.os.BinderProxy.transact(Native Method)
E/AndroidRuntime( 5386): at android.app.ActivityManagerProxy.handleApplicationCrash(ActivityManagerNative.java:3396)
E/AndroidRuntime( 5386): at com.android.internal.os.RuntimeInit$UncaughtHandler.uncaughtException(RuntimeInit.java:77)
E/AndroidRuntime( 5386): at java.lang.ThreadGroup.uncaughtException(ThreadGroup.java:693)
E/AndroidRuntime( 5386): at java.lang.ThreadGroup.uncaughtException(ThreadGroup.java:690)
E/AndroidRuntime( 5386): at dalvik.system.NativeStart.main(Native Method)
E/AndroidRuntime( 5519): FATAL EXCEPTION: Download Service
E/AndroidRuntime( 5519): java.lang.NullPointerException: missing IConnectivityManager
E/AndroidRuntime( 5519): at com.android.internal.util.Preconditions.checkNotNull(Preconditions.java:52)
E/AndroidRuntime( 5519): at android.net.ConnectivityManager.<init>(ConnectivityManager.java:798)
E/AndroidRuntime( 5519): at android.app.ContextImpl$11.createStaticService(ContextImpl.java:365)
E/AndroidRuntime( 5519): at android.app.ContextImpl$StaticServiceFetcher.getService(ContextImpl.java:275)
E/AndroidRuntime( 5519): at android.app.ContextImpl.getSystemService(ContextImpl.java:1562)
E/AndroidRuntime( 5519): at android.content.ContextWrapper.getSystemService(ContextWrapper.java:495)
E/AndroidRuntime( 5519): at com.android.providers.downloads.RealSystemFacade.getActiveNetworkInfo(RealSystemFacade.java:24)
E/AndroidRuntime( 5519): at com.android.providers.downloads.DownloadInfo.checkCanUseNetwork(DownloadInfo.java:430)
E/AndroidRuntime( 5519): at com.android.providers.downloads.DownloadInfo.isReadyToStart(DownloadInfo.java:387)
E/AndroidRuntime( 5519): at com.android.providers.downloads.DownloadInfo.startIfReady(DownloadInfo.java:544)
E/AndroidRuntime( 5519): at com.android.providers.downloads.DownloadService.insertDownloadLocked(DownloadService.java:465)
E/AndroidRuntime( 5519): at com.android.providers.downloads.DownloadService.access$600(DownloadService.java:65)
E/AndroidRuntime( 5519): at com.android.providers.downloads.DownloadService$UpdateThread.run(DownloadService.java:334)
E/AndroidRuntime( 5519): Error reporting crash
E/AndroidRuntime( 5519): android.os.DeadObjectException
E/AndroidRuntime( 5519): at android.os.BinderProxy.transact(Native Method)
E/AndroidRuntime( 5519): at android.app.ActivityManagerProxy.handleApplicationCrash(ActivityManagerNative.java:3396)
E/AndroidRuntime( 5519): at com.android.internal.os.RuntimeInit$UncaughtHandler.uncaughtException(RuntimeInit.java:77)
E/AndroidRuntime( 5519): at java.lang.ThreadGroup.uncaughtException(ThreadGroup.java:693)
E/AndroidRuntime( 5519): at java.lang.ThreadGroup.uncaughtException(ThreadGroup.java:690)
E/ActivityManager( 5829): Error battery statistics format is not valid
E/MountService( 5829): encryptProgress()
E/VolumeManager( 126): ASEC com.rovio.angrybirds-1 already mounted
E/MobileDataStateTracker( 5829): MobileDataStateReceiver add target tracker [rcse]
E/MobileDataStateTracker( 5829): MobileDataStateReceiver add target tracker [cmmail]
E/MobileDataStateTracker( 5829): MobileDataStateReceiver add target tracker [net]
E/MobileDataStateTracker( 5829): MobileDataStateReceiver add target tracker [wap]
E/MobileDataStateTracker( 5829): MobileDataStateReceiver add target tracker [dm]
E/MobileDataStateTracker( 5829): MobileDataStateReceiver add target tracker [hipri]
E/MobileDataStateTracker( 5829): MobileDataStateReceiver add target tracker [dun]
E/MobileDataStateTracker( 5829): MobileDataStateReceiver add target tracker [cbs]
E/MobileDataStateTracker( 5829): MobileDataStateReceiver add target tracker [ims]
E/MobileDataStateTracker( 5829): MobileDataStateReceiver add target tracker [fota]
E/MobileDataStateTracker( 5829): MobileDataStateReceiver add target tracker [supl]
E/MobileDataStateTracker( 5829): MobileDataStateReceiver add target tracker [mms]
E/MobileDataStateTracker( 5829): MobileDataStateReceiver add target tracker [default]
E/MobileDataStateTracker( 5829): default: Ignoring feature request because could not acquire PhoneService
E/MobileDataStateTracker( 5829): default: Could not enable APN type "default"
E/WifiService( 5829): Invoking mWifiStateMachine.setWifiEnabled
--------- beginning of /dev/log/main
E/ActivityManager( 5829): Attempt to launch receivers of broadcast intent Intent { cmp=com.koushikdutta.superuser/.SuReceiver (has extras) } before boot completion
E/ActivityManager( 5829): Activity Manager Crash
E/ActivityManager( 5829): java.lang.IllegalStateException: Cannot broadcast before boot completed
E/ActivityManager( 5829): at com.android.server.am.ActivityManagerService.verifyBroadcastLocked(ActivityManagerService.java:12903)
E/ActivityManager( 5829): at com.android.server.am.ActivityManagerService.broadcastIntent(ActivityManagerService.java:12921)
E/ActivityManager( 5829): at android.app.ActivityManagerNative.onTransact(ActivityManagerNative.java:348)
E/ActivityManager( 5829): at com.android.server.am.ActivityManagerService.onTransact(ActivityManagerService.java:1887)
E/ActivityManager( 5829): at android.os.Binder.execTransact(Binder.java:351)
E/ActivityManager( 5829): at dalvik.system.NativeStart.run(Native Method)
E/ActivityManager( 5829): Attempt to launch receivers of broadcast intent Intent { cmp=com.koushikdutta.superuser/.SuReceiver (has extras) } before boot completion
E/ActivityManager( 5829): Activity Manager Crash
E/ActivityManager( 5829): java.lang.IllegalStateException: Cannot broadcast before boot completed
E/ActivityManager( 5829): at com.android.server.am.ActivityManagerService.verifyBroadcastLocked(ActivityManagerService.java:12903)
E/ActivityManager( 5829): at com.android.server.am.ActivityManagerService.broadcastIntent(ActivityManagerService.java:12921)
E/ActivityManager( 5829): at android.app.ActivityManagerNative.onTransact(ActivityManagerNative.java:348)
E/ActivityManager( 5829): at com.android.server.am.ActivityManagerService.onTransact(ActivityManagerService.java:1887)
E/ActivityManager( 5829): at android.os.Binder.execTransact(Binder.java:351)
E/ActivityManager( 5829): at dalvik.system.NativeStart.run(Native Method)
I've removed all apps which that I think could be the cause, but still nothing. And I had just noticed this superuser app (com.koushikdutta.superuser) crashes ActivityManager, could that be the cause? I'm afraid to remove it, because I wont have root access anymore (and I need in case I want to backup data from /data partition, in case I need to wipe data or flash stock firmware).
Any advice you can give me?
Edit: SOLVED! Just remove /data/data/com.android.* folders.
More logs:
Code:
pastebin.com/aAq8gLDF
Edit: I cannot see com.koushikdutta.superuser anymore in this log. I've removed its folder from /data/data, so appears this is not the crash reason. And logcat and dmesg commands seem to display logs only from the moment I started them, not from the moment device starts.
Here's a log from device start (only errors):
Code:
pastebin.com/eN2B3BMx
Oh yeah baybe!!! I've removed all "com.android" folders from /data/data and it started! WHOHOOOOOOO!!!!!!
To make final note, the real solution was to reinstall firmware, because even after data wipe out I had bad problems with system (home button didn't work, couldn't receive incoming calls, etc). So anyone is reading this: simply reinstall rom, it will save you alot of time.