G2 Care is a custom fan curve and a charge limiter for the Retroid Pocket G2, with no root needed. The fan can switch off completely when the device is cool, and the battery can be held at a level you choose (for example 80%) while plugged in. It has a dark-mode app screen and two Quick Settings tiles (Fan curve and Charge limit). Formerly called G2 Fan Curve.
The stock Smart fan mode on the G2 never stops the fan while the screen is on: it holds at least 24% (about 4,500 RPM) even at idle. This app replaces that with a curve that stays silent at idle and in light games, ramps up under load, and also watches the battery temperature.
Not affiliated with or endorsed by Retroid. Built and tested on one G2 (Android 15, build AQ3A.250226.002). Use at your own risk.
| Condition | Fan |
|---|---|
| Cool: SoC sensor below ~47 °C, board ("skin") sensors below 41 °C, battery below 37 °C | Off |
| Warming up: SoC 47 → 55 °C, or skin 41 → 44 °C | 12% → 24% |
| Under load: SoC 55 → 70 °C, or skin 44 → 46 °C | 24% → 50% |
| Heavy load (SoC ≥ 70 °C, skin 46–50 °C) | 50%: the same ceiling as stock Smart/Sport |
| Hot step: skin 50 → 53 °C | 50% → 70% (70% is the maximum stock Custom mode allows) |
| Battery 37 → 39 °C | at least 50% → 70% |
| Screen off | Off |
Details that keep it quiet and stable:
- The SoC reading is smoothed over about 20 s, so short spikes such as app launches and shader compiles don't start the fan.
- The SoC trigger is ignored for the first 90 s after boot, because boot load holds it at 70–77 °C.
- Once on, the fan runs at least 2 minutes, and only stops after 60 s of cool readings (SoC below 44 °C, skin below 39 °C, battery below 36 °C).
- A short 20% kick starts it from a stop. The fan stalls below about 10%, so 12% is the lowest running speed.
What it was like on the developer's G2:
- NES, SNES, PS1-era ports: the fan stays off, or at an inaudible 12–20%.
- Skate 3 port: it reaches the 50% ceiling within about a minute of heavy load, and the hot step after about 5 minutes.
- Battery: in Skate 3 it rose only about 0.3 °C per minute.
Holds the battery at a limit (50–95%, default 80%) while a charger is plugged in, so the cell isn't left at 100%. Turn it on in the app or with the Charge limit quick-settings tile (both versions), pick the limit with the slider, done. It works in both versions, with or without the fan curve, and starts at boot.
- Why it needs an app: the G2's bypass charging (Retroid's
is_charging_separation) only holds the battery while the screen is on. About 3 seconds after the screen turns off, Retroid's code switches charging back on and the battery charges to 100% at around 4.6 A. The limiter watches for that and puts the switches back within about a second. - At or above the limit: charging stops and the charger powers the console directly (bypass), so the battery idles instead of cycling.
- Below the limit, or below 20%: it steps aside and the switches go back to what Retroid would have set. Below 20% charging is never held back.
- Charge to 100% once: a button for the days you need the full battery; it applies until full or unplugged.
- Battery health: the app shows the fuel gauge's state of health and cycle count.
- How: it writes
/sys/class/qcom-battery/charging_enableandcharger_set_separation(both world-writable; like the fan, this relies on SELinux being permissive). If a future firmware stops allowing that, the app says so and leaves charging alone. - If the app is killed: the switches stay as they were until Retroid next changes them (the next screen on/off), so at worst the battery charges as it did before.
- Tested on one G2 (hold through screen-off, limit change, release, charge-to-100%-once, boot; unplugged it behaves like stock). Not tested: other chargers.
| G2FanCurve-x.y.z.apk (basic) | G2FanCurve-x.y.z-full-adb.apk (full) | |
|---|---|---|
| Install | Tap the APK, like any app | Needs a PC with adb (see below) |
| Curve, hot step, battery rule, start at boot | ✅ | ✅ |
| Charge limiter and its Charge limit tile | ✅ | ✅ |
| On/off switch | Retroid's own Fan tile: Off = curve, any other mode = stock | Its own Fan curve Quick Settings tile |
| Stop | Stops the curve and leaves the fan at 24%; then set Retroid's Fan tile to Smart | Stops the curve and puts Retroid's previous mode (Smart) back |
| Charger plugged in | Retroid switches its Fan tile to Smart; set it back to Off to keep the curve | Switches back to the curve automatically (can be turned off in the app) |
| Reboot with the charger in | Retroid forces Smart; set the Fan tile to Off again | Takes control back automatically |
Why two versions? Retroid's fan mode is a non-public Android system setting. Android lets an app change it only if the app is built for an old Android version (API 22). Android 15 refuses to install such apps normally, so the full version can only be installed with adb. The basic version is built for current Android, so it can't change the fan mode itself; you switch with Retroid's tile instead.
Both versions use the same app ID, so install only one. Moving from full to basic is a normal update. Moving from basic back to full needs an uninstall first.
- Download
G2FanCurve-x.y.z.apkfrom Releases and open it on the G2. Allow installing from that source if asked. - Open G2 Care, allow notifications, and tap Start curve.
- Pull down Quick Settings and set Retroid's Fan tile to Off. The app's notification now shows "Fan off · …".
- Optionally add the Charge limit tile (pencil icon → drag it in) and turn on Limit charging in the app.
- Turn on Developer options → Wireless debugging (or USB debugging) and connect adb from a PC.
- Download
G2FanCurve-x.y.z-full-adb.apkfrom Releases, then run:adb install --bypass-low-target-sdk-block G2FanCurve-x.y.z-full-adb.apk adb shell appops set io.github.drakfix.g2fancurve WRITE_SETTINGS allow - Open G2 Care on the G2. Android shows a one-time permission review screen: tap Continue. Then tap Start curve.
- Optionally add the Fan curve and Charge limit tiles: Quick Settings → pencil icon → drag them in.
Android may show an "app built for an older version of Android" note when you open the full version. That's expected and harmless.
The full version only needs two shell-level commands, so a phone-side shell works too. Not tested by the developer yet; the commands are the same as above.
- Shizuku with
rish: start Shizuku, set uprishin Termux (or another terminal), put the APK in/sdcard/Download, then:rish -c "pm install --bypass-low-target-sdk-block /sdcard/Download/G2FanCurve-x.y.z-full-adb.apk" rish -c "appops set io.github.drakfix.g2fancurve WRITE_SETTINGS allow"
- A Shizuku-based installer app also works if it offers the bypass low target SDK block option. An installer without that option hits the same "built for an older version of Android" block as the normal installer.
- Termux with
adb: turn on Wireless debugging on the G2, pair and connect Termux'sadbto it, then run the twoadbcommands from the Full steps above.
Shizuku (or Termux) is only needed to install. G2 Care doesn't use it afterwards.
- App screen: two cards. Fan curve shows the fan state with SoC, skin and battery temperatures (amber and red when warm or hot), a Start/Stop button and, in the full version, a switch to keep the curve while charging. Charge limit shows the battery level on a bar with the limit marked, the limiter's state, the Limit charging switch, a 50–95% slider, Charge to 100% once, and the battery health. Show log opens the recent log.
- Quick Settings tiles: Fan curve starts and stops the curve (full version; the basic version uses Retroid's Fan tile). Charge limit switches the limiter on and off and shows, for example,
80% · Waiting,HoldingorCharging. Both versions have this tile. - Notification: shows the current state, for example
Fan 24% · 52 °C · skin 44 °C · battery 31.0 °C, with the limiter's state, plus a Stop button for the curve. - Retroid's Fan tile always wins: pick Smart, Sport, Quiet or Custom there and the app steps aside until the tile is back on Off.
- Uninstalling: stop the curve first, so Retroid's Fan tile isn't left on Off with nothing driving the fan. Turn the limiter off too, or the charging switches stay as they were until Retroid next changes them.
- Fan hardware: the G2's fan is driven through
/sys/class/gpio5_pwm2/.dutyis in ns of a 50,000 ns period (5000 = 10%),stateswitches it on or off, andspeedis the tachometer RPM. These files are world-writable, so a normal app can drive the fan.- This only works because SELinux is in permissive mode on the G2's stock firmware: the policy would deny app access to these files, but permissive mode lets it through.
- If a future firmware switches SELinux to enforcing, the app won't be able to drive the fan.
- Stock control: Retroid's settings app (
com.rp.settings) runs the stock modes from thesystemsettingfan_mode: 0 Off, 1 Quiet, 4 Smart, 5 Sport, 6 Custom.- On the G2, Smart is 24% below 48 °C, rising to 50% at 85 °C on
thermal_zone0. - Quiet is a fixed 24% and Sport a fixed 50%. Custom is fixed between 50% and 70%.
- None of them switches off while the screen is on.
- On the G2, Smart is 24% below 48 °C, rising to 50% at 85 °C on
- Taking over: with
fan_mode= 0, Retroid's app stops touching the fan, and this app drives it instead:- it reads
thermal_zone0, the hottestsys-therm-*zone and the battery temperature every 3 s; - it backs off whenever
fan_modeis anything else.
- it reads
- Charger and screen: Retroid's app forces Smart when a charger is plugged in, and restores the previous mode on unplug only if the screen is on. It switches the fan off when the screen turns off.
- Tachometer glitch: once, after about 1.5 minutes at 70% under heavy heat, the tachometer stopped reporting (it read 0 RPM) while the fan kept spinning, and a reboot fixed it. The curve doesn't use the RPM reading.
./build.sh # both versions -> dist/
./build.sh basic # or: fullIt needs the Android SDK (build-tools plus Android SDK Platform 35) and a JDK 17+; no Gradle. It finds Android Studio's SDK and bundled JDK automatically, or you can set ANDROID_HOME and JAVA_HOME. By default it signs with a throwaway debug key; release builds pass KEYSTORE, KEY_ALIAS and KEYSTORE_PASS.
The UI is built in code (no XML layouts) and the icons are vector drawables in app/res/, compiled with aapt2.
tools/ has on-device test scripts (load ramp, simulated charger, simulated battery temperature, fan tile, charge limiter, charge tile; the limiter test needs a real charger). Run them with:
adb push tools /data/local/tmp/g2fc
adb shell sh /data/local/tmp/g2fc/test_load.sh