Dear Community
I have a dynamic linked library (.so file) that I found in a apk. Now I want to be able to load this library on my raspberry pi that is also ARM architecture (like most android devices), with the debian derivative os raspian. Unfortunately I cannot load the library. When I try to do so and strace the attempt, I get the following output:
Code:
[email protected]:/home/pi# strace ./test -s libfoo.so
execve("./test", ["./test", "-s", "libfoo.so"], [/* 19 vars */]) = 0
brk(0) = 0x36f000
uname({sys="Linux", node="raspberrypi", ...}) = 0
access("/etc/ld.so.nohwcap", F_OK) = -1 ENOENT (No such file or directory)
mmap2(NULL, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb6f6a000
access("/etc/ld.so.preload", R_OK) = 0
open("/etc/ld.so.preload", O_RDONLY) = 3
fstat64(3, {st_mode=S_IFREG|0644, st_size=44, ...}) = 0
mmap2(NULL, 44, PROT_READ|PROT_WRITE, MAP_PRIVATE, 3, 0) = 0xb6f69000
close(3) = 0
open("/usr/lib/arm-linux-gnueabihf/libcofi_rpi.so", O_RDONLY) = 3
read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0(\0\1\0\0\0\270\4\0\0004\0\0\0"..., 512) = 512
lseek(3, 7276, SEEK_SET) = 7276
read(3, "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0"..., 1080) = 1080
lseek(3, 7001, SEEK_SET) = 7001
read(3, "A.\0\0\0aeabi\0\1$\0\0\0\0056\0\6\6\10\1\t\1\n\2\22\4\24\1\25"..., 47) = 47
fstat64(3, {st_mode=S_IFREG|0755, st_size=10170, ...}) = 0
mmap2(NULL, 39740, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0xb6f3e000
mprotect(0xb6f40000, 28672, PROT_NONE) = 0
mmap2(0xb6f47000, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x1) = 0xb6f47000
close(3) = 0
munmap(0xb6f69000, 44) = 0
open("/usr/lib/tls/v6l/vfp/libdl.so.2", O_RDONLY) = -1 ENOENT (No such file or directory)
stat64("/usr/lib/tls/v6l/vfp", 0xbea66f20) = -1 ENOENT (No such file or directory)
open("/usr/lib/tls/v6l/libdl.so.2", O_RDONLY) = -1 ENOENT (No such file or directory)
stat64("/usr/lib/tls/v6l", 0xbea66f20) = -1 ENOENT (No such file or directory)
open("/usr/lib/tls/vfp/libdl.so.2", O_RDONLY) = -1 ENOENT (No such file or directory)
stat64("/usr/lib/tls/vfp", 0xbea66f20) = -1 ENOENT (No such file or directory)
open("/usr/lib/tls/libdl.so.2", O_RDONLY) = -1 ENOENT (No such file or directory)
stat64("/usr/lib/tls", 0xbea66f20) = -1 ENOENT (No such file or directory)
open("/usr/lib/v6l/vfp/libdl.so.2", O_RDONLY) = -1 ENOENT (No such file or directory)
stat64("/usr/lib/v6l/vfp", 0xbea66f20) = -1 ENOENT (No such file or directory)
open("/usr/lib/v6l/libdl.so.2", O_RDONLY) = -1 ENOENT (No such file or directory)
stat64("/usr/lib/v6l", 0xbea66f20) = -1 ENOENT (No such file or directory)
open("/usr/lib/vfp/libdl.so.2", O_RDONLY) = -1 ENOENT (No such file or directory)
stat64("/usr/lib/vfp", 0xbea66f20) = -1 ENOENT (No such file or directory)
open("/usr/lib/libdl.so.2", O_RDONLY) = -1 ENOENT (No such file or directory)
stat64("/usr/lib", {st_mode=S_IFDIR|0755, st_size=12288, ...}) = 0
open("/etc/ld.so.cache", O_RDONLY) = 3
fstat64(3, {st_mode=S_IFREG|0644, st_size=43090, ...}) = 0
mmap2(NULL, 43090, PROT_READ, MAP_PRIVATE, 3, 0) = 0xb6f33000
close(3) = 0
access("/etc/ld.so.nohwcap", F_OK) = -1 ENOENT (No such file or directory)
open("/lib/arm-linux-gnueabihf/libdl.so.2", O_RDONLY) = 3
read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0(\0\1\0\0\0(\t\0\0004\0\0\0"..., 512) = 512
lseek(3, 8652, SEEK_SET) = 8652
read(3, "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0"..., 1160) = 1160
lseek(3, 8320, SEEK_SET) = 8320
read(3, "A0\0\0\0aeabi\0\1&\0\0\0\0056\0\6\6\10\1\t\1\n\2\22\4\24\1\25"..., 49) = 49
fstat64(3, {st_mode=S_IFREG|0644, st_size=9812, ...}) = 0
mmap2(NULL, 41136, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0xb6f28000
mprotect(0xb6f2a000, 28672, PROT_NONE) = 0
mmap2(0xb6f31000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x1) = 0xb6f31000
close(3) = 0
open("/usr/lib/libc.so.6", O_RDONLY) = -1 ENOENT (No such file or directory)
access("/etc/ld.so.nohwcap", F_OK) = -1 ENOENT (No such file or directory)
open("/lib/arm-linux-gnueabihf/libc.so.6", O_RDONLY) = 3
read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0(\0\1\0\0\0\214y\1\0004\0\0\0"..., 512) = 512
lseek(3, 1198880, SEEK_SET) = 1198880
read(3, "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0"..., 1360) = 1360
lseek(3, 1198444, SEEK_SET) = 1198444
read(3, "A.\0\0\0aeabi\0\1$\0\0\0\0056\0\6\6\10\1\t\1\n\2\22\4\24\1\25"..., 47) = 47
fstat64(3, {st_mode=S_IFREG|0755, st_size=1200240, ...}) = 0
mmap2(NULL, 1242408, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0xb6df8000
mprotect(0xb6f1b000, 28672, PROT_NONE) = 0
mmap2(0xb6f22000, 12288, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x122) = 0xb6f22000
mmap2(0xb6f25000, 9512, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0xb6f25000
close(3) = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb6f69000
set_tls(0xb6f694c0, 0xb6f69b98, 0xb6f6e048, 0xb6f694c0, 0xb6f6e048) = 0
mprotect(0xb6f22000, 8192, PROT_READ) = 0
mprotect(0xb6f31000, 4096, PROT_READ) = 0
mprotect(0xb6f6d000, 4096, PROT_READ) = 0
munmap(0xb6f33000, 43090) = 0
open("/usr/lib/libfoo.so", O_RDONLY) = 3
read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0(\0\1\0\0\0`\v\1\0004\0\0\0"..., 512) = 512
lseek(3, 341440, SEEK_SET) = 341440
read(3, "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0"..., 840) = 840
lseek(3, 341224, SEEK_SET) = 341224
read(3, "A(\0\0\0aeabi\0\1\36\0\0\0\0055TE\0\6\4\10\1\t\1\22\4\24\1\25"..., 41) = 41
close(3) = 0
open("/etc/ld.so.cache", O_RDONLY) = 3
fstat64(3, {st_mode=S_IFREG|0644, st_size=43090, ...}) = 0
mmap2(NULL, 43090, PROT_READ, MAP_PRIVATE, 3, 0) = 0xb6f33000
close(3) = 0
access("/etc/ld.so.nohwcap", F_OK) = -1 ENOENT (No such file or directory)
open("/lib/arm-linux-gnueabihf/tls/v6l/vfp/libfoo.so", O_RDONLY) = -1 ENOENT (No such file or directory)
stat64("/lib/arm-linux-gnueabihf/tls/v6l/vfp", 0xbea66f40) = -1 ENOENT (No such file or directory)
open("/lib/arm-linux-gnueabihf/tls/v6l/libfoo.so", O_RDONLY) = -1 ENOENT (No such file or directory)
stat64("/lib/arm-linux-gnueabihf/tls/v6l", 0xbea66f40) = -1 ENOENT (No such file or directory)
open("/lib/arm-linux-gnueabihf/tls/vfp/libfoo.so", O_RDONLY) = -1 ENOENT (No such file or directory)
stat64("/lib/arm-linux-gnueabihf/tls/vfp", 0xbea66f40) = -1 ENOENT (No such file or directory)
open("/lib/arm-linux-gnueabihf/tls/libfoo.so", O_RDONLY) = -1 ENOENT (No such file or directory)
stat64("/lib/arm-linux-gnueabihf/tls", 0xbea66f40) = -1 ENOENT (No such file or directory)
open("/lib/arm-linux-gnueabihf/v6l/vfp/libfoo.so", O_RDONLY) = -1 ENOENT (No such file or directory)
stat64("/lib/arm-linux-gnueabihf/v6l/vfp", 0xbea66f40) = -1 ENOENT (No such file or directory)
open("/lib/arm-linux-gnueabihf/v6l/libfoo.so", O_RDONLY) = -1 ENOENT (No such file or directory)
stat64("/lib/arm-linux-gnueabihf/v6l", 0xbea66f40) = -1 ENOENT (No such file or directory)
open("/lib/arm-linux-gnueabihf/vfp/libfoo.so", O_RDONLY) = -1 ENOENT (No such file or directory)
stat64("/lib/arm-linux-gnueabihf/vfp", 0xbea66f40) = -1 ENOENT (No such file or directory)
open("/lib/arm-linux-gnueabihf/libfoo.so", O_RDONLY) = -1 ENOENT (No such file or directory)
stat64("/lib/arm-linux-gnueabihf", {st_mode=S_IFDIR|0755, st_size=12288, ...}) = 0
open("/usr/lib/arm-linux-gnueabihf/tls/v6l/vfp/libfoo.so", O_RDONLY) = -1 ENOENT (No such file or directory)
stat64("/usr/lib/arm-linux-gnueabihf/tls/v6l/vfp", 0xbea66f40) = -1 ENOENT (No such file or directory)
open("/usr/lib/arm-linux-gnueabihf/tls/v6l/libfoo.so", O_RDONLY) = -1 ENOENT (No such file or directory)
stat64("/usr/lib/arm-linux-gnueabihf/tls/v6l", 0xbea66f40) = -1 ENOENT (No such file or directory)
open("/usr/lib/arm-linux-gnueabihf/tls/vfp/libfoo.so", O_RDONLY) = -1 ENOENT (No such file or directory)
stat64("/usr/lib/arm-linux-gnueabihf/tls/vfp", 0xbea66f40) = -1 ENOENT (No such file or directory)
open("/usr/lib/arm-linux-gnueabihf/tls/libfoo.so", O_RDONLY) = -1 ENOENT (No such file or directory)
stat64("/usr/lib/arm-linux-gnueabihf/tls", 0xbea66f40) = -1 ENOENT (No such file or directory)
open("/usr/lib/arm-linux-gnueabihf/v6l/vfp/libfoo.so", O_RDONLY) = -1 ENOENT (No such file or directory)
stat64("/usr/lib/arm-linux-gnueabihf/v6l/vfp", 0xbea66f40) = -1 ENOENT (No such file or directory)
open("/usr/lib/arm-linux-gnueabihf/v6l/libfoo.so", O_RDONLY) = -1 ENOENT (No such file or directory)
stat64("/usr/lib/arm-linux-gnueabihf/v6l", 0xbea66f40) = -1 ENOENT (No such file or directory)
open("/usr/lib/arm-linux-gnueabihf/vfp/libfoo.so", O_RDONLY) = -1 ENOENT (No such file or directory)
stat64("/usr/lib/arm-linux-gnueabihf/vfp", 0xbea66f40) = -1 ENOENT (No such file or directory)
open("/usr/lib/arm-linux-gnueabihf/libfoo.so", O_RDONLY) = -1 ENOENT (No such file or directory)
stat64("/usr/lib/arm-linux-gnueabihf", {st_mode=S_IFDIR|0755, st_size=28672, ...}) = 0
open("/lib/tls/v6l/vfp/libfoo.so", O_RDONLY) = -1 ENOENT (No such file or directory)
stat64("/lib/tls/v6l/vfp", 0xbea66f40) = -1 ENOENT (No such file or directory)
open("/lib/tls/v6l/libfoo.so", O_RDONLY) = -1 ENOENT (No such file or directory)
stat64("/lib/tls/v6l", 0xbea66f40) = -1 ENOENT (No such file or directory)
open("/lib/tls/vfp/libfoo.so", O_RDONLY) = -1 ENOENT (No such file or directory)
stat64("/lib/tls/vfp", 0xbea66f40) = -1 ENOENT (No such file or directory)
open("/lib/tls/libfoo.so", O_RDONLY) = -1 ENOENT (No such file or directory)
stat64("/lib/tls", 0xbea66f40) = -1 ENOENT (No such file or directory)
open("/lib/v6l/vfp/libfoo.so", O_RDONLY) = -1 ENOENT (No such file or directory)
stat64("/lib/v6l/vfp", 0xbea66f40) = -1 ENOENT (No such file or directory)
open("/lib/v6l/libfoo.so", O_RDONLY) = -1 ENOENT (No such file or directory)
stat64("/lib/v6l", 0xbea66f40) = -1 ENOENT (No such file or directory)
open("/lib/vfp/libfoo.so", O_RDONLY) = -1 ENOENT (No such file or directory)
stat64("/lib/vfp", 0xbea66f40) = -1 ENOENT (No such file or directory)
open("/lib/libfoo.so", O_RDONLY) = -1 ENOENT (No such file or directory)
stat64("/lib", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0
open("/usr/lib/libfoo.so", O_RDONLY) = 3
read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0(\0\1\0\0\0`\v\1\0004\0\0\0"..., 512) = 512
lseek(3, 341440, SEEK_SET) = 341440
read(3, "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0"..., 840) = 840
lseek(3, 341224, SEEK_SET) = 341224
read(3, "A(\0\0\0aeabi\0\1\36\0\0\0\0055TE\0\6\4\10\1\t\1\22\4\24\1\25"..., 41) = 41
close(3) = 0
brk(0) = 0x36f000
brk(0x390000) = 0x390000
munmap(0xb6f33000, 43090) = 0
fstat64(1, {st_mode=S_IFCHR|0620, st_rdev=makedev(136, 1), ...}) = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb6f68000
write(1, "Service libfoo.so Not Fo"..., 115Service libfoo.so Not Found: libfoo.so: cannot open shared object file: No such file or directory
) = 115
write(1, "Problem calling generic_function"..., 91Problem calling generic_function_entry(): ./test: undefined symbol: generic_function_entry
) = 91
--- SIGSEGV (Segmentation fault) @ 0 (0) ---
+++ killed by SIGSEGV +++
Segmentation fault
I already asked on stack exchange and they suggested to build a chroot with the bionic toolchain:
You could probably make it work in a chroot, the trick would be if you should start with a "normal" android bionic libc and tools, or an android-on-pi one. I suspect with enough work, you could create a custom build of bionic (including its dynamic linker) which could run alongside your normal debian pi setup (ie, without the chroot). Make sure your ABIs are fully compatible though.
Click to expand...
Click to collapse
Any ideas how to start creating such a chroot? I am not really gifted when it comes to such things, especially if there aren't many similar endavours searchable in the net.
Thanks
Related
Everybody loves strace !
So am I, thats why I compiled a static one you can use on any Android or even.. any ARM Linux system
It's unmodified, compiled with buildroot.
Download it here:
http://project-voodoo.org/downloads/dev-tools/debug/strace.tar.gz
Sample output:
Code:
$ strace ls
execve("/system/bin/ls", ["ls"], [/* 13 vars */]) = 0
set_tls(0xb00182ec, 0, 0xbedd3d14, 0xc, 0xb000c448) = 0
getpid() = 6712
sigaction(SIGILL, {0xb0003441, [], SA_RESTART}, {SIG_DFL, , 0xb000c448) = 0
sigaction(SIGABRT, {0xb0003441, [], SA_RESTART}, {SIG_DFL, , 0) = 0
sigaction(SIGBUS, {0xb0003441, [], SA_RESTART}, {SIG_DFL, , 0) = 0
sigaction(SIGFPE, {0xb0003441, [], SA_RESTART}, {SIG_DFL, , 0) = 0
sigaction(SIGSEGV, {0xb0003441, [], SA_RESTART}, {SIG_DFL, , 0) = 0
sigaction(SIGSTKFLT, {0xb0003441, [], SA_RESTART}, {SIG_DFL, , 0) = 0
sigaction(SIGPIPE, {0xb0003441, [], SA_RESTART}, {SIG_DFL, , 0) = 0
getuid32() = 0
geteuid32() = 0
getgid32() = 2000
getegid32() = 2000
stat64("/system/lib/liblog.so", {st_mode=S_IFREG|0644, st_size=13524, ...}) = 0
open("/system/lib/liblog.so", O_RDONLY|O_LARGEFILE) = 3
lseek(3, 10, SEEK_SET) = 0
read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0(\0\1\0\0\[email protected]\17\0\0004\0\0\0$"..., 4096) = 4096
lseek(3, 10, SEEK_END) = 13516
read(3, "\0\0\240\257PRE "..., 8) = 8
mmap2(0xafa00000, 16384, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xafa00000
mmap2(0xafa00000, 10716, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_FIXED, 3, 0) = 0xafa00000
mprotect(0xafa00000, 12288, PROT_READ|PROT_WRITE|PROT_EXEC) = 0
mmap2(0xafa03000, 372, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED, 3, 0x3) = 0xafa03000
close(3) = 0
stat64("/system/lib/libc.so", {st_mode=S_IFREG|0644, st_size=278276, ...}) = 0
open("/system/lib/libc.so", O_RDONLY|O_LARGEFILE) = 3
lseek(3, 10, SEEK_SET) = 0
read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0(\0\1\0\0\0p\266\0\0004\0\0\0<"..., 4096) = 4096
lseek(3, 10, SEEK_END) = 278268
read(3, "\0\0\320\257PRE "..., 8) = 8
mmap2(0xafd00000, 323584, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xafd00000
mmap2(0xafd00000, 265380, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_FIXED, 3, 0) = 0xafd00000
mprotect(0xafd00000, 266240, PROT_READ|PROT_WRITE|PROT_EXEC) = 0
mmap2(0xafd41000, 10028, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED, 3, 0x41) = 0xafd41000
mmap2(0xafd44000, 43648, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0xafd44000
close(3) = 0
mprotect(0xafd00000, 266240, PROT_READ|PROT_EXEC) = 0
getuid32() = 0
geteuid32() = 0
getgid32() = 2000
getegid32() = 2000
gettid() = 6712
set_tls(0xafd4a86c, 0xafd4a830, 0, 0x40, 0xafd42328) = 0
mmap2(NULL, 32768, PROT_READ, MAP_SHARED, 9, 0) = 0x40000000
open("/dev/urandom", O_RDONLY|O_LARGEFILE) = 3
read(3, "\301%\364\320"..., 4) = 4
close(3) = 0
stat64("/system/lib/libstdc++.so", {st_mode=S_IFREG|0644, st_size=5272, ...}) = 0
open("/system/lib/libstdc++.so", O_RDONLY|O_LARGEFILE) = 3
lseek(3, 10, SEEK_SET) = 0
read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0(\0\1\0\0\0X\10\0\0004\0\0\0\350"..., 4096) = 4096
lseek(3, 10, SEEK_END) = 5264
read(3, "\0\0\300\257PRE "..., 8) = 8
mmap2(0xafc00000, 8192, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xafc00000
mmap2(0xafc00000, 2864, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_FIXED, 3, 0) = 0xafc00000
mprotect(0xafc00000, 4096, PROT_READ|PROT_WRITE|PROT_EXEC) = 0
mmap2(0xafc01000, 232, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED, 3, 0x1) = 0xafc01000
close(3) = 0
mprotect(0xafc00000, 4096, PROT_READ|PROT_EXEC) = 0
getuid32() = 0
geteuid32() = 0
getgid32() = 2000
getegid32() = 2000
stat64("/system/lib/libm.so", {st_mode=S_IFREG|0644, st_size=91088, ...}) = 0
open("/system/lib/libm.so", O_RDONLY|O_LARGEFILE) = 3
lseek(3, 10, SEEK_SET) = 0
read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0(\0\1\0\0\0\250\34\0\0004\0\0\0p"..., 4096) = 4096
lseek(3, 10, SEEK_END) = 91080
read(3, "\0\0\260\257PRE "..., 8) = 8
mmap2(0xafb00000, 94208, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xafb00000
mmap2(0xafb00000, 87548, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_FIXED, 3, 0) = 0xafb00000
mprotect(0xafb00000, 90112, PROT_READ|PROT_WRITE|PROT_EXEC) = 0
mmap2(0xafb16000, 208, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED, 3, 0x16) = 0xafb16000
close(3) = 0
mprotect(0xafb00000, 90112, PROT_READ|PROT_EXEC) = 0
getuid32() = 0
geteuid32() = 0
getgid32() = 2000
getegid32() = 2000
mprotect(0xafa00000, 12288, PROT_READ|PROT_EXEC) = 0
getuid32() = 0
geteuid32() = 0
getgid32() = 2000
getegid32() = 2000
stat64("/system/lib/libcutils.so", {st_mode=S_IFREG|0644, st_size=59364, ...}) = 0
open("/system/lib/libcutils.so", O_RDONLY|O_LARGEFILE) = 3
lseek(3, 10, SEEK_SET) = 0
read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0(\0\1\0\0\0d1\0\0004\0\0\0\f"..., 4096) = 4096
lseek(3, 10, SEEK_END) = 59356
read(3, "\0\0\220\257PRE "..., 8) = 8
mmap2(0xaf900000, 122880, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xaf900000
mmap2(0xaf900000, 55296, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_FIXED, 3, 0) = 0xaf900000
mprotect(0xaf900000, 57344, PROT_READ|PROT_WRITE|PROT_EXEC) = 0
mmap2(0xaf90e000, 1100, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED, 3, 0xe) = 0xaf90e000
mmap2(0xaf90f000, 57764, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0xaf90f000
close(3) = 0
mprotect(0xaf900000, 57344, PROT_READ|PROT_EXEC) = 0
getuid32() = 0
geteuid32() = 0
getgid32() = 2000
getegid32() = 2000
mprotect(0x8000, 77824, PROT_READ|PROT_EXEC) = 0
getuid32() = 0
geteuid32() = 0
getgid32() = 2000
getegid32() = 2000
lstat64(".", {st_mode=S_IFDIR|0755, st_size=0, ...}) = 0
brk(0) = 0x20000
brk(0x20000) = 0x20000
brk(0x22000) = 0x22000
open(".", O_RDONLY|O_LARGEFILE|O_DIRECTORY) = 3
getdents64(3, /* d_reclen == 0, problem here *//* 1 entries */, 4200) = 904
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x40008000
mprotect(0x40008000, 4096, PROT_READ) = 0
fstat64(1, {st_mode=S_IFCHR|0600, st_rdev=makedev(136, 1), ...}) = 0
mprotect(0x40008000, 4096, PROT_READ|PROT_WRITE) = 0
mprotect(0x40008000, 4096, PROT_READ) = 0
ioctl(1, SNDCTL_TMR_TIMEBASE or TCGETS, {B38400 opost isig icanon echo ...}) = 0
write(1, "config\n"..., 7config
) = 7
write(1, "efs\n"..., 4efs
) = 4
write(1, "sdcard\n"..., 7sdcard
) = 7
write(1, "acct\n"..., 5acct
) = 5
write(1, "mnt\n"..., 4mnt
) = 4
write(1, "d\n"..., 2d
) = 2
write(1, "etc\n"..., 4etc
) = 4
write(1, "default.prop\n"..., 13default.prop
) = 13
write(1, "dbdata\n"..., 7dbdata
) = 7
write(1, "cache\n"..., 6cache
) = 6
write(1, "init.smdkc110.rc\n"..., 17init.smdkc110.rc
) = 17
write(1, "lib\n"..., 4lib
) = 4
write(1, "usr\n"..., 4usr
) = 4
write(1, "data\n"..., 5data
) = 5
write(1, "res\n"..., 4res
) = 4
write(1, "modules\n"..., 8modules
) = 8
write(1, "sbin\n"..., 5sbin
) = 5
write(1, "bin\n"..., 4bin
) = 4
write(1, "init.goldfish.rc\n"..., 17init.goldfish.rc
) = 17
write(1, "sys\n"..., 4sys
) = 4
write(1, "init\n"..., 5init
) = 5
write(1, "init_samsung\n"..., 13init_samsung
) = 13
write(1, "recovery.rc\n"..., 12recovery.rc
) = 12
write(1, "dev\n"..., 4dev
) = 4
write(1, "init.rc\n"..., 8init.rc
) = 8
write(1, "voodoo\n"..., 7voodoo
) = 7
write(1, "fota.rc\n"..., 8fota.rc
) = 8
write(1, "lpm.rc\n"..., 7lpm.rc
) = 7
write(1, "proc\n"..., 5proc
) = 5
write(1, "system\n"..., 7system
) = 7
getdents64(3, 0x20018, 4200out of memory
) = 0
close(3) = 0
mprotect(0x40008000, 4096, PROT_READ|PROT_WRITE) = 0
mprotect(0x40008000, 4096, PROT_READ) = 0
munmap(0x40008000, 4096) = 0
exit_group(0) = ?
PS: Sorry if this was done before, i didn't found one easily.
Thanks! strace is a usefull debug tool!
bwt, i compiled strace (4.6) too
lovetide said:
Thanks! strace is a usefull debug tool!
bwt, i compiled strace (4.6) too
Click to expand...
Click to collapse
Hello, the link is now dead, do you recent version 4.6 or 4.7 statically linked?
first time post a thread~
i got a samsung galaxy tab 7' koran version shw-m180l.
1. as i downloaded source code from source.samsung.com. there are two folders: platfrom and kernel . i'm wondering if the source code of initramfs is out there in the platform folder or in the kernel folder?
2.i got a 3M size kernel "zImage" after cross-compile on fedora 16 x86_64 follow the readme instruction posted with the source codes,and tar -cf it then flashed into my tab .but it could not working properly .the official zImage is about 7M size; i guess the reason why mine zImage is so much smaller than the official one is that i didn't packed the initramfs inside.here is thread of unpacking zImage,i could not unpack even the official zImage using unpack-bootimg.pl .and then i tried to modifiy the zImage using a hexEditor ,sadly find no magic number 1F8B for gzip around 2k data。i guess samsung is using an unusual way to packing zImage(just like samsung develeped the rfs file system instead of using the common yaff2 file system)? if then , how can i unpack ing the zImage?
3. thanks to here some one write a tool reading pit file ,the result is the same with what Heimdall reads in download mode :
file magic = 0x12349876 (expected value)
Unknown data: 0 0 0 0 0
Number of partitions = 14 (not the usual value)
Partition #1
Usual content: boot.bin, the primary boot loader (low-level hardware initialization)
partition entry type: 0 0 (normal partition)
ID = 0;
flags = 0;
unknown: 0
size = 1 blocks of 256 * 512 bytes = 131072 B = 128 kB = 0 MB
unknown string: [........]
partition name = [IBL+PBL.........................]
file name = [boot.bin........................................................] (bootloader.is recovry program here?)
Partition #2
Usual content: partition information table (PIT) (using a partition to store pit?pc's partition table is on mbr~)
partition entry type: 0 0 (normal partition)
ID = 0x1;
flags = 0;
unknown: 0
size = 1 blocks of 256 * 512 bytes = 131072 B = 128 kB = 0 MB
unknown string: [........]
partition name = [PIT.............................]
file name = [................................................................]
Partition #3
Usual content: efs.rfs (what is efs used for?)
partition entry type: 0 0 (normal partition)
ID = 0x14;
flags = 0x2 (rfs file system);
unknown: 0
size = 40 blocks of 256 * 512 bytes = 5242880 B = 5120 kB = 5 MB
unknown string: [........]
partition name = [EFS.............................]
file name = [efs.rfs.........................................................]
Partition #4
Usual content: Sbl.bin, the secondary boot loader (loads linux kernel)
partition entry type: 0 0 (normal partition)
ID = 0x3;
flags = 0;
unknown: 0
size = 5 blocks of 256 * 512 bytes = 655360 B = 640 kB = 0 MB
unknown string: [........]
partition name = [SBL.............................]
file name = [sbl.bin.........................................................]
Partition #5
Usual content: backup of secondary boot loader
partition entry type: 0 0 (normal partition)
ID = 0x4;
flags = 0;
unknown: 0
size = 5 blocks of 256 * 512 bytes = 655360 B = 640 kB = 0 MB
unknown string: [........]
partition name = [SBL2............................]
file name = [sbl.bin.........................................................]
Partition #6
Usual content: param.lfs /mnt/.lfs j4fs (what is this for?)
partition entry type: 0 0 (normal partition)
ID = 0x15;
flags = 0x2 (rfs file system);
unknown: 0
size = 20 blocks of 256 * 512 bytes = 2621440 B = 2560 kB = 2 MB
unknown string: [........]
partition name = [PARAM...........................]
file name = [param.lfs.......................................................]
Partition #7
Usual content: zImage, the linux kernel
partition entry type: 0 0 (normal partition)
ID = 0x6;
flags = 0;
unknown: 0
size = 30 blocks of 256 * 512 bytes = 3932160 B = 3840 kB = 3 MB (only 3M? the official zImage is more than 7M size ,how could it be flashed into this partition?)
unknown string: [........] (or when flashing (using Odin) Odin will automatically unpacking zImage and flash kernel into this partition ,flash initramfs into other partition(below one ) ?)
partition name = [KERNEL..........................]
file name = [zImage..........................................................] (partition name is kernel)
Partition #8
Usual content: recovery.bin, the backup copy of zImage/initramfs
partition entry type: 0 0 (normal partition)
ID = 0x7;
flags = 0;
unknown: 0
size = 30 blocks of 256 * 512 bytes = 3932160 B = 3840 kB = 3 MB (only 3M ?)
unknown string: [........]
partition name = [RECOVERY........................]
file name = [zImage..........................................................]
Partition #9
Usual content: factoryfs.rfs
partition entry type: 0 0 (normal partition)
ID = 0x16;
flags = 0x2 (rfs file system);
unknown: 0
size = 1711 blocks of 256 * 512 bytes = 224264192 B = 219008 kB = 213 MB (only 213M?)
unknown string: [........]
partition name = [FACTORYFS.......................]
file name = [factoryfs.rfs...................................................]
Partition #10
Usual content: dbdata.rfs
partition entry type: 0 0 (normal partition)
ID = 0x17;
flags = 0x2 (rfs file system);
unknown: 0
size = 20 blocks of 256 * 512 bytes = 2621440 B = 2560 kB = 2 MB (is this mounted as /data ?only 2M?)
unknown string: [........]
partition name = [DBDATAFS........................]
file name = [dbdata.rfs......................................................]
Partition #11
Usual content: cache.rfs (cache ,like swap of linux ?)
partition entry type: 0 0 (normal partition)
ID = 0x18;
flags = 0x2 (rfs file system);
unknown: 0
size = 140 blocks of 256 * 512 bytes = 18350080 B = 17920 kB = 17 MB
unknown string: [........]
partition name = [CACHE...........................]
file name = [cache.rfs.......................................................]
Partition #12
Usual content: modem.bin (the radio?to surport communication ?)
partition entry type: 0 0 (normal partition)
ID = 0x8;
flags = 0;
unknown: 0
size = 1 blocks of 256 * 512 bytes = 131072 B = 128 kB = 0 MB
unknown string: [........]
partition name = [MODEM...........................]
file name = [modem.bin.......................................................]
Partition #13
Usual content: Unknown
partition entry type: 1 1 (past-the-end marker)
ID = 0x8;
flags = 0;
unknown: 0
size = 0 blocks of 0 * 512 bytes = 0 B = 0 kB = 0 MB
unknown string: [........]
partition name = [................................]
file name = [................................................................]
Partition #14
Usual content: Unknown
partition entry type: 0 2 (unknown value)
ID = 0;
flags = 0;
unknown: 0
size = 0 blocks of 0 * 512 bytes = 0 B = 0 kB = 0 MB
unknown string: [........]
partition name = [MOVINAND........................]
file name = [movinand.mst....................................................]
4. adb shell df :
# df
Filesystem Size Used Free Blksize
/dev 221M 76K 221M 4096
/mnt/.lfs: Function not implemented
/mnt/asec 221M 0K 221M 4096
/mnt/obb 221M 0K 221M 4096
/app-cache 12M 0K 12M 4096
/data 485M 314M 171M 4096
/cache 30M 4K 30M 4096
/system 410M 294M 115M 4096
/efs 5M 10K 5M 1024
the size is obviously different from the pit says? which one wrong ?
thank for any information and answer~
HELP ME WITH THIS LOGCAT ERRORS!
Code:
E/msm7x27.gralloc( 140): We support 2 buffers
E/AudioHardwareMSM72XX( 143): failed to open AUTO_VOLUME_CONTROL /system/etc/AutoVolumeControl.txt: No such file or directory (2)
E/CameraHAL( 143): CameraHAL_GetNum_Cameras:
E/MediaProfilesJNI( 141): native_init
E/MediaProfilesJNI( 141): After native_init lock
E/MediaProfilesJNI( 141): Guru : native_init profiles
E/MediaProfiles( 141): getInstance
E/MediaProfiles( 141): Guru :Else 1
E/MediaProfiles( 141): Guru : quality = 0, index = 1
E/MediaProfiles( 141): Guru : quality = 1, index = 0
E/MediaProfiles( 141): Guru : quality = 0, index = 1
E/MediaProfiles( 141): Guru : quality = 1, index = 0
E/MediaProfiles( 141): getInstance e2320
E/MediaProfilesJNI( 141): retun sProfiles
E/MediaProfilesJNI( 141): native_init
E/MediaProfilesJNI( 141): After native_init lock
E/MediaProfilesJNI( 141): retun sProfiles
E/PhonePolicy( 141): Could not preload class for phone policy: com.android.internal.policy.impl.PhoneWindow$ContextMenuCallback
E/dalvikvm( 216): ERROR: couldn't find native method
E/dalvikvm( 216): Requested: Lcom/android/server/PowerManagerService;.nativeStartSurfaceFlingerOffAnimation:(I)V
E/JNIHelp ( 216): RegisterNatives failed for 'com/android/server/PowerManagerService', aborting
F/libc ( 216): Fatal signal 11 (SIGSEGV) at 0xdeadbaad (code=1)
Anyone?
Sent from my LG-P500 using xda premium
IMPORTANT NOTICE:
i will personally no longer be able to provide support on this rom although there are a few people on xda who will... so my support is officially dicontinued here on this thread... although i have developed a new tool and rom for the A13's and you can get it HERE i will be providing support for HERE..
EDIT: I have developed a new tool for the allwinner a13 to carry out most tasks involving editing scripts, touchscreen parameters and fixes etc.. you can find it HERE
FaaastJB v2.5
A13 Allwinner with Jelly Bean 4.2.2 by Toxicro
MAKE BACKUP - using ZeusToolKit
Caution: don't flash this on KB901 with TS ft5x_ts
Rebased the whole ROM on various builds of JB 4.2.2 to run smooth without tweaks:
- cleaned up
- rooted
- adb enabled by default
- replaced the default launcher with GO Launcher HD
- adapted to accept my custom modules TS
lsmod on default ROM:
device 26862 0 - Live 0x00000000
rtl8150 10305 0 - Live 0x00000000
mcs7830 7581 0 - Live 0x00000000
qf9700 9152 0 - Live 0x00000000
asix 24601 0 - Live 0x00000000
sun5i_csi0 34042 0 - Live 0x00000000
sp0838 19927 1 - Live 0x00000000
camera 53105 1 sun5i_csi0, Live 0x00000000
videobuf_dma_contig 6243 1 sun5i_csi0, Live 0x00000000
videobuf_core 20242 2 sun5i_csi0,videobuf_dma_contig, Live 0x00000000
cedarx 11869 0 - Live 0x00000000
mali 200007 29 - Live 0x00000000
ump 34213 11 mali, Live 0x00000000
nand 225000 8 - Live 0x00000000
Partitions on default ROM:
[email protected]:/ # busybox df -h
busybox df -h
Filesystem Size Used Available Use% Mounted on
tmpfs 176.8M 68.0K 176.7M 0% /dev
tmpfs 176.8M 0 176.8M 0% /mnt/asec
tmpfs 176.8M 0 176.8M 0% /mnt/obb
/dev/block/nandd 503.9M 398.1M 105.9M 79% /system
/dev/block/nande 1.2G 103.7M 1.1G 9% /data
/dev/block/nandh 315.0M 5.2M 309.8M 2% /cache
/dev/block/vold/93:72 1.1G 48.0K 1.1G 0% /mnt/sdcard
/dev/block/vold/93:72 1.1G 48.0K 1.1G 0% /mnt/secure/asec
[email protected]:/ # cat /proc/partitions
cat /proc/partitions
major minor #blocks name
93 0 16384 nanda
93 8 16384 nandb
93 16 32768 nandc
93 24 614400 nandd
93 32 1228800 nande
93 40 16384 nandf
93 48 32768 nandg
93 56 327680 nandh
93 64 262144 nandi
93 72 1171456 nandj
DOWNLOAD ROM:
- New Version v2.5 -
4shared.com - FaaastJB-v2.5
mediafire.com - FaaastJB-v2.5
- Old version v2-
4shared.com - FaaastJB-v2
mediafire.com - FaaastJB-v2
By default Touch Screen DON'T work
STEP BY STEP FOR INSTALLING TS MODULES:
You need to have ADB installed before proceed
1. Flash FaaastJB with Livesuit 1.11
2. Wait for tablet to boot and load
3. Connect your tablet to PC
4. Extract all content from TS MODULE archive to a directory
5. Execute run.bat
6. After press any key dialog the tablet will reboot
7. That's all folks
If you don't know what TS driver to use try Uberizer option k/22 and use command "lsmod" on original working ROM.
I recommend try all archives and test both TS and gsensor for better result, don't stop at the first working TS try more.
OLD TS from FaaastJB 4.1.1 don't work here
DOWNLOAD TS MODULE
Single TS MODULE
- ekt3632.ko aka elan
- gt811_ts.ko
- gt828_ts.ko+mc32x0.ko
- gt811_ts.ko+dmard06.ko
- gsl1680.ko
- ft5x_ts.ko
- goodix_touch.ko
- gslx680.ko+mxc622x.ko
- ssd253x-ts.ko+dmard06.ko
- gslx680.ko
- gsl1680.ko+dmard06.ko
- ft5x_ts.ko
- gt828_ts.ko+mxc622x.ko
- zet6221.ko
- ekt3632.ko aka elan
- ektf2k.ko aka ekt3632+mma7660
- ssd253x-ts.ko+dmard06.ko+mma7660.ko
- elan_ts+mxc622x
- goodix811.ko+mxc622x.ko
- ssd253x-ts.ko
USERS TS MODULE
- gls1680+dmard06+mc32x0 - Thx to meatsos
- mg8698s+mxc622x+sp0838 - Thx to leoZ
- gt828_ts+mma7660 - Thx to goosen999
Multiple TS MODULE
- ft5x_ts, goodix_touch, ssd253x-ts, zet622x, byd693x-ts, gt82x, gt811, pixcir_cxx, gslx680, st1536_ts, elan_ts+mxc622x
- ft5x_ts, goodix_ts, gslX680, nt11003+mxc32x0
- ft5x_ts, ssd253x-ts, gt811_ts, sitronix_i2c_touch+dmard06+mma7660
- ft5x_ts, goodix_touch, ssd253x-ts, zet622x, byd693x-ts, gt82x, gt811, pixcir_touch_811, gsl1680, st1536_ts+mxc622x
- aw5306_ts.ko-pixcir_ts.ko-gt811.ko-gsl168x.ko-sichuang.ko-ft5x_ts.ko+mma7660
- gt811_ts.ko-A13_gslX680.ko-ft5x_ts.ko+mxc622x
- S710TAB - ft5x_ts.ko-gt811.ko-gslX680.ko+mxc622x
SPECIAL TS MODULE
- Ainol Novo7 Legend
- Multiple TS/GS: gslX680-ft5x_ts-gt818_ts-gt811_ts-zet6221+bma250-mma7660-dmard06-mma8452-kxtik-mxc622x-afa750-mma865x-lis3dh-mc32x0 after you use this module you will need to reflash ROM again if not works.
If you have found a TS and have reverse axes or screenshift i recommend to use this tools or try TSCalibration
More application for calibration need more people to test and confirm is working Touch Recalibrate
If you have inverted gsensor you will need to edit this file /system/usr/gsensor.cfg look for your gsensor name and play with this:
gsensor_direct_x = false
gsensor_direct_y = true
gsensor_direct_z = false
gsensor_xy_revert = false
Camera sux anyway on this tablet so if you still want to work you will need to edit script.bin section [csi0_para]
Don't forgot to make BACKUP of default ROM
For backup i recommend Uberizer option i/3.
I recommend this ROM for people who don't have a working TS.
This devices can't be bricked but if you don't find the right ROM they don't work correctly so if you don't know what your doing don't try it.
I recommend this ROM for people who don't have a working TS.
Thanks goes to Toxicro @ Techknow Forums for this rom this is his work..
Inside 4ndroid said:
FaaastJB v2.5
A13 Allwinner with Jelly Bean 4.2.2 by Toxicro
MAKE BACKUP - using Uberizer option i/3
Caution: don't flash this on KB901 with TS ft5x_ts
Rebased the whole ROM on various builds of JB 4.2.2 to run smooth without tweaks:
- cleaned up
- rooted
- adb enabled by default
- replaced the default launcher with GO Launcher HD
- adapted to accept my custom modules TS
lsmod on default ROM:
device 26862 0 - Live 0x00000000
rtl8150 10305 0 - Live 0x00000000
mcs7830 7581 0 - Live 0x00000000
qf9700 9152 0 - Live 0x00000000
asix 24601 0 - Live 0x00000000
sun5i_csi0 34042 0 - Live 0x00000000
sp0838 19927 1 - Live 0x00000000
camera 53105 1 sun5i_csi0, Live 0x00000000
videobuf_dma_contig 6243 1 sun5i_csi0, Live 0x00000000
videobuf_core 20242 2 sun5i_csi0,videobuf_dma_contig, Live 0x00000000
cedarx 11869 0 - Live 0x00000000
mali 200007 29 - Live 0x00000000
ump 34213 11 mali, Live 0x00000000
nand 225000 8 - Live 0x00000000
Partitions on default ROM:
[email protected]:/ # busybox df -h
busybox df -h
Filesystem Size Used Available Use% Mounted on
tmpfs 176.8M 68.0K 176.7M 0% /dev
tmpfs 176.8M 0 176.8M 0% /mnt/asec
tmpfs 176.8M 0 176.8M 0% /mnt/obb
/dev/block/nandd 503.9M 398.1M 105.9M 79% /system
/dev/block/nande 1.2G 103.7M 1.1G 9% /data
/dev/block/nandh 315.0M 5.2M 309.8M 2% /cache
/dev/block/vold/93:72 1.1G 48.0K 1.1G 0% /mnt/sdcard
/dev/block/vold/93:72 1.1G 48.0K 1.1G 0% /mnt/secure/asec
[email protected]:/ # cat /proc/partitions
cat /proc/partitions
major minor #blocks name
93 0 16384 nanda
93 8 16384 nandb
93 16 32768 nandc
93 24 614400 nandd
93 32 1228800 nande
93 40 16384 nandf
93 48 32768 nandg
93 56 327680 nandh
93 64 262144 nandi
93 72 1171456 nandj
DOWNLOAD ROM:
- New Version v2.5 -
4shared.com - FaaastJB-v2.5
mediafire.com - FaaastJB-v2.5
- Old version v2-
4shared.com - FaaastJB-v2
mediafire.com - FaaastJB-v2
By default Touch Screen DON'T work
STEP BY STEP FOR INSTALLING TS MODULES:
You need to have ADB installed before proceed
1. Flash FaaastJB with Livesuit 1.11
2. Wait for tablet to boot and load
3. Connect your tablet to PC
4. Extract all content from TS MODULE archive to a directory
5. Execute run.bat
6. After press any key dialog the tablet will reboot
7. That's all folks
If you don't know what TS driver to use try Uberizer option k/22 and use command "lsmod" on original working ROM.
I recommend try all archives and test both TS and gsensor for better result, don't stop at the first working TS try more.
OLD TS from FaaastJB 4.1.1 don't work here
DOWNLOAD TS MODULE
Single TS MODULE
- ekt3632.ko aka elan
- gt811_ts.ko
- gt828_ts.ko+mc32x0.ko
- gt811_ts.ko+dmard06.ko
- gsl1680.ko
- ft5x_ts.ko
- goodix_touch.ko
- gslx680.ko+mxc622x.ko
- ssd253x-ts.ko+dmard06.ko
- gslx680.ko
- gsl1680.ko+dmard06.ko
- ft5x_ts.ko
- gt828_ts.ko+mxc622x.ko
- zet6221.ko
- ekt3632.ko aka elan
- ektf2k.ko aka ekt3632+mma7660
- ssd253x-ts.ko+dmard06.ko+mma7660.ko
- elan_ts+mxc622x
- goodix811.ko+mxc622x.ko
- ssd253x-ts.ko
USERS TS MODULE
- gls1680+dmard06+mc32x0 - Thx to meatsos
- mg8698s+mxc622x+sp0838 - Thx to leoZ
- gt828_ts+mma7660 - Thx to goosen999
Multiple TS MODULE
- ft5x_ts, goodix_touch, ssd253x-ts, zet622x, byd693x-ts, gt82x, gt811, pixcir_cxx, gslx680, st1536_ts, elan_ts+mxc622x
- ft5x_ts, goodix_ts, gslX680, nt11003+mxc32x0
- ft5x_ts, ssd253x-ts, gt811_ts, sitronix_i2c_touch+dmard06+mma7660
- ft5x_ts, goodix_touch, ssd253x-ts, zet622x, byd693x-ts, gt82x, gt811, pixcir_touch_811, gsl1680, st1536_ts+mxc622x
- aw5306_ts.ko-pixcir_ts.ko-gt811.ko-gsl168x.ko-sichuang.ko-ft5x_ts.ko+mma7660
- gt811_ts.ko-A13_gslX680.ko-ft5x_ts.ko+mxc622x
- S710TAB - ft5x_ts.ko-gt811.ko-gslX680.ko+mxc622x
SPECIAL TS MODULE
- Ainol Novo7 Legend
- Multiple TS/GS: gslX680-ft5x_ts-gt818_ts-gt811_ts-zet6221+bma250-mma7660-dmard06-mma8452-kxtik-mxc622x-afa750-mma865x-lis3dh-mc32x0 after you use this module you will need to reflash ROM again if not works.
If you have found a TS and have reverse axes or screenshift i recommend to use this tools or try TSCalibration
More application for calibration need more people to test and confirm is working Touch Recalibrate
If you have inverted gsensor you will need to edit this file /system/usr/gsensor.cfg look for your gsensor name and play with this:
gsensor_direct_x = false
gsensor_direct_y = true
gsensor_direct_z = false
gsensor_xy_revert = false
Camera sux anyway on this tablet so if you still want to work you will need to edit script.bin section [csi0_para]
Don't forgot to make BACKUP of default ROM
For backup i recommend Uberizer option i/3.
I recommend this ROM for people who don't have a working TS.
This devices can't be bricked but if you don't find the right ROM they don't work correctly so if you don't know what your doing don't try it.
I recommend this ROM for people who don't have a working TS.
Thanks goes to Toxicro @ Techknow Forums for this rom this is his work..
Click to expand...
Click to collapse
how find what drvier TS or Gsensor???
needhelp here...
Inside 4ndroid said:
FaaastJB v2.5
A13 Allwinner with Jelly Bean 4.2.2 by Toxicro
MAKE BACKUP - using Uberizer option i/3
Caution: don't flash this on KB901 with TS ft5x_ts
Rebased the whole ROM on various builds of JB 4.2.2 to run smooth without tweaks:
- cleaned up
- rooted
- adb enabled by default
- replaced the default launcher with GO Launcher HD
- adapted to accept my custom modules TS
lsmod on default ROM:
device 26862 0 - Live 0x00000000
rtl8150 10305 0 - Live 0x00000000
mcs7830 7581 0 - Live 0x00000000
qf9700 9152 0 - Live 0x00000000
asix 24601 0 - Live 0x00000000
sun5i_csi0 34042 0 - Live 0x00000000
sp0838 19927 1 - Live 0x00000000
camera 53105 1 sun5i_csi0, Live 0x00000000
videobuf_dma_contig 6243 1 sun5i_csi0, Live 0x00000000
videobuf_core 20242 2 sun5i_csi0,videobuf_dma_contig, Live 0x00000000
cedarx 11869 0 - Live 0x00000000
mali 200007 29 - Live 0x00000000
ump 34213 11 mali, Live 0x00000000
nand 225000 8 - Live 0x00000000
Partitions on default ROM:
[email protected]:/ # busybox df -h
busybox df -h
Filesystem Size Used Available Use% Mounted on
tmpfs 176.8M 68.0K 176.7M 0% /dev
tmpfs 176.8M 0 176.8M 0% /mnt/asec
tmpfs 176.8M 0 176.8M 0% /mnt/obb
/dev/block/nandd 503.9M 398.1M 105.9M 79% /system
/dev/block/nande 1.2G 103.7M 1.1G 9% /data
/dev/block/nandh 315.0M 5.2M 309.8M 2% /cache
/dev/block/vold/93:72 1.1G 48.0K 1.1G 0% /mnt/sdcard
/dev/block/vold/93:72 1.1G 48.0K 1.1G 0% /mnt/secure/asec
[email protected]:/ # cat /proc/partitions
cat /proc/partitions
major minor #blocks name
93 0 16384 nanda
93 8 16384 nandb
93 16 32768 nandc
93 24 614400 nandd
93 32 1228800 nande
93 40 16384 nandf
93 48 32768 nandg
93 56 327680 nandh
93 64 262144 nandi
93 72 1171456 nandj
DOWNLOAD ROM:
- New Version v2.5 -
4shared.com - FaaastJB-v2.5
mediafire.com - FaaastJB-v2.5
- Old version v2-
4shared.com - FaaastJB-v2
mediafire.com - FaaastJB-v2
By default Touch Screen DON'T work
STEP BY STEP FOR INSTALLING TS MODULES:
You need to have ADB installed before proceed
1. Flash FaaastJB with Livesuit 1.11
2. Wait for tablet to boot and load
3. Connect your tablet to PC
4. Extract all content from TS MODULE archive to a directory
5. Execute run.bat
6. After press any key dialog the tablet will reboot
7. That's all folks
If you don't know what TS driver to use try Uberizer option k/22 and use command "lsmod" on original working ROM.
I recommend try all archives and test both TS and gsensor for better result, don't stop at the first working TS try more.
OLD TS from FaaastJB 4.1.1 don't work here
DOWNLOAD TS MODULE
Single TS MODULE
- ekt3632.ko aka elan
- gt811_ts.ko
- gt828_ts.ko+mc32x0.ko
- gt811_ts.ko+dmard06.ko
- gsl1680.ko
- ft5x_ts.ko
- goodix_touch.ko
- gslx680.ko+mxc622x.ko
- ssd253x-ts.ko+dmard06.ko
- gslx680.ko
- gsl1680.ko+dmard06.ko
- ft5x_ts.ko
- gt828_ts.ko+mxc622x.ko
- zet6221.ko
- ekt3632.ko aka elan
- ektf2k.ko aka ekt3632+mma7660
- ssd253x-ts.ko+dmard06.ko+mma7660.ko
- elan_ts+mxc622x
- goodix811.ko+mxc622x.ko
- ssd253x-ts.ko
USERS TS MODULE
- gls1680+dmard06+mc32x0 - Thx to meatsos
- mg8698s+mxc622x+sp0838 - Thx to leoZ
- gt828_ts+mma7660 - Thx to goosen999
Multiple TS MODULE
- ft5x_ts, goodix_touch, ssd253x-ts, zet622x, byd693x-ts, gt82x, gt811, pixcir_cxx, gslx680, st1536_ts, elan_ts+mxc622x
- ft5x_ts, goodix_ts, gslX680, nt11003+mxc32x0
- ft5x_ts, ssd253x-ts, gt811_ts, sitronix_i2c_touch+dmard06+mma7660
- ft5x_ts, goodix_touch, ssd253x-ts, zet622x, byd693x-ts, gt82x, gt811, pixcir_touch_811, gsl1680, st1536_ts+mxc622x
- aw5306_ts.ko-pixcir_ts.ko-gt811.ko-gsl168x.ko-sichuang.ko-ft5x_ts.ko+mma7660
- gt811_ts.ko-A13_gslX680.ko-ft5x_ts.ko+mxc622x
- S710TAB - ft5x_ts.ko-gt811.ko-gslX680.ko+mxc622x
SPECIAL TS MODULE
- Ainol Novo7 Legend
- Multiple TS/GS: gslX680-ft5x_ts-gt818_ts-gt811_ts-zet6221+bma250-mma7660-dmard06-mma8452-kxtik-mxc622x-afa750-mma865x-lis3dh-mc32x0 after you use this module you will need to reflash ROM again if not works.
If you have found a TS and have reverse axes or screenshift i recommend to use this tools or try TSCalibration
More application for calibration need more people to test and confirm is working Touch Recalibrate
If you have inverted gsensor you will need to edit this file /system/usr/gsensor.cfg look for your gsensor name and play with this:
gsensor_direct_x = false
gsensor_direct_y = true
gsensor_direct_z = false
gsensor_xy_revert = false
Camera sux anyway on this tablet so if you still want to work you will need to edit script.bin section [csi0_para]
Don't forgot to make BACKUP of default ROM
For backup i recommend Uberizer option i/3.
I recommend this ROM for people who don't have a working TS.
This devices can't be bricked but if you don't find the right ROM they don't work correctly so if you don't know what your doing don't try it.
I recommend this ROM for people who don't have a working TS.
Thanks goes to Toxicro @ Techknow Forums for this rom this is his work..
Click to expand...
Click to collapse
hi there, thanks for this rom, i tried all of the ts driver, but nothing work. sorry but i dont know my default driver because before i installed diffrent rom on this tablet, that time i was not working so there is no chance of knowing the default driver, then i opened the back case, the only familliar name there is the allwinner tech a13 nothing more... so there is no indication of the ts driver, is there anyone can help me?
jh3ss said:
hi there, thanks for this rom, i tried all of the ts driver, but nothing work. sorry but i dont know my default driver because before i installed diffrent rom on this tablet, that time i was not working so there is no chance of knowing the default driver, then i opened the back case, the only familliar name there is the allwinner tech a13 nothing more... so there is no indication of the ts driver, is there anyone can help me?
Click to expand...
Click to collapse
there is not much you can do apart from to source more drivers and keep trying different ones until you get a working one... especially as you have no clue on what the modules were on the original firmware....
Need Help for Camera
Hello Brothers.....
Camera problem may be due to camera lib files ... if it not working, we need to rewrite kernel for our allwinner a13 processor....
if anybody have kernel knowledge, pls do it..
Many-many-many THANKS for this ROM! :good:
Hello
I have a problem , my TS doesn't work :
lsmod data
8188eu 621112 0 - Live 0xbf2d1000
rtl8150 10305 0 - Live 0xbf2c4000
mcs7830 7581 0 - Live 0xbf2be000
qf9700 9152 0 - Live 0xbf2b7000
asix 24601 0 - Live 0xbf2ab000
sun5i_csi0 33355 0 - Live 0xbf29d000
gc0308 18608 1 - Live 0xbf294000
camera 61054 1 sun5i_csi0, Live 0xbf280000
videobuf_dma_contig 6251 1 sun5i_csi0, Live 0xbf27b000
videobuf_core 20242 2 sun5i_csi0,videobuf_dma_contig, Live 0xbf271000
cedarx 9351 0 - Live 0xbf26a000
mali 115410 8 - Live 0xbf240000
ump 34349 19 mali, Live 0xbf231000
gslx680 1052023 0 - Live 0xbf106000
byd693x_ts 9094 0 - Live 0xbf0db000
zet622x 17751 0 - Live 0xbf0cd000
ssd253x_ts 21452 0 - Live 0xbf0ac000
goodix_touch 18280 0 - Live 0xbf0a3000
ft5x_ts 77026 0 - Live 0xbf074000
inet_ctp 2227 6 gslx680,byd693x_ts,zet622x,ssd253x_ts,goodix_touch,ft5x_ts, Live 0xbf070000
mxc622x 6310 0 - Live 0xbf06a000
nand 225002 8 - Live 0xbf000000
First link of Multiple TS MODULE don't work
http://www.4shared.com/rar/JBiFCtmb/2-solomonsam.html
However i have installed this ROM and i have installed
gslx680.ko+mxc622x.ko Module
The Touch seem to respond but is not calibrated
I have tried Touch Recalibrate and TSCalibration but the situation remane the same
These are my info on STOCK ROM (i have backuped it whit CWM...but after installed this rom i didn't have the recovery anymore so now i can't restore it because i don't have an OTG adapter for install the recovery on the tablet)
Code:
[email protected]:/ $ su
[email protected]:/ # lsmod
8188eu 621112 0 - Live 0xbf279000
8192cu 575431 0 - Live 0xbf1d1000
mxc622x 6310 0 - Live 0xbf1cb000
rtl8150 10305 0 - Live 0xbf1c4000
mcs7830 7581 0 - Live 0xbf1be000
qf9700 9152 0 - Live 0xbf1b7000
asix 24601 0 - Live 0xbf1ab000
sun5i_csi0 33355 0 - Live 0xbf19d000
gc0308 18608 1 - Live 0xbf194000
camera 61054 1 sun5i_csi0, Live 0xbf180000
videobuf_dma_contig 6251 1 sun5i_csi0, Live 0xbf17b000
videobuf_core 20242 2 sun5i_csi0,videobuf_dma_contig, Live 0xbf171000
cedarx 9351 0 - Live 0xbf16a000
mali 115330 8 - Live 0xbf140000
ump 34309 17 mali, Live 0xbf131000
gslx680 359718 0 - Live 0xbf0af000
pixcir_cxx 23546 0 - Live 0xbf0a4000
gt811 15930 0 - Live 0xbf09c000
byd693x_ts 9094 0 - Live 0xbf08d000
zet622x 17831 0 - Live 0xbf07f000
ssd253x_ts 21452 0 - Live 0xbf075000
ft5x02 61964 0 - Live 0xbf055000
inet_ctp 2227 7 gslx680,pixcir_cxx,gt811,byd693x_ts,zet622x,ssd253x_ts,ft5x02, Live 0xbf039000
nand 169582 8 - Live 0xbf000000
[email protected]:/ # getevetn -lp /dev/input/event0
sh: getevetn: not found
127|[email protected]:/ # getevent -lp /dev/input/event0
add device 1: /dev/input/event0
name: "sun4i-keyboard"
events:
KEY (0001): KEY_ESC KEY_ENTER KEY_HOME KEY_VOLUMEDOWN
KEY_VOLUMEUP KEY_MENU KEY_SEARCH
input props:
<none>
[email protected]:/ # getevent -lp /dev/input/event1
add device 1: /dev/input/event1
name: "axp20-supplyer"
events:
KEY (0001): KEY_POWER
input props:
<none>
[email protected]:/ # getevent -lp /dev/input/event2
add device 1: /dev/input/event2
name: "mxc622x"
events:
ABS (0003): ABS_X : value 7, min -128, max 128, fuzz 0, flat 0, resolution 0
ABS_Y : value 3, min -128, max 128, fuzz 0, flat 0, resolution 0
ABS_Z : value 0, min -128, max 128, fuzz 0, flat 0, resolution 0
input props:
<none>
[email protected]:/ # getevent -lp /dev/input/event3
add device 1: /dev/input/event3
name: "gt811"
events:
ABS (0003): ABS_HAT0X : value 0, min 0, max 0, fuzz 0, flat 0, resolution 0
ABS_HAT1X : value 0, min 0, max 0, fuzz 0, flat 0, resolution 0
ABS_HAT2Y : value 0, min 0, max 0, fuzz 0, flat 0, resolution 0
ABS_HAT3X : value 0, min 0, max 0, fuzz 0, flat 0, resolution 0
ABS_DISTANCE : value 0, min 0, max 0, fuzz 0, flat 0, resolution 0
ABS_MT_TOUCH_MAJOR : value 0, min 0, max 255, fuzz 0, flat 0, resolution 0
ABS_MT_WIDTH_MAJOR : value 0, min 0, max 255, fuzz 0, flat 0, resolution 0
ABS_MT_POSITION_X : value 0, min 0, max 800, fuzz 0, flat 0, resolution 0
ABS_MT_POSITION_Y : value 0, min 0, max 480, fuzz 0, flat 0, resolution 0
ABS_MT_TRACKING_ID : value 0, min 0, max 5, fuzz 0, flat 0, resolution 0
input props:
<none>
[email protected]:/ # getevent -lp /dev/input/event4
add device 1: /dev/input/event4
name: "gslx680"
events:
ABS (0003): ABS_MT_TOUCH_MAJOR : value 0, min 0, max 255, fuzz 0, flat 0, resolution 0
ABS_MT_WIDTH_MAJOR : value 0, min 0, max 200, fuzz 0, flat 0, resolution 0
ABS_MT_POSITION_X : value 0, min 0, max 800, fuzz 0, flat 0, resolution 0
ABS_MT_POSITION_Y : value 0, min 0, max 480, fuzz 0, flat 0, resolution 0
ABS_MT_TRACKING_ID : value 0, min 0, max 11, fuzz 0, flat 0, resolution 0
input props:
<none>
[email protected]:/ #
ALSO ORIGINAL script.fex
Code:
[product]
version = "1.0"
machine = "A13-EVB-V1.0"
[target]
boot_clock = 1008
dcdc2_vol = 1400
dcdc3_vol = 1200
ldo2_vol = 3000
ldo3_vol = 3300
ldo4_vol = 3300
pll4_freq = 960
pll6_freq = 720
power_start = 0
storage_type = 0
[card_boot]
logical_start = 40960
sprite_gpio0 =
[pm_para]
standby_mode = 0
[card_boot0_para]
card_ctrl = 0
card_high_speed = 1
card_line = 4
sdc_d1 = port:PF00<2><1><default><default>
sdc_d0 = port:PF01<2><1><default><default>
sdc_clk = port:PF02<2><1><default><default>
sdc_cmd = port:PF03<2><1><default><default>
sdc_d3 = port:PF04<2><1><default><default>
sdc_d2 = port:PF05<2><1><default><default>
[twi_para]
twi_port = 0
twi_scl = port:PB00<2><1><default><default>
twi_sda = port:PB01<2><1><default><default>
[uart_para]
uart_debug_port = 0
uart_debug_tx = port:PG03<4><1><default><default>
uart_debug_rx = port:PG04<4><1><default><default>
[jtag_para]
jtag_enable = 0
jtag_ms = port:PF00<4><1><default><default>
jtag_ck = port:PF05<4><1><default><default>
jtag_do = port:PF03<4><1><default><default>
jtag_di = port:PF01<4><1><default><default>
[dram_para]
dram_baseaddr = 0x40000000
dram_clk = 432
dram_type = 3
dram_rank_num = 1
dram_chip_density = 2048
dram_io_width = 8
dram_bus_width = 16
dram_cas = 9
dram_zq = 0x7b
dram_odt_en = 0
dram_size = 512
dram_tpr0 = 0x42d899b7
dram_tpr1 = 0xa090
dram_tpr2 = 0x22a00
dram_tpr3 = 0x0
dram_tpr4 = 0x0
dram_tpr5 = 0x0
dram_emr1 = 0x4
dram_emr2 = 0x10
dram_emr3 = 0x0
[nand_para]
nand_used = 1
nand_we = port:PC00<2><default><default><default>
nand_ale = port:PC01<2><default><default><default>
nand_cle = port:PC02<2><default><default><default>
nand_ce1 = port:PC03<2><default><default><default>
nand_ce0 = port:PC04<2><default><default><default>
nand_nre = port:PC05<2><default><default><default>
nand_rb0 = port:PC06<2><default><default><default>
nand_rb1 = port:PC07<2><default><default><default>
nand_d0 = port:PC08<2><default><default><default>
nand_d1 = port:PC09<2><default><default><default>
nand_d2 = port:PC10<2><default><default><default>
nand_d3 = port:PC11<2><default><default><default>
nand_d4 = port:PC12<2><default><default><default>
nand_d5 = port:PC13<2><default><default><default>
nand_d6 = port:PC14<2><default><default><default>
nand_d7 = port:PC15<2><default><default><default>
nand_wp =
nand_ce2 =
nand_ce3 =
nand_ce4 =
nand_ce5 =
nand_ce6 =
nand_ce7 =
nand_spi =
nand_ndqs = port:PC19<2><default><default><default>
good_block_ratio = 0
[mali_para]
mali_used = 1
mali_clkdiv = 2
[twi0_para]
twi0_used = 1
twi0_scl = port:PB00<2><default><default><default>
twi0_sda = port:PB01<2><default><default><default>
[twi1_para]
twi1_used = 1
twi1_scl = port:PB15<2><default><default><default>
twi1_sda = port:PB16<2><default><default><default>
[twi2_para]
twi2_used = 1
twi2_scl = port:PB17<2><default><default><default>
twi2_sda = port:PB18<2><default><default><default>
[uart_para0]
uart_used = 0
uart_port = 0
uart_type = 2
uart_tx = port:PB19<2><1><default><default>
uart_rx = port:PB20<2><1><default><default>
[uart_para1]
uart_used = 0
uart_port = 1
uart_type = 2
uart_tx = port:PG03<4><1><default><default>
uart_rx = port:PG04<4><1><default><default>
[spi1_para]
spi_used = 0
spi_cs0 = port:PG09<2><default><default><default>
spi_cs1 = port:PG13<2><default><default><default>
spi_sclk = port:PG10<2><default><default><default>
spi_mosi = port:PG11<2><default><default><default>
spi_miso = port:PG12<2><default><default><default>
[spi2_para]
spi_used = 0
spi_cs0 = port:PE00<4><default><default><default>
spi_sclk = port:PE01<4><default><default><default>
spi_mosi = port:PB02<4><default><default><default>
spi_miso = port:PB03<4><default><default><default>
[rtp_para]
rtp_used = 0
rtp_screen_size = 5
rtp_regidity_level = 5
rtp_press_threshold_enable = 0
rtp_press_threshold = 0x1f40
rtp_sensitive_level = 0xf
rtp_exchange_x_y_flag = 0
[ctp_para]
ctp_boxchip_type = 2579
ctp_cob = 1
ctp_twi_id = 1
ctp0_used = 1
ctp0_name = "ft5x02"
ctp0_twi_addr = 56
ctp1_used = 0
ctp1_name = "Goodix-TS"
ctp1_twi_addr = 85
ctp2_used = 1
ctp2_name = "ssd253x-ts"
ctp2_twi_addr = 72
ctp2_ssd_type = 75801
ctp4_used = 1
ctp4_name = "zet622x-ts"
ctp4_twi_addr = 118
ctp5_used = 1
ctp5_name = "byd693x-ts"
ctp5_twi_addr = 82
ctp8_used = 0
ctp8_name = "gt82x"
ctp8_twi_addr = 93
ctp9_used = 1
ctp9_name = "gt811"
ctp9_twi_addr = 93
ctp10_used = 1
ctp10_name = "pixcir_cxx"
ctp10_twi_addr = 92
ctp12_used = 1
ctp12_name = "gslx680"
ctp12_twi_addr = 64
ctp12_gsl_type = 8602
ctp13_used = 1
ctp13_name = "sitronix_ts"
ctp13_twi_addr = 96
ctp19_used = 1
ctp19_name = "elan_ts"
ctp19_twi_addr = 20
ctp_screen_max_x = 800
ctp_screen_max_y = 480
ctp_revert_x_flag = 0
ctp_revert_y_flag = 0
ctp_exchange_x_y_flag = 0
ctp_int_port = port:PG11<6><default><default><default>
ctp_wakeup = port:PB03<1><default><default><1>
ctp_io_port = port:PG11<6><default><default><default>
[tkey_para]
tkey_used = 0
tkey_name = "hv_keypad"
tkey_twi_id = 2
tkey_twi_addr = 0x62
tkey_int =
[motor_para]
motor_used = 0
motor_shake =
[disp_init]
disp_init_enable = 1
disp_mode = 0
screen0_output_type = 1
screen0_output_mode = 4
screen1_output_type = 1
screen1_output_mode = 4
fb0_framebuffer_num = 2
fb0_format = 10
fb0_pixel_sequence = 0
fb0_scaler_mode_enable = 0
fb1_framebuffer_num = 2
fb1_format = 10
fb1_pixel_sequence = 0
fb1_scaler_mode_enable = 0
[lcd0_para]
lcd_used = 1
lcd_x = 800
lcd_y = 480
lcd_dclk_freq = 33
lcd_pwm_not_used = 0
lcd_pwm_ch = 0
lcd_pwm_freq = 10000
lcd_pwm_pol = 1
lcd_if = 0
lcd_hbp = 46
lcd_ht = 1055
lcd_vbp = 23
lcd_vt = 1050
lcd_hv_if = 0
lcd_hv_smode = 0
lcd_hv_s888_if = 0
lcd_hv_syuv_if = 0
lcd_hv_vspw = 0
lcd_hv_hspw = 0
lcd_lvds_ch = 0
lcd_lvds_mode = 0
lcd_lvds_bitwidth = 0
lcd_lvds_io_cross = 0
lcd_cpu_if = 0
lcd_frm = 1
lcd_io_cfg0 = 268435456
lcd_gamma_correction_en = 0
lcd_gamma_tbl_0 = 0x0
lcd_gamma_tbl_1 = 0x10101
lcd_gamma_tbl_255 = 0xffffff
lcd_bl_en_used = 1
lcd_bl_en = port:power1<1><0><default><1>
lcd_power_used = 1
lcd_power = port:power0<1><0><default><1>
lcd_pwm_used = 1
lcd_pwm = port:PB02<2><0><default><default>
lcd_gpio_0 =
lcd_gpio_1 =
lcd_gpio_2 =
lcd_gpio_3 =
lcdd0 = port:PD00<2><0><default><default>
lcdd1 = port:PD01<2><0><default><default>
lcdd2 = port:PD02<2><0><default><default>
lcdd3 = port:PD03<2><0><default><default>
lcdd4 = port:PD04<2><0><default><default>
lcdd5 = port:PD05<2><0><default><default>
lcdd6 = port:PD06<2><0><default><default>
lcdd7 = port:PD07<2><0><default><default>
lcdd8 = port:PD08<2><0><default><default>
lcdd9 = port:PD09<2><0><default><default>
lcdd10 = port:PD10<2><0><default><default>
lcdd11 = port:PD11<2><0><default><default>
lcdd12 = port:PD12<2><0><default><default>
lcdd13 = port:PD13<2><0><default><default>
lcdd14 = port:PD14<2><0><default><default>
lcdd15 = port:PD15<2><0><default><default>
lcdd16 = port:PD16<2><0><default><default>
lcdd17 = port:PD17<2><0><default><default>
lcdd18 = port:PD18<2><0><default><default>
lcdd19 = port:PD19<2><0><default><default>
lcdd20 = port:PD20<2><0><default><default>
lcdd21 = port:PD21<2><0><default><default>
lcdd22 = port:PD22<2><0><default><default>
lcdd23 = port:PD23<2><0><default><default>
lcdclk = port:PD24<2><0><default><default>
lcdde = port:PD25<2><0><default><default>
lcdhsync = port:PD26<2><0><default><default>
lcdvsync = port:PD27<2><0><default><default>
[tv_out_dac_para]
dac_used = 1
dac0_src = 0
[hdmi_para]
hdmi_used = 0
[csi0_para]
csi_used = 1
csi_mode = 0
csi_dev_qty = 2
csi_stby_mode = 1
csi_mname = "gc0308"
csi_twi_id = 2
csi_twi_addr = 0x42
csi_if = 0
csi_vflip = 0
csi_hflip = 0
csi_iovdd = ""
csi_avdd = ""
csi_dvdd = ""
csi_flash_pol = 1
csi_facing = 1
csi_mname_b = "gt2005"
csi_twi_id_b = 2
csi_twi_addr_b = 0x78
csi_if_b = 0
csi_vflip_b = 0
csi_hflip_b = 0
csi_iovdd_b = ""
csi_avdd_b = ""
csi_dvdd_b = ""
csi_flash_pol_b = 1
csi_facing_b = 0
csi_pck = port:PE00<3><default><default><default>
csi_ck = port:PE01<3><default><default><default>
csi_hsync = port:PE02<3><default><default><default>
csi_vsync = port:PE03<3><default><default><default>
csi_d0 = port:PE04<3><default><default><default>
csi_d1 = port:PE05<3><default><default><default>
csi_d2 = port:PE06<3><default><default><default>
csi_d3 = port:PE07<3><default><default><default>
csi_d4 = port:PE08<3><default><default><default>
csi_d5 = port:PE09<3><default><default><default>
csi_d6 = port:PE10<3><default><default><default>
csi_d7 = port:PE11<3><default><default><default>
csi_reset = port:power3<1><default><default><0>
csi_power_en = port:power2<1><default><default><1>
csi_stby = port:PB10<1><default><default><1>
csi_flash =
csi_af_en =
csi_reset_b = port:power3<1><default><default><0>
csi_power_en_b = port:power2<1><default><default><1>
csi_stby_b = port:PG03<1><default><default><1>
csi_flash_b =
csi_af_en_b =
[csi1_para]
csi_used = 0
csi_mode = 0
csi_dev_qty = 1
csi_stby_mode = 1
csi_mname = ""
csi_twi_id = 1
csi_twi_addr = 0xba
csi_if = 0
csi_vflip = 0
csi_hflip = 0
csi_iovdd = ""
csi_avdd = ""
csi_dvdd = ""
csi_flash_pol = 1
csi_mname_b = ""
csi_twi_id_b = 1
csi_twi_addr_b = 0x78
csi_if_b = 0
csi_vflip_b = 1
csi_hflip_b = 0
csi_iovdd_b = ""
csi_avdd_b = ""
csi_dvdd_b = ""
csi_flash_pol_b = 1
csi_reset =
csi_power_en =
csi_stby =
csi_flash =
csi_af_en =
csi_reset_b =
csi_power_en_b =
csi_stby_b =
csi_flash_b =
csi_af_en_b =
[camera_list_para]
camera_list_para_used = 1
hm2057 = 1
ov7670 = 0
gc0308 = 1
gt2005 = 1
hi704 = 1
sp0838 = 1
mt9m112 = 0
mt9m113 = 0
ov2655 = 0
hi253 = 0
gc0307 = 0
mt9d112 = 0
ov5640 = 0
gc2015 = 1
ov2643 = 0
gc0329 = 1
gc0309 = 1
tvp5150 = 0
s5k4ec = 0
ov5650_mv9335 = 0
siv121d = 0
gc2035 = 1
sp2518 = 1
gc0328 = 1
[mmc0_para]
sdc_used = 1
sdc_detmode = 1
bus_width = 4
sdc_d1 = port:PF00<2><1><2><default>
sdc_d0 = port:PF01<2><1><2><default>
sdc_clk = port:PF02<2><1><2><default>
sdc_cmd = port:PF03<2><1><2><default>
sdc_d3 = port:PF04<2><1><2><default>
sdc_d2 = port:PF05<2><1><2><default>
sdc_det = port:PG00<0><1><default><default>
sdc_use_wp = 0
sdc_wp =
[mmc1_para]
sdc_used = 0
sdc_detmode =
bus_width =
sdc_cmd =
sdc_clk =
sdc_d0 =
sdc_d1 =
sdc_d2 =
sdc_d3 =
sdc_det =
sdc_use_wp =
sdc_wp =
[mmc2_para]
sdc_used = 0
sdc_detmode = 3
bus_width = 4
sdc_cmd = port:PE08<4><1><2><default>
sdc_clk = port:PE09<4><1><2><default>
sdc_d0 = port:PE04<4><1><2><default>
sdc_d1 = port:PE05<4><1><2><default>
sdc_d2 = port:PE06<4><1><2><default>
sdc_d3 = port:PE07<4><1><2><default>
sdc_det =
sdc_use_wp = 0
sdc_wp =
[ms_para]
ms_used = 0
ms_bs =
ms_clk =
ms_d0 =
ms_d1 =
ms_d2 =
ms_d3 =
ms_det =
[keypad_para]
kp_used = 0
kp_in_size =
kp_out_size =
kp_in0 =
kp_in1 =
kp_in2 =
kp_in3 =
kp_in4 =
kp_in5 =
kp_in6 =
kp_in7 =
kp_out0 =
kp_out1 =
kp_out2 =
kp_out3 =
kp_out4 =
kp_out5 =
kp_out6 =
kp_out7 =
[usbc0]
usb_used = 1
usb_port_type = 2
usb_detect_type = 1
usb_id_gpio = port:PG02<0><1><default><default>
usb_det_vbus_gpio = port:PG01<0><0><default><default>
usb_drv_vbus_gpio = port:PG12<1><0><default><0>
usb_host_init_state = 0
[usbc1]
usb_used = 1
usb_port_type = 1
usb_detect_type = 0
usb_id_gpio =
usb_det_vbus_gpio =
usb_drv_vbus_gpio = port:PG11<1><0><default><0>
usb_host_init_state = 1
[usb_feature]
vendor_id = 6353
mass_storage_id = 1
adb_id = 2
manufacturer_name = "USB Developer"
product_name = "Android"
serial_number = "20080411"
[msc_feature]
vendor_name = "USB 2.0"
product_name = "USB Flash Driver"
release = 100
luns = 2
[gsensor_para]
gsensor_used = 1
gsensor_unuse_name =
gsensor_twi_id = 1
gsensor_twi_addr =
gsensor_int1 =
gsensor_int2 =
[gps_para]
gps_used = 0
gps_spi_id =
gps_spi_cs_num =
gps_lradc =
gps_clk =
gps_sign =
gps_mag =
gps_vcc_en =
gps_osc_en =
gps_rx_en =
[sdio_wifi_para]
sdio_wifi_used = 0
sdio_wifi_sdc_id =
sdio_wifi_mod_sel =
[usb_wifi_para]
usb_wifi_used = 1
usb_wifi_usbc_num = 1
[3g_para]
3g_used = 0
3g_name =
3g_usbc_num =
3g_on_off =
3g_reset =
3g_poweron =
3g_wakeup_out =
3g_wakeup_in =
[gy_para]
gy_used = 0
gy_twi_id = 1
gy_twi_addr = 0
gy_int1 =
gy_int2 =
[ls_para]
ls_used = 0
ls_name = "ltr501als"
ls_twi_id = 1
ls_twi_addr =
ls_int =
[compass_para]
compass_used = 0
compass_twi_id =
compass_twi_addr =
compass_int =
[bt_para]
bt_used = 0
bt_uart_id =
bt_mod_type =
[i2s_para]
i2s_used = 0
i2s_channel =
i2s_mclk =
i2s_bclk =
i2s_lrclk =
i2s_dout0 =
i2s_dout1 =
i2s_dout2 =
i2s_dout3 =
i2s_din =
[spdif_para]
spdif_used = 0
spdif_mclk =
spdif_dout =
spdif_din =
[audio_para]
audio_used = 1
capture_used = 1
audio_lr_change = 1
audio_pa_ctrl = port:PG10<1><default><default><0>
[ir_para]
ir_used = 0
ir0_rx = port:PB04<2><default><default><default>
[rtc_para]
rtc_used = 1
rtc_name = "pcf8563"
rtc_twi_id = 1
rtc_twi_addr = 81
[pmu_para]
pmu_used = 1
pmu_twi_addr = 52
pmu_twi_id = 0
pmu_irq_id = 0
pmu_battery_rdc = 100
pmu_battery_cap = 2600
pmu_init_chgcur = 600
pmu_earlysuspend_chgcur = 600
pmu_suspend_chgcur = 1000
pmu_resume_chgcur = 300
pmu_shutdown_chgcur = 1000
pmu_init_chgvol = 4200
pmu_init_chgend_rate = 15
pmu_init_chg_enabled = 1
pmu_init_adc_freq = 100
pmu_init_adc_freqc = 100
pmu_init_chg_pretime = 50
pmu_init_chg_csttime = 720
pmu_bat_para1 = 0
pmu_bat_para2 = 0
pmu_bat_para3 = 0
pmu_bat_para4 = 0
pmu_bat_para5 = 5
pmu_bat_para6 = 13
pmu_bat_para7 = 16
pmu_bat_para8 = 26
pmu_bat_para9 = 36
pmu_bat_para10 = 46
pmu_bat_para11 = 53
pmu_bat_para12 = 61
pmu_bat_para13 = 73
pmu_bat_para14 = 84
pmu_bat_para15 = 92
pmu_bat_para16 = 100
pmu_usbvol_limit = 1
pmu_usbcur_limit = 0
pmu_usbvol = 4000
pmu_usbcur = 0
pmu_usbvol_pc = 4000
pmu_usbcur_pc = 0
pmu_pwroff_vol = 3300
pmu_pwron_vol = 2900
pmu_pekoff_time = 6000
pmu_pekoff_en = 1
pmu_peklong_time = 1500
pmu_pekon_time = 1000
pmu_pwrok_time = 64
pmu_pwrnoe_time = 2000
pmu_intotp_en = 1
pmu_used2 = 0
pmu_adpdet =
pmu_init_chgcur2 = 400
pmu_earlysuspend_chgcur2 = 600
pmu_suspend_chgcur2 = 1200
pmu_resume_chgcur2 = 400
pmu_shutdown_chgcur2 = 1200
pmu_suspendpwroff_vol = 3500
pmu_batdeten = 1
[boot_extend]
vol_threshold = 3600
[recovery_key]
key_min = 4
key_max = 100
[dvfs_table]
max_freq = 1008000000
min_freq = 60000000
LV_count = 7
LV1_freq = 1104000000
LV1_volt = 1500
LV2_freq = 1008000000
LV2_volt = 1400
LV3_freq = 912000000
LV3_volt = 1350
LV4_freq = 864000000
LV4_volt = 1300
LV5_freq = 624000000
LV5_volt = 1200
LV6_freq = 576000000
LV6_volt = 1200
LV7_freq = 432000000
LV7_volt = 1200
Please help my ç_ç
simone.pri said:
First link of Multiple TS MODULE don't work
[/CODE]
Click to expand...
Click to collapse
I will try this Rom on my TW-Q8 Allwiner once there are more success stories..
Thanks for your work.
Wilsonb said:
I will try this Rom on my TW-Q8 Allwiner once there are more success stories..
Thanks for your work.
Click to expand...
Click to collapse
it works wonderfully well...however, battrey drains a lott! :crying:
My specs
tjkingg said:
it works wonderfully well...however, battrey drains a lott! :crying:
Click to expand...
Click to collapse
I thought people were saying it would brick their device or no touch screen. If not I will do it today. I can work around the battery issue. It came
with a Firmware dated 11-30-2013 witch is not to old.
Should I capture this current firmware image on here for others? (How?)
My Specs on this white framed cheap thing I got recently..
Boxchip Allwinner A13
1008Mhz Single core
Mali 400MP (Single core GPU)
Tablet type:
TW-Q8 (Allwinner)
Screen size 7"
Freq. states 6
Neon capable (video playback)
512mb DDR
-----------------------------
Current firmware
Android 4.1.2
Baseband 1.5
Kernel 3.0.8+
Firmware build
JSD_TW-A0708-V63-120D_20131105
Hi, firstly thank you for you rom. I have a tablet EVOQ QPAD710A. This ROM works on my tablet but i have a problem. With default rom is everythink fine but whit FaaastJB 2.5 tablet working only on usb or charger. On charger or USB tablet do a randomly crap sounds from speaker and when i unplug charger or usb the exact moment of the sound, the tablet turns off hard.
Can anyone help with this?
Wilsonb said:
I thought people were saying it would brick their device or no touch screen. If not I will do it today. I can work around the battery issue. It came
with a Firmware dated 11-30-2013 witch is not to old.
Should I capture this current firmware image on here for others? (How?)
My Specs on this white framed cheap thing I got recently..
Boxchip Allwinner A13
1008Mhz Single core
Mali 400MP (Single core GPU)
Tablet type:
TW-Q8 (Allwinner)
Screen size 7"
Freq. states 6
Neon capable (video playback)
512mb DDR
-----------------------------
Current firmware
Android 4.1.2
Baseband 1.5
Kernel 3.0.8+
Firmware build
JSD_TW-A0708-V63-120D_20131105
Click to expand...
Click to collapse
Download uberizer and go to option 'i' to make a backup or and image file to flash
Hi, guys. Could somebody please tell me, after backing it up with Uberizer i/3, how can I restore this backup?
Thanks,
P.S. Nevermind... Noticed it was option i/4
Auris 1.6 vvt-i said:
Hi, guys. Could somebody please tell me, after backing it up with Uberizer i/3, how can I restore this backup?
Thanks,
P.S. Nevermind... Noticed it was option i/4
Click to expand...
Click to collapse
lol :silly:
Work perfectly on my Bmorn V13 Pro using allwinner a13. Thanks alot
any1 experiencing battery drain??
Sent from my Nexus 7 using XDA Premium 4 mobile app
anyone has ace allwinner a13 8 inch firware?
I already installed this firmware but it seems for 7 inch tablet only. Do yo have firmware for ace 8 inch tablet? thanks!
Will back up current Rom(anyone interested?) Is there a Android 4.4.2 avail for A13?
Will back up current Rom(anyone interested? See below for what I have.)
Is there an Android 4.4.2 Rom avail for Allwinner A13?
Wilsonb said:
I thought people were saying it would brick their device or no touch screen. If not I will do it today. I can work around the battery issue. It came
with a Firmware dated 11-30-2013 witch is not to old.
Should I capture this current firmware image on here for others? (How?)
My Specs on this white framed cheap thing I got recently..
Boxchip Allwinner A13
1008Mhz Single core
Mali 400MP (Single core GPU)
Tablet type:
TW-Q8 (Allwinner)
Screen size 7"
Freq. states 6
Neon capable (video playback)
512mb DDR
-----------------------------
Current firmware
Android 4.1.2
Baseband 1.5
Kernel 3.0.8+
Firmware build
JSD_TW-A0708-V63-120D_20131105
Click to expand...
Click to collapse
Wilsonb said:
Will back up current Rom(anyone interested? See below for what I have.)
Is there an Android 4.4.2 Rom avail for Allwinner A13?
Click to expand...
Click to collapse
do backup
Sent from my XT1033 using XDA Premium 4 mobile app
about Strace
Android provides Logcat for tracing and debugging Apps , Logcat provides too short information and limited apps also programs has to support logcat or there wo'nt be any log ! this makes Android logcar be completely un-useful in large/advanced programs .
strace is a debugging utility to monitor a program system calls or signals it receives . strace is used while we want to find the reason a program crashes or finding out what causes a process not to work as expected .
strace is much more powerful than Android Logcat . unlike logcat , any process may be monitored by strace also there is no need to rewrite a program for support of strace
usage & downloading
I have ported strace to Android and it works without any bugs
download the lastest binary from this post , move it to /system/bin and set permissions to 755 .
strace has a lot of options you can find by running it using :
Code:
strace --help
most common functions are :
1- using strace to monitor a command :
Code:
strace echo hello
2- using strace to monitor an App/process :
Code:
strace -p 123
(123 is a example , use any other PID you wish )
here is an example of running strace with hello command :
Code:
ALIREZA | strace echo hello
execve("/system/xbin/echo", ["echo", "hello"], [/* 26 vars */]) = 0
mprotect(0x4005d000, 75164, PROT_READ|PROT_WRITE|PROT_EXEC) = 0
mprotect(0x4005d000, 77824, PROT_READ|PROT_EXEC) = 0
mprotect(0x40070000, 4096, PROT_READ) = 0
gettid() = 31648
set_tls(0x40080f6c, 0x40080f30, 0x40081068, 0x40, 0x40080f30) = 0
getpid() = 31648
sigaction(SIGILL, {0x40062ba1, [], SA_RESTART|SA_SIGINFO}, NULL, 0x397a4) = 0
sigaction(SIGABRT, {0x40062ba1, [], SA_RESTART|SA_SIGINFO}, NULL, 0x397a4) = 0
sigaction(SIGBUS, {0x40062ba1, [], SA_RESTART|SA_SIGINFO}, NULL, 0x397a4) = 0
sigaction(SIGFPE, {0x40062ba1, [], SA_RESTART|SA_SIGINFO}, NULL, 0x397a4) = 0
sigaction(SIGSEGV, {0x40062ba1, [], SA_RESTART|SA_SIGINFO}, NULL, 0x397a4) = 0
sigaction(SIGSTKFLT, {0x40062ba1, [], SA_RESTART|SA_SIGINFO}, NULL, 0x397a4) = 0
sigaction(SIGPIPE, {0x40062ba1, [], SA_RESTART|SA_SIGINFO}, NULL, 0x397a4) = 0
mprotect(0x8000, 500100, PROT_READ|PROT_WRITE|PROT_EXEC) = 0
stat64("/vendor/lib/libc.so", 0xbea736b8) = -1 ENOENT (No such file or directory)
stat64("/system/lib/libc.so", {st_mode=S_IFREG|0644, st_size=286596, ...}) = 0
open("/system/lib/libc.so", O_RDONLY) = 7
lseek(7, 0, SEEK_SET) = 0
read(7, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0(\0\1\0\0\0\0\0\0\0004\0\0\0"..., 4096) = 4096
lseek(7, -8, SEEK_END) = 286588
read(7, "\1\0\0\0\0\0\0\0", 8) = 8
mmap2(NULL, 331776, PROT_NONE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x400f7000
madvise(0x400f7000, 331776, 0xc /* MADV_??? */) = 0
mmap2(0x400f7000, 271932, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_FIXED, 7, 0) = 0x400f7000
madvise(0x400f7000, 271932, 0xc /* MADV_??? */) = 0
mprotect(0x400f7000, 274432, PROT_READ|PROT_WRITE|PROT_EXEC) = 0
mmap2(0x4013a000, 10344, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED, 7, 0x43) = 0x4013a000
madvise(0x4013a000, 10344, 0xc /* MADV_??? */) = 0
mmap2(0x4013d000, 45051, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x4013d000
madvise(0x4013d000, 45051, 0xc /* MADV_??? */) = 0
close(7) = 0
mprotect(0x400f7000, 274432, PROT_READ|PROT_EXEC) = 0
stat64("/vendor/lib/liblog.so", 0xbea736b8) = -1 ENOENT (No such file or directory)
stat64("/system/lib/liblog.so", {st_mode=S_IFREG|0644, st_size=13536, ...}) = 0
open("/system/lib/liblog.so", O_RDONLY) = 7
lseek(7, 0, SEEK_SET) = 0
read(7, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0(\0\1\0\0\0\0\0\0\0004\0\0\0"..., 4096) = 4096
lseek(7, -8, SEEK_END) = 13528
read(7, "\1\0\0\0\0\0\0\0", 8) = 8
mmap2(NULL, 20480, PROT_NONE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x4000d000
madvise(0x4000d000, 20480, 0xc /* MADV_??? */) = 0
mmap2(0x4000d000, 11235, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_FIXED, 7, 0) = 0x4000d000
madvise(0x4000d000, 11235, 0xc /* MADV_??? */) = 0
mprotect(0x4000d000, 12288, PROT_READ|PROT_WRITE|PROT_EXEC) = 0
mmap2(0x40010000, 4116, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED, 7, 0x2) = 0x40010000
madvise(0x40010000, 4116, 0xc /* MADV_??? */) = 0
close(7) = 0
stat64("/vendor/lib/libstdc++.so", 0xbea73618) = -1 ENOENT (No such file or directory)
stat64("/system/lib/libstdc++.so", {st_mode=S_IFREG|0644, st_size=5336, ...}) = 0
open("/system/lib/libstdc++.so", O_RDONLY) = 7
lseek(7, 0, SEEK_SET) = 0
read(7, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0(\0\1\0\0\0\0\0\0\0004\0\0\0"..., 4096) = 4096
lseek(7, -8, SEEK_END) = 5328
read(7, "\1\0\0\0\0\0\0\0", 8) = 8
mmap2(NULL, 12288, PROT_NONE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x40082000
madvise(0x40082000, 12288, 0xc /* MADV_??? */) = 0
mmap2(0x40082000, 2656, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_FIXED, 7, 0) = 0x40082000
madvise(0x40082000, 2656, 0xc /* MADV_??? */) = 0
mprotect(0x40082000, 4096, PROT_READ|PROT_WRITE|PROT_EXEC) = 0
mmap2(0x40083000, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED, 7, 0) = 0x40083000
madvise(0x40083000, 4096, 0xc /* MADV_??? */) = 0
mmap2(0x40084000, 16, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x40084000
madvise(0x40084000, 16, 0xc /* MADV_??? */) = 0
close(7) = 0
mprotect(0x40082000, 4096, PROT_READ|PROT_EXEC) = 0
mprotect(0x40083000, 4096, PROT_READ) = 0
stat64("/vendor/lib/libm.so", 0xbea73618) = -1 ENOENT (No such file or directory)
stat64("/system/lib/libm.so", {st_mode=S_IFREG|0644, st_size=91288, ...}) = 0
open("/system/lib/libm.so", O_RDONLY) = 7
lseek(7, 0, SEEK_SET) = 0
read(7, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0(\0\1\0\0\0\0\0\0\0004\0\0\0"..., 4096) = 4096
lseek(7, -8, SEEK_END) = 91280
read(7, "\1\0\0\0\0\0\0\0", 8) = 8
mmap2(NULL, 98304, PROT_NONE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x400d8000
madvise(0x400d8000, 98304, 0xc /* MADV_??? */) = 0
mmap2(0x400d8000, 85924, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_FIXED, 7, 0) = 0x400d8000
madvise(0x400d8000, 85924, 0xc /* MADV_??? */) = 0
mprotect(0x400d8000, 86016, PROT_READ|PROT_WRITE|PROT_EXEC) = 0
mmap2(0x400ee000, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED, 7, 0x15) = 0x400ee000
madvise(0x400ee000, 4096, 0xc /* MADV_??? */) = 0
mmap2(0x400ef000, 32, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x400ef000
madvise(0x400ef000, 32, 0xc /* MADV_??? */) = 0
close(7) = 0
mprotect(0x400d8000, 86016, PROT_READ|PROT_EXEC) = 0
mprotect(0x400ee000, 4096, PROT_READ) = 0
mprotect(0x4000d000, 12288, PROT_READ|PROT_EXEC) = 0
mprotect(0x40010000, 4096, PROT_READ) = 0
stat64("/vendor/lib/libcutils.so", 0xbea736b8) = -1 ENOENT (No such file or directory)
stat64("/system/lib/libcutils.so", {st_mode=S_IFREG|0644, st_size=63252, ...}) = 0
open("/system/lib/libcutils.so", O_RDONLY) = 7
lseek(7, 0, SEEK_SET) = 0
read(7, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0(\0\1\0\0\0\0\0\0\0004\0\0\0"..., 4096) = 4096
lseek(7, -8, SEEK_END) = 63244
read(7, "\1\0\0\0\0\0\0\0", 8) = 8
mmap2(NULL, 126976, PROT_NONE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x40148000
madvise(0x40148000, 126976, 0xc /* MADV_??? */) = 0
mmap2(0x40148000, 58972, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_FIXED, 7, 0) = 0x40148000
madvise(0x40148000, 58972, 0xc /* MADV_??? */) = 0
mprotect(0x40148000, 61440, PROT_READ|PROT_WRITE|PROT_EXEC) = 0
mmap2(0x40157000, 4620, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED, 7, 0xe) = 0x40157000
madvise(0x40157000, 4620, 0xc /* MADV_??? */) = 0
mmap2(0x40159000, 57096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x40159000
madvise(0x40159000, 57096, 0xc /* MADV_??? */) = 0
close(7) = 0
mprotect(0x40148000, 61440, PROT_READ|PROT_EXEC) = 0
mprotect(0x40157000, 4096, PROT_READ) = 0
mprotect(0x8000, 503808, PROT_READ|PROT_EXEC) = 0
mmap2(NULL, 49152, PROT_READ, MAP_SHARED, 8, 0) = 0x400a4000
futex(0x40140734, FUTEX_WAKE_PRIVATE, 2147483647) = 0
open("/dev/urandom", O_RDONLY) = 7
read(7, "@\236", 4) = 4
close(7) = 0
clock_gettime(CLOCK_MONOTONIC, {29544, 299349465}) = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x40167000
madvise(0x40167000, 4096, 0xc /* MADV_??? */) = 0
mprotect(0x40167000, 4096, PROT_READ) = 0
getuid32() = 0
brk(0) = 0xf0d000
brk(0xf0d000) = 0xf0d000
brk(0xf0e000) = 0xf0e000
write(1, "hello\n", 6hello
) = 6
mprotect(0x40167000, 4096, PROT_READ|PROT_WRITE) = 0
mprotect(0x40167000, 4096, PROT_READ) = 0
futex(0x4014072c, FUTEX_WAKE_PRIVATE, 2147483647) = 0
munmap(0x40167000, 4096) = 0
exit_group(0) = ?
and now lastest download link :
Download Strace 4.8 from here
license
strace is a free software, you may download source of strace from here
Only 4 downloads ?!
Segfault any attemp to use it!
Running on LG P500 (ARMv6) cm-10.2
OK, guess what? Already have it on /system/xbin and that does work.
Very nice tool/utility man.....
will try it to solve issues on my roms...
thanks man :good:
regards,
abhi922.
abhi922 said:
Very nice tool/utility man.....
will try it to solve issues on my roms...
thanks man :good:
regards,
abhi922.
Click to expand...
Click to collapse
Dido, I needed such a tool too.
Thanks
Would like to try it, but the download link requires me to sign up for an account. Can't you make this available some other way?
you dont need an account to download. Between the 2 ads is the download button
SVLAN said:
you dont need an account to download. Between the 2 ads is the download button
Click to expand...
Click to collapse
Thanks, I got it! I really hate these purposely misleading download sites.
Once i run strace -p 123 it will come back
Code:
strace: attach: ptrace(PTRACE_ATTACH, ...): Operation not permitted
SVLAN said:
Once i run strace -p 123 it will come back
Code:
strace: attach: ptrace(PTRACE_ATTACH, ...): Operation not permitted
Click to expand...
Click to collapse
I said :
(123 is a example , use any other PID you wish )
Click to expand...
Click to collapse
You must use the a valid PID , 123 is an example .
For getting PID of an APP/Process , use the this command in terminal :
Code:
ps | grep "abc"
instead of abc , write the process name you want ! for example :
Code:
ps | grep "com.android.acore"
then search for PID in the output and use it with strace !
SVLAN said:
Once i run strace -p 123 it will come back
Code:
strace: attach: ptrace(PTRACE_ATTACH, ...): Operation not permitted
Click to expand...
Click to collapse
You need to be root to attach to already running processes.
I also find the "-f" option useful for more complex executables (which fork new processes). "-o" to write the output to a file can be useful if there is much output.
@alireza7991
Can I use this in the tool in my signature please?
Lgrootnoob said:
@alireza7991
Can I use this in the tool in my signature please?
Click to expand...
Click to collapse
This is a free software , You must accept the GNU Public Licence v2 ( or higher ) terms ; after that , you are allowed to use it .
alireza7991 said:
This is a free software , You must accept the GNU Public Licence v2 ( or higher ) terms ; after that , you are allowed to use it .
Click to expand...
Click to collapse
Sweet!
Huh? It's a well-known, standard unix utility, being a part of Android distribution since Android 1.6 (although, only in debug builds)...
See https://android.googlesource.com/platform/external/strace/ (note all the branches on the left)
It's good to make people aware of it, though, as it's a very useful tool for debugging some kinds of issues.
tom3q said:
Huh? It's a well-known, standard unix utility, being a part of Android distribution since Android 1.6 (although, only in debug builds)...
See https://android.googlesource.com/platform/external/strace/ (note all the branches on the left)
It's good to make people aware of it, though, as it's a very useful tool for debugging some kinds of issues.
Click to expand...
Click to collapse
I haven't seen it, but its just in android sources and only in debug builds for debugging the android but This is a standalone build of latest STrace suitable for developers to debug their APPs . Developers will not download and compile whole android for just having a dynamicly linked strace .
Another thing , why most of you are saying its a well-known/popular linux utility ... , did I say it is not ????
Segfaults on Razr i (intel atom x86).
alireza7991 said:
I haven't seen it, but its just in android sources and only in debug builds for debugging the android but This is a standalone build of latest STrace suitable for developers to debug their APPs . Developers will not download and compile whole android for just having a dynamicly linked strace .
Another thing , why most of you are saying its a well-known/popular linux utility ... , did I say it is not ????
Click to expand...
Click to collapse
But that's something that's popular to do here, a lot of people download the sources and compile the ROMs they run from source. Additionally, this is probably included in every custom ROM out there. My CM10.2 install has the utility built in.
There's no need to be defensive, the RD that's replying to you is just providing links for more reading. The better informed the users of this site are, the more cool stuff we'll see in the future.
Thanks for your strace build!
r3tr0g4m3r said:
Segfaults on Razr i (intel atom x86).
Click to expand...
Click to collapse
This does not work on X86 based platforms.
There're quite a few blog posts on the net about compiling strace from source.
Eg. http://discuz-android.blogspot.com/2008/01/create-google-android-strace-tool.html
I've created a precompiled tgz package that you can extract into the root of your filesystem and it'll put strace into /data/local (i.e. /data/local/bin/strace).
http://muzso.hu/node/4869
I prefer my utilities in /data/local.