Hovatek Forum DEVELOPMENT Android [Porting] Booting and ... booting
Try our Online TWRP Builder..its free!
Can't login? Please, reset your password.


[Porting] Booting and ... booting

[Porting] Booting and ... booting

rauliordache
rauliordache
rauliordache
Junior Member
27
08-10-2018, 12:33 PM
#1



Hello again.

I have finally ported (at least partially) AOSP Extended 3.10.65+ Android 7.1.2 on my device (VOYO Q101 with officials 3.10.65+, Lollipop 5.1 (and 3.18.35+ Nougat 7.0)).

So I CAN get a logcat, since it is booting (so it goes further than the logo). But I have waited 10 minutes, and it is still booting .... yep, there are some errors in the log.
https://ufile.io/wrqsw

I post here the log. In the porting process:
- I have just changed the kernel (into boot.img)
- From system.img/build.prop I have deleted EVERYTHING about setupwizard - which caused the non-booting.
If I do a full Wipe before flashing the AOSP Extended zip, it can't boot.
If I flash the zip (without wiping), it is booting (forever...)

Thanks!
rauliordache
rauliordache
rauliordache
Junior Member
27
08-10-2018, 04:33 PM
#2
--------- beginning of crash

01-01 02:00:10.724     0   305 F libc    : CANNOT LINK EXECUTABLE "/system/bin/sn": cannot locate symbol "__xlog_buf_printf" referenced by "/system/bin/sn"...

01-01 02:00:10.724     0   283 D Netdiag : setgid SHELL successfully!

01-01 02:00:10.724     0   305 F libc    : Fatal signal 6 (SIGABRT), code -6 in tid 305 (sn)

01-01 02:00:10.724     0   283 D Netdiag : setuid SHELL successfully!

01-01 02:00:10.724     0   283 E Netdiag : network_dignose_daemon doing

01-01 02:00:10.724     0   305 F libc    : Unable to open connection to debuggerd: Connection refused

01-01 02:00:10.724     0   283 E Netdiag : commandlistening sockname=netdiag

01-01 02:00:10.724     0   283 E Netdiag : commandlistening:Confusedtartlistening() ret:0,sock_listen_id:9

01-01 02:00:10.725     0   314 E Netdiag : commandlistening threadStart doing

01-01 02:00:10.725     0   314 E Netdiag : commandlistening runListener doing

01-01 02:00:10.725     0   314 D Netdiag : Set net log running flag to 0 at the very beginning

01-01 02:00:10.737     0   279 I         : installd firing up

01-01 02:00:10.738     0   288 D wifi2agps: add no timeout event, sock=4

01-01 02:00:10.744     0   307 E sdcard  : usage: sdcard [OPTIONS] <source_path> <label>

01-01 02:00:10.744     0   307 E sdcard  :     -u: specify UID to run as

01-01 02:00:10.744     0   307 E sdcard  :     -g: specify GID to run as

01-01 02:00:10.744     0   307 E sdcard  :     -U: specify user ID that owns device

01-01 02:00:10.744     0   307 E sdcard  :     -m: source_path is multi-user

01-01 02:00:10.744     0   307 E sdcard  :     -w: runtime write mount has full write access

01-01 02:00:10.744     0   307 E sdcard  :

01-01 02:00:10.760   303   303 I sh      : type=1400 audit(0.0:9): avc: denied { getattr } for path="/system/bin/sh" dev="mmcblk0p20" ino=547 scontext=u:r:enableswapConfused0 tcontext=u:object_rConfusedhell_execConfused0 tclass=file permissive=1

01-01 02:00:10.830   316   316 I applypatch: type=1400 audit(0.0:10): avc: denied { getattr } for path="/dev/block/mmcblk0p8" dev="tmpfs" ino=4514 scontext=u:r:install_recoveryConfused0 tcontext=u:object_r:platformblk_deviceConfused0 tclass=blk_file permissive=1

01-01 02:00:10.891     0   292 F libc    : CANNOT LINK EXECUTABLE "/system/bin/thermal_manager": cannot locate symbol "__xlog_buf_printf" referenced by "/system/bin/thermal_manager"...

01-01 02:00:10.891     0   294 F libc    : CANNOT LINK EXECUTABLE "/system/bin/thermal": cannot locate symbol "__xlog_buf_printf" referenced by "/system/bin/thermal"...

01-01 02:00:10.891     0   292 F libc    : Fatal signal 6 (SIGABRT), code -6 in tid 292 (thermal_manager)

01-01 02:00:10.891     0   294 F libc    : Fatal signal 6 (SIGABRT), code -6 in tid 294 (thermal)

01-01 02:00:10.891     0   292 F libc    : Unable to open connection to debuggerd: Connection refused

01-01 02:00:10.891     0   294 F libc    : Unable to open connection to debuggerd: Connection refused

01-01 02:00:10.975   283   314 D Netdiag : Add listener on socket server whose id=9

01-01 02:00:10.975   283   314 E Netdiag : commandlistening unlock exit

01-01 02:00:10.985   265   265 I chatty  : uid=1001(radio) /system/bin/ccci_fsd expire 2295 lines

01-01 02:00:10.996   268   268 F libc    : CANNOT LINK EXECUTABLE "/system/bin/xlog": cannot locate symbol "xlogf_set_level" referenced by "/system/bin/xlog"...

01-01 02:00:10.996   268   268 F libc    : Fatal signal 6 (SIGABRT), code -6 in tid 268 (xlog)

01-01 02:00:10.996   268   268 F libc    : Unable to open connection to debuggerd: Connection refused
rauliordache
rauliordache
rauliordache
Junior Member
27
09-10-2018, 12:59 PM
#3
Can anyone help me please?

In fact, I think that I am very close to port successfully the ROM (AOSP Extended Android 7.1.2, kernel 3.10.65+, MT6753) on my device.
So, while it is booting (forever), I caught a log (adb logcat).

The (main) error is about linking: CANNOT LINK EXECUTABLE < >:
01-01 02:04:43.633 308 308 F libc : CANNOT LINK EXECUTABLE "/system/bin/xlog": cannot locate symbol "xlogf_set_level" referenced by "/system/bin/xlog"...
01-01 02:04:43.633 308 308 F libc : Fatal signal 6 (SIGABRT), code -6 in tid 308 (xlog)
[...]
01-01 02:04:43.907 319 319 F libc : CANNOT LINK EXECUTABLE "/system/bin/mtk_agpsd": cannot locate symbol "UCNV_TO_U_CALLBACK_STOP_53" referenced by "/system/bin/mtk_agpsd"...
01-01 02:04:43.908 319 319 F libc : Fatal signal 6 (SIGABRT), code -6 in tid 319 (mtk_agpsd)
[...]
01-01 02:04:44.268 345 345 F libc : CANNOT LINK EXECUTABLE "/system/bin/program_binary_service": cannot locate symbol "_ZNK7android21IProgramBinaryService22getInterfaceDescriptorEv" referenced by "/system/bin/program_binary_service"...
01-01 02:04:44.268 345 345 F libc : Fatal signal 6 (SIGABRT), code -6 in tid 345 (program_binary_)
[...]

+ tons of (which are not errors)
01-01 02:05:46.410 1451 1451 D ccci_fsd(1): Write 56 bytes to slot 0, CCCI_H(0x0)(0x38)(0x801D000F)(0x0)
01-01 02:05:46.410 1451 1451 D ccci_fsd(1): Read 128 bytes from FS device
01-01 02:05:46.410 1451 1451 D ccci_fsd(1): Read 128 bytes from slot 0, CCCI_H(0x0)(0x80)(0x801E000E)(0x0)
01-01 02:05:46.411 1451 1451 D ccci_fsd(1): CMPT File name:Z:/NVRAM/NVD_DATA/ULMH_000 opid_map:0x00000013 Flag:0x00000100 Offset:34 Whence:-229154332 Length:16384
01-01 02:05:46.411 1451 1451 D ccci_fsd(1): O: [1010103F282D2C35](0x00000100): (7 1)
01-01 02:05:46.411 1451 1451 D ccci_fsd(1): F: 1: 1906 0
01-01 02:05:46.411 1451 1451 D ccci_fsd(1): C: 1: 0

1. I have tried to copy the stock /system/bin/linker(64).so .
2. I have tried to copy the stock binaries which have problems (mtk_agpsd, xlog etc).

Any ideas, please? I repeat, it is not "looping". It is just "loading"/booting forever ...
Here is the link to the log: https://uploadfiles.io/wrqsw
Yohanan Piadoso
Yohanan Piadoso
Yohanan Piadoso
Senior Member
163
10-10-2018, 07:21 AM
#4
message me in Facebook bro

yohanan piadoso



Bro in your porting guide as you stated

did you port for updater-script
Users browsing this thread:
 1 Guest(s)
Users browsing this thread:
 1 Guest(s)
YtWhTl
live chat
whatsapp telegram instagram