CPCWiki forum

General Category => Emulators => Topic started by: McArti0 on 11:20, 03 February 25

Title: Emulator for Android. How to set 50Hz on a smartphone?
Post by: McArti0 on 11:20, 03 February 25
Does anyone know Android well? It's about forcing 50Hz on the Screen when the menu only shows 60Hz.
Title: Re: Emulator for Android. How to set 50Hz on a smartphone?
Post by: Gryzor on 11:55, 03 February 25
Depends on manufacturer and Android version.

This used to work some time ago (no idea when I entered it into my notes), I don't know if it's working anymore:

adb shell settings put system peak_refresh_rate xx.x
adb shell settings put system min_refresh_rate xx.x
Title: Re: Emulator for Android. How to set 50Hz on a smartphone?
Post by: McArti0 on 12:23, 03 February 25
Motorola G22 Android 12

Need console and root?
Title: Re: Emulator for Android. How to set 50Hz on a smartphone?
Post by: Gryzor on 12:28, 03 February 25
Should work with A12, but never worked with Motorola phones so don't take my word for it.

I don't think it needs root, just a PC, adb, dev options on and USB debugging on.

If for some reason it refuses to allow you to do it, you can do a "pm grant" (I'm on the phone right now, can't really hunt for the syntax and options, sorry, and haven't done that in ages since I'm always rooted)

I guess you can also do it with the SetEdit management tool, too.
Title: Re: Emulator for Android. How to set 50Hz on a smartphone?
Post by: McArti0 on 13:24, 03 February 25
Thx working but only 60/90 i can set.
Title: Re: Emulator for Android. How to set 50Hz on a smartphone?
Post by: Gryzor on 13:25, 03 February 25
What's the output?
Title: Re: Emulator for Android. How to set 50Hz on a smartphone?
Post by: McArti0 on 13:48, 03 February 25
Main screen.
CPCEMU 2.5 flikers well but only at 60Hz  CRTC R4=31
Title: Re: Emulator for Android. How to set 50Hz on a smartphone?
Post by: Gryzor on 14:08, 03 February 25
No I mean how do you know about the 60/90 thing.
Title: Re: Emulator for Android. How to set 50Hz on a smartphone?
Post by: McArti0 on 14:19, 03 February 25
I have option in menu "show refresh rate"
Title: Re: Emulator for Android. How to set 50Hz on a smartphone?
Post by: Gryzor on 18:10, 03 February 25
Not that it matters much, but are you sure it reads the refresh rate accurately? And why are there two values (60/90)? Apologies, I don't quite understand what you're doing. 

By the way, there's an option in Dev Options to show the refresh rate on-screen.
Title: Re: Emulator for Android. How to set 50Hz on a smartphone?
Post by: McArti0 on 14:17, 04 February 25
I use SetEdit and when I set min_refresh_rate and  peak_refresh_rate to 50 phone is going to auto set live 60/90.
Title: Re: Emulator for Android. How to set 50Hz on a smartphone?
Post by: McArti0 on 15:18, 04 February 25
https://source.android.com/docs/core/graphics/multiple-refresh-rate#config-groups
Title: Re: Emulator for Android. How to set 50Hz on a smartphone?
Post by: Gryzor on 15:19, 04 February 25
48 eh? Hmmmm
Title: Re: Emulator for Android. How to set 50Hz on a smartphone?
Post by: McArti0 on 16:42, 04 February 25
Motorola stiffens the hardware setup.
Title: Re: Emulator for Android. How to set 50Hz on a smartphone?
Post by: Gryzor on 16:47, 04 February 25
Yeah that's why I mentioned manufacturers at the beginning...
Title: Re: Emulator for Android. How to set 50Hz on a smartphone?
Post by: McArti0 on 17:12, 04 February 25
If anyone wants to test their phone. Set 50Hz, install CPCEMU 2.5 and the code: 

SPEED INK 1,1
INK 0,4,9

And see if you can see the blinking dark gray nicely.
Powered by SMFPacks Menu Editor Mod