how to repair bootloop on oreo roms.

Rayekk

Senior Member
Oct 13, 2014
135
91
28
Hi, I created this thread because I noticed that more and more people are experiencing the bootloop after flashing gapps on rom 8.1.0 Oreo.

If you experience bootloop after installation oreo, just do everything according to the instructions.

What you will need:
- adb and fastboot,
- notepad++;

1. -- clean flash rom you want to install,
2. -- flash newest gapps ARM64, you can download it here - https://opengapps.org
3. -- don't start the device, in TWRP go to mount, and select "system",
4. -- connect your phone to your computer and run fastboot and adb as administrator,
5. -- type:
Code:
adb pull /system/build.prop
now in the folder with fastboot you will have the build.prop file,
6. -- open build.prop with Notepad ++ and find "ro.setupwizard.mode = OPTIONAL", replace it with "ro.setupwizard.mode = DISABLED" and save it,
7. -- now in fastboot type:
Code:
adb push build.prop /system/
adb shell
cd system
chmod 644 build.prop
8. -- reboot device.

now there will be no bootloop, but you will not see wizard setup, you have to configure the phone manually.
 
Last edited:

Rayekk

Senior Member
Oct 13, 2014
135
91
28
Most roms already have this fixed anyway, I haven't come across any that haven't yet.
Possible, but it does not happen to everyone, I, for example - I have this problem on AospExtended, FireHound and many other roms released after March, I have no idea why it is, most people do not have bootloops, but some people, including me, have problem, that's why it is better to have one guide here than on one of the pages of the topic of some rom.
 

diogofd8

Senior Member
Oct 28, 2012
384
53
0
Porto
With the recent AOSP Extended rom I still have this problem but changing the build prop doesn't work as it turns back to OPTIONAL on boot for some reason, any idea?

EDIT: changed from optional to disabled and it worked
 
Last edited: