yashsingh1/xdaforums huggingface dataset:
[General Questions and Answers] bigtime013:
I have a Samsung Galaxy a516u (usc) that I would like to unlock the bootloader and root

I tried to unlock it and turn it oem from developer mode , OEM unlock option is not there. I also tried to find it from download recovery and the OEM unlock option is not there. I tried to use Odin and every time I tried failed. I tried to use ADB option and use fastboot and it hangs up states entering fastboot and stops. I also went into recovery mode and tried fastboot and It get stuck there. Please help, Any idea what I can do to to make it OEM?
[General Questions and Answers] Droidriven:
If you don't see the OEM unlock setting in developer options then there isn't anything you can do to unlock the device.
[General Questions and Answers] iBowToAndroid:
What's the Baseband Version on the device? You can find that under Settings-->About-->Software Information
[OnePlus Nord N200 5G] SMcC2:
Awesome! 👍
[OnePlus Nord N200 5G] alarmdude9:
Ok I'm a little slow. You got the firmware no one else has been able to get and the dsu phhuson thing is how to get root? If so I think I love you.......
[OnePlus Nord N200 5G] EnumC:
Since the bl can be unlocked, the only roadblock stopping us from porting over TWRP is the stock recovery. And since we don't have the stock firmware, flashing any GSI would be the easiest way to get a brick. That gets us into a chicken-and-the-egg situation, where you can't port TWRP without the firmware, and you can't extract the firmware without root. That's why DSU appears to have worked out since it's able to easily load GSI without having to overwrite any stock firmware partitions. The official documentation states that it "requires the GSIs to be signed by Google or your OEMs as a trusted system image", but it seems like OnePlus does not enforce signature. So you can pretty much boot any system image you want this way. After you get the custom firmware loaded, you can extract any partition you want with root privilege. A reboot reverts you back to stock rom.
[OnePlus Nord N200 5G] alarmdude9:
I understood some of those words lol. Guess when I get some downtime tonight it's time to unlock the bootloader and set the thing up again and see if I can get it to work. Be ready for stupid questions ;)
[OnePlus Nord N200 5G] EnumC:
11.0.1.5 DE18CB firmware has been uploaded. The active partition is in slot B.
[OnePlus Nord N200 5G] mingkee:
ROM dump without root is a major game changer.

Now we don't have to wait for stock ROM released
[OnePlus Nord N200 5G] jilebi:
Hi @EnumC ,

Did you get a chance to post this tutorial and the simplified dump script?

Also, when I looked at the stock ROM that you have kindly posted, all the partitions are in dd format other than boot_b which is in img format. Why is that and what does that mean?

Finally, for use with magisk, you have suggested using the boot_b file which is in img file. Why b and why not boot_a which is in dd format? What kernel does boot_a contain?

Thanks for all your amazing work so far!
[OnePlus Nord N200 5G] Zwitterion:
Incredible work!
[OnePlus Nord N200 5G] mkhader:
How can I reflash the ROM since I bricked my device by mistake ? I managed to successfully root my device, but I tried to sim unlock it , so I flashed super.dd to super partition thinking that I may sim unlock my device with ROM dump , stupid me .. :(

Please help me :(
[OnePlus Nord N200 5G] EnumC:
No, not yet. Work got a bit busy and I've been tinkering around as much as possible with my free time. For the partitions, they are all dumps done with dd. You can change the extension to img if that helps the tools you're using to recognize them.

Not sure what's in slot a. On my device, the active slot is b. A might contain an older OTA, be broken, or something else. Haven't spent any time figuring that out yet. If you discover anything, please let me know.

And thanks! It's really motivating when everyone can benefit from these posts :)
[OnePlus Nord N200 5G] EnumC:
What is the full command you used to flash the super.dd to the super partition? Did you dd the dump file to /dev/block/sda9?
[OnePlus Nord N200 5G] jilebi:
No worries. I asked to simply check if you had posted it and I missed reading about it it in the multlple threads that are active currently. Hopefully, you will post a new thread when you have the tutorial and script ready, so that I and others can catch it easily.

Got it. Glad that all of them are dd files, and boot_b was simply renamed to .img for processing by other utilities.

That makes more sense now - since your active slot was known to you to be b when you did a partition dump, you advised all of us to use boot_b.img to patch with magisk.

If I had a make a guess, I think boot_a must contain the kernel for 11.0.1.4. Since your partition dump is for 11.0.1.5, and the N200 factory ships with 11.0.1.4, it would be logical that slot a factory shipped with 11.0.1.4 kernel, then you got an OTA for 11.0.1.5, which then went to slot b and made slot b as the active slot.

If you have the bandwidth, you can test this hypothesis, by patching boot_a.dd with magisk and booting with it (I think the risk to you should be minimal as long as you are bootloader unlocked and have access to fastboot), OR posting the patched file here for somebody else to test it with bootloader unlocked N200 on 11.0.1.4.

I can sense your passion in the work you are doing! Keep it up and keep engaging with all of us out here. As you correctly said, we all will benefit from it.
[OnePlus Nord N200 5G] mkhader:
Actually no , I did a fastboot command , fastboot flash super super.dd .

What is the correct way to flash the DD file ?
[OnePlus Nord N200 5G] Zwitterion:
How long does it take before OnePlus puts up its own factory image of it's phones after release? Can we expect a stock firmware for this phone soon? I want all traces of T-Mobile gone.
[OnePlus Nord N200 5G] AiM2LeaRn:
i see 4 vbmeta image files.... im trying to figure out which is the main "vbmeta.img" used when using the following code?

fastboot --disable-verity --disable-verification flash vbmeta vbmeta.img

anyone have any idea?
[OnePlus Nord N200 5G] towardsdawn:
I tested this (in an attempt to find a working stock image to receive OTA updates. I've tried boot_a and boot_b and neither work) and my device couldn't boot. So whatever is in boot_a I don't think it works.

To recover, fastboot had problems detecting my device but I had to pick in Windows "Let me pick from a list of available drivers" and pick the Android Bootloader Interface from Google before it worked.
[OnePlus Nord N200 5G] mingkee:
I got a trouble now

The OTA update restarted itself and now I need boot for October update.
[OnePlus Nord N200 5G] towardsdawn:
I did the following to try to replicate what EnumC did and I got the same stock boot.img but in partition A instead of partition B:

Used MSMDownloadTool to reset to factory image

Unlocked bootloader with one line adb command

Download phhusson's GSI as EnumC mentioned

Installed msys2 with mingw64 tool chain, base devel, and mingw64 gettext, add an include statement and include asprintf in order to build simg2img on Windows (I've attached my build for 64 bit Win 10 here)

Unzip GSI.xz and then unsparse it using simg2img

Follow instructions here to install GSI. The $(du) is to calculate disk usage of the system_raw.img on your PC

adb reboot fastboot, fastboot getvar all to get active partition (factory image should be a)

You can now adb shell, su, and then dd to extract /dev/block/bootdevice/by-name/boot_a
[OnePlus Nord N200 5G] towardsdawn:
Here is stock boot.img for 11.0.1.7.DE18CB T-Mobile variant

File on MEGA

mega.nz
[Touch Cruise ROM Development] cdrugo:
I made a bad command on my Cruise...

post 2a

and after this now Cruise doesnt start and if i push all buttons nothing happend.

Any solution?

Thanks
[Touch Cruise ROM Development] Fontanini:
tried a hard reset yet?

And what bad command did you gave?
[Touch Cruise ROM Development] cdrugo:
ehm...

Doesnt start, no light, dead.

If i press soft reset, hard reset or boot procedure... no live. :(
[Touch Cruise ROM Development] batista70:
Did you retry with the correct commands ???

Why did you use Mtty ???
[Touch Cruise ROM Development] udK:
You bricked your Polaris, that's all.

Ti rispondo anche in italiano;

Con quel comando hai ucciso il tuo Polaris, devi mandarlo in assistenza sperando non si accorgano del danno che hai fatto o ti faranno pagare un sacco per la riparazione.
[Touch Cruise ROM Development] Fontanini:
means:

With that command you killed your Polaris, you must send in assistance, hoping not aware of the damage you've done or you will pay a lot for repair.

I love Google translate :p
[Android Stick & Console AMLogic based Computers] wonzay:
Hi.

As in title, I search gamepad (tv box compatible & with usb dongle [?]), quite good, simple but not expensive. I think about GenGame S3 or Ipega PG-9156, but I don't know anything about them. I am not a hardcore gamer, moreover gamepad is not only for me.

Btw. English is not my native language, so please have patience. :p
[Android Stick & Console AMLogic based Computers] wonzay:
(wrong thread)
[POCO M3 Pro / Redmi Note 10 / 10T 5G] recl:
What is the storage limit? 512gb?
[Introductions] jidevala:
No pensé que estos equipos xiaomi fueran buenos, pero lo son, para ser mi primer equipo, son buenos.
[Introductions] orb3000:
Hola y bienvenido a XDA

English is the preferred language in the forums, you can use google translate.
[OnePlus Nord 2 5G] zombi42:
I don't understand why

this is original pic (in the gallery)

View attachment 5388965

when I put in wallpaper

View attachment 5388967

(if you don't see.. Look her hair :D )

After that I try to change ... and surprise !

View attachment 5388973

both version !!!

BUT WHY !

Why have a beautiful display and put a "tinted image"

(for the lockscreen is same ... But I read Oneplus has already used the "image degradation" technique in order to be faster to wake up)

Sorry like you see, I'm French :D

I haven't change a phone since 2016... my last android was a Blackberry Priv (android 6...), so yes I have 5 generation of android to learn so maybe it's very simple :cry:

thanks a lot
[OnePlus Nord 2 5G] isamkushwaha:
From what I've observed, when you are on dark theme, it applies a kind of black tint to the wallpaper to make it more dark theme friendly. This doesnt happen when you are on light theme
[OnePlus Nord 2 5G] zombi42:
Thanks a lot
[OnePlus Nord 2 5G] 22naresn:
nice wallpaper mate, don't mind if I take it?
[General Questions and Answers] barmyfp:
TL;DR - Phone will not accept correct encrypt password. Need to dump data partition to computer and decrypt from there, or something like that.

So I have a Nokia 6.1 from 2018 that I used for just about a year. I upgraded to a nicer phone during summer 2019, at which point I transferred all the data I thought I needed, turned the power off, put the phone on a shelf and forgot about it for many months. I remember when I last powered it down, the battery was fully charged. Quite some time later I realized I needed to retrieve some important data written down in an old OneNote account that was synced with that phone and nothing else. Upon logging in, I discovered Microsoft had wiped the account clean due to an extended period of inactivity, meaning the only copy of that data now exists on that phone and nowhere else.

When I dug out the phone and tried to power it up, the battery was completely flat. I plugged it in and it booted up okay, but it would not accept the passphrase to unlock. I can only assume this is due to some sort of bug in Android (I believe it is running 9 Pie, but I don't remember for certain), as I know for a fact the password is correct. I've been putting off trying to unlock this thing for over a year now, but it needs to be done. I've noticed over my several attempts to enter the password that the phone has been behaving somewhat erratically. For example, it doesn't always respond to the power button right away. I'll try to press it again, and the screen will blink on and off several times. Also, when I first tried to unlock the phone, I could enter the passphrase as many times as I wanted, but now when I try, it locks me out for 30 seconds after each attempt, and also notifies me of the total number of failed attempts. When I reboot the phone, the failed attempt counter resets to zero.

Do I have any recourse here? Since I know the passphrase, is it possible to dump the encrypted data partition to my computer and decrypt it from there? The phone is not rooted, nor does it have any custom ROMs or anything like that. I appreciate any help anyone can give.
[General Questions and Answers] barmyfp:
Quick addendum, I attempted to sideload the final OTA update sourced from the Nokia OTA Repository on Telegram onto the phone via recovery mode. It is running Android 10 now but still no luck unlocking. Interestingly, however, the failed attempt counter now appears to be working correctly, indicating I have entered the incorrect passphrase 31 times now. I'm not sure how many more times I can do that before it wipes everything.
[HTC Excalibur] Egyptman786:
I get an error,

these are the steps i do,

1) connect active sync

2)run the

3) hit yes

4) press any key

5) press any key again

6) hit yes on my phone to confirm JumpSPL

7)then hit continue

8) then hit any key again

9) then the Smartphone rom update programs comes up

10) hit next next then Update then next

11) then it says updating rom

12) then the progress bar comes up and at 3% i get this error

what do i do

Edit: after i run the exe, it says reboot device in the instructions on the first post, what do i do there, im a lil slow with phones, can anyone help
[HTC Excalibur] gixxum:
go to the sticky's and read my guide.will be a few threads down from the top...

you need to app unlock the phone
[HTC Excalibur] shadytree00:
ME 2...:confused::mad:
[Samsung Galaxy A50 Questions & Answers] home_is_where_the_csc_is:
I have a Samsung A50 that all of a sudden hung and after it restarted I'm stuck in the Samsung boot screen (with the "Secure by Knox" message). There's no backup and there was no SD card in the phone (I really thought there was tbh but I recall getting it out to put it in another device).

- can't get into recovery mode

- can't get into "safe mode" or whatever it's called (which I think is obvious since it doesn't seem to go past the bootloader)

- CAN get into copy mode

So I downloaded the firmware for the model and country from Sammobile and flashed it with latest Odin version.

After the flash it said that all was OK. The phone reboots and I get stuck in the exact same screen.

I was somewhat surprised flashing the device works but it can't boot.

I put it to the side for a few days to see if there are professional recovery companies but that's quite expensive (the phone itself is not important).

Now I start doubting myself if I used the CSC or the HOME_CSC in the CSC field. Since I thought this was confusing (in linux HOME is your user directory and so at first I thought that would overwrite the user directory).

What I did now is reflash with HOME_CSC. with the idea that if the system boots it won't overwrite user directory (so personal files).

Is this already too late and the data erased even when Android didn't seem to have started? I didn't set the "repartition" flag but perhaps Odin is just extracting files from a tarbal and one specific is written to the storage that instructs android to wipe user data. So when extracting the HOME_CSC over it that file is not deleted and the wipe will still be triggered. If so is there a method to remove this file?

Does the firmware and the user files go to the same storage chip?

Anyone know where I can find the chip socket (was looking into JTAG and other tools if that's an option to do recovery with chip-off method) to know which adapter would fit?

Anyone knows what Odin does internally during the HOME_CSC/CSC step? Is it just extracting files in a filesystem?

Anyone experience with chip-off or other data recovery methods on the hardware level? (chip-off seems the "easiest")

Is there encryption on the internal storage on a Samsung A50? I think not but I might be wrong.

In a chip-off scenario is the content of the storage just a matter of mounting a filesystem (after creating an image of it)? Or is there some magic to be done that I'll probably need professional software for (I saw softwares that costs over 5k for the cheapest package).

Any advice or help is greatly appreciated!
[Samsung Galaxy A50 Questions & Answers] SubwayChamp:
You mean download mode maybe?

The device is encrypted by default, this is how Knox works.

If you want firstly to recover your data without having the device the ability to boot again to the system then it is not highly probable, the all you can do now is trying to flash successfully the SAME firmware that was previously onto your device and hoping that this fix it.

If you flash the same firmware and if you flash the CSC_HOME file then your userdata was not overwritten but the other CSC file contained in your firmware does that.

In case you can't boot normally after to flash the correct firmware then you should take it to a repair center, usually they either unmount/disassemble the entire motherboard or pull out/backup the data with some expensive hardware tool.
[Samsung Galaxy A50 Questions & Answers] home_is_where_the_csc_is:
That is correct.

I see methods where the chip is removed from the motherboard and they read it directly with something like JTAG. So the key to decrypt is in the chip itself?

So it has to be the exact same version as well? I mean you have firmware for a specific model and carrier (or with no Carrier). However it could be e.g. 11.0 before and now 11.1 and that is blocking it from booting? (downgrading firmware is not possible though) I took the latest version for my phone since I usually update almost immediately after an update is available.

Most important question here is if I first flashed with CSC and afterwards with CSC_HOME *without* the OS booting, does it actually clear that data right away? Or only when the OS starts? Any insight on how this works internally? HOME_CSC and CSC only have a very small size diff I believe so I don't think it overwrites right away and rather writes a file that triggers the process. Any reference somewhere that explains how this piece works?

Samsung service center wants to replace the mainboard, other board, screen which would of course get rid of all the data (they don't open the device until you're willing to pay to repair the full device).

There are data recovery companies but they're expensive (claiming 80% successful data recovery). The local repair shop says 20% of data recovery is successful so not going to send it there and I have to pay them to do the investigation. To me these phone repair shops seem mainly doing battery, mainboard, other board, screen and camera repairs (read: replace the part). I can do most of these myself since it's hardware swap. I doubt they're any good in more advanced repairs.

I actually wonder now if it could still be the battery. The phone doesn't seem to charge anymore. The moment I disconnect the charger it powers off. Someone said power output could be too low and that's why it doesn't continue booting.
[Samsung Galaxy A50 Questions & Answers] SubwayChamp:
Yes, this is a kind of disassemble, it needs some hardware tools to do it, and after that the data can be pulled easily to another place but the JTAG does by communicating directly to the hardware cores.

It has to be the same build number to avoid data loss, no matter the region, can your device enter to download mode and what is the letters there in the screen?

As I said previously the CSC_HOME doesn't overwrite that partition but the other CSC present in the firmware it does.

You can flash the CSC_HOME or simply let it blank (without flashing it)

Without counting the fact that it doesn't accept charging battery I would incline to think that is a software failure, the JTAG is not so expensive, basically you wouldn't need to back up nothing while you can flash the right firmware on it and device can boot normally, the JTAG also works to can share live (revive) to a device dead and not only to pull out some data.
[Samsung Galaxy A50 Questions & Answers] home_is_where_the_csc_is:
Yes it goes in download mode. Do you mean you want the full output?

FRP lock and OEM lock is on. Current binary: Samsung Official

CARRIER_ID: PHN

WARRANTY_VOID: 0

RP SWREV: B:0 K:9 S:9

Anything specific you want to see?

Do you have experience with this? Is it very tricky? I have some tools and could buy some extra and have a bit of experience with electronics. of course doing a chip-off seems like a non-trivial thing to do.

Or perhaps you'd immediately tell me that chances I'll be successful are very slim?

I feel like I flashed the right firmware actually. I just took the latest firmware available from Sammobile for this model SW-A505FN and the OEM lock allowed me to flash it. I update frequently (almost immediately after update comes out so the latest firmware seemed like the one to pick. Yet it's still not booting nor can I get into recovery mode.

Problem with the JTAG is that I would still need to know which socket would be needed to do either a chip-off or connect wires into the board itself. Or do you mean I need a JTAG to flash the device properly?

Thanks a lot for your time and effort!
[Samsung Galaxy A50 Questions & Answers] SubwayChamp:
You triggered the FRP protection in the previous flashing you did, now device won´t boot flashing a normal "firmware"

The tools used to recover the data are in some way expensive so they're intended for technical that makes of them a way of life I mean they work on this, and they earn repairing a lot of devices, the average cost could be something like 300 USD and the license are bought per year or so independently, not sure if this is good deal just to get the data for a single phone, if you are highly interested on that better take it to a repair center, although it could be a tricky thing for inexperienced people it's not so hard having these tools.

The JTAG does that, it's a kind of plug-and-play equipment, it would be less expensive taking it to a repair center and ask them if this will solve the issue...

And to my point of view the issue comes for:

- The OEM unlock and USB debugging seem not to been have enabled previously.

- Some of the firmware you flashed previously triggered the FRP protection.

If you consider taking it to a repair center, you could ask them if the JTAG would work with these two main disadvantages.

And by your own, the solution could be finding an engineer firmware and flash it through a patched/modded Odin.