yashsingh1/xdaforums huggingface dataset:
[OnePlus 12] red5pade:
before i flash this, i need to verify this will not wipe my phones memory like unlocking the bootloader

im rooted with magisk and have my storage about maxed out. id like to flash this without losing everything, so i need to verify before attempting
[OnePlus 12] JEANRIVERA:
flashing TWRP will not wipe anything, or reset anything, just be careful and do research at the actions you do perform on TWRP, because it does have options to format data if desired, but flashing random things there can cause bootloop if you don't know what you're doing
[OnePlus 12] red5pade:
i reinstalled windows due to a corrupt file and now i cant get fastboot to recognize again. i had this issue in the past but cant find the fix. what driver are yall using? the one in the original post isnt working for me
[OnePlus 12] AmirulAndalib:
Here install aio adb tools and reboot your device to see if that works for you.

https://github.com/K3V1991/ADB-and-FastbootPlusPlus/releases/download/v1.1.1/ADB-and-Fastboot++_v1.1.1.msi
[OnePlus 12] red5pade:
thanks but still didnt work. i was able to get it using this link https://drive.google.com/drive/folders/1D96njoYn-n3alu3ggaK3Kw8hMGLKhJVg for those looking in the future... or myself in the future
[OnePlus 12] 535iu:
Does data decryption work with TWRP?

What system are you using?
[OnePlus 12] JEANRIVERA:
Yes it works the decryption
[OnePlus 12] 535iu:
Thank you, what system are you using? To know if it is A12 or A13 (I thought TWRP does not decrypt A13)?
[OnePlus 12] JEANRIVERA:
Actually A14 OnePlus 12 doesn't have Android 13 or Android 12
[OnePlus 12] 535iu:
Sorry, I asked the wrong question. I read that this TWRP will not decrypt data from a custom ROM, is this true?
[OnePlus 12] JEANRIVERA:
Probably not, but there still are no custom roms yet for this device
[OnePlus 12] 535iu:
Thank you very much. So, I see that the best thing to do is to use an official ROM (OxygenOS or ColorOS), right?

What version and system do you use?
[OnePlus 12] JEANRIVERA:
I have stock ROM for NA region OxygenOS
[OnePlus 12] passionicon:
Has anyone tried full backup and restore with this. Did it successfully restore the backup?
[OnePlus 12] user2332:
I tried, it didn't work for me.

Reason: the total file size of the content to be saved was much larger than the size of the physical storage space, so it failed.

I don't know how the compression works here, is it there at all? Maybe then it could work that way, but unfortunately it doesn't.

There were basic things on the phone anyway, nothing big...
[OnePlus 12] passionicon:
I have the 1tb variant so storage shouldn't be an issue, i assume
[OnePlus 12] wacko37:
I'm currently trying to restore a full backup, its completes ok within TWRP (no errors) but when I reboot i gets stuck at loading screen.

Can anyone please confirm this feature works?
[OnePlus 12] passionicon:
What loading screen? Boot?
[OnePlus 12] wacko37:
Yes main boot screen after bootloader screen, so its like everything is ok just wont load in, Is there a terminal I can monitor to see whats stopping it.
[OnePlus 12] passionicon:
No idea. Tag op for help
[OnePlus 12] wacko37:
Out of curiosity, for my backup I selected all partitions then when I restored to test I also restored all partitions, Is this the correct method? Meaning do I have to wipe data etc prior or after? In the past the above has always worked but a lot has changed since my LG V30....lol

@Nebrassy can you confirm restore is fully functionable?
[OnePlus 12] wacko37:
Ok to get back up an running I had to do a fresh install via https://xdaforums.com/t/oneplus-12-...rom-package-to-flash-your-oneplus-12.4673058/

So to further test once I got past the device setup with no passwords or login etc, I completed a new TWRP Backup and then attempted to restore but sadly no joy.

Is there a certain way method to backup and restore correctly.
[OnePlus 12] Nebrassy:
When creating a backup, you must first remove any screen lock you have then create a backup of data

When restoring, flash the same rom again, boot it once, then reboot into twrp and restore the backup, then reboot into the rom twice

Sent from SM-S928B using ReLabs
[OnePlus 12] wacko37:
Firstly, Thankyou for your time and for all that you do for this community, much appreciated.

Just to clarify when creating a backing you mention "data" - do you mean only the "data" partition or did you mean data as in your desired/any partitions?

Thanks
[OnePlus 12] Nebrassy:
Would be best to only create a backup of data, flash the rom zip instead of backing it up and restoring

Sent from SM-S928B using ReLabs
[OnePlus 12] wacko37:
Sadly, I cannot get TWRP restore to work, I’ve tried so many variations its just not working for me at all.

So my last test was as clean as I can make it.

1 – Flashed https://xdaforums.com/t/oneplus-12-...rom-package-to-flash-your-oneplus-12.4673058/ which basically flashes slots A/B and formats internal storage etc, stock as can be!

2 – booted into phone after the above flash which is now on slot A, setup USB debug and installed “OTA-OnePlus-localUpdate-Oplus_android_14.apk” which allows local install found here: https://xdaforums.com/t/index-oneplus-12-roms-kernels-mods-tweaks-development-25-05-2024.4657133/

3 – flashed the ”OxygenOS-CPH2581_14.0.0.610(EX01)” global OTA found here: https://xdaforums.com/t/oneplus-12-rom-ota-boot-oxygen-os-repo-of-oxygen-os-builds.4657465/

4 – Automatically rebooted into slot B after flash, then rebooted into bootloader

5 – flashed TWRP to Slot B and rebooted into recovery

6 – Took a backup for the “DATA” partition only

7 – Booted backing in system via slot B, and completed step 3 again

8 - Automatically rebooted into slot A after flash, then rebooted into bootloader

9 – flashed TWRP to Slot A and rebooted into recovery

10 – restored the “data” partition backup I took in step 6 and rebooted

Phone is now stuck at loading screen (screen after bootloader splash screen), phone reboots every 10mins in a boot cycle.
[OnePlus 12] Nebrassy:
And when exactly did you wipe data?, and I'm guessing you didn't set up a lockscreen at any point?

Sent from SM-S928B using ReLabs
[OnePlus 12] wacko37:
Thanks for the speedy reply,

At no stage did I wipe data, at what step should I have done this? (when flashing the backup in step 10 it says in the logs that TWRP automatically wipes the data prior to flashing)

Also yes you are correct no lockscreen setup, I only completed device setup (skipping as much as I could) in order to complete steps 2 & 3
[OnePlus 12] wacko37:
OK!!! – I finally got this to bloody work, I’m not sure how anyone is meant to find the info to get this to work, but it has taken almost 48hrs of bloody reboots & google searches etc to get TWRP to restore a backup. Oh and @Nebrassy thanks for the very minimal points in the right direction, I guess you have forced me to learn the hard way….. cant complain about that as I’m the wiser now….cheers

So….. this post is for all the noobs like myself….lol

Its important to be on the same ROM the backup was created from for me it was CPH2581_14.0.0.610(EX01) method via: https://xdaforums.com/t/oneplus-12-...rom-package-to-flash-your-oneplus-12.4673058/ -- (the method mentioned above when completed via .bat wipes the internal storage so make sure you have a backup of your personal data)

1 – Your happy with your current setup and want a backup, Disable security passwords, patterns, etc and set to swipe only -> boot into TWRP make a backup for whatever partitions you feel you want to back up. Store a copy on your PC

2 – Whenever the need arises for a restore make sure your on the same ROM as the backup if not just flash the ROM -> Boot into TWRP and select Wipe -> Swipe to Factory Reset -> Home Button -> reboot -> recovery(don’t worry about slots etc)

3 – Now your rebooted back into TWRP – select Mount -> Mount USB Storage(connect your phone to the PC) -> Open Internal Storage in explorer -> open TWRP Folder -> Copy your TWRP Backup from step 1 into this folder(this backup will stay here even after reboots)

4 – After you’ve copied over your backup select - Unmount Storage(remove usb cable) -> Home button -> Restore -> Select your desire backup -> select your desire partitions -> swipe to restore

5 – DONE!!!..... I tried this method a few times and worked each time. Hope this helps someone in the future.
[OnePlus 12] Nebrassy:
Well, not exactly, I don't have this device, and I haven't used twrp backup on an encrypted device in a long time

But anyway, you must first restore the backup of the rom, or flash the rom zip, wipe data and boot into that rom, then reboot into twrp, and then restore data

Sent from SM-S928B using ReLabs
[OnePlus 12] wacko37:
As per our discussion yesterday, I went back and tried this method but could not get it to boot past the loading screen. I took a few different backup of newly flashed ROMs and tried to flash with no success. The only way I can get anything to restore is by the method 2 posts above.

As you mentioned you don't have this device nor have had an encrypted device for a long time so something must have changed or not working as expected.

I'm more than will to experiment (now that I have a working path back via restore) just let me know what I need to do.
[OnePlus 12] Nebrassy:
Flash the rom and format data, boot into the rom, go back to twrp, and continue as per the method you've mentioned

Yes I haven't used backup and restore in a while, but what I've mentioned previously has always worked on all other devices I maintain, this is the first device that had problems with it actually, what I'm suggesting is just adding the step of formatting data and booting the the rom once to your method, and then wipe and restore, that should work consistently.

Sent from SM-S928B using ReLabs
[OnePlus 12] wacko37:
I tested this method last night because as your aware I want this to work as intended / official method, sadly it was stuck at boot loop. Now the only method of flashing a ROM that works for me is via 2 methods:

1st - Official Software updater app and doing a local install of Full zip - "Android 14 System Updater Apk (for local installing new full OTAs)" found here: https://xdaforums.com/t/index-oneplus-12-roms-kernels-mods-tweaks-development-25-05-2024.4657133/

2nd - https://xdaforums.com/t/oneplus-12-...rom-package-to-flash-your-oneplus-12.4673058/ - This has saved me so many time, its a .bat file that does a full flash of slots A/B and wipes all internal data etc

The stock ROM I use in 1st method is "CPH2581_14.0.0.610(EX01)" Global found here:

[OnePlus 12][ROM][OTA][BOOT][Oxygen OS] Repo of Oxygen OS Builds

As OnePlus doesn't always provide download links for all of their OxygenOS ROMs & OTA update zips, we've created an index to put the links in one post so that they're easy to find. Note : This is not a support thread for issues you may have with...

xdaforums.com

My test was as follows: (I already have backups from TWRP made on the same ROM, for this test I used a backup made directly after fresh install of method 2 from above, only settings changed was USB debugging.

1 - Flash ROM via the .bat file found in option 2, booted into the welcome screen

2 - Booted to bootloader to flash recovery TWRP, booted to recovery

3 - Wipe -> Format Data -> reboot system

4 - Booted to welcome screen -> Power off -> Boot to recovery via Bootloader screen (volume down + Power)

5 – Restore backup via TWRP – “data” Partition only -> reboot

6 – Stuck at loading screen (2 x spinning circles) – After 10mins it reboots and does the same thing every 10mins

Now the only thing I see being an issue is how the ROM is flashed , as the method I prefer to use after its been flashed it auto boots top welcome screen, which I then have to reboot In order to “format data”
[OnePlus 12] wacko37:
Ok, just to further test my last comment -

1 - flashed a full clean install via: https://xdaforums.com/t/oneplus-12-...rom-package-to-flash-your-oneplus-12.4673058/ - booted in to welcome screen

2 - Flashed TWRP to slot a/b -> Booted to TWRP and flashed the full OTA zip via: https://xdaforums.com/t/how-to-flash-oxygenos-coloros-ota-zip-via-twrp.4672498/ method - Note system did not auto boot to welcome screen and I did not have to boot to recovery to wipe

3 - Wipe -> FORMAT DATA -> reboot

4 - Booted into welcome screen

5 - Booted to recovery -> restored "data" partition -> reboot system

6 - Stuck at loading screen (2 x spinning circles) – After 10mins it reboots and does the same thing every 10mins
[OnePlus 12] Nebrassy:
After step 4, wipe data again using factory reset not format data, that's what I've been asking you to try for the last few posts

Sent from SM-S928B using ReLabs
[OnePlus 12] wacko37:
I'm sorry but you are now asking me to do a 2nd wipe that at no stage have you mentioned , but I'm glad we seem to be getting somewhere now, as "Factory reset" is the only process that is actually allowing restore to work as I have mentioned.

Cool, I'm out for the evening but when I return I'll test.
[OnePlus 12] user2332:
Hi!

Does TWRP recognize / work well with USB to OTG?

I tried to connect a USB via OTG, USB Storage (0), does it fail to read? Do you have a trick or do you need something extra?
[OnePlus 12] wacko37:
Done a lot of changes on my new phone and time for a new save point.

So disabled all security (patterns etc), booted into TWRP and made a new backup of all partitions and rebooted system.

Then to test I Rebooted to TWRP -> Swipe to factory reset -> Restored all partitions -> rebooted device.

Device booted without issue - ALL OK.

@Nebrassy - Thankyou for your patience and for making TWRP available for this device, cheers!
[OnePlus 12] royal.tm:
this worked for me! twrp is up and running.

after I issued both commands, I did [fastboot reboot recovery] to make sure it worked. Did a full backup afterwards and reboot to normal.
[OnePlus 12] MilkyTommy:
Maybe someone could help me with my problem. I Just flash my recovery_a and _b with twrp, did a backup and reboot to the system with the menu but i have a black screen now. My pc detect a generic QUSB_BUILD driver, but Do anything with any sequences of buttons ( Holding the power, power + vol down or power + vol up) for few second make my pc undectect and detect back the drivers in few miliseconds. Also adb / fastboot cmd doesnt find my device, someone have an idea ?

edit: No root, no custom ROM, the basic One plus 12, fresh out the box

edit2: Was stuck in EDL mode, but i'm not sure why, i didn't touch to anything except flashing the recovery_a and recovery_b with TWRP, but anyway, if someone have an explanation, i'm curious.
[OnePlus 12] akaloith:
where is the link?
[OnePlus 12] raskiak:
Good job, thank you for your work
[OnePlus 12] user2332:
TWRP update expected?

I would be primarily interested in getting USB to otg to work in TWRP.
[OnePlus 12] Gianluk99:
Yes please, getting the OSB OTG Update would be awesome :D
[OnePlus 12] Nezorflame:
@Nebrassy thanks mate, seems to be working well on my device.

The only issue I'm facing so far is the periodic screen flickering in the middle of the screen, but that's not a dealbreaker.
[OnePlus 12] unsungkhan:
Yeah, just glad we have TWRP on our devices. Many thanks dev.

Where are the roms and kernels though?
[OnePlus 12] isolatedxgemini:
Hello this may be a noob question but I currently have the CPH2583 NA Variant with TWRP installed was previously rooted but have since uninstalled magisk and flashed the stock init_boot file with command fastboot flash init_boot {Drag and dropped the stock init_boot file here} it completed and all is fine my question is how can I get to be able to relock my bootloader so I can take OTAs or get the phone to easily take OTAs in general. Kinda wanna go back to normal but can't figure it out. Do I need stock recovery before relocking or am I missing something in what I've done? Any help would be greatly appreciated. I've been out of the flashing and rooting scene for roughly 8 years so I'm going through refresh processing right now lol thanks once again and sorry for the long question!
[OnePlus 12] JEANRIVERA:
Incremental OTA will fail without stock recovery, full OTA will work just fine, in order to relock bootloader you do need the stock recovery, and make sure you have stock boot.img and or stock init_boot.img that matches your current software version before relocking, otherwise you'll get a softbrick
[OnePlus 12] isolatedxgemini:
Thank you for the reply! Okay so I was partially correct, and you flash the OEM init_boot the same way I did the patched one in fastboot correct? And then would you mind telling me how to get stock recovery back. It's a pain with the NA variant I can't seem to find a way to use local update even with installed apks and there isn't any way to flash firmware in TWRP so I'm at a standstill when it comes to this..... It's a bummer. Any help is appreciated!
[OnePlus 12] JEANRIVERA:
To get stock recovery back simply flash stock recovery on fastboot the same way you do the init_boot.img obviously with the proper command and the correct stock recovery for your current version

Fastboot flash recovery recovery.img
[Samsung Galaxy S8+ Questions & Answers] EternalWorth:
Question is, where is the "physical activity" permission on Android 9, or did it only become live in a later Android OS? Is there an equivalent to such on Android 9?

The Life360 support people don't share my heritage and primary language, so the company drops you into the typical abysmal support experience. Figured you all would know before anyone else. Can't dig up these nuggets of wisdom anywhere else online.

Rest of fam sees my phone as not fully "locatable", with a grayed out pic & "physical permissions not set". Permissions are wide open, everything turned on, even sharing location with fam on Gargle. L360's support info gives instructions on setting physical permissions for "Android", but I don't have the menu options they list, on my S8 Plus. Figure it's for Android 10 & newer, perhaps. Support folks for L360 aren't able to extrapolate what I'm asking them.

Working with Galaxy S8 Plus, SM-G955-U, Android 9, Build PPR1.180610.011.G955USQU8DUD3, on that cable provider's service who allegedly owns the coax between Verizon's towers.
[Samsung Galaxy S23 Ultra] JannerOyibo:
So my wife was given a new Samsung S23 Ultra as a present but its software is significately out of date and is not seeing any updates OTA available when checked in settings.

I've checked the IMEI on Samfw site which tells me this :

IMEI: 35764XXXXXXXX4723

Serial number: R5CW3XYZDRK

Model: SM-S918U

Region: VZW

Model name: SM-S918U / Galaxy S23 Ultra

Model full name: SM-S918ULIAVZW

Country: United States

However I'm not in USA but in Africa (Congo) on MTN network

Current installed software is S918USQS1AWFD / S918UYN1AWFD / S918USQS1AWFD and last security patch is from July 23 !

It would appear that the latest current software for this model is available for download from the site :-

AP_S918USQS2BXBD_S918USQS2BXBD_MQB77759949_REV00_user_low_ship_MULTI_CERT_meta_OS14.tar.md5.zip

So, the big question is can I use this file to update the phone and, if so, how ? I do not want to root or unlock the bootloader and I would prefer not to have to lose any data by having to do a wipe.

Any useful suggestions warmly welcomed

Cheers

Janner
[Samsung Galaxy S23 Ultra] OnnoJ:
See this thread...
[Samsung Galaxy S23 Ultra] jeffrey268:
How to update:

1. Download and install the latest version of ODIN on your computer. (https://odindownload.com/download/Odin3_v3.14.4.zip)

2. Donwload the latest firmawe file for your phone/region:

https://samfw.com/firmware/SM-S918U/VZW/S918USQS2BXBD

3. Extract the downloaded firmware file to a location on your computer.

4. Power off your Samsung Galaxy S23.

5. Reboot Phone in Download Mode:

Connect the USB cable to your computer. Hold down “Volume up” and “Volume down” simultaneously. While holding down, connect the USB cable to your phone.

7. Open ODIN, ODIN should recognize your device and display a blue “Added” message.

When using ODIN, you must select the firmware file with the .md5 extension you extracted earlier by clicking the “AP” button.

Additionally, you must ensure that you add the firmware files to their designated slots.

For example:

firmware file to the “AP” slot

“BL” firmware file to the “BL” slot

“CP” firmware file to the “CP” slot, and the

“HOME_CSC” firmware file to the “CSC” slot.

(Its important that you select HOME_CSC and NOT CSC because selecting CSC wil wipe your data!)

Important: you should leave the “USERDATA” space empty.

8. In ODIN, check only the “Auto Reboot” and “F. Reset Time” options.

(DO

NOT

select the “Re-Partition” option!)

9. Click ODIN’s “Start” button to begin flashing the firmware to your Samsung Galaxy S23.

The process may take several minutes, and your phone may reboot several times.

The flashing process is complete when ODIN displays a green “PASS” message.

You can disconnect your phone from the computer.
[Samsung Galaxy S23 Ultra] JannerOyibo:
Thanks a lot for these detailed instructions but I got to thinking... I can certainly get the latest update onto the phone using this method but, once updated, will the phone now see any new OTA updates once released?

I'd like to fix the root problem which is that the phone isn't currently seeing available OTAs. Is it because current CSC of phone doesn't correspond to actual physically location?
[Samsung Galaxy S23 Ultra] jeffrey268:
It's because the phone is rooted, rooting the phone disables OTA updates!
[Samsung Galaxy S23 Ultra] JannerOyibo:
The phone is not rooted as far as I know - it was received brand new.
[Samsung Galaxy S23 Ultra] jeffrey268:
No idea why you are not receiving OTA update, you can try using smarts switch on a PC to see if you can update you phone that way, or you try using a Vpn on the phone itself, US Carries have a lot of different quirks when it coms to phone updates.
[Samsung Galaxy S23 Ultra] JannerOyibo:
Already tried Samsung Smart Switch on PC - not showing any updates. I have vpn - which country should I set it to? I'm guessing US....
[Samsung Galaxy S23 Ultra] jeffrey268:
Yes try setting it to USA, if it doesn't work, try the method I discribed in my OP, good luck.
[Samsung Galaxy S23 Ultra] amirage:
Can you please boot into download mode and send a photo of the screen that's appearing?
[Samsung Galaxy S23 Ultra] JannerOyibo:
I'll try this a little later and get back to you.
[Samsung Galaxy S23 Ultra] ajarosz:
Do you have any good alternative to Samsung Gallery app? I am testing xiaomi mi 14 ultra, and I am looking for app that will have similar funtionality to what we have in s23u - when you swipe down on photo, you see on the map where it was take and if you click you see a map. Then it is easy to group/see photos take in same location. I have tried first 40 most popular gallery apps from app store with no luck. Google photos can show you where photo was taken, but you cannot filter/group based on exact location. Thanks!
[Samsung Galaxy S23 Ultra] olafsand:
Stock gallery. Under camera settings, location must be turned on.b
[Samsung Galaxy S23 Ultra] ajarosz:
Read again my question. I am looking alternative to exact application that you have suggested. It is not available on my second device - xiaomi. And neither xiaomi gallery and any other gallery apps that I have tried have this.
[Samsung Galaxy S23 Ultra] olafsand:
My bad, sry! Samsung gallery apk wont install, correct?
[Samsung Galaxy S23 Ultra] ajarosz:
Np. Not without root, which I do not want to do for now.