TwrpBuilderTests / android_device_cubot_cubot_king_kong

0 stars 0 forks source link

kernel source code #1

Open aIecxs opened 5 years ago

aIecxs commented 5 years ago

Sorry but this image does not work at all..

mint@debian ~/Android/Backup/Cubot King Kong $ fastboot boot TWRP-3.2.3-TwrpBuilder-cubot_king_kong-2018-11-03_17-51.img downloading 'boot.img'... OKAY [ 0.419s] booting... FAILED (remote: invalid kernel address: not lie in memory) finished. total time: 0.422s mint@debian ~/Android/Backup/Cubot King Kong $ fastboot -b 0x2d20000 boot TWRP-3.2.3-TwrpBuilder-cubot_king_kong-2018-11-03_17-51.img downloading 'boot.img'... OKAY [ 0.419s] booting... FAILED (remote: invalid kernel address: not lie in memory) finished. total time: 0.422s

i manually replaced kernel with some older one, and changed fstab entries to /dev/block/platform/mtk-msdc.0/11120000.msdc0/by-name/*

then it boots as expected. but the old kernel i use is not allowing touch screen. do you have the kernel source code?

aIecxs commented 5 years ago

1) i have updated to latest official android https://www.cubot.net/support/firmware/king-kong

2) factory reset and root integrity check from stock recovery passed OK

3) unpacked TWRP-3.2.3-TwrpBuilder-cubot_king_kong-2018-11-03_17-51.tar

4) checked md5 for recovery.img 279d035d80b4010baf6f60ee1dc1ee3c

5) flashed recovery.img from fastboot

mint@debian ~/Android/Backup/Cubot King Kong $ fastboot flash recovery recovery.img target reported max download size of 134217728 bytes sending 'recovery' (12948 KB)... OKAY [ 0.419s] writing 'recovery'... OKAY [ 1.597s] finished. total time: 2.017s

6) rebooted into recovery - black screen - crashed

there are no logs on /cache/recovery because it does not boot at all last_log.1 is from stock recovery right before flashing last_log is from "working" TWRP (with disabled touch screen) https://forum.xda-developers.com/attachment.php?attachmentid=4743919&d=1555429623 there is no log between

aIecxs commented 5 years ago

got a working recovery ported based on old kernel. i did hexpatch a byte in the kernel binary to enable touch screen twrp-3-3-1-0-recovery-for-MT6580_cubot_king_kong.zip

Michal-Dudcenko commented 2 years ago

I have the same but i'm on redmi note4 =(

Michal-Dudcenko commented 2 years ago

I write in adb: fastboot boot C:\Users\dudce\Downloads\boot.img But it say:

Sending 'boot.img' (21100 KB) OKAY [ 1.004s] Booting FAILED (remote: 'invalid kernel address: not lie in memory') fastboot: error: Command failed