GhettoRoot for the Samsung Galaxy Note 2 (I605) - 4.4.2 ND7 using Ubuntu 14.04LTS
May or may not work on other Linux distributions.
May or may not work for you:
NO GUARANTEES. USE AT YOUR OWN RISK.
I copied the following from the 'ghettoroot.bat' file in the GhettoRoot directory.
Credit goes to whoever is responsible for GhettoRoot.
NO GUARANTEES. USE AT YOUR OWN RISK.
Phone must be in 'Developer Mode'.
Connected to PC via a USB cable.
Adb must be installed on PC
Download 'ghettoroot.zip' from here:
http://forum.xda-developers.com/not...lroot-port-t2864125/post55210343#post55210343
Make sure no Ghettoroot or parts of GhettoRoot are already on your Note 2 by removing old root files.
adb shell "rm -f /data/local/tmp/cube-towel; rm -rf /data/local/tmp/META-INF; rm -rf /data/local/tmp/SuperSU; rm -f /data/local/tmp/*SuperSU*.zip; rm -f /data/local/tmp/busybox; rm -f /data/local/tmp/foo"
Check to see if successful:
adb shell ls -l /data/local/tmp
Pushing necessary files to your phone.:
adb push /(Path to GhettoRoot Directory)/libs/armeabi/ghettoroot /data/local/tmp/ghettoroot
adb push /(Path to GhettoRoot Directory)/data/local/tmp /data/local/tmp
Starting root exploit:
[email protected]:~$ adb push /(Path to GhettoRoot Directory)/GhettoRoot/libs/armeabi/ghettoroot /data/local/tmp/ghettoroot & adb shell "cd data/local/tmp; chmod 0755 ghettoroot; ./ghettoroot %*"
The following happened:
[2] 6579
************************************************
native ghettoroot, aka cube-towel, aka towelroot
running with pid 15545
kernel version: Linux version 3.0.31-1496113 ([email protected]) (gcc version 4.4.3 (GCC) ) #1 SMP PREEMPT Thu May 8 01:19:38 KST 2014
found matching phone: Linux version 3.0.31-
modstring: 1337 0 1 0 4 0
************************************************
Enter send_magicmsg (722)
Enter make_socket (681)
Enter search_goodnum (842)
Enter accept_socket (1072)
Socket tastefully accepted.
Exit make_socket (709)
Enter wake_actionthread (622)
Enter make_sigaction (579)
Exit wake_actionthread (675)
Enter wake_actionthread (622)
Enter make_sigaction (579)
Exit wake_actionthread (675)
starting the dangerous things
Enter setup_exploit (817)
Exit setup_exploit (824)
Enter setup_exploit (817)
Exit setup_exploit (824)
search_goodnum 908
MAGIC: a0000800
MAGIC_ALT: 00100800
magicval: a0000820
Enter wake_actionthread (622)
Enter make_sigaction (579)
Exit wake_actionthread (675)
MAGIC = MAGIC_ALT;
search_goodnum 920
Enter setup_exploit (817)
Exit setup_exploit (824)
Enter wake_actionthread (622)
Enter make_sigaction (579)
Exit wake_actionthread (675)
0xd527a000 is a good number
Enter get_root (310; tid: 3cc0)
get_root 315
cpid1 resumed
In get_root(329): HACKS_fdm = 7 [/dev/pts/1]
In get_root(349): ph->limit_offset == 0
Enter setup_exploit (817)
Exit setup_exploit (824)
Enter wake_actionthread (622)
Enter make_sigaction (579)
Exit wake_actionthread (675)
0xd2695d5c is also a good number
Enter setup_exploit (817)
Exit setup_exploit (824)
Enter wake_actionthread (622)
Enter make_sigaction (579)
Exit wake_actionthread (675)
Enter get_root (310; tid: 3cc2)
GOING
get_root 315
cpid3 resumed
In get_root(358): read(HACKS_fdm, readbuf, sizeof readbuf);
get_root 361
In write_pipe(258) dest:d2684008 src:00011000 count:4
get_root 364
get_root 367
WOOT
Enter read_pipe (233)
read_pipe(236) src:d2684000 dest:40b99a4c count:16
Exit read_pipe(248): len:16
ti.task=e85ce600 .flags=00000200 .preempt_count=1 .addr_limit=ffffffff
Enter read_pipe (233)
read_pipe(236) src:e85ce600 dest:40b9964c count:1024
Exit read_pipe(248): len:1024
00000000 d2684000 00000002 00400040 00000000 00000000 00000001 00000001 00000082 00000082 00000082 00000000 c065fae0 00000000 0000006e 0253c825 00000001 db605dc0 00000000 db605dcc c316b5a0 00000001 d109a1e4 000005fb 000363ff 00000000 fcfee913 000046f7 000363ff 00000000 00000000 00000000 00000000 00000000 005e33e2 00000000 0000000e 00000000 006d0313 00000000 00000000 00000000 00000000 00000000 00000000 00000000 000d42db 00000000 000f9377 00000000 00000000 00000000 00000000 00000000 00008ca0 00000000 00007ab9 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 0000000d 00000000 00000000 00000000 00000000 00000000 0000000d 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 c316b570 00000000 00000000 e85ce768 e85ce768 00000000 000000c8 00000001 00000000 00000000 c316b610 00000000 00000000 00000000 00000000 00000001 00000000 00000000 e85ce7a4 e85ce7a4 00000000 0000000d 00000000 006cd897 00000000 d109a1e4 000005fb 00000000 00000000 c0acfb40 db604e50 0000008c e85ce7dc e85ce7dc e85ce7e4 e85ce7e4 e8229d40 e8229d40 00000001 00000001 00000000 00000001 00000000 00000000 00000000 ffffffff 00000000 00000000 00800000 00000000 00003cc2 00003cb9 db604c80 db604c80 e85ce834 e85ce834 e85ce83c e85ce83c db600cc0 e85ce848 e85ce848 e85ce850 e85ce850 00000000 dbd11148 dbd11140 db604ee4 e4873fcc e4873fc0 db604ef0 e4873fd0 e4873fc0 db600f3c e85cecbc 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000002 0000000a 000019b3 05429f05 000059f2 078c169f 00000001 00000000 00000000 00000000 00000000 00000000 00000000 e85ce8e0
Supposedly found credential at taskbuf[184]: c73dd400
Enter read_pipe (233)
read_pipe(236) src:c73dd400 dest:40b995f0 count:92
Exit read_pipe(248): len:92
Enter read_pipe (233)
read_pipe(236) src:cd1c3f80 dest:40b995d8 count:24
Exit read_pipe(248): len:24
YOU ARE A SCARY PHONE
In write_pipe(258) dest:cd1c3f80 src:40b995d8 count:24
In write_pipe(258) dest:c73dd400 src:40b995f0 count:92
In write_pipe(258) dest:e85ce824 src:00011004 count:4
-rw-rw-rw- root root 0 2014-10-06 13:28 rooted
856 KB/s (34208 bytes in 0.039s)
Package com.sec.knox.seandroid new state: disabled
Disabling Knox: Success
Disabling SEAndroid: Success
Package com.sec.knox.seandroid new state: disabled
Disabling Knox (again): Success
Package com.policydm new state: disabled
Disabling Policy Updater: Success
Disabling Local OTA Updates: Success
Package com.sec.android.fwupgrade new state: disabled
Disabling FWUpgrade: Success
Disabling Samsung Data Migration tool: Success
Remounting /system: Success
Remounting /: Success
Archive: /data/local/tmp/UPDATE-SuperSU.zip
inflating: META-INF/com/google/android/update-binary
inflating: META-INF/com/google/android/updater-script
/system/bin/cp: /system/app/Maps.apk: No such file or directory
ui_print *********************
ui_print
ui_print SuperSU installer ZIP
ui_print
ui_print *********************
ui_print
ui_print - Mounting /system, /data and rootfs
ui_print
Usage: mount [-r] [-w] [-o options] [-t type] device directory
Usage: mount [-r] [-w] [-o options] [-t type] device directory
skip reached end of input
skip reached end of input
2+0 records in
2+0 records out
2 bytes transferred in 0.001 secs (2000 bytes/sec)
ui_print - Extracting files
ui_print
Archive: /data/local/tmp/UPDATE-SuperSU.zip
inflating: META-INF/MANIFEST.MF
inflating: META-INF/CERT.SF
inflating: META-INF/CERT.RSA
inflating: META-INF/com/google/android/update-binary
inflating: META-INF/com/google/android/updater-script
inflating: arm/chattr
inflating: arm/chattr.pie
inflating: arm/su
inflating: common/99SuperSUDaemon
inflating: common/Superuser.apk
inflating: common/install-recovery.sh
inflating: x86/chattr
inflating: x86/chattr.pie
inflating: x86/su
ui_print - Disabling OTA survival
ui_print
/tmp/supersu/arm/chattr: No such file or directory while trying to stat /system/xbin/su
/tmp/supersu/arm/chattr.pie: No such file or directory while trying to stat /system/xbin/su
/tmp/supersu/arm/chattr: No such file or directory while trying to stat /system/bin/.ext/.su
/tmp/supersu/arm/chattr.pie: No such file or directory while trying to stat /system/bin/.ext/.su
/tmp/supersu/arm/chattr: No such file or directory while trying to stat /system/xbin/daemonsu
/tmp/supersu/arm/chattr.pie: No such file or directory while trying to stat /system/xbin/daemonsu
/tmp/supersu/arm/chattr: No such file or directory while trying to stat /system/etc/install-recovery.sh
/tmp/supersu/arm/chattr.pie: No such file or directory while trying to stat /system/etc/install-recovery.sh
ui_print - Removing old files
ui_print
ui_print - Creating space
ui_print
cp: /system/app/Maps.apk: No such file or directory
rm failed for /system/app/Maps.apk, No such file or directory
ui_print - Placing files
ui_print
mkdir failed for /system/bin/.ext, File exists
cp: /system/etc/init.d/99SuperSUDaemon: No such file or directory
ui_print - Restoring files
ui_print
cp: /Maps.apk: No such file or directory
rm failed for /Maps.apk, No such file or directory
ui_print - Setting permissions
ui_print
Unable to chown /system/etc/init.d/99SuperSUDaemon: No such file or directory
Unable to chown /system/etc/init.d/99SuperSUDaemon: No such file or directory
Unable to chmod /system/etc/init.d/99SuperSUDaemon: No such file or directory
Unable to chown /system/app/Maps.apk: No such file or directory
Unable to chown /system/app/Maps.apk: No such file or directory
Unable to chmod /system/app/Maps.apk: No such file or directory
chcon: Could not label /system/etc/init.d/99SuperSUDaemon with ubject_r:system_file:s0: No such file or directory
chcon: Could not label /system/etc/init.d/99SuperSUDaemon with ubject_r:system_file:s0: No such file or directory
chcon: Could not label /system/app/Maps.apk with ubject_r:system_file:s0: No such file or directory
chcon: Could not label /system/app/Maps.apk with ubject_r:system_file:s0: No such file or directory
ui_print - Post-installation script
ui_print
ui_print - Unmounting /system and /data
ui_print
failed: Device or resource busy
failed: Device or resource busy
ui_print - Done !
ui_print
failed on '/system/app/Maps.apk.prespaz' - No such file or directory
get_root 550
: No such file or directory
User command failed (-1)Error running user command: 65280Thank you for choosing ghettoroot. Please enjoy your stay.
Your device will reboot in 10 seconds.
This is normal. Thanks for waiting.
10 seconds...
5 seconds...
Rebooting...
[1] Done adb push ~/Down*/Ghetto/GhettoRoot/libs/armeabi/ghettoroot /data/local/tmp/ghettoroot
[2]+ Done adb push ~/Down*/Ghetto/GhettoRoot/libs/armeabi/ghettoroot /data/local/tmp/ghettoroot
[email protected]:~$
IT WORKED FOR ME. MAY OR MAY NOT WORK FOR YOU.
Related
Hello dear xda family,
I have problem to run zipalign process on my "Fedora x86" , here is my logs:
Code:
======= Backtrace: =========
/lib/libc.so.6(+0x6e2f3)[0xb756c2f3]
/lib/libc.so.6(+0x75e52)[0xb7573e52]
sort[0x8050fc1]
sort[0x804f27e]
sort[0x804f433]
sort[0x804f3a6]
sort[0x804f3a6]
sort[0x804f3a6]
sort[0x804f3a6]
sort[0x8052277]
sort[0x804bddc]
/lib/libc.so.6(__libc_start_main+0xf3)[0xb7517b73]
sort[0x804cf15]
======= Memory map: ========
08048000-08064000 r-xp 00000000 fd:00 1190103 /usr/bin/sort
08064000-08065000 r--p 0001b000 fd:00 1190103 /usr/bin/sort
08065000-08066000 rw-p 0001c000 fd:00 1190103 /usr/bin/sort
08fde000-08fff000 rw-p 00000000 00:00 0 [heap]
4e047000-4e062000 r-xp 00000000 fd:00 1182152 /usr/lib/libgcc_s-4.8.2-20131212.so.1
4e062000-4e063000 r--p 0001a000 fd:00 1182152 /usr/lib/libgcc_s-4.8.2-20131212.so.1
4e063000-4e064000 rw-p 0001b000 fd:00 1182152 /usr/lib/libgcc_s-4.8.2-20131212.so.1
b6edc000-b72fd000 rw-p 00000000 00:00 0
b72fd000-b74fd000 r--p 00000000 fd:00 1190858 /usr/lib/locale/locale-archive
b74fd000-b74fe000 rw-p 00000000 00:00 0
b74fe000-b76b6000 r-xp 00000000 fd:00 1179834 /usr/lib/libc-2.18.so
b76b6000-b76b8000 r--p 001b8000 fd:00 1179834 /usr/lib/libc-2.18.so
b76b8000-b76b9000 rw-p 001ba000 fd:00 1179834 /usr/lib/libc-2.18.so
b76b9000-b76bc000 rw-p 00000000 00:00 0
b76bc000-b76d3000 r-xp 00000000 fd:00 1180239 /usr/lib/libpthread-2.18.so
b76d3000-b76d4000 r--p 00016000 fd:00 1180239 /usr/lib/libpthread-2.18.so
b76d4000-b76d5000 rw-p 00017000 fd:00 1180239 /usr/lib/libpthread-2.18.so
b76e6000-b76e8000 rw-p 00000000 00:00 0
b76e8000-b76ef000 r--s 00000000 fd:00 1181174 /usr/lib/gconv/gconv-modules.cache
b76ef000-b76f0000 rw-p 00000000 00:00 0
b76f0000-b770f000 r-xp 00000000 fd:00 1185012 /usr/lib/ld-2.18.so
b770f000-b7710000 r-xp 00000000 00:00 0 [vdso]
b7710000-b7711000 r--p 0001f000 fd:00 1185012 /usr/lib/ld-2.18.so
b7711000-b7712000 rw-p 00020000 fd:00 1185012 /usr/lib/ld-2.18.so
bf997000-bf9b8000 rw-p 00000000 00:00 0 [stack]
Can someone help me?
how to get all kernel crash info from last_kmsg?
when i analysis the kernel crash log, i found the last_kmsg (adb shell cat proc/last_kmsg) is incomplete, like this:
Code:
[email protected]:/ $ cat proc/last_kmsg
ram console header, hw_status: 2, fiq step 41.
955e1c d7955e00 c06b8d84 c042be34 c06b8e78 d6590d88 d6590c00
[ 1247.123224]5e0c c1ff0c40 d7955e3c d7955e20 c06b8e00 c06b8d50 c02ab2b4 c02aa9ac d6590d88
[ 1247.123279]5e2c dcc00c80 d7955e4c d7955e40 c06b8e8c c06b8df0 d7955f1c d7955e50 c0040f80
[ 1247.123336]<0>-(0)[1377:kworker/0:2]
[ 1247.123336]<0>R7: 0xd6590b80:
[ 1247.123349]0b80 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[ 1247.123401]0ba0 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[ 1247.123454]0bc0 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[ 1247.123506]0be0 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[ 1247.123558]0c00 00000000 746b746d 746d7773 00000000 00000000 00000000 00000000 ddcbaa00
[ 1247.123612]0c20 dcc1e4c0 c4af8224 d6590424 df347280 df8ff340 c0d484b8 dcc1e580 00000002
[ 1247.123666]0c40 00000007 00000000 00000000 00000001 00000000 d6590c54 d6590c54 00000000
[ 1247.123719]0c60 00000000 00000000 00000000 00000000 00000000 00000020 00000000 c4af827c
[ 1247.123775]<0>-(0)[1377:kworker/0:2]
[ 1247.123775]<0>R8: 0xc0db6970:
[ 1247.123788]6970 00000000 00000000 c0c97cb4 00000000 00000000 00000000 00000000 c0c97cc8
[ 1247.123841]6990 00000000 00000000 00000000 00000000 c0c97ce0 00000000 00000000 00000000
[ 1247.123894]69b0 00000000 c0c97cf0 00000000 00000000 00000000 00000000 c0c97d60 00000000
[ 1247.123947]69d0 00000000 00000000 00000000 c0c97d50 00000000 00000000 00000000 00000000
[ 1247.124000]69f0 c0c97da0 00000000 00000000 00000000 00000000 c0c97db8 00000000 00000000
[ 1247.124054]6a10 00000000 00000000 c0c97d88 00000000 00000000 00000000 00000000 c0c97d70
[ 1247.124106]6a30 00000000 00000000 00000000 00000000 c0c97dd0 00000000 00000000 00000000
[ 1247.124159]6a50 00000000 c0c980c8 00000001 00000000 00000000 df975548 c0c98090 00000000
[ 1247.124216]<0>-(0)[1377:kworker/0:2]
[ 1247.124216]<0>R9: 0xc1ff2780:
[ 1247.124228]2780 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[ 1247.124280]27a0 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[ 1247.124333]27c0 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[ 1247.124385]27e0 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[ 1247.124438]2800 c1ff0c40 df812cc0 00000000 ffffffff 00000002 00000001 00000000 00000000
[ 1247.124491]2820 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[ 1247.124543]2840 00000000 00000000 00000000 00000000 00000001 00000100 c1ff2858 c1ff2858
[ 1247.124597]2860 df812cc0 c1ffa860 c1ff2868 c1ff2868 ffffffe0 c1ff2874 c1ff2874 c00408fc
[ 1247.124657]<0>-(0)[1377:kworker/0:2]Process kworker/0:2 (pid: 1377, stack limit = 0xd7954248)
[ 1247.124672]<0>-(0)[1377:kworker/0:2]Stack: (0xd7955d80 to 0xd7956000)
[ 1247.124692]<0>-(0)[1377:kworker/0:2]5d80: 00000000 d6590c00 d7955db4 d7955d98 c0431d00 c04e538c d6590c00 d6590c00
[ 1247.124711]<0>-(0)[1377:kworker/0:2]5da0: d7955e24 d7954010 d7955dfc d7955db8 c042be64 c0431cec d7955e4c c0b33cbe
[ 1247.124729]<0>-(0)[1377:kworker/0:2]5dc0: d7955e24 d7955dd0 c02aab20 00000000 00000000 d6590c00 d6590d68 d7955e24
[ 1247.124748]<0>-(0)[1377:kworker/0:2]5de0: d7954010 c0db69f0 c1ff2800 00000000 d7955e1c d7955e00 c06b8d84 c042be34
[ 1247.124767]<0>-(0)[1377:kworker/0:2]5e00: c06b8e78 d6590d88 d6590c00 c1ff0c40 d7955e3c d7955e20 c06b8e00 c06b8d50
[ 1247.124785]<0>-(0)[1377:kworker/0:2]5e20: c02ab2b4 c02aa9ac d6590d88 dcc00c80 d7955e4c d7955e40 c06b8e8c c06b8df0
[ 1247.124804]<0>-(0)[1377:kworker/0:2]5e40: d7955f1c d7955e50 c0040f80 c06b8e84 c00c22f8 c02b297c 183606ab c1ff2800
[ 1247.124822]<0>-(0)[1377:kworker/0:2]5e60: 1cc7c67f 00000121 00000000 00000000 72656874 5f6c616d 656e6f7a 7665645f
[ 1247.124841]<0>-(0)[1377:kworker/0:2]5e80: 5f656369 63656863 c0d0006b c0d27100 c0d27134 c0d04040 c00414f4 c092d5dc
[ 1247.124860]<0>-(0)[1377:kworker/0:2]5ea0: 60000013 f0222000 d7955ec4 d7955eb8 c00081d0 c000faac d7955f1c d7955ec8
[ 1247.124878]<0>-(0)[1377:kworker/0:2]5ec0: c000ecf8 c00081cc c1ff0c40 00000001 dd9e5000 00002181 dcc00c80 c1ff0c54
[ 1247.124897]<0>-(0)[1377:kworker/0:2]5ee0: dcc00c98 dcc00c80 c1ff0c54 dcc00c98 d7954000 dcc00c80 c1ff0c54 dcc00c98
[ 1247.124916]<0>-(0)[1377:kworker/0:2]5f00: d7954000 d7954020 d7954000 c1ff0c40 d7955f5c d7955f20 c0041438 c0040e1c
[ 1247.124934]<0>-(0)[1377:kworker/0:2]5f20: c092d5b0 df853e58 00000000 c0db6661 c00412fc df853e58 00000000 dcc00c80
[ 1247.124953]<0>-(0)[1377:kworker/0:2]5f40: c00412fc 00000000 00000000 00000000 d7955fac d7955f60 c0047b44 c0041308
[ 1247.124971]<0>-(0)[1377:kworker/0:2]5f60: c092d5e4 00000000 d7955f94 dcc00c80 00000000 00000000 d7955f78 d7955f78
[ 1247.124990]<0>-(0)[1377:kworker/0:2]5f80: 00000000 00000000 d7955f88 d7955f88 df853e58 c0047a88 00000000 00000000
[ 1247.125008]<0>-(0)[1377:kworker/0:2]5fa0: 00000000 d7955fb0 c000f2d8 c0047a94 00000000 00000000 00000000 00000000
[ 1247.125026]<0>-(0)[1377:kworker/0:2]5fc0: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[ 1247.125044]<0>-(0)[1377:kworker/0:2]5fe0: 00000000 00000000 00000000 00000000 00000013 00000000 ff000000 ff000000
[ 1247.125054]Backtrace:
...
...
[ 1247.125406]<0>-(0)[1377:kworker/0:2][<c00412fc>] (worker_thread+0x0/0x3f0) from [<c0047b44>] (kthread+0xbc/0xc0)
[ 1247.125434]<0>-(0)[1377:kworker/0:2][<c0047a88>] (kthread+0x0/0xc0) from [<c000f2d8>] (ret_from_fork+0x14/0x3c)
[ 1247.125445] r7:00000000 r6:00000000 r5:c0047a88 r4:df853e58
[ 1247.125486]<0>-(0)[1377:kworker/0:2]Code: bad PC value
[ 1247.125504]<0>-(0)[1377:kworker/0:2]---[ end trace 912237b3a2fb65fb ]---
[ 1247.125519]<0>-(0)[1377:kworker/0:2]Kernel panic - not syncing: Fatal exception
[ 1247.125572]<0>-(0)[1377:kworker/0:2]mrdump: cpu[0] tsk:dd9e5000 ti:d7954000
[ 1254.517417]<0>-(0)[1377:kworker/0:2]
[ 1254.517417]<0> No log for WDT
[ 1254.533700]<0>-(0)[1377:kworker/0:2]ipanic_data_to_sd: dump SYS_WQ_LOG failed[-3]
[ 1254.533717]<0>-(0)[1377:kworker/0:2]ipanic_data_to_sd: dump SYS_MMPROFILE failed[-3]
[ 1254.572077]Rebooting in 1 seconds..machine_shutdown: start, Proess(kworker/0:2:1377). father kthreadd:2. grandfather swapper/0:0.
[ 1255.572166]<0>-(0)[1377:kworker/0:2]arch_reset: cmd = NULL
[ 1255.572194]<0>-(0)[1377:kworker/0:2]wdt_arch_reset [email protected] mode =
[ 1255.572237]<0>-(0)[1377:kworker/0:2]wdt_arch_reset called MTK_WDT_MODE =5d
[ 1255.572250]<0>-(0)[1377:kworker/0:2]wdt_arch_reset called end MTK_WDT_MODE =22000014
[ 1255.572363]<0>-(0)[1377:kworker/0:2]wdt_arch_reset: SW_reset happen
[ 1255.572375]<0>-(0)[1377:kworker/0:2]****************dump wdt reg start*************
[ 1255.572387]<0>-(0)[1377:kworker/0:2]MTK_WDT_MODE:0x14
[ 1255.572400]<0>-(0)[1377:kworker/0:2]MTK_WDT_LENGTH:0xf000
[ 1255.572412]<0>-(0)[1377:kworker/0:2]MTK_WDT_RESTART:0x0
[ 1255.572424]<0>-(0)[1377:kworker/0:2]MTK_WDT_STATUS:0x40000000
it lost most regs info, r0, r1... crash pc, lr ...
it's appear in arm32 except nexus
i find out some info, the phone manufacturers set the log file to 4kb, if the crash log is too long, it will overwrite old log.
Where can I get more information about last_kmsg file size?
how to change the crash log size and get all crash info from last_kmsg?
@idhyt Well, I'm not sure what platform you are on, but maybe something like this would help?
capt_planit said:
@idhyt Well, I'm not sure what platform you are on, but maybe something like this would help?
Click to expand...
Click to collapse
thank you replay, my phone is xiaomi-hm1s and meizu-mx4, also in most arm32 platform(except nexus), the link seems diff with my issue~
also i could't find the /efs/carrier/HiddenMenu in my phone...
@idhyt what does "cat /proc/sys/kernel/dmesg_restrict" (no quotes) say?
Hi all,
this is my personal activity, I already contacted Prestigio manufacturer but they are very very unfriendly and I do not recommend buying from them any more. No chance to get source from them for kernel.
I asked it for 5 years old product ! I believe no value for them any more. It uses MTK6577 SoC.
I have small tablet in object. It has only 512MB ram so I wanted to try to use SWAPping. But original kernel does not support it. So I already tried to use CinkKing source and I already made a lof of progress.
I made console to my tablet so I can see logs. I am able to replace kernel using CWM, so I have already done a lot of work on it.
So far I somehow sorted drivers for touchscreen and for display (not sure it is OK already) but this allowed me to reach first mile stone: "kernel_init_done"
Then kernel is started and mounts filesystems. Now I reached second milestone: my new kernel reports exacltly the same number of files as original kernel. See attached logs.
The .config I reconstructed in such a way that original kernel accepts my new ko files: mii.ko, usbnet.ko, usbserial.ko, dm9601.ko, ftdi_sio.ko I can insmode them and they really work. I use usb LAN and FTDI serial adapters. I know, I would need to prove that my new kernel accepts original ko files from system/lib/modules. No idea how to prove this.
I have a feeling that this might be problem. See log. I think original ko files are not accepted? How to know what is going on? I already tried utility addr2line but I am not too much wiser.
Mediatek and its ramdisk after unpacking it has got system folder empty. I have no idea where original ko files (system/bin/modules) really are. How to replace them? It seems their ramdisk is only
a skeleton and real files are somwhere and only referenced by this skeleton. I do not know how it works.
I would be very very gratefull if anybode can me just kick to the roght direction how to proceed further. Or any tip what can be a problem? If I know how to replace also ko files in system/lib/modules I would
simply try them what would change. Then I might prove the original ko files are not accepte by my new kernel.
I use the same compiler "n8b" as manufacturer used. my ko files differ very little from original ones: in my ko files there are two strings more: "nameofmodule.mod.c" and "nameofmodule.c". These are not in
original ko files. I can not find out what is the swich difference for compilation. i spent already 1 month on it. because if I can get exactly the same ko file (bit-to-bit except date) then I would be sure ko files
must be accepted.
Please help! Any kick....
Please also note that messages
BOOTPROF: 2691.748845:INIT:NAND:Mount_START
BOOTPROF: 2693.352076:INIT:NAND:Mount_END
BOOTPROF: 2694.409538:INIT:eMMC:Mount_START
BOOTPROF: 5428.227538:INIT:eMMC:Mount_END
come from init.rd file, so it is sure the ramdisk has been correctly loaded and unpacked in memory and executed
here is a piece of good original log:
---------------------------------------------------------------------------------------------------------------------------------------------------
[ 2.691765] (1)[1:init]BOOTPROF: 2691.748845:INIT:NAND:Mount_START
[ 2.693369] (1)[1:init]BOOTPROF: 2693.352076:INIT:NAND:Mount_END
[ 2.694425] (1)[1:init]BOOTPROF: 2694.409538:INIT:eMMC:Mount_START
argv[0]= exec
argv[1]= /sbin/e2fsck
argv[2]= -p
argv[3]= /[email protected]
/[email protected]: clean, 1741/32768 files, 110091/131072 blocks
e2fsck run ok!
argv[0]= exec
argv[1]= /sbin/e2fsck
argv[2]= -pfD
argv[3]= /[email protected]
/[email protected]: 1916/65536 files (0.3% non-contiguous), 91273/262144 blocks
e2fsck run ok!
argv[0]= exec
argv[1]= /sbin/tune2fs
argv[2]= -O
argv[3]= has_journal
argv[4]= /[email protected]
tune2fs 1.41.12 (17-May-2010)
[ 4.855711] (1)[1:init][dumchar_open]It will open /dev/block/mmcblk0 for misc!If KE, Please check the existence of /dev/block/mmcblk0 !
Success: get encrypted status: 0x0 in MISC
delete lost-found in data dir
rm failed for /data/lost+found/*, No such file or directory
stat syscall fail
stat syscall fail
argv[0]= exec
argv[1]= /sbin/e2fsck
argv[2]= -p
argv[3]= /[email protected]
/[email protected]: recovering journal
/[email protected]: clean, 15/32768 files, 4211/131072 blocks
e2fsck run ok!
argv[0]= exec
argv[1]= /sbin/tune2fs
argv[2]= -O
argv[3]= has_journal
argv[4]= /[email protected]
tune2fs 1.41.12 (17-May-2010)
delete lost-found in cache dir
rm failed for /cache/lost+found/*, No such file or directory
[ 5.428233] (0)[1:init]BOOTPROF: 5428.227538:INIT:eMMC:Mount_END
[ 5.454572] (0)[1:init][Power/clkmgr] [mm_power_prepare]: subsys MM2 is OFF now, enable it first for clock 174
[ 5.464473] (0)[1:init][WDK] mode=0 interval=20 timeout=30
[ 5.476145] (0)[1:init][ccci/com] Ver. v1.5 20121023, @ Jul 31 2013 10:07:24
[ 5.479571] (0)[1:init][ccci/ctl] md_img_vir=0xde8b4000, dsp_img_vir=0xde8b6000
[ 5.480521] (0)[1:init][ASF] 'Thu July 09 12:00:00 CST 2012(ASF_JB)'
[ 5.481316] (0)[1:init][ASF.USIF] open /proc/dumchar_info
[ 5.482099] (0)[1:init][ASF.USIF] RN = 2
[ 5.482577] (0)[1:init][ASF.USIF] usif enabled
[ 5.483158] (0)[1:init][ASF.DEV] open /proc/dumchar_info
here is a piece of my new kernel, note NULL POINTER error:
-----------------------------------------------------------------------------------------------------------------------------------------------------
[ 2.087999] (1)[1:init]BOOTPROF: 2087.982076:INIT:NAND:Mount_START
[ 2.089764] (1)[1:init]BOOTPROF: 2089.746306:INIT:NAND:Mount_END
[ 2.090864] (1)[1:init]BOOTPROF: 2090.847999:INIT:eMMC:Mount_START
argv[0]= exec
argv[1]= /sbin/e2fsck
argv[2]= -p
argv[3]= /[email protected]
/[email protected]: clean, 1741/32768 files, 110091/131072 blocks
e2fsck run ok!
argv[0]= exec
argv[1]= /sbin/e2fsck
argv[2]= -pfD
argv[3]= /[email protected]
/[email protected]: 1916/65536 files (0.3% non-contiguous), 91273/262144 blocks
e2fsck run ok!
argv[0]= exec
argv[1]= /sbin/tune2fs
argv[2]= -O
argv[3]= has_journal
argv[4]= /[email protected]
tune2fs 1.41.12 (17-May-2010)
[ 3.187319] (1)[1:init][dumchar_open]It will open /dev/block/mmcblk0 for misc!If KE, Please check the existence of /dev/block/mmcblk0 !
Success: get encrypted status: 0x0 in MISC
delete lost-found in data dir
rm failed for /data/lost+found/*, No such file or directory
stat syscall fail
stat syscall fail
argv[0]= exec
argv[1]= /sbin/e2fsck
argv[2]= -p
argv[3]= /[email protected]
/[email protected]: recovering journal
/[email protected]: clean, 15/32768 files, 4211/131072 blocks
e2fsck run ok!
argv[0]= exec
argv[1]= /sbin/tune2fs
argv[2]= -O
argv[3]= has_journal
argv[4]= /[email protected]
tune2fs 1.41.12 (17-May-2010)
delete lost-found in cache dir
rm failed for /cache/lost+found/*, No such file or directory
[ 3.333966] (0)[1:init]BOOTPROF: 3333.958922:INIT:eMMC:Mount_END
[ 3.362168] (0)[1:init][Power/clkmgr] [mm_power_prepare]: subsys MM2 is OFF now, enable it first for clock 174
[ 3.365205] (0)[1:init]Unable to handle kernel NULL pointer dereference at virtual address 00000098
[ 3.366332] (0)[1:init]pgd = dd640000
[ 3.366785] (0)[1:init][00000098] *pgd=1ed12831, *pte=00000000, *ppte=00000000
[ 3.367685] (0)[1:init][KERN Warning] Some Kernel ERROR or WARN occur and Force debug_lock off!
[ 3.368767] (0)[1:init][KERN Warning] check below backtrace first:
[ 3.369537] (0)[1:init]Backtrace:
[ 3.369990] (0)[1:init][<c0011de8>] (dump_backtrace+0x0/0x10c) from [<c052fc04>] (dump_stack+0x18/0x1c)
[ 3.371309] (0)[1:init] r6:dde28028 r5:c0654da8 r4:00000000 r3:c0769650
[ 3.372141] (0)[1:init][<c052fbec>] (dump_stack+0x0/0x1c) from [<c02110e4>] (debug_locks_off+0x48/0x8c)
[ 3.373319] (0)[1:init][<c021109c>] (debug_locks_off+0x0/0x8c) from [<c005dec0>] (oops_enter+0x10/0x2c)
[ 3.374496] (0)[1:init] r4:dde29dc8 r3:dde29be8
[ 3.375058] (0)[1:init][<c005deb0>] (oops_enter+0x0/0x2c) from [<c0011fd4>] (die+0x28/0x2bc)
[ 3.376111] (0)[1:init][<c0011fac>] (die+0x0/0x2bc) from [<c052fc64>] (__do_kernel_fault.part.9+0x5c/0x7c)
[ 3.377321] (0)[1:init][<c052fc08>] (__do_kernel_fault.part.9+0x0/0x7c) from [<c0539e28>] (do_page_fault+0x35c/0x3f0)
[ 3.378637] (0)[1:init] r7:dd70c000 r3:dde29dc8
[ 3.379208] (0)[1:init][<c0539acc>] (do_page_fault+0x0/0x3f0) from [<c00083d8>] (do_DataAbort+0x7c/0x100)
[ 3.380540] (0)[1:init][<c000835c>] (do_DataAbort+0x0/0x100) from [<c05380d8>] (__dabt_svc+0x38/0x60)
[ 3.381685] (0)[1:init]Exception stack(0xdde29dc8 to 0xdde29e10)
[ 3.382436] (0)[1:init]9dc0: bf04c4d8 bf02c808 00000001 00000088 bf02c928 bf04c4d8
[ 3.383574] (0)[1:init]9de0: bf02c808 00000000 c06ef1f8 de8e9c24 0000fff1 dde29e2c dde29e30 dde29e10
[ 3.384710] (0)[1:init]9e00: c00a8fc4 c00a8e88 00000013 ffffffff
[ 3.385455] (0)[1:init] r8:c06ef1f8 r7:dde29dfc r6:ffffffff r5:00000013 r4:c00a8e88
[ 3.386418] (0)[1:init][<c00a8e4c>] (ref_module+0x0/0x118) from [<c00a8fc4>] (resolve_symbol.isra.27+0x60/0xa0)
[ 3.387669] (0)[1:init] r6:bf02084c r5:dde29e8c r4:bf04c4d8 r3:00000000
[ 3.388498] (0)[1:init][<c00a8f64>] (resolve_symbol.isra.27+0x0/0xa0) from [<c00a9080>] (simplify_symbols+0x7c/0x28c)
[ 3.389815] (0)[1:init] r6:dde29f3c r5:000000e2 r4:bf052e74
[ 3.390535] (0)[1:init][<c00a9004>] (simplify_symbols+0x0/0x28c) from [<c00aa348>] (sys_init_module+0x9d4/0x1990)
[ 3.391825] (0)[1:init][<c00a9974>] (sys_init_module+0x0/0x1990) from [<c000df00>] (ret_fast_syscall+0x0/0x30)
[ 3.393070] (0)[1:init]Internal error: Oops: 17 [#1] PREEMPT SMP ARM
[ 3.393858] (0)[1:init]Modules linked in: pvrsrvkm bf000000
[ 3.394564] (0)[1:init]CPU: 0 Not tainted (3.4.0 #29)
[ 3.395234] (0)[1:init]PC is at ref_module+0x3c/0x118
[ 3.395863] (0)[1:init]LR is at resolve_symbol.isra.27+0x60/0xa0
[ 3.396611] (0)[1:init]pc : [<c00a8e88>] lr : [<c00a8fc4>] psr: 00000013
[ 3.396618] (0)[1:init]sp : dde29e10 ip : dde29e30 fp : dde29e2c
[ 3.398279] (0)[1:init]r10: 0000fff1 r9 : de8e9c24 r8 : c06ef1f8
[ 3.399049] (0)[1:init]r7 : 00000000 r6 : bf02c808 r5 : bf04c4d8 r4 : bf02c928
[ 3.399981] (0)[1:init]r3 : 00000088 r2 : 00000001 r1 : bf02c808 r0 : bf04c4d8
[ 3.400915] (0)[1:init]Flags: nzcv IRQs on FIQs on Mode SVC_32 ISA ARM Segment user
[ 3.401920] (0)[1:init]Control: 10c53c7d Table: 1ec4004a DAC: 00000015
[ 3.402755] (0)[1:init]
[ 3.402759] (0)[1:init]PC: 0xc00a8e08:
[ 3.403523] (0)[1:init]8e08 e3500000 0a00000b e51b0018 ebfffee9 e3a00001 eb1244ba e1a0200d e3c23d7f
[ 3.404661] (0)[1:init]8e28 e3c3303f e5933000 e3130002 1a000002 e24bd010 e89da810 e7f001f2 eb123756
[ 3.405798] (0)[1:init]8e48 eafffffa e1a0c00d e92dd878 e24cb004 e2516000 e1a05000 01a00006 089da878
[ 3.406936] (0)[1:init]8e68 e1a04006 e5b43120 e1530004 0a000009 e5932010 e1550002 1a000003 ea00002b
[ 3.408074] (0)[1:init]8e88 e5932010 e1550002 0a000022 e5933000 e1530004 1afffff9 e5963000 e3530001
[ 3.409212] (0)[1:init]8ea8 0a000020 e1a00006 ebfffe87 e3500000 03e00001 089da878 e59f3094 e5930014
[ 3.410350] (0)[1:init]8ec8 e3500000 0a000015 e3a01020 eb013ea0 e2503000 0a000017 e5835010 e1a02005
[ 3.411488] (0)[1:init]8ee8 e5836014 e2831008 e596c120 e3a00000 e58c3004 e583c000 e5834004 e5863120
[ 3.412626] (0)[1:init]
[ 3.412631] (0)[1:init]LR: 0xc00a8f44:
[ 3.413395] (0)[1:init]8f44 e59f0014 eb121cea e1a00006 ebfffe9a e3e0000b e89da878 c07ea07c c066feb0
[ 3.414533] (0)[1:init]8f64 e1a0c00d e92dd870 e24cb004 e24dd014 e1a04000 e59f007c e1a06001 e1a05002
[ 3.415671] (0)[1:init]8f84 eb12327f e59430e0 e1a00006 e24b1024 e3130001 e24b2020 e3a03001 e58d3000
[ 3.416808] (0)[1:init]8fa4 13a03000 03a03001 ebffff44 e2506000 0a00000b e51b1024 e1a00004 ebffffa1
[ 3.417946] (0)[1:init]8fc4 e51b1024 e3a0203c e3500000 11a06000 e3510000 1281100c e1a00005 059f1018
[ 3.419084] (0)[1:init]8fe4 eb058f36 e59f000c eb1231ef e1a00006 e24bd018 e89da870 c076bda4 c06525fc
[ 3.420223] (0)[1:init]9004 e1a0c00d e92ddff0 e24cb004 e24dd06c e5913024 e1a06001 e5912008 e50b0080
[ 3.421360] (0)[1:init]9024 e0833103 e0829183 e5993014 e599400c e353001f 93a01000 950b1088 9a000036
[ 3.422499] (0)[1:init]
[ 3.422503] (0)[1:init]SP: 0xdde29d90:
[ 3.423268] (0)[1:init]9d90 bf02c80c bf020844 bf020854 00000000 00000000 c00a8e88 00000013 ffffffff
[ 3.424406] (0)[1:init]9db0 dde29dfc c06ef1f8 dde29e2c dde29dc8 c05380d8 c0008368 bf04c4d8 bf02c808
[ 3.425543] (0)[1:init]9dd0 00000001 00000088 bf02c928 bf04c4d8 bf02c808 00000000 c06ef1f8 de8e9c24
[ 3.426681] (0)[1:init]9df0 0000fff1 dde29e2c dde29e30 dde29e10 c00a8fc4 c00a8e88 00000013 ffffffff
[ 3.427819] (0)[1:init]9e10 00000000 bf04c4d8 dde29e8c bf02084c dde29e5c dde29e30 c00a8fc4 c00a8e58
[ 3.428957] (0)[1:init]9e30 00000001 00000012 bf02c808 00000000 dde29e64 bf052e74 000000e2 dde29f3c
[ 3.430095] (0)[1:init]9e50 dde29ef4 dde29e60 c00a9080 c00a8f70 c00e5040 c05357bc dde28000 00000000
[ 3.431233] (0)[1:init]9e70 de8eb580 bf04c4d8 c00a98fc 00000008 00000008 dd78ae68 00000000 6e72656b
[ 3.432371] (0)[1:init]
[ 3.432376] (0)[1:init]IP: 0xdde29db0:
[ 3.433141] (0)[1:init]9db0 dde29dfc c06ef1f8 dde29e2c dde29dc8 c05380d8 c0008368 bf04c4d8 bf02c808
[ 3.434278] (0)[1:init]9dd0 00000001 00000088 bf02c928 bf04c4d8 bf02c808 00000000 c06ef1f8 de8e9c24
[ 3.435416] (0)[1:init]9df0 0000fff1 dde29e2c dde29e30 dde29e10 c00a8fc4 c00a8e88 00000013 ffffffff
[ 3.436554] (0)[1:init]9e10 00000000 bf04c4d8 dde29e8c bf02084c dde29e5c dde29e30 c00a8fc4 c00a8e58
[ 3.437692] (0)[1:init]9e30 00000001 00000012 bf02c808 00000000 dde29e64 bf052e74 000000e2 dde29f3c
[ 3.438830] (0)[1:init]9e50 dde29ef4 dde29e60 c00a9080 c00a8f70 c00e5040 c05357bc dde28000 00000000
[ 3.439968] (0)[1:init]9e70 de8eb580 bf04c4d8 c00a98fc 00000008 00000008 dd78ae68 00000000 6e72656b
[ 3.441106] (0)[1:init]9e90 00006c65 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[ 3.442244] (0)[1:init]
[ 3.442248] (0)[1:init]FP: 0xdde29dac:
[ 3.443013] (0)[1:init]9dac ffffffff dde29dfc c06ef1f8 dde29e2c dde29dc8 c05380d8 c0008368 bf04c4d8
[ 3.444151] (0)[1:init]9dcc bf02c808 00000001 00000088 bf02c928 bf04c4d8 bf02c808 00000000 c06ef1f8
[ 3.445289] (0)[1:init]9dec de8e9c24 0000fff1 dde29e2c dde29e30 dde29e10 c00a8fc4 c00a8e88 00000013
[ 3.446427] (0)[1:init]9e0c ffffffff 00000000 bf04c4d8 dde29e8c bf02084c dde29e5c dde29e30 c00a8fc4
[ 3.447565] (0)[1:init]9e2c c00a8e58 00000001 00000012 bf02c808 00000000 dde29e64 bf052e74 000000e2
[ 3.448703] (0)[1:init]9e4c dde29f3c dde29ef4 dde29e60 c00a9080 c00a8f70 c00e5040 c05357bc dde28000
[ 3.449840] (0)[1:init]9e6c 00000000 de8eb580 bf04c4d8 c00a98fc 00000008 00000008 dd78ae68 00000000
[ 3.450979] (0)[1:init]9e8c 6e72656b 00006c65 00000000 00000000 00000000 00000000 00000000 00000000
[ 3.452117] (0)[1:init]
[ 3.452121] (0)[1:init]R8: 0xc06ef178:
[ 3.452886] (0)[1:init]f178 c01af8dc c06fef23 c01afab8 c06fee5b c01b50e0 c06febd9 c01af6d8 c06feb14
[ 3.454024] (0)[1:init]f198 c01b49d8 c06fee20 c01b64f4 c06fed91 c01afa34 c06fee93 c01af7d4 c06feb3f
[ 3.455161] (0)[1:init]f1b8 c01b67f4 c06fecd3 c01afac8 c06fef3d c01afee8 c06fec46 c01af9d4 c06fef07
[ 3.456299] (0)[1:init]f1d8 c01b6374 c06feca0 c01b6894 c06feced c01b584c c06fed03 c01b625c c06feb82
[ 3.457437] (0)[1:init]f1f8 c074a080 c06f9b34 c074a080 c06f827e c006321c c06f7c9b c00631fc c06f7cc4
[ 3.458575] (0)[1:init]f218 c0062e38 c06f7da3 c00630a4 c06f7cfd c0063178 c06f7cd7 c0062e50 c06f7d92
[ 3.459713] (0)[1:init]f238 c01adad0 c06fe930 c01ac934 c06fe912 c01ac848 c06fe889 c01ad2f4 c06fe97f
[ 3.460851] (0)[1:init]f258 c01ad344 c06fe9a0 c01ac8f4 c06fe900 c01ae3c8 c06fe95b c01adfd4 c06fe93e
[ 3.461989] (0)[1:init]
[ 3.461993] (0)[1:init]R9: 0xde8e9ba4:
[ 3.462758] (0)[1:init]9ba4 00000001 ffffffff 000000b7 70000003 00000000 de8e9720 00002720 0000002f
[ 3.463896] (0)[1:init]9bc4 00000000 00000000 00000001 ffffffff 000000c7 00000001 00000030 de8e974f
[ 3.465034] (0)[1:init]9be4 0000274f 000000bc 00000000 00000000 00000001 ffffffff 00000011 00000003
[ 3.466172] (0)[1:init]9c04 00000000 de8e980b 0000280b 000000d0 00000000 00000000 00000001 ffffffff
[ 3.467310] (0)[1:init]9c24 00000001 00000002 00000002 bf052064 00002c74 00001000 00000016 000000ab
[ 3.468448] (0)[1:init]9c44 00000004 80000064 00000009 00000003 00000002 bf053064 00003c74 00000b27
[ 3.469586] (0)[1:init]9c64 00000000 00000000 00000001 80001064 00000000 00000000 00000000 00000000
[ 3.470724] (0)[1:init]9c84 00000000 00000000 00000000 00070003 00000000 00000000 00000000 00090003
[ 3.471864] (0)[1:init]Process init (pid: 1, stack limit = 0xdde28300)
[ 3.472676] (0)[1:init]Stack: (0xdde29e10 to 0xdde2a000)
[ 3.473339] (0)[1:init]9e00: 00000000 bf04c4d8 dde29e8c bf02084c
[ 3.474479] (0)[1:init]9e20: dde29e5c dde29e30 c00a8fc4 c00a8e58 00000001 00000012 bf02c808 00000000
[ 3.475617] (0)[1:init]9e40: dde29e64 bf052e74 000000e2 dde29f3c dde29ef4 dde29e60 c00a9080 c00a8f70
[ 3.476754] (0)[1:init]9e60: c00e5040 c05357bc dde28000 00000000 de8eb580 bf04c4d8 c00a98fc 00000008
[ 3.477892] (0)[1:init]9e80: 00000008 dd78ae68 00000000 6e72656b 00006c65 00000000 00000000 00000000
[ 3.479029] (0)[1:init]9ea0: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[ 3.480167] (0)[1:init]9ec0: 00000000 00000000 c076be40 bf04c4d8 00000000 00000000 c0758478 c0545150
[ 3.481306] (0)[1:init]9ee0: de8e95e0 00000017 dde29fa4 dde29ef8 c00aa348 c00a9010 dde29f14 dde29f08
[ 3.482444] (0)[1:init]9f00: c0117b54 c01179d0 de8e9c4c de8e9c24 bf04c4e4 be83bd98 bf04c600 dde28000
[ 3.483581] (0)[1:init]9f20: dd8a90a8 dd794e40 dde15000 00000000 dde15000 dde15040 dde28000 de8e7000
[ 3.484719] (0)[1:init]9f40: 0000514c de8e98dc de8e980b de8eac74 00004eb4 00005a84 00000000 00000000
[ 3.485857] (0)[1:init]9f60: 00000015 00000016 0000000d 00000000 0000000a 00000000 0000514c 0003da78
[ 3.486995] (0)[1:init]9f80: 0004fb38 00034eae 00000080 c000e084 dde28000 00000000 00000000 dde29fa8
[ 3.488133] (0)[1:init]9fa0: c000df00 c00a9980 0003da78 0004fb38 0004fb38 0000514c be83bd98 00054c84
[ 3.489271] (0)[1:init]9fc0: 0003da78 0004fb38 00034eae 00000080 0002cf64 be83bd98 0002c750 00000000
[ 3.490410] (0)[1:init]9fe0: 0002d678 be83bd90 00008213 0000f8a4 20000010 0004fb38 feffdfff 7affff9d
[ 3.491542] (0)[1:init]Backtrace:
[ 3.491972] (0)[1:init][<c00a8e4c>] (ref_module+0x0/0x118) from [<c00a8fc4>] (resolve_symbol.isra.27+0x60/0xa0)
[ 3.493223] (0)[1:init] r6:bf02084c r5:dde29e8c r4:bf04c4d8 r3:00000000
[ 3.494052] (0)[1:init][<c00a8f64>] (resolve_symbol.isra.27+0x0/0xa0) from [<c00a9080>] (simplify_symbols+0x7c/0x28c)
[ 3.495368] (0)[1:init] r6:dde29f3c r5:000000e2 r4:bf052e74
[ 3.496068] (0)[1:init][<c00a9004>] (simplify_symbols+0x0/0x28c) from [<c00aa348>] (sys_init_module+0x9d4/0x1990)
[ 3.497347] (0)[1:init][<c00a9974>] (sys_init_module+0x0/0x1990) from [<c000df00>] (ret_fast_syscall+0x0/0x30)
[ 3.498591] (0)[1:init]Code: e5932010 e1550002 1a000003 ea00002b (e5932010)
[ 3.499468] (0)[1:init]---[ end trace fdf2033ff5efb7a7 ]---
[ 3.500161] (0)[1:init]Kernel panic - not syncing: Fatal exception
Hi , I m tracing a suspicious malware in my phone.
I found there are 2 Async Task in System_server process, who connected to malware website.
following is output of ps command, 4418 and 4422 are the task i m tracing.
Is there anyway to findout which App or where is the code in my phone created these 2 tasks ?
adb shell ps -t 807
USER PID PPID VSIZE RSS WCHAN PC NAME
system 807 239 1199572 123172 SyS_epoll_ 00000000 S system_server
system 814 807 1199572 123172 do_sigtime 00000000 S Signal Catcher
system 815 807 1199572 123172 futex_wait 00000000 S ReferenceQueueD
system 816 807 1199572 123172 futex_wait 00000000 S FinalizerDaemon
system 817 807 1199572 123172 futex_wait 00000000 S FinalizerWatchd
system 819 807 1199572 123172 futex_wait 00000000 S HeapTaskDaemon
system 821 807 1199572 123172 futex_wait 00000000 S PlugThread
system 823 807 1199572 123172 binder_thr 00000000 S Binder_1
system 824 807 1199572 123172 binder_thr 00000000 S Binder_2
system 838 807 1199572 123172 futex_wait 00000000 S .ProcessManager
system 840 807 1199572 123172 binder_thr 00000000 S Binder_3
system 841 807 1199572 123172 SyS_epoll_ 00000000 S android.bg
system 842 807 1199572 123172 SyS_epoll_ 00000000 S ActivityManager
system 843 807 1199572 123172 SyS_epoll_ 00000000 S android.ui
system 844 807 1199572 123172 SyS_epoll_ 00000000 S ActivityManager
system 845 807 1199572 123172 SyS_epoll_ 00000000 S android.fg
system 846 807 1199572 123172 inotify_re 00000000 S FileObserver
system 847 807 1199572 123172 SyS_epoll_ 00000000 S android.io
system 848 807 1199572 123172 SyS_epoll_ 00000000 S android.display
system 849 807 1199572 123172 futex_wait 00000000 S CpuTracker
system 850 807 1199572 123172 SyS_epoll_ 00000000 S AnrMonitorThrea
system 851 807 1199572 123172 SyS_epoll_ 00000000 S PowerManagerSer
system 852 807 1199572 123172 pm_get_wak 00000000 S system_server
system 853 807 1199572 123172 hrtimer_na 00000000 S system_server
system 854 807 1199572 123172 futex_wait 00000000 S BatteryStats_wa
system 855 807 1199572 123172 SyS_epoll_ 00000000 S RecoveryManager
system 856 807 1199572 123172 SyS_epoll_ 00000000 S PackageManager
system 864 807 1199572 123172 SyS_epoll_ 00000000 S PackageInstalle
system 865 807 1199572 123172 SyS_epoll_ 00000000 S SensorEventAckR
system 866 807 1199572 123172 poll_sched 00000000 S SensorService
system 867 807 1199572 123172 SyS_epoll_ 00000000 S CameraService_p
system 868 807 1199572 123172 SyS_epoll_ 00000000 S S.HandlerThread
system 869 807 1199572 123172 alarm_wait 00000000 S AlarmManager
system 870 807 1199572 123172 SyS_epoll_ 00000000 S InputDispatcher
system 871 807 1199572 123172 SyS_epoll_ 00000000 S InputReader
system 872 807 1199572 123172 SyS_epoll_ 00000000 S MountService
system 873 807 1199572 123172 unix_strea 00000000 S VoldConnector
system 874 807 1199572 123172 unix_strea 00000000 S CryptdConnector
system 875 807 1199572 123172 unix_strea 00000000 S NetdConnector
system 876 807 1199572 123172 SyS_epoll_ 00000000 S NetworkStats
system 877 807 1199572 123172 SyS_epoll_ 00000000 S NetworkPolicy
system 878 807 1199572 123172 SyS_epoll_ 00000000 S WifiP2pService
system 879 807 1199572 123172 SyS_epoll_ 00000000 S WifiStateMachin
system 880 807 1199572 123172 SyS_epoll_ 00000000 S WifiSMForObserv
system 881 807 1199572 123172 SyS_epoll_ 00000000 S WifiService
system 882 807 1199572 123172 SyS_epoll_ 00000000 S ConnectivitySer
system 883 807 1199572 123172 SyS_epoll_ 00000000 S roid.pacmanager
system 884 807 1199572 123172 SyS_epoll_ 00000000 S NsdService
system 885 807 1199572 123172 unix_strea 00000000 S mDnsConnector
system 886 807 1199572 123172 SyS_epoll_ 00000000 S ranker
system 887 807 1199572 123172 SyS_epoll_ 00000000 S notification-sq
system 888 807 1199572 123172 SyS_epoll_ 00000000 S AudioService
system 889 807 1199572 123172 SyS_epoll_ 00000000 S AudioProfileSer
system 890 807 1199572 123172 poll_sched 00000000 S UEventObserver
system 892 807 1199572 123172 SyS_epoll_ 00000000 S PerfServiceMana
system 897 807 1199572 123172 SyS_epoll_ 00000000 S WifiManager
system 898 807 1199572 123172 SyS_epoll_ 00000000 S WifiWatchdogSta
system 899 807 1199572 123172 SyS_epoll_ 00000000 S WifiScanningSer
system 900 807 1199572 123172 SyS_epoll_ 00000000 S WifiRttService
system 901 807 1199572 123172 SyS_epoll_ 00000000 S backup
system 902 807 1199572 123172 futex_wait 00000000 S PhotonicModulat
system 903 807 1199572 123172 SyS_epoll_ 00000000 S AMPlus
system 904 807 1199572 123172 futex_wait 00000000 S LazyTaskWriterT
system 906 807 1199572 123172 __skb_recv 00000000 S Thread-72
system 1243 807 1199572 123172 poll_sched 00000000 S Thread-73
system 1294 807 1199572 123172 poll_sched 00000000 S WifiMonitor
system 1296 807 1199572 123172 SyS_epoll_ 00000000 S SyncHandler-0
system 1308 807 1199572 123172 SyS_epoll_ 00000000 S WifiScanner
system 1339 807 1199572 123172 futex_wait 00000000 S watchdog
system 1342 807 1199572 123172 futex_wait 00000000 S SoundPool
system 1343 807 1199572 123172 futex_wait 00000000 S SoundPoolThread
system 1345 807 1199572 123172 futex_wait 00000000 S FileSourceProxy
system 1364 807 1199572 123172 SyS_epoll_ 00000000 S [NlpUtils]
system 1367 807 1199572 123172 __skb_recv 00000000 S Thread-82
system 1369 807 1199572 123172 __skb_recv 00000000 S MtkAgpsSocket
system 1375 807 1199572 123172 binder_thr 00000000 S Binder_4
system 1378 807 1199572 123172 SyS_epoll_ 00000000 S MtkAgpsHandler
system 1387 807 1199572 123172 SyS_epoll_ 00000000 S NetworkTimeUpda
system 1393 807 1199572 123172 SyS_epoll_ 00000000 S NetworkTimeUpda
system 1394 807 1199572 123172 SyS_epoll_ 00000000 S GPS NATIVE THRE
system 1447 807 1199572 123172 binder_thr 00000000 S Binder_5
system 1465 807 1199572 123172 binder_thr 00000000 S Binder_6
system 1466 807 1199572 123172 binder_thr 00000000 S Binder_7
system 1467 807 1199572 123172 binder_thr 00000000 S Binder_8
system 1515 807 1199572 123172 SyS_epoll_ 00000000 S AsyncQueryWorke
system 1727 807 1199572 123172 unix_strea 00000000 S UsbDebuggingMan
system 1728 807 1199572 123172 futex_wait 00000000 S AsyncTask #1
system 1954 807 1199572 123172 SyS_epoll_ 00000000 S NetworkMonitorN
system 1957 807 1199572 123172 __skb_recv 00000000 S Thread-110
system 1958 807 1199572 123172 SyS_epoll_ 00000000 S DhcpClient
system 1959 807 1199572 123172 SyS_epoll_ 00000000 S DhcpStateMachin
system 1960 807 1199572 123172 __skb_recv 00000000 S Thread-113
system 1995 807 1199572 123172 futex_wait 00000000 S AsyncTask #2
system 2029 807 1199572 123172 futex_wait 00000000 S Okio Watchdog
system 2060 807 1199572 123172 futex_wait 00000000 S Timer-1
system 2087 807 1199572 123172 _mali_osk_ 00000000 S PowerManagerSer
system 2088 807 1199572 123172 do_sigtime 00000000 S PowerManagerSer
system 2089 807 1199572 123172 futex_wait 00000000 S PowerManagerSer
system 2157 807 1199572 123172 futex_wait 00000000 S AsyncTask #3
system 2178 807 1199572 123172 futex_wait 00000000 S pool-1-thread-1
system 2189 807 1199572 123172 binder_thr 00000000 S Binder_9
system 2409 807 1199572 123172 binder_thr 00000000 S Binder_A
system 2557 807 1199572 123172 binder_thr 00000000 S Binder_B
system 2781 807 1199572 123172 binder_thr 00000000 S Binder_C
system 2919 807 1199572 123172 binder_thr 00000000 S Binder_D
system 2955 807 1199572 123172 binder_thr 00000000 S Binder_E
system 2957 807 1199572 123172 binder_thr 00000000 S Binder_F
system 2958 807 1199572 123172 binder_thr 00000000 S Binder_10
system 4417 807 1199572 123172 futex_wait 00000000 S PlugManager
system 4418 807 1199572 123172 futex_wait 00000000 S AsyncTask #4
system 4422 807 1199572 123172 futex_wait 00000000 S AsyncTask #5
here is some records in log related to 4418
02-28 11:13:03.831 807 4418 D MPlugin : createInstance(): Begin = 130769
02-28 11:13:03.832 807 4418 D MPlugin : create Instance (two parameters) with : com.mediatek.common.telephony.IOnlyOwnerSimSupport
02-28 11:13:03.835 807 4418 D MPlugin : Clazz exists on mapping table : false
02-28 11:13:03.836 807 4418 E MPlugin : Unsupported class: com.mediatek.common.telephony.IOnlyOwnerSimSupport
02-28 11:13:03.836 807 4418 D MPlugin : createInstance(): End = 130774
02-28 11:13:03.842 807 4418 D ConnectivityService: getActiveNetworkInfo networkInfo = [type: WIFI[], state: CONNECTED/CONNECTED, reason: (unspecified), extra: "test", roaming: false, failover: false, isAvailable: true]
Thanks
Hello everyone,
I have a problem with my device - it does not load, because it loops with android logo. It does that because i edited vold.fstab incorrectly, but have the correct lines copy in comments within the file. Problem is i don't have any idea how to enter recovery mode ( if one exist at all at the device ). Device is running Android 4.2 . I managed to get the device to recovery mode by holding VOL+ and plugging in power supply.
ABD see the device as 0123456789ABCDEF
Device does not have shell command.
I managed to get list of some files on it :
adb.exe ls /
000041ed 00000000 569d35a2 .
000041ed 00000000 569d35a2 ..
000041ed 00000000 569d35a2 cache
000041ed 00000000 569d35a2 mnt
000081a4 00000888 00000000 ueventd.rk30board.rc
000081a4 00000fa7 00000000 ueventd.rc
000081a4 00000110 00000000 ueventd.goldfish.rc
000041fd 00000000 569d35a6 tmp
000041ed 00000000 00000000 system
000041ed 00000000 569d35a2 sys
000041e8 00000000 00000000 sbin
000081a4 00021b50 00000000 rk30xxnand_ko.ko.3.0.8+
000081a4 000242df 00000000 rk30xxnand_ko.ko.3.0.36+
000041ed 00000000 00000000 res
000081a4 000040e2 00000000 readahead_list.txt
0000416d 00000000 00000000 proc
000081e8 00000655 00000000 init.rc
000081e8 0001ab34 00000000 init
000041ed 00000000 00000000 etc
000081a4 00000b12 00000000 default.prop
000041ed 00000000 569d35c5 data
000081e8 0003a930 00000000 charger
000081a4 00000c17 00000000 at18.ko
000041c0 00000000 503c74fb root
000041ed 000009c4 569d35a6 dev
adb.exe ls /system
000041ed 00000000 00000000 .
000041ed 00000000 569d35a2 ..
adb.exe ls /etc
000041ed 00000000 00000000 .
000041ed 00000000 569d35a2 ..
000081a4 00000199 00000000 recovery.fstab
adb.exe ls /sys
000041ed 00000000 569d35a2 .
000041ed 00000000 569d35a2 ..
000041ed 00000000 569d3614 fs
000041ed 00000000 569d35a2 devices
000041ed 00000000 569d3614 dev
000041ed 00000000 569d3614 bus
000041ed 00000000 569d35a2 class
000041ed 00000000 569d3614 firmware
000041ed 00000000 569d3614 kernel
000041ed 00000000 569d3614 power
000041ed 00000000 569d3614 module
000041ed 00000000 569d35a2 block
000041ed 00000000 569d3614 android_gsensor
000041ed 00000000 569d3614 sd-sdio
Any help in finding vold.fstab to edit it back to the original is more than welcome !
Hi @Barton69
It looks like you are in Kernel ADB mode. I have T-Chip TR976Q PCB based tablet. Could you provide the following information:
adb.exe dmesg > dmesg.log
adb.exe logcat -> logcat.log
Wow - a response I will do that today
@Tarask1n
i have Android Debug Bridge version 1.0.39 Version 0.0.1-4500957
List of devices attached
0123456789ABCDEF recovery
dmesg.log
adb: usage: unknown command dmesg
logcat.log
- exec '/system/bin/sh' failed: No such file or directory (2) -