vi/raiser
phone
phone, GTA 6 style illustration
Vaultadvancedphone

Smartphone OS Framework

ESX/QBCore/QBox phone shell, lockscreen, home grid, app drawer, notifications, settings, with server-owned per-citizen phone state that every other app rides on.

PRODUCTION-SHAPED, the reference Lua is validated and written framework-correct for ESX, QBCore, and QBox, ready to drop into your server.
Est. Lua
~101 loc
Claude
Claude Opus 4.x / Sonnet 4.x
Validation
syntax-validated
Updated
2026-06-25
Unlock price
$199Vault

Unlock all 510 prompts

Profit potential / mosaturated
$300($80 to $1,200)

$50-389 script band, sized for a saturated niche; top sellers clear around $11.85K/mo.

Effort vs return
advanced1-2 days

Description

The core phone shell, lockscreen, home grid, app drawer, notifications, and settings, that every other phone app docks into. It exists because servers want a phone they can extend without paying premium licensing, and a clean server-authoritative state layer is the moat that makes the rest of the ecosystem possible.

Prompt Template

You are writing a FiveM resource for a smartphone OS shell that runs with ESX, QBCore,…

🔒 Eyes-only, locked prompt body

The full prompt template and its reference Lua are part of a one-time pack. Pick your depth, both are lifetime access, no subscription, ever.

Core$49one-time
  • 60 prompts + syntax-validated reference Lua
  • Lifetime access, pay once
Most Popular · Best Value
Vault$199one-time
  • All 510 prompts, the full library
  • Per-prompt profit/trend intelligence (CSV + playbook)
  • Lifetime free updates, new niches as the market moves
Get the Vault, $199

$49 for 60 · $199 for all 510 + intelligence, one-time, no subscription.

Expected Output

The reference Lua lives at content/expected-outputs/phone/01-smartphone-os-framework.lua. It implements a wait-for-load open animation, an NUI focus toggle, and a server-owned Phones[src] record…

🔒 Eyes-only, locked prompt body

The full prompt template and its reference Lua are part of a one-time pack. Pick your depth, both are lifetime access, no subscription, ever.

Core$49one-time
  • 60 prompts + syntax-validated reference Lua
  • Lifetime access, pay once
Most Popular · Best Value
Vault$199one-time
  • All 510 prompts, the full library
  • Per-prompt profit/trend intelligence (CSV + playbook)
  • Lifetime free updates, new niches as the market moves
Get the Vault, $199

$49 for 60 · $199 for all 510 + intelligence, one-time, no subscription.

Known Failure Modes & Corrective Prompt

  • Client-held state, keeping apps/unread/settings client-side lets a player fake installs and unread; the record must live on the server and sync down.
  • Anim plays before load, TaskPlayAnim before the dict loads snaps the ped with no prop; wait for HasAnimDictLoaded.
  • Fire-and-forget notifications, a one-way client event with no server record desyncs unread across relogs; mutate the record then re-sync.

Corrective re-prompt: "Move Phones[src] entirely to server.lua and sync via phoneOs:syncState, wrap the open animation in a RequestAnimDict + HasAnimDictLoaded wait loop, and make phoneOs:pushNotification mutate the server record before re-syncing the target."

Framework Integration

  • ESX: ESX = exports['es_extended']:getSharedObject(); key Phones by xPlayer.identifier so state survives a relog.
  • QBCore: QBCore = exports['qb-core']:GetCoreObject(); key by Player.PlayerData.citizenid and persist via a phones table.
  • QBox: exports.qbx_core:GetPlayer(src); same citizenid keying, load on playerLoaded and flush on drop.

Profit Potential

$80-$1200/mo on Tebex (expected ~$300), priced within the $50-389 script band against a corpus of comparable Tebex sellers (median ~$11.85K/mo), scaled down for a saturated niche.

Trend Signal

saturated, corpus: Tebex top-100 (demand-signal source) shows full-phone OS dominated by a premium incumbent; vast TAM but hard to displace. MASTER-200 id-112 anchor (MASTER-200.md:219).

Sales Angle

Open, hackable phone shell for servers that refuse the premium incumbent's licensing, positioned as the dev-friendly base every custom app docks into, not a head-on feature war. Recommended Tebex price $129.

Difficulty & Ship Time

advanced · ships in 1-2 days.