yashsingh1/xdaforums huggingface dataset:
[OnePlus 7 & 7 Pro Cross Device Development] muphetz:
Furthermore, if your use case is like mine where my music files are in common data, you can make 'mounts.txt' file in /datacommon containing a list of every FOLDER to mount directly over top of sdcard. So for example:

/datacommon/Music -> /sdcard/Music

+ This of course mounts over anything there (overwrites it for as long as it's mounted) so make sure that you don't have the same folder in both datacommon and regular data

+ Note that there are 3 exceptions to this folder mounting rule:

1) All - if this is the FIRST line, ALL folders in datacommon will be mounted

2 )Android

3) lost+found

+ The reasoning should be obvious - lost+found isn't something you should need to mess with and Android is for regular data partition only - that's OS specific and should be on separate slots

+ Note that you should have 1 folder listed on every line, for example:

Code:

DCIM

Music

Pictures

WhatsApp

Create mounts.txt file which folder you want to mounted on both slot,,example DCIM,Music,Pictures,etc,,, and paste those folder on commondata,
[OnePlus 7 & 7 Pro Cross Device Development] kpmohamedhussain:
Thanks much tested, all OK now....
[OnePlus 7 & 7 Pro Cross Device Development] kpmohamedhussain:
Is there a way to check the storage utilisation of slot c???
[OnePlus 7 & 7 Pro Cross Device Development] Wishmasterflo:
I guess from within recovery you have it mounted as a seperate Storage where you can see the used/free space of Common Storage (slot C).
[OnePlus 7 & 7 Pro Cross Device Development] JudgeDread11:
Fx explorer shows the size for me.
[OnePlus 7 & 7 Pro Cross Device Development] kpmohamedhussain:
Perfect, thanks...
[OnePlus 7 & 7 Pro Cross Device Development] koboltzz:
How new or old are your used f2fs tools in this recovery?
[OnePlus 7 & 7 Pro Cross Device Development] invernomut0:
f2fs is supported.
[OnePlus 7 & 7 Pro Cross Device Development] koboltzz:
Did I formulate the question so unclearly? F2fs has undergone some revisions, so I wanted to know if it is formatted with the latest available f2fs tools
[OnePlus 7 & 7 Pro Cross Device Development] invernomut0:
Sincerely I do not know, the sources of this Recovery date back to 22/07/20.

I'm planning to build a new version these days... time permitting..
[OnePlus 7 & 7 Pro Cross Device Development] JudgeDread11:
Is it possible to get this recovery as an image file which can be used with 'fastboot boot recovery.img'?

The reason I am asking is because the official magisk doesn't work if a recovery is installed and I prefer to use the official magisk then a version of which the source is unknown and which does not get updated.

Also the provided magisk isn't stable on my rom while the official one is.

I now have oos with recovery on slot A with dualboot recovery and magisk and elemental x (a11) on slot B without dualboot recovery and official magisk.

I can boot to slot A if I need recovery, but if i need it on slot be is need to flash it first again (which deletes my original magisk installation) and after that flash back the magisk patched boot image and setup all my modules from scratch again (i'll try if i can backup and restore the data/adb folder).

And I will always need a10 on 1 slot for this to work.
[OnePlus 7 & 7 Pro Cross Device Development] Dark Fear:
is there a simpler way (or a tutorial video) that explain how to revert back to stock layout?

i dont understand the 1st post regarding this..
[OnePlus 7 & 7 Pro Cross Device Development] Mohammed Gabr:
msm flash tool
[OnePlus 7 & 7 Pro Cross Device Development] JudgeDread11:
If nothing went wrong you can just flash the zip again and choose stock layout. The other explanation is only for when something went wrong during the repartitioning.
[OnePlus 7 & 7 Pro Cross Device Development] HSchmotz:
Hi, is this fox dead?
[OnePlus 7 & 7 Pro Cross Device Development] Mohammed Gabr:
why it would be dead just because there's no recent updates, it's fully working and functional
[OnePlus 7 & 7 Pro Cross Device Development] Ph9214:
Hey how do I get the addons for orangefox? Im stuck without them rn.
[OnePlus 7 & 7 Pro Cross Device Development] Ph9214:
Which version of magisk manager should I use?
[OnePlus 7 & 7 Pro Cross Device Development] Wishmasterflo:
Now with Magisk 21.2 and Magisk Manager 8.0.4 which is working on Android 11 with TWRP you could just use that latest one!
[OnePlus 7 & 7 Pro Cross Device Development] spheady:
Ty Got 11 and 10 OSs to work. Somethings worong with beta 19. I would like to run it though.
[OnePlus 7 & 7 Pro Cross Device Development] invernomut0:
Hi,

You can directly update magisk from official magisk manager app, to the last version.

I planned to update all magisk version now, because it is stable and works on android 11.

I don't have the recovery img now (it's on my other computer), but I'll provide you soon.

best

s.
[OnePlus 7 & 7 Pro Cross Device Development] Umair320:
For anyone who's wondering, I flashed the HydrogenOS 11 beta using this zip and it worked. I'm hoping this means that OxygenOS should work as well when it comes out.
[OnePlus 7 & 7 Pro Cross Device Development] sefai77:
Can I use this with Oneplus 8 pro OOS11 & A11 ?
[OnePlus 7 & 7 Pro Cross Device Development] invernomut0:
Unfortunately no. Op8 has dynamic partitions.
[OnePlus 7 & 7 Pro Cross Device Development] Umair320:
I just flashed the OOS A11 Beta (using v0.7) and it's working fine, even encrypted. (I didn't realise there was a new version until after I flashed)

Edit: Won't let me boot into recovery, so I'll wipe and use the updated version.
[OnePlus 7 & 7 Pro Cross Device Development] WesTD:
does your twrp support a11?
[OnePlus 7 & 7 Pro Cross Device Development] invernomut0:
Only if you have the slot unencrypted
[OnePlus 7 & 7 Pro Cross Device Development] greggles77:
Hi, so somehow my commondata partition got currupted and i can't seem to figure out how fix it because everything i try to do involves some action involving the commondata, so i can't boot into anything but recovery.

Could anyone point me in a direction of a solution or help me out with this?

I know there's instructions on page 1 for restoring stock, but i'm not sure i follow. are you using adb or terminal for those commands? Do i need to type anything before(but on the same line as) sgdisk/dev/block/sda -p? I'm still a bit of a noob, but not totally clueless with this stuff, but i don't know what a bit of that code is doing.

i'm bricked, any help would be great. Thanks
[OnePlus 7 & 7 Pro Cross Device Development] invernomut0:
Sent you a pm.
[OnePlus 7 & 7 Pro Cross Device Development] Crazyinsanejames:
Hi this works great and It'll flash onto Beta 1. Is there a chance though you may switch the magisk for R11 with 21.4 or close to it. The one that is installed doesn't really work. If not and I missed something sorry
[OnePlus 7 & 7 Pro Cross Device Development] invernomut0:
Hi,

latest version is updated to magisk 21.4 and with fresh build of OrangeFox recovery.
[OnePlus 7 & 7 Pro Cross Device Development] spheady:
Ty for keeping up on this recovery.
[OnePlus 7 & 7 Pro Cross Device Development] Crazyinsanejames:
It functions great. I crashed/bootloader brick trying to restore a R11 over another R11 that had problems anyways. But flashed it, Q10.3.7 and R11 sofar which all worked. Ty again
[OnePlus 7 & 7 Pro Cross Device Development] Xoby:
Hello. One slot is occupied by OOS 10 Beta, the other slot is occupied by OOS 11 and recovery is running on android 11. I would like to know, am I now unable to go back to android 10 without formatting the data (format data: yes)? When I change the slot to OOS 10, then after a while it reboots again in recovery. In any case, thank you, the recovery works! (y)
[OnePlus 7 & 7 Pro Cross Device Development] Danaosthedemon:
Hello. OnePlus 7 (non pro) here. I updated to android 11 OB1. Can i install twrp using bootimg from another oneplus 7? If yes can anyone provide? I'll be very thankful.

I just need to flash custom kernel and root. Can anyone else also guide me on how to root using magisk manager patching method? Do i extract the bootimg from payload.bin of ob1 and patch it and flash it? Can't afford to go through reviving and setting up the whole phone all over again.
[OnePlus 7 & 7 Pro Cross Device Development] Crazyinsanejames:
Hi my phone has trouble flashing Oxy10.3.7 with the new Twrp. So i used 11-7 version and it flashed oxy10 just fine. Also I see why you first used the debug magisk in 11-7 version., seemed to hang longer than the 21.4 version.
[OnePlus 7 & 7 Pro Cross Device Development] invernomut0:
If you get some problem with password/pin error on Android 10 you have to delete the /data/system/locksettings.db on Andorid 10 partition trough Recovery.

In that way you will remove the lock password/pin and you get the access.
[OnePlus 7 & 7 Pro Cross Device Development] invernomut0:
***************

ATTENTION: there is a problem with OOS11. If you flash from the OOS11 slot, you will get errors like these:

libc: Access denied on finding the "ro.secure" property

libc: access denied looking for the property "ro.boot.slot_suffix"

and the result will be a flash from slot A to slot B, even if you were in slot B at the beginning.

***************
[OnePlus 7 & 7 Pro Cross Device Development] invernomut0:
***************

ATTENTION: there is a problem with OOS11. If you flash from the OOS11 slot, you will get errors like these:

libc: Access denied on finding the "ro.secure" property

libc: access denied looking for the property "ro.boot.slot_suffix"

and the result will be a flash from slot A to slot B, even if you were in slot B at the beginning.

***************

Instead use this version with TWRP
[OnePlus 7 & 7 Pro Cross Device Development] vitaly51370:
My config:

Slot A - OOS11

Slot B - OOS10.3.7

Yesterday from slot A I installed OOS10.3.8 + Orangefox-DualBoot-Guac-Unified-A11-V1.0.zip, there were no errors, both ROM work fine.
[OnePlus 7 & 7 Pro Cross Device Development] invernomut0:
Yes , because you flashed from a to b. If you flash from OOS11 in slot b to a, the flashing process will overwrite the slot b. There is a problem in the build system of orangefox related to understand what slot is active. The check fail and the the process always flash from a to b.

For example I flashed from slot B:

libc: Access denied finding property "ro.secure"
libc: Access denied finding property "ro.boot.slot_suffix"
[0204/180336:INFO:update_attempter_android.cc(207)] Using this install plan:
[0204/180336:INFO:install_plan.cc(77)] InstallPlan: new_update, source_slot: A, target_slot: B,
[OnePlus 7 & 7 Pro Cross Device Development] invernomut0:
Published a new OOS11 fixed version (V1.1)

Refer to the OP
[OnePlus 7 & 7 Pro Cross Device Development] HSchmotz:
Worked.

Slot A. OOS11Beta1

Slot B. CrDroid7

Install from Slot B OOS11Beta2.

Run Orangfox 1.1

Reboot Recovery

Run Orangfox 1.1

Reboot System.

Slot A. OOS11Beta2

Slot B. CrDroid7

Happy.
[OnePlus 7 & 7 Pro Cross Device Development] vitaly51370:
Everything is working. Special thanks for DualBootCompanion.apk
[OnePlus 7 & 7 Pro Cross Device Development] invernomut0:
New version

06/02/2021- V1.3

Updated the dual boot companion app

Fixed the Orangefox full screen bug on OP7 pro
[OnePlus 7 & 7 Pro Cross Device Development] vitaly51370:
I suggest a new icon for dual boot companion app, it looks better:
[OnePlus 7 & 7 Pro Cross Device Development] invernomut0:
Hi mate,

thanks for the suggestion!

Currently I'm fully reworking the app. The Idea is to higlight the A or B letter of DUALBOOT word to identify the active slot.

I added two locales (IT and RU).

Here a brief video (in italian sorry...)
[OnePlus 7 & 7 Pro Cross Device Development] vitaly51370:
Great, then the letters should be green or red to match the main application icon, I also suggest adding an additional menu: Reboot and Reboot bootloader
[OnePlus 7 & 7 Pro Cross Device Development] JudgeDread11:
If training suggestions, an option to get links in the power menu of Android 11 would be awesome. (I had this set up with tasker)
[OnePlus 7 & 7 Pro Cross Device Development] invernomut0:
First tentative...with error :)
[OnePlus 7 & 7 Pro Cross Device Development] invernomut0:
Finally got it works :) Next release will be with new app version and Orangefox updated to the latest git.
[OnePlus 7 & 7 Pro Cross Device Development] invernomut0:
I'm sorry 😞 last version published fixed the problem.

I think tomorrow i will post a new version with the companion app updated.
[OnePlus 7 & 7 Pro Cross Device Development] invernomut0:
Really a good idea to make a fastboot flasher to unbrick :)

In dualboot script fstab is patched on twrp.fstab, to support the new partitions and with this code:

# Patch vendor fstabs
ui_print " Patching vendor fstabs"
FSTABS="$(find /system_root /vendor/etc /odm/etc -maxdepth 1 -type f -name "fstab.qcom" | sed 's|^./|/|')"
[ "$FSTABS" ] && patch_fstabs

(...)

patch_fstabs() {
ui_print " Patching fstabs:"
echo -e "$(date +"%Y-%m-%d %H:%M:%S.%3N") - Patching fstabs" >> $LOGFILE 2>&1
for i in $FSTABS; do
[ -f $i ] || continue
ui_print " $i"
local perm="$(ls -Z $i | awk '{print $1}')"
sed -ri "
s/,verifyatboot|verifyatboot,|verifyatboot\b//g
s/,verify|verify,|verify\b//g
s/,avb_keys|avb_keys,|avb_keys\b//g
s/,avb|avb,|avb\b//g
s/,support_scfs|support_scfs,|support_scfs\b//g
s/,fsverity|fsverity,|fsverity\b//g
" "$i"
ui_print " - KeepEnforceEncrypt: $KEEPFORCEENCRYPT"
$KEEPFORCEENCRYPT || sed -i "s/fileencryption=/=/g" $i
sed -i "/data2/d" $i
sed -ri "/name\/userdata |name\/metadata / s/wait,slotselect/wait/" $i
local fst = "$(ls -laZ $i | awk '{print $1}')"
#ui_print " - Change fstab context $perm"
chcon $perm $i
#echo -e "$(date +"%Y-%m-%d %H:%M:%S.%3N") - Context changed" >> $LOGFILE 2>&1
while true; do
echo -e "$(date +"%Y-%m-%d %H:%M:%S.%3N") - * $(tail -n1 $i) *" >> $LOGFILE 2>&1
[ "$(tail -n1 $i)" ] && { echo >> $i; break; } || sed -i '$d' $i
done
ui_print " - Checking Layout: $layout"
[ "$layout" == "stock" ] || sed -ri "/name\/userdata |name\/metadata / s/wait,/wait,slotselect,/" $i
done
ui_print " $i - Done"
}

You can find the whole script here.

About bootctl... I put it in /data/adb/Dualboot/ ... Not a good solution :/

Keep me posted :)
[OnePlus 7 & 7 Pro Cross Device Development] invernomut0:
DualBoot zip updated to V1.5 - refer to OP
[OnePlus 7 & 7 Pro Cross Device Development] ledvedder:
Is there any way to install this if I'm already on Beta 2 rooted, without wiping data?
[OnePlus 7 & 7 Pro Cross Device Development] invernomut0:
No, because at the first time you must repartition your phone.
[OnePlus 7 & 7 Pro Cross Device Development] vitaly51370:
I checked it, everything works, thanks.
[OnePlus 7 & 7 Pro Cross Device Development] vitaly51370:
I think the icon needs to be made bigger.
[OnePlus 7 & 7 Pro Cross Device Development] invernomut0:
Good point :) I'll try to modify the icon, but I'm not a designer... Don't expect a nice result :p :p
[OnePlus 7 & 7 Pro Cross Device Development] vitaly51370:
I'm not a designer either, but maybe like this:
[OnePlus 7 & 7 Pro Cross Device Development] invernomut0:
New Version 1.6 - see the OP.

Updated init.mount_datacommon.sh to support the application sharing

Updated the dual boot companion app V2.6 BETA

- Added mounting inactive system to sdcard/DualBoot/

- Added mounting inactive SDcard to sdcard/DualBoot/

- EXPERIMENTAL - Added application sharing between ROMs (Only A/B/C Layout)

Localizations update

Minor bugfix here and there.

Telegram support chat: link
[OnePlus 7 & 7 Pro Cross Device Development] vitaly51370:
Android 10 works

Android 11 Error: Unable to open the file/folder System_B
[OnePlus 7 & 7 Pro Cross Device Development] invernomut0:
Hi guy,

please, try this in a shell:

ls -laZ /sdcard/DualBoot/

and

ls -laZ /sdcard/DualBoot/System_b

and post the result.
[OnePlus 7 & 7 Pro Cross Device Development] invernomut0:
Thank you! I forgot to force permissive selinux before mounting inactive partitions when I've refactored the code. I will add.

thanks again.
[OnePlus 7 & 7 Pro Cross Device Development] invernomut0:
Attached the fixed version 2.8

- Fixed remount inactive partitions after reboot

- Fixed number of shared apps in shared section

- Fixed the launcher icon width

- Added button to report problems or request a new feature

- Bug fixes here and there :)
[OnePlus 7 & 7 Pro Cross Device Development] vitaly51370:
Android 10/11 the application does not work, all buttons are inactive:
[OnePlus 7 & 7 Pro Cross Device Development] invernomut0:
Close and relaunch the app. Tell me if it works
[OnePlus 7 & 7 Pro Cross Device Development] vitaly51370:
Close and relaunch the app, restarting OS, still not working.
[OnePlus 7 & 7 Pro Cross Device Development] invernomut0:
Maybe the problem is related to busybox.

I changed the DualBoot check. Try this version.
[OnePlus 7 & 7 Pro Cross Device Development] vitaly51370:
The same thing, does not work:
[OnePlus 7 & 7 Pro Cross Device Development] invernomut0:
Do you have this file? /init.mount_datacommon.sh

For better support enter in this telegram chat: https://t.me/OrangeFoxDualBootRebornOnePlus7
[OnePlus 7 & 7 Pro Cross Device Development] vitaly51370:
Installed Orangefox-DualBoot-Guac-Unified-A11-V1.6

E:\Загрузки\One+7Pro-Stok>adb devices
List of devices attached
2c48f8bf device

E:\Загрузки\One+7Pro-Stok>adb shell
OnePlus7Pro:/ $ ls -l
total 1672
dr-xr-xr-x 112 root root 0 1971-04-13 13:19 acct
drwxr-xr-x 46 root root 920 1971-04-13 13:19 apex
lrw-r--r-- 1 root root 11 2009-01-01 02:00 bin -> /system/bin
lrw-r--r-- 1 root root 50 2009-01-01 02:00 bugreports -> /data/user_de/0/com.android.shell/files/bugreports
lrw-r--r-- 1 root root 11 2009-01-01 02:00 cache -> /data/cache
drwxr-xr-x 5 root root 0 1970-01-01 03:00 config
lrw-r--r-- 1 root root 17 2009-01-01 02:00 d -> /sys/kernel/debug
drwxrwx--x 59 system system 4096 2021-03-07 23:04 data
drwx------ 5 root system 100 1971-04-13 13:19 data_mirror
drwxr-xr-x 2 root root 4096 2009-01-01 02:00 debug_ramdisk
lrw------- 1 root root 23 2009-01-01 02:00 default.prop -> system/etc/prop.default
drwxr-xr-x 28 root root 6120 2021-03-07 23:04 dev
lrw-r--r-- 1 root root 11 2009-01-01 02:00 etc -> /system/etc
lrwxr-x--- 1 root shell 16 2009-01-01 02:00 init -> /system/bin/init
-rwxr-x--- 1 root shell 2941 2009-01-01 02:00 init.environ.rc
drwxr-xr-x 9 root root 200 1971-04-13 13:19 linkerconfig
drwx------ 2 root root 16384 2009-01-01 02:00 lost+found
drwxr-xr-x 10 root root 4096 1970-11-25 04:31 metadata
drwxr-xr-x 15 root system 320 1971-04-13 13:19 mnt
drwxr-xr-x 5 root root 4096 2009-01-01 02:00 odm
drwxr-xr-x 2 root root 4096 2009-01-01 02:00 oem
-rw-r--r-- 1 root root 1644075 2009-01-01 02:00 op_plat_sepolicy.cil
drwxr-xr-x 2 root root 4096 2009-01-01 02:00 postinstall
dr-xr-xr-x 975 root root 0 1970-01-01 03:00 proc
lrw-r--r-- 1 root root 15 2009-01-01 02:00 product -> /system/product
drwxr-xr-x 3 root root 4096 2009-01-01 02:00 res
lrw-r--r-- 1 root root 21 2009-01-01 02:00 sdcard -> /storage/self/primary
drwx--x--- 4 shell everybody 80 1971-04-13 13:19 storage
dr-xr-xr-x 16 root root 0 1971-04-13 13:19 sys
drwxr-xr-x 16 root root 4096 2009-01-01 02:00 system
lrw-r--r-- 1 root root 18 2009-01-01 02:00 system_ext -> /system/system_ext
drwxr-xr-x 15 root shell 4096 2009-01-01 02:00 vendor
OnePlus7Pro:/ $
[OnePlus 7 & 7 Pro Cross Device Development] invernomut0:
Are you in A/B layout? You don't have the CommonData partition, right?
[OnePlus 7 & 7 Pro Cross Device Development] vitaly51370:
Yes.
[OnePlus 7 & 7 Pro Cross Device Development] invernomut0:
OK, understood. I'm on A/B/C and I can check the A/B layout. I will modify the app.
[OnePlus 7 & 7 Pro Cross Device Development] invernomut0:
Try this version
[OnePlus 7 & 7 Pro Cross Device Development] vitaly51370:
Thank you, it works!
[OnePlus 7 & 7 Pro Cross Device Development] toxicimpression:
Hey guys 11b4 is stable, just keep the brightness below 100%. If you want to setup passwords and security just build one OS and backitup than install it to the other side via twro/OJfox. It Will keep the same security till it tripps. Thiers a folder on root you can access in OJttwrp called Ffiles that will delete passwords and has other zips in it to help take a look. Also If you can help out than donate 1mill to the guy who took over this recovery lol. Pieces salah and flash away
[OnePlus 7 & 7 Pro Cross Device Development] jaggillararla:
Are you gonna continue the dev ?
[OnePlus 7 & 7 Pro Cross Device Development] toxicimpression:
try on telegram bro
[OnePlus 7 & 7 Pro Cross Device Development] jaggillararla:
What tg is it ?
[OnePlus 7 & 7 Pro Cross Device Development] HippoMan:
Please forgive me if I am overlooking something obvious.

I want to try the latest DualBoot recovery on my OnePlus 7 Pro (GM-1917). I have read the detailed instructions in the OP, and I understand them. However, I couldn't find the download link for this DualBoot recovery anywhere in the OP nor in the following posts.

Is there an official download site for this recovery module? I noticed that there is a github site, but the message there states that the project is deprecated.

Thank you for any help you can offier.
[OnePlus 7 & 7 Pro Cross Device Development] HippoMan:
OK. I found it on the Telegram site. Newest pinned message.
[OnePlus 7 & 7 Pro Cross Device Development] toxicimpression:
Ok telegram is the app you need. And then then

Heres the group if you need still

DualBoot-Unified-Reborn-OP6/OP7

DualBoot-Unified-Reborn-OP6/OP7

You can view and join @OrangeFoxDualBootRebornOnePlus7 right away.

t.me

Yes he has a hub but telegram is updated now not here
[OnePlus 7 & 7 Pro Cross Device Development] toxicimpression:
On more link heres github for releases also

OrangeFox-DualBoot-Guac-Unified/README.md at master · Invernomut0/OrangeFox-DualBoot-Guac-Unified

Modified Orangefox and installer script for all OP7/Pro/5G variants that re-purposes userdata for true dual booting - Invernomut0/OrangeFox-DualBoot-Guac-Unified

github.com
[OnePlus 7 & 7 Pro Cross Device Development] HippoMan:
Thank you very much for both of these!
[OnePlus 7 & 7 Pro Cross Device Development] NiSt3R:
Hi, I dont want dual boot, I want only one OS but i want the common data partition visible in sdcard... Is It possible?

My idea is to have all pictures, songs, etc inside of common data, with that i can format the OS partition withouth backup of my data on windows
[OnePlus 7 & 7 Pro Cross Device Development] f41lbl0g:
+1 Would love this idea as well.
[OnePlus 7 & 7 Pro Cross Device Development] Paul Thinker:
All Right... Im (op7) stuck! need some help with this.

Before flashing this zip

OP7 - Open Beta OOS 10 rolled back version from OOS 11

Unlocked bootloader

Flashed TWRP

Copied the OrangeFox Dual Boot Zip to my sdcard from there also copied to /tmp

Executed flash - ran without any errors

Accepted mostly recommended choices in the prompts

Installed successfully without any error

Wiped Dalvik cache

Went to reboot

Could see Slots now - Current Slot was Slot B

Tried to reboot into SLOT B

Stuck at boot animation for 8-10 mins

Force restart tried booting to recovery

Orange fox splash screen loaded and the utility also loaded

Didnt change anything there just flashed the twrp that was in the sd card

booted into twrp switched to SLot A

Stuck at boot animation

Tried to force restart but now the Orange Fox splash screen keeps flashing on the dispaly not loading

And rebooting is just stuck at one plus animation

Not sure what went wrong :| :\

PLS HELP
[OnePlus 7 & 7 Pro Cross Device Development] 2-e:
Hello. Im repartitioning and have a simple question. Im on the last step trying to calculate my userdata_size. I run the command then get a long list of ascending numbers, with the largest number on the very top. Which number would be my userdata_size? Id hate to enter the wrong number of coarse. Hopefully someone can help me with this quickly.

thanks