[Oppo Realme 3 Guides, News, & Discussion] fawazahmed0:
ADB Fastboot and USB Drivers Installer:

https://xdaforums.com/android/general/tool-adb-fastboot-installer-tool-windows-t3999445

Root Guide:

https://xdaforums.com/realme-3/how-to/rooting-guide-realme-3-t3927028

Warning:

https://xdaforums.com/realme-3/how-...me-3-users-t3930142/post79525847#post79525847

Soft Brick/Infinite Boot loop Recovery Guide:

https://xdaforums.com/realme-3/how-to/realme-3-recover-soft-brick-boot-loop-t3920401

Important Files for this Phone:

https://xdaforums.com/realme-3/how-to/files-partition-dump-realme-3-t3931069

Fix Magisk Lagging issue:

https://xdaforums.com/android/development/magisk-lagging-issue-fix-t4012863

Kernel Sources Link:

https://xdaforums.com/realme-3/how-to/realme-3-kernel-sources-link-t3920396

Flashing GSI:

https://xdaforums.com/realme-3/how-to/flasing-gsi-realme-3-t3944026

Installing TWRP:

https://xdaforums.com/realme-3/development/screen-doesnt-twrp-realme-3-t3944022

Access Linux commands in TWRP:

https://xdaforums.com/android/general/complete-linux-environment-setup-twrp-t4013271

Access files using adb from pc in TWRP:

https://xdaforums.com/android/general/tool-adb-overlay-t3921133

Bootloader Unlock Guide:

https://xdaforums.com/realme-3/how-to/guide-bootloader-unlock-guide-realme-3-t3999463

How I got the partitions from this phone:

https://xdaforums.com/showpost.php?p=79793878&postcount=53

--------------------------------------------------------

How to recover this phone from hard brick(You have to do this before hard bricking your device ):

Note: This process is not tested yet, and probably will cause hard brick, but if this process is successful, then you will never hard brick your device again as you will be able to recover from any future hard brick.

The idea is, we can use miracle tool to recover realme U1 from hard brick phone, if we can flash preloaders from realme U1 into realme 3, I think this phone will also support recovery from hardbrick

1. You will have to flash the realme U1 preloaders into this phones preloader partition using fastboot:

https://mega.nz/folder/TVtXGK4R#szJzw48J8_k8PvH5u0y-nA

2. Whenever you are hard bricked, you can use miracle tool to recover:

https://mega.nz/file/T64CwapZ#MBAWc2PbQwlirPsev83vfxjfBQKPY8M0rIKkpP_bzz8

--------------------------------------------------------

Infinite Bootloop:

press power + vol up till blank screen, then leave the buttons quickly

now press power + vol down to boot to fastboot

----------------------------------------------------

Disable Software Update:

In lucky patcher, disable these packages:

Software Update Interface

Software Updates

System Upgrade Services

Update Service

.

-----------------------------------------------

Display and control device from pc:

https://github.com/Genymobile/scrcpy

----------------------------------------------

Fastboot Environment variable:

fastboot getvar all

(bootloader) max-download-size: 0x8000000
(bootloader) variant:
(bootloader) logical-block-size: 0x200
(bootloader) erase-block-size: 0x80000
(bootloader) hw-revision: ca00
(bootloader) battery-soc-ok: yes
(bootloader) battery-voltage: 4309mV
(bootloader) partition-size:flashinfo: 1000000
(bootloader) partition-type:flashinfo: raw data
(bootloader) partition-size:otp: 2b00000
(bootloader) partition-type:otp: raw data
(bootloader) partition-size:userdata: 5727fbe00
(bootloader) partition-type:userdata: ext4
(bootloader) partition-size:cache: 1b000000
(bootloader) partition-type:cache: ext4
(bootloader) partition-size:system: 123000000
(bootloader) partition-type:system: ext4
(bootloader) partition-size:vendor: 53000000
(bootloader) partition-type:vendor: ext4
(bootloader) partition-size:odm: 10000000
(bootloader) partition-type:odm: ext4
(bootloader) partition-size:tee2: c00000
(bootloader) partition-type:tee2: raw data
(bootloader) partition-size:tee1: 500000
(bootloader) partition-type:tee1: raw data
(bootloader) partition-size:dtbo: 1000000
(bootloader) partition-type:dtbo: raw data
(bootloader) partition-size:logo: 1000000
(bootloader) partition-type:logo: raw data
(bootloader) partition-size:boot: 2000000
(bootloader) partition-type:boot: raw data
(bootloader) partition-size:lk2: 500000
(bootloader) partition-type:lk2: raw data
(bootloader) partition-size:lk: 500000
(bootloader) partition-type:lk: raw data
(bootloader) partition-size:opporeserve3: 4000000
(bootloader) partition-type:opporeserve3: raw data
(bootloader) partition-size:nvram: 4000000
(bootloader) partition-type:nvram: raw data
(bootloader) partition-size:gz2: 1000000
(bootloader) partition-type:gz2: raw data
(bootloader) partition-size:gz1: 1000000
(bootloader) partition-type:gz1: raw data
(bootloader) partition-size:cam_vpu3: f00000
(bootloader) partition-type:cam_vpu3: raw data
(bootloader) partition-size:cam_vpu2: f00000
(bootloader) partition-type:cam_vpu2: raw data
(bootloader) partition-size:cam_vpu1: f00000
(bootloader) partition-type:cam_vpu1: raw data
(bootloader) partition-size:sspm_2: 100000
(bootloader) partition-type:sspm_2: raw data
(bootloader) partition-size:sspm_1: 100000
(bootloader) partition-type:sspm_1: raw data
(bootloader) partition-size:scp2: 600000
(bootloader) partition-type:scp2: raw data
(bootloader) partition-size:scp1: 600000
(bootloader) partition-type:scp1: raw data
(bootloader) partition-size:spmfw: 100000
(bootloader) partition-type:spmfw: raw data
(bootloader) partition-size:md1img: 6400000
(bootloader) partition-type:md1img: raw data
(bootloader) partition-size:proinfo: 300000
(bootloader) partition-type:proinfo: raw data
(bootloader) partition-size:sec1: 200000
(bootloader) partition-type:sec1: raw data
(bootloader) partition-size:persist: 3000000
(bootloader) partition-type:persist: ext4
(bootloader) partition-size:seccfg: 800000
(bootloader) partition-type:seccfg: raw data
(bootloader) partition-size:protect2: 878000
(bootloader) partition-type:protect2: ext4
(bootloader) partition-size:protect1: 800000
(bootloader) partition-type:protect1: ext4
(bootloader) partition-size:metadata: 2000000
(bootloader) partition-type:metadata: raw data
(bootloader) partition-size:nvdata: 4000000
(bootloader) partition-type:nvdata: ext4
(bootloader) partition-size:nvcfg: 2000000
(bootloader) partition-type:nvcfg: ext4
(bootloader) partition-size:frp: 100000
(bootloader) partition-type:frp: raw data
(bootloader) partition-size:expdb: 1400000
(bootloader) partition-type:expdb: raw data
(bootloader) partition-size:oppo_custom: 100000
(bootloader) partition-type:oppo_custom: raw data
(bootloader) partition-size:opporeserve2: 4000000
(bootloader) partition-type:opporeserve2: raw data
(bootloader) partition-size:opporeserve1: 800000
(bootloader) partition-type:opporeserve1: raw data
(bootloader) partition-size:para: 80000
(bootloader) partition-type:para: raw data
(bootloader) partition-size:recovery: 4000000
(bootloader) partition-type:recovery: raw data
(bootloader) partition-size:boot_para: 100000
(bootloader) partition-type:boot_para: raw data
(bootloader) partition-size:preloader: 80000
(bootloader) partition-type:preloader: raw data
(bootloader) serialno: FEGUFIK7IR8SAITC
(bootloader) off-mode-charge: 1
(bootloader) warranty: yes
(bootloader) unlocked: no
(bootloader) secure: yes
(bootloader) kernel: lk
(bootloader) product: oppo6771_18601
(bootloader) slot-count: 0
(bootloader) version-baseband: MOLY.LR12A.R2.PIE.RM.PR1.TC16.SP.V1.P4
(bootloader) version-bootloader: oppo6771_18601-a78000c-20190302181824-2
(bootloader) version-preloader:
(bootloader) version: 0.5
all: Done!!
Finished. Total time: 0.402s

------------------------------------------------------

Boot to recovery from fastboot:

fastboot oem reboot-recovery

-----------------------------------------------------

Patch android with smali patcher:

https://xdaforums.com/apps/magisk/module-smali-patcher-0-7-t3680053

-----------------------------------------------------

Fastboot commands:

Fastboot commands:

0x%X

getvar version

signature

flash:

erase:

continue

directing the bootloader to boot into os, also used when in bootloop,

reboot

reboot-bootloader

product

prints the product id, example for realme u1, it will print OPPO6771_18611

secure

unlocked

warranty

off mode charge status is out of boundary

download: max-download-size

Shows max size of partition that can be used for flashing

Fastboot OEM commands: (add fastboot at start of each command)

oem p2u

fastboot oem p2u on and fastboot oem p2u off, these enable or disable the redirection of Linux kernel messages to the UART.

oem reboot-recovery

reboots to recovery

oem off-mode-charge

Next, there’s the fastboot oem off-mode-charge (enable|disable) command. This command determines whether or not your device will automatically turn on when a power source is detected.

oem unlock

unlocks the bootloader (similar to oem unlock in developers option)

oem lock

locks the bootloader

oem key

oem lks

check bootloader lock or unlocked

flashing unlock

Allow flashing in partition

flashing lock

locks flashing in partition

flashing get_unlock_ability

checks whether oem is unlocked or locked

oem scp_status

oem scp_log_thru_ap_uart

oem mrdump

Maybe same as ramdump, dump ram data contents to sd card

https://www.xda-developers.com/how-to-discover-hidden-fastboot-commands/

---------------------------------------------------------------------------

Modes:

Downlaod or meta mode:

first power off

volup+vol down+connect the usb

or

first power off

connect your phone to pc and then press all buttons on phone together

REcovery mode:

(you can go, adb reboot recovery, or by fastboot boot recovery.img )any key combination, if fastboot flash is locked (or wait for sometime in bootloop, it will boot itself) (flash asop A/B version, it will boot to recovery), maybe also vol up+vol down + power

Fastboot mode: (to get out of fastboot, press power for sometime)

(will not work, if fastboot flash is locked )

vol down+power

To power off when stuck:

power + vol up

stuck in boot:

power+vol up (till the phone doesn't switch off)

Force power off:

power+ vol up

-------------------------------------

I am currently not doing any development for this phone, so I will not be replying to any of the realme 3 thread, I kindly request you to search all my threads for answer rather than asking questions.

I hope this will help someone who would like to develop something for this phone.