Question about the boot security of this device - G4 Q&A, Help & Troubleshooting

Things have become more and more unclear for me regarding the nature of the boot process of many smartphones. Sometimes people misinterpret what I'm asking. Sometimes people only have vague knowledge of a particular smartphone's hardware-based restrictions or if it has any to begin with. In light of this, I will try to phrase this post as clearly as I can.
I remember reading that the bootloader from the Nexus 4 was able to work on the LG Optimus G, allowing arbitrary kernels to be loaded. I cannot remember if it was in an article by someone reporting on the hack or in a post by the developer of the hack. It was never specified if it was the first-stage bootloader. Assuming that it was the first-stage bootloader, then this would lead me to believe that the boot ROM, the immutable mask ROM that is part of most processors used in smartphones, on the LG Optimus G will load arbitrary (i.e., unsigned or signed with different private key) code. In other words, it leads me to believe that I can modify the LG Optimus G's official bootloader and it would not be rejected (at least by the processor).
Is this the case with the LG G4? Is the first-stage bootloader verified by the phone's processor on startup? Does anyone know the configuration of the fuses on the processor that it uses (assuming it has any)?

Anyone?

I thing same you
If we are may be flash bootloader H815 or G4 tmobile , my devices will unlock bootloader easy

Anyone at all?

Hello Master Melab.
I myself have almost zero Android dev knowledge but digging through this stuff as well. I learned some from http://newandroidbook.com/Articles/aboot.html
The boot process is like this: -> BootROM+SBL+radios->android bootloader -> kernel image + zRam (something like initramfs) -> init (services, shell, that zygote crap, dalvik/art vm, etc)
Reason I am trying to pick it up is learn more in the hopes that someway we can unlock the bootloader of the LG G4 whatever version.
Am running on an LG G4 H815 TWN (Taiwan carrier-free) and LG does not want to generate unlock.bin for me.
I found the root method via patching and flashing back modified bootimage, dumped in busybox started.
You are into crypto from your sig?
Below is the dump (hex) from the aboot of my H815 TWN - v10e Lollipop.
I just see random hex that is so making me rage... yep numbers make me angry
See if you can find any patterns/logic to this madness - so much fluff(guessing part of it is the signed stuff) in the beginning and right at the end, the ARM eaXXX instructions start (real beginning of the boot binary).
[email protected]:/mnt/shell/emulated/0 # dd if=/dev/block/platform/f9824900.sdhci/by-name/aboot of=./aboot.img <
4096+0 records in
4096+0 records out
2097152 bytes transferred in 0.110 secs (19065018 bytes/sec)
Click to expand...
Click to collapse
[email protected]:/mnt/shell/emulated/0 # od -A d -t x4 aboot.img |head -n 260 <
0000000 464c457f 00010101 00000000 00000000
0000016 00280002 00000001 0f900000 00000034
0000032 00000000 05000002 00200034 00280004
0000048 00000000 00000000 00000000 00000000
0000064 00000000 000000b4 00000000 07000000
0000080 00000000 00000000 00001000 0f976000
0000096 0f976000 000019a8 00002000 02200000
0000112 00001000 70000001 0007d808 0f975808
0000128 0f975808 00000020 00000020 00000004
0000144 00000004 00000001 00008000 0f900000
0000160 0f900000 00088de4 0009b488 00000007
0000176 00008000 00000000 00000000 00000000
0000192 00000000 00000000 00000000 00000000
*
0004096 00000000 00000003 00000000 0f976028
0004112 00001980 00000080 0f9760a8 00000100
0004128 0f9761a8 00001800 4dce3793 7d266b40
0004144 779a699b 8408c755 a7477930 07c072f1
0004160 ebc41fe2 9b9ecd06 00000000 00000000
0004176 00000000 00000000 00000000 00000000
0004192 00000000 00000000 26539b59 96228a1c
0004208 da200345 56d38638 3f7dd8fa 185f3113
0004224 d47b92fe ba05c846 ac538614 a03aaad3
0004240 e30c7d84 2203ad28 c7eea155 e3c724e4
0004256 619b56c6 45f8c1d9 a35ca403 03030704
0004272 1fc48d64 63d1aed7 f7a34348 77a65a8d
0004288 dabf1ea9 30501706 4e7d9ec0 dc8c205b
0004304 5e4b1fff ebb9ceff ff3664a5 b7cc3348
0004320 bb2ff543 6946392b b3bf5170 627fe97e
0004336 90fdb1f0 f6e029c3 3d588648 da6e01f8
0004352 d4b58268 4c12b41f 69a1b72b eaead5b2
0004368 f8aef7a1 4213aa6f ac0e89af 39ff4939
0004384 504df1e5 6cdf6e8f a3238cb5 27508741
0004400 cb6a46ce 863f72c6 dbab25c8 caeca06f
0004416 0a722955 b389ba04 20065795 30bbaf1b
0004432 d9a41c68 613e6846 d145c6e3 5818663b
0004448 86b855ef 005d289f e459cb53 3b6bca4a
0004464 8eea151e 73c3a904 33d1c525 406304b4
0004480 4e999179 8ee19a57 d25f5c68 55705e28
0004496 637f41b6 bab91985 c0215212 d9648784
0004512 51048ec6 62c361e9 12058230 fa038230
0004528 010203a0 0d030202 0d302f95 862a0906
0004544 0df78648 050b0101 81813000 19301b31
0004560 04550306 4c121303 61204547 73657474
0004576 69746174 43206e6f 30233141 55030621
0004592 1a130b04 656e6547 206c6172 2045474c
0004608 65747461 74617473 206e6f69 0c314143
0004624 03060a30 130a0455 45474c03 10301231
0004640 04550306 47091307 434d5545 4e4f4548
0004656 0c300e31 04550306 53051308 4c554f45
0004672 09300b31 04550306 4b021306 171e3052
0004688 3135310d 30373131 34343232 0d175a32
0004704 31313533 32303331 32343432 0182305a
0004720 30163150 55030614 0d130304 6f61687a
0004736 676e6566 6e61792e 30203167 5503061e
0004752 17130b04 656e6547 206c6172 2045474c
0004768 65747461 74617473 316e6f69 060a300c
0004784 0a045503 474c0313 30123145 55030610
0004800 09130704 4d554547 4f454843 300e314e
0004816 5503060c 05130804 554f4553 300b314c
0004832 55030609 02130604 1731524b 03061530
0004848 130b0455 2037300e 31303030 41485320
0004864 31363532 06173019 0b045503 3630100c
0004880 30303020 4f4d2030 5f4c4544 1c314449
0004896 03061a30 0c0b0455 20353013 30303030
0004912 38613030 5f575320 455a4953 15301731
0004928 04550306 300e0c0b 30302034 4f203133
0004944 495f4d45 30223144 55030620 19130b04
0004960 30203330 30303030 30303030 30303030
0004976 20323030 55424544 30223147 55030620
0004992 190c0b04 30203230 39363930 30314530
0005008 30313330 20303030 495f5748 30223144
0005024 55030620 190c0b04 30203130 30303030
0005040 30303030 30303030 20393030 495f5753
0005056 01823044 060d3022 48862a09 010df786
0005072 00050101 0f018203 01823000 0182020a
0005088 558b0001 c1184fa0 30084f74 d5170a05
0005104 f8f21578 85020ac7 8af5b59e 1651faa1
0005120 48ff1748 1eed55ba c575a0b4 3c3bb75c
0005136 6eddee82 b262b501 30925fc9 0cb77313
0005152 ec539932 cf2b71be a1399ac6 b6caa2ab
0005168 40d27314 98d03cf5 7826f5e6 99433bd1
0005184 97cfeb2b 5fe4f6ae 9c451d52 d80d2784
0005200 fa01108e cab53257 22b71266 e1411ce4
0005216 5ce1e123 c74de085 6d35d211 294229e3
0005232 256e3d8e 79ac9c96 d605aa75 90ef863e
0005248 0ec6dca2 fd13780e 15ce6859 329779a2
0005264 d381577d 2aa0bd4f 081eeb14 5ef564f9
0005280 4df2d097 11c9fa31 bb6b9106 f41200fc
0005296 3dc0ec81 820cc0f5 1c327c89 9a82592f
0005312 da220951 0668fbdd 7e4f0b36 2c866b7c
0005328 7ff4e576 bf0d8849 66aa6e81 7cea79b8
0005344 0302e91b a3010001 8130c081 9c8130bd
0005360 1d550306 94810423 80918130 f2b79f14
0005376 89e9d921 58da1681 169dec47 aac73b73
0005392 a476a1b1 31723074 06123014 03045503
0005408 474c0b13 4f522045 4320544f 301b3141
0005424 55030619 12130b04 656e6547 206c6172
0005440 2045474c 746f6f72 0c316163 03060a30
0005456 130a0455 45474c03 10301231 04550306
0005472 47091307 434d5545 4e4f4548 0c300e31
0005488 04550306 53051308 4c554f45 09300b31
0005504 04550306 4b021306 05018252 03060c30
0005520 01131d55 0204ff01 0e300030 1d550306
0005536 ff01010f 02030404 0d30f004 862a0906
0005552 0df78648 050b0101 01820300 f3340001
0005568 60064bb4 1c6f6f85 a7348105 f155462d
0005584 0ba8a8be e0b64772 bcf8c135 a6f147e8
0005600 79b22b66 2a9ade5a b1ae9aff b6fc0b9b
0005616 2f843340 decfa200 b3e0313e 2cec5820
0005632 7b1c3dfa f2102bfb b00499a4 4bfd8c07
0005648 11844799 7f9a16fc 3b4bbaed 76fd2436
0005664 df2a0168 adfb34c2 a8824431 dadabbbb
0005680 52025923 2fa251bd 2d44a13b 996a3824
0005696 81ba7f76 808c8a8a eb0dd21a 110c49e4
0005712 dcade241 db412d59 541bc959 0227ce08
0005728 81dbed2e ba88015b c5cb5195 1e802308
0005744 5fb54a4f d36a2bfa 1c4f88da d86cf99f
0005760 154f7a65 3db33d80 6bd19fde 04806598
0005776 af1cd4b7 25873324 809a4abf b45c7306
0005792 dd1ad455 59625cf6 53434f4c 7e990137
0005808 2bdd1d16 83629435 9dd634aa 82304cc3
0005824 82305304 03a03b03 02020102 0d300501
0005840 862a0906 0df78648 050b0101 31723000
0005856 06123014 03045503 474c0b13 4f522045
0005872 4320544f 301b3141 55030619 12130b04
0005888 656e6547 206c6172 2045474c 746f6f72
0005904 0c316163 03060a30 130a0455 45474c03
0005920 10301231 04550306 47091307 434d5545
0005936 4e4f4548 0c300e31 04550306 53051308
0005952 4c554f45 09300b31 04550306 4b021306
0005968 171e3052 3034310d 30303339 34363230
0005984 0d175a30 39303433 30303532 30343632
0006000 8181305a 19301b31 04550306 4c121303
0006016 61204547 73657474 69746174 43206e6f
0006032 30233141 55030621 1a130b04 656e6547
0006048 206c6172 2045474c 65747461 74617473
0006064 206e6f69 0c314143 03060a30 130a0455
0006080 45474c03 10301231 04550306 47091307
0006096 434d5545 4e4f4548 0c300e31 04550306
0006112 53051308 4c554f45 09300b31 04550306
0006128 4b021306 01823052 060d3020 48862a09
0006144 010df786 00050101 0d018203 01823000
0006160 01820208 b5bc0001 74fc08d7 f29875a8
0006176 68944d14 8ee10453 48b29679 d715b100
0006192 7f51d49e 46bd5da2 be1faa16 b28677fb
0006208 d179bd23 67f1d599 fdef4a5a e18dd04c
0006224 483ef50b 25bb4f5d 052b8d88 65f4adcf
0006240 5e8f7535 4cda563c 648db91c b2eb9704
0006256 a3dd3121 c11f5771 2d5be4bf 3fa08747
0006272 5194b92e c4ffb4e1 5b747270 a5c87aff
0006288 941b985d f4c9a03d 9398c233 f8654a14
0006304 c5109d2a 493c1b7a ba202f25 bba102c1
0006320 d3d32105 c02d0b9b 337789dd 83e44f35
0006336 9e47120a 91d13f9c 0c25fb88 cb8d5fef
0006352 596b4681 d32da104 05832736 60f42f7a
0006368 4dbc2836 658cb765 8c151dce 275c51af
0006384 9a4c505e 71d1ed9c c11a89eb 75e4d97d
0006400 639b4b6f 5d327d2d de2e53b1 f12a014a
0006416 b4d5eed7 01026714 e581a303 30e28130
0006432 03069c81 04231d55 81309481 8e148091
0006448 073d1095 26fe008b e58a027f b40c77b8
0006464 a13ad8f3 3074a476 30143172 55030612
0006480 0b130304 2045474c 544f4f52 31414320
0006496 0619301b 0b045503 65471213 6172656e
0006512 474c206c 6f722045 6163746f 0a300c31
0006528 04550306 4c03130a 12314547 03061030
0006544 13070455 55454709 4548434d 0e314e4f
0006560 03060c30 13080455 4f455305 0b314c55
0006576 03060930 13060455 82524b02 1d300101
0006592 1d550306 0416040e f2b79f14 89e9d921
0006608 58da1681 169dec47 aac73b73 061230b1
0006624 131d5503 04ff0101 01063008 0102ff01
0006640 060e3000 0f1d5503 04ff0101 01020304
0006656 060d3006 48862a09 010df786 00050b01
0006672 01018203 40be6f00 de48db62 a3df9124
0006688 89482f95 02ccd954 efbb9ae4 93ec32c7
0006704 82a24da2 8aef539f f608d9af 190482d4
0006720 e3ff7116 b6d76d4c 2cdedf8e 283c021f
0006736 5101fbbe 0ed0fa5c 62c4d961 917b3b36
0006752 85c94bb3 787333bc 33404b52 7254d4de
0006768 82f3b85c 6fbdb650 fbbe5fde 17e6dcb8
0006784 1ea87112 6bbb8a76 17a8ed71 61d282e4
0006800 cc15cbe9 4068898f 5c9f06b1 54087ba0
0006816 c00d4831 dcaa301d 6ae47eba c461ae74
0006832 94611f1c dc04b3e8 20244494 215f6ae5
0006848 4136c8e2 0f68bf98 d3159751 cf2b3221
0006864 3429f70e 3a9dc421 f05f3a0e 732b386c
0006880 6bfbb8bf 99960e63 94f92a7b d3779c9f
0006896 24eb3497 2d5d3650 a54e06b2 e1c6a02b
0006912 a6843448 7eeff94f 85f77cbf 4be4eec7
0006928 57be20f1 03823083 0282309f 0203a087
0006944 01020201 060d3001 48862a09 010df786
0006960 00050b01 14317230 03061230 13030455
0006976 45474c0b 4f4f5220 41432054 19301b31
0006992 04550306 4712130b 72656e65 4c206c61
0007008 72204547 63746f6f 300c3161 5503060a
0007024 03130a04 3145474c 06103012 07045503
0007040 45470913 48434d55 314e4f45 060c300e
0007056 08045503 45530513 314c554f 0609300b
0007072 06045503 524b0213 0d171e30 39303431
0007088 30303033 30343632 330d175a 32393034
0007104 32303035 5a303436 14317230 03061230
0007120 13030455 45474c0b 4f4f5220 41432054
0007136 19301b31 04550306 4712130b 72656e65
0007152 4c206c61 72204547 63746f6f 300c3161
0007168 5503060a 03130a04 3145474c 06103012
0007184 07045503 45470913 48434d55 314e4f45
0007200 060c300e 08045503 45530513 314c554f
0007216 0609300b 06045503 524b0213 20018230
0007232 09060d30 8648862a 01010df7 03000501
0007248 000d0182 08018230 01018202 2605bb00
0007264 ee06e780 1e971259 8b4e1d5d 9038c5e4
0007280 0a659df6 64717568 a994bd1c e6a55f97
0007296 af195474 1257c9d1 b3e61d85 98ed97da
0007312 3ebe3ef6 014c0ef2 064731a7 97e4eff9
0007328 39a752eb 12308d75 0de2dca2 9b9bf248
0007344 498cd73e 975645d9 f7031836 8d6ea152
0007360 cb19ef5a e8e61a52 8286c83c 2c71aab1
0007376 f0cf1af6 51ef50bc 0e16d787 5b43df5f
0007392 5394eb0e 06ff63e6 5fc782f2 ea5fde02
0007408 ab908825 cb163af7 0e4a2c3f 7d783b67
0007424 cf710260 6e0d3593 70c80613 91dca12f
0007440 c0b54006 b21be68f 21732ee2 64bd5a2a
0007456 c31cdfe5 38ddd6d4 9d61b67b 5a36af47
0007472 59f7811e c77174f4 166a409a 0ae07886
0007488 9d63962b c74e4bdc 20a8e7ea 0fcfa949
0007504 aebd5a5a e5bea090 989c6d6b 03010221
0007520 403042a3 03061d30 040e1d55 8e140416
0007536 073d1095 26fe008b e58a027f b40c77b8
0007552 303ad8f3 5503060f 0101131d 300504ff
0007568 ff010103 03060e30 010f1d55 0404ff01
0007584 06010203 09060d30 8648862a 01010df7
0007600 0300050b 00010182 395b3a11 da9b813e
0007616 31a9dbcc dbc66acd 24a29f40 41f48985
0007632 d30142ab 2fff3448 08aed94e ef8cb36a
0007648 d138c6d6 2f02ba8a efd83412 58647be8
0007664 0007c5df bc121004 f04384fa 2cca9764
0007680 1b2af619 e70d9c38 bbdd76de b36c98dc
0007696 bb40525a 8684bdf7 9df44bb0 1bfc7020
0007712 129ac6a7 2b4256c0 9eaba15c e1539232
0007728 3ceea60b 900624d7 14858ccd eaf33c35
0007744 aa7a6e38 3b4bc7fb d45b8d31 b9d4bc13
0007760 0e682b52 4f41a202 88394c0c e2069441
0007776 94e8f75e 2b17870a 21f8994f b1d06147
0007792 a64bd28e 19d44612 3326915c 235aec64
0007808 fdd4733b 7eb2b20b 1b711d41 44b6c621
0007824 5c7bf273 c84fb52a 6eee87d8 f61f4430
0007840 b55a8208 815bbec1 59b7c0fa d2d28a60
0007856 5b405c82 0ff491f6 ffffffff ffffffff
0007872 ffffffff ffffffff ffffffff ffffffff
*
0010656 ffffffff ffffffff 00000000 00000000
0010672 00000000 00000000 00000000 00000000
*
0032768 ea000006 ea00a463 ea00a469 ea00a46f
0032784 ea00a475 ea00a47b ea00a47b ea00a492
0032800 ee110f10 e3c00a0b e3c00005 e3c00002
0032816 e3800020 ee010f10 e1a0000f e2400040
0032832 e59f1020 e1500001 0a000009 e59f2018
Click to expand...
Click to collapse

I wanna know if its possible to steal the lg signature and sign our own modified kernals and roms and recovery images. How does flashfire manage to flash exposed and. I have high expectations for flash fire in the development of g4. Like g3 used flasify

29y6145 said:
I thing same you
If we are may be flash bootloader H815 or G4 tmobile , my devices will unlock bootloader easy
Click to expand...
Click to collapse
Really? This cannot be done on a PC?

Anyone? Bueller?

I dont know the exact order of boot. But i know the bootloader does have q fuses which are blown. And the bootloader partition is encrypted 256bit keys.
Even if i could flash a 815 loader. lg the the key to unlock it no one else can unlock them

Related

Android on Asus P527??

first of all, p527 is an omap 850 device of 200mhz
i downloaded android for omap 850 devices from http://sourceforge.net/projects/wing-linux/
i installed wing-linux-0.4pre4-rootfs.cab in storage card
next to have default.txt, i installed wing-linux-0.4pre4-elf.cab
then i ran haret-0.5.2.exe. after few sec, the screen turned on white nd the device was hang up. m really anxious to start it on my p527... but just dont know how!
i m posting all the txt files, generated or installed during the procedure...
default.txt
Code:
set MTYPE 2372
set KERNEL "zImage"
set INITRD "initramfs.cpio.gz"
set CMDLINE "debug quiet psplash=false loglevel=7 init=/sbin/init console=tty0 video=omapfb:accel gsm-wizard.noreset=1 gsm-wizard.noload=1 4"
log "earlylog.txt"
bootlinux
disdump.txt
Code:
HaRET(2)# pdump 0xfffec000 0x20
fffec000 | f8000089 010104ef 302eb93f fe700007 | ........?..0..p.
fffec010 | ffffffd2 5c000000 fffffc00 fffffc19 | .......\........
HaRET(3)# pdump 0xfffee300 255
fffee300 | 00000000 00000000 00000000 00000000 | ................
fffee310 | 00000000 00000000 00000000 00000000 | ................
fffee320 | 00000000 00000000 00000000 00000000 | ................
fffee330 | 00000000 00000000 00000000 00000000 | ................
fffee340 | 00000000 00000000 00000000 00000000 | ................
fffee350 | 00000000 00000000 00000000 00000000 | ................
fffee360 | 00000000 00000000 00000000 00000000 | ................
fffee370 | 00000000 00000000 00000000 00000000 | ................
fffee380 | 00000000 00000000 00000000 00000000 | ................
fffee390 | 00000000 00000000 00000000 00000000 | ................
fffee3a0 | 00000000 00000000 00000000 00000000 | ................
fffee3b0 | 00000000 00000000 00000000 00000000 | ................
fffee3c0 | 0000a941 00000041 00002000 00000000 | A...A.... ......
fffee3d0 | 00002100 00000000 00000000 00000001 | .!..............
fffee3e0 | 00000010 00000001 00000000 00000000 | ................
fffee3f0 | 00000000 00000000 00006350 00000000 | ........Pc......
Cannot open script file
\Storage Card\linux\default.txt
Cannot open script file
\Storage Card\linux\default.txt
HaRET(1)# set MTYPE 2372
HaRET(2)# set KERNEL "zImage"
HaRET(3)# set INITRD "initramfs.cpio.gz"
HaRET(4)# set CMDLINE "debug quiet psplash=false loglevel=7 init=/sbin/init console=tty0 video=omapfb:accel gsm-wizard.noreset=1 gsm-wizard.noload=1 4"
HaRET(5)# log "earlylog.txt"
startup.txt
Code:
log "dispdump.txt"
pdump 0xfffec000 0x20
pdump 0xfffee300 255
and earlylog.txt was like this..
Code:
= *= ž: ›: ™8 “8
i doubt over default.txt with mtype for not booting up nd m abt to try with other devices' default.txt
i know nothin abt porting or emulating android on winmo devices.. nd i hope to get response over here...
pls comment
Nice initative, keep up the good work
this thred might be helpful
http://forum.xda-developers.com/showthread.php?t=496692
Did you try haret, default.txt and everything android on the root of the storage card?
BenGman said:
Did you try haret, default.txt and everything android on the root of the storage card?
Click to expand...
Click to collapse
yes i tried. ofcourse on root of storage card. no good... it needs a kind of programming knowledge.

NFS module for Motorola defy froyo

I just finished building an nfs kernel module for my motorola defy from source.
The module has dependencies to lockd.ko and sunrpc.ko, so you will need to load this prior to the nfs.ko.
These modules were tested against Motorola Defy Stock ROM Froyo (Linux version 2.6.32.9-ga28fcc4) and they work just fine.
You will require busybox's mount to mount nfs.
I will write a more detailed howto shortly.
have fun,
tuxx
tuxx42 said:
I just finished building an nfs kernel module for my motorola defy from source.
The module has dependencies to lockd.ko and sunrpc.ko, so you will need to load this prior to the nfs.ko.
These modules were tested against Motorola Defy Stock ROM Froyo (Linux version 2.6.32.9-ga28fcc4) and they work just fine.
You will require busybox's mount to mount nfs.
I will write a more detailed howto shortly.
have fun,
tuxx
Click to expand...
Click to collapse
can you pls tell me how to use these file to get nfs working in my defy..
run the following commands:
./adb push nfs.ko sunrpc.ko lockd.ko /sdcard
./adb shell
su
cd /sdcard
insmod lockd.ko
insmod sunrpc.ko
insmod nfs.ko
Click to expand...
Click to collapse
then use busybox's mount command to mount nfs as you would on any other linux
Hi,
tuxx42 said:
These modules were tested against Motorola Defy Stock ROM Froyo (Linux version 2.6.32.9-ga28fcc4) and they work just fine.
tuxx
Click to expand...
Click to collapse
big thanks for building these .
I am having a problem loading them on my defy running on this froyo kernel with cyanogenmod 7.
To verify that we are talking about the same files:
Code:
[email protected]:~/tmp$ wget 'http://forum.xda-developers.com/attachment.php?attachmentid=625029&d=1308059056' -O nfs.zip
--2011-07-17 10:47:37-- http://forum.xda-developers.com/attachment.php?attachmentid=625029&d=1308059056
Resolving forum.xda-developers.com... 50.23.231.72
Connecting to forum.xda-developers.com|50.23.231.72|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 122327 (119K) [application/zip]
Saving to: `nfs.zip'
100%[===================================================================================>] 122,327 54.4K/s in 2.2s
2011-07-17 10:47:39 (54.4 KB/s) - `nfs.zip' saved [122327/122327]
[email protected]:~/tmp$ md5sum nfs.zip
1af24766fa7fa43c014675c3744b1b28 nfs.zip
[email protected]:~/tmp$ unzip nfs.zip
Archive: nfs.zip
creating: nfs/
inflating: nfs/lockd.ko
inflating: nfs/nfs.ko
inflating: nfs/sunrpc.ko
[email protected]:~/tmp$ cd nfs
[email protected]:~/tmp/nfs$ md5sum *
20ba7c5a6b407347b0d58375894c63ba lockd.ko
8a4576594dd865f88d705f5fd6ce84e9 nfs.ko
84fd57a86e5778e3f72d15cedd167091 sunrpc.ko
[email protected]:~/tmp/nfs$ /sbin/modinfo *
filename: lockd.ko
license: GPL
description: NFS file locking service version 0.5.
author: Olaf Kirch <[email protected]>
depends: sunrpc
uts_release: 2.6.32.9
vermagic: 2.6.32.9 preempt mod_unload ARMv7
parm: nsm_use_hostnames:bool
parm: nlm_max_connections:uint
filename: nfs.ko
license: GPL
author: Olaf Kirch <[email protected]>
depends: sunrpc,lockd
uts_release: 2.6.32.9
vermagic: 2.6.32.9 preempt mod_unload ARMv7
parm: cache_getent:Path to the client cache upcall program (string)
parm: cache_getent_timeout:Timeout (in seconds) after which the cache upcall is assumed to have failed (ulong)
parm: enable_ino64:bool
filename: sunrpc.ko
license: GPL
depends:
uts_release: 2.6.32.9
vermagic: 2.6.32.9 preempt mod_unload ARMv7
parm: min_resvport:portnr
parm: max_resvport:portnr
parm: tcp_slot_table_entries:slot_table_size
parm: udp_slot_table_entries:slot_table_size
Copying them to the phone:
Code:
[email protected]:~/tmp/nfs$ adb push nfs.ko /sdcard/nfs.ko
2182 KB/s (103348 bytes in 0.046s)
[email protected]:~/tmp/nfs$ adb push lockd.ko /sdcard/lockd.ko
1752 KB/s (41696 bytes in 0.023s)
[email protected]:~/tmp/nfs$ adb push sunrpc.ko /sdcard/sunrpc.ko
2226 KB/s (130152 bytes in 0.057s)
Trying to load lockd:
Code:
[email protected]:~/tmp/nfs$ adb shell
# cd /sdcard
# insmod lockd.ko
insmod: init_module 'lockd.ko' failed (Exec format error)
# dmesg | tail -1
<4>[127361.915008] lockd: module has no symbols (stripped?)
Kernel version matches:
Code:
# uname -r
2.6.32.9-ga28fcc4
#
Since the kernel complains about lack of symbols, let's see them:
Code:
[email protected]:~/tmp/nfs$ objdump -t lockd.ko
BFD: lockd.ko: warning: sh_link not set for section `.ARM.exidx'
BFD: lockd.ko: warning: sh_link not set for section `.ARM.exidx.exit.text'
BFD: lockd.ko: warning: sh_link not set for section `.ARM.exidx.init.text'
lockd.ko: file format elf32-little
SYMBOL TABLE:
no symbols
[email protected]:~/tmp/nfs$
Let's see what objdump has to say about tun.ko present on the device:
Code:
[email protected]:~/tmp/nfs$ adb pull /system/lib/modules/tun.ko
167 KB/s (16220 bytes in 0.094s)
[email protected]:~/tmp/nfs$ objdump -t tun.ko
tun.ko: file format elf32-little
SYMBOL TABLE:
00000000 l d .text 00000000 .text
00000000 l d .init.text 00000000 .init.text
00000000 l d .rodata 00000000 .rodata
00000000 l d .rodata.str1.1 00000000 .rodata.str1.1
00000000 l d .data 00000000 .data
00000000 l d .bss 00000000 .bss
00000000 l F .text 00000024 tun_net_open
00000024 l F .text 00000024 tun_net_close
00000048 l F .text 00000004 tun_net_mclist
0000004c l F .text 00000028 tun_net_change_mtu
00000074 l F .text 0000002c tun_setup
00000568 l F .text 00000028 tun_free_netdev
000000a0 l F .text 00000008 tun_validate
000000a8 l F .text 0000003c tun_get_settings
000000e4 l F .text 00000008 tun_get_msglevel
000000ec l F .text 00000004 tun_set_msglevel
000000f0 l F .text 00000010 tun_get_link
00000100 l F .text 00000010 tun_get_rx_csum
00000110 l F .text 00000020 tun_set_rx_csum
000002e0 l F .text 000000dc tun_chr_fasync
000003bc l F .text 000000ec tun_chr_poll
000004a8 l F .text 000000c0 tun_chr_close
00000590 l F .text 00000060 tun_chr_open
000005f0 l F .text 00000078 tun_get_drvinfo
00000668 l F .text 0000000c tun_sock_destruct
00000674 l F .text 00000018 tun_show_group
0000068c l F .text 00000018 tun_show_owner
000006a4 l F .text 0000003c tun_show_flags
000006e0 l F .text 00000050 tun_net_uninit
00000730 l F .text 00000178 tun_net_xmit
00000a74 l F .text 0000007c tun_sock_write_space
00000af0 l F .text 000009c4 tun_chr_ioctl
000014b4 l F .text 00000434 tun_chr_aio_write
000018e8 l F .text 00000364 tun_chr_aio_read
00000000 l d .ARM.extab 00000000 .ARM.extab
00000000 l d .ARM.exidx 00000000 .ARM.exidx
00000000 l d .ARM.extab.init.text 00000000 .ARM.extab.init.text
00000000 l d .ARM.exidx.init.text 00000000 .ARM.exidx.init.text
00000000 l d .modinfo 00000000 .modinfo
00000000 l d .gnu.linkonce.this_module 00000000 .gnu.linkonce.this_module
00000000 l d .note.gnu.build-id 00000000 .note.gnu.build-id
00000000 l d .comment 00000000 .comment
00000000 l d .ARM.attributes 00000000 .ARM.attributes
00000000 *UND* 00000000 strcpy
00000000 *UND* 00000000 rtnl_unlock
00000000 *UND* 00000000 misc_deregister
00000000 *UND* 00000000 eth_mac_addr
00000000 *UND* 00000000 skb_put
00000000 *UND* 00000000 rtnl_is_locked
00000000 *UND* 00000000 skb_copy_datagram_from_iovec
00000000 g O .gnu.linkonce.this_module 00000144 __this_module
00000000 *UND* 00000000 __netif_schedule
00000000 *UND* 00000000 __aeabi_unwind_cpp_pr0
00000000 *UND* 00000000 skb_dequeue
00000000 *UND* 00000000 kill_fasync
00000000 *UND* 00000000 rtnl_link_register
00000130 g F .text 00000020 cleanup_module
00000000 *UND* 00000000 dev_alloc_name
00000000 *UND* 00000000 memcpy
00000000 *UND* 00000000 do_sync_write
00000000 *UND* 00000000 kfree
00000000 *UND* 00000000 add_wait_queue
00000000 *UND* 00000000 eth_validate_addr
00000000 *UND* 00000000 __wake_up
00000000 *UND* 00000000 bitrev32
00000000 *UND* 00000000 __dev_get_by_name
00000000 *UND* 00000000 ether_setup
00000000 *UND* 00000000 netdev_features_change
00000000 g F .init.text 0000008c init_module
00000000 *UND* 00000000 eth_type_trans
00000000 *UND* 00000000 local_bh_enable
00000000 *UND* 00000000 dump_stack
00000000 *UND* 00000000 do_sync_read
00000000 *UND* 00000000 kfree_skb
00000000 *UND* 00000000 schedule
00000000 *UND* 00000000 alloc_netdev_mq
00000000 *UND* 00000000 __put_user_4
00000000 *UND* 00000000 kmem_cache_alloc
00000000 *UND* 00000000 local_bh_disable
00000000 *UND* 00000000 capable
00000000 *UND* 00000000 skb_queue_tail
00000000 *UND* 00000000 unlock_kernel
00000000 *UND* 00000000 device_create_file
00000000 *UND* 00000000 rtnl_link_unregister
00000000 *UND* 00000000 preempt_schedule
00000000 *UND* 00000000 sk_free
00000000 *UND* 00000000 skb_copy_datagram_const_iovec
00000000 *UND* 00000000 crc32_le
00000000 *UND* 00000000 fasync_helper
00000000 *UND* 00000000 memcpy_toiovecend
00000000 *UND* 00000000 free_netdev
00000000 *UND* 00000000 lock_kernel
00000000 *UND* 00000000 printk
00000000 *UND* 00000000 sk_alloc
00000000 *UND* 00000000 dev_set_mac_address
00000000 *UND* 00000000 netif_rx_ni
00000000 *UND* 00000000 memset
00000000 *UND* 00000000 skb_queue_purge
00000000 *UND* 00000000 __memzero
00000000 *UND* 00000000 misc_register
00000000 *UND* 00000000 __f_setown
00000000 *UND* 00000000 default_wake_function
00000000 *UND* 00000000 __init_waitqueue_head
00000000 *UND* 00000000 jiffies
00000000 *UND* 00000000 sprintf
00000000 *UND* 00000000 skb_partial_csum_set
00000000 *UND* 00000000 memcpy_fromiovecend
00000000 *UND* 00000000 sock_alloc_send_pskb
00000000 *UND* 00000000 no_llseek
00000000 *UND* 00000000 rtnl_lock
00000000 *UND* 00000000 remove_wait_queue
00000000 *UND* 00000000 malloc_sizes
00000000 *UND* 00000000 get_random_bytes
00000000 *UND* 00000000 __wake_up_sync
00000000 *UND* 00000000 in_egroup_p
00000000 *UND* 00000000 __copy_to_user
00000000 *UND* 00000000 strchr
00000000 *UND* 00000000 unregister_netdevice
00000000 *UND* 00000000 __copy_from_user
00000000 *UND* 00000000 sock_init_data
00000000 *UND* 00000000 __kmalloc
00000000 *UND* 00000000 register_netdevice
[email protected]:~/tmp/nfs$
Are you sure that these modules work properly on your device? Maybe you have stripped them after putting them on your phone and before uploading them here?
I have the same problem... Did you find the way to mount nfs shares on the defy?

**FIXED**[Q] GSM Galaxy Nexus stuck in Bootloop - Paranoid Android - 4.3

Hi everyone,
I am hoping someone can help me before I have to go out and buy a whole new phone.
I recently upgraded to Paranoid Android 4.3, with the included kernel. Everything was fine after the upgrade, but then I decided I wanted a custom font installed. I downloaded a program called MyFont. Found the one i wanted, hit "Use" and all hell broke loose. The phone somehow started displaying what looked like screenshots of someone elses phone in different languages. Got multiple popups with no dialogue in them. The phone was jumpy and non-responsive so I had to pull the battery. Since that time, I cannot get past the PA colorful logo screen.
Unfortunately, when before I flashed PA, i tried to make a Nandroid backup and it failed so i never got to make a backup.
I've already tried:
wipe cache
wipe dalvik cache
wipe data
I've also tried to use abd to push a rom to my phone so i can reflash but no luck and flash-all. I keep getting errors like:
command not found
Confirmed I have all the appropriate files for my phone in the platform-tools directory of the sdk.
Can someone please help?? I'm absolutely desperate and I need a phone before I go on a trip Thursday.I am not a pro by any means, this as far as I've been able to get by reading some stuff online.
Below is my logcat output:
Code:
D/AndroidRuntime( 1636):
D/AndroidRuntime( 1636): >>>>>> AndroidRuntime START com.android.internal.os.ZygoteInit <<<<<<
D/AndroidRuntime( 1636): CheckJNI is OFF
D/dalvikvm( 1636): Trying to load lib libjavacore.so 0x0
D/dalvikvm( 1636): Added shared lib libjavacore.so 0x0
D/dalvikvm( 1636): Trying to load lib libnativehelper.so 0x0
D/dalvikvm( 1636): Added shared lib libnativehelper.so 0x0
W/dalvikvm( 1636): PR_SET_NO_NEW_PRIVS failed. Is your kernel compiled correctly?: Invalid argument
I/SamplingProfilerIntegration( 1636): Profiling disabled.
I/Zygote ( 1636): Preloading classes...
D/dalvikvm( 1636): GC_EXPLICIT freed 37K, 9% free 440K/480K, paused 0ms+0ms, total 2ms
D/dalvikvm( 1636): GC_EXPLICIT freed 4K, 4% free 511K/532K, paused 1ms+0ms, total 2ms
D/dalvikvm( 1636): Note: class Landroid/app/ActivityManagerNative; has 163 unimplemented (abstract) methods
D/dalvikvm( 1636): GC_EXPLICIT freed 22K, 5% free 541K/568K, paused 0ms+0ms, total 2ms
D/dalvikvm( 1636): GC_EXPLICIT freed 13K, 3% free 601K/620K, paused 1ms+0ms, total 3ms
D/dalvikvm( 1636): GC_EXPLICIT freed 24K, 5% free 631K/660K, paused 0ms+1ms, total 2ms
D/dalvikvm( 1636): GC_EXPLICIT freed 27K, 5% free 658K/688K, paused 1ms+1ms, total 3ms
D/dalvikvm( 1636): GC_EXPLICIT freed 85K, 11% free 796K/888K, paused 1ms+0ms, total 4ms
D/skia ( 1636): ---- failed to open </system/fonts/Roboto-Regular.ttf> as a font
D/skia ( 1636): ---- failed to open </system/fonts/DroidSans.ttf> as a font
F/libc ( 1636): Fatal signal 11 (SIGSEGV) at 0x00000004 (code=1), thread 1636 (zygote)
I/DEBUG ( 127): *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** ***
I/DEBUG ( 127): Build fingerprint: 'google/yakju/maguro:4.3/JSS15j/144301:user/release-keys'
I/DEBUG ( 127): Revision: '9'
I/DEBUG ( 127): pid: 1636, tid: 1636, name: zygote >>> zygote <<<
I/DEBUG ( 127): signal 11 (SIGSEGV), code 1 (SEGV_MAPERR), fault addr 00000004
I/DEBUG ( 127): r0 00000000 r1 00000000 r2 00000001 r3 00000000
I/DEBUG ( 127): r4 00000015 r5 00000002 r6 417eebe8 r7 41584ed8
I/DEBUG ( 127): r8 00000002 r9 000000a0 sl 40510d34 fp 4010b700
I/DEBUG ( 127): ip 001035c0 sp bec96400 lr 4040d778 pc 4040c640 cpsr 600f0010
I/DEBUG ( 127): d0 0000000000000000 d1 0000000000000000
I/DEBUG ( 127): d2 0000000000000000 d3 0000000000000000
I/DEBUG ( 127): d4 6e6f697475616320 d5 7570206e65687720
I/DEBUG ( 127): d6 6f6620676e697474 d7 61776f742073746e
I/DEBUG ( 127): d8 0000000000000000 d9 0000000000000000
I/DEBUG ( 127): d10 0000000000000000 d11 0000000000000000
I/DEBUG ( 127): d12 0000000000000000 d13 0000000000000000
I/DEBUG ( 127): d14 0000000000000000 d15 0000000000000000
I/DEBUG ( 127): d16 64696f72646e610a d17 6e7973412e736f2e
I/DEBUG ( 127): d18 4014000000000000 d19 0000000100000001
I/DEBUG ( 127): d20 0000000100000001 d21 0000000100000001
I/DEBUG ( 127): d22 0000000000000000 d23 0000000000000000
I/DEBUG ( 127): d24 0000000000000000 d25 0000000000000000
I/DEBUG ( 127): d26 0000000000000000 d27 0000000000000000
I/DEBUG ( 127): d28 0000000000000000 d29 0000000000000000
I/DEBUG ( 127): d30 0000000000000000 d31 0000000000000000
I/DEBUG ( 127): scr 60000010
I/DEBUG ( 127):
I/DEBUG ( 127): backtrace:
I/DEBUG ( 127): #00 pc 00121640 /system/lib/libskia.so
I/DEBUG ( 127): #01 pc 00122774 /system/lib/libskia.so
I/DEBUG ( 127): #02 pc 00122ba4 /system/lib/libskia.so
I/DEBUG ( 127): #03 pc 00123240 /system/lib/libskia.so (SkFontHost::CreateTypeface(SkTypeface const*, char const*, SkTypeface::Style)+44)
I/DEBUG ( 127): #04 pc 0007c969 /system/lib/libandroid_runtime.so
I/DEBUG ( 127): #05 pc 0001dc4c /system/lib/libdvm.so (dvmPlatformInvoke+112)
I/DEBUG ( 127): #06 pc 0004dec7 /system/lib/libdvm.so (dvmCallJNIMethod(unsigned int const*, JValue*, Method const*, Thread*)+398)
I/DEBUG ( 127): #07 pc 00027060 /system/lib/libdvm.so
I/DEBUG ( 127): #08 pc 0002b5ec /system/lib/libdvm.so (dvmInterpret(Thread*, Method const*, JValue*)+184)
I/DEBUG ( 127): #09 pc 0005ff09 /system/lib/libdvm.so (dvmCallMethodV(Thread*, Method const*, Object*, bool, JValue*, std::__va_list)+292)
I/DEBUG ( 127): #10 pc 0005ff33 /system/lib/libdvm.so (dvmCallMethod(Thread*, Method const*, Object*, JValue*, ...)+20)
I/DEBUG ( 127): #11 pc 0006b179 /system/lib/libdvm.so (dvmInitClass+1020)
I/DEBUG ( 127): #12 pc 0006b33d /system/lib/libdvm.so (dvmFindClass(char const*, Object*)+20)
I/DEBUG ( 127): #13 pc 0006480b /system/lib/libdvm.so (dvmFindClassByName(StringObject*, Object*, bool)+78)
I/DEBUG ( 127): #14 pc 000669bb /system/lib/libdvm.so
I/DEBUG ( 127): #15 pc 00027060 /system/lib/libdvm.so
I/DEBUG ( 127): #16 pc 0002b5ec /system/lib/libdvm.so (dvmInterpret(Thread*, Method const*, JValue*)+184)
I/DEBUG ( 127): #17 pc 0005ff09 /system/lib/libdvm.so (dvmCallMethodV(Thread*, Method const*, Object*, bool, JValue*, std::__va_list)+292)
I/DEBUG ( 127): #18 pc 00049b5f /system/lib/libdvm.so
I/DEBUG ( 127): #19 pc 0004b79f /system/lib/libandroid_runtime.so
I/DEBUG ( 127): #20 pc 0004c42f /system/lib/libandroid_runtime.so (android::AndroidRuntime::start(char const*, char const*)+378)
I/DEBUG ( 127): #21 pc 0000105b /system/bin/app_process
I/DEBUG ( 127): #22 pc 0000db4f /system/lib/libc.so (__libc_init+50)
I/DEBUG ( 127): #23 pc 00000d7c /system/bin/app_process
I/DEBUG ( 127):
I/DEBUG ( 127): stack:
I/DEBUG ( 127): bec963c0 00000000
I/DEBUG ( 127): bec963c4 000000b0
I/DEBUG ( 127): bec963c8 000000b0
I/DEBUG ( 127): bec963cc 41584e38
I/DEBUG ( 127): bec963d0 41584810
I/DEBUG ( 127): bec963d4 40194031 /system/lib/libc.so (dlrealloc+180)
I/DEBUG ( 127): bec963d8 40193f7d /system/lib/libc.so (dlrealloc)
I/DEBUG ( 127): bec963dc 000000b0
I/DEBUG ( 127): bec963e0 00000001
I/DEBUG ( 127): bec963e4 417eebe8
I/DEBUG ( 127): bec963e8 0000000d
I/DEBUG ( 127): bec963ec 401909e9 /system/lib/libc.so (realloc+12)
I/DEBUG ( 127): bec963f0 4010b630
I/DEBUG ( 127): bec963f4 4040eea0 /system/lib/libskia.so (sk_realloc_throw(void*, unsigned int)+12)
I/DEBUG ( 127): bec963f8 df0027ad
I/DEBUG ( 127): bec963fc 00000000
I/DEBUG ( 127): #00 bec96400 4010b630
I/DEBUG ( 127): ........ ........
I/DEBUG ( 127): #01 bec96400 4010b630
I/DEBUG ( 127): bec96404 00000016
I/DEBUG ( 127): bec96408 00000015
I/DEBUG ( 127): bec9640c 00000014
I/DEBUG ( 127): bec96410 401ce1f4
I/DEBUG ( 127): bec96414 40510d00
I/DEBUG ( 127): bec96418 40510d20
I/DEBUG ( 127): bec9641c 40510d00
I/DEBUG ( 127): bec96420 40510cfc
I/DEBUG ( 127): bec96424 40510cfc
I/DEBUG ( 127): bec96428 40510ce8
I/DEBUG ( 127): bec9642c 417eea40
I/DEBUG ( 127): bec96430 40510d00
I/DEBUG ( 127): bec96434 55555556 /dev/ashmem/dalvik-mark-stack (deleted)
I/DEBUG ( 127): bec96438 0000001c
I/DEBUG ( 127): bec9643c 40510d00
I/DEBUG ( 127): ........ ........
I/DEBUG ( 127): #02 bec96500 40510cf8
I/DEBUG ( 127): bec96504 00000000
I/DEBUG ( 127): bec96508 00000000
I/DEBUG ( 127): bec9650c 4040e244 /system/lib/libskia.so (SkFontHost::CreateTypeface(SkTypeface const*, char const*, SkTypeface::Style)+48)
I/DEBUG ( 127):
I/DEBUG ( 127): memory near r6:
I/DEBUG ( 127): 417eebc8 76654473 67616e61 2d697261 75676552
I/DEBUG ( 127): 417eebd8 2e72616c 00667474 00000000 00000023
I/DEBUG ( 127): 417eebe8 41583538 00000016 00000015 41530820
I/DEBUG ( 127): 417eebf8 00000000 00000000 00000020 00000013
I/DEBUG ( 127): 417eec08 417eec38 00000000 41530820 00000023
I/DEBUG ( 127): 417eec18 4050bb50 00000001 00000001 0000000a
I/DEBUG ( 127): 417eec28 00000001 64000100 41583168 00000023
I/DEBUG ( 127): 417eec38 696f7244 6e615364 6d615473 522d6c69
I/DEBUG ( 127): 417eec48 6c756765 742e7261 00006674 00000013
I/DEBUG ( 127): 417eec58 417eec68 00000000 41530820 00000023
I/DEBUG ( 127): 417eec68 696f7244 6e615364 6d615473 422d6c69
I/DEBUG ( 127): 417eec78 2e646c6f 00667474 00000000 00000023
I/DEBUG ( 127): 417eec88 417ee928 417eea40 00000000 00000000
I/DEBUG ( 127): 417eec98 00000000 0001d254 00000020 00000013
I/DEBUG ( 127): 417eeca8 417eecd8 00000002 41530820 00000023
I/DEBUG ( 127): 417eecb8 4050bb50 00000001 00000001 00000009
I/DEBUG ( 127):
I/DEBUG ( 127): memory near r7:
I/DEBUG ( 127): 41584eb8 0000002b 00000002 0000002d 00000001
I/DEBUG ( 127): 41584ec8 0000002f 00000000 00000030 00000000
I/DEBUG ( 127): 41584ed8 00000031 00000000 00000074 41584e58
I/DEBUG ( 127): 41584ee8 000000b8 00000023 4050bb50 00000001
I/DEBUG ( 127): 41584ef8 00000001 00000029 00000000 00000100
I/DEBUG ( 127): 41584f08 41584f10 0000003b 0000002a 00000001
I/DEBUG ( 127): 41584f18 7379732f 2f6d6574 746e6f66 6f4e2f73
I/DEBUG ( 127): 41584f28 61536f74 6554736e 7567756c 522d4955
I/DEBUG ( 127): 41584f38 6c756765 742e7261 40006674 0000001b
I/DEBUG ( 127): 41584f48 4010b7d0 41584ef0 4010af18 00000000
I/DEBUG ( 127): 41584f58 00000000 0000003b 00000029 00000001
I/DEBUG ( 127): 41584f68 7379732f 2f6d6574 746e6f66 6f4e2f73
I/DEBUG ( 127): 41584f78 61536f74 614b736e 64616e6e 65522d61
I/DEBUG ( 127): 41584f88 616c7567 74742e72 00000066 0000003b
I/DEBUG ( 127): 41584f98 00000028 00000001 7379732f 2f6d6574
I/DEBUG ( 127): 41584fa8 746e6f66 6f4e2f73 61536f74 614b736e
I/DEBUG ( 127):
I/DEBUG ( 127): memory near sl:
I/DEBUG ( 127): 40510d14 4010b3f0 415847e0 00000000 41583408
I/DEBUG ( 127): 40510d24 00000016 00000011 4010a888 00000001
I/DEBUG ( 127): 40510d34 417eea10 00000006 00000002 00000000
I/DEBUG ( 127): 40510d44 00000000 00000000 00000000 00000000
I/DEBUG ( 127): 40510d54 00000000 00000000 00000000 00000000
I/DEBUG ( 127): 40510d64 00000000 00000000 00000000 00000000
I/DEBUG ( 127): 40510d74 00000000 00000000 00000000 00000000
I/DEBUG ( 127): 40510d84 00000000 00000000 00000000 00000000
I/DEBUG ( 127): 40510d94 00000000 00000000 00000000 00000000
I/DEBUG ( 127): 40510da4 00000000 00000000 00000000 00000000
I/DEBUG ( 127): 40510db4 00000000 00000000 00000000 00000000
I/DEBUG ( 127): 40510dc4 00000000 00000000 00000000 00000000
I/DEBUG ( 127): 40510dd4 00000000 00000000 00000000 00000000
I/DEBUG ( 127): 40510de4 00000000 00000000 00000000 00000000
I/DEBUG ( 127): 40510df4 00000000 00000000 00000000 00000000
I/DEBUG ( 127): 40510e04 00000000 00000000 00000000 00000000
I/DEBUG ( 127):
I/DEBUG ( 127): memory near fp:
I/DEBUG ( 127): 4010b6e0 4010b2d8 40510ce8 00000000 41530820
I/DEBUG ( 127): 4010b6f0 4010b340 40510ce8 00000000 41530820
I/DEBUG ( 127): 4010b700 4010b3e0 40510ce8 00000000 4010b3a0
I/DEBUG ( 127): 4010b710 00000000 00000000 00000000 00000000
I/DEBUG ( 127): 4010b720 00000000 00000000 00000000 00000000
I/DEBUG ( 127): 4010b730 00000000 00000000 00000000 00000000
I/DEBUG ( 127): 4010b740 00000000 00000000 00000000 00000000
I/DEBUG ( 127): 4010b750 00000000 00000000 00000000 00000000
I/DEBUG ( 127): 4010b760 00000000 00000000 00000000 00000000
I/DEBUG ( 127): 4010b770 00000000 00000023 4050bb50 00000001
I/DEBUG ( 127): 4010b780 00000001 00000027 00000000 00000100
I/DEBUG ( 127): 4010b790 4010b798 0000003b 00000028 00000001
I/DEBUG ( 127): 4010b7a0 7379732f 2f6d6574 746e6f66 6f4e2f73
I/DEBUG ( 127): 4010b7b0 61536f74 6554736e 7567756c 6765522d
I/DEBUG ( 127): 4010b7c0 72616c75 6674742e 00000000 0000001b
I/DEBUG ( 127): 4010b7d0 41584d80 4010b778 4010afa0 00000000
I/DEBUG ( 127):
I/DEBUG ( 127): memory near ip:
I/DEBUG ( 127): 001035a0 ffffffff ffffffff ffffffff ffffffff
I/DEBUG ( 127): 001035b0 ffffffff ffffffff ffffffff ffffffff
I/DEBUG ( 127): 001035c0 ffffffff ffffffff ffffffff ffffffff
I/DEBUG ( 127): 001035d0 ffffffff ffffffff ffffffff ffffffff
I/DEBUG ( 127): 001035e0 ffffffff ffffffff ffffffff ffffffff
I/DEBUG ( 127): 001035f0 ffffffff ffffffff ffffffff ffffffff
I/DEBUG ( 127): 00103600 ffffffff ffffffff ffffffff ffffffff
I/DEBUG ( 127): 00103610 ffffffff ffffffff ffffffff ffffffff
I/DEBUG ( 127): 00103620 ffffffff ffffffff ffffffff ffffffff
I/DEBUG ( 127): 00103630 ffffffff ffffffff ffffffff ffffffff
I/DEBUG ( 127): 00103640 ffffffff ffffffff ffffffff ffffffff
I/DEBUG ( 127): 00103650 ffffffff ffffffff ffffffff ffffffff
I/DEBUG ( 127): 00103660 ffffffff ffffffff ffffffff ffffffff
I/DEBUG ( 127): 00103670 ffffffff ffffffff ffffffff ffffffff
I/DEBUG ( 127): 00103680 ffffffff ffffffff ffffffff ffffffff
I/DEBUG ( 127): 00103690 ffffffff ffffffff ffffffff ffffffff
I/DEBUG ( 127):
I/DEBUG ( 127): memory near sp:
I/DEBUG ( 127): bec963e0 00000001 417eebe8 0000000d 401909e9
I/DEBUG ( 127): bec963f0 4010b630 4040eea0 df0027ad 00000000
I/DEBUG ( 127): bec96400 4010b630 00000016 00000015 00000014
I/DEBUG ( 127): bec96410 401ce1f4 40510d00 40510d20 40510d00
I/DEBUG ( 127): bec96420 40510cfc 40510cfc 40510ce8 417eea40
I/DEBUG ( 127): bec96430 40510d00 55555556 0000001c 40510d00
I/DEBUG ( 127): bec96440 0095ae08 415847a0 00000000 41584dd0
I/DEBUG ( 127): bec96450 41530820 00000000 00000000 00000000
I/DEBUG ( 127): bec96460 40508138 00000001 401ce39c 415833d0
I/DEBUG ( 127): bec96470 40508138 00000001 4010a910 00000000
I/DEBUG ( 127): bec96480 00000000 002bceec bec96490 00000006
I/DEBUG ( 127): bec96490 616e6f6d 20006f63 0077656e 00666972
I/DEBUG ( 127): bec964a0 6465736e bec96400 bec96470 00000010
I/DEBUG ( 127): bec964b0 57ddfb94 5a0bd928 00000001 00000001
I/DEBUG ( 127): bec964c0 41a6e2c8 ba90001d 41a6e2c8 402a6d7a
I/DEBUG ( 127): bec964d0 402a6d8e 615e8e8f 57c4de98 00000000
I/DEBUG ( 127):
I/DEBUG ( 127): code around pc:
I/DEBUG ( 127): 4040c620 e3a0102f e92d4008 e2800008 ebfd16ad
I/DEBUG ( 127): 4040c630 e3500000 12800001 e8bd8008 e0803101
I/DEBUG ( 127): 4040c640 e593c004 e35c0000 0a000001 e1a0000c
I/DEBUG ( 127): 4040c650 e12fff1e e2211002 e0802101 e592c004
I/DEBUG ( 127): 4040c660 e35c0000 1afffff8 e590c004 e35c0000
I/DEBUG ( 127): 4040c670 1afffff5 e590c008 e35c0000 1afffff2
I/DEBUG ( 127): 4040c680 e590c00c e35c0000 0590c010 eaffffee
I/DEBUG ( 127): 4040c690 e59f3050 e52d4004 e79fc003 e35c0000
I/DEBUG ( 127): 4040c6a0 0a00000a e24c3004 e28c400c e2833004
I/DEBUG ( 127): 4040c6b0 e5932004 e1500002 0a000007 e1530004
I/DEBUG ( 127): 4040c6c0 1afffff9 e59cc000 e35c0000 1afffff4
I/DEBUG ( 127): 4040c6d0 e3a00000 e8bd0010 e12fff1e e1a0000c
I/DEBUG ( 127): 4040c6e0 e8bd0010 eaffffd4 00104678 e5902000
I/DEBUG ( 127): 4040c6f0 e5913000 e1520003 0a000002 ca00000b
I/DEBUG ( 127): 4040c700 e3e00000 e12fff1e e590c004 e5912004
I/DEBUG ( 127): 4040c710 e15c0002 1afffff8 e5900008 e5911008
I/DEBUG ( 127):
I/DEBUG ( 127): code around lr:
I/DEBUG ( 127): 4040d758 e59fc330 e3a01000 e59fe32c e3a02001
I/DEBUG ( 127): 4040d768 e08f300c e79f000e e5c32000 ebfffbb0
I/DEBUG ( 127): 4040d778 e59f1318 e08f4001 e5840000 eafffd68
I/DEBUG ( 127): 4040d788 e59f030c e08f4000 e5845000 eafffebd
I/DEBUG ( 127): 4040d798 e1a00008 eb0005c4 e59d0054 e59d305c
I/DEBUG ( 127): 4040d7a8 e59d6038 eafffdf6 e1a00200 e59f72e4
I/DEBUG ( 127): 4040d7b8 eb0005c8 e08f3007 e5937008 e5935010
I/DEBUG ( 127): 4040d7c8 e3570000 e1a04000 dafffda7 e5931014
I/DEBUG ( 127): 4040d7d8 e280800c e1a02000 e0817207 e281600c
I/DEBUG ( 127): 4040d7e8 e1a03001 e593e000 e061c003 e0640002
I/DEBUG ( 127): 4040d7f8 e582e000 e593e004 e582e004 e593e008
I/DEBUG ( 127): 4040d808 e2833010 e1530007 e582e008 e2822010
I/DEBUG ( 127): 4040d818 e796c00c e788c000 1afffff1 eafffd95
I/DEBUG ( 127): 4040d828 e596e004 e1ce0fce eafffd86 e59de01c
I/DEBUG ( 127): 4040d838 e59fb264 e596400c e59ea014 e08f000b
I/DEBUG ( 127): 4040d848 e08a5005 e5957008 ebfe027e e59fc24c
I/ServiceManager( 121): service 'media.audio_flinger' died
I/ServiceManager( 121): service 'media.player' died
I/ServiceManager( 121): service 'media.camera' died
I/Netd ( 1642): Netd 1.0 starting
W/InterfaceController( 1642): Warning (dlopen failed: library "/system/lib/libnetcmdiface.so" not found) while opening the net interface command library
I/mediaserver( 1641): ServiceManager: 0x40cc1300
I/AudioFlinger( 1641): Using default 3000 mSec as standby time.
I/CameraService( 1641): CameraService started (pid=1641)
I/CameraService( 1641): Loaded "TI OMAP CameraHal Module" camera module
I/AudioPolicyManagerBase( 1641): loadAudioPolicyConfig() loaded /system/etc/audio_policy.conf
I/AudioFlinger( 1641): loadHwModule() Loaded primary audio interface from Tuna audio HW HAL (audio) handle 1
I/AudioFlinger( 1641): HAL output buffer size 144 frames, normal mix buffer size 864 frames
W/EffectsFactory( 1641): loadLibrary() failed to open /system/lib/soundfx/libcyanogen-dsp.so
W/EffectsFactory( 1641): loadEffect() could not get library cm
W/EffectsFactory( 1641): loadEffect() could not get library cm
W/EffectsFactory( 1641): loadEffect() could not get library cm
W/EffectsFactory( 1641): loadEffect() could not get library cm
I/AudioMixer( 1641): found effect "Multichannel Downmix To Stereo" from The Android Open Source Project
E/MonoPipe( 1641): Failed to fetch local time frequency when constructing a MonoPipe (res = -32). getNextWriteTimestamp calls will be non-functional
D/MDnsDS ( 1642): MDnsSdListener::Hander starting up
D/MDnsDS ( 1642): MDnsSdListener starting to monitor
D/MDnsDS ( 1642): Going to poll with pollCount 1
Thankfully I was able to fix it via the most unlikely source -- the Unroot Toolkit. PRAISE whoever created it. Just ran that and then rooted again. Back on Paranoid Android successfully.

Making newer GPU drivers work

I've updated most of our kernel to 4AJ.2.2. Our kernel was really outdated, but with these changes, it should be easier to make the newer binaries work, as there are many, many kernel side dependencies for them.
Currently, I reverted everything that broke functionality with the current binaries (that includes remoteproc stuff which broke the camera, some sound and usb commits, not that much...), so everything still works.
As far as I see, we can compile the binaries ourselves: Building SGX driver (or just borrow them from another device?). As I have a little side project that I want to do now, I don't intend to get into ROMs too much, but I may as well join the party soon
The best starting point to make the kernel side changes is... well, my simple, but effective method is to compare the kernel dirs, like this. With this method, one can easily find & cherry-pick the changes from github, or I can create a separate branch that includes them (should I do it?), as it's not hard, I actually got them merged at a time with it's dependencies, but I reverted everything to get back the display.
Here's the kernel: https://github.com/Ziyann/omap
and the source: https://github.com/icepeda/omap/tree/icepeda-panda-4aj22
Also, it would be nice to know which binaries should we use, as there may be different versions for 3.0 and 3.4. Which binaries work with this panda kernel? @isrcepeda, we don't want to disturb you as you work on the 3.4 kernel, but it'd be great if you could give us some hints :highfive:
Sorry for the noob question, but you are talking about this driver? http://omapzoom.org/?p=device/ti/pr...it;h=8137028adad92178573b3448f833e1f0338c20db
Keep going, i can't helo you but i'm with you with my heart ?
pianistaPL said:
Sorry for the noob question, but you are talking about this driver? http://omapzoom.org/?p=device/ti/pr...it;h=8137028adad92178573b3448f833e1f0338c20db
Keep going, i can't helo you but i'm with you with my heart ?
Click to expand...
Click to collapse
Yes, that driver
@Carlos_Manuel
Check out my exp branch, I think I merged most of the things we need, it compiles fine, but I couldn't test it further - I may have easily missed something. I may setup a rom building environment tomorrow, as things are getting complicated...
I am going to say something absolutely stupid but as far as I remember there is a Galaxy S version (was it the advance?) that got a 3.4 kernel from an awesome dev. And the Galaxy Nexus uses the same gpu right? Isnt there a way to use some of that code?
Sent from my Galaxy Nexus using XDA Free mobile app
Ziyan said:
Yes, that driver
@Carlos_Manuel
Check out my exp branch, I think I merged most of the things we need, it compiles fine, but I couldn't test it further - I may have easily missed something. I may setup a rom building environment tomorrow, as things are getting complicated...
Click to expand...
Click to collapse
I'm too sleepy to check them out. Build an kernel, use hardware/ti-omap4xxx/ from omapzoom (d-jb-mr2), update kernel-headers if needed to (some ion changes needed this change), etc.
With the ROM side I hope I can help, when help is needed, as I'm stronger in that than with kernels...
mrgnex said:
I am going to say something absolutely stupid but as far as I remember there is a Galaxy S version (was it the advance?) that got a 3.4 kernel from an awesome dev. And the Galaxy Nexus uses the same gpu right? Isnt there a way to use some of that code?
Sent from my Galaxy Nexus using XDA Free mobile app
Click to expand...
Click to collapse
Nexus S uses pvr 540 too, but it has cortex A8 and possibly is an omap4430 device and it doesn't have same files in kernel as tuna.. because Nexus s is another device.. so it won't help at all
Carlos_Manuel said:
I'm too sleepy to check them out. Build an kernel, use hardware/ti-omap4xxx/ from omapzoom (d-jb-mr2), update kernel-headers if needed to (some ion changes needed this change), etc.
With the ROM side I hope I can help, when help is needed, as I'm stronger in that than with kernels...
Click to expand...
Click to collapse
Hmm, do we need hardware/ti-omap4xxx? The sgx stuff seems to be in device/ti/proprietary-open.git. And as I see, we need to integrate it to the build system, as android-4.3_r3.1 doesn't have such a folder
Edit: lol, we may not even need to build a rom, just follow these instructions
Well, I managed to compile them. As excepted, things didn't just magically begin working. Android didn't automatically load the modules from /system/lib/modules, but:
Code:
insmod pvrsrvkm_sgx540_120.ko
seemed to work... (note: I had to enable CONFIG_MODULES in the kernel)
dmesg:
http://pastebin.com/RTM4fQAW
Code:
<6>[ 66.322906] PVR: PVRCore_Init
<6>[ 66.323242] PVR: LinuxMMInit: Maximum page pool size: 10800
<6>[ 66.323516] PVR: PVRSRVDriverProbe(pDevice=c78b2800)
<6>[ 66.323760] PVR: SGX register base: 0x56000000
<6>[ 66.323822] PVR: SGX register size: 65535
<6>[ 66.323944] PVR: SGX IRQ: 53
<6>[ 66.324218] PVR: EnableSystemClocks: Enabling System Clocks
<6>[ 66.324768] PVR: PVRCore_Init: major device 246
This appeared after doing insmod.
logcat:
http://pastebin.com/HyK887z7
Something's definietly bad there. The problem starts there:
Code:
E/IMGSRV ( 4513): :0: OpenServices: Cannot open device driver /dev/pvrsrvkm.
Code:
[email protected]:/dev # ls -l /dev/pvr*
crw------- root root 246, 0 2014-07-02 11:31 pvrsrvkm
Hmm, maybe a permission problem? Let's chmod it to 777 (maybe we'll need this included in the ramdisk).
dmesg again:
http://pastebin.com/1vqZunrf
logcat again:
http://pastebin.com/AWJz51X9
That did the trick, it went ahead, and another error popped out.
Well, I'm open to any suggestions while I try to fix this...
EDIT:
Code:
[email protected]:/ # free -m
total used free shared buffers
Mem: 809120 66744 742376 0 4896
-/+ buffers: 61848 747272
Swap: 0 0 0
That's a bit too much, isn't it? That android-display stuff which should allocate memory doesn't seem to work, I had the same problem when I merged it with the current drivers. I think I edited the board files the right way... but I'll look around.
EDIT 2:
Code:
<6>[ 0.000000] android_display: setting default resolution 720*1280, bpp=4
This may be the problem - we're not 4 bits, that should be 24.
EDIT 3:
Sadly, no.
Code:
u32 bpp; /* must be 2 or 4 */
But the error must be somewhere in the memory allocation process. Another evidence.
Code:
<3>[ 0.213623] omap_rproc_get_pool: dsp - no carveout memory is available at all
<3>[ 0.214782] omap_rproc_get_pool: ipu - no carveout memory is available at all
Ziyan said:
Hmm, do we need hardware/ti-omap4xxx? The sgx stuff seems to be in device/ti/proprietary-open.git. And as I see, we need to integrate it to the build system, as android-4.3_r3.1 doesn't have such a folder
Edit: lol, we may not even need to build a rom, just follow these instructions
Click to expand...
Click to collapse
I'm too lazy to read..:laugh: I've seen that page many times... it's for building the needed module for kernel...?
---------- Post added at 01:07 PM ---------- Previous post was at 12:56 PM ----------
Ziyan said:
Well, I managed to compile them. As excepted, things didn't just magically begin working. Android didn't automatically load the modules from /system/lib/modules, but:
Code:
insmod pvrsrvkm_sgx540_120.ko
seemed to work... (note: I had to enable CONFIG_MODULES in the kernel)
dmesg:
http://pastebin.com/RTM4fQAW
Code:
<6>[ 66.322906] PVR: PVRCore_Init
<6>[ 66.323242] PVR: LinuxMMInit: Maximum page pool size: 10800
<6>[ 66.323516] PVR: PVRSRVDriverProbe(pDevice=c78b2800)
<6>[ 66.323760] PVR: SGX register base: 0x56000000
<6>[ 66.323822] PVR: SGX register size: 65535
<6>[ 66.323944] PVR: SGX IRQ: 53
<6>[ 66.324218] PVR: EnableSystemClocks: Enabling System Clocks
<6>[ 66.324768] PVR: PVRCore_Init: major device 246
This appeared after doing insmod.
logcat:
http://pastebin.com/HyK887z7
Something's definietly bad there. The problem starts there:
Code:
E/IMGSRV ( 4513): :0: OpenServices: Cannot open device driver /dev/pvrsrvkm.
Code:
[email protected]:/dev # ls -l /dev/pvr*
crw------- root root 246, 0 2014-07-02 11:31 pvrsrvkm
Hmm, maybe a permission problem? Let's chmod it to 777 (maybe we'll need this included in the ramdisk).
dmesg again:
http://pastebin.com/1vqZunrf
logcat again:
http://pastebin.com/AWJz51X9
Well, I'm open to any suggestions while I try to fix this...
EDIT:
Code:
[email protected]:/ # free -m
total used free shared buffers
Mem: 809120 66744 742376 0 4896
-/+ buffers: 61848 747272
Swap: 0 0 0
That's a bit too much, isn't it? That android-display stuff doesn't seem to work, I had the same problem when I merged it with the current drivers. I think I edited the board files the right way... but I'll look around.
Click to expand...
Click to collapse
IF possible, then may this be caused by SELinux?
Carlos_Manuel said:
I'm too lazy to read..:laugh: I've seen that page many times... it's for building the needed module for kernel...?
---------- Post added at 01:07 PM ---------- Previous post was at 12:56 PM ----------
IF possible, then may this be caused by SELinux?
Click to expand...
Click to collapse
The module loading may be easily caused by it, as SELinux doesn't allow loadable modules. But as I loaded it manually, this shouldn't be a problem.
Ziyan said:
The module loading may be easily caused by it, as SELinux doesn't allow loadable modules. But as I loaded it manually, this shouldn't be a problem.
Click to expand...
Click to collapse
File_contexts file may be the causer build a ROM with the module. Also enable module support for kernel (just in case)..
I've mostly fixed allocation problems, and also found a bunch of binaries in proprietary-open\omap4\sgx.tgz, so I've replaced the current binaries with them (excluding the sgx driver we can build). While this fixed some errors which referenced those files, things still seem bad:
Code:
I/SurfaceFlinger( 706): SurfaceFlinger is starting
I/SurfaceFlinger( 706): SurfaceFlinger's main thread ready to run. Initializing graphics H/W...
D/libEGL ( 706): loaded /vendor/lib/egl/libEGL_POWERVR_SGX540_120.so
D/libEGL ( 706): loaded /vendor/lib/egl/libGLESv1_CM_POWERVR_SGX540_120.so
D/libEGL ( 706): loaded /vendor/lib/egl/libGLESv2_POWERVR_SGX540_120.so
W/libEGL ( 706): eglInitialize(0x1) failed (EGL_BAD_ALLOC)
E/HAL ( 706): load: module=/vendor/lib/hw/gralloc.omap4.so
[B]E/HAL ( 706): dlopen failed: cannot locate symbol "_ZN7android9CallStack6updateEii" referenced by "gralloc.omap4.so"...[/B]
E/SurfaceFlinger( 706): gralloc module not found
E/HAL ( 706): load: module=/vendor/lib/hw/gralloc.omap4.so
E/HAL ( 706): dlopen failed: cannot locate symbol "_ZN7android9CallStack6updateEii" referenced by "gralloc.omap4.so"...
E/ti_hwc ( 706): Composer HAL failed to load compatible Graphics HAL
E/SurfaceFlinger( 706): composer device failed to initialize (Invalid argument)
E/SurfaceFlinger( 706): ERROR: failed to open framebuffer (Invalid argument), aborting
F/libc ( 706): Fatal signal 6 (SIGABRT) at 0x000002c2 (code=-6), thread 706 (surfaceflinger)
I/DEBUG ( 132): *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** ***
I/DEBUG ( 132): Build fingerprint: 'google/yakju/maguro:4.3/JWR66Y/776638:user/release-keys'
I/DEBUG ( 132): Revision: '9'
I/DEBUG ( 132): pid: 706, tid: 706, name: surfaceflinger >>> /system/bin/surfaceflinger <<<
I/DEBUG ( 132): signal 6 (SIGABRT), code -6 (SI_TKILL), fault addr --------
I/mediaserver( 708): ServiceManager: 0xcac460
I/AudioFlinger( 708): Using default 3000 mSec as standby time.
I/CameraService( 708): CameraService started (pid=708)
I/CameraService( 708): Loaded "TI OMAP CameraHal Module" camera module
I/AudioPolicyManagerBase( 708): loadAudioPolicyConfig() loaded /system/etc/audio_policy.conf
I/DEBUG ( 132): r0 00000000 r1 000002c2 r2 00000006 r3 00000000
I/DEBUG ( 132): r4 40025f34 r5 000002c2 r6 00000002 r7 0000010c
I/DEBUG ( 132): r8 00000000 r9 4028f9a4 sl 01ef776c fp beb5e968
I/DEBUG ( 132): ip 00000006 sp beb5e8d8 lr 40107f31 pc 4011d234 cpsr 000f0010
I/DEBUG ( 132): d0 74726f6261202c29 d1 746e656d75677261
I/DEBUG ( 132): d2 6172672220796220 d3 616d6f2e636f6c6c
I/DEBUG ( 132): d4 4e5a5f22206c6f62 d5 64696f72646e6137
I/DEBUG ( 132): d6 6174536c6c614339 d7 7461647075366b63
I/DEBUG ( 132): d8 0000000000000000 d9 0000000000000000
I/DEBUG ( 132): d10 0000000000000000 d11 0000000000000000
I/DEBUG ( 132): d12 0000000000000000 d13 0000000000000000
I/DEBUG ( 132): d14 0000000000000000 d15 0000000000000000
I/DEBUG ( 132): d16 0000000000000000 d17 fffff000fffff000
I/DEBUG ( 132): d18 00000fff00000fff d19 0000000000000000
I/DEBUG ( 132): d20 0000000000000000 d21 0000000000000000
I/DEBUG ( 132): d22 0000000000000000 d23 0000000000000000
I/DEBUG ( 132): d24 0000000000000000 d25 0000000000000000
I/DEBUG ( 132): d26 0000000000000000 d27 0000000000000000
I/DEBUG ( 132): d28 0000000000000000 d29 0000000000000000
I/DEBUG ( 132): d30 0000000000000000 d31 0000000000000000
I/DEBUG ( 132): scr 00000010
I/DEBUG ( 132):
I/DEBUG ( 132): backtrace:
I/DEBUG ( 132): #00 pc 0002a234 /system/lib/libc.so (tgkill+12)
I/DEBUG ( 132): #01 pc 00014f2d /system/lib/libc.so (pthread_kill+88)
I/DEBUG ( 132): #02 pc 00015143 /system/lib/libc.so (raise+10)
I/DEBUG ( 132): #03 pc 00013a33 /system/lib/libc.so
I/DEBUG ( 132): #04 pc 00029ae8 /system/lib/libc.so (abort+4)
I/DEBUG ( 132): #05 pc 00023d9f /system/lib/libsurfaceflinger.so
I/DEBUG ( 132): #06 pc 0001f0c3 /system/lib/libsurfaceflinger.so (android::SurfaceFlinger::init()+98)
I/DEBUG ( 132): #07 pc 000007c1 /system/bin/surfaceflinger
I/DEBUG ( 132): #08 pc 0000e263 /system/lib/libc.so (__libc_init+58)
I/DEBUG ( 132): #09 pc 000008c0 /system/bin/surfaceflinger
I/DEBUG ( 132):
I/DEBUG ( 132): stack:
I/DEBUG ( 132): beb5e898 beb5e8d0 [stack]
I/DEBUG ( 132): beb5e89c 00000000
I/DEBUG ( 132): beb5e8a0 00000000
I/DEBUG ( 132): beb5e8a4 00000000
I/DEBUG ( 132): beb5e8a8 00000000
I/DEBUG ( 132): beb5e8ac 401543a0
I/DEBUG ( 132): beb5e8b0 ffffffc4
I/DEBUG ( 132): beb5e8b4 00000000
I/DEBUG ( 132): beb5e8b8 00000000
I/DEBUG ( 132): beb5e8bc 00000000
I/DEBUG ( 132): beb5e8c0 00000027
I/AudioFlinger( 708): loadHwModule() Loaded primary audio interface from Tuna audio HW HAL (audio) handle 1
I/DEBUG ( 132): beb5e8c4 01ef7748 [heap]
I/DEBUG ( 132): beb5e8c8 01ef7720 [heap]
I/DEBUG ( 132): beb5e8cc 00000000
I/DEBUG ( 132): beb5e8d0 01ef7718 [heap]
I/DEBUG ( 132): beb5e8d4 40102d55 /system/lib/libc.so (dlmalloc+352)
I/DEBUG ( 132): #00 beb5e8d8 40025f34 /system/bin/linker
I/DEBUG ( 132): beb5e8dc 000002c2
I/DEBUG ( 132): beb5e8e0 00000002
I/DEBUG ( 132): beb5e8e4 00000006
I/DEBUG ( 132): beb5e8e8 00000006
I/DEBUG ( 132): beb5e8ec 40107f31 /system/lib/libc.so (pthread_kill+92)
I/DEBUG ( 132): #01 beb5e8f0 40026178
I/DEBUG ( 132): beb5e8f4 00000006
I/DEBUG ( 132): beb5e8f8 00000000
I/DEBUG ( 132): beb5e8fc 00000001
I/DEBUG ( 132): beb5e900 ffffffea
I/DEBUG ( 132): beb5e904 40108147 /system/lib/libc.so (raise+14)
I/DEBUG ( 132): #02 beb5e908 beb5e910 [stack]
I/DEBUG ( 132): beb5e90c 40106a37 /system/lib/libc.so
I/AudioFlinger( 708): HAL output buffer size 144 frames, normal mix buffer size 864 frames
I/DEBUG ( 132):
I/DEBUG ( 132): memory near r4:
I/DEBUG ( 132): 40025f14 00000000 00000000 00000000 00000000
I/DEBUG ( 132): 40025f24 00000000 00000000 00000000 beb5eb0c
I/DEBUG ( 132): 40025f34 00000000 01ef5208 00000000 be35f000
I/DEBUG ( 132): 40025f44 00800000 00001000 00000000 00000000
I/DEBUG ( 132): 40025f54 000002c2 00000000 00000000 00000000
I/DEBUG ( 132): 40025f64 00000000 00000000 40026178 400aa000
I/DEBUG ( 132): 40025f74 706f6c64 66206e65 656c6961 63203a64
I/DEBUG ( 132): 40025f84 6f6e6e61 6f6c2074 65746163 6d797320
I/DEBUG ( 132): 40025f94 206c6f62 4e5a5f22 646e6137 64696f72
I/DEBUG ( 132): 40025fa4 6c614339 6174536c 75366b63 74616470
I/DEBUG ( 132): 40025fb4 69694565 65722022 65726566 6465636e
I/DEBUG ( 132): 40025fc4 20796220 61726722 636f6c6c 616d6f2e
I/DEBUG ( 132): 40025fd4 732e3470 2e2e226f 0000002e 00000000
I/DEBUG ( 132): 40025fe4 00000000 00000000 00000000 00000000
I/DEBUG ( 132): 40025ff4 00000000 00000000 00000000 00000000
I/DEBUG ( 132): 40026004 00000000 00000000 00000000 00000000
I/DEBUG ( 132):
I/DEBUG ( 132): memory near r9:
I/DEBUG ( 132): 4028f984 6e752078 70707573 6574726f 77202c64
I/DEBUG ( 132): 4028f994 206c6c69 20746f6e 75206562 00646573
I/DEBUG ( 132): 4028f9a4 6c617267 00636f6c 00306266 6e657665
I/DEBUG ( 132): 4028f9b4 6e6f4374 6c6f7274 2c642528 29642520
I/DEBUG ( 132): 4028f9c4 69616620 2064656c 00007325 6e657665
I/DEBUG ( 132): 4028f9d4 6e6f4374 6c6f7274 746f6720 656e7520
I/DEBUG ( 132): 4028f9e4 63657078 20646574 6e657665 64252074
I/DEBUG ( 132): 4028f9f4 69642820 253d7073 6e652064 2964253d
I/DEBUG ( 132): 4028fa04 00000000 6e657665 6e6f4374 6c6f7274
I/DEBUG ( 132): 4028fa14 6e676920 6e69726f 76652067 20746e65
I/DEBUG ( 132): 4028fa24 6f206425 6e75206e 6f6c6c61 65746163
I/DEBUG ( 132): 4028fa34 69642064 25207073 65282064 64253d6e
I/DEBUG ( 132): 4028fa44 00000029 75626564 66732e67 5f6f6e2e
I/DEBUG ( 132): 4028fa54 765f7768 636e7973 00000000 00000030
I/DEBUG ( 132): 4028fa64 6e697355 73252067 72657620 6e6f6973
I/DEBUG ( 132): 4028fa74 2e752520 00007525 74746567 20676e69
I/DEBUG ( 132):
I/DEBUG ( 132): memory near sl:
I/DEBUG ( 132): 01ef774c 00001891 00000000 00000000 00000000
I/DEBUG ( 132): 01ef775c 00000000 00000000 00000000 00000000
I/DEBUG ( 132): 01ef776c 01ef4c08 01ef4c08 00000000 01ef4c08
I/DEBUG ( 132): 01ef777c 00000000 00000000 00000000 00000000
I/DEBUG ( 132): 01ef778c 00000000 00000000 00000000 00000000
I/DEBUG ( 132): 01ef779c 00000000 00000000 00000000 00000000
I/DEBUG ( 132): 01ef77ac 00000000 00000000 01ef4c08 01ef4c08
I/DEBUG ( 132): 01ef77bc 00000000 01ef4c08 00000000 00000000
I/DEBUG ( 132): 01ef77cc 00000000 00000000 00000000 00000000
I/DEBUG ( 132): 01ef77dc 00000000 00000000 00000000 00000000
I/DEBUG ( 132): 01ef77ec 00000000 00000000 00000000 00000000
I/DEBUG ( 132): 01ef77fc 01ef4c08 01ef4c08 00000000 01ef4c08
I/DEBUG ( 132): 01ef780c 00000000 00000001 01ef7858 01ef5464
I/DEBUG ( 132): 01ef781c 00000000 00000000 00000000 00000000
I/DEBUG ( 132): 01ef782c 00000000 00000000 00000000 00000000
I/DEBUG ( 132): 01ef783c 00000000 00000000 00000000 00000000
I/DEBUG ( 132):
I/DEBUG ( 132): memory near fp:
I/DEBUG ( 132): beb5e948 01ef7858 01ef7770 01ef7778 401543a0
I/DEBUG ( 132): beb5e958 01ef5464 01ef7720 00000000 40098014
I/DEBUG ( 132): beb5e968 400c0030 40487290 40098038 4008d574
I/DEBUG ( 132): beb5e978 4017725c 00000000 40096197 400961b9
I/DEBUG ( 132): beb5e988 01ef7420 01ef7420 00000130 01ef7850
I/DEBUG ( 132): beb5e998 01ef7720 c0000000 01ef7718 40102d55
I/DEBUG ( 132): beb5e9a8 4009830c 4025efac 00000000 8cdbf927
I/DEBUG ( 132): beb5e9b8 40216e58 00000000 0004c79e 8cdbf927
I/DEBUG ( 132): beb5e9c8 beb5eaa0 00000000 00000000 01ef5450
I/AudioMixer( 708): found effect "Multichannel Downmix To Stereo" from The Android Open Source Project
I/DEBUG ( 132): beb5e9d8 beb5ea58 01ef552c 4028e8c4 01ef7720
I/DEBUG ( 132): beb5e9e8 0000875d 00000000 beb5eafc 402820c7
I/DEBUG ( 132): beb5e9f8 01ef73d0 00000004 01ef73c8 40102d55
I/DEBUG ( 132): beb5ea08 0000001b 40102d55 0000875d 01ef7394
E/MonoPipe( 708): Failed to fetch local time frequency when constructing a MonoPipe (res = -32). getNextWriteTimestamp calls will be non-functional
I/DEBUG ( 132): beb5ea18 01ef5468 beb5ea28 401a7e35 00000004
I/DEBUG ( 132): beb5ea28 00000800 01ef51ec 00000002 000002c2
I/DEBUG ( 132): beb5ea38 00000001 40039fd3 0000875d 00000000
I/DEBUG ( 132):
I/DEBUG ( 132): memory near sp:
I/DEBUG ( 132): beb5e8b8 00000000 00000000 00000027 01ef7748
I/DEBUG ( 132): beb5e8c8 01ef7720 00000000 01ef7718 40102d55
I/DEBUG ( 132): beb5e8d8 40025f34 000002c2 00000002 00000006
I/DEBUG ( 132): beb5e8e8 00000006 40107f31 40026178 00000006
I/DEBUG ( 132): beb5e8f8 00000000 00000001 ffffffea 40108147
I/DEBUG ( 132): beb5e908 beb5e910 40106a37 ffffffdf 8cdbf927
I/DEBUG ( 132): beb5e918 4028f94c 00000000 01ef7720 00000001
I/DEBUG ( 132): beb5e928 ffffffea 00000000 01ef7720 4011caec
I/DEBUG ( 132): beb5e938 646e6576 40286da3 401fa8d8 4017725c
I/DEBUG ( 132): beb5e948 01ef7858 01ef7770 01ef7778 401543a0
I/DEBUG ( 132): beb5e958 01ef5464 01ef7720 00000000 40098014
I/DEBUG ( 132): beb5e968 400c0030 40487290 40098038 4008d574
I/DEBUG ( 132): beb5e978 4017725c 00000000 40096197 400961b9
I/DEBUG ( 132): beb5e988 01ef7420 01ef7420 00000130 01ef7850
I/DEBUG ( 132): beb5e998 01ef7720 c0000000 01ef7718 40102d55
I/DEBUG ( 132): beb5e9a8 4009830c 4025efac 00000000 8cdbf927
I/DEBUG ( 132):
I/DEBUG ( 132): code around pc:
I/DEBUG ( 132): 4011d214 e8bd00f0 e3700a01 912fff1e e2600000
I/DEBUG ( 132): 4011d224 ea0097aa e92d50f0 e3a07f43 ef000000
I/DEBUG ( 132): 4011d234 e8bd50f0 e3700a01 912fff1e e2600000
I/DEBUG ( 132): 4011d244 ea0097a2 e92d50f0 e3a070ee ef000000
I/DEBUG ( 132): 4011d254 e8bd50f0 e3700a01 912fff1e e2600000
I/DEBUG ( 132): 4011d264 ea00979a f200429a bf0080cf f000f891
I/DEBUG ( 132): 4011d274 4001e92d f040f891 d3532a10 0301ea80
I/DEBUG ( 132): 4011d284 0303f013 806ef000 d3262ae0 0300f1c0
I/DEBUG ( 132): 4011d294 030ff013 eba2d021 ea5f0203 bf447cc3
I/DEBUG ( 132): 4011d2a4 eb01f811 eb01f800 f811bf21 f811cb01
I/DEBUG ( 132): 4011d2b4 f800eb01 f800cb01 ea5feb01 da037c43
I/DEBUG ( 132): 4011d2c4 080df9a1 083df980 f921d303 f900070d
I/DEBUG ( 132): 4011d2d4 f891071d f891f000 3a40f040 f891d30f
I/DEBUG ( 132): 4011d2e4 f891f080 f921f0c0 f921020d f891420d
I/DEBUG ( 132): 4011d2f4 3a40f0c0 020df900 420df900 f102d2f3
I/DEBUG ( 132): 4011d304 3a200240 f921d305 3a20020d 020df900
I/DEBUG ( 132):
I/DEBUG ( 132): code around lr:
I/DEBUG ( 132): 40107f10 6006fe45 bdf84628 480e4625 44786a2d
I/DEBUG ( 132): 40107f20 eb6ef7f9 ebbaf013 463a4629 e97cf015
I/DEBUG ( 132): 40107f30 bf183001 d1ea2500 fe30f001 f0016805
I/DEBUG ( 132): 40107f40 6006fe2d bdf84628 0004c4d0 0004c4c4
I/DEBUG ( 132): 40107f50 0004c4ac 0004c496 bf6ef7ff 4a3d4b3c
I/DEBUG ( 132): 40107f60 43f0e92d 447b460c 4607b08b 589d2616
I/DEBUG ( 132): 40107f70 9309682b fe12f001 8000f8d0 4620b13c
I/DEBUG ( 132): 40107f80 f848f016 4606280f 2622bf88 f001d90c
I/DEBUG ( 132): 40107f90 4684fe05 f8cc4630 9c098000 4294682a
I/DEBUG ( 132): 40107fa0 b00bd154 83f0e8bd ffd6f7ff d04542b8
I/DEBUG ( 132): 40107fb0 44784829 eb22f7f9 44784828 4287e001
I/DEBUG ( 132): 40107fc0 6800d008 d1fa2800 26034825 f7f94478
I/DEBUG ( 132): 40107fd0 e7dceb18 f10d4823 6a3f0904 f7f94478
I/DEBUG ( 132): 40107fe0 4a21eb10 4648463b 447a2120 f9ccf01a
I/DEBUG ( 132): 40107ff0 21014648 f900f026 3ffff1b0 d0104681
I/DEBUG ( 132): 40108000 46214648 f0134632 1c43eabc d00c4607
I/ServiceManager( 125): service 'media.audio_flinger' died
I/ServiceManager( 125): service 'media.player' died
I/ServiceManager( 125): service 'media.camera' died
I'm starting to run out of ideas :crying: and what the hell is that error in bold?
Ziyan said:
I've mostly fixed allocation problems, and also found a bunch of binaries in proprietary-open\omap4\sgx.tgz, so I've replaced the current binaries with them (excluding the sgx driver we can build). While this fixed some errors which referenced those files, things still seem bad:
Code:
I/SurfaceFlinger( 706): SurfaceFlinger is starting
I/SurfaceFlinger( 706): SurfaceFlinger's main thread ready to run. Initializing graphics H/W...
D/libEGL ( 706): loaded /vendor/lib/egl/libEGL_POWERVR_SGX540_120.so
D/libEGL ( 706): loaded /vendor/lib/egl/libGLESv1_CM_POWERVR_SGX540_120.so
D/libEGL ( 706): loaded /vendor/lib/egl/libGLESv2_POWERVR_SGX540_120.so
W/libEGL ( 706): eglInitialize(0x1) failed (EGL_BAD_ALLOC)
E/HAL ( 706): load: module=/vendor/lib/hw/gralloc.omap4.so
[B]E/HAL ( 706): dlopen failed: cannot locate symbol "_ZN7android9CallStack6updateEii" referenced by "gralloc.omap4.so"...[/B]
E/SurfaceFlinger( 706): gralloc module not found
E/HAL ( 706): load: module=/vendor/lib/hw/gralloc.omap4.so
E/HAL ( 706): dlopen failed: cannot locate symbol "_ZN7android9CallStack6updateEii" referenced by "gralloc.omap4.so"...
E/ti_hwc ( 706): Composer HAL failed to load compatible Graphics HAL
E/SurfaceFlinger( 706): composer device failed to initialize (Invalid argument)
E/SurfaceFlinger( 706): ERROR: failed to open framebuffer (Invalid argument), aborting
F/libc ( 706): Fatal signal 6 (SIGABRT) at 0x000002c2 (code=-6), thread 706 (surfaceflinger)
I/DEBUG ( 132): *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** ***
I/DEBUG ( 132): Build fingerprint: 'google/yakju/maguro:4.3/JWR66Y/776638:user/release-keys'
I/DEBUG ( 132): Revision: '9'
I/DEBUG ( 132): pid: 706, tid: 706, name: surfaceflinger >>> /system/bin/surfaceflinger <<<
I/DEBUG ( 132): signal 6 (SIGABRT), code -6 (SI_TKILL), fault addr --------
I/mediaserver( 708): ServiceManager: 0xcac460
I/AudioFlinger( 708): Using default 3000 mSec as standby time.
I/CameraService( 708): CameraService started (pid=708)
I/CameraService( 708): Loaded "TI OMAP CameraHal Module" camera module
I/AudioPolicyManagerBase( 708): loadAudioPolicyConfig() loaded /system/etc/audio_policy.conf
I/DEBUG ( 132): r0 00000000 r1 000002c2 r2 00000006 r3 00000000
I/DEBUG ( 132): r4 40025f34 r5 000002c2 r6 00000002 r7 0000010c
I/DEBUG ( 132): r8 00000000 r9 4028f9a4 sl 01ef776c fp beb5e968
I/DEBUG ( 132): ip 00000006 sp beb5e8d8 lr 40107f31 pc 4011d234 cpsr 000f0010
I/DEBUG ( 132): d0 74726f6261202c29 d1 746e656d75677261
I/DEBUG ( 132): d2 6172672220796220 d3 616d6f2e636f6c6c
I/DEBUG ( 132): d4 4e5a5f22206c6f62 d5 64696f72646e6137
I/DEBUG ( 132): d6 6174536c6c614339 d7 7461647075366b63
I/DEBUG ( 132): d8 0000000000000000 d9 0000000000000000
I/DEBUG ( 132): d10 0000000000000000 d11 0000000000000000
I/DEBUG ( 132): d12 0000000000000000 d13 0000000000000000
I/DEBUG ( 132): d14 0000000000000000 d15 0000000000000000
I/DEBUG ( 132): d16 0000000000000000 d17 fffff000fffff000
I/DEBUG ( 132): d18 00000fff00000fff d19 0000000000000000
I/DEBUG ( 132): d20 0000000000000000 d21 0000000000000000
I/DEBUG ( 132): d22 0000000000000000 d23 0000000000000000
I/DEBUG ( 132): d24 0000000000000000 d25 0000000000000000
I/DEBUG ( 132): d26 0000000000000000 d27 0000000000000000
I/DEBUG ( 132): d28 0000000000000000 d29 0000000000000000
I/DEBUG ( 132): d30 0000000000000000 d31 0000000000000000
I/DEBUG ( 132): scr 00000010
I/DEBUG ( 132):
I/DEBUG ( 132): backtrace:
I/DEBUG ( 132): #00 pc 0002a234 /system/lib/libc.so (tgkill+12)
I/DEBUG ( 132): #01 pc 00014f2d /system/lib/libc.so (pthread_kill+88)
I/DEBUG ( 132): #02 pc 00015143 /system/lib/libc.so (raise+10)
I/DEBUG ( 132): #03 pc 00013a33 /system/lib/libc.so
I/DEBUG ( 132): #04 pc 00029ae8 /system/lib/libc.so (abort+4)
I/DEBUG ( 132): #05 pc 00023d9f /system/lib/libsurfaceflinger.so
I/DEBUG ( 132): #06 pc 0001f0c3 /system/lib/libsurfaceflinger.so (android::SurfaceFlinger::init()+98)
I/DEBUG ( 132): #07 pc 000007c1 /system/bin/surfaceflinger
I/DEBUG ( 132): #08 pc 0000e263 /system/lib/libc.so (__libc_init+58)
I/DEBUG ( 132): #09 pc 000008c0 /system/bin/surfaceflinger
I/DEBUG ( 132):
I/DEBUG ( 132): stack:
I/DEBUG ( 132): beb5e898 beb5e8d0 [stack]
I/DEBUG ( 132): beb5e89c 00000000
I/DEBUG ( 132): beb5e8a0 00000000
I/DEBUG ( 132): beb5e8a4 00000000
I/DEBUG ( 132): beb5e8a8 00000000
I/DEBUG ( 132): beb5e8ac 401543a0
I/DEBUG ( 132): beb5e8b0 ffffffc4
I/DEBUG ( 132): beb5e8b4 00000000
I/DEBUG ( 132): beb5e8b8 00000000
I/DEBUG ( 132): beb5e8bc 00000000
I/DEBUG ( 132): beb5e8c0 00000027
I/AudioFlinger( 708): loadHwModule() Loaded primary audio interface from Tuna audio HW HAL (audio) handle 1
I/DEBUG ( 132): beb5e8c4 01ef7748 [heap]
I/DEBUG ( 132): beb5e8c8 01ef7720 [heap]
I/DEBUG ( 132): beb5e8cc 00000000
I/DEBUG ( 132): beb5e8d0 01ef7718 [heap]
I/DEBUG ( 132): beb5e8d4 40102d55 /system/lib/libc.so (dlmalloc+352)
I/DEBUG ( 132): #00 beb5e8d8 40025f34 /system/bin/linker
I/DEBUG ( 132): beb5e8dc 000002c2
I/DEBUG ( 132): beb5e8e0 00000002
I/DEBUG ( 132): beb5e8e4 00000006
I/DEBUG ( 132): beb5e8e8 00000006
I/DEBUG ( 132): beb5e8ec 40107f31 /system/lib/libc.so (pthread_kill+92)
I/DEBUG ( 132): #01 beb5e8f0 40026178
I/DEBUG ( 132): beb5e8f4 00000006
I/DEBUG ( 132): beb5e8f8 00000000
I/DEBUG ( 132): beb5e8fc 00000001
I/DEBUG ( 132): beb5e900 ffffffea
I/DEBUG ( 132): beb5e904 40108147 /system/lib/libc.so (raise+14)
I/DEBUG ( 132): #02 beb5e908 beb5e910 [stack]
I/DEBUG ( 132): beb5e90c 40106a37 /system/lib/libc.so
I/AudioFlinger( 708): HAL output buffer size 144 frames, normal mix buffer size 864 frames
I/DEBUG ( 132):
I/DEBUG ( 132): memory near r4:
I/DEBUG ( 132): 40025f14 00000000 00000000 00000000 00000000
I/DEBUG ( 132): 40025f24 00000000 00000000 00000000 beb5eb0c
I/DEBUG ( 132): 40025f34 00000000 01ef5208 00000000 be35f000
I/DEBUG ( 132): 40025f44 00800000 00001000 00000000 00000000
I/DEBUG ( 132): 40025f54 000002c2 00000000 00000000 00000000
I/DEBUG ( 132): 40025f64 00000000 00000000 40026178 400aa000
I/DEBUG ( 132): 40025f74 706f6c64 66206e65 656c6961 63203a64
I/DEBUG ( 132): 40025f84 6f6e6e61 6f6c2074 65746163 6d797320
I/DEBUG ( 132): 40025f94 206c6f62 4e5a5f22 646e6137 64696f72
I/DEBUG ( 132): 40025fa4 6c614339 6174536c 75366b63 74616470
I/DEBUG ( 132): 40025fb4 69694565 65722022 65726566 6465636e
I/DEBUG ( 132): 40025fc4 20796220 61726722 636f6c6c 616d6f2e
I/DEBUG ( 132): 40025fd4 732e3470 2e2e226f 0000002e 00000000
I/DEBUG ( 132): 40025fe4 00000000 00000000 00000000 00000000
I/DEBUG ( 132): 40025ff4 00000000 00000000 00000000 00000000
I/DEBUG ( 132): 40026004 00000000 00000000 00000000 00000000
I/DEBUG ( 132):
I/DEBUG ( 132): memory near r9:
I/DEBUG ( 132): 4028f984 6e752078 70707573 6574726f 77202c64
I/DEBUG ( 132): 4028f994 206c6c69 20746f6e 75206562 00646573
I/DEBUG ( 132): 4028f9a4 6c617267 00636f6c 00306266 6e657665
I/DEBUG ( 132): 4028f9b4 6e6f4374 6c6f7274 2c642528 29642520
I/DEBUG ( 132): 4028f9c4 69616620 2064656c 00007325 6e657665
I/DEBUG ( 132): 4028f9d4 6e6f4374 6c6f7274 746f6720 656e7520
I/DEBUG ( 132): 4028f9e4 63657078 20646574 6e657665 64252074
I/DEBUG ( 132): 4028f9f4 69642820 253d7073 6e652064 2964253d
I/DEBUG ( 132): 4028fa04 00000000 6e657665 6e6f4374 6c6f7274
I/DEBUG ( 132): 4028fa14 6e676920 6e69726f 76652067 20746e65
I/DEBUG ( 132): 4028fa24 6f206425 6e75206e 6f6c6c61 65746163
I/DEBUG ( 132): 4028fa34 69642064 25207073 65282064 64253d6e
I/DEBUG ( 132): 4028fa44 00000029 75626564 66732e67 5f6f6e2e
I/DEBUG ( 132): 4028fa54 765f7768 636e7973 00000000 00000030
I/DEBUG ( 132): 4028fa64 6e697355 73252067 72657620 6e6f6973
I/DEBUG ( 132): 4028fa74 2e752520 00007525 74746567 20676e69
I/DEBUG ( 132):
I/DEBUG ( 132): memory near sl:
I/DEBUG ( 132): 01ef774c 00001891 00000000 00000000 00000000
I/DEBUG ( 132): 01ef775c 00000000 00000000 00000000 00000000
I/DEBUG ( 132): 01ef776c 01ef4c08 01ef4c08 00000000 01ef4c08
I/DEBUG ( 132): 01ef777c 00000000 00000000 00000000 00000000
I/DEBUG ( 132): 01ef778c 00000000 00000000 00000000 00000000
I/DEBUG ( 132): 01ef779c 00000000 00000000 00000000 00000000
I/DEBUG ( 132): 01ef77ac 00000000 00000000 01ef4c08 01ef4c08
I/DEBUG ( 132): 01ef77bc 00000000 01ef4c08 00000000 00000000
I/DEBUG ( 132): 01ef77cc 00000000 00000000 00000000 00000000
I/DEBUG ( 132): 01ef77dc 00000000 00000000 00000000 00000000
I/DEBUG ( 132): 01ef77ec 00000000 00000000 00000000 00000000
I/DEBUG ( 132): 01ef77fc 01ef4c08 01ef4c08 00000000 01ef4c08
I/DEBUG ( 132): 01ef780c 00000000 00000001 01ef7858 01ef5464
I/DEBUG ( 132): 01ef781c 00000000 00000000 00000000 00000000
I/DEBUG ( 132): 01ef782c 00000000 00000000 00000000 00000000
I/DEBUG ( 132): 01ef783c 00000000 00000000 00000000 00000000
I/DEBUG ( 132):
I/DEBUG ( 132): memory near fp:
I/DEBUG ( 132): beb5e948 01ef7858 01ef7770 01ef7778 401543a0
I/DEBUG ( 132): beb5e958 01ef5464 01ef7720 00000000 40098014
I/DEBUG ( 132): beb5e968 400c0030 40487290 40098038 4008d574
I/DEBUG ( 132): beb5e978 4017725c 00000000 40096197 400961b9
I/DEBUG ( 132): beb5e988 01ef7420 01ef7420 00000130 01ef7850
I/DEBUG ( 132): beb5e998 01ef7720 c0000000 01ef7718 40102d55
I/DEBUG ( 132): beb5e9a8 4009830c 4025efac 00000000 8cdbf927
I/DEBUG ( 132): beb5e9b8 40216e58 00000000 0004c79e 8cdbf927
I/DEBUG ( 132): beb5e9c8 beb5eaa0 00000000 00000000 01ef5450
I/AudioMixer( 708): found effect "Multichannel Downmix To Stereo" from The Android Open Source Project
I/DEBUG ( 132): beb5e9d8 beb5ea58 01ef552c 4028e8c4 01ef7720
I/DEBUG ( 132): beb5e9e8 0000875d 00000000 beb5eafc 402820c7
I/DEBUG ( 132): beb5e9f8 01ef73d0 00000004 01ef73c8 40102d55
I/DEBUG ( 132): beb5ea08 0000001b 40102d55 0000875d 01ef7394
E/MonoPipe( 708): Failed to fetch local time frequency when constructing a MonoPipe (res = -32). getNextWriteTimestamp calls will be non-functional
I/DEBUG ( 132): beb5ea18 01ef5468 beb5ea28 401a7e35 00000004
I/DEBUG ( 132): beb5ea28 00000800 01ef51ec 00000002 000002c2
I/DEBUG ( 132): beb5ea38 00000001 40039fd3 0000875d 00000000
I/DEBUG ( 132):
I/DEBUG ( 132): memory near sp:
I/DEBUG ( 132): beb5e8b8 00000000 00000000 00000027 01ef7748
I/DEBUG ( 132): beb5e8c8 01ef7720 00000000 01ef7718 40102d55
I/DEBUG ( 132): beb5e8d8 40025f34 000002c2 00000002 00000006
I/DEBUG ( 132): beb5e8e8 00000006 40107f31 40026178 00000006
I/DEBUG ( 132): beb5e8f8 00000000 00000001 ffffffea 40108147
I/DEBUG ( 132): beb5e908 beb5e910 40106a37 ffffffdf 8cdbf927
I/DEBUG ( 132): beb5e918 4028f94c 00000000 01ef7720 00000001
I/DEBUG ( 132): beb5e928 ffffffea 00000000 01ef7720 4011caec
I/DEBUG ( 132): beb5e938 646e6576 40286da3 401fa8d8 4017725c
I/DEBUG ( 132): beb5e948 01ef7858 01ef7770 01ef7778 401543a0
I/DEBUG ( 132): beb5e958 01ef5464 01ef7720 00000000 40098014
I/DEBUG ( 132): beb5e968 400c0030 40487290 40098038 4008d574
I/DEBUG ( 132): beb5e978 4017725c 00000000 40096197 400961b9
I/DEBUG ( 132): beb5e988 01ef7420 01ef7420 00000130 01ef7850
I/DEBUG ( 132): beb5e998 01ef7720 c0000000 01ef7718 40102d55
I/DEBUG ( 132): beb5e9a8 4009830c 4025efac 00000000 8cdbf927
I/DEBUG ( 132):
I/DEBUG ( 132): code around pc:
I/DEBUG ( 132): 4011d214 e8bd00f0 e3700a01 912fff1e e2600000
I/DEBUG ( 132): 4011d224 ea0097aa e92d50f0 e3a07f43 ef000000
I/DEBUG ( 132): 4011d234 e8bd50f0 e3700a01 912fff1e e2600000
I/DEBUG ( 132): 4011d244 ea0097a2 e92d50f0 e3a070ee ef000000
I/DEBUG ( 132): 4011d254 e8bd50f0 e3700a01 912fff1e e2600000
I/DEBUG ( 132): 4011d264 ea00979a f200429a bf0080cf f000f891
I/DEBUG ( 132): 4011d274 4001e92d f040f891 d3532a10 0301ea80
I/DEBUG ( 132): 4011d284 0303f013 806ef000 d3262ae0 0300f1c0
I/DEBUG ( 132): 4011d294 030ff013 eba2d021 ea5f0203 bf447cc3
I/DEBUG ( 132): 4011d2a4 eb01f811 eb01f800 f811bf21 f811cb01
I/DEBUG ( 132): 4011d2b4 f800eb01 f800cb01 ea5feb01 da037c43
I/DEBUG ( 132): 4011d2c4 080df9a1 083df980 f921d303 f900070d
I/DEBUG ( 132): 4011d2d4 f891071d f891f000 3a40f040 f891d30f
I/DEBUG ( 132): 4011d2e4 f891f080 f921f0c0 f921020d f891420d
I/DEBUG ( 132): 4011d2f4 3a40f0c0 020df900 420df900 f102d2f3
I/DEBUG ( 132): 4011d304 3a200240 f921d305 3a20020d 020df900
I/DEBUG ( 132):
I/DEBUG ( 132): code around lr:
I/DEBUG ( 132): 40107f10 6006fe45 bdf84628 480e4625 44786a2d
I/DEBUG ( 132): 40107f20 eb6ef7f9 ebbaf013 463a4629 e97cf015
I/DEBUG ( 132): 40107f30 bf183001 d1ea2500 fe30f001 f0016805
I/DEBUG ( 132): 40107f40 6006fe2d bdf84628 0004c4d0 0004c4c4
I/DEBUG ( 132): 40107f50 0004c4ac 0004c496 bf6ef7ff 4a3d4b3c
I/DEBUG ( 132): 40107f60 43f0e92d 447b460c 4607b08b 589d2616
I/DEBUG ( 132): 40107f70 9309682b fe12f001 8000f8d0 4620b13c
I/DEBUG ( 132): 40107f80 f848f016 4606280f 2622bf88 f001d90c
I/DEBUG ( 132): 40107f90 4684fe05 f8cc4630 9c098000 4294682a
I/DEBUG ( 132): 40107fa0 b00bd154 83f0e8bd ffd6f7ff d04542b8
I/DEBUG ( 132): 40107fb0 44784829 eb22f7f9 44784828 4287e001
I/DEBUG ( 132): 40107fc0 6800d008 d1fa2800 26034825 f7f94478
I/DEBUG ( 132): 40107fd0 e7dceb18 f10d4823 6a3f0904 f7f94478
I/DEBUG ( 132): 40107fe0 4a21eb10 4648463b 447a2120 f9ccf01a
I/DEBUG ( 132): 40107ff0 21014648 f900f026 3ffff1b0 d0104681
I/DEBUG ( 132): 40108000 46214648 f0134632 1c43eabc d00c4607
I/ServiceManager( 125): service 'media.audio_flinger' died
I/ServiceManager( 125): service 'media.player' died
I/ServiceManager( 125): service 'media.camera' died
I'm starting to run out of ideas :crying: and what the hell is that error in bold?
Click to expand...
Click to collapse
What you can try:
(optional) can be done manually: http://git.omapzoom.org/?p=device/t...;hpb=906910612220d73ae7f92598f899dc1fb370f756
Enable permissions for ION driver. http://git.omapzoom.org/?p=device/t...it;h=e17db8f823da9d27144a60cd6e1cb09e17ef79bb
[Tablet] Set the permissions to rpmsg, tiler & dss http://git.omapzoom.org/?p=device/t...it;h=0c26dc60a9ee661a504cc6994c3f0d8ac6ec226d
Blaze Tablet: SGX: Add class core to the SGX init http://git.omapzoom.org/?p=device/t...it;h=abf171fa6eef6c2f7fee55f851699a40534f7f1a
possibly help from the IRC to the egl hal problem: http://pandaboard.org/pbirclogs/index.php?date=2011-12-21#T06:11:51
Carlos_Manuel said:
[/HIDE]
What you can try:
(optional) can be done manually: http://git.omapzoom.org/?p=device/t...;hpb=906910612220d73ae7f92598f899dc1fb370f756
Enable permissions for ION driver. http://git.omapzoom.org/?p=device/t...it;h=e17db8f823da9d27144a60cd6e1cb09e17ef79bb
[Tablet] Set the permissions to rpmsg, tiler & dss http://git.omapzoom.org/?p=device/t...it;h=0c26dc60a9ee661a504cc6994c3f0d8ac6ec226d
Blaze Tablet: SGX: Add class core to the SGX init http://git.omapzoom.org/?p=device/t...it;h=abf171fa6eef6c2f7fee55f851699a40534f7f1a
possibly help from the IRC to the egl hal problem: http://pandaboard.org/pbirclogs/index.php?date=2011-12-21#T06:11:51
Click to expand...
Click to collapse
I'll try to build an aosp 4.3 based on the blaze device tree, seems like they integrated ti/proprietary-open, which is good, hopefully we'll have more luck... in the meantime, go experiment with it I'm a noob when it comes to ROMs, and I think the issues now are ROM-sided, as there are no dmesg errors (except one, but that's because userspace drivers failed to initialize).
Ziyan said:
I'll try to build an aosp 4.3 based on the blaze device tree, seems like they integrated ti/proprietary-open, which is good, hopefully we'll have more luck... in the meantime, go experiment with it I'm a noob when it comes to ROMs, and I think the issues now are ROM-sided, as there are no dmesg errors (except one, but that's because userspace drivers failed to initialize).
Click to expand...
Click to collapse
If you use vendor/ti/ device/ti/* then modfiy the files for tuna and edit paths to the tuna's files. That's the way to keep all correct and not to mess up wrong files..
I can't help at all, because I am trying to fix those damn errors caused by L preview from AOSP. I hate that SELinux!!!
Well, I'm getting closer and closer - I compiled AOSP 4.3 with ti/proprietary-open. Copied in my zImage and added one simple line to the boardconfig, and suddenly everything seems to get compiled & copied to the right place, new drivers, gralloc, egl...
Some more error messages gone. Dmesg, logcat.
Code:
I/SurfaceFlinger( 2501): SurfaceFlinger is starting
I/SurfaceFlinger( 2501): SurfaceFlinger's main thread ready to run. Initializing graphics H/W...
D/libEGL ( 2501): loaded /vendor/lib/egl/libEGL_POWERVR_SGX540_120.so
D/libEGL ( 2501): loaded /vendor/lib/egl/libGLESv1_CM_POWERVR_SGX540_120.so
D/libEGL ( 2501): loaded /vendor/lib/egl/libGLESv2_POWERVR_SGX540_120.so
W/libEGL ( 2501): eglInitialize(0x1) failed (EGL_BAD_ALLOC)
W/gralloc ( 2501): page flipping not supported (yres_virtual=1280, requested=2560)
I/gralloc ( 2501): using (fd=14)
I/gralloc ( 2501): id = omapfb
I/gralloc ( 2501): xres = 720 px
I/gralloc ( 2501): yres = 1280 px
I/gralloc ( 2501): xres_virtual = 720 px
I/gralloc ( 2501): yres_virtual = 1280 px
I/gralloc ( 2501): bpp = 32
I/gralloc ( 2501): r = 16:8
I/gralloc ( 2501): g = 8:8
I/gralloc ( 2501): b = 0:8
I/gralloc ( 2501): width = 58 mm (315.310333 dpi)
I/gralloc ( 2501): height = 102 mm (318.745087 dpi)
I/gralloc ( 2501): refresh rate = 59.14 Hz
E/gralloc ( 2501): Error mapping the framebuffer (Invalid argument)
E/ti_hwc ( 2501): Composer HAL failed to load compatible Graphics HAL
E/SurfaceFlinger( 2501): composer device failed to initialize (Invalid argument)
E/SurfaceFlinger( 2501): ERROR: failed to open framebuffer (Invalid argument), aborting
F/libc ( 2501): Fatal signal 11 (SIGSEGV) at 0xdeadbaad (code=1), thread 2503 (SurfaceFlinger)
Something's still off...
Ziyan said:
Well, I'm getting closer and closer - I compiled AOSP 4.3 with ti/proprietary-open. Copied in my zImage and added one simple line to the boardconfig, and suddenly everything seems to get compiled & copied to the right place, new drivers, gralloc, egl...
Some more error messages gone. Dmesg, logcat.
Code:
I/SurfaceFlinger( 2501): SurfaceFlinger is starting
I/SurfaceFlinger( 2501): SurfaceFlinger's main thread ready to run. Initializing graphics H/W...
D/libEGL ( 2501): loaded /vendor/lib/egl/libEGL_POWERVR_SGX540_120.so
D/libEGL ( 2501): loaded /vendor/lib/egl/libGLESv1_CM_POWERVR_SGX540_120.so
D/libEGL ( 2501): loaded /vendor/lib/egl/libGLESv2_POWERVR_SGX540_120.so
W/libEGL ( 2501): eglInitialize(0x1) failed (EGL_BAD_ALLOC)
W/gralloc ( 2501): page flipping not supported (yres_virtual=1280, requestechanges. Framebuffer problem should be in the kernel. ? :eek:
I/gralloc ( 2501): using (fd=14)
I/gralloc ( 2501): id = omapfb
I/gralloc ( 2501): xres = 720 px
I/gralloc ( 2501): yres = 1280 px
I/gralloc ( 2501): xres_virtual = 720 px
I/gralloc ( 2501): yres_virtual = 1280 px
I/gralloc ( 2501): bpp = 32
I/gralloc ( 2501): r = 16:8
I/gralloc ( 2501): g = 8:8
I/gralloc ( 2501): b = 0:8
I/gralloc ( 2501): width = 58 mm (315.310333 dpi)
I/gralloc ( 2501): height = 102 mm (318.745087 dpi)
I/gralloc ( 2501): refresh rate = 59.14 Hz
E/gralloc ( 2501): Error mapping the framebuffer (Invalid argument)
E/ti_hwc ( 2501): Composer HAL failed to load compatible Graphics HAL
E/SurfaceFlinger( 2501): composer device failed to initialize (Invalid argument)
E/SurfaceFlinger( 2501): ERROR: failed to open framebuffer (Invalid argument), aborting
F/libc ( 2501): Fatal signal 11 (SIGSEGV) at 0xdeadbaad (code=1), thread 2503 (SurfaceFlinger)
Something's still off...
Click to expand...
Click to collapse
Hwc, surfaceflinger errors:
You probably have to use omapzoom's hardware/ti/omap4xxx, modify kernel headers and modify frameworks/av for the hwc changes
Carlos_Manuel said:
Hwc, surfaceflinger errors:
You probably have to use omapzoom's hardware/ti/omap4xxx, modify kernel headers and modify frameworks/av for the hwc changes
Click to expand...
Click to collapse
Ok, omapzoom's hardware/ti/omap4xxx required hardware/ti/domx, which I added too, but it requires something more (I've also added external/bltsville and hardware/ti/omap4-aah, but they didn't help):
Code:
hardware/ti/omap4xxx/hwc/color_fmt.c:23:29: fatal error: linux/bltsville.h: No such file or directory
compilation terminated.
make-3.82: *** [out/target/product/maguro/obj/SHARED_LIBRARIES/hwcomposer.omap4_intermediates/color_fmt.o] Error 1
make-3.82: *** Waiting for unfinished jobs....
hardware/ti/omap4xxx/hwc/blitter.c:27:29: fatal error: linux/bltsville.h: No such file or directory
compilation terminated.
make-3.82: *** [out/target/product/maguro/obj/SHARED_LIBRARIES/hwcomposer.omap4_intermediates/blitter.o] Error 1
hardware/ti/omap4xxx/hwc/display.c:30:24: fatal error: ion_ti/ion.h: No such file or directory
compilation terminated.
make-3.82: *** [out/target/product/maguro/obj/SHARED_LIBRARIES/hwcomposer.omap4_intermediates/display.o] Error 1
In file included from hardware/ti/omap4xxx/hwc/dsscomp.c:26:0:
hardware/ti/omap4xxx/hwc/hwc_dev.h:26:29: fatal error: linux/bltsville.h: No such file or directory
compilation terminated.
make-3.82: *** [out/target/product/maguro/obj/SHARED_LIBRARIES/hwcomposer.omap4_intermediates/dsscomp.o] Error 1
Well that's it for today, I need to sleep, but if you find the relevant sources/commits, post them
I can't believe how outdated we are, I thought at least the rom side things are updated, but no... seems like google doesn't really care about kernel/rom side device specific things, they only improve android...
Ziyan said:
Ok, omapzoom's hardware/ti/omap4xxx required hardware/ti/domx, which I added too, but it requires something more (I've also added external/bltsville and hardware/ti/omap4-aah, but they didn't help):
Code:
hardware/ti/omap4xxx/hwc/color_fmt.c:23:29: fatal error: linux/bltsville.h: No such file or directory
compilation terminated.
make-3.82: *** [out/target/product/maguro/obj/SHARED_LIBRARIES/hwcomposer.omap4_intermediates/color_fmt.o] Error 1
make-3.82: *** Waiting for unfinished jobs....
hardware/ti/omap4xxx/hwc/blitter.c:27:29: fatal error: linux/bltsville.h: No such file or directory
compilation terminated.
make-3.82: *** [out/target/product/maguro/obj/SHARED_LIBRARIES/hwcomposer.omap4_intermediates/blitter.o] Error 1
hardware/ti/omap4xxx/hwc/display.c:30:24: fatal error: ion_ti/ion.h: No such file or directory
compilation terminated.
make-3.82: *** [out/target/product/maguro/obj/SHARED_LIBRARIES/hwcomposer.omap4_intermediates/display.o] Error 1
In file included from hardware/ti/omap4xxx/hwc/dsscomp.c:26:0:
hardware/ti/omap4xxx/hwc/hwc_dev.h:26:29: fatal error: linux/bltsville.h: No such file or directory
compilation terminated.
make-3.82: *** [out/target/product/maguro/obj/SHARED_LIBRARIES/hwcomposer.omap4_intermediates/dsscomp.o] Error 1
Well that's it for today, I need to sleep, but if you find the relevant sources/commits, post them
I can't believe how outdated we are, I thought at least the rom side things are updated, but no... seems like google doesn't really care about kernel/rom side device specific things, they only improve android...
Click to expand...
Click to collapse
Include missing files which it can't find, to hardware/ti/omap4xxx/kernel-headers/original
Ziyan said:
Well, I managed to compile them. As excepted, things didn't just magically begin working. Android didn't automatically load the modules from /system/lib/modules, but:
Code:
insmod pvrsrvkm_sgx540_120.ko
seemed to work... (note: I had to enable CONFIG_MODULES in the kernel)
dmesg:
http://pastebin.com/RTM4fQAW
Code:
<6>[ 66.322906] PVR: PVRCore_Init
<6>[ 66.323242] PVR: LinuxMMInit: Maximum page pool size: 10800
<6>[ 66.323516] PVR: PVRSRVDriverProbe(pDevice=c78b2800)
<6>[ 66.323760] PVR: SGX register base: 0x56000000
<6>[ 66.323822] PVR: SGX register size: 65535
<6>[ 66.323944] PVR: SGX IRQ: 53
<6>[ 66.324218] PVR: EnableSystemClocks: Enabling System Clocks
<6>[ 66.324768] PVR: PVRCore_Init: major device 246
This appeared after doing insmod.
logcat:
http://pastebin.com/HyK887z7
Something's definietly bad there. The problem starts there:
Code:
E/IMGSRV ( 4513): :0: OpenServices: Cannot open device driver /dev/pvrsrvkm.
Code:
[email protected]:/dev # ls -l /dev/pvr*
crw------- root root 246, 0 2014-07-02 11:31 pvrsrvkm
Hmm, maybe a permission problem? Let's chmod it to 777 (maybe we'll need this included in the ramdisk).
dmesg again:
http://pastebin.com/1vqZunrf
logcat again:
http://pastebin.com/AWJz51X9
That did the trick, it went ahead, and another error popped out.
Well, I'm open to any suggestions while I try to fix this...
EDIT:
Code:
[email protected]:/ # free -m
total used free shared buffers
Mem: 809120 66744 742376 0 4896
-/+ buffers: 61848 747272
Swap: 0 0 0
That's a bit too much, isn't it? That android-display stuff which should allocate memory doesn't seem to work, I had the same problem when I merged it with the current drivers. I think I edited the board files the right way... but I'll look around.
EDIT 2:
Code:
<6>[ 0.000000] android_display: setting default resolution 720*1280, bpp=4
This may be the problem - we're not 4 bits, that should be 24.
EDIT 3:
Sadly, no.
Code:
u32 bpp; /* must be 2 or 4 */
But the error must be somewhere in the memory allocation process. Another evidence.
Code:
<3>[ 0.213623] omap_rproc_get_pool: dsp - no carveout memory is available at all
<3>[ 0.214782] omap_rproc_get_pool: ipu - no carveout memory is available at all
Click to expand...
Click to collapse
does the new drivers "NEED" the carveouts to be dynamically set up? if not,static them in,that way nothing needs to be allocated on its own i guess?(id help but im clueless on any of this,plus no device)
pattyboi:) said:
does the new drivers "NEED" the carveouts to be dynamically set up? if not,static them in,that way nothing needs to be allocated on its own i guess?(id help but im clueless on any of this,plus no device)
Click to expand...
Click to collapse
Yeah I thought about it, but I think it works fine now, so I'll give it a try with the new ROM side hwc, which is indeed required to make them work. If that fails, I'll fall back to static allocation, as dynamically it only reserves 8 MB VRAM, but according to my calculations, is should reserve about 10.5 MB with triple buffering... now, it reserves only the amount needed for double buffering (almost exactly, which makes sense for dynamic reservation), but who knows, maybe it fell back do double buffering, or even better, we didn't ever had triple buffering

Redmi 1S strange crash

I'm trying to run a simple test app on a Redmi 1S (model HM 1SW) running stock ROM. The only thing that's been done to is updating it to Miui 9.2.3.0 (Kitkat). The app does absolutely nothing and requires no special permissions - just a hello world test app I wrote after seeing another of my apps also crash the same way.
App was installed using adb over USB. On the phone, Developer Options > Install via USB is enabled (and I have a Mi account). I have installed apps on that device in the past before it was updated to Miui 9.2.3.0 and they worked just fine.
I keep getting the following crash from both my apps as soon as they are launched:
07-05 22:36:40.594 12828-12828/? W/dalvikvm: JNI WARNING: NewStringUTF input is not valid Modified UTF-8: illegal start byte 0xff
string: 'en_Latn_US_�_US'
in Llibcore/icu/ICU;.addLikelySubtagsLjava/lang/StringLjava/lang/String; (NewStringUTF)
07-05 22:36:40.594 12828-12828/? I/dalvikvm: "main" prio=5 tid=1 NATIVE
| group="main" sCount=0 dsCount=0 obj=0x417cce58 self=0x416ec860
| sysTid=12828 nice=0 sched=0/0 cgrp=apps handle=1074737492
| state=R schedstat=( 23951922 9541301 72 ) utm=2 stm=0 core=1
Click to expand...
Click to collapse
Anybody know what this problem is? To me, the exception stack looks like a bug in Miui. But then again, I can install absolutely any app from Play Store and it runs fine. It just seems to be my locally installed apps that see this crash. Any idea what I should change in my apps, if anything, to make them work?
Here's the full exception stack and dump from logcat:
07-05 22:36:40.564 1402-1468/? I/WtProcessController: FOREGROUND INFO: name=com.example.miuitestapp uid=10003 pid=12828 TaskId:16
07-05 22:36:40.594 12828-12828/? W/dalvikvm: JNI WARNING: NewStringUTF input is not valid Modified UTF-8: illegal start byte 0xff
string: 'en_Latn_US_�_US'
in Llibcore/icu/ICU;.addLikelySubtagsLjava/lang/StringLjava/lang/String; (NewStringUTF)
07-05 22:36:40.594 12828-12828/? I/dalvikvm: "main" prio=5 tid=1 NATIVE
| group="main" sCount=0 dsCount=0 obj=0x417cce58 self=0x416ec860
| sysTid=12828 nice=0 sched=0/0 cgrp=apps handle=1074737492
| state=R schedstat=( 23951922 9541301 72 ) utm=2 stm=0 core=1
07-05 22:36:40.614 12828-12828/? I/dalvikvm: #00 pc 0000132e /system/lib/libcorkscrew.so (unwind_backtrace_thread+29)
#01 pc 00063502 /system/lib/libdvm.so (dvmDumpNativeStack(DebugOutputTarget const*, int)+33)
#02 pc 000574e8 /system/lib/libdvm.so (dvmDumpThreadEx(DebugOutputTarget const*, Thread*, bool)+395)
#03 pc 00057556 /system/lib/libdvm.so (dvmDumpThread(Thread*, bool)+25)
#04 pc 0003b65c /system/lib/libdvm.so
#05 pc 0003ca94 /system/lib/libdvm.so
#06 pc 0003ee66 /system/lib/libdvm.so
#07 pc 0001432e /system/lib/libjavacore.so
#08 pc 00014b12 /system/lib/libjavacore.so
#09 pc 0002034c /system/lib/libdvm.so (dvmPlatformInvoke+112)
#10 pc 00050fce /system/lib/libdvm.so (dvmCallJNIMethod(unsigned int const*, JValue*, Method const*, Thread*)+397)
#11 pc 000297e0 /system/lib/libdvm.so
#12 pc 00030c6c /system/lib/libdvm.so (dvmMterpStd(Thread*)+76)
#13 pc 0002e304 /system/lib/libdvm.so (dvmInterpret(Thread*, Method const*, JValue*)+184)
#14 pc 00063714 /system/lib/libdvm.so (dvmInvokeMethod(Object*, Method const*, ArrayObject*, ArrayObject*, ClassObject*, bool)+391)
#15 pc 0006b6c2 /system/lib/libdvm.so
#16 pc 000297e0 /system/lib/libdvm.so
#17 pc 00030c6c /system/lib/libdvm.so (dvmMterpStd(Thread*)+76)
#18 pc 0002e304 /system/lib/libdvm.so (dvmInterpret(Thread*, Method const*, JValue*)+184)
#19 pc 00063430 /system/lib/libdvm.so (dvmCallMethodV(Thread*, Method const*, Object*, bool, JValue*, std::__va_list)+335)
#20 pc 0004cbb6 /system/lib/libdvm.so
#21 pc 0004e4e8 /system/lib/libandroid_runtime.so
#22 pc 0004f216 /system/lib/libandroid_runtime.so (android::AndroidRuntime::start(char const*, char const*, bool)+357)
#23 pc 00001062 /system/bin/app_process
#24 pc 0000e4c0 /system/lib/libc.so (__libc_init+47)
at libcore.icu.ICU.addLikelySubtags(Native Method)
07-05 22:36:40.614 355-605/? I/ThermalEngine: Sensor:batt_temp:35500 mC
07-05 22:36:40.614 12828-12828/? I/dalvikvm: at android.text.TextUtils.getLayoutDirectionFromLocale(TextUtils.java:1740)
at android.content.res.Configuration.setLayoutDirection(Configuration.java:1326)
at android.content.res.Configuration.updateFrom(Configuration.java:834)
at android.content.res.Resources.updateConfiguration(Resources.java:1580)
at android.content.res.MiuiResources.updateConfiguration(MiuiResources.java:301)
at android.content.res.Resources.updateConfiguration(Resources.java:1534)
at android.content.res.Resources.<init>(Resources.java:205)
at android.content.res.MiuiResources.<init>(MiuiResources.java:110)
at android.app.ResourcesManager.getTopLevelResources(ResourcesManager.java:202)
at android.app.ActivityThread.getTopLevelResources(ActivityThread.java:1550)
at android.app.LoadedApk.getResources(LoadedApk.java:480)
at android.app.ContextImpl.<init>(ContextImpl.java:2064)
at android.app.ContextImpl.createAppContext(ContextImpl.java:2021)
at android.app.ActivityThread.handleBindApplication(ActivityThread.java:4202)
at android.app.ActivityThread.access$1500(ActivityThread.java:141)
at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1272)
at android.os.Handler.dispatchMessage(Handler.java:102)
at android.os.Looper.loop(Looper.java:136)
at android.app.ActivityThread.main(ActivityThread.java:5052)
at java.lang.reflect.Method.invokeNative(Native Method)
at java.lang.reflect.Method.invoke(Method.java:515)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:796)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:612)
at dalvik.system.NativeStart.main(Native Method)
07-05 22:36:40.614 12828-12828/? E/dalvikvm: VM aborting
07-05 22:36:40.614 12828-12828/? A/libc: Fatal signal 6 (SIGABRT) at 0x0000321c (code=-6), thread 12828 (eak.miuitestapp)
07-05 22:36:40.714 208-208/? I/DEBUG: *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** ***
Build fingerprint: 'Xiaomi/armani/armani:4.4.4/KTU84P/V9.2.3.0.KHCMIEK:user/release-keys'
Revision: '0'
pid: 12828, tid: 12828, name: eak.miuitestapp >>> com.example.miuitestapp <<<
signal 6 (SIGABRT), code -6 (SI_TKILL), fault addr --------
07-05 22:36:40.804 208-208/? I/DEBUG: r0 00000000 r1 0000321c r2 00000006 r3 00000000
r4 00000006 r5 00000016 r6 0000321c r7 0000010c
r8 4178f5b0 r9 417903b3 sl 417b2e18 fp 417904af
ip 417903a7 sp be975f58 lr 401101d1 pc 4011f12c cpsr 000f0010
d0 0000000000000000 d1 0000000000000000
d2 0000000000000000 d3 0000000000000000
d4 8000000000000000 d5 5f4a51a95f4a27c9
d6 3e4ccccd002029d0 d7 3f8000003f4ccccd
d8 0000000000000000 d9 0000000000000000
d10 0000000000000000 d11 0000000000000000
d12 0000000000000000 d13 0000000000000000
d14 0000000000000000 d15 0000000000000000
d16 2065766974614e28 d17 0a29646f6874654d
d18 65747379732f2020 d19 696c2f62696c2f6d
d20 64696f72646e6162 d21 656d69746e75725f
d22 646e6128206f732e d23 6e413a3a64696f72
d24 3fc74721cad6b0ed d25 3fc2f112df3e5244
d26 40026bb1bbb55516 d27 4000000000000000
d28 40008df2d49d41f1 d29 3fb0f4a31edab38b
d30 3ff0000000000000 d31 3f4de16b9c24a98f
scr 60000010
backtrace:
07-05 22:36:40.814 208-208/? I/DEBUG: #00 pc 0002212c /system/lib/libc.so (tgkill+12)
#01 pc 000131cd /system/lib/libc.so (pthread_kill+48)
#02 pc 000133e1 /system/lib/libc.so (raise+10)
#03 pc 000120a3 /system/lib/libc.so
#04 pc 000219e0 /system/lib/libc.so (abort+4)
#05 pc 00048b1f /system/lib/libdvm.so (dvmAbort+78)
#06 pc 0003ca95 /system/lib/libdvm.so
#07 pc 0003ee67 /system/lib/libdvm.so
#08 pc 00014331 /system/lib/libjavacore.so
#09 pc 00014b13 /system/lib/libjavacore.so
#10 pc 0002034c /system/lib/libdvm.so (dvmPlatformInvoke+112)
#11 pc 00050fcf /system/lib/libdvm.so (dvmCallJNIMethod(unsigned int const*, JValue*, Method const*, Thread*)+398)
#12 pc 000297e0 /system/lib/libdvm.so
#13 pc 00030c6c /system/lib/libdvm.so (dvmMterpStd(Thread*)+76)
#14 pc 0002e304 /system/lib/libdvm.so (dvmInterpret(Thread*, Method const*, JValue*)+184)
#15 pc 00063715 /system/lib/libdvm.so (dvmInvokeMethod(Object*, Method const*, ArrayObject*, ArrayObject*, ClassObject*, bool)+392)
#16 pc 0006b6c3 /system/lib/libdvm.so
#17 pc 000297e0 /system/lib/libdvm.so
#18 pc 00030c6c /system/lib/libdvm.so (dvmMterpStd(Thread*)+76)
#19 pc 0002e304 /system/lib/libdvm.so (dvmInterpret(Thread*, Method const*, JValue*)+184)
#20 pc 00063431 /system/lib/libdvm.so (dvmCallMethodV(Thread*, Method const*, Object*, bool, JValue*, std::__va_list)+336)
#21 pc 0004cbb7 /system/lib/libdvm.so
#22 pc 0004e4eb /system/lib/libandroid_runtime.so
#23 pc 0004f217 /system/lib/libandroid_runtime.so (android::AndroidRuntime::start(char const*, char const*, bool)+358)
#24 pc 00001063 /system/bin/app_process
#25 pc 0000e4c3 /system/lib/libc.so (__libc_init+50)
#26 pc 00000d80 /system/bin/app_process
stack:
be975f18 be9762ac [stack]
be975f1c 417904b0 /system/lib/libdvm.so
be975f20 417903a7 /system/lib/libdvm.so
be975f24 4178f5b0 /system/lib/libdvm.so
be975f28 417903b3 /system/lib/libdvm.so
be975f2c 417b2e18 /system/lib/libdvm.so
be975f30 417904af /system/lib/libdvm.so
be975f34 401235a9 /system/lib/libc.so (snprintf+80)
be975f38 00000000
be975f3c 00000000
be975f40 be975fb4 [stack]
be975f44 00000000
be975f48 00000000
be975f4c 00000000
be975f50 00004000
be975f54 be975fc2 [stack]
#00 be975f58 00000006
be975f5c 00000016
be975f60 0000321c
be975f64 417903a7 /system/lib/libdvm.so
be975f68 417903a7 /system/lib/libdvm.so
be975f6c 401101d1 /system/lib/libc.so (pthread_kill+52)
#01 be975f70 00000006
be975f74 00000000
be975f78 417904b0 /system/lib/libdvm.so
be975f7c 401103e5 /system/lib/libc.so (raise+14)
#02 be975f80 be975f8c [stack]
be975f84 4010f0a7 /system/lib/libc.so
07-05 22:36:40.824 208-208/? I/DEBUG: memory near r1:
000031fc ffffffff ffffffff ffffffff ffffffff
0000320c ffffffff ffffffff ffffffff ffffffff
0000321c ffffffff ffffffff ffffffff ffffffff
0000322c ffffffff ffffffff ffffffff ffffffff
0000323c ffffffff ffffffff ffffffff ffffffff
0000324c ffffffff ffffffff ffffffff ffffffff
0000325c ffffffff ffffffff ffffffff ffffffff
0000326c ffffffff ffffffff ffffffff ffffffff
0000327c ffffffff ffffffff ffffffff ffffffff
0000328c ffffffff ffffffff ffffffff ffffffff
0000329c ffffffff ffffffff ffffffff ffffffff
000032ac ffffffff ffffffff ffffffff ffffffff
000032bc ffffffff ffffffff ffffffff ffffffff
000032cc ffffffff ffffffff ffffffff ffffffff
000032dc ffffffff ffffffff ffffffff ffffffff
000032ec ffffffff ffffffff ffffffff ffffffff
memory near r6:
000031fc ffffffff ffffffff ffffffff ffffffff
0000320c ffffffff ffffffff ffffffff ffffffff
0000321c ffffffff ffffffff ffffffff ffffffff
0000322c ffffffff ffffffff ffffffff ffffffff
0000323c ffffffff ffffffff ffffffff ffffffff
0000324c ffffffff ffffffff ffffffff ffffffff
0000325c ffffffff ffffffff ffffffff ffffffff
0000326c ffffffff ffffffff ffffffff ffffffff
0000327c ffffffff ffffffff ffffffff ffffffff
0000328c ffffffff ffffffff ffffffff ffffffff
0000329c ffffffff ffffffff ffffffff ffffffff
000032ac ffffffff ffffffff ffffffff ffffffff
000032bc ffffffff ffffffff ffffffff ffffffff
000032cc ffffffff ffffffff ffffffff ffffffff
000032dc ffffffff ffffffff ffffffff ffffffff
000032ec ffffffff ffffffff ffffffff ffffffff
memory near r8:
4178f590 3e646c6c 61640000 6b69766c 2e6d762e
4178f5a0 6f6c6c61 61725463 72656b63 0078614d
4178f5b0 766c6164 6d766b69 6e674900 6e69726f
4178f5c0 73252067 73252720 2d2d2027 6e69202d
4178f5d0 696c6176 67490064 69726f6e 2520676e
4178f5e0 25272073 2d202773 6e202d2d 7020746f
4178f5f0 7265776f 20666f20 006f7774 62616e45
4178f600 676e696c 6c6c6120 7420636f 6b636172
4178f610 28207265 65206425 6972746e 202c7365
4178f620 66206425 656d6172 2d2d2073 6425203e
4178f630 74796220 00297365 6f6c6c61 72742063
4178f640 656b6361 6e203a72 6874206f 64616572
4178f650 69614600 2064656c 6f6c6c61 69746163
4178f660 7020676e 746e696f 73207265 00737465
4178f670 73616c63 64252073 2c64252f 74656d20
4178f680 20646f68 252f6425 66202c64 20656c69
memory near r9:
41790390 6e203a47 74616765 20657669 7a69736a
417903a0 25282065 42002973 5a534943 706d6662
417903b0 75007645 6f6e6b6e 63206e77 6b636568
417903c0 726f6620 2074616d 63657073 65696669
417903d0 63252072 28702500 41564e49 2944494c
417903e0 74707600 76004900 004c4500 0070004a
417903f0 004a7045 0045004c 00560062 00707345
41790400 3a494e4a 69616620 2064656c 72617567
41790410 20646564 79706f63 65686320 69206b63
41790420 6552206e 7361656c 72745365 43676e69
41790430 69746972 006c6163 72706145 70614500
41790440 49734500 45007049 63450070 70634500
41790450 61450049 00704949 61007a45 49614500
41790460 6145004c 7a450049 45004c63 73450061
41790470 4e4a0075 66203a49 656c6961 75672064
41790480 65647261 6f632064 63207970 6b636568
memory near sl:
417b2df8 00000000 00000000 00000000 00000000
417b2e08 00000000 00000000 00000000 00000000
417b2e18 416ec338 416ec328 00800000 10000000
417b2e28 06000000 00000000 00000000 3fe80000
417b2e38 00200000 00800000 00004000 00006000
417b2e48 00000001 00000101 00000002 00000001
417b2e58 00000000 00000000 00000000 00000002
417b2e68 00000000 402243a9 402245e1 00000000
417b2e78 40224391 00000000 00000000 416ec6e8
417b2e88 00000000 00000002 00000003 00000001
417b2e98 00000001 00000100 00000100 00000000
417b2ea8 416ec638 00000003 00000000 416ec628
417b2eb8 417bbb68 00000000 00000000 416ecfc0
417b2ec8 50000ec9 58721008 00000000 58b23cd0
417b2ed8 58b23cf0 417bc1e8 417bc2a8 417bc350
417b2ee8 417bc3f8 417bc4a0 417bc548 417bc5f0
memory near fp:
4179048c 6b636568 206e6920 656c6552 53657361
4179049c 6e697274 46545567 72616843 00750073
417904ac 45007345 00730075 3a494e4a 69616620
417904bc 2064656c 72617567 20646564 79706f63
417904cc 65686320 69206b63 6552206e 7361656c
417904dc 72745365 43676e69 73726168 7a704500
417904ec 66634500 63450044 45004666 004a6663
417904fc 49666345 66634500 63450053 45004366
4179050c 00426663 5a666345 66634500 6345004c
4179051c 00440066 00530046 00420043 6345005a
4179052c 66007575 6d634500 006d002e 44664c45
4179053c 664c4500 4c450046 45004a66 0049664c
4179054c 53664c45 664c4500 4c450043 45004266
4179055c 005a664c 4c664c45 664c4500 634c4500
4179056c 45002e6d 002e6d4c 00634c45 49450063
4179057c 4c4c4500 494e4a00 52415720 474e494e
memory near ip:
41790384 4e4a0029 41572049 4e494e52 6e203a47
41790394 74616765 20657669 7a69736a 25282065
417903a4 42002973 5a534943 706d6662 75007645
417903b4 6f6e6b6e 63206e77 6b636568 726f6620
417903c4 2074616d 63657073 65696669 63252072
417903d4 28702500 41564e49 2944494c 74707600
417903e4 76004900 004c4500 0070004a 004a7045
417903f4 0045004c 00560062 00707345 3a494e4a
41790404 69616620 2064656c 72617567 20646564
41790414 79706f63 65686320 69206b63 6552206e
41790424 7361656c 72745365 43676e69 69746972
41790434 006c6163 72706145 70614500 49734500
41790444 45007049 63450070 70634500 61450049
41790454 00704949 61007a45 49614500 6145004c
41790464 7a450049 45004c63 73450061 4e4a0075
41790474 66203a49 656c6961 75672064 65647261
memory near sp:
be975f38 00000000 00000000 be975fb4 00000000
be975f48 00000000 00000000 00004000 be975fc2
be975f58 00000006 00000016 0000321c 417903a7
be975f68 417903a7 401101d1 00000006 00000000
be975f78 417904b0 401103e5 be975f8c 4010f0a7
be975f88 00000000 ffffffdf 401472c4 4014722c
be975f98 00000000 40111c93 417b2e18 417b2e18
be975fa8 be9762ac 4011e9e4 00000000 41737b23
be975fb8 00000000 6c756e28 0000296c 00000000
be975fc8 00000000 00000000 00000000 00000000
be975fd8 00000000 00000000 00000000 00000000
be975fe8 00000000 00000000 00000000 00000000
be975ff8 00000000 00000000 00000000 00000000
be976008 00000000 00000000 00000000 00000000
be976018 00000000 00000000 00000000 00000000
be976028 00000000 00000000 00000000 00000000
code around pc:
4011f10c e8bd00f0 e3700a01 912fff1e e2600000
4011f11c ea006e05 e92d50f0 e3a07f43 ef000000
4011f12c e8bd50f0 e3700a01 912fff1e e2600000
4011f13c ea006dfd e92d50f0 e3a070ee ef000000
4011f14c e8bd50f0 e3700a01 912fff1e e2600000
4011f15c ea006df5 f200429a bf0080b9 f040f891
4011f16c 4001e92d f2c02a04 2a1080a5 8093f2c0
4011f17c f2c02a20 2a408088 ea4fdb7f f1bc1c92
4011f18c dd6c0f0a 0600e92d 0f40f1bc f500dd4a
4011f19c f5016e80 ebae7920 ea4f0e09 ea4f5e4e
4011f1ac f50e5e5e ebbc7e20 dd3b1f9e f04fbfc4
4011f1bc ebd9090a dd35199e 0a0eeb01 0a3ff02a
4011f1cc 1c9eebac bfd245e1 0c09ebac f04f46e1
4011f1dc f8910c00 f891f240 f921f280 f921028d
4011f1ec f8da428d f1b93000 f9000901 f900028d
4011f1fc f10a428d d1ee0a40 0f00f1bc f5bcd02b
code around lr:
401101b0 447b4b13 42b3e010 6a1ed10e 44784811
401101c0 ec4af7fb e9e6f00d 46224631 efa8f00e
401101d0 d00a3001 e00b2400 2b00681b 480ad1eb
401101e0 44782403 ec38f7fb f001e002 6804f9ff
401101f0 f9fcf001 46206005 bf00bd70 0003b206
40110200 0003b1fa 0003b1f2 0003b1ce bf7ef7ff
40110210 4a3e4b3d e92d447b b08b43f0 4606589c
40110220 6823460d 930946a1 f9e0f001 8000f8d0
40110230 d0482d00 f0104628 280ff8f5 d8444604
40110240 ffe4f7ff d1064286 4629200f e8b0f00d
40110250 d03c2800 482ee02e f7fb4478 482deb7c
40110260 e0154478 d11342b0 482b6a06 f7fb4478
40110270 4a2aebf4 46332120 a801447a f96cf013
40110280 a8012101 fc8af01a 46061c42 e011d104
40110290 28006800 e02cd1e6 46294630 f00d4622
401102a0 1c43e8ec d11e4607 f9a0f001 29046801
07-05 22:36:40.904 1402-1468/? I/WtProcessController: Receive am_crash event for pid: 1077 pkg = com.example.miuitestapp
Click to expand...
Click to collapse

Categories

Resources