# 🚀 Getting Started - Building RR3 Community APK
**Welcome!** This guide will walk you through building a modified Real Racing 3 APK that connects to community servers.
---
## 📋 Prerequisites
### What You Need
1. **Original RR3 APK** (v15.0.0 or similar)
- Extract from your Android device
- Or download from APK mirror sites
- File: `realracing3.apk` or `com.ea.games.r3_row.apk`
2. **Windows PC** with PowerShell
- Windows 10/11 recommended
- PowerShell 5.1+ (comes with Windows)
3. **Java Development Kit (JDK)**
- Version 8 or higher
- Download: https://adoptium.net/
4. **15-20 minutes** of your time ☕
---
## ⚡ Quick Start (Easiest Method)
### Step 1: Clone This Repository
```powershell
git clone https://gitea.barrer.net/project-real-resurrection-3/rr3-apk.git
cd rr3-apk
```
Or download as ZIP and extract.
### Step 2: Place Original APK
Copy your original RR3 APK to the project folder:
```
rr3-apk/
├── realracing3.apk ← Place your APK here
├── RR3-Community-Mod.ps1
└── ...
```
### Step 3: Run the Build Script
**Option A - Connect to Your Server:**
```powershell
.\RR3-Community-Mod.ps1 -ServerUrl "http://your-server-ip:5001"
```
**Option B - Add Server Browser UI:**
```powershell
.\RR3-Server-Browser-Installer.ps1 -ApkPath "realracing3.apk"
```
**Option C - Default Local Server:**
```powershell
.\RR3-Community-Mod.ps1 -ServerUrl "http://localhost:5001"
```
### Step 4: Install on Android Device
1. Enable **USB Debugging** on your Android device:
- Settings → About Phone → Tap "Build Number" 7 times
- Settings → Developer Options → Enable USB Debugging
2. Connect device to PC via USB
3. Install the APK:
```powershell
adb install -r RR3-v15.0.0-community-alpha.apk
```
Or transfer the APK to your device and install manually.
### Step 5: Launch & Play! 🎮
The game will now connect to your community server instead of EA's servers!
---
## 📚 Detailed Manual Build Process
If you prefer to understand each step or the scripts don't work, follow the manual process:
### 1. Install Required Tools
**Java JDK:**
```powershell
# Check if Java is installed
java -version
# If not installed, download from:
# https://adoptium.net/temurin/releases/
```
**APKTool:**
```powershell
# Download apktool from:
# https://ibotpeaches.github.io/Apktool/
# Place apktool.bat and apktool.jar in:
# C:\Windows\
```
**Uber APK Signer:**
```powershell
# Download from:
# https://github.com/patrickfav/uber-apk-signer/releases
# Place uber-apk-signer.jar in project folder
```
### 2. Decompile APK
```powershell
apktool d realracing3.apk -o rr3-decompiled
```
This creates a folder `rr3-decompiled` with all APK contents.
### 3. Modify AndroidManifest.xml
Open `rr3-decompiled/AndroidManifest.xml` and find this section:
```xml
```
**Change to:**
```xml
```
**Also add this to the `` tag:**
```xml
```
---
## 🆘 Getting Help
**If you're stuck:**
1. Check the [Issues](https://gitea.barrer.net/project-real-resurrection-3/rr3-apk/issues) page
2. Read the detailed guides in the `docs/` folder
3. Check server logs for connection errors
4. Use `adb logcat` to see Android logs
**When asking for help, include:**
- Android version
- APK build command you used
- Error message (full text)
- Server URL you're connecting to
---
## 🎉 Success!
If you successfully built and installed the APK:
1. **Star this repository** ⭐
2. **Share with the community** 🎮
3. **Report any bugs** you find 🐛
4. **Consider contributing** improvements 💪
---
## 📜 Legal Notice
This project is for **educational purposes** and **game preservation** only. Real Racing 3 is owned by Electronic Arts (EA). This tool is intended for:
- Running private servers after official servers shut down
- Educational analysis of Android APK structure
- Game preservation efforts
- Personal offline play
**Not intended for:**
- Piracy or unauthorized distribution
- Circumventing in-app purchases
- Online cheating or hacking
- Commercial use
Use responsibly! 🙏
---
## ✅ Quick Checklist
Before building, make sure you have:
- [ ] Original RR3 APK file
- [ ] Java JDK installed (`java -version` works)
- [ ] APKTool installed
- [ ] Uber APK Signer downloaded
- [ ] USB Debugging enabled on Android device
- [ ] Server running (if testing connection)
- [ ] 15-20 minutes of time
Then run:
```powershell
.\RR3-Community-Mod.ps1 -ServerUrl "http://your-server:5001"
```
---
**Happy Racing! 🏎️💨**
*Last Updated: February 20, 2026*
*Version: v14 (Android 16 Compatible)*