Linux for qtek s200? ^^ - JAMin, XDA Neo, S200 Software Upgrading

People exist windows linux for qteks200?
No exist right?

seriously... Windows linux you say? That I'd like to see. Linux linux would be a start...
IMO the life cycle of these devices is to short for it to be worthwhile developing ground-up OS's, but I know very little about this. Obviously there are WM device-linux projects about, but although the prophet's a nice device, due to it's limitations (cpu etc) I don't imagine too many devs with an interest in linux are flocking to develop for it. I'd be happy to be corrected, though...

To s200 i don´t find anything :S but look here: http://www.youtube.com/watch?v=CUy_mUsGjRU
looks great but is only to blue angel...
http://opie.handhelds.org/cgi-bin/moin.cgi/ i think it's a matter of time!

Yeah !!!
I search very for it, and i get it a few. I known that PDA Wizard have OMAP processor too, so I think that it's possible to run this in ower s200.
Download haret and copy in your PDA in /STORAGE/PROGRAM FILES/HARET/ run haret_omap.exe in you Windows Mobile and it's run GNU/Linux
In you computer (GNU/Linux) run
#ifconfig usb0 up 10.226.6.1 netmask 255.255.0.0
#telnet 10.226.6.6
have fun !! Welcome to GNU/Linux in you S200:
Code:
/ # cat /proc/cpuinfo
Processor : ARM926EJ-Sid(wb) rev 3 (v5l)
BogoMIPS : 89.70
Features : swp half thumb fastmult edsp java
CPU implementer : 0x41
CPU architecture: 5TEJ
CPU variant : 0x0
CPU part : 0x926
CPU revision : 3
Cache type : write-back
Cache clean : cp15 c7 ops
Cache lockdown : format C
Cache format : Harvard
I size : 16384
I assoc : 4
I line length : 32
I sets : 128
D size : 8192
D assoc : 4
D line length : 32
D sets : 64
Hardware : HTC Wizard
Revision : 0000
Serial : 0000000000000000
Code:
/ # dmesg
Linux version 2.6.16.27-omap1 ([email protected]) (gcc version 3.3.2) #1 PREEMPT Thu Nov 9 18:52:05 CET 2006
CPU: ARM926EJ-Sid(wb) [41069263] revision 3 (ARMv5TEJ)
Machine: HTC Wizard
Memory policy: ECC disabled, Data cache writeback
On node 0 totalpages: 24576
DMA zone: 24576 pages, LIFO batch:7
DMA32 zone: 0 pages, LIFO batch:0
Normal zone: 0 pages, LIFO batch:0
HighMem zone: 0 pages, LIFO batch:0
Unknown OMAP cpu type: 0x00
OMAP0000 revision 1 handled as 00xx id: 0000000000000000
SRAM: Mapped pa 0x20000000 to va 0xd0000000 size: 0x32000
htc_wizard_map_io done.
CPU0: D VIVT write-back cache
CPU0: I cache: 16384 bytes, associativity 4, 32 byte lines, 128 sets
CPU0: D cache: 8192 bytes, associativity 4, 32 byte lines, 64 sets
Built 1 zonelists
Kernel command line: root=/dev/ram0 init=/linuxrc
htc_wizard_init_irq.
Clocks: ARM_SYSST: 0x1040 DPLL_CTL: 0x2793 ARM_CKCTL: 0x6506
Clocking rate (xtal/DPLL1/MPU): 13.0/195.0/195.0 MHz
Total of 96 interrupts in 3 interrupt banks
OMAP730 GPIO hardware
PID hash table entries: 512 (order: 9, 8192 bytes)
Console: colour dummy device 80x30
Dentry cache hash table entries: 16384 (order: 4, 65536 bytes)
Inode-cache hash table entries: 8192 (order: 3, 32768 bytes)
Memory: 96MB = 96MB total
Memory: 94592KB available (1684K code, 418K data, 92K init)
Calibrating delay loop... 89.70 BogoMIPS (lpj=448512)
Mount-cache hash table entries: 512
CPU: Testing write buffer coherency: ok
checking if image is initramfs...it isn't (no cpio magic); looks like an initrd
Freeing initrd memory: 428K
NET: Registered protocol family 16
Tornado init.
OMAP730 Watchdog seems to be activated, disabling it for now.
trying to enable USB.
USB_EN to 0 after 0 tries.
MMC host reset done: remaining tries: 100
OMAP DMA hardware version 1
DMA capabilities: 000c0000:00000000:01ff:003f:007f
Initializing OMAP McBSP system
mcbsp: could not acquire dsp_ck handle.
omapdsp: unsupported omap architecture.
USB: hmc 4, usb0 2 wires (dev)
NetWinder Floating Point Emulator V0.97 (double precision)
io scheduler noop registered
io scheduler deadline registered (default)
HTC Tornado Backlight driver.
VSFB Frame buffer driver for HTC OMAP Based Phones.
vsfb: framebuffer at 0x20001020, mapped to 0xc6800020, size 150k
Console: switching to colour frame buffer device 40x29
TI OMAP Watchdog Timer for OMAP730
RAMDISK driver initialized: 1 RAM disks of 4096K size 1024 blocksize
udc: OMAP UDC driver, version: 4 October 2004 (iso)
udc: OMAP UDC rev 3.6
udc: hmc mode 4, integrated transceiver
udc: fifo mode 3, 648 bytes not used
usb0: Ethernet Gadget, version: May Day 2005
usb0: using omap_udc, OUT ep2out-bulk IN ep1in-bulk STATUS ep3in-int
usb0: MAC ba:aa:57:c0:db:99
usb0: HOST MAC 0a:bb:b8:f9:5e:53
mice: PS/2 mouse device common for all mice
OMAP Keypad Driver
omap_kp_probe.
input: omap-keypad as /class/input/input0
NET: Registered protocol family 2
MMC1: Command timeout, CMD0
IP route cache hash table entries: 1024 (order: 0, 4096 bytes)
TCP established hash table entries: 4096 (order: 2, 16384 bytes)
TCP bind hash table entries: 4096 (order: 2, 16384 bytes)
TCP: Hash tables configured (established 4096 bind 4096)
TCP reno registered
TCP bic registered
NET: Registered protocol family 1
NET: Registered protocol family 17
NET: Registered protocol family 15
udc: USB reset done, gadget ether
RAMDISK: Compressed image found at block 0
udc: USB reset done, gadget ether
udc: USB reset done, gadget ether
udc: USB reset done, gadget ether
udc: USB reset done, gadget ether
udc: USB reset done, gadget ether
udc: USB reset done, gadget ether
VFS: Mounted root (ext2 filesystem).
Freeing init memory: 92K
usb0: full speed config #1: 100 mA, Ethernet Gadget, using CDC Ethernet

More .......
With this kernel you have ssh whith dropbear, and nano-X, this is for project LinWizard and run very well in the s200.
ssh -l root 10.226.6.6
Password: root
I think that this is the start point to owner project, then we can compile with opie as in Universal.

Thempra said:
I think that this is the start point to owner project, then we can compile with opie as in Universal.
Click to expand...
Click to collapse
opie needs only minor customizations to run on another device.
IMHO it's more important to make SD and the touchscreen run.
Can you dump the TS and SDHC dlls from the device ?

cr2 said:
Can you dump the TS and SDHC dlls from the device ?
Click to expand...
Click to collapse
No, I can't access to SD memory or I don't know do it. I try to mount /dev/mmc.... by say that it is not here.
I will try to compile de kernel with SD and MMC options ...

Thempra said:
No, I can't access to SD memory or I don't know do it.
Click to expand...
Click to collapse
I meant the wince .dlls. We have already tried it, and it didn't not work
to get them in this way.
I will try to compile de kernel with SD and MMC options ...
Click to expand...
Click to collapse
Look in your logfile, you already have them. And the MMC/SD init command times out
Code:
MMC1: Command timeout, CMD0

Hallo to all... I want to ask a really simple question... I putted linux "HARET" in my s200... it start but... how to have keyboard on screen? Thank all...

sub078 said:
Hallo to all... I want to ask a really simple question... I putted linux "HARET" in my s200... it start but... how to have keyboard on screen? Thank all...
Click to expand...
Click to collapse
You need connect your s200 in USB port and since your computer run
#ifconfig usb0 up 10.226.6.1 netmask 255.255.0.0
#ssh -l root 10.226.6.6
Password: root

So... I need a computer with running linux? I don't have linux on my pc... There is a solution? thanks for answer....

sub078 said:
So... I need a computer with running linux? I don't have linux on my pc... There is a solution? thanks for answer....
Click to expand...
Click to collapse
I dont't try it in windows, but I suppose that you have to run GNU/Linux in the s200 connected to the USB, Windows detected it as network interface and you configure it with IP 10.226.6.1 and netmask 255.255.0.0.
Then with putty conect to ssh at [email protected] with password root.

Thank you... I will try... but... It's possible to install OPIE linux on s200? If yes... where i can find installation guide? My english is not good and I have some problem with the TECNICAL linux guides! Thank all for comprension!

cr2 said:
Look in your logfile, you already have them. And the MMC/SD init command times out
Code:
MMC1: Command timeout, CMD0
Click to expand...
Click to collapse
Ok, i've checked with the wince dlls, the MMC/SD driver is ok.
What you are missing now is the card power gpio, card detect gpio and the irq.
Take the latest haret from http://handhelds.org/~koconnor/haret
read the docs and trace gpio usage.
To know other gpios would be useful too.

This is the output of DUMP GPIO:
HaRET(8)# DUMP GPIO
GPIO# D S A INTER | GPIO# D S A INTER | GPIO# D S A INTER | GPIO# D S A INTER
------------------+-------------------+-------------------+------------------
0 I 1 0 | 21 I 0 0 | 42 O 0 0 | 63 I 0 0
1 I 0 0 | 22 I 0 0 | 43 O 0 0 | 64 I 0 2
2 I 1 0 | 23 I 0 0 | 44 I 0 0 | 65 I 0 2
3 I 0 0 | 24 I 0 0 | 45 I 0 0 | 66 I 0 3
4 I 0 0 | 25 I 0 0 | 46 I 0 0 | 67 I 0 2
5 I 0 0 | 26 I 0 0 | 47 O 0 0 | 68 I 0 0
6 I 0 0 | 27 I 0 0 | 48 I 0 2 | 69 I 0 3
7 I 0 0 | 28 I 0 0 | 49 O 0 2 | 70 I 0 0
8 I 0 0 | 29 I 0 0 | 50 I 0 3 | 71 I 0 2
9 I 0 0 | 30 I 0 0 | 51 O 0 2 | 72 I 0 2
10 I 0 0 | 31 I 0 0 | 52 O 0 0 | 73 I 0 2
11 I 0 0 | 32 I 0 0 FE | 53 O 0 3 | 74 I 0 3
12 I 0 0 | 33 O 0 0 | 54 I 0 0 | 75 I 0 2
13 I 0 0 | 34 I 0 0 FE | 55 O 0 2 | 76 I 0 3
14 I 0 0 | 35 O 0 0 | 56 O 0 2 | 77 I 0 0
15 I 0 0 | 36 O 0 0 | 57 O 0 2 | 78 I 0 3
16 I 0 3 | 37 O 0 0 | 58 I 0 3 | 79 I 0 0
17 I 0 3 | 38 I 0 0 | 59 I 0 2 | 80 I 0 2
18 I 0 3 | 39 O 0 0 | 60 O 0 3 | 81 I 0 2
19 I 0 1 | 40 I 0 0 | 61 O 0 0 | 82 I 0 3
20 I 0 0 | 41 I 0 0 | 62 I 0 3 | 83 I 0 2

Thempra said:
This is the output of DUMP GPIO:
Click to expand...
Click to collapse
This command works only on the Intel PXA CPU.

cr2 said:
This command works only on the Intel PXA CPU.
Click to expand...
Click to collapse
I read, read, read, ..... but..... What is the problem to detect de MMC?? haret or the kernel???
The new version of haret can't run it in s200, do you have the configuration in default.txt file to run it??

could somebody please post instructions for prophet?
Thanks!

Thempra said:
The new version of haret can't run it in s200
Click to expand...
Click to collapse
Try the prophet version from
http://jornada820.sourceforge.net/files/haret

i did not understand what am i supposed to do with harret_prophet.exe

Related

[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?

[Q] CronosX - random reboot / strange slowness

Hi!
I'm using this mod for some time, and i'm pretty much happy with it..
one of the "little" things which keeps me annoyed is that it just randomly reboots.. i'm going through the logs but i can't really figure out what happens because of my lack of programming skills
is there any tips what normally causes these? or what should i look for in the logs?
#2 i like games, so i want to play on my phone.. thing is, that most games just takes me back to home screen after loading for some time.. even those which i know work on the phone!
best example is "where is my water". i played it a lot, now it's hardly starting, and when it does, it is sooooooooooooooooooooooooooooooooooooooooooooooooooo slow. like i want to play Crysis on a commodore64 ..
currently the CPU is set on 1 ghz, i played with heapsizes, and now it is on 24
plus my avg free ram is ~25.. although i'm not using widgets or anything :\
suggestions?
Reboots could be cause by over ckocking.
1gz should be oka but what is vessel set at?
heap size should be 32.
i recomend the ram manager.
Sent from my SGH-T759 using xda premium
mchlbenner said:
Reboots could be cause by over ckocking.
1gz should be oka but what is vessel set at?
heap size should be 32.
i recomend the ram manager.
Sent from my SGH-T759 using xda premium
Click to expand...
Click to collapse
i've edited the overclock in etc/initd
current settings are:
1000 mhz 72 vsel
800 - 62
720 - 50
500 - 42
250 - 30
i found lots of ppl saying 72 is good for 1ghz
i changed the heap size to 32 and i'll take a look for that ram manager soon
mchlbenner said:
Reboots could be cause by over ckocking.
1gz should be oka but what is vessel set at?
heap size should be 32.
i recomend the ram manager.
Click to expand...
Click to collapse
Also reboots could cause by sdcard.
Check it in openrecovery.
My xt720 is overclocked at 1GHz 66volt . On cm6.3.7 . Works incredibly well ! My average ram is about 110mb (no joke) with some "trick" . ~25mb ram is really too problematic to play where is my water . I almost able to play heavy games (temple run , eternity warrior , contract killer etc) , with the help of chainfire 3d . Install chainfire 3d driver if you haven't , totally awesome .
fjfalcon said:
Also reboots could cause by sdcard.
Check it in openrecovery.
Click to expand...
Click to collapse
i checked it in OR, here is the result:
FIX ME! implement ttyname() bionic/libc/bionic/stubs.c:360
Tue Apr 17 15:13:20 GMT 2012
OpenRecovery-XT720-01
Mounted filesystems
-------------------
rootfs / rootfs rw 0 0
tmpfs /dev tmpfs rw,mode=755 0 0
proc /proc proc rw 0 0
sysfs /sys sysfs rw 0 0
/dev/block/mtdblock7 /system yaffs2 rw 0 0
tmpfs /dev tmpfs rw,mode=755 0 0
devpts /dev/pts devpts rw,mode=600 0 0
/dev/block/mtdblock8 /cache yaffs2 rw,nodev,noatime,nodiratime 0 0
tmpfs /dev tmpfs rw,mode=755 0 0
devpts /dev/pts devpts rw,mode=600 0 0
/dev/block/mtdblock9 /data yaffs2 rw,nodev,noatime,nodiratime 0 0
/dev/block/mtdblock10 /cust yaffs2 rw,nodev,noatime,nodiratime 0 0
/dev/block/mmcblk0p1 /sdcard vfat rw,fmask=0000,dmask=0000,allow_utime=0022,codepage=cp437,iocharset=iso8859-1,errors=remount-ro 0 0
/dev/block/mmcblk0p2 /sddata ext4 rw,barrier=1,data=ordered 0 0
Directory configuration
-----------------------
drwxrwx--x 1 system system 2048 Mar 28 07:37 /cache/dalvik-cache
ls: /cache/dc: No such file or directory
drwxrwx--x 1 system system 2048 Mar 28 07:33 /data/app
drwxrwx--x 1 system system 2048 Mar 28 06:56 /data/app-private
drwxrwx--x 1 system system 2048 Apr 14 17:15 /data/dalvik-cache
drwxrwxr-x 1 root root 2048 Mar 28 07:06 /data/sdext2
drwxrwx--x 2 system system 2048 Apr 14 17:15 /sddata/app
drwxrwx--x 2 system system 1024 Mar 28 07:33 /sddata/app-private
ls: /sddata/dalvik-cache: No such file or directory
ls: /sddata/link2sd: No such file or directory
Directory /cache/dalvik-cache contains 1 files
Directory /data/app contains 0 files
Directory /data/app-private contains 0 files
Directory /data/dalvik-cache contains 121 files
Directory /data/sdext2 contains 0 files
Directory /sddata/app contains 26 files
Directory /sddata/app-private contains 0 files
SD card partition table:
------------------------
Disk /dev/block/mmcblk0: 8018 MB, 8018460672 bytes
255 heads, 63 sectors/track, 974 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Device Boot Start End Blocks Id System
/dev/block/mmcblk0p1 1 855 6867756 b Win95 FAT32
/dev/block/mmcblk0p2 856 973 947835 83 Linux
EXT partition properties:
-------------------------
tune2fs 1.41.10 (10-Feb-2009)
Filesystem volume name: EXT2
Last mounted on: <not available>
Filesystem UUID: 06be1b5c-690c-cd01-003a-1b5c690ccd01
Filesystem magic number: 0xEF53
Filesystem revision #: 1 (dynamic)
Filesystem features: has_journal filetype needs_recovery sparse_super
Filesystem flags: unsigned_directory_hash
Default mount options: (none)
Filesystem state: clean
Errors behavior: Continue
Filesystem OS type: Linux
Inode count: 237568
Block count: 947835
Reserved block count: 47391
Free blocks: 825787
Free inodes: 237528
First block: 1
Block size: 1024
Fragment size: 1024
Blocks per group: 8192
Fragments per group: 8192
Inodes per group: 2048
Inode blocks per group: 256
Last mount time: Tue Apr 17 22:13:04 2012
Last write time: Tue Apr 17 22:13:04 2012
Mount count: 1
Maximum mount count: 20
Last checked: Tue Apr 17 22:12:59 2012
Check interval: 15552000 (6 months)
Next check after: Sun Oct 14 22:12:59 2012
Reserved blocks uid: 0 (user root)
Reserved blocks gid: 0 (group root)
First inode: 11
Inode size: 128
Journal inode: 8
Journal backup: inode blocks
Click to expand...
Click to collapse
says anything useful?
fjfalcon said:
Also reboots could cause by sdcard.
Check it in openrecovery.
Click to expand...
Click to collapse
As fifalcon wrote the memory card can cause reboot.
The sdcard the phone came with crapy you want to replace it.
Sent from my SGH-T759 using xda premium
mchlbenner said:
As fifalcon wrote the memory card can cause reboot.
The sdcard the phone came with crapy you want to replace it.
Sent from my SGH-T759 using xda premium
Click to expand...
Click to collapse
i have an 8gb transcend class 10, which should be in perfect condition, or does the log say otherwise?
the last random-reboot i noticed was currently after taking a photo, which has not been stored on the card.. that makes me think it's all about the SD card :\
how can i check if it is the problem or the connectivity between the card and phone?
the cause is the system..
i'm not saying that xt720's programmers here is not good enough but apparently building a perfect rom is a hard task..
maybe the specific cause of those reboots is something with the memory access.. i'm not sure is it only with external memory or internal too or maybe also with the ram access..
my other example is my phone always reboot after an alarm event.. not only after using an app or playing games..
hmm i should try to remove my sdcard and use my phone without it i wonder is there still will be any strange reboot..???
The frist thing the devs have done a great job thing could be diffrent if not for the locked bootloader.
The milestone is only 256 ram.
Sent from my SGH-T759 using xda premium
i bought a new SD card.. rom works like magic! thank you all!
strange it feels like with my prev card it hasn't even worked like this before.. maybe that was a fake? dunno.. now it's good

MTK 6592 Touch Screen Bricked ?

hello i flash my drivice mtk6592 ( star n3+ ocracore ) with a same rom.
is not first time to i flash rom, but dhis new phone worked just a 30 min
after flash my touch screen dont work . and imei ( imei fix ok)
i try so send a lots rom , rom accept never found error . same my touch screen dont work.
and factory rom no success.
maybe i need to edit scatter file?
maybe my touch screen is bricked?
maybe my touch screen have hardware problem?
dhis is my test
Code:
============ Memory Detection Report ===========
Internal RAM:
Size = 0x00020000 (128KB)
External RAM:
Type = DRAM
Size = 0x40000000 (1024MB/8192Mb)
NAND Flash:
ERROR: NAND Flash was not detected!
EMMC:
EMMC_PART_BOOT1 Size = 0x0000000000200000(2MB)
EMMC_PART_BOOT2 Size = 0x0000000000200000(2MB)
EMMC_PART_RPMB Size = 0x0000000000020000(0MB)
EMMC_PART_GP1 Size = 0x0000000000000000(0MB)
EMMC_PART_GP2 Size = 0x0000000000000000(0MB)
EMMC_PART_GP3 Size = 0x0000000000000000(0MB)
EMMC_PART_GP4 Size = 0x0000000000000000(0MB)
EMMC_PART_USER Size = 0x00000003a3e00000(14910MB)
============ RAM Test ============
Data Bus Test:
[D0]
[D1]
[D2]
[D3]
[D4]
[D5]
[D6]
[D7]
[D8]
[D9]
[D10]
[D11]
[D12]
[D13]
[D14]
[D15]
[D16]
[D17]
[D18]
[D19]
[D20]
[D21]
[D22]
[D23]
[D24]
[D25]
[D26]
[D27]
[D28]
[D29]
[D30]
[D31]
OK!!
Address Bus Test:
[A1]
[A2]
[A3]
[A4]
[A5]
[A6]
[A7]
[A8]
[A9]
[A10]
[A11]
[A12]
[A13]
[A14]
[A15]
[A16]
[A17]
[A18]
[A19]
[A20]
[A21]
[A22]
[A23]
[A24]
[A25]
[A26]
[A27]
[A28]
[A29]
OK!!
RAM Pattern Test :
Writing ...
OK!!
Increment/Decrement Test:
Writing...
OK!!
============ NAND Test ============
SKIP! NAND Flash was not detected!
============ EMMC Test ============
OK!!
Code:
?????????adb?fastboot?????,??:
??adb??:adb devices
??shell:adb shell
??????:adb logcat
???????SD?:adb push D:\myfile.pdf /sdcard/
???SD?????:adb pull /sdcard/myfile.pdf D:\
??fastboot??:fastboot devices
??adb????:adb help
??fastboot????:fastboot help
C:\Program Files (x86)\Shuame>adb shell
[email protected]_v92_zlh_hd:/ $ cat /proc/devices
cat /proc/devices
Character devices:
1 mem
2 pty
3 ttyp
5 /dev/tty
5 /dev/console
5 /dev/ptmx
10 misc
13 input
14 sound
29 fb
90 mtd
108 ppp
116 alsa
128 ptm
136 pts
141 mtk_stp_usktrk
153 mtk_wmt_WIFI_chrdev
160 Vcodec
166 ttyACM
168 MJC
180 usb
182 sec
184 ccci0
184 CCCI_IPC_DEV0
184 ccci1_fs
184 vir_chr0
184 ccci_tty_drv0
188 M4U_device
189 usb_device
190 mtk_stp_wmt
191 mtk_stp_GPS_chrdev
192 mtk_stp_BT_chrdev
193 fm
196 devmap
204 ttyMT
226 ttyGS
227 camera-pipemgr
228 mt3326-gps
229 camera-sysram
230 camera-isp
231 FM50AF
232 kd_camera_hw
233 DumChar
234 accdet
235 mtk-adc-cali
236 mtk_disp
237 MTK_SMI
238 dummy_eeprom
239 dummy_cam_cal
240 hall_dev
241 AGOLD_DRIVER
242 mtk_jpeg
243 pmt
244 kd_camera_flashlight
245 flash_info
246 btn
247 mtk_almk
248 btif
249 MT_pmic_adc_cali
250 mtkfb_vsync
251 mmp
252 sched
253 BOOT
254 rtc
Block devices:
259 blkext
7 loop
8 sd
31 mtdblock
65 sd
66 sd
67 sd
68 sd
69 sd
70 sd
71 sd
128 sd
129 sd
130 sd
131 sd
132 sd
133 sd
134 sd
135 sd
179 mmc
253 zram
254 device-mapper
[email protected]_v92_zlh_hd:/ $
C:\Program Files (x86)\Shuame>adb shell
[email protected]_v92_zlh_hd:/ $ cat /proc/partitions
cat /proc/partitions
major minor #blocks name
7 0 1254 loop0
253 0 1048576 zram0
179 0 15246336 mmcblk0
179 1 1 mmcblk0p1
179 2 10240 mmcblk0p2
179 3 10240 mmcblk0p3
179 4 6144 mmcblk0p4
179 5 819200 mmcblk0p5
179 6 131072 mmcblk0p6
179 7 1212416 mmcblk0p7
179 8 13001728 mmcblk0p8
179 64 2048 mmcblk0boot1
179 32 2048 mmcblk0boot0
179 96 7764992 mmcblk1
179 97 7760896 mmcblk1p1
[email protected]_v92_zlh_hd:/ $ mount
mount
rootfs / rootfs ro,relatime 0 0
tmpfs /dev tmpfs rw,nosuid,relatime,mode=755 0 0
devpts /dev/pts devpts rw,relatime,mode=600 0 0
proc /proc proc rw,relatime 0 0
sysfs /sys sysfs rw,relatime 0 0
none /acct cgroup rw,relatime,cpuacct 0 0
tmpfs /mnt/secure tmpfs rw,relatime,mode=700 0 0
tmpfs /mnt/asec tmpfs rw,relatime,mode=755,gid=1000 0 0
tmpfs /mnt/obb tmpfs rw,relatime,mode=755,gid=1000 0 0
none /dev/cpuctl cgroup rw,relatime,cpu 0 0
/[email protected] /system ext4 ro,noatime,noauto_da_alloc,commit=1,data=ordered 0 0
/[email protected] /data ext4 rw,nosuid,nodev,noatime,discard,noauto_da_alloc,data=or
dered 0 0
/[email protected] /cache ext4 rw,nosuid,nodev,noatime,discard,noauto_da_alloc,data=ord
ered 0 0
/[email protected]_f /protect_f ext4 rw,nosuid,nodev,noatime,nodelalloc,noauto_da_all
oc,commit=1,data=ordered 0 0
/[email protected]_s /protect_s ext4 rw,nosuid,nodev,noatime,nodelalloc,noauto_da_all
oc,commit=1,data=ordered 0 0
/dev/block/loop0 /mnt/cd-rom iso9660 ro,relatime 0 0
/dev/block/vold/179:8 /storage/sdcard1 vfat rw,dirsync,nosuid,nodev,noexec,relat
ime,uid=1000,gid=1015,fmask=0702,dmask=0702,allow_utime=0020,codepage=cp437,ioch
arset=iso8859-1,shortname=mixed,utf8,errors=remount-ro 0 0
/dev/block/vold/179:97 /storage/sdcard0 vfat rw,dirsync,nosuid,nodev,noexec,rela
time,uid=1000,gid=1015,fmask=0702,dmask=0702,allow_utime=0020,codepage=cp437,ioc
harset=iso8859-1,shortname=mixed,utf8,errors=remount-ro 0 0
/dev/block/vold/179:97 /mnt/secure/asec vfat rw,dirsync,nosuid,nodev,noexec,rela
time,uid=1000,gid=1015,fmask=0702,dmask=0702,allow_utime=0020,codepage=cp437,ioc
harset=iso8859-1,shortname=mixed,utf8,errors=remount-ro 0 0
tmpfs /storage/sdcard0/.android_secure tmpfs ro,relatime,size=0k,mode=000 0 0
[email protected]_v92_zlh_hd:/ $
BliNeR-KeY said:
hello i flash my drivice mtk6592 ( star n3+ ocracore ) with a same rom.
is not first time to i flash rom, but dhis new phone worked just a 30 min
after flash my touch screen dont work . and imei ( imei fix ok)
i try so send a lots rom , rom accept never found error . same my touch screen dont work.
and factory rom no success.
maybe i need to edit scatter file?
maybe my touch screen is bricked?
maybe my touch screen have hardware problem?
Click to expand...
Click to collapse
Same happened to me. Have you managed to fix this issue?
anyone found solution?
same happened to me too. i've tried removing the digitizer, but i don't think the problem is in digitizer. when it's connected i can see touchscreen: ili2113a in factory mode. when i disconnect the digitizer, i can see touchscreen: (null)
so digitizer should be working. i've tried flashing like 15 roms, but didn't manage to fix the problem.
anyone found a solution?
hello
you solved?
---------- Post added at 11:45 AM ---------- Previous post was at 11:34 AM ----------
maybe not yet solved
İ have same as your problem. My device is General Mobile etab5. Calibration failed it says invalid value: 165

ADB shell - how to make output wider?

Hello, I decided that I will analyse running processes and figure out why is my battery not lasting more then half a day usually. For that I figured maybe running
adb shell top
will work. I could send this to a file and later make some analysis of the results. The problem is that it looks like this
Code:
800%cpu 10%user 0%nice 17%sys 772%idle 1%iow 0%irq 0%sirq 0%host
←[7m PID USER PR NI VIRT RES SHR S[%CPU] %MEM TIME+ ARGS ←[0m
28364 system 20 0 2.2G 83M 61M S 15.3 2.4 1:08.09 com.samsung.and+
31155 u0_a193 20 0 2.1G 69M 40M S 4.6 2.0 6:00.62 com.facebook.or+
30834 shell 20 0 11M 4.3M 3.3M R 2.3 0.1 0:00.85 top
3246 system 12 -8 1.6G 14M 11M S 2.3 0.4 249:18.01 surfaceflinger
26367 system 10 -10 2.7G 106M 89M S 1.3 3.0 1:14.78 com.samsung.and+
22515 root 20 0 0 0 0 S 1.3 0.0 0:03.16 [kworker/u16:4]
3825 system 10 -10 3.4G 182M 81M S 1.0 5.2 572:07.02 system_server
971 root 20 0 0 0 0 S 1.0 0.0 151:39.30 [kswapd0]
29785 u0_a209 20 0 1.7G 67M 52M S 0.3 1.9 0:03.20 com.microsoft.o+
21383 root 0 -20 0 0 0 S 0.3 0.0 0:00.84 [kworker/1:0H]
20039 u0_a213 20 0 2.9G 56M 47M S 0.3 1.6 9:15.59 com.digibites.a+
3132 logd 30 10 31M 13M 836K S 0.3 0.3 25:29.47 logd
679 root 20 0 0 0 0 S 0.3 0.0 5:34.54 [kcompactd0]
13 root RT 0 0 0 0 S 0.3 0.0 2:00.01 [migration/1]
30749 root 0 -20 0 0 0 S 0.0 0.0 0:00.00 [kworker/u17:2]
30699 u0_a379 20 0 2.2G 98M 82M S 0.0 2.8 0:00.95 org.androworks.+
30670 advmodem 20 0 2.2G 74M 65M S 0.0 2.1 0:00.33 com.samsung.and+
30661 root 0 -20 0 0 0 S 0.0 0.0 0:00.00 [kworker/0:0H]
30652 root 0 -20 0 0 0 S 0.0 0.0 0:00.00 [kworker/7:2H]
30651 root 0 -20 0 0 0 S 0.0 0.0 0:00.00 [kworker/5:0H]
the process names are cut. Is there a way to make top command write wider columns? Linux top knows -w but adb top does not.
Seems like running -b makes it wide enough but it shows all processes and not just the top few which would be enough.
I can see that it's also formatted wrong and the column headers don't match the values below. Jeez...

Use adb shell on device, top command not work

Hello
I need to get the cpu usage from my device (Lenovo Tab M8, Android os) and send it via http-request to my server.
I test it with my smartphone.
I found the app macrodroid, which can automatically send data via http-reuest. So the first step is done.
After a long searching i found the "adb shell" app. So i can test my shell command. So the second step is done
I want to use the command "top -n 1" because my devices are not rooted and i got alway "permission denied" with other commands.
The top command show a output.
THERE IS THE PROBLEM:
if i use the top command on my smarthpohne, i don't got a correct output. The %idle is always same like %cpu
if i connect my phone to my pc and run it in the windows command, it shows the correct data.
for example:
the output on the phone:
Code:
[s[999C[999B[6n[u[H[J[?25l[H[J[s[999C[999B[6n[uTasks: 2 total, 1 running, 1 sleeping, 0 stopped, 0 zombie Mem: 3.5G total, 3.4G used, 129M free, 39M buffers Swap: 2.0G total, 1.6G used, 396M free, 1.1G cached800%cpu 0%user 0%nice 0%sys 800%idle 0%iow 0%irq 0%sirq 0%host[7m PID USER PR NI VIRT RES SHR S[%CPU] %MEM TIME+ ARGS [0m[1m 7831 u0_a357 10 -10 36M 3.7M 3.0M R 4.0 0.1 0:00.00 top -n 1[m 7717 u0_a357 10 -10 33M 2.9M 2.4M S 0.0 0.0 0:00.01 sh[?25h[0m[1000;1H[K[?25h[?25h[0m[1000;1H[K
output on the pc:
Code:
Mem: 3.5G total, 3.4G used, 93M free, 40M buffers
Swap: 2.0G total, 1.6G used, 380M free, 1.0G cached
800%cpu 82%user 0%nice 124%sys 594%idle 0%iow 0%irq 0%sirq 0%host
←[7m PID USER PR NI VIRT RES SHR S[%CPU] %MEM TIME+ ARGS ←[0m
2305 u0_a357 10 -10 25G 258M 164M S 64.7 7.1 23:29.96 com.arlosoft.ma+
517 system 5 -15 1.7G 20M 14M S 44.1 0.5 207:08.58 surfaceflinger
←[mm 7844 shell 20 0 36M 4.3M 3.3M R 23.5 0.1 0:00.10 top -n 1
983 system 18 -2 12G 273M 130M S 17.6 7.5 595:30.94 system_server
←[mm 276 root RT 0 0 0 0 R 17.6 0.0 53:19.28 [decon0]
7843 root 20 0 0 0 0 S 11.7 0.0 0:00.20 [kworker/0:1]
488 system -3 -15 506M 4.3M 3.6M S 11.7 0.1 45:01.04 android.hardwar+
7385 root 0 -20 0 0 0 S 8.8 0.0 0:02.53 [kworker/u17:3]
7807 root 20 0 0 0 0 S 2.9 0.0 0:00.90 [kworker/3:2]
7542 root 20 0 0 0 0 S 2.9 0.0 0:00.00 [kworker/4:0]
2291 root 20 0 0 0 0 S 2.9 0.0 0:02.05 [kworker/u16:2]
2188 root 20 0 0 0 0 S 2.9 0.0 0:02.93 [kworker/u16:0]
7088 u0_a237 10 -10 7.4G 159M 75M S 2.9 4.3 95:05.07 com.samsung.and+
1365 radio 20 0 5.7G 43M 30M S 2.9 1.2 40:36.23 com.android.pho+
496 wifi 20 0 63M 2.8M 2.6M S 2.9 0.0 6:31.76 android.hardwar+
7757 u0_a239 20 0 4.9G 93M 79M S 0.0 2.5 0:00.32 com.samsung.and+
7745 u0_a62 20 0 4.9G 88M 74M S 0.0 2.4 0:00.17 com.sec.android+
7717 u0_a357 10 -10 33M 2.9M 2.4M S 0.0 0.0 0:00.01 sh
7628 root 0 -20 0 0 0 S 0.0 0.0 0:00.00 [kbase_event]
←[?25h←[0m←[1000;1H←[K←[?25h←[?25h←[0m←[1000;1H←[Kstarlte:/ $ 0
how can i get this output on my device???
is it so difficult or is my question not good?
:-( i think there is no solution....

Categories

Resources