yashsingh1/xdaforums huggingface dataset:
[OnePlus 3 Questions & Answers] arthritis:
Hi, OP here. Thanks for this guide.

Unfortunately, it did not work out for me.

Take nandroid of all options available except system image. (system, data, bootloader, firmware, efs, etc.) on nougat twrp.

Done

Do factory reset(wipe everything except internal storage)

Wiped fine although I got an error of not being able to wipe 'USB-OTG' or whatever it's called. I ignored it and moved on.

then flash oreo twrp image.

I googled oreo twrp image and got an img file with filename "TWRP-Oreo-OnePlus-3-3T". When I installed the img, it asked the options to choose Boot, System, or Recovery - so I chose System.

Then I rebooted and went back to recovery.

Flash oreo stock zip

flash oreo twrp image

Done

reboot to recovery(this time the device will get stuck with a black screen and white LED). Don't panic, just force reboot the device and go to recovery again to flash magisk/supersu.

This is where it ends. I get stuck at the OnePlus loading screen and forced reboot into twrp and flashed magisk. Once I boot up the OS, I get stuck at the OnePlus logo and that's it.

I actually re-did ALL of the steps again (in case I made a mistake) and still, the same issue. No progression.

Once I gave up on Oreo, I decided to go restore my nandroid

Reboot to recovery. Perform factory reset as mentioned above.

Wiped

Restore everything except bootloader, cache and dalvik cache

Here's the issue:

I press Restore (I uncheck both bootloader and cache, but there's no option for a specific dalvik cache- unless I'm not looking hard enough?) and I get the 255 Error.

Flash nougat twrp recovery. Reboot to system.

I tried to ignore that error and flash the twrp recovery.

Rebooted and it took me to fastboot. Regardless of I keep trying to reboot system it won't work.

I actually made two separate nandroid backups (the same 'everything except system image' as you've described) in case one of the backups was corrupted. Both backups ended up with the same error.

I got too tired of all these errors and just found a stock recovery and ROM and flashed it back. Now, all my apps and settings are gone. To be honest, I just want my phone back to where it was with Nougat.

Can anyone assist me?
[OnePlus 3 Questions & Answers] sqlpro:
[MENTION=4853489]maxs8007[/MENTION], Like I said I did that already but nope still same issue. It wouldn't let me do matter what I did.

---------- Post added at 04:59 AM ---------- Previous post was at 04:54 AM ----------

Buddy from my experience the whole thing too finicky and am thinking just factory reset and stick with stock rom. I wasted so much time already. Everytime I get different error, probably recoveries still not fully compatible with Oreo.
[OnePlus 3 Questions & Answers] maxs8007:
Could you please tell me what error you get on the lock screen? Could you post an image so that I can get a better idea of what's happening with your device? Also could you please confirm which files have you deleted? This time you need to delete 5 files which are related to lock screen setting and those are the only files responsible for lock settings on the device. I'm somewhat confused because I never ran into such issue while I did the oreo thing

If you have decided to flash stock then just make a backup of data partition so that you won't loose your data and you can easily restore it via twrp.

---------- Post added at 01:06 AM ---------- Previous post was at 12:42 AM ----------

I read the entire post and here what I've to say. The above quoted steps is where you went wrong. The recovery needs to to be flashed as a recovery and not as system.

In your case the nougat recovery was never replaced with the oreo recovery because you flashed it as a system. This is where it went wrong. Sorry for the dalvik cache and USB - otg, I didn't mentioned about them. Those are the least important points in flashing though I should have mentioned that already

The next thing you mentioned is you went back to recovery which at that moment was nougat recovery and not oreo recovery. I'll link the modded recovery I used for oreo below

The next thing you did is you flashed oreo zip and again flashed the oreo recovery but as you flashed the recovery as system, the oreo stock rom was automatically replaced with recovery because you flashed it as system and the device didn't boot because there was no android OS to boot up

You got stuck on oneplus boot up screen. (this was going to happen because of the same flashing error at your end).

You were unable to boot back to nougat as well because of the same issue.. Never flash the recovery as system. This won't let you boot the device.

To restore your nandroid backup just follow the steps below

As you confirmed you booted to stock rom with a stock recovery.

Flash nougat twrp via fastboot

Boot back to the twrp recovery and restore the nandroid backup and you are good to go

---------- Post added at 01:18 AM ---------- Previous post was at 01:06 AM ----------

I'll make a video in my free time to help you guys with the steps that I've followed to flash oreo rom and how i came back to nougat successfully.
[OnePlus 3 Questions & Answers] sqlpro:
Hello [MENTION=4853489]maxs8007[/MENTION]

Sorry I didn't have any screen shots of the prompt and finally I was fed up with the whole process and had to switch back to oreo stock rom.

Login prompt I was referring to was standard pin required load android. Black background with only pin entry.

BTW I tried blu twrp recovery oreo version and nougat version.

What's interesting is, after several failed attempts it said I got 10 more tries before phone wiped out but after 10 attempts it started counting backwards from zero, - 1,-2 etc., finally I had to flash stock recovery via fastboot and selected forgot password option which reset my phone.

BTW I have deleted all those files from data/system I found another thread but no dice.

Thank you for trying to help us all.
[OnePlus 3 Questions & Answers] Hellyeah7721:
[MENTION=4853489]maxs8007[/MENTION] followed your steps. Booted to oreo, didn't felt as stable as nougat then booted back to nougat. You saved me. Thanks.
[OnePlus 3 Questions & Answers] maxs8007:
I'm sorry that I was unable to help you. The thing is I never used the pin prompt to load android because I reboot too often to flash things via recovery and its too much of a hassle to enter the pin everytime the device is booted and I think it's too much to a security for a android device when there's already a lock screen present once booted to secure the device.

Please don't put the pin entry to load android next time if you flash stuff regularly. It will save you the hassle of going back to stock rom and recovery when something like this ever happens again. The files which I told you to delete in the image I posted above remove the lock screen protection completely

The login pin at the boot to load android was implemented to avoid unauthorized access to the device in case it gets stolen or lost.
[OnePlus 3 Questions & Answers] sqlpro:
Frankly no clue why deleting those files didn't reset my pins and I even deleted gatekeeper files too.

Maybe these are lock screen key files and android boot prompt stored somewhere else. Not sure though.
[OnePlus 3 Questions & Answers] maxs8007:
Yes you are right. Don't set pin to load android. It's too much of a hassle. Lockscreen protection is enough for day to day usage. Deleting the files which I mentioned only resets the lockscreen protection and doesn't have any affect on the boot pin to load android. You should avoid using that or else you'll need to reflash stock rom everytime if anything goes wrong in the future.
[OnePlus 3 Questions & Answers] arthritis:
Thank you. I got Oreo working now but haven't tested restoring nougat.
[OnePlus 3 Questions & Answers] maxs8007:
Thanks for the confirmation. You'll not face any issue if you wish to restore nougat by following the steps I mentioned.
[OnePlus 3 Questions & Answers] sqlpro:
Hi [MENTION=4853489]maxs8007[/MENTION]

really not happy with Stock Oreo and want to try again restoring back to my nougat backup (PureFusion), any suggestions ?

is it ok if i stick to blu spark recovery for restore nougat rom. am referring to oreo compatible blu spark recovery. you recommend something else ?

BTW as mentioned the other day i had to factory reset, currently stock OSS Oreo.

Thanks for the advise.
[OnePlus 3 Questions & Answers] maxs8007:
You can use the oreo recovery to restore the nougat backup just make sure you restore the entire backup (system, data, boot, efs, etc) and then flash the nougat Os(pure fusion) without a reboot and you are good to go..
[OnePlus 3 Questions & Answers] thez3ro:
make sure to remove screen lock and your fingerprint before nandroid backup. my backup got so messed up that after restore i had the password problem described above (encountered it before and solved it easy)but this time i could not find files with .key extension.
[OnePlus 3 Questions & Answers] sqlpro:
Did you have Android boot password by any chance? I experienced same problem as you and had boot password. I am thinking that's the culprit.
[OnePlus 3 Questions & Answers] thez3ro:
I had it disabed but it somehow enabled itself again after restore. So i figured out its best to backup after removing all the passwords and fingerprint.
[Samsung Galaxy J5 Questions & Answers] u2020bullet:
So my sister managed to destroy the screen on her J5 (J500FN) and we sent it in for servicing, but they said there was a "software problem". But according to some research i did it somehow got hard bricked. I'm assuming it's something they did as the phone was fully functional (software wise) before going in for a screen replacement.

So i'm wondering, is it possible to restore the software to working condition without a screen (which also means i don't have a home button)? My computer sees it as "Qualcomm HS-USB QDLoader9008" and adb doesn't recognize it at all.
[Samsung Galaxy J5 Questions & Answers] theashleyd123:
Does Odin mode boot?
[Samsung Galaxy J5 Questions & Answers] u2020bullet:
No idea. With no screen all i could do was try to blind boot it (home button works even though there isn't an actual screen and an actual button on it) by pressing volume down + home + power and then i pressed volume up in case it needed confirmation. Needless to say odin had no reaction whatsoever.

EDIT: Oh yeah, forgot to mention, the phone doesn't vibrate when i press and hold the power button at all, and as far as i remember, most modern phones do that when being turned on.
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] masterdex:
I just installed the rom stock, I would love to try it .....

Inviato dal mio Moto G (5) utilizzando Tapatalk
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] infixremix:
Great work , shame more people didn't use ! Please don't report it doesn't boot if u have dirty flashed over n!
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] Vinny Miguel:
Great work
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] Cricamju:
Wow, Oreo!!!

I'm gonna try :p ❤️
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] GuestK0015:
Wow amazing well done!
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] MattJaO3D:
Woo hoo, which gapps is best , 8 or 7 , cheers
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] jobinrjohnson:
You have to use opengapps 8.0
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] MattJaO3D:
I done a full wipe using official twrp , flashed ROM plus 8.0 stock gapps but keep bumping into enter password after boot ? What have I done wrong , thx
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] jobinrjohnson:
Use format option on recovery instead of wipe. You may get an error. Retry it.

https://xdaforums.com/g5/development/official-twrp-3-1-1-0-moto-g5-t3699737/post74637485
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] TheFixItMan:
I got round it by formatting everything including userdata (internal storage)

Flashing lineageos 14.1 & booting fully

Once encryption has been removed you can then flash the oreo rom - you can encrypt again once you have booted oreo

Took me a few attempts but until you get encryption removed from the nougat rom the oreo rom won't boot
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] wes92i:
Hmmmm is Bluetooth working
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] ATechnoHazard:
Everything hardware related is working. Maybe a few software bugs because Los is still WIP
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] Jonas27M:
The warning when inserting the memory card (SD) does not come out ... How to solve it?
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] denisf1981:
tks, good job
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] Matsilagi:
Got it working here.

Most of it works fine, the only thing sort of working is the camera (Not working on Google and Moto Cameras, working partially on Camera2 app [Only Frontal camera works] and working fully on Color Picker camera (which doesnt take pics)).

Aside from that, everything else seems ok, battery like seems like it will be better than Nougat roms. Nice work!
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] TheFixItMan:
im using lineage 15 (to which I presume this is based on)

I use open camera and both front and rear camera works perfectly fine
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] Matsilagi:
Hmm, open camera worked, thanks a lot!
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] AsusZenFone3Deluxe:
where rom link?
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] TheFixItMan:
Ironically on the first post under where it says Download Links - who would have thought it?!
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] Cleiton15755:
Device Reboot

The device restarts when the screen goes into portrait mode in some games. Ex clash of clans and 8-ball pool
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] alessandro-villa:
I installed the rom on Saturday, very good rom, best battery in custom rom so far ....

Is the available moto camera application ported for android 8?

I'm from Brazil, sorry my English.
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] ATechnoHazard:
No, unfortunately Moto camera gives force close. This is an issue with all oreo ROMs for cedric. For now, I recommend using the Snap camera which is installed by default.
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] ATechnoHazard:
Okay, can you please provide a logcat? preferably less than 500kb in size
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] alessandro-villa:
I'm using Opencamera apk, I like it until I leave moto camera for oreo
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] guiperriraz:
Digital sensor

I would like to report a bug. In the option of using the digital sensor as a navigator, the left and right sliding functions are reversed. Thanks for the great work. My way of contributing is by reporting what I perceive wrong. Greetings.
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] m-rufflesmcghie:
This is a known LOS bug should be sorted with next update :)
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] woozie.2007:
can be set different ringtones for every sim? thanks
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] AsusZenFone3Deluxe:
flash rom encryrpt data wipe data cache system and flash dot os and go to recovery and wipe system data cache and flash colt os 2.0 but my data encrypt .Please help me
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] TheFixItMan:
You need to format data not wipe data from the wipe menu
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] AsusZenFone3Deluxe:
good rom but have any bugs

Bugs:Battery led of but everytime led is open

2:SD Card notification

3:I think stock lineage camera is bad you need change camera app
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] p8tgames:
Thats a User opinion. We cant Change source, eh

You can Install one for yourself too.
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] basem bebarse:
the internet speed is too slow on this ROM
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] ATechnoHazard:
Get better wifi. And don't watch too much p*** otherwise FUP sets in.
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] woozie.2007:
Hi, i flashed this rom last week, but i have a problem with the camera. After the first photo, the phone remains stuck, i cannot use it untill i restarted, or remove battery. Is any solutuon for this issue please? Thanks
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] Aneuryst:
Are you 14?
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] ATechnoHazard:
No, but I'm mildly annoyed that non-build related matters are being posted. It CANNOT be a ROM issue; you'd understand too if you maybe knew how Android works.
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] ATechnoHazard:
Yes this problem has been solved, I will post an update soon with the fix :)
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] Aneuryst:
Sorry what's android?
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] :
Please stop being annoying! I found out that annoying the Devs is the worst thing you could do! Please stop! Thanks!
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] Aneuryst:
---------- Post added at 10:56 PM ---------- Previous post was at 10:48 PM ----------

[/COLOR]

What an the Devs have an excuse to be annoying by making snarky remarks like that?? Yeah they develop free ROMs for us to use and yeah people asking stupid questions is annoying but remarks like that are unnecessary and unprofessional and arrogant. Sad to see.
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] woozie.2007:
thank you, i'll waiting
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] NM99:
Two questions:

1. What are the root options for this ROM?

2. To install Viper4Android, what is recommended?
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] TheFixItMan:
1 - Magisk

2 - Download the Viper4android magisk module from the magisk manager app

I have tested both on lineageos 15 & works perfectly - I assume it would be the same here
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] NM99:
Will try! Magisk I know it works from other Oreo ROM, but I never heard of the module.
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] p8tgames:
Aaron, you are not better than him.
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] :
I know but didn't want him to annoy the Devs like I did! ?
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] NM99:
It worked! Thanks for always helping me out here in the G5 forums haha
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] T0M4N4NDR34S:
I've flashed the ROM and it is working great, minus some buggs (but I'm still very happy with it ofcourse :)).

Both of the preinstalled camera apps (there were 2 already installed on its own) don't work, but the camera works on Snapchat and Messenger. I've also heard that this has been a glitch for almost all Android 8 Oreo based ROM's that are made for the G5. I didn't try to use another app at the time.

Second bugg, most apps (including chrome and settings) make my device do a soft reboot when interacting with it in landscape mode. The reboot only takes about 10 - 15 seconds, so no harm there, but I still lose all of the I've locked my screen rotation now.

Lastly, the SD card notification is stuck. (This has also been mentioned before on this forum)

Are there any ways to fix any of the mentioned buggs? Other than that, it's a great ROM! I've noticed better battery life, better RAM usage, etc.
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] vollknorke1337:
Hi,

nice ROM. Will use it from now on.

A few questions/notes:

1. There is a small line at the top left corner of the screen. Is this the stucking SD card notification you're all speaking from?

2. I tried to move the clock from right to left in the system settings, but that doesn't works. Howto?

3. ROM lags a lot while scrolling, e.g. apps overview.
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] ATechnoHazard:
For lags, are you using magisk? Because magisk messes with the zygote process, and you WILL face lags on first boot. However, lags went away from second boot onwards
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] vollknorke1337:
Hi ATechnoHazard,

thank you for the fast reply.

Yes, I use Magisk, but I rebotted the device several times already due to testing. Lags don't went away. Can't explain why.

Forget that note with the small bar at the top of the screen - this was the battery bar.

Still the question, how to move the clock from right to left.
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] ATechnoHazard:
Okay, I don't know about the lag, for me it goes away; as to moving the clock, explore the statusbar options a bit, it's in there somewhere
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] NM99:
Strangely, I'm getting battery drain... lost 8% in the last 30 minutes.
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] DoobyDroid:
While I'm not new to messing with phones but I'm struggling to install twrp and this rom , after unlock bootloader and when flash twrp it looks as if failed as can't boot to twrp without fastboot command or selecting recovery in fastboot menu once in twrp I formatted not wipe and installed rom and gapps after completion phone just always boots into twrp never os unless select factory mode in fastboot menus then rom loads and works but no SIM service , seems to have issue with encryption when install twrp to , had to end up going throw long process of fastboot commands to flash back stock and have working phone , dual SIM 3GB model G5 Unlocked , Any advice what doing wrong Lol ,Tia
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] ATechnoHazard:
Well, can't really say what you're doing wrong, but there's a solution to the booting into twrp issue, you can find it here. Cheers!

Afaik nothing bugged with sim services.
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] DoobyDroid:
I know it's me doing summit wrong not have same issue on my G4 twrp working and running lineage , just struggling figure G5 , will take a look cheers
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] woozie.2007:
every day i get many randomly restart, maybe the next version will be better, with camera fix of course :)
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] vollknorke1337:
So I flashed again your ROM without magisk, now there aren't any lags.

But the installation of SuperSU zip via TWRP doesn't work. It's undetected, and SuperSU app doesn't appear.
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] DoobyDroid:
Thank managed to sort twrp didn't flash encryption zip lol flashed ROM and gapps all good so far
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] dattebayorob:
Show!

Magnific!
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] :
I really want to use this ROM but the camera issue is still there!? Not trying to be rude!
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] m-rufflesmcghie:
Camera will be fixed in next update afaik think it has only been fixed on LOS which this is based. I have same issue using PE :)
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] :
Okay! Brilliant! Can't wait to use this ROM again. It's truly the best!
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] DoobyDroid:
Why some have issues with cam mines worked fine from start ,
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] :
No idea!? Mine didn't work even once!
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] DoobyDroid:
That's strange lol
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] :
What device? You probably have a different type? Maybe... I don't know ??
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] DoobyDroid:
G5 dual sim 3GB version
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] :
Yeah different from mine! That might be why?
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] DoobyDroid:
Could be suppose