[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"project-116468":3},{"id":4,"name":5,"fullName":6,"owner":7,"repo":5,"description":8,"homepage":9,"htmlUrl":10,"language":11,"languages":10,"totalLinesOfCode":10,"stars":12,"forks":13,"watchers":14,"openIssues":15,"contributorsCount":16,"subscribersCount":16,"size":16,"stars1d":16,"stars7d":16,"stars30d":16,"stars90d":16,"forks30d":16,"starsTrendScore":16,"compositeScore":17,"rankGlobal":10,"rankLanguage":10,"license":18,"archived":19,"fork":19,"defaultBranch":20,"hasWiki":21,"hasPages":21,"topics":22,"createdAt":10,"pushedAt":43,"updatedAt":44,"readmeContent":45,"aiSummary":46,"trendingCount":16,"starSnapshotCount":16,"syncStatus":15,"lastSyncTime":47,"discoverSource":48},116468,"afnon-android-tv-launcher","egyjs\u002Fafnon-android-tv-launcher","egyjs","Afnon (أفنون): Android TV launcher and home screen for Muslims. Offline prayer times (74 cities), Qibla, adhan\u002Fazan, prayer reminders, Ramadan and Friday modes, 16 Quran radio stations and reciters. Arabic and English, for Google TV and TCL.","https:\u002F\u002Fegyjs.github.io\u002Fafnon-android-tv-launcher\u002F",null,"Java",51,20,3,2,0,43.97,"MIT License",false,"main",true,[23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42],"adhan","android-tv","android-tv-launcher","arabic","azan","google-tv","islam","islamic","java","launcher","muslim","prayer-times","qibla","quran","quran-radio","ramadan","rtl","salah","tcl","tv-launcher","2026-11-23 13:00:26","2026-11-18 19:59:36","\u003Cdiv align=\"center\">\n\n# Afnon · أفنون\n\n**An Android TV home screen built around the prayer day.**\n\n\u003Cp dir=\"rtl\">\u003Cb>أفنون: شاشة رئيسية لتلفاز أندرويد، تدور حول يوم الصلاة: المواقيت والقبلة والأذان وإذاعة القرآن الكريم.\u003C\u002Fb>\u003C\u002Fp>\n\nArabic first (RTL) and English · Offline prayer times for 245 cities · 16 adhan voices · Qibla · 19 Quran radio stations and reciters\n\n**[⬇ Download the APK](https:\u002F\u002Fgithub.com\u002Fegyjs\u002Fafnon-android-tv-launcher\u002Freleases\u002Flatest\u002Fdownload\u002Fafnon.apk)** · [Releases](https:\u002F\u002Fgithub.com\u002Fegyjs\u002Fafnon-android-tv-launcher\u002Freleases) · **[Try it in your browser](https:\u002F\u002Fegyjs.github.io\u002Fafnon-android-tv-launcher\u002F)**\n\n![Afnon home screen in Arabic](docs\u002Fscreenshots\u002Fhome-ar.png)\n\n\u003C\u002Fdiv>\n\n> إِنَّ الصَّلَاةَ كَانَتْ عَلَى الْمُؤْمِنِينَ كِتَابًا مَّوْقُوتًا · النساء ١٠٣\n>\n> *Indeed, prayer has been decreed upon the believers at fixed times.* (An-Nisa 4:103)\n\nAfnon replaces the stock launcher on an Android TV with one quiet screen. The next prayer and a live\ncountdown sit inside a mihrab arch. The day's six times run across the top, your favourite apps sit\nbelow, and the call to prayer comes to the TV by itself. Built and tested on a **TCL 55P7K (Google\nTV, Android 12)**, driven only by the remote's D-pad, and also run on a Super General (CVTE) and a Xiaomi\nMi TV (see the notes below, and [Tested TVs](docs\u002Ftested-tvs.md) for every TV so far).\n\n### How it started\n\nAfnon started from [cleanyourtv](https:\u002F\u002Fgithub.com\u002FGathin23\u002Fcleanyourtv):\n\n1. **Debloat.** cleanyourtv's prompt cleared the TCL's ads and bloat, reversibly, with a backup and a restore script.\n2. **Launcher.** cleanyourtv's Apple TV-style home took over from the stock one.\n3. **Design.** A new direction, *Mihrab*, was designed around the prayer day: lapis and gold, with an arch for the next prayer.\n4. **Build.** [Claude Code](https:\u002F\u002Fclaude.com\u002Fclaude-code) built it on the real TV over ADB, one screen at a time, checking each with a screenshot.\n\n\u003Cp dir=\"rtl\">بدأ أفنون من مشروع \u003Ca href=\"https:\u002F\u002Fgithub.com\u002FGathin23\u002Fcleanyourtv\">cleanyourtv\u003C\u002Fa>: تنظيف التلفاز من الإعلانات، ثم شاشة رئيسية بسيطة، ثم تصميم «محراب» حول يوم الصلاة، ثم بناؤه على التلفاز نفسه شاشةً شاشة.\u003C\u002Fp>\n\n---\n\n## Screens\n\n| | |\n|---|---|\n| ![Home in English](docs\u002Fscreenshots\u002Fhome-en.png) | ![Today's prayers and Qibla](docs\u002Fscreenshots\u002Fprayer-day.png) |\n| **Home (English).** The clock follows the TV's 12\u002F24-hour setting. Gregorian and Hijri dates, six prayer times with the next one marked, favourites and more apps. | **Today's prayers.** Every time with its countdown, an adhan on\u002Foff bell per prayer, and the Qibla bearing from your city. |\n| ![Quran Radio card](docs\u002Fscreenshots\u002Fradio.png) | ![Call to prayer](docs\u002Fscreenshots\u002Fcall.png) |\n| **Quran Radio.** A header pill opens the station card. The bars follow the live recitation. | **The call.** At prayer time the screen comes up over whatever is playing and the adhan plays by itself. |\n| ![Reminder before the prayer](docs\u002Fscreenshots\u002Freminder.png) | ![Screensaver](docs\u002Fscreenshots\u002Fscreensaver.png) |\n| **Reminder.** A card a few minutes before the prayer (a banner when another app is open). | **Screensaver.** A dim, drifting arch with the clock and the next prayer, plus the radio when it plays. |\n| ![Friday](docs\u002Fscreenshots\u002Ffriday.png) | ![Ramadan](docs\u002Fscreenshots\u002Framadan.png) |\n| **Friday.** Jumu'ah replaces Dhuhr, with a Surat al-Kahf reminder. | **Ramadan.** Iftar and suhoor take over the countdown. |\n| ![All apps](docs\u002Fscreenshots\u002Fall-apps.png) | ![Settings, radio section](docs\u002Fscreenshots\u002Fsettings-radio.png) |\n| **All apps.** Every launchable app. Hold OK to put one in favourites. | **Settings on the TV.** Prayer times, reminders and adhan, radio, display and language. |\n\n## Features\n\n- **Prayer times, fully offline.** Calculated on the TV with\n  [adhan-java](https:\u002F\u002Fgithub.com\u002Fbatoulapps\u002Fadhan-java). It ships with 245 cities in 45 countries across\n  the Arab world, Asia, Europe, the Americas, Africa and Oceania, picked by region, then country, then city. Each\n  city starts on the method and Asr school its mosques use; you can still choose the calculation method (Egyptian,\n  Umm al-Qura, MWL, Karachi, Oman's Ministry of Awqaf, Morocco's Ministry of Habous and more), the Asr school\n  (Shafi'i or Hanafi) and a Hijri date offset. Oman's cities start on the Ministry of Awqaf's method, fitted to its\n  [published timetable](https:\u002F\u002Fwww.mara.gov.om\u002Farabic\u002Fcalendar_page1.asp) so every prayer is within a minute or two\n  of it (see `Method.OMAN_AWQAF`). Morocco's start on the Ministry of Habous's rules, recovered from its\n  [timetables](https:\u002F\u002Fhabous.gov.ma) (see `Habous`); Morocco has kept GMT all year since 20 September 2026, so a TV\n  with older time-zone data needs a GMT+0 zone until its firmware updates. The Hijri date and Ramadan mode always\n  use the Umm al-Qura calendar, so where local moon sighting differs (the United States, for one) set the offset.\n- **Qibla and room direction.** The Qibla bearing from your city, and a one-time \"which way does\n  the TV face\" setting, so the screen can say *\"Qibla is behind you\"*.\n- **The adhan.** 16 voices to choose from, plus a separate Fajr adhan. If the TV is muted or at\n  zero, the volume comes up for the adhan and goes back afterwards.\n- **Reminders.** A card on Home, or a banner over other apps, 5 to 30 minutes before each prayer. It can\n  also say «اقترب موعد صلاة …», and when a prayer's adhan is off, «حان الآن موعد صلاة …» as its time begins\n  (both lower whatever is playing for a moment instead of pausing it; see `tools\u002Ffetch-announce.sh` below).\n- **Friday and Ramadan.** Both modes switch themselves on from the date.\n- **Quran Radio.** إذاعة القرآن الكريم from Cairo (98.2 FM) by default, streamed live. Station, on Home's\n  radio card or in Settings → Radio, picks another:\n  - Quran radios: Nablus, Shabab FM Quran (Nablus), Qatar 1 and 2, Oman, Jordan, and from the Saudi Broadcasting\n    Authority (Saudi Radio+) its Holy Quran Radio and Nida Al-Islam Radio.\n  - Ten reciters' 24\u002F7 channels from mp3quran.net (Alafasy, Abdul Basit, Al-Minshawi, Al-Husary, Al-Muaiqly,\n    Al-Ghamdi, Al-Sudais, Al-Dosari, Al-Qatami, Mohammad Rashad Al-Shareef).\n  - Live level bars, from the audio itself.\n  - It pauses for the adhan and resumes after.\n  - **Screen off while listening**, using TCL's own Audio Only mode: the panel goes dark and the\n    recitation keeps playing.\n- **Remote buttons.** An accessibility service maps the remote's app buttons, and its Settings,\n  Input and All apps buttons, to Afnon. The stock home's background service can then be disabled.\n  The same service brings the call to prayer, so if a TV cleaner force-stops Afnon (which switches the\n  service off), Home switches it back on. Turning it off in Settings → Accessibility is respected.\n- **Inputs.** A round button on Home, beside the night-mode button, opens the TV's input menu, as the Source button\n  does, for remotes without one. Where the TV has no menu of its own, Afnon lists the sources itself:\n  TV channels (the built-in receiver) first, then the HDMI ports.\n- **Arabic and English.** RTL and LTR layouts. Language follows the TV or is set in Afnon. Digits\n  are Arabic-Indic or Latin.\n- **Night mode.** Calmer, dimmer, warmer colours on every screen, from the moon button beside Home's Settings\n  gear or Settings → Display.\n- **Light on the TV.** Plain Java and Views, with no AndroidX, Kotlin or Compose. No blur, no\n  video, no shadows. It runs smoothly on a 1.8 GB TV.\n\n## Privacy\n\nAfnon has **no accounts, no analytics and no ads**. The radio is the only feature that uses the\ninternet, and it connects only to the chosen station's stream, one at a time: `stream.radiojar.com` (Cairo),\n`quran-radio.org` (Nablus), `streaming.zaytonatube.com` (Shabab FM), `live.kwikmotion.com` (Qatar and the Saudi\nQuran stations), `jrtv-live.ercdn.net` (Jordan), `partwota.cdn.mgmlcdn.com` (Oman) or `backup.qurango.net` (the\nreciters). The list is in `Radio.STATIONS`. The only other connection is **Settings → Device → Afnon updates**:\nwhen you press OK there, Afnon asks `github.com` for the latest release and, if you then choose to update,\ndownloads its `afnon.apk` from GitHub (`github.com`, which hands the file over from `*.githubusercontent.com`). It\nnever checks on its own and sends nothing about you or the TV. Afnon makes no other network requests, and its\n[network security config](app\u002Fsrc\u002Fmain\u002Fres\u002Fxml\u002Fnetwork_security.xml) allows plain HTTP for the Cairo stream only.\nYour city and settings stay on the TV.\n\nThe [web preview](https:\u002F\u002Fegyjs.github.io\u002Fafnon-android-tv-launcher\u002F) is a separate static site, not the app. It loads\nnothing from other sites except the station's stream when you press Play, and keeps your settings in your browser.\n\n| Permission | Why |\n|---|---|\n| `INTERNET`, `WAKE_LOCK` | The radio stream, kept playing with the screen off |\n| `RECORD_AUDIO` | Required by Android's Visualizer, to read Afnon's **own** player for the level bars. It does not use the microphone. |\n| `WRITE_SECURE_SETTINGS` | Turns the TV's sleep timer off while the radio plays, and puts it back after. Turns Afnon's own remote buttons service back on after a force-stop. On TCL, also writes the remote button mappings (see TCL notes) |\n| `REQUEST_INSTALL_PACKAGES`, `UPDATE_PACKAGES_WITHOUT_USER_ACTION` | Settings → Device → Afnon updates installs the new release you asked for (on Android 12+ without a confirm dialog). Allowed at setup (`appops`); Android only accepts an update signed with the same key |\n| `ACCESS_FINE_LOCATION` | Android 9+ hides the Wi-Fi name without it; Home shows the name. Afnon never reads the TV's location |\n| Accessibility service | Remote button mapping (see `RemoteKeys.java`) |\n\n## Install\n\n### Easiest: from your phone\n\nNo computer needed. Install [`afnon-installer.apk`](https:\u002F\u002Fgithub.com\u002Fegyjs\u002Fafnon-android-tv-launcher\u002Freleases\u002Flatest\u002Fdownload\u002Fafnon-installer.apk)\non an Android phone (8 or later) on the same Wi-Fi as the TV, open it and follow the screens:\n\n1. **Prepare.** How to turn on Developer options and USB debugging (or Wireless debugging) on the TV.\n2. **Connect.** TVs on the Wi-Fi appear by themselves (mDNS for classic debugging, Wireless debugging's random\n   port and the pairing port, and a sweep for port 5555); or type the address, with or without a port. Then accept\n   \"Allow USB debugging?\" on the TV, or type the six-digit pairing code it shows.\n3. **Install.** The latest `afnon.apk` from this repo's releases (skipped when the TV already has it), then the\n   steps in [`tools\u002Fsetup-steps.txt`](tools\u002Fsetup-steps.txt) at that release's tag, the same file\n   `tools\u002Finstall.sh` runs.\n4. **Make it yours.** The city and prayer settings, the four favourites (with the TV's own app icons) and a\n   cleanup: ads, tracking and preloaded apps, turned off (never uninstalled) from\n   [`tools\u002Fclean-catalog.tsv`](tools\u002Fclean-catalog.tsv), with an undo.\n\nThe installer keeps no copies of what can change: the APK, the setup steps and the cleanup list come from GitHub,\nand the cities and apps from Afnon on the TV (`SetupProvider`), so a new Afnon release needs no new\ninstaller. Source in `installer\u002F` (plain Java, an ADB client library and Conscrypt for TLS).\n\n### Quick: the APK\n\nDownload [`afnon.apk`](https:\u002F\u002Fgithub.com\u002Fegyjs\u002Fafnon-android-tv-launcher\u002Freleases\u002Flatest\u002Fdownload\u002Fafnon.apk) from the latest release, then:\n\n```bash\nexport TV=192.168.1.50:5555\nadb connect $TV\nadb -s $TV install -r afnon.apk\nadb -s $TV shell cmd package set-home-activity tv.afnon.home\u002F.MainActivity\nadb -s $TV shell settings put secure screensaver_components tv.afnon.home\u002F.AfnonDream\nadb -s $TV shell pm grant tv.afnon.home android.permission.RECORD_AUDIO\nadb -s $TV shell pm grant tv.afnon.home android.permission.WRITE_SECURE_SETTINGS\nadb -s $TV shell pm grant tv.afnon.home android.permission.ACCESS_FINE_LOCATION\n```\n\nThen turn on **Afnon remote buttons** in the TV's Settings → Accessibility. The APK includes the adhan recordings.\n\nIf Home still opens the stock launcher (stock Android TV and Google TV keep theirs ahead of any app), use the\nphone installer or `tools\u002Finstall.sh`: they turn the stock launcher off behind a safety switch that turns it back\non if Afnon doesn't come up, and the installer's cleanup can undo it.\n\n### From source\n\nYou need a computer with **adb**, **JDK 17**, the Android SDK (platform 34), and the TV with\n**Developer options → USB \u002F Network debugging** on.\n\n```bash\ngit clone https:\u002F\u002Fgithub.com\u002Fegyjs\u002Fafnon-android-tv-launcher.git\ncd afnon-android-tv-launcher\nexport TV=192.168.1.50:5555          # your TV's address\nadb connect $TV                      # accept the prompt on the TV\nbash tools\u002Finstall.sh                # fetches the adhans, builds, installs, sets Afnon as home\n```\n\n`install.sh` runs `tools\u002Ffetch-adhans.sh` the first time. That script downloads the 16 recordings\nfrom [abodehq\u002FAthan-MP3](https:\u002F\u002Fgithub.com\u002Fabodehq\u002FAthan-MP3) (and two from\n[meypod\u002Faudio_files](https:\u002F\u002Fgithub.com\u002Fmeypod\u002Faudio_files)). They aren't in this repo because\nthose collections have no licence.\n\nThe spoken reminder and «حان الآن موعد صلاة …» are 12 short clips made on your machine: `install.sh` runs\n`tools\u002Ffetch-announce.sh` the first time, which reads `tools\u002Fannounce-lines.txt` with a Microsoft neural Arabic voice\nthrough [edge-tts](https:\u002F\u002Fgithub.com\u002Frany2\u002Fedge-tts) (`pip install edge-tts`; `VOICE=` picks another) into\n`app\u002Fsrc\u002Fmain\u002Fassets\u002Fannounce\u002F`. They aren't in this repo; the release APK includes them. Without them\nthose two stay silent and everything else works.\n\n**Close network debugging when you're done.** Port 5555 is plain text, and on some firmware any\ndevice on your network can get a shell through it. Switch USB debugging and Network debugging off\nin Developer options, revoke the USB debugging authorisations, reboot, and check that\n`nc -vz \u003Ctv-ip> 5555` fails.\n\n## Everyday changes\n\n| I want to… | Do this |\n|---|---|\n| Change favourites | All apps → hold **OK** on an app → *Put in favourites instead of…* |\n| Change city, method, adhan voice, radio options | The remote's **Settings** button, or the gear on Home |\n| Point a remote button at another app | Edit the table at the top of `RemoteKeys.java`, then `bash tools\u002Finstall.sh` |\n| Change colours or the star pattern | `afnon-mihrab\u002Ftokens.json` (and `tokens.night.json` for night mode), then `npm run tokens` in `site\u002F`; `Ui.starLattice` |\n| Disable a stock app | `bash tools\u002Fdisable.sh \u003Cpackage>` (reversible; logged to `state\u002Fdisabled.log`) |\n| Re-enable an app | `bash tools\u002Fenable.sh \u003Cpackage>`, or on the TV: Settings → Apps → See all apps → Show system apps → the app → Enable |\n| Go back to stock | `bash tools\u002Frestore.sh`, then reboot. Re-enables everything in the log, restores home, screensaver and sleep timer, and uninstalls Afnon. |\n\n### Trying things without waiting for a prayer\n\n```bash\nadb shell am start -n tv.afnon.home\u002F.MainActivity --es test friday    # or ramadan, now (back to today)\nadb shell am start -n tv.afnon.home\u002F.MainActivity --es test reminder  # Home's reminder card, spoken\nadb shell am start -n tv.afnon.home\u002F.MainActivity --es test call      # the call screen, 8 s later\nadb shell am start -n tv.afnon.home\u002F.MainActivity --es test banner    # the banner and its voice, 8 s later (open another app)\nadb shell am start -n tv.afnon.home\u002F.MainActivity --es test announce  # «حان الآن موعد صلاة …», 8 s later\nadb shell am start -n tv.afnon.home\u002F.MainActivity --es test radio     # radio on \u002F off\nadb shell am start -n tv.afnon.home\u002F.MainActivity --es station nablus # pick a station (ids in Radio.STATIONS)\nbash tools\u002Fshot.sh home                                               # screenshot to state\u002Fshots\u002F\n```\n\n## TCL notes\n\nSome of this is TCL-specific. Each piece fails quietly on other brands:\n\n- **Audio Only** (screen off while listening) asks TCL Settings to show its own countdown dialog\n  (`com.tcl.settings.SHOW_WINDOW`, `Type=AudioOnly`). Elsewhere Afnon falls back to a black,\n  dimmed screen.\n- TCL remotes send Settings as `KEYCODE_NOTIFICATION` and the browser key as code `4159`.\n- The remote buttons go through TCL's own button remapping (`TclKeys.java`), so the accessibility\n  service doesn't filter keys and holding Volume keeps changing it. Elsewhere the service filters keys itself.\n- `install.sh` grants TCL's `APP_AUTO_START` so the remote buttons service survives a reboot.\n- Android's `screen_brightness` setting does nothing on this TV, because TCL drives the backlight\n  itself.\n\n## Other brands (CVTE)\n\nTested on one Super General TV (CVTE board, Android 9). CVTE makes the boards in many budget TVs; Afnon\ndetects them by their hotkey service and each piece is skipped elsewhere:\n\n- The firmware answers the remote's buttons itself (from `\u002Fvendor\u002Fmenu_config_xml\u002Fhotkey.xml`), so the remote\n  buttons service doesn't filter keys there (`FirmwareKeys.java`) and holding Volume keeps changing it.\n- The firmware leaves Source to the app in front, so Home opens CVTE's source menu\n  (`com.cvte.tv.globalui`) itself.\n- Buttons wired to an app that can't be replaced (ESHARE opens EShare) can be pointed at another app with\n  the `redirects` preference, e.g. `com.ecloud.eshare.server=com.droidlogic.miracast`. Empty by default.\n- If Afnon guesses wrong about key filtering on some TV, the `key_filter` preference (`on`\u002F`off`) forces it.\n- `install.sh` grants location, which Android 9+ needs before Home can show the Wi-Fi name.\n\n## Other brands (Xiaomi)\n\nTested on one Xiaomi Mi TV (MiTV-MOOQ0, Android TV 10, 1.8 GB RAM, MediaTek), after a debloat with\n[cleanyourtv](https:\u002F\u002Fgithub.com\u002FGathin23\u002Fcleanyourtv)'s list for that model. Home, the app list, favourites,\nthe screensaver and the remote buttons service run (its buttons are not checked with the remote yet), and `install.sh` makes Afnon Home there (it turns the stock\nlauncher off behind its safety switch). Notes:\n\n- Xiaomi's TV Manager force-stops apps, and Android then switches the remote buttons service off. Home turns\n  it back on.\n- The firmware gives a few built-in apps a phone-style entry only (Clock, MediaTek's Netflix watcher, a\n  disclaimer screen). Afnon leaves those out of its app list.\n- The remote's Input button sends Source (`KEYCODE_TV_INPUT`, 178) and opens Afnon's Inputs panel, which\n  starts with the TV channels.\n- Holding Volume and the Audio Only screen-off have not been checked there yet.\n- Free memory matters on this 1.8 GB set: a screen-mirroring app stuck at full CPU (AirScreen) had filled\n  RAM and swap and froze other apps before Afnon was installed.\n\n## Project layout\n\n```\napp\u002Fsrc\u002Fmain\u002Fjava\u002Ftv\u002Fafnon\u002Fhome\u002F\n  MainActivity        Home: clock, prayer row, favourites, radio pill and card, Inputs panel, focus map\n  Inputs              The TV's sources for the Inputs panel, and its own inputs screen\n  PrayerDayActivity   Today's prayers, Qibla dial, room direction\n  AllAppsActivity     Every app; hold OK to arrange favourites\n  SettingsActivity    On-TV settings (prayer, reminders, radio, display, network, device)\n  NowActivity         The call to prayer\n  AfnonDream          Screensaver\n  PrayerWatch         Reminders, banner and the call, run inside the accessibility service\n  RemoteKeys          Remote button mapping\n  TclKeys             The same buttons through TCL's own remapping, so held keys still repeat\n  Radio, RadioBars    Quran Radio player and its level bars\n  ScreenOffActivity   Screen off while listening (TCL Audio Only, or a black fallback)\n  Announce            The spoken reminder and «حان الآن موعد صلاة …»\n  PrayerDay, Prefs, Reminders, Adhans, Text, Tokens, Ui …\ninstaller\u002F            The phone app that installs and sets up Afnon over ADB (Finder, Adb, Tv, Setup, Personalise)\ntools\u002Fsetup-steps.txt What Afnon needs after install: one list for install.sh and the phone installer\ntools\u002Fclean-catalog.tsv  The cleanup list, built weekly from cleanyourtv by tools\u002Fgen-clean-catalog.py\ntools\u002F                install, restore, disable\u002Fenable, fetch-adhans, fetch-announce, screenshot\ndocs\u002Fscreenshots\u002F     the images above, all from the real TV\n```\n\n---\n\n\u003Cdiv dir=\"rtl\">\n\n## بالعربية\n\n**أفنون** شاشة رئيسية لتلفاز أندرويد، تبدأ من يوم الصلاة. الصلاة القادمة والعدّ التنازلي في قلب\nمحراب، ومواقيت اليوم الستة في الأعلى، وتطبيقاتك المفضلة تحتها. ويأتي الأذان إلى التلفاز وحده في وقته.\n\n- **مواقيت بلا إنترنت**: تُحسب على التلفاز نفسه، مع ٢٤٥ مدينة في ٤٥ دولة تُختار بالمنطقة ثم الدولة ثم المدينة، وعدة طرق حساب، والمذهب الشافعي أو الحنفي في\n  العصر، وتعديل التاريخ الهجري. التاريخ الهجري ووضع رمضان يعتمدان دائمًا على تقويم أم القرى، فإن اختلفت رؤية الهلال\n  المحلية (كما في الولايات المتحدة) فاضبط التعديل.\n- **القبلة واتجاه الغرفة**: اتجاه القبلة من مدينتك، وإعداد لمرة واحدة لاتجاه التلفاز، فتقول لك الشاشة\n  «القبلة خلفك».\n- **الأذان**: ١٦ صوتًا وأذان خاص للفجر. إن كان الصوت مكتومًا يرتفع للأذان ثم يعود كما كان.\n- **التنبيهات**: بطاقة على الرئيسية، أو شريط فوق التطبيقات الأخرى، قبل كل صلاة.\n- **الجمعة ورمضان**: تتغير الشاشة وحدها؛ الجمعة مكان الظهر مع تذكير بسورة الكهف، والإفطار والسحور في رمضان.\n- **إذاعة القرآن الكريم**: من القاهرة (٩٨٫٢ إف إم) افتراضيًا، بث مباشر، وأعمدة تتحرك مع صوت التلاوة نفسه. تتوقف\n  للأذان ثم تُستأنف، ويمكن إطفاء الشاشة أثناء الاستماع لتوفير الكهرباء. ومن الإعدادات ← الإذاعة ← المحطة:\n  إذاعات القرآن الكريم من نابلس وشباب إف إم وقطر وعُمان والأردن والسعودية، أو قناة أحد القرّاء العشرة على مدار الساعة.\n- **أزرار الريموت**: أزرار التطبيقات والإعدادات والمدخلات تعمل مع أفنون. والخدمة نفسها تأتي بالأذان، فإن\n  أوقف أحد تطبيقات التنظيف أفنون أعادت الشاشة الرئيسية تشغيلها.\n- **مصادر الإدخال**: زر في الرئيسية بجانب زر الوضع الليلي يفتح قائمة المصادر في التلفاز كما يفعل زر المصدر، لأجهزة التحكم التي ليس فيها هذا الزر. وإن لم تكن للتلفاز قائمة خاصة، يعرض أفنون المصادر بنفسه: قنوات التلفاز (الريسيفر المدمج) أولًا ثم منافذ HDMI.\n- **العربية أولًا**: من اليمين إلى اليسار، مع الإنجليزية، والأرقام عربية أو لاتينية.\n- **بلا حسابات ولا إعلانات ولا تتبّع**. الإذاعة وحدها تستخدم الإنترنت.\n\nللتثبيت حمّل ملف [`afnon.apk`](https:\u002F\u002Fgithub.com\u002Fegyjs\u002Fafnon-android-tv-launcher\u002Freleases\u002Flatest\u002Fdownload\u002Fafnon.apk) من صفحة الإصدارات، أو ابنِه من المصدر كما في قسم **Install** أعلاه. وللعودة إلى الشاشة الأصلية شغّل `tools\u002Frestore.sh` ثم أعد تشغيل\nالتلفاز. وبعد الانتهاء أغلق «تصحيح الأخطاء عبر الشبكة» في خيارات المطوّرين.\n\n\u003C\u002Fdiv>\n\n---\n\n## Credits\n\n- Prayer times: [adhan-java](https:\u002F\u002Fgithub.com\u002Fbatoulapps\u002Fadhan-java) (MIT) by Batoul Apps.\n- Adhan recordings: [abodehq\u002FAthan-MP3](https:\u002F\u002Fgithub.com\u002Fabodehq\u002FAthan-MP3). They are not in the\n  source; `fetch-adhans.sh` downloads them, and the release APK includes them with this credit. If you\n  hold the rights to a recording and want it removed, open an issue.\n- Radio: إذاعة القرآن الكريم, Cairo; Holy Quran Radio, Nablus; Shabab FM; Qatar's, Oman's and Jordan's Quran radios;\n  the Saudi Broadcasting Authority's Holy Quran Radio and Nida Al-Islam Radio; and\n  [mp3quran.net](https:\u002F\u002Fmp3quran.net)'s reciter channels, each via its own public stream. Afnon is not\n  affiliated with any of them.\n- Fonts: [Amiri](https:\u002F\u002Fgithub.com\u002Faliftype\u002Famiri), [Alexandria](https:\u002F\u002Ffonts.google.com\u002Fspecimen\u002FAlexandria)\n  and [Marcellus](https:\u002F\u002Ffonts.google.com\u002Fspecimen\u002FMarcellus), all under the SIL Open Font Licence.\n  See [THIRD_PARTY.md](THIRD_PARTY.md).\n- Started from [cleanyourtv](https:\u002F\u002Fgithub.com\u002FGathin23\u002Fcleanyourtv). Built with\n  [Claude Code](https:\u002F\u002Fclaude.com\u002Fclaude-code) on the real TV, screenshot by screenshot.\n\nContributions are welcome; see [CONTRIBUTING.md](CONTRIBUTING.md). Released under the\n[MIT licence](LICENSE).\n","Afnon 是一款专为穆斯林用户设计的 Android TV 离线启动器（Launcher），替代系统默认主页，提供以礼拜时间为中枢的沉浸式家庭屏幕体验。核心功能包括：离线获取全球245座城市的礼拜时间、实时朝向定位（Qibla）、16种唤礼声（Adhan\u002FAzan）可选、礼拜前提醒、斋月与主麻日专属模式、19个古兰经广播电台及诵读人频道；支持阿拉伯语（RTL）与英语双语界面，完全适配 Google TV 及 TCL 等主流 Android TV 设备，仅需遥控器方向键操作。适用于家庭电视场景中需要宗教生活集成、无网络依赖、简洁专注的穆斯林用户。","2026-11-24 04:53:36","CREATED_QUERY"]