How to : Logcat for trouble shooting - Fascinate Android Development

Hey guys,
So I was looking through XDA and did not find a good and informative article about how to do a Logcat.
What it is...
Logcat is like ECG (electrocardiogram) that is used to monitor your heart but its for your phone lol . It is command view that lets see the internal logs of your android system and shows you what apps are doing in the background.
What it do...
Logcat is not something that you would use every day but it is a great tool to trouble shoot your device using your computer. It will let you debug and you also you can find out whats killing your battery!
I know Its something pretty easy process for most of the people. but as a noob it was some thing that I spent couple of hours learning and I thought I should contribute in my own way.
here are the steps you need to follow!
1- Like always enable your Debugging. you can enable that by going to your Settings -> Application -> Development
2- Install the android SDK . you can download it
Android SDK
3- Extract the SDK to any folder, Example : C:\Android
4- Make sure you have the drivers installed- In that way your OS can talk to your phone!
now that everything is installed we can go ahead and perform a command :
1. Open the 'run' dialog by pressing the 'Windows' + 'r' buttons on your keyboard (minimize the browser & other non-windows programs)
2. cmd (this will open a DOS prompt)
3. cd c:\Android\tools (go to the directory where you extracted the SDK)
4. adb shell
5. Now you'll see just a '$'
6. logcat
You can now just press the power button on your phone to see what happens. It displays everything the device is doing.
So the thing is: leave your device connected for a while and see what is actually going on when you're not using it.
An Example
Twidroid auto refreshing my Tweets
HTML:
=> again nothing special
D/dalvikvm( 75): GC freed 40165 objects / 1974768 bytes in 91ms
D/dalvikvm( 1560): GC freed 25 objects / 1800 bytes in 53ms
D/dalvikvm( 1687): GC freed 7551 objects / 330032 bytes in 102ms
=> Twidroid doing it's thing
I/ActivityManager( 75): Start proc com.twidroidpro:remote for service com.twidroid ...
=> back to freeing up the objects
D/dalvikvm( 1287): GC freed 3 objects / 72 bytes in 95ms
D/dalvikvm( 1253): GC freed 281 objects / 12688 bytes in 91ms
If you're seeing apps that are constantly busy when they shouldn't that means they're draining battery because of bugs in the app/ bad coding/ ...
Example of a buggy app:
HTML:
D/dalvikvm( 1287): GC freed 3 objects / 72 bytes in 92ms
D/dalvikvm( 2216): GC freed 6646 objects / 313032 bytes in 104ms
D/NetworkLocationProvider( 75): onCellLocationChanged [***]
D/LocationManager( 2216): removeUpdates: listener = com.levelup.beautifulwidgets [email protected]
D/dalvikvm( 1253): GC freed 281 objects / 12688 bytes in 93ms
D/NetworkLocationProvider( 75): onCellLocationChanged [***]
D/LocationManager( 2216): removeUpdates: listener = com.levelup.beautifulwidgets [email protected]
D/dalvikvm( 75): GC freed 41839 objects / 1963448 bytes in 88ms
D/dalvikvm( 1287): GC freed 3 objects / 72 bytes in 94ms
D/NetworkLocationProvider( 75): onCellLocationChanged [***]
D/LocationManager( 2216): removeUpdates: listener = com.levelup.beautifulwidgets [email protected]
D/dalvikvm( 2216): GC freed 6657 objects / 314648 bytes in 35ms D/NetworkLocationProvider( 75): onCellLocationChanged [***]
D/LocationManager( 2216): removeUpdates: listener = com.levelup.beautifulwidgets [email protected]
D/dalvikvm( 1253): GC freed 279 objects / 12640 bytes in 94ms
D/NetworkLocationProvider( 75): onCellLocationChanged [***]
D/LocationManager( 2216): removeUpdates: listener = com.levelup.beautifulwidgets [email protected]
D/dalvikvm( 1287): GC freed 3 objects / 72 bytes in 60ms
D/dalvikvm( 2216): GC freed 6661 objects / 314192 bytes in 104ms
D/NetworkLocationProvider( 75): onCellLocationChanged [***]
D/LocationManager( 2216): removeUpdates: listener = com.levelup.beautifulwidgets [email protected]
As you can see the app (BeautifulWidgets) was constantly trying to remove the same updates and thus draining my battery for no reason. This was happening every 10seconds (!!).
Uninstalling those crappy apps should help your battery life (and hope a future update of that app fixes it)
The less you see in the logcat the better!
If you want to clear the log and only see what's happening on your phone from now on, go to adb shell (step 4) and then type logcat -c. This clears the log and then type logcat.
All the credit goes to FLT from android Forums
If there is anything wrong please do tell!
I hope this helps!

Nicely done! Logcat is one of the most useful and least used tools out there, and this tutorial should go a long way toward changing that.

Mmm, I used to use logcat as you described, but now I use an app called "aLogcat" found on the marketplace. Think it's the same thing, just an app you can run on your phone instead, so no need for a computer or adb shell to monitor what's going on.

Related

[Q] Samsung Galaxy S2 CM7.1 Wifi Problem (Nightly #116)

Help!, i kept getting this when ever i tried activating wifi via notification toggle / setting, and getting this *"Sorry! Application Settings (in process com.android.setings) is not responding. Force close/wait" message after a while. When i select Force close, the entire page closed and i'm back on homescreen. If i were to choose "wait", nothing happen.
ROM: CM7.1 Nightly build #116, SGSII
Kernel: CM7.1 stock kernel
Android: 2.3.7
Build Nymber: GWK74
I've tried flashing stock ROM DXKI2, the problem still remains, instead, this time it just turn back off by itself, without showing any "Force close/wait" option.
Summary, everything was working after i started installing apps from Google 10billions apps download event, i bought a couple .10cents apps and installed them, one of them is Minecraft pocket (the app i suspect that causes this problem), due to the fact after i tried uninstalling it (from application manager), i can no longer connect to wifi (with that message * showing all the time when i attempt to connect)
Any suggestion to fix this problem?
Things tried:
Full wipe: Yes
Re-installed CM7.1: Yes
Re-download CM7.1 build 116: Yes
Re-installed stock ROM: Yes
reset router: Yes (tho the problem is likely not my router but rather my phone)
Re-flash modem: Originally DXKI1, (flashed to XXKI1) still not working, same force close/wait message pops up
Few links i've spotted that shows similar traits as my problem
-http://forum.cyanogenmod.com/topic/26082-wi-fi-force-close/
-http://android.modaco.com/topic/331933-wifi-settings-causes-force-close/
-http://androidforums.com/captivate-support-troubleshooting/433148-wifi-force-close.html
-http://www.droidforums.net/forum/droid-2-tech-issues/93336-wifi-issue.html
Trust me when i say i've searched high and low, and none of it gives a proper respond for fixes, i'm hoping xda community will come up with something as my last resort!
Have you flashed a diffrent modem? Try reflashing it or flash another one!
BackfireNL said:
Have you flashed a diffrent modem? Try reflashing it or flash another one!
Click to expand...
Click to collapse
Modem? Please explain more to me >.< And do you really think that it was the apps i've installed during the 10th billion download event that messed up my "modem" settings?
I've tried two version of XXKI1 modem, 4.63mb and 4.90mb, sadly, both didn't work is there something else i can do?
Update, here's my logcat, look for force close wifi:
I/Process ( 2755): Sending signal. PID: 2755 SIG: 3
I/dalvikvm( 2755): threadid=4: reacting to signal 3
I/dalvikvm( 2755): Wrote stack traces to '/data/anr/traces.txt'
I/Process ( 2755): Sending signal. PID: 2856 SIG: 3
I/dalvikvm( 2856): threadid=4: reacting to signal 3
I/dalvikvm( 2856): Wrote stack traces to '/data/anr/traces.txt'
I/Process ( 2755): Sending signal. PID: 2839 SIG: 3
I/dalvikvm( 2839): threadid=4: reacting to signal 3
I/dalvikvm( 2839): Wrote stack traces to '/data/anr/traces.txt'
D/dalvikvm( 2755): GC_CONCURRENT freed 728K, 46% free 4963K/9095K, external 4385
K/5459K, paused 3ms+3ms
D/dalvikvm( 2755): GC_EXPLICIT freed 122K, 46% free 4938K/9095K, external 1535K/
2047K, paused 32ms
D/WifiStateTracker( 2755): Disabling interface
D/wifi ( 2755): wifi doCommand: ret=-1
D/wifi ( 2755): wifi doCommand: ret=-1
D/wifi ( 2755): wifi doCommand: ret=-1
D/SettingsAppWidgetProvider( 3440): Widget is from a previous version... Let's u
pdate
D/SettingsAppWidgetProvider( 3440): No instances yet... Wait for at least one in
stance to exist before adding global settings
W/ProcessStats( 2755): Skipping unknown process pid 4163
E/ActivityManager( 2755): ANR in com.android.settings
E/ActivityManager( 2755): Reason: Broadcast of Intent { act=android.net.wifi.WIF
I_STATE_CHANGED flg=0x10000000 cmp=com.android.settings/.widget.SettingsAppWidge
tProvider (has extras) }
E/ActivityManager( 2755): Load: 0.64 / 0.44 / 0.31
E/ActivityManager( 2755): CPU usage from 4984ms to -870ms ago with 99% awake:
E/ActivityManager( 2755): 20% 2755/system_server: 5.8% user + 14% kernel / fau
lts: 301 minor
E/ActivityManager( 2755): 0.3% 1310/cm3663_light_wq: 0% user + 0.3% kernel
E/ActivityManager( 2755): 0.3% 3440/com.android.settings: 0.1% user + 0.1% ker
nel / faults: 39 minor
E/ActivityManager( 2755): 0.1% 9/events/0: 0% user + 0.1% kernel
E/ActivityManager( 2755): 0.1% 533/kondemand/0: 0% user + 0.1% kernel
E/ActivityManager( 2755): 0.1% 1451/mmcqd: 0% user + 0.1% kernel
E/ActivityManager( 2755): 0.1% 2839/com.android.systemui: 0% user + 0.1% kerne
l / faults: 13 minor
E/ActivityManager( 2755): 0% 2856/com.android.phone: 0% user + 0% kernel / fau
lts: 23 minor
E/ActivityManager( 2755): 20% TOTAL: 5.8% user + 14% kernel
E/ActivityManager( 2755): CPU usage from 276ms to 787ms later with 99% awake:
E/ActivityManager( 2755): 12% 2755/system_server: 1.8% user + 10% kernel
E/ActivityManager( 2755): 7.2% 2782/ActivityManager: 1.8% user + 5.4% kernel
E/ActivityManager( 2755): 1.8% 2755/system_server: 1.8% user + 0% kernel
E/ActivityManager( 2755): 1.8% 2776/system_server: 0% user + 1.8% kernel
E/ActivityManager( 2755): 1.8% 2780/SensorService: 0% user + 1.8% kernel
E/ActivityManager( 2755): 1.5% 3440/com.android.settings: 1.5% user + 0% kerne
l / faults: 2 minor
E/ActivityManager( 2755): 7.6% TOTAL: 1.9% user + 5.7% kernel
D/wifi ( 2755): wifi doCommand: ret=-1
D/wifi ( 2755): wifi doCommand: ret=-1
D/wifi ( 2755): wifi doCommand: ret=-1
D/wifi ( 2755): wifi doCommand: ret=-1
W/ActivityManager( 2755): finishReceiver called but no pending broadcasts
E/WifiHW ( 2755): Supplicant not running, cannot connect
D/dalvikvm( 2868): GC_EXPLICIT freed 67K, 48% free 3076K/5895K, external 4105K/5
126K, paused 109ms
D/wifi ( 2755): wifi doCommand: ret=-1
D/wifi ( 2755): wifi doCommand: ret=-1
D/wifi ( 2755): wifi doCommand: ret=-1
D/wifi ( 2755): wifi doCommand: ret=-1
W/ActivityManager( 2755): Force finishing activity com.android.settings/.wifi.
WifiSettings
I/ActivityManager( 2755): Killing com.android.settings (pid=3440): user's reques
t
I/Process ( 2755): Sending signal. PID: 3440 SIG: 9
I/ActivityManager( 2755): Process com.android.settings (pid 3440) has died.
I/WindowManager( 2755): WIN DEATH: Window{406bc670 com.android.settings/com.andr
oid.settings.wifi.WifiSettings paused=true}
W/InputManagerService( 2755): Got RemoteException sending setActive(false) notif
ication to pid 3440 uid 1000
E/WifiHW ( 2755): Supplicant not running, cannot connect
E/WifiHW ( 2755): Supplicant not running, cannot connect
V/WifiStateTracker( 2755): Supplicant died unexpectedly
D/WifiStateTracker( 2755): Reset connections and stopping DHCP
D/WifiStateTracker( 2755): Disabling interface
D/WifiStateTracker( 2755): Reset connections and stopping DHCP
I/ActivityManager( 2755): Start proc com.android.settings for broadcast com.andr
oid.settings/.widget.SettingsAppWidgetProvider: pid=4184 uid=1000 gids={1015, 30
02, 3001, 3003}
D/szipinf ( 4184): Initializing inflate state
D/SettingsAppWidgetProvider( 4184): Widget is from a previous version... Let's u
pdate
D/SettingsAppWidgetProvider( 4184): No instances yet... Wait for at least one in
stance to exist before adding global settings
D/WifiStateTracker( 2755): Disabling interface
D/SettingsAppWidgetProvider( 4184): Widget is from a previous version... Let's u
pdate
D/SettingsAppWidgetProvider( 4184): No instances yet... Wait for at least one in
stance to exist before adding global settings
V/lights ( 2755): write_int: path /sys/class/backlight/pwm-backlight/brightness
, value 20
V/lights ( 2755): write_int: path /sys/class/backlight/pwm-backlight/brightness
, value 0
I/power ( 2755): *** set_screen_state 0
D/SurfaceFlinger( 2755): About to give-up screen, flinger = 0xbc5b0
W/ProcessStats( 2755): Skipping unknown process pid 4215
V/tspdrv ( 2755): opened device /dev/tspdrv
V/tspdrv ( 2755): TSPDRV_MAGIC_NUMBER success
V/tspdrv ( 2755): TSPDRV_GET_NUM_ACTUATORS success, actuators = 1
V/tspdrv ( 2755): timeout_ms: 0
V/tspdrv ( 2755): TSPDRV_STOP_KERNEL_TIMER success
V/tspdrv ( 2755): TSPDRV_DISABLE_AMP success
D/dalvikvm( 2755): GC_EXTERNAL_ALLOC freed 771K, 48% free 4809K/9095K, external
2044K/2047K, paused 66ms
D/dalvikvm( 2755): GC_EXTERNAL_ALLOC freed 52K, 48% free 4766K/9095K, external 2
129K/2136K, paused 61ms
D/dalvikvm( 2755): GC_EXTERNAL_ALLOC freed 3K, 48% free 4776K/9095K, external 27
60K/2769K, paused 54ms
D/dalvikvm( 2755): GC_EXTERNAL_ALLOC freed 2K, 48% free 4781K/9095K, external 33
89K/3491K, paused 56ms
D/dalvikvm( 2755): GC_EXTERNAL_ALLOC freed 16K, 48% free 4812K/9095K, external 4
367K/4370K, paused 29ms
D/Vold ( 2646): USB connected
D/Vold ( 2646): Share method ums now available
I/StorageNotification( 2839): UMS connection changed to true (media state mounte
d)
D/Tethering( 2755): sendTetherStateChangedBroadcast 1, 0, 0
D/Tethering( 2755): interfaceAdded :usb0
D/BluetoothNetworkService( 2755): updating tether state
D/BluetoothNetworkService( 2755): interface usb0
I/power ( 2755): *** set_screen_state 1
D/SettingsAppWidgetProvider( 4184): Widget is from a previous version... Let's u
pdate
D/SettingsAppWidgetProvider( 4184): No instances yet... Wait for at least one in
stance to exist before adding global settings
D/Vold ( 2646): USB connected
V/lights ( 2755): write_int: path /sys/class/backlight/pwm-backlight/brightness
, value 30
W/Tethering( 2755): active iface (usb0) reported as added, ignoring
D/SurfaceFlinger( 2755): Screen about to return, flinger = 0xbc5b0
D/dalvikvm( 2839): GC_CONCURRENT freed 683K, 51% free 3132K/6343K, external 1579
K/1944K, paused 1ms+8ms
D/dalvikvm( 3044): GC_EXPLICIT freed 6K, 49% free 2783K/5379K, external 501K/101
3K, paused 107ms
V/lights ( 2755): write_int: path /sys/class/backlight/pwm-backlight/brightness
, value 20
V/lights ( 2755): write_int: path /sys/class/backlight/pwm-backlight/brightness
, value 0
So... i've posted my logcat, any experts can detect what's wrong with my phone?
Two days without wifi on my sgs2
Update,
It seems to me this user have the same problem as i do when using SGS2 Stock ROM,
http://forum.xda-developers.com/showthread.php?t=1316507
http://forum.xda-developers.com/showthread.php?t=1335738
check motherboard
i think the prob u r facing is due 2 the motherboard....i was also facing the same prob like urs, went 2 service center and got my motherboard replaced...also make sure u have the official firmware loaded before taking it there..
vishesh26 said:
i think the prob u r facing is due 2 the motherboard....i was also facing the same prob like urs, went 2 service center and got my motherboard replaced...also make sure u have the official firmware loaded before taking it there..
Click to expand...
Click to collapse
Yeah, i've finally decided to send mine to Samsung service center, can't live without wifi. I've just ordered a USB jig to reset my binary counter, will have it's motherboard replace as soon i'm done with those.
Still, i don't understand why did the thing spoil out from the blue, i'm just using it normally like i also do. Note that i've never exposed my phone to moist places not to mention water, never drop/bump my phone into something and too never exposed it to direct sunlight. So how in the world did this problem take place!? Manufactured defect?

[Q] CM File Manager can't remount \system?

Hey guys. I had been using root browser since a long time. Today gave a try at the CM File manager in my LWW running FXP 152. In root browser I can read/write in the \system partition. But in CM file manager the \system was shown to be mounted as ro. When I try to put it to rw it comes up with the error 'The file system cannot be mounted/unmounted. There is no problem remounting the sdcard to rw though. Now if I unmount and remount system as rw using the terminal then everything works fine. But I was wondering why can't CM file manager handle all this. Well root browser has read write capabilities everywhere! Or am I doing something wrong in CM File Manager?
Maybe one time you denied CM file manager to gain root access? Check Superuser
Sent from my Nexus 7 running Android 4.2.1
mihahn said:
Maybe one time you denied CM file manager to gain root access? Check Superuser
Sent from my Nexus 7 running Android 4.2.1
Click to expand...
Click to collapse
Yes I did accidentaly deny it once. Then I went to superuser and removed it from the deny list. Now it is in the allowed list and the super user log shows it to have been allowed. Rather I later uninstalled and reinstalled the CM file manager too. And the point is it can read write from /system once I mount it using the terminal. But isn't it supposed to remount /system as rw by itself, like how root browser does and not expect user to remount it using terminal?
Yes, it does. In fact when a write operation is required in ro filesystem, it mounts the filesystem as rw, execute the operation an revert the filesystem to the prior state.
Could you enable debugging in settings and post a logcat of the mount operation?
jruesga said:
Yes, it does. In fact when a write operation is required in ro filesystem, it mounts the filesystem as rw, execute the operation an revert the filesystem to the prior state.
Could you enable debugging in settings and post a logcat of the mount operation?
Click to expand...
Click to collapse
+1
jruesga said:
Yes, it does. In fact when a write operation is required in ro filesystem, it mounts the filesystem as rw, execute the operation an revert the filesystem to the prior state.
Could you enable debugging in settings and post a logcat of the mount operation?
Click to expand...
Click to collapse
As the button to remount partition from ro to rw is disabled, I can't actually try mounting. So I tried pasting a file from my sdcard ('deskclockgoogle.apk') in /system. The logcat for the operation is pasted below.
build.board: mogami
build.bootloader: unknown
build.brand: SEMC
build.cpu_abi: armeabi-v7a
build.cpu_abi2: armeabi
build.device: coconut
build.display: cm_coconut-userdebug 4.1.2 JZO54K eng.root.20121222.002343 test-keys
build.fingerprint: SEMC/WT19i_1254-2184/WT19i:4.0.4/4.1.B.0.431/UL5_3w:user/release-keys
build.hardware: semc
build.host: ubuntu
build.id: JZO54K
build.manufacturer: SEMC
build.model: Xperia Live with Walkman
build.product: WT19i
build.radio: unknown
build.serial: unknown
build.tags: test-keys
build.time: 1356128638000
build.type: userdebug
build.user: root
version.codename: REL
version.incremental: eng.root.20121222.002343
version.release: 4.1.2
version.sdk_int: 16
12-28 15:31:09.985 D/su (6013): Found file /data/data/com.noshufou.android.su/files/stored/10098-0
12-28 15:31:09.985 D/su (6013): Comparing '/system/bin/sh' to '/system/bin/sh'
12-28 15:31:10.055 D/su (6014): Executing exec /system/bin/am broadcast -a com.noshufou.android.su.RESULT --es socket '' --ei caller_uid 10098 --ei allow 1 --ei version_code 18
12-28 15:31:11.075 D/AndroidRuntime(6014):
12-28 15:31:11.075 D/AndroidRuntime(6014): >>>>>> AndroidRuntime START com.android.internal.os.RuntimeInit <<<<<<
12-28 15:31:11.075 D/AndroidRuntime(6014): CheckJNI is OFF
12-28 15:31:11.265 D/dalvikvm(6014): Trying to load lib libjavacore.so 0x0
12-28 15:31:11.395 D/dalvikvm(6014): Added shared lib libjavacore.so 0x0
12-28 15:31:11.605 D/dalvikvm(6014): Trying to load lib libnativehelper.so 0x0
12-28 15:31:11.605 D/dalvikvm(6014): Added shared lib libnativehelper.so 0x0
12-28 15:31:12.345 D/AndroidRuntime(6014): Calling main entry com.android.commands.am.Am
12-28 15:31:12.445 D/AndroidRuntime(6014): Shutting down VM
12-28 15:31:12.615 D/dalvikvm(6014): GC_CONCURRENT freed 99K, 81% free 498K/2560K, paused 0ms+1ms, total 171ms
12-28 15:31:12.855 D/su (6013): 10098 com.nolanlawson.logcat executing 0 /system/bin/sh using shell /system/bin/sh : sh
12-28 15:31:13.195 D/dalvikvm(5202): GC_CONCURRENT freed 1714K, 49% free 5475K/10631K, paused 3ms+13ms, total 115ms
12-28 15:31:13.505 D/su (6026): Found file /data/data/com.noshufou.android.su/files/stored/10098-0
12-28 15:31:13.505 D/su (6026): Comparing '/system/bin/sh' to '/system/bin/sh'
12-28 15:31:13.505 D/su (6027): Executing exec /system/bin/am broadcast -a com.noshufou.android.su.RESULT --es socket '' --ei caller_uid 10098 --ei allow 1 --ei version_code 18
12-28 15:31:13.865 D/AndroidRuntime(6027):
12-28 15:31:13.865 D/AndroidRuntime(6027): >>>>>> AndroidRuntime START com.android.internal.os.RuntimeInit <<<<<<
12-28 15:31:13.865 D/AndroidRuntime(6027): CheckJNI is OFF
12-28 15:31:13.925 D/dalvikvm(6027): Trying to load lib libjavacore.so 0x0
12-28 15:31:14.075 D/dalvikvm(6027): Added shared lib libjavacore.so 0x0
12-28 15:31:14.135 D/dalvikvm(6027): Trying to load lib libnativehelper.so 0x0
12-28 15:31:14.197 D/dalvikvm(6027): Added shared lib libnativehelper.so 0x0
12-28 15:31:15.145 D/AndroidRuntime(6027): Calling main entry com.android.commands.am.Am
12-28 15:31:15.245 D/AndroidRuntime(6027): Shutting down VM
12-28 15:31:15.415 D/dalvikvm(6027): GC_CONCURRENT freed 99K, 81% free 498K/2560K, paused 31ms+0ms, total 170ms
12-28 15:31:16.255 D/su (6026): 10098 com.nolanlawson.logcat executing 0 /system/bin/sh using shell /system/bin/sh : sh
12-28 15:31:16.295 D/PhoneStatusBar(441): addNotification score=0
12-28 15:31:16.355 D/su (6039): Found file /data/data/com.noshufou.android.su/files/stored/10098-0
12-28 15:31:16.355 D/su (6039): Comparing '/system/bin/sh' to '/system/bin/sh'
12-28 15:31:16.365 D/su (6040): Executing exec /system/bin/am broadcast -a com.noshufou.android.su.RESULT --es socket '' --ei caller_uid 10098 --ei allow 1 --ei version_code 18
12-28 15:31:16.915 D/AndroidRuntime(6040):
12-28 15:31:16.915 D/AndroidRuntime(6040): >>>>>> AndroidRuntime START com.android.internal.os.RuntimeInit <<<<<<
12-28 15:31:16.915 D/AndroidRuntime(6040): CheckJNI is OFF
12-28 15:31:16.935 V/PhoneStatusBar(441): setLightsOn(true)
12-28 15:31:17.075 D/dalvikvm(6040): Trying to load lib libjavacore.so 0x0
12-28 15:31:17.115 D/dalvikvm(6040): Added shared lib libjavacore.so 0x0
12-28 15:31:17.155 D/dalvikvm(6040): Trying to load lib libnativehelper.so 0x0
12-28 15:31:17.155 D/dalvikvm(6040): Added shared lib libnativehelper.so 0x0
12-28 15:31:18.535 D/AndroidRuntime(6040): Calling main entry com.android.commands.am.Am
12-28 15:31:18.625 D/AndroidRuntime(6040): Shutting down VM
12-28 15:31:18.625 D/dalvikvm(6040): GC_CONCURRENT freed 99K, 81% free 498K/2560K, paused 0ms+1ms, total 6ms
12-28 15:31:18.685 D/dalvikvm(5202): GC_CONCURRENT freed 1734K, 49% free 5489K/10631K, paused 3ms+62ms, total 131ms
12-28 15:31:18.865 D/su (6039): 10098 com.nolanlawson.logcat executing 0 /system/bin/sh using shell /system/bin/sh : sh
12-28 15:31:19.395 I/ActivityManager(354): START {act=android.intent.action.MAIN cat=[android.intent.category.HOME] flg=0x10200000 cmp=com.cyanogenmod.trebuchet/.Launcher u=0} from pid 354
12-28 15:31:19.985 D/dalvikvm(803): GC_CONCURRENT freed 1591K, 62% free 3163K/8195K, paused 15ms+8ms, total 158ms
12-28 15:31:20.025 I/Adreno200-EGL(555): <qeglDrvAPI_eglInitialize:294>: EGL 1.4 QUALCOMM build: AU_LINUX_ANDROID_JB.04.01.01.00.036_msm8960_JB_CL2644550_release_AU (CL2644550)
12-28 15:31:20.025 I/Adreno200-EGL(555): Build Date: 07/31/12 Tue
12-28 15:31:20.025 I/Adreno200-EGL(555): Local Branch:
12-28 15:31:20.025 I/Adreno200-EGL(555): Remote Branch: quic/master
12-28 15:31:20.025 I/Adreno200-EGL(555): Local Patches: NONE
12-28 15:31:20.025 I/Adreno200-EGL(555): Reconstruct Branch: AU_LINUX_ANDROID_JB.04.01.01.00.036 + NOTHING
12-28 15:31:20.555 V/KF Engine(522): getLastGPS couldn't find cached positional data
12-28 15:31:20.555 V/KF Engine(522): calculateTimeTable (invalid) @ 0.0x0.0: 1440 360 720 1080
12-28 15:31:22.616 I/ActivityManager(354): START {act=android.intent.action.MAIN cat=[android.intent.category.LAUNCHER] flg=0x10200000 cmp=com.cyanogenmod.filemanager/.activities.NavigationActivity bnds=[12,286][86,368] u=0} from pid 555
12-28 15:31:28.815 I/ActivityManager(354): START {flg=0x4000 cmp=com.cyanogenmod.filemanager/.activities.BookmarksActivity u=0} from pid 5431
12-28 15:31:28.985 I/ActivityManager(354): Displayed com.cyanogenmod.filemanager/.activities.BookmarksActivity: +145ms
12-28 15:31:33.495 D/dalvikvm(354): GC_CONCURRENT freed 1559K, 36% free 9393K/14471K, paused 4ms+29ms, total 455ms
12-28 15:31:35.075 I/ActivityManager(354): Process com.google.android.apps.plus (pid 2019) has died.
12-28 15:31:35.325 I/ActivityManager(354): Process com.android.mms (pid 5168) has died.
12-28 15:31:35.335 D/CountryDetector(354): No listener is left
12-28 15:31:37.955 D/dalvikvm(5431): GC_CONCURRENT freed 1748K, 48% free 4300K/8195K, paused 5ms+13ms, total 80ms
12-28 15:31:40.145 D/dalvikvm(5431): GC_CONCURRENT freed 1939K, 50% free 4174K/8195K, paused 14ms+22ms, total 84ms
12-28 15:31:42.685 W/InputMethodManagerService(354): Window already focused, ignoring focus gain of: [email protected] attribute=null
12-28 15:31:43.325 I/ActivityManager(354): START {flg=0x4000 cmp=com.cyanogenmod.filemanager/.activities.BookmarksActivity u=0} from pid 5431
12-28 15:31:43.535 D/dalvikvm(354): GC_EXPLICIT freed 440K, 37% free 9196K/14471K, paused 5ms+9ms, total 116ms
12-28 15:31:43.665 I/ActivityManager(354): Displayed com.cyanogenmod.filemanager/.activities.BookmarksActivity: +304ms
12-28 15:31:46.525 D/dalvikvm(5431): GC_CONCURRENT freed 1678K, 48% free 4338K/8195K, paused 3ms+17ms, total 83ms
12-28 15:31:46.525 D/dalvikvm(5431): WAIT_FOR_CONCURRENT_GC blocked 19ms
12-28 15:31:50.155 D/dalvikvm(5431): GC_CONCURRENT freed 1819K, 47% free 4344K/8195K, paused 4ms+6ms, total 83ms
12-28 15:31:51.825 E/NavigationActivity(5431): Error detected
12-28 15:31:51.825 E/NavigationActivity(5431): com.cyanogenmod.filemanager.console.ReadOnlyFilesystemException: /system
12-28 15:31:51.825 E/NavigationActivity(5431): at com.cyanogenmod.filemanager.commands.shell.Shell.checkStdErr(Shell.java:132)
12-28 15:31:51.825 E/NavigationActivity(5431): at com.cyanogenmod.filemanager.commands.shell.SuperuserShell.checkStdErr(SuperuserShell.java:70)
12-28 15:31:51.825 E/NavigationActivity(5431): at com.cyanogenmod.filemanager.console.shell.ShellConsole.syncExecute(ShellConsole.java:581)
12-28 15:31:51.825 E/NavigationActivity(5431): at com.cyanogenmod.filemanager.console.shell.ShellConsole.execute(ShellConsole.java:422)
12-28 15:31:51.825 E/NavigationActivity(5431): at com.cyanogenmod.filemanager.util.CommandHelper.writableExecute(CommandHelper.java:1683)
12-28 15:31:51.825 E/NavigationActivity(5431): at com.cyanogenmod.filemanager.util.CommandHelper.writableExecute(CommandHelper.java:1575)
12-28 15:31:51.825 E/NavigationActivity(5431): at com.cyanogenmod.filemanager.util.CommandHelper.copy(CommandHelper.java:838)
12-28 15:31:51.825 E/NavigationActivity(5431): at com.cyanogenmod.filemanager.ui.policy.CopyMoveActionPolicy$1.doOperation(CopyMoveActionPolicy.java:361)
12-28 15:31:51.825 E/NavigationActivity(5431): at com.cyanogenmod.filemanager.ui.policy.CopyMoveActionPolicy$1.doInBackground(CopyMoveActionPolicy.java:326)
12-28 15:31:51.825 E/NavigationActivity(5431): at com.cyanogenmod.filemanager.ui.policy.ActionsPolicy$BackgroundAsyncTask.doInBackground(ActionsPolicy.java:131)
12-28 15:31:51.825 E/NavigationActivity(5431): at com.cyanogenmod.filemanager.ui.policy.ActionsPolicy$BackgroundAsyncTask.doInBackground(ActionsPolicy.java:88)
12-28 15:31:51.825 E/NavigationActivity(5431): at android.os.AsyncTask$2.call(AsyncTask.java:287)
12-28 15:31:51.825 E/NavigationActivity(5431): at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:305)
12-28 15:31:51.825 E/NavigationActivity(5431): at java.util.concurrent.FutureTask.run(FutureTask.java:137)
12-28 15:31:51.825 E/NavigationActivity(5431): at android.os.AsyncTask$SerialExecutor$1.run(AsyncTask.java:230)
12-28 15:31:51.825 E/NavigationActivity(5431): at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1076)
12-28 15:31:51.825 E/NavigationActivity(5431): at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:569)
12-28 15:31:51.825 E/NavigationActivity(5431): at java.lang.Thread.run(Thread.java:856)
12-28 15:31:51.885 W/InputMethodManagerService(354): Window already focused, ignoring focus gain of: [email protected] attribute=null
12-28 15:32:10.945 W/InputMethodManagerService(354): Window already focused, ignoring focus gain of: [email protected] attribute=null
12-28 15:32:16.115 D/PhoneStatusBar(441): disable: < expand icons alerts TICKER* system_info back home recent clock >
12-28 15:32:17.445 W/KeyguardViewMediator(354): verifyUnlock called when not externally disabled
12-28 15:32:17.715 W/InputMethodManagerService(354): Window already focused, ignoring focus gain of: [email protected] attribute=null
12-28 15:32:17.735 D/PhoneStatusBar(441): disable: < expand icons alerts ticker* system_info back home recent clock >
12-28 15:32:18.365 I/ActivityManager(354): Process com.avast.android.antitheft (pid 4320) has died.
12-28 15:32:18.455 I/ActivityManager(354): Process com.bel.android.dspmanager (pid 867) has died.
12-28 15:32:18.455 D/su (6181): Found file /data/data/com.noshufou.android.su/files/stored/10098-0
12-28 15:32:18.455 D/su (6181): Comparing '/system/bin/sh' to '/system/bin/sh'
12-28 15:32:18.455 D/su (6182): Executing exec /system/bin/am broadcast -a com.noshufou.android.su.RESULT --es socket '' --ei caller_uid 10098 --ei allow 1 --ei version_code 18
12-28 15:32:18.455 W/ActivityManager(354): Scheduling restart of crashed service com.bel.android.dspmanager/.service.HeadsetService in 5000ms
12-28 15:32:18.865 D/AndroidRuntime(6182):
12-28 15:32:18.865 D/AndroidRuntime(6182): >>>>>> AndroidRuntime START com.android.internal.os.RuntimeInit <<<<<<
12-28 15:32:18.865 D/AndroidRuntime(6182): CheckJNI is OFF
12-28 15:32:18.905 D/dalvikvm(6182): Trying to load lib libjavacore.so 0x0
12-28 15:32:18.905 D/dalvikvm(6182): Added shared lib libjavacore.so 0x0
12-28 15:32:18.925 D/dalvikvm(6182): Trying to load lib libnativehelper.so 0x0
12-28 15:32:18.925 D/dalvikvm(6182): Added shared lib libnativehelper.so 0x0
12-28 15:32:19.295 D/AndroidRuntime(6182): Calling main entry com.android.commands.am.Am
12-28 15:32:19.325 D/AndroidRuntime(6182): Shutting down VM
12-28 15:32:19.325 D/dalvikvm(6182): GC_CONCURRENT freed 99K, 81% free 498K/2560K, paused 0ms+1ms, total 4ms
12-28 15:32:19.615 D/su (6181): 10098 com.nolanlawson.logcat executing 0 /system/bin/sh using shell /system/bin/sh : sh
12-28 15:32:19.995 D/su (6194): Found file /data/data/com.noshufou.android.su/files/stored/10098-0
12-28 15:32:19.995 D/su (6194): Comparing '/system/bin/sh' to '/system/bin/sh'
12-28 15:32:19.995 D/su (6195): Executing exec /system/bin/am broadcast -a com.noshufou.android.su.RESULT --es socket '' --ei caller_uid 10098 --ei allow 1 --ei version_code 18
12-28 15:32:20.145 D/AndroidRuntime(6195):
12-28 15:32:20.145 D/AndroidRuntime(6195): >>>>>> AndroidRuntime START com.android.internal.os.RuntimeInit <<<<<<
12-28 15:32:20.145 D/AndroidRuntime(6195): CheckJNI is OFF
12-28 15:32:20.165 D/dalvikvm(6195): Trying to load lib libjavacore.so 0x0
12-28 15:32:20.165 D/dalvikvm(6195): Added shared lib libjavacore.so 0x0
12-28 15:32:20.175 D/dalvikvm(6195): Trying to load lib libnativehelper.so 0x0
12-28 15:32:20.175 D/dalvikvm(6195): Added shared lib libnativehelper.so 0x0
12-28 15:32:20.445 D/AndroidRuntime(6195): Calling main entry com.android.commands.am.Am
12-28 15:32:20.485 D/AndroidRuntime(6195): Shutting down VM
12-28 15:32:20.495 D/dalvikvm(6195): GC_CONCURRENT freed 99K, 81% free 498K/2560K, paused 0ms+1ms, total 5ms
12-28 15:32:20.635 D/dalvikvm(1733): GC_CONCURRENT freed 1866K, 30% free 6549K/9351K, paused 7ms+7ms, total 180ms
12-28 15:32:20.635 D/dalvikvm(1733): WAIT_FOR_CONCURRENT_GC blocked 77ms
First at all, thanks for the logcat. I try to figure out the problem from your logcat (it doesn't have filemanager debugging information; next time you should enable it at settings). But for the launched exception i supposed that your system filesystem is not any of: rootfs, tmpfs, vfat, ext2, ext3, ext4
This last filesystem types are the only that the application is capable of (allowed to) remount. From this traces, i suspect that your are running in user or superuser mode, so the problem should be related to filesystem type.
Probably you are not capable to write in /system, but in / you are able to (because of rootfs filesystem type).
Execute "cat /proc/mounts | grep /system" to confirm what i'm guessing.
Hmmm...There no bug on CM FileManager....you can only write (with ROOT) in / only....your can't write in /system.....CM Teams make it like that so the user wont make any mistakes deleting important files on /system....
you can try clearing data/cache, uninstall/reinstall, remove root/re-add root on CM FileManager...the result will be the same...you can never write in /system....
Pusak Gaoq said:
Hmmm...There no bug on CM FileManager....you can only write (with ROOT) in / only....your can't write in /system.....CM Teams make it like that so the user wont make any mistakes deleting important files on /system....
you can try clearing data/cache, uninstall/reinstall, remove root/re-add root on CM FileManager...the result will be the same...you can never write in /system....
Click to expand...
Click to collapse
Oh that's just too bad. Almost all the tweaks and app ports requires copying files to /system/app
Hey so I mounted /system as rw through terminal. So now I can read write there with CM file manager. Does this reduce the security of my phone? Or make it easier for virus or rogue softwares to get rw access to my /system?
Pusak Gaoq said:
Hmmm...There no bug on CM FileManager....you can only write (with ROOT) in / only....your can't write in /system.....CM Teams make it like that so the user wont make any mistakes deleting important files on /system....
you can try clearing data/cache, uninstall/reinstall, remove root/re-add root on CM FileManager...the result will be the same...you can never write in /system....
Click to expand...
Click to collapse
This is not true. CMFM allows you to write in all the filesystem. As i said in my previous post, the problem is related to remount the /system filesystem as rw. CMFM has coded a constrain to prevent remount as ro, filesystems that are requiered as rw by the kernel. For that it only allows remount rootfs, tmpfs, vfat, ext2, ext3, ext4 filesystems. I though that your /system filesystem type in not in that list, so the constrain is applied.
havocgb said:
Oh that's just too bad. Almost all the tweaks and app ports requires copying files to /system/app
Hey so I mounted /system as rw through terminal. So now I can read write there with CM file manager. Does this reduce the security of my phone? Or make it easier for virus or rogue softwares to get rw access to my /system?
Click to expand...
Click to collapse
Please, post the output from "cat /proc/mounts | grep /system" to confirm that it's the problem. If i know the problem, i could send a patch to CM upstream.
jruesga said:
This is not true. CMFM allows you to write in all the filesystem. As i said in my previous post, the problem is related to remount the /system filesystem as rw. CMFM has coded a constrain to prevent remount as ro, filesystems that are requiered as rw by the kernel. For that it only allows remount rootfs, tmpfs, vfat, ext2, ext3, ext4 filesystems. I though that your /system filesystem type in not in that list, so the constrain is applied.
Please, post the output from "cat /proc/mounts | grep /system" to confirm that it's the problem. If i know the problem, i could send a patch to CM upstream.
Click to expand...
Click to collapse
Hmm sorry but I am not able to understand what you want me to do. I gave the previous logcat using the catlog app. How do I do this? -
post the output from "cat /proc/mounts | grep /system"
Click to expand...
Click to collapse
I went to the /proc folder and there are thousands of mounts files in it
Sorry, i supposed that you had access to adb. We can done the same by the filemanager application. Open cmfm, goto setting, general and enable debugging option. Then reproduce the problem and take a new logcat.
jruesga said:
Sorry, i supposed that you had access to adb. We can done the same by the filemanager application. Open cmfm, goto setting, general and enable debugging option. Then reproduce the problem and take a new logcat.
Click to expand...
Click to collapse
Attached logcat from catlog app, while doing the same operations as before
This logcat comfirms what i explained in my previous post. Your system partition is mounted as yaffs2. I will upload a patch in the next days. Thank you so much for your support.
jruesga said:
This logcat comfirms what i explained in my previous post. Your system partition is mounted as yaffs2. I will upload a patch in the next days. Thank you so much for your support.
Click to expand...
Click to collapse
U r supporting me and I need to say thank u man! Thanks! Waiting for the patch
ChangeId: http://review.cyanogenmod.org/#/c/29679/
jruesga said:
ChangeId: http://review.cyanogenmod.org/#/c/29679/
Click to expand...
Click to collapse
so how to use it
jruesga said:
ChangeId: http://review.cyanogenmod.org/#/c/29679/
Click to expand...
Click to collapse
So will these changes come in with the next CM10 (in our case fxp) or will it be there only in CM10.1 (because the changeid has CM10.1 as its branch)
The change is for the upstream cm10.1 branch.
jruesga said:
The change is for the upstream cm10.1 branch.
Click to expand...
Click to collapse
Oh ok So can u share a modified apk of CM filemanager here with these changes added if possible? Or can u give some instructions on how to add the changes ourselves?

Unable to copy files to /system

I rooted my phone 4 months ago and since then has succesfully copy/pasted stuff into /system numerous times. I moved to CM10 2 months back and even then I was able to copy/paste to /system. I mainly use root browser lite and CM File manager to do so. But recently whenever I try pasting a file to /system a toast notification appears saying operation failed and a 0 byte (or sometimes 100b) file appears in /system. I can change file permissions in /system and delete files from /system using these file managers, showing that my phone is still rooted and these apps have root access. But pasting doesn't work. I have attached a logcat of an event when I tried to paste a file to /system partition using CM file manager. Somebody please help me
BTW the CM File manager I use was obtained from this post here
Logcat:
build.board: mogami
build.bootloader: unknown
build.brand: SEMC
build.cpu_abi: armeabi-v7a
build.cpu_abi2: armeabi
build.device: coconut
build.display: cm_coconut-userdebug 4.1.2 JZO54K eng.root.20121222.002343 test-keys
build.fingerprint: SEMC/WT19i_1254-2184/WT19i:4.0.4/4.1.B.0.431/UL5_3w:user/release-keys
build.hardware: semc
build.host: ubuntu
build.id: JZO54K
build.manufacturer: SEMC
build.model: Xperia Live with Walkman
build.product: WT19i
build.radio: unknown
build.serial: unknown
build.tags: test-keys
build.time: 1356128638000
build.type: userdebug
build.user: root
version.codename: REL
version.incremental: eng.root.20121222.002343
version.release: 4.1.2
version.sdk_int: 16
01-22 12:04:23.268 W/InputMethodManagerService(354): Window already focused, ignoring focus gain of: [email protected] attribute=null
01-22 12:04:32.278 D/dalvikvm(4011): GC_CONCURRENT freed 1848K, 48% free 4280K/8195K, paused 3ms+15ms, total 88ms
01-22 12:04:33.288 D/dalvikvm(4011): GC_CONCURRENT freed 1900K, 50% free 4166K/8195K, paused 3ms+17ms, total 80ms
01-22 12:04:34.808 E/NavigationActivity(4011): Error detected
01-22 12:04:34.808 E/NavigationActivity(4011): com.cyanogenmod.filemanager.console.ExecutionException: exitcode != 0
01-22 12:04:34.808 E/NavigationActivity(4011): at com.cyanogenmod.filemanager.commands.shell.CopyCommand.checkExitCode(CopyCommand.java:76)
01-22 12:04:34.808 E/NavigationActivity(4011): at com.cyanogenmod.filemanager.console.shell.ShellConsole.syncExecute(ShellConsole.java:562)
01-22 12:04:34.808 E/NavigationActivity(4011): at com.cyanogenmod.filemanager.console.shell.ShellConsole.execute(ShellConsole.java:395)
01-22 12:04:34.808 E/NavigationActivity(4011): at com.cyanogenmod.filemanager.util.CommandHelper.writableExecute(CommandHelper.java:1585)
01-22 12:04:34.808 E/NavigationActivity(4011): at com.cyanogenmod.filemanager.util.CommandHelper.writableExecute(CommandHelper.java:1477)
01-22 12:04:34.808 E/NavigationActivity(4011): at com.cyanogenmod.filemanager.util.CommandHelper.copy(CommandHelper.java:740)
01-22 12:04:34.808 E/NavigationActivity(4011): at com.cyanogenmod.filemanager.ui.policy.CopyMoveActionPolicy$1.doOperation(CopyMoveActionPolicy.java:361)
01-22 12:04:34.808 E/NavigationActivity(4011): at com.cyanogenmod.filemanager.ui.policy.CopyMoveActionPolicy$1.doInBackground(CopyMoveActionPolicy.java:326)
01-22 12:04:34.808 E/NavigationActivity(4011): at com.cyanogenmod.filemanager.ui.policy.ActionsPolicy$BackgroundAsyncTask.doInBackground(ActionsPolicy.java:131)
01-22 12:04:34.808 E/NavigationActivity(4011): at com.cyanogenmod.filemanager.ui.policy.ActionsPolicy$BackgroundAsyncTask.doInBackground(ActionsPolicy.java:88)
01-22 12:04:34.808 E/NavigationActivity(4011): at android.os.AsyncTask$2.call(AsyncTask.java:287)
01-22 12:04:34.808 E/NavigationActivity(4011): at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:305)
01-22 12:04:34.808 E/NavigationActivity(4011): at java.util.concurrent.FutureTask.run(FutureTask.java:137)
01-22 12:04:34.808 E/NavigationActivity(4011): at android.os.AsyncTask$SerialExecutor$1.run(AsyncTask.java:230)
01-22 12:04:34.808 E/NavigationActivity(4011): at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1076)
01-22 12:04:34.808 E/NavigationActivity(4011): at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:569)
01-22 12:04:34.808 E/NavigationActivity(4011): at java.lang.Thread.run(Thread.java:856)
01-22 12:04:34.859 W/InputMethodManagerService(354): Window already focused, ignoring focus gain of: [email protected] attribute=null
01-22 12:04:36.868 D/dalvikvm(441): GC_CONCURRENT freed 2268K, 41% free 4888K/8195K, paused 4ms+13ms, total 226ms
01-22 12:04:38.429 V/PhoneStatusBar(441): setLightsOn(true)
01-22 12:04:38.678 D/dalvikvm(4270): GC_CONCURRENT freed 1134K, 42% free 4793K/8195K, paused 3ms+12ms, total 78ms
01-22 12:04:44.588 D/dalvikvm(735): GC_CONCURRENT freed 1739K, 62% free 3132K/8195K, paused 4ms+10ms, total 65ms
01-22 12:04:44.588 D/dalvikvm(735): WAIT_FOR_CONCURRENT_GC blocked 9ms
01-22 12:04:48.638 D/dalvikvm(4270): GC_FOR_ALLOC freed 860K, 49% free 4223K/8195K, paused 21ms, total 29ms
01-22 12:05:01.768 D/dalvikvm(4270): GC_FOR_ALLOC freed 229K, 45% free 4557K/8195K, paused 21ms, total 22ms
01-22 12:05:01.768 I/dalvikvm-heap(4270): Grow heap (frag case) to 12.666MB for 119056-byte allocation
01-22 12:05:37.408 D/dalvikvm(4270): GC_CONCURRENT freed 1183K, 42% free 5164K/8839K, paused 5ms+19ms, total 59ms
01-22 12:05:41.588 E/MobileDataStateTracker(354): default: unknown network type: 0
01-22 12:05:41.588 D/ConnectivityService(354): ConnectivityChange for mobile: DISCONNECTED/DISCONNECTED
01-22 12:05:41.598 D/ConnectivityService(354): Attempting to switch to wifi
01-22 12:05:41.598 D/ConnectivityService(354): Attempting to switch to BLUETOOTH_TETHER
01-22 12:05:41.628 D/NetUtils(354): android_net_utils_resetConnections in env=0x252080 clazz=0x47d00001 iface=rmnet0 mask=0x3
01-22 12:05:41.628 D/ConnectivityService(354): resetConnections(rmnet0, 3)
01-22 12:05:41.648 D/PhoneStatusBar(441): addNotification score=0
01-22 12:05:42.538 W/Smack/Packet(660): notify conn break (IOEx), close connection
Maybe your system storage is low.
Download Link2SD, then click the menu button on your phone and select storage info, then you see something like "System"
Look how much space you have left.
For example, mine looks like this:
System (24% Free)
/system
Total: 400MB Used: 303MB Free: 96.81MB
Sadra.. said:
Maybe your system storage is low.
Download Link2SD, then click the menu button on your phone and select storage info, then you see something like "System"
Look how much space you have left.
For example, mine looks like this:
System (24% Free)
/system
Total: 400MB Used: 303MB Free: 96.81MB
Click to expand...
Click to collapse
You are so right! Thanks a lot man! Mine was Total 400MB Used 400 MB so now how do I free up space? Other than /system/app does clearing cache, or something free up space in /system? Basically I just want to install some apps in /system.
havocgb said:
You are so right! Thanks a lot man! Mine was Total 400MB Used 400 MB so now how do I free up space? Other than /system/app does clearing cache, or something free up space in /system? Basically I just want to install some apps in /system.
Click to expand...
Click to collapse
Check if your boot animation's size, if it's alot, download another one from the internet.
Also try removing some useless system apps.
You can try to switch to a custom ROM with less system usage and apps.
Sadra.. said:
Check if your boot animation's size, if it's alot, download another one from the internet.
Also try removing some useless system apps.
You can try to switch to a custom ROM with less system usage and apps.
Click to expand...
Click to collapse
Oh ok. I'm on fxp CM10 now. For the time being I freed up some space after remove some system apps that I dont use. Thanks for the help guys! CM10 is a pretty big ROM! So I'll have to live with this now..
You can use SystemCleanup (free) to remove unused apps from \system. App suggests which apps can be removed.

Reverse Engineered apk acting strange.

Hello people of Xda-Developers.
Been a member on here for a while but haven't got a chance to post anything so as my first post/thread I'm going to ask a question that I just can't seem to figure out.
I am currently running Resurrection Remix JB 3.1.2 (3.1.0-r50-Siyah-Dorimanx 7.8 kernel) on my Samsung Galaxy S2.
I've been working with some .smali files from a game called Bike Race and been using the IDE, VTS, for this.
Now the weird thing is that once the APK has been recompiled and signed (From VTS) it starts up fine one my Android but the game itself seems to have been really messed up. I can't basically open up any menus, nor play any maps. This does happen even if I don't edit the game itself but just recompile (using VTS) and open up on my Android.
For the VTS project I am using a framework tag with the framework-res.apk taken directly from the zipped Resurrection Remix ROM and for API level: JB 4.1.2.
Logcat does not seem to show up anything weird either. It's like the game can't load up xml files etc, even though that should of showed up in Logcat..
Thankful for answers and sorry for the long thread.
Cheers.
logcat
Alright so I did find something in logcat. I will post it below. Thanks in advance
Code:
build.board: smdk4210
build.bootloader: unknown
build.brand: Samsung
build.cpu_abi: armeabi-v7a
build.cpu_abi2: armeabi
build.device: GT-I9100
build.display: Resurrection Remix JB v3.1.2 By Westcrip
build.fingerprint: samsung/GT-I9100/GT-I9100:4.0.3/IML74K/XXLPQ:user/release-keys
build.hardware: smdk4210
build.host: cyanogenmod
build id: JRO03H
build.manufacturer: samsung
build.model: GT-I9100
build.product: GT-I9100
build.radio: I9100PBVLP7
build.serial: unknown
build.tags: test-keys
build.time: 1343178935000
build.type: userdebug
build.user: codeworkx
version.codename: REL
version.incremental: eng.westcrip.20120730.031513
version.release: 4.1.2
version.sdk_int: 16
03-22 03:37:25.221 W/InputMethodManagerService(10505): Window already focused, ignoring focus gain of: [email protected] attribute=null
03-22 03:34:32.626 E/Trace** (13852): error opening trace file: No such file or directory (2)
03-22 03:34:32.631 W/ActivityThread(13852): Application com.topfreegames.bikeracefreeworld can be debugged on port 8100...
03-22 03:34:32.691 D/dalvikvm(13852): GC_FOR_ALLOC freed 114K, 72% free 2315K/8195K, paused 12ms, total 12ms
03-22 03:34:32.721 I/dalvikvm-heap(13852): Grow heap (frag case) to 17.684MB for 7680016-byte allocation
03-22 03:34:32.741 D/dalvikvm(13852): GC_CONCURRENT freed <1K, 38% free 9814K/15751K, paused 2ms+1ms, total 20ms
03-22 03:34:33.066 D/dalvikvm(13852): GC_CONCURRENT freed 2K, 23% free 12240K/15751K, paused 5ms+5ms, total 42ms
03-22 03:34:33.066 D/dalvikvm(13852): WAIT_FOR_CONCURRENT_GC blocked 26ms
03-22 03:34:33.521 D/dalvikvm(13852): GC_FOR_ALLOC freed 757K, 16% free 13377K/15751K, paused 28ms, total 28ms
03-22 03:34:33.586 W/Settings(13852): Setting android_id has moved from android.provider.Settings.System to android.provider.Settings.Secure, returning read-only value.
03-22 03:34:33.691 D/libEGL* (13852): loaded /system/lib/egl/libEGL_mali.so
03-22 03:34:33.731 D/libEGL* (13852): loaded /system/lib/egl/libGLESv1_CM_mali.so
03-22 03:34:33.731 D/libEGL* (13852): loaded /system/lib/egl/libGLESv2_mali.so
03-22 03:34:33.751 D/OpenGLRenderer(13852): Enabling debug mode 0
03-22 03:34:33.826 D/dalvikvm(13852): GC_CONCURRENT freed 961K, 11% free 16171K/18055K, paused 1ms+3ms, total 34ms
03-22 03:34:33.826 D/dalvikvm(13852): WAIT_FOR_CONCURRENT_GC blocked 26ms
03-22 03:34:38.736 D/dalvikvm(13852): GC_FOR_ALLOC freed 1728K, 13% free 18895K/21639K, paused 42ms, total 44ms
03-22 03:34:38.836 D/dalvikvm(13852): GC_FOR_ALLOC freed 2801K, 22% free 19907K/25223K, paused 37ms, total 39ms
03-22 03:34:38.941 D/dalvikvm(13852): GC_FOR_ALLOC freed 2226K, 21% free 21130K/26439K, paused 36ms, total 39ms
03-22 03:34:39.056 D/dalvikvm(13852): GC_FOR_ALLOC freed 2198K, 18% free 23177K/28167K, paused 40ms, total 41ms
03-22 03:34:39.131 E/PropertyLoader(13852): Unable to read property file.
03-22 03:34:39.141 I/com.amazonaws.f.m(13852): Unable to load version information for the running SDK: com/amazonaws/sdk/versionInfo.properties not found on classpath
03-22 03:34:41.486 D/dalvikvm(13852): GC_EXPLICIT freed 4862K, 19% free 25076K/30919K, paused 2ms+3ms, total 63ms
03-22 03:34:41.561 D/dalvikvm(13852): GC_EXPLICIT freed 2112K, 26% free 22980K/30919K, paused 2ms+3ms, total 58ms
03-22 03:34:46.986 D/dalvikvm(13852): GC_EXPLICIT freed 1524K, 29% free 22228K/30919K, paused 11ms+6ms, total 137ms
03-22 03:37:25.586 W/ThrottleService(10505): unable to find stats for iface pdp0
03-22 03:37:26.426 D/dalvikvm(14032): GC_FOR_ALLOC freed 4744K, 38% free 12242K/19655K, paused 69ms, total 90ms
03-22 03:37:32.276 D/dalvikvm(14032): GC_FOR_ALLOC freed 2657K, 38% free 12326K/19655K, paused 23ms, total 23ms
03-22 03:37:33.406 I/dalvikvm(14032): Jit: resizing JitTable from 4096 to 8192
03-22 03:37:35.921 I/ActivityManager(10505): START {act=android.intent.action.SEND typ=text/plain flg=0x1 cmp=com.android.mms/.ui.ComposeMessageActivity (has clip) (has extras) u=0} from pid 14032
03-22 03:37:36.001 I/ActivityManager(10505): Start proc com.android.mms for activity com.android.mms/.ui.ComposeMessageActivity: pid=14154 uid=10027 gids={3003, 1015, 1028}
03-22 03:37:36.126 E/Trace** (14154): error opening trace file: No such file or directory (2)
03-22 03:37:36.166 I/ActivityThread(14154): Pub mms_temp_file: com.android.mms.TempFileProvider
03-22 03:37:36.166 I/ActivityThread(14154): Pub com.android.mms.SuggestionsProvider: com.android.mms.SuggestionsProvider
03-22 03:37:36.166 I/ActivityThread(14154): Pub com.android.cm.mms: com.android.mms.templates.TemplatesProvider
03-22 03:37:36.191 D/CountryDetector(10505): The first listener is added
03-22 03:37:36.211 V/MmsConfig(14154): mnc/mcc: 24001
03-22 03:37:36.211 V/MmsConfig(14154): tag: bool value: enabledMMS - true
03-22 03:37:36.211 V/MmsConfig(14154): tag: int value: maxMessageSize - 307200
03-22 03:37:36.211 V/MmsConfig(14154): tag: int value: maxImageHeight - 480
03-22 03:37:36.211 V/MmsConfig(14154): tag: int value: maxImageWidth - 640
03-22 03:37:36.211 V/MmsConfig(14154): tag: int value: defaultSMSMessagesPerThread - 500
03-22 03:37:36.211 V/MmsConfig(14154): tag: int value: defaultMMSMessagesPerThread - 50
03-22 03:37:36.211 V/MmsConfig(14154): tag: int value: minMessageCountPerThread - 10
03-22 03:37:36.211 V/MmsConfig(14154): tag: int value: maxMessageCountPerThread - 5000
03-22 03:37:36.211 V/MmsConfig(14154): tag: string value: uaProfUrl - linkremovedforxdadev
03-22 03:37:36.211 V/MmsConfig(14154): tag: int value: recipientLimit - -1
03-22 03:37:36.211 V/MmsConfig(14154): tag: bool value: enableMultipartSMS - true
03-22 03:37:36.211 V/MmsConfig(14154): tag: bool value: enableSplitSMS - false
03-22 03:37:36.211 V/MmsConfig(14154): tag: int value: smsToMmsTextThreshold - -1
03-22 03:37:36.211 V/MmsConfig(14154): tag: bool value: enableSlideDuration - true
03-22 03:37:36.211 V/MmsConfig(14154): tag: int value: maxMessageTextSize - -1
03-22 03:37:36.211 V/MmsConfig(14154): tag: bool value: enableSprintVVM - false
03-22 03:37:36.221 W/InputMethodManagerService(10505): Focus gain on non-focused client [email protected] (uid=10125 pid=14032)
03-22 03:37:36.366 D/Mms/compose(14154): [1] [initialize] savedInstanceState = null intent = Intent { act=android.intent.action.SEND typ=text/plain flg=0x1 cmp=com.android.mms/.ui.ComposeMessageActivity (has clip) (has extras) } mConversation = [] (tid 0)
03-22 03:37:36.421 D/Mms/compose(14154): [1] [startMsgListQuery] ##### startMsgListQuery: conversationUri is null, bail!
03-22 03:37:36.426 D/MMS Input Type(14154): 64
03-22 03:37:36.486 E/ActivityThread(11178): Failed to find provider info for com.android.inputmethod.latin.dictionarypack
03-22 03:37:36.491 E/BinaryDictionaryGetter(11178): Could not find a dictionary pack
03-22 03:37:36.526 D/libEGL* (14154): loaded /system/lib/egl/libEGL_mali.so
03-22 03:37:36.531 D/libEGL* (14154): loaded /system/lib/egl/libGLESv1_CM_mali.so
03-22 03:37:36.536 D/libEGL* (14154): loaded /system/lib/egl/libGLESv2_mali.so
03-22 03:37:36.561 D/OpenGLRenderer(14154): Enabling debug mode 0
03-22 03:37:36.731 I/ActivityManager(10505): Displayed com.android.mms/.ui.ComposeMessageActivity: +751ms
03-22 03:37:37.306 D/dalvikvm(10505): GC_EXPLICIT freed 1191K, 48% free 20429K/39047K, paused 2ms+10ms, total 116ms
03-22 03:37:37.656 D/dalvikvm(14154): null clazz in OP_INSTANCE_OF, single-stepping
03-22 03:37:39.696 D/dalvikvm(11178): GC_CONCURRENT freed 1809K, 56% free 3909K/8839K, paused 8ms+15ms, total 125ms
03-22 03:37:47.031 E/RichInputConnection(11178): Batch edit level incorrect : 0
03-22 03:37:47.031 E/RichInputConnection(11178): com.android.inputmethod.latin.RichInputConnection.checkBatchEdit(RichInputConnection.java:80)
03-22 03:37:47.031 E/RichInputConnection(11178): com.android.inputmethod.latin.RichInputConnection.finishComposingText(RichInputConnection.java:85)
03-22 03:37:47.031 E/RichInputConnection(11178): com.android.inputmethod.latin.LatinIME.resetEntireInputState(LatinIME.java:1049)
03-22 03:37:47.031 E/RichInputConnection(11178): com.android.inputmethod.latin.LatinIME.onUpdateSelection(LatinIME.java:842)
03-22 03:37:47.536 E/RichInputConnection(11178): Batch edit level incorrect : 0
03-22 03:37:47.536 E/RichInputConnection(11178): com.android.inputmethod.latin.RichInputConnection.checkBatchEdit(RichInputConnection.java:80)
03-22 03:37:47.536 E/RichInputConnection(11178): com.android.inputmethod.latin.RichInputConnection.finishComposingText(RichInputConnection.java:85)
03-22 03:37:47.536 E/RichInputConnection(11178): com.android.inputmethod.latin.LatinIME.resetEntireInputState(LatinIME.java:1049)
03-22 03:37:47.536 E/RichInputConnection(11178): com.android.inputmethod.latin.LatinIME.onUpdateSelection(LatinIME.java:842)
03-22 03:37:49.261 V/PhoneStatusBar(11074): setLightsOn(true)
03-22 03:37:49.321 W/IInputConnectionWrapper(14154): showStatusIcon on inactive InputConnection
03-22 03:37:51.806 D/dalvikvm(14032): GC_CONCURRENT freed 3278K, 37% free 12391K/19655K, paused 4ms+26ms, total 115ms
03-22 03:37:51.806 D/dalvikvm(14032): WAIT_FOR_CONCURRENT_GC blocked 35msOkay, so I did find something in my loccat logs. I will post it below. Thanks in advance
Already on page 6, damn.. Bump?
Bump + more information
Bump again.. Anyone at all?
Anyways, here is some more information..
pixldrop.com/view/sRYQvA.png
The file on the left is the original APK (FIlesize 12 874kb) and the file on the right is the (re)compiled one (No changes made in code at all) (FIlesize 12 870kb)
This is the steps that I did:
1. Get the APK from the phone using easyadb.
2. decompile it and open it up in Virtous ten Studio using the latest APKtool and the framework files from my current ROM
3. "Build All" in Virtous ten studio (No changes made at all). This step also zipallign itand write test keys to the APK
4. Install the recompiled APK on my phone.
5. Game loads up fine but I can not basically press anything at all.

[HELP] Phone suddently FREEZE, include Logcat

hai, can anyone see what the problem here?
because my phone suddenly freeze
sorry coz i really noob about all of this. :crying:
thanks for your help :highfive:
Code:
D/dalvikvm( 8831): Added shared lib /data/app-lib/com.tencent.mm-2/libxlog.so 0x
41a8ca18
D/dalvikvm( 8831): No JNI_OnLoad found in /data/app-lib/com.tencent.mm-2/libxlog
.so 0x41a8ca18, skipping init
W/MicroMsg.xlogger( 8831): JNI_Xlog_onCreate
I/Process ( 8831): Sending signal. PID: 8831 SIG: 9
I/ActivityManager( 5051): Process com.tencent.mm:tools (pid 8831) has died.
D/lights ( 5051): set_light_buttons: 2
D/dalvikvm( 7447): GC_CONCURRENT freed 1989K, 50% free 5428K/10776K, paused 3ms+
7ms, total 57ms
D/dalvikvm( 5051): GC_FOR_ALLOC freed 5796K, 45% free 22714K/40900K, paused 125m
s, total 125ms
D/dalvikvm( 5563): GC_FOR_ALLOC freed 2975K, 33% free 12003K/17796K, paused 27ms
, total 27ms
D/lights ( 5051): set_light_buttons: 1
I/ActivityManager( 5051): START u0 {act=android.intent.action.MAIN cat=[android.
intent.category.LAUNCHER] flg=0x10200000 cmp=com.oasisfeng.greenify/.GreenifyAct
ivity bnds=[362,556][475,686]} from pid 5563
I/ActivityManager( 5051): Start proc com.oasisfeng.greenify for activity com.oas
isfeng.greenify/.GreenifyActivity: pid=8854 uid=10122 gids={50122, 3003, 1007, 1
028}
D/dalvikvm( 5051): GC_FOR_ALLOC freed 4109K, 45% free 22651K/40900K, paused 106m
s, total 106ms
W/ResourceType( 5051): Skipping entry 0x7f040021 in package table 0 because it i
s not complex!
W/ResourceType( 5051): Skipping entry 0x7f040022 in package table 0 because it i
s not complex!
I/Cleaner ( 6735): Service is started.
I/ActivityManager( 5051): Displayed com.oasisfeng.greenify/.GreenifyActivity: +6
06ms
D/lights ( 5051): set_light_buttons: 2
W/GAV3 ( 8854): Thread[GAThread,5,main]: Service unavailable (code=1), will r
etry.
W/ActivityManager( 5051): Unable to start service Intent { act=com.google.androi
d.gms.analytics.service.START (has extras) } U=0: not found
I/GAV3 ( 8854): Thread[GAThread,5,main]: No campaign data found.
W/ActivityManager( 5051): Unable to start service Intent { act=com.google.androi
d.gms.analytics.service.START (has extras) } U=0: not found
W/GAV3 ( 8854): Thread[Service Reconnect,5,main]: Service unavailable (code=1
), using local store.
D/MobileDataStateTracker( 5051): default: setPolicyDataEnable(enabled=true)
D/lights ( 5051): set_light_buttons: 1
D/lights ( 5051): set_light_buttons: 2
I/InputDispatcher( 5051): Application is not responding: AppWindowToken{42c302b8
token=Token{42e684d8 ActivityRecord{41ab3820 u0 com.oasisfeng.greenify/.Greenif
yActivity}}} - Window{42b31eb0 u0 com.oasisfeng.greenify/com.oasisfeng.greenify.
GreenifyActivity}. It has been 5002.5ms since event, 5000.9ms since wait starte
d. Reason: Waiting because the focused window has not finished processing the i
nput events that were previously delivered to it.
I/WindowManager( 5051): Input event dispatching timed out sending to com.oasisfe
ng.greenify/com.oasisfeng.greenify.GreenifyActivity

Categories

Resources