[A13 ROM JB 4.2.2 + DRIVERS] how to fix your tablet by modding drivers yourself. - Miscellaneous Android Development

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

Related

Strace for Android

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?

[Q] kernel compiling,zImage packing and unpacking

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~

[Q] Android 4.0.4 and high cpu usage of system_server with autorotate on

Hi,
i have nexus S with IMM76D_deodexed. I had preciously 4.0.3, then 4.0.4 - IMM26. Now IMM76D, CWM.
With IMM76D I hoped all will be solved, but not.
before updating to IMM76D I did:
back to factory reset
format SD card
clean Dalvik
clean /system except /boot
Now i think, I'm only one, who has infamous autotate high cpu usage bug
- without autorotate (cpu usage is normal):
Code:
top -m 100 -d 1 -n 1 | head -20
User 0%, System 3%, IOW 0%, IRQ 0%
User 0 + Nice 0 + Sys 4 + Idle 99 + IOW 0 + IRQ 0 + SIRQ 0 = 103
PID PR CPU% S #THR VSS RSS PCY UID Name
11891 0 7% R 1 1000K 396K bg root top
11867 0 0% S 1 0K 0K fg root kworker/0:0
11814 0 0% S 11 273628K 23708K bg app_70 com.google.android.maps.mytracks
132 0 0% S 81 369556K 45464K fg system system_server
330 0 0% S 25 294536K 29760K fg radio com.android.phone
8 0 0% S 1 0K 0K fg root sync_supers
9 0 0% S 1 0K 0K fg root bdi-default
10 0 0% S 1 0K 0K fg root kblockd
11 0 0% S 1 0K 0K fg root khubd
12 0 0% S 1 0K 0K fg root kinteractiveup
14 0 0% S 1 0K 0K fg root kswapd0
15 0 0% S 1 0K 0K fg root fsnotify_mark
16 0 0% S 1 0K 0K fg root crypto
with autorotate - system_server
Code:
top -m 100 -d 1 -n 1 | head -20
User 7%, System 12%, IOW 0%, IRQ 0%
User 6 + Nice 2 + Sys 13 + Idle 85 + IOW 0 + IRQ 0 + SIRQ 0 = 106
PID PR CPU% S #THR VSS RSS PCY UID Name
132 0 14% S 81 369572K 45768K fg system system_server
12030 0 5% R 1 1004K 400K bg root top
200 0 3% S 17 285416K 33964K fg system com.android.systemui
78 0 2% S 8 42944K 16884K fg system /system/bin/surfaceflinger
290 0 0% S 1 2464K 636K fg wifi /system/bin/wpa_supplicant
223 0 0% S 1 0K 0K fg root dhd_dpc
11939 0 0% S 1 0K 0K fg root kworker/0:1
10 0 0% S 1 0K 0K fg root kblockd
11 0 0% S 1 0K 0K fg root khubd
12 0 0% S 1 0K 0K fg root kinteractiveup
14 0 0% S 1 0K 0K fg root kswapd0
15 0 0% S 1 0K 0K fg root fsnoti
again top with Threads
Code:
User 5%, System 12%, IOW 0%, IRQ 0%
User 15 + Nice 3 + Sys 39 + Idle 254 + IOW 0 + IRQ 0 + SIRQ 0 = 311
PID TID PR CPU% S VSS RSS PCY UID Thread Proc
132 146 0 7% D 369572K 45768K fg system system_server system_server
12028 12028 0 4% R 1192K 588K bg root top top
132 166 0 2% S 369572K 45768K fg system er$SensorThread system_server
132 148 0 2% S 369572K 45768K fg system er.ServerThread system_server
132 147 0 1% S 369572K 45768K fg system SensorService system_server
200 200 0 0% S 285416K 33964K fg system ndroid.systemui com.android.systemui
11864 11864 0 0% S 0K 0K fg root kworker/u:2
11939 11939 0 0% S 0K 0K fg root kworker/0:1
78 111 0 0% S 42944K 16884K fg system SurfaceFlinger /system/bin/surfaceflinger
132 187 0 0% S 369572K 45768K fg system WifiService system_server
What should i do?
edit:
strace is writing following block repeatedly like crazy
strace -f -T -v -p 132
Code:
(Timeout) <0.000037>
[pid 147] write(103, "h\0\0\0\0\0\0\0\1\0\0\0\0\0\0\0pe\34d\2340\0\0\354\337\267?>\205\[email protected]\275"..., 104 <unfinished ...>
[pid 166] <... epoll_wait resumed> ) = 1 <0.031740>
[pid 166] read(102, "h\0\0\0\0\0\0\0\1\0\0\0\0\0\0\0pe\34d\2340\0\0\354\337\267?>\205\[email protected]\275"..., 104) = 104 <0.000034>
[pid 166] clock_gettime(CLOCK_MONOTONIC, {53448, 257720074}) = 0 <0.000030>
[pid 166] write(46, "W"..., 1) = 1 <0.000278>
[pid 166] read(102, 0x519ebb80, 104) = -1 EAGAIN (Resource temporarily unavailable) <0.000032>
[pid 166] epoll_wait(0x6a, 0x519eb9f0, 0x10, 0xffffffff <unfinished ...>
[pid 148] <... epoll_wait resumed> ) = 1 <0.029798>
[pid 148] read(45, "W"..., 16) = 1 <0.000038>
[pid 148] clock_gettime(CLOCK_MONOTONIC, {53448, 261245950}) = 0 <0.000035>
[pid 148] getpid() = 132 <0.000090>
[pid 148] getuid32() = 1000 <0.000029>
[pid 148] epoll_wait(0x2f, 0x50787a90, 0x10, 0) = 0 <0.000032>
[pid 148] clock_gettime(CLOCK_MONOTONIC, {53448, 263335575}) = 0 <0.000276>
[pid 148] epoll_wait(0x2f, 0x50787a90, 0x10, 0xa6d7 <unfinished ...>
[pid 147] <... write resumed> ) = 104 <0.008302>
[pid 147] poll([{fd=37, events=POLLIN}, {fd=38, events=POLLIN}, {fd=42, events=POLLIN}, {fd=43, events=POLLIN}, {fd=41, events=POLLIN}], 5, -1 <unfinished ...>
[pid 146] <... write resumed> ) = 16 <0.012667>
[pid 146] ioctl(39, 0x80066108, 0x50587ec0) = 0 <0.016268>
[pid 146] write(36, "\0\0\0\0\0\0\0\0\2\0\0\0]\1\0\0"..., 16) = 16 <0.000044>
[pid 146] write(36, "\0\0\0\0\0\0\0\0\2\0\1\0J\0\0\0"..., 16) = 16 <0.000300>
[pid 146] write(36, "\0\0\0\0\0\0\0\0\2\0\2\0G\1\0\0"..., 16) = 16 <0.000039>
[pid 146] write(36, "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0"..., 16 <unfinished ...>
[pid 147] <... poll resumed> ) = 1 ([{fd=42, revents=POLLIN}]) <0.021342>
[pid 147] read(42, "\310\320\0\0\352P\4\0\2\0\0\0]\1\0\0\310\320\0\0\333T\4\0\2\0\1\0J\0\0\0\310"..., 512) = 64 <0.000039>
[pid 147] poll([{fd=37, events=POLLIN}, {fd=38, events=POLLIN}, {fd=42, events=POLLIN}, {fd=43, events=POLLIN}, {fd=41, events=POLLIN}], 5, 0) = 0
Hey dude,
No, you are not the only one with the auto-rotate bug. I have it too, but im on stock, non rooted ICS 4.0.4 for the Nexus S. But I can't help you either
Just wanted you to know that you are not alone.
what are the symptoms of this bug? every since i loaded 4.0.4, my phone seems to be eating up battery like crazy, also freezing up and shutting off randomly. sounds like it could be my problem.
should i just disable the auto-rotate setting for now?
00Hensley said:
what are the symptoms of this bug? every since i loaded 4.0.4, my phone seems to be eating up battery like crazy, also freezing up and shutting off randomly. sounds like it could be my problem.
should i just disable the auto-rotate setting for now?
Click to expand...
Click to collapse
It's worth a try, you can't damage anything if you do
I've been using the attached patch (against the stock ICS 3.0 kernel source, but should apply to any Nexus S 2.6.35 ICS or 3.0 kernel), which throttles the orientation sensor device and reduces system_server CPU usage to a more reasonable 2-3% (similar to Gingerbread).
Thanks for confirmation.
based on the confirmation there is new bug from me:
xxxttp://code.google.com/p/android/issues/detail?id=29965
For quick autorotate on and off i'm using quick app:
xxxttps://play.google.com/store/apps/details?id=com.friedflow.autorotate&feature=order_history
Thanks for the kernel patch... but i think, i will not building kernel...
i don't understand, why these bugs are not fixed yet... Like USB slow file transfer...
steven676 said:
I've been using the attached patch (against the stock ICS 3.0 kernel source, but should apply to any Nexus S 2.6.35 ICS or 3.0 kernel), which throttles the orientation sensor device and reduces system_server CPU usage to a more reasonable 2-3% (similar to Gingerbread).
Click to expand...
Click to collapse
How's this patching working out for you? Any side effects to watch out for? Also, did you find anything more refined along the way?
Thanks!
InstigatorX said:
How's this patching working out for you? Any side effects to watch out for? Also, did you find anything more refined along the way?
Click to expand...
Click to collapse
I've been carrying this patch since December with absolutely no ill effects, and given that it works, I haven't bothered to look for better solutions ...
steven676 said:
I've been carrying this patch since December with absolutely no ill effects, and given that it works, I haven't bothered to look for better solutions ...
Click to expand...
Click to collapse
Any hints how to apply this patch?

[Request] any method for resizing A13 Tablet partitions?

I have a tablet a13 allwiner , it shared like this
nanda (bootloader) :32 Mb
nandc (system partition) :512 Mb
nandd (data partition) :1.2 Gb
nandg recovery :32 MB
nandj (SD card or internal storage): 1.6Gb
i want to modify size to have (like i found it in other firmware for another tablet based a13 cpu)
512 system
512 data
and 2Gb or above for SDcard
i have extract the original firmware with a10 kitchen and change the content of COMMON _SYS_CONFIG000000.hdr and rebuilding
i have change the file for attempting this size like a want and i see in other firwmare
but after rebuilding and flashing the tablet start with black screen( what happen ?)
the original file :
Code:
[part_num]
num = 9
;------------------------------>nanda, known as bootfs before, includes boot.axf u-boot.bin etc...
[partition0]
class_name = DISK
name = bootloader
size_hi = 0
size_lo = 26384
user_type = 0
ro = 0
;------------------------------>nandb, enviroment for u-boot
[partition1]
class_name = DISK
name = env
size_hi = 0
size_lo = 16384
user_type = 0
ro = 0
;------------------------------>nandc, kernel and ramdisk
[partition2]
class_name = DISK
name = boot
size_hi = 0
size_lo =32768
user_type = 0
ro = 0
;------------------------------>nandd, android real rootfs
[partition3]
class_name = DISK
name = system
size_hi = 0
size_lo = 524288
user_type = 0
ro = 0
;------------------------------>nande, user data
[partition4]
class_name = DISK
name = data
size_hi = 0
size_lo = 1228800 (changed to 524288)
user_type = 0
ro = 0
;------------------------------>nandf, misc
[partition5]
class_name = DISK
name = misc
size_hi = 0
size_lo = 16384
user_type = 0
ro = 0
;------------------------------>nandg, for recovery
[partition6]
class_name = DISK
name = recovery
size_hi = 0
size_lo = 32768
user_type = 0
ro = 0
;------------------------------>nandh, android app cache
[partition7]
class_name = DISK
name = cache
size_hi = 0
size_lo = 262144
user_type = 0
ro = 0
;------------------------------>nandi, data image backup
[partition8]
class_name = DISK
name = databk
size_hi = 0
size_lo = 262144
user_type = 0
ro = 0
;********************************************************************************************************************
; ¹Ì¼þ°üÏÂÔØλÖà £º °Ñij¸ö¹Ì¼þ°üÏÂÔص½Ö¸¶¨·ÖÇø, ÏÂÔØ´ÎÊý×î´óΪ7´Î
;
;[downloadi] //¹Ì¼þ°ü0ÏÂÔØλÖÃ
; part_name = SYSDATAFS //·ÖÇøÃû
; pkt_name = ROOTFS_000000000 //¹Ì¼þ°üÃû³Æ
; verify_file = VERIFY_000000000 //УÑéÎļþÃû³Æ
;
; ×¢£º1¡¢ downloadi ±íʾµÚi´ÎÏÂÔع̼þ, download Ψһ, Çë²»ÒªËæÒâÐÞ¸Ä
; 2¡¢ part_num Ϊ·ÖÇøºÅ, ¼´¹Ì¼þÏÂÔصÄλÖÃ
; 3¡¢ pkt_name ¹Ì¼þ°üÃû³Æ. ×î´ó³¤¶ÈΪ16byte, ÇÒÃû³Æ¹Ì¶¨. ¿É²Î¿¼"..\\ePDK\workspace\suni\liveclick\image.cfg"
; 4¡¢ verify_file ΪУÑéÎļþÃû³Æ. ¿É²Î¿¼"..\\ePDK\workspace\suni\liveclick\image.cfg"
; 5¡¢ pkt_name ÄÚÈݲ»Ìî, ±íʾ±¾´ÎÏÂÔØÈ¡Ïû. verify_fileÄÚÈݲ»Ìî, ±íʾ²»ÐèҪУÑé.
;
; È磺Ҫ°Ñ¹Ì¼þ°üzdisk.img, ÏÂÔØÔÚµ½SYSDATAFS·ÖÇøÀï¡£ÆäÅäÖÃΪ£º
; [download0]
; part_name = SYSDATAFS
; pkt_name = ROOTFS_000000000
; verify_file = VERIFY_000000000
;********************************************************************************************************************
[down_num]
down_num = 6
[download0]
part_name = bootloader
pkt_name = BOOTLOADER_00000
encrypt = 0
verify_file = VBOOTLOADER_0000
[download1]
part_name = env
pkt_name = ENVIROMENT_00000
encrypt = 0
verify_file = VENVIROMENT_0000
[download2]
part_name = boot
pkt_name = BOOT_00000000000
encrypt = 0
verify_file = VBOOT_0000000000
[download3]
part_name = system
pkt_name = SYSTEM_000000000
encrypt = 0
verify_file = VSYSTEMFS_000000
[download4]
part_name = recovery
pkt_name = RECOVERY_0000000
encrypt = 0
verify_file = VRECOVERYFS_0000
[download5]
part_name = UDISK
pkt_name = DISKFS_000000000
encrypt = 0
is there any way to do it by flashing it with factory firmware and changing the partitions size ?
Not that I know of
Ronny927 said:
Not that I know of
Click to expand...
Click to collapse
i found a rom (for icoo D50 lite) which its parted to 512 system and 512 data i try it by flashing my tablet , and try to rewrite my bootloader, boot.img and restoring system and data but i found only the problem the firmare manage only 9 partition but my original firmware and files manage 10 parition , then my internal storage will be null 0 byte cause boot point on nandj but the last partition is nandi ,
major minor #blocks name
93 0 16384 nanda
93 8 2048 nandb
93 16 32768 nandc
93 24 524288 nandd
93 32 524288 nande
93 40 1024 nandf
93 48 32768 nandg
93 56 262144 nandh
93 64 2494464 nandi
179 0 3872256 mmcblk0
179 1 3868160 mmcblk0p
[email protected]:/ #
Click to expand...
Click to collapse
i do it by moding boot.img all thing is correct only the ft5_ts.so touch screen driver can t be loaded caus the firmware buid 1.45r
i think , it s possible to do it. but what the way to rezise partition with cooking new image .
link for icoo d50 lite http://www.pandawillforum.com/soft/ICOO D50 Lite firmware 20120801.rar
NB : juste i extract the original image and cooking it again without any modif. it aint boot (black screen)
rafik23 said:
i found a rom (for icoo D50 lite) which its parted to 512 system and 512 data i try it by flashing my tablet , and try to rewrite my bootloader, boot.img and restoring system and data but i found only the problem the firmare manage only 9 partition but my original firmware and files manage 10 parition , then my internal storage will be null 0 byte cause boot point on nandj but the last partition is nandi ,
i do it by moding boot.img all thing is correct only the ft5_ts.so touch screen driver can t be loaded caus the firmware buid 1.45r
i think , it s possible to do it. but what the way to rezise partition with cooking new image .
link for icoo d50 lite http://www.pandawillforum.com/soft/ICOO D50 Lite firmware 20120801.rar
NB : juste i extract the original image and cooking it again without any modif. it aint boot (black screen)
Click to expand...
Click to collapse
My first question is why do you want to do this ? If you want a 10 Partition firmware you need the 10 Partition structure... and if you want to load a 9 partition frmware you need the 9 Partition structure....
If you are trying to do this in order to make a particular firmware work on your device i would recommend changing drivers in the one you want to match your hardware and compiing them into a livesuite image for flashing.
If you are trying to mix them for more efficient use of space it likely will require that you insure all references to the block devices point to the correct partitions.... within the firmware I do not know all of the references but I do know that they are referenced in the Boot.img in several files incliding the init.sun5i.rc and a couple of the uevent files. In the system folder one place im sure refers to at least the internal and external SD cards and any usb storage devices is the vold.fstab in /system/etc there are likely other places in the system that reference the actual block devices. I would start by making sure they are all properly pointing to the correct nandx partitions..

[UTILITY] STrace 4.8 - Ultimate debugging utility now ported to Android !

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.

Categories

Resources