MiyooCFW icon indicating copy to clipboard operation
MiyooCFW copied to clipboard

Working for Q8 v1.6

Open wgarnett opened this issue 4 years ago • 42 comments

Boot Section and LCD Driver Working

wgarnett avatar Jan 08 '22 14:01 wgarnett

Yea we have that also working (q8 v1.2 and v1.6), the only thing thats need to be finished is the key mapping... Btw this also need to be compatible (and made) with the current/latest cfw kernel source!

TriForceX avatar Jan 10 '22 00:01 TriForceX

No, this https://github.com/MiyooCFW/kernel/blob/f281eb848273b32f8ea5a2eb72f26791721fad9e/drivers/input/keyboard/miyoo_kbd.c#L41-L115

TriForceX avatar Jan 11 '22 12:01 TriForceX

someone get right lcd driver and merge into https://github.com/steward-fu/q8 ..... and then I can play unofficial version well ....

wgarnett avatar Jan 11 '22 12:01 wgarnett

Yea we have another builds working around there on the Q8 (including the one form Steward) but thats not the main task, our current source code should handle the Q8 along the other Miyoo consoles, thats the main purpose. i didnt had the time to adapt the current source code with the Q8 stuff, thats why the Q8 isnt still added on the official list.

No one at this moment have helped with this, there are few people who got the Q8 stuff working but using an old source code, not the new one, and thats where we need to have it working.

TriForceX avatar Jan 11 '22 13:01 TriForceX

http://c.tieba.baidu.com/p/7691824426 , I play now .... using top Q8.7z file

@wgarnett What image did you use to replace the files in the Q8.7z file?

Do all the buttons work for you in the games and emulators and the sound?

salvacam avatar Jan 11 '22 14:01 salvacam

steward-fu/q8 ... replace 7z files with it ..... all work well on my Q8

wgarnett avatar Jan 11 '22 20:01 wgarnett

steward-fu/q8 ... replace 7z files with it ..... all work well on my Q8

I tried that yesterday, and it didn't work for me, the image looked bad I'm going to try again

I save the image in the sd and the content of the file Q8.7z put in the partition FC3000.

With the image q8_od_jckl_no_roms it looks bad and not finish loading. With the image q8_od_jutleys_no_roms it loads but it looks bad (double) IMG_20220111_223252

salvacam avatar Jan 11 '22 20:01 salvacam

7z files only match for q8_od_jckl_no_roms ..... write image to MicroSD and then replace all files in the partition FC3000 .... on China , there are 4 people now work fine (all 1.6 firmware) ...... but I know Q8 has 3 LCD version ......

wgarnett avatar Jan 11 '22 23:01 wgarnett

not finish loading => change another SD card or reboot more times .... until success 2 people and I was the same before ....

wgarnett avatar Jan 12 '22 01:01 wgarnett

I have rewritten the image q8_od_jckl_no_roms. Now it starts me up, but I have the same result when replacing the files in the FC3000 partition with the Q8.7z file. It looks bad

You can check that the content of the Q8.7z file you uploaded is correct, the mininit and rootfs files are the same size as in the image.

If the content you have uploaded is correct, I have another screen on my console (version 1.6 firmware)

salvacam avatar Jan 12 '22 08:01 salvacam

@salvacam I recheck Q8.7z , it's right ..... if mininit and rootfs the same size , but maybe some byte hex is different ..... just replace all on FC3000 partition ....

and I have a new question , anyone know how to change boot screen ??? I want to change a picture that I like myself

wgarnett avatar Jan 12 '22 11:01 wgarnett

I think the image needs to be recompiled Although here they explain a way https://www.reddit.com/r/Bittboy/comments/d6yxm8/tutorial_setting_custom_boot_splash_screen_on_the/

salvacam avatar Jan 12 '22 11:01 salvacam

@salvacam , thanks , and now do your Q8 work ???

wgarnett avatar Jan 13 '22 01:01 wgarnett

No. I have gone back to do the same process a couple of times and I have the same result. It looks like the picture I showed you.

I am doing something wrong or my screen is different from yours

I save the image q8_od_jckl_no_roms and copy the files from Q8.7z to the FC3000 partition The image I use I download from https://github.com/steward-fu/q8/releases

Can you record an image from your SD card and share it for testing?

salvacam avatar Jan 13 '22 08:01 salvacam

@salvacam , full image => https://www.mediafire.com/file/qg27qq7pllykwok/q8_od_fix.7z/file

wgarnett avatar Jan 13 '22 11:01 wgarnett

@salvacam , full image => https://www.mediafire.com/file/qg27qq7pllykwok/q8_od_fix.7z/file

Thank you very much, with that image it works perfectly

photo5980979433173006724

How do I control the volume and brightness of the screen?

In gmenu With L + Select I can modify the volume but later in games it is heard at maximum. It would be nice to be able to modify the audio and the brightness in gmenu and when it is playing

salvacam avatar Jan 13 '22 12:01 salvacam

sorry , I don't know , some emulator setting can modify the audio ....

wgarnett avatar Jan 13 '22 12:01 wgarnett

I use headphone , I'll use control on headphone to adjust audio volumn

wgarnett avatar Jan 13 '22 12:01 wgarnett

@salvacam , I follow reddit guide , but fail to change boot splash image .... do you have other way and work ?

wgarnett avatar Jan 13 '22 15:01 wgarnett

@salvacam , I follow reddit guide , but fail to change boot splash image .... do you have other way and work ?

No, I don't know of any other way to change the splash image. Sorry

Another user with version 1.2 of XYC Q8 has tried the image with the fix and it works fine

salvacam avatar Jan 13 '22 17:01 salvacam

I have combined your image with the English image of Steward https://www.mediafire.com/file/dhle7s05fhtgzai/q8_od_jutleys_no_roms_fix.zip/file

salvacam avatar Jan 13 '22 20:01 salvacam

@salvacam , great , thx image ... I try some method still not found where to replace boot splash picture ....

wgarnett avatar Jan 15 '22 11:01 wgarnett

@wgarnett Thanks to you. Now you can use more emulators on my Q8 I don't know how to change the splash image. I don't know how the firmware works

salvacam avatar Jan 15 '22 22:01 salvacam

@salvacam , thanks .... I test all work fine , except dosbox game only half screen do you have better way to run ?

wgarnett avatar Jan 16 '22 02:01 wgarnett

@salvacam , thanks .... I test all work fine , except dosbox game only half screen do you have better way to run ?

it looks good to me in the v90 and the q8 IMG_20220117_185039

I am using dosbox from cfw 1.3.3

@wgarnett Check emulator/dosbox/dosbox.conf file I have this

[sdl]
fullscreen=true
fulldouble=false
fullresolution=320 x 240
windowresolution=320 x 240
output=surface_dingux
autolock=true
sensitivity=100
waitonerror=true
priority=higher,normal
mapperfile=mapper.txt
usescancodes=false

[render]
scaler=none

[autoexec]
mount c /mnt/roms/DOS
C:
CD \LAUNCHBX
LAUNCH.BAT

Check that you have the same resolution defined

salvacam avatar Jan 17 '22 17:01 salvacam

@salvacam , setting is same .... I think maybe some game problem ...... I'll try some others , thanks.

wgarnett avatar Jan 17 '22 23:01 wgarnett

@wgarnett

... I try some method still not found where to replace boot splash picture ....

What splash image is being displayed at startup? Do you have *.png of it or decoded Hex string?

Apaczer avatar Jan 28 '22 00:01 Apaczer

@Apaczer I can't find Hex string of boot partition , so I can't change splash image

wgarnett avatar Jan 28 '22 02:01 wgarnett

If the image is 16bit format (rgb565) and the screen resolution is 320x240, then the binary size should match. From there you should look for any similarites in decompiled Hex and look for similar string in size (I assume it would be easier if you had that image file).

Apaczer avatar Jan 28 '22 10:01 Apaczer

@Apaczer , splash image is here , https://github.com/steward-fu/q8/releases I think path is "drivers/video/logo" located in the kernel directory

wgarnett avatar Jan 28 '22 11:01 wgarnett