34

[RECOVERY][UNOFFICIAL] ORANGEFOX RECOVERY PROJECT for OnePlus Nord (avicii) - R1...

 1 year ago
source link: https://forum.xda-developers.com/t/recovery-unofficial-orangefox-recovery-project-for-oneplus-nord-avicii-r11-1.4518289/page-2#post-87996039
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.
neoserver,ios ssh client

[RECOVERY][UNOFFICIAL] ORANGEFOX RECOVERY PROJECT for OnePlus Nord (avicii)

Sreeshankar K

Member
Sep 26, 2021
Tried out the new OOS12 option, works like a charm! Both the img and the zip!
I haven't tested everything but decryption, usb mounting, usb_otg, backups, sideloading and a lot more works perfectly!

I did encounter a bug tho, after trying out a few features, my filesystem appeared encrypted, with gibberish names for the folders and files
Fortunately it didn't affect anything and a reboot fixed everything 👍

Finally a proper working recovery for the Nord!

"I did encounter a bug tho, after trying out a few features, my filesystem appeared encrypted, with gibberish names for the folders and files
Fortunately it didn't affect anything and a reboot fixed everything 👍"

This is bcoz your data partition is not decrypted. Decrypt it using your rom password then everything will be normal. That's not a bug... Bug is in the restoration of backuped data. Actually not a bug. Didn't found a fully working way.
Need to find a perfect way to restore. OOS12 data restore is bit painful.
Take a look on data backup and restore
if you are free
Thank you

Reactions: WORMSTweaker

Sreeshankar K

Member
Sep 26, 2021
Isn't "For Stock Roms (Oxygen OS and Color OS) & FBEv1 Custom Roms" a bit misleading then? Since it mention OOS and it being "For Stock Roms"

R11.1_2_FBEv1 will support OOS11,but data decryption won't work, all the customs roms available now is based on OOS11 firmware, OOS12 was released with the collabration with OPPO, so many configurations had been change since the collabration. So, OOS11 is pure OnePlus firmware and OOS12 is OPLUS (OnePlus + OPPO) firmware.

Last edited: Jan 6, 2023

Sreeshankar K

Member
Sep 26, 2021
Can you do one for a12 coloros?

Check OOS12 new variant

trefiesnaj

Member
Sep 30, 2012
Hello, it is possible to use this recovery with Superior OS 13 for OnePlus Nord?
Thank you
Hello, it is possible to use this recovery with Superior OS 13 for OnePlus Nord?
Thank you

Try to see on the release post of Superior OS if this rom is a FBEv1 rom or a FBEv2, and just to make sure, go into fastboot, and boot (not flash) the corresponding .img file. If it is the correct type of recovery for your rom, you should be able to decrypt your data partition, and correctly see all the other partitions of your device.

Sreeshankar K

Member
Sep 26, 2021
Hello, it is possible to use this recovery with Superior OS 13 for OnePlus Nord?
Thank you

Use FBEv2 variant

kidronvalley

Member
Apr 20, 2012
@shresthaarun

Great job, but,
bad news, phone SW bricked.

- I upgraded my AC2003 stock rom until OOS Android 12.1.
- Used fastboot
"flash recovery_a OrangeFox-R11.1_3_OOS12-Unofficial-avicii.img"
"flash recovery_b OrangeFox-R11.1_3_OOS12-Unofficial-avicii.img"

After this, for some reason, boot partition seems damaged, can't reboot.

Will retry, since Orangefox is a great recovery.

Some questions:
- device is A/B, why recovery partitions recovery_a and recovery_b are still there ? Shouldn't be removed from a/b layouts ?

- shouldn't recovery be added to boot partition ?

Thanks

Sreeshankar K

Member
Sep 26, 2021
@shresthaarun

Great job, but,
bad news, phone SW bricked.

- I upgraded my AC2003 stock rom until OOS Android 12.1.
- Used fastboot
"flash recovery_a OrangeFox-R11.1_3_OOS12-Unofficial-avicii.img"
"flash recovery_b OrangeFox-R11.1_3_OOS12-Unofficial-avicii.img"

After this, for some reason, boot partition seems damaged, can't reboot.

Will retry, since Orangefox is a great recovery.

Some questions:
- device is A/B, why recovery partitions recovery_a and recovery_b are still there ? Shouldn't be removed from a/b layouts ?

- shouldn't recovery be added to boot partition ?

Thanks

OnePlus Nord is an A/B device with recovery partition.
So recovery is not added to boot partition.
Sorry to hear that....
I used AC2001 kernel, dtb and dtbo images. I guess but it won't make any issue with AC2003 firmware. Because kernel source is common for both AC2001 and AC2003.
On the next try first do a "fastboot boot"

Sreeshankar K

Member
Sep 26, 2021
@shresthaarun

Great job, but,
bad news, phone SW bricked.

- I upgraded my AC2003 stock rom until OOS Android 12.1.
- Used fastboot
"flash recovery_a OrangeFox-R11.1_3_OOS12-Unofficial-avicii.img"
"flash recovery_b OrangeFox-R11.1_3_OOS12-Unofficial-avicii.img"

After this, for some reason, boot partition seems damaged, can't reboot.

Will retry, since Orangefox is a great recovery.

Some questions:
- device is A/B, why recovery partitions recovery_a and recovery_b are still there ? Shouldn't be removed from a/b layouts ?

- shouldn't recovery be added to boot partition ?

Thanks

And on which slot u have OOS12? Bcoz it will have issue if there is a rom that is not based on OOS12 firmware. Did u flashed to both slots? Next time do a "fastboot boot". After every thing is going well. Do flashing.

kidronvalley

Member
Apr 20, 2012
@Sreeshankar K (sorry @shresthaarun )

Thanks a lot for your prompt reply.

From what i remember, i initially flashed to recovery_a and revocery_b the wrong OrangeFox, the R11_1.2, then, once phone was stuck into bootloop, i relaized this and flashed 1.3, maybe too late. Or maybe, it was not the main issue.

While working in the garden i rolled back the phone to 12.1, by stock fw upgrades from 10.
Before re-trying i'll try to do a full backup and wait a bit for your instructions.

Acvtually:
I am at
OxygenOS 12.1 | Android12 | AC2003_11_F17

Current lot looks like "b"
[cache_key.telephony.get_slot_index]: [-478093710213194745]
[ro.boot.slot_suffix]: [_b]
[ro.telephony.sim_slots.count]: [2]

Attachments

  • props-orig.txt
    48.5 KB · Views: 1

Sreeshankar K

Member
Sep 26, 2021
@Sreeshankar K (sorry @shresthaarun )

Thanks a lot for your prompt reply.

From what i remember, i initially flashed to recovery_a and revocery_b the wrong OrangeFox, the R11_1.2, then, once phone was stuck into bootloop, i relaized this and flashed 1.3, maybe too late. Or maybe, it was not the main issue.

While working in the garden i rolled back the phone to 12.1, by stock fw upgrades from 10.
Before re-trying i'll try to do a full backup and wait a bit for your instructions.

Acvtually:
I am at
OxygenOS 12.1 | Android12 | AC2003_11_F17

Current lot looks like "b"
[cache_key.telephony.get_slot_index]: [-478093710213194745]
[ro.boot.slot_suffix]: [_b]
[ro.telephony.sim_slots.count]: [2]

Seems like the flashing of variant other than OOS12 variant destroyed your recovery partition. So, even after flashing correct OOS12 variant. Since the partition is destroyed, it won't boot.

kidronvalley

Member
Apr 20, 2012
@Sreeshankar K

Still thanks for following.
Strange the device is a/b with recovery, looks kind of exception to the aosp documentation. Anyway.

Proceeding carefully now, a first strange thing i am noticing:

after "fastboot flashing unlock" seems device rebooted in the other slot, but, mm, looks like i am still in b ... .
On "b" the Version is set at previous update, 12 and not 12.1. quite strange.

Did a "fastboot boot OrangeFox-R11.1_3_OOS12-Unofficial-avicii.img" and asked reboot from slot a, slot a actually bootloops.

Did a "fastboot boot OrangeFox-R11.1_3_OOS12-Unofficial-avicii.img" and asked reboot from slot b, slot b is actually back to 12.1 ... mistery.

Btw, now finally i could backup
boot.img
super.img
system.img
vendor.img
product.img

Feel a bit more safe now.
Flashed OrangeFox from zip. seems all ok

Top Liked Posts

  • It is bcoz, OOS12 firmware doesn't support other custom kernels, firmwares etc

    Isn't "For Stock Roms (Oxygen OS and Color OS) & FBEv1 Custom Roms" a bit misleading then? Since it mention OOS and it being "For Stock Roms"

    Tried out the new OOS12 option, works like a charm! Both the img and the zip!
    I haven't tested everything but decryption, usb mounting, usb_otg, backups, sideloading and a lot more works perfectly!

    I did encounter a bug tho, after trying out a few features, my filesystem appeared encrypted, with gibberish names for the folders and files
    Fortunately it didn't affect anything and a reboot fixed everything 👍

    Finally a proper working recovery for the Nord!

    "I did encounter a bug tho, after trying out a few features, my filesystem appeared encrypted, with gibberish names for the folders and files
    Fortunately it didn't affect anything and a reboot fixed everything 👍"

    This is bcoz your data partition is not decrypted. Decrypt it using your rom password then everything will be normal. That's not a bug... Bug is in the restoration of backuped data. Actually not a bug. Didn't found a fully working way.
    Need to find a perfect way to restore. OOS12 data restore is bit painful.
    Take a look on data backup and restore
    if you are free
    Thank you


About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK