yashsingh1/xdaforums huggingface dataset:
[Android Software Development] :
On FydeOS + Debian 11 I can't launch Virtual Box, VLC and some other application. I'll install Ubuntu 22.04.2 LTS. I think that I can install Virtual Box in this Ubuntu.
[Android Software Development] ethical_haquer:
Ubuntu LTS stands for Long Term Support.

Yes, it should definitely work with Ubuntu. Just make sure you download the Ubuntu 22.04 version of VirtualBox when you follow the tutorial.
[Android Software Development] :
I tried install Virtual Box on Ubuntu 22.04.2 LTS and I get notification: Unable to install virtualbok-7.0: The following packages have unmet dependencies.
[Android Software Development] :
I installed Virtual Box 7.0 and extension from Terminal.

I can't install Windows because Virtual Box is not working.
[Android Software Development] :
I was able to install Virtual Box and Extension as described in the instructions on the page for which you posted a link. I installed Windows 11 x64 Pro on Virtual Box. I installed driver for Samsung. I downloaded ODIN 3.14.4. I opened ODIN as Administrator.

Did those two commands in the terminal and everything that was needed. When I reconnected the phone in Download Mode with Virtual Box, I received a notification: USB device not recognized.
[Android Software Development] :
I need help for driver for Samsung.
[Android Software Development] ethical_haquer:
I'm guessing the process is different for Windows 11.
[Android Software Development] :
Driver Samsung is the same and for Windows 10 and Windows 11.
[Android Software Development] :
I installed Jodin3Casual on Ubuntu. When I connect Phone with USB in Download Mode, it Connected. When I used AP, BL, CP and CSC and Start, Jodin Disconected. I need somthing for PIT.
[Android Software Development] bmwdroid:
a pit file is imho only necessary when you want either to repartition the device (changing sizes aso) or your device as a wrong ROM flashed or is somehow corrupted.

I usually flash with Odin without pit files.

If you really need it it's often inside the CSC...tar.md5 file from where you have to extract it first.
[Android Software Development] :
I don't know why JodinrCasual Disconnected after I click on Start.
[Android Software Development] :
Odin4 on Ubuntu 22.0.4.2 LTS work for me.
[Android Software Development] icespice4life:
i need help whenever i try to run those commands after putting usr/local/bin/odin4 it says no such file or directory exists what do i do?
[Android Software Development] ethical_haquer:
In your case, you can just follow the directions here. So just disregard the "correction" I made for @ZmisiS. Let me know if you have more issues. :)
[Android Software Development] icespice4life:
it still syas no such file or directory
[Android Software Development] :
Copy extracted Odin4 and paste in Download. Open Terminal and use command 'sudo su'. Click Enter and use password and Enter. Now go command 'cd /home/(your user name)/Download and Enter. Now command 'ls' and Enter. After use command 'cp odin4 /usr/local/bin'. Click Enter and it is it.
[Android Software Development] :
I tried with Windows 10. Problem is the same as and on Windows 11.
[Android Software Development] :
I can't flash with Jodin3Casual without PIT. How I can flash it without PIT?
[Android Software Development] :
When I try flash with Jodin3Casual I get this notifications:
[Android Software Development] bmwdroid:
So Jodin3 seems to rely on having a pit file.

Did you look for it inside CSC...tar.md5 as I wrote and there is none?

Which stock are you trying to flash anyway?

If you're having windows installed and there Odin doesn't work either (there it should for sure without pit) then I assume your device/USB-cable/-port is the problem.
[Android Software Development] :
On Windows it work OK. I gave up on Linux and went back to Windows. Thanks to all of you who helped me. Greeting.
[Android Software Development] icespice4life:
it isnt working what do i do
[Android Software Development] :
You need this: cd /home/maylucy355/Download. Not download. Extracted Odin4 need be in Download.
[Android Software Development] braveheartleo:
I'm posting an update regarding this issue. I can only describe what happened as surprising, but I successfully flashed the Galaxy A52s 5G when I was ready to do some more troubleshooting with it using strace. Here is the console log:

strace -o trace.log odin4 -b BL_A528BXXU3EWE1_A528BXXU3EWE1_MQB64984945_REV00_user_low_ship_MULTI_CERT.tar.md5 -a AP_A528BXXU3EWE1_A528BXXU3EWE1_MQB64984945_REV00_user_low_ship_MULTI_CERT_meta_OS13.tar.md5 -c CP_A528BXXU3EWE1_CP24186417_MQB64984945_REV00_user_low_ship_MULTI_CERT.tar.md5 -s HOME_CSC_OLM_A528BOLM3EWE1_MQB64984945_REV00_user_low_ship_MULTI_CERT.tar.md5
Check file : BL_A528BXXU3EWE1_A528BXXU3EWE1_MQB64984945_REV00_user_low_ship_MULTI_CERT.tar.md5
Check file : AP_A528BXXU3EWE1_A528BXXU3EWE1_MQB64984945_REV00_user_low_ship_MULTI_CERT_meta_OS13.tar.md5
Check file : CP_A528BXXU3EWE1_CP24186417_MQB64984945_REV00_user_low_ship_MULTI_CERT.tar.md5
Check file : HOME_CSC_OLM_A528BOLM3EWE1_MQB64984945_REV00_user_low_ship_MULTI_CERT.tar.md5
meta-data/download-list.txt
/dev/bus/usb/001/010
/dev/bus/usb/001/010
Setup Connection
initializeConnection
Receive PIT Info
success getpit
Upload Binaries
abl.elf.lz4
xbl.elf.lz4
xbl_config.elf.lz4
tz.mbn.lz4
hypvm.mbn.lz4
devcfg.mbn.lz4
tz_iccc.mbn.lz4
aop.mbn.lz4
km41.mbn.lz4
qupv3fw.elf.lz4
storsec.mbn.lz4
NON-HLOS.bin.lz4
dspso.bin.lz4
shrm.elf.lz4
cpucp.elf.lz4
uefi_sec.mbn.lz4
imagefv.elf.lz4
sec.elf.lz4
bksecapp.mbn.lz4
apdp.mbn.lz4
vbmeta.img.lz4
vaultkeeper.mbn.lz4
tz_kg.mbn.lz4
tz_hdm.mbn.lz4
boot.img.lz4
recovery.img.lz4
vendor_boot.img.lz4
dtbo.img.lz4
super.img.lz4
vbmeta.img.lz4
vbmeta_system.img.lz4
modem.bin.lz4
cache.img.lz4
prism.img.lz4
optics.img.lz4
Close Connection

As you can see, I was quite surprised when it started flashing. I was expecting to see the ioctl bulk read Fail : Connection timed out 110 error and get the trace log to know more. The setup remained the same phone unit, same USB cable used, same USB port connected to, same machine used for flashing.

I don't know what changed for the flashing to push through, save for the strace prepended before the odin4 command. Perhaps this changed some execution condition that doesn't result to the ioctl bulk read fail. I guess it would be good to repeat flashing the unit again normally, without strace, and see if it results in the error coming back but that would be for some other time.
[Android Software Development] :
I tried strace and it not work for me. I installed strace with Terminal.

Can you be a little more precise and write what you typed in Terminal when you used strace? What should be done to start the strace?
[Android Software Development] :
Odin4 work for me on Ubuntu 22.04.2 LTS. I need know how disable 'Autoreboot in odin4. Here's how I did and installed the Stock ROM on Samsung Galaxy S10 (SM-G973F).

I need install twrp-3.7.0_9-1-beyond1lte.img.tar and vbmeta.tar.
[Android Software Development] :
I tried install TWRP and vbmeta and not work for me. I don't know command for install this.
[Android Software Development] :
I was able to install TWRP and vbmeta. After the installation, which took a few seconds, a black screen appeared. I immediately pressed the Up + Bixby + Power buttons together. I held until TWRP appeared. Here's how it looks in the Terminal.
[Android Software Development] :
I installed and up_param.tar.
[Android Software Development] AnonVendetta:
Up until today, I thought that Heimdall was the only option for flashing Samsung firmware on Linux. I've tried Heimdall, several times, but failed to flash anything with it. I'd always thought that Odin was a Windows only thing.

I'm definitely glad I found this, I just have to try it. Later today, I'm going to test flash the latest Android 13 firmware onto my Note 20 Ultra. It's nice to know that we in the open source corner have flashing options that don't involve booting into Windows.

I also couldn't get JOdin to flash anything.
[Android Software Development] AnonVendetta:
I was just able to flash a Marshmallow firmware onto my Galaxy Note 4, easy as pie once I created the udev rule and blacklisted cdc_acm. This tool is awesome! Screw you, Microsoft!

Now, time to test with something newer.

Any way to disable auto reboot? I've noticed it does it automatically. I never use that option in Windows Odin.
[Android Software Development] Virnik0:
Don't do that. Install kvm and virt-manager. native virtualization. Works the best. I do have Win11 virtualized as well, for similar purposes.
[Android Software Development] :
I installed Stock ROM, TWRP and vbmeta. All working OK. I did the same on Windows. I needed it for installation OneUI 5.1 for Exynos Galaxy S10 series (Android 13). The only thing I miss is turning off automatic reboot like on Odin on Windows.

How to Install kvm and virt-manager native virtualization on Ubuntu 22.04.2 LTS?
[Android Software Development] :
I installed kvm and virt-manager. It is the same as and Virtual Box. Not work for me on Ubuntu 22.04.2 LTS.
[Android Software Development] AnonVendetta:
I use both VirtualBox and VMware Workstation on Linux. Some OSes work better in one, other OSes work better in the other. So I use both. I haven't tried kvm/virt-manager.

I've also been able to successfully install Windows in a VM, and Odin flash Samsung firmwares from within the VM. You just need to install the Samsung USB drivers on the guest, then pass through a USB port from host to guest. Works perfectly.

But now that I've found this native Odin for Linux, I won't have much of a need for using VMed Windows to flash.
[Android Software Development] Virnik0:
KVM is native virtualization on Linux. So no intermediate layer, no virtualbox or vmware in between. Performance tends to be much better.
[Android Software Development] Virnik0:
just cd to the Downloads, then:

cd ~/Downloads
[Android Software Development] AnonVendetta:
I'll have to try it when I have time. But first, I'll need to find a tutorial. I've heard that KVM is harder to set up than Virtualbox/VMware.
[Android Software Development] :
Problem solved. Here is how I solved the problem.

I would like to use KVM, but I have a problem with USB. I installed the driver and Odin. I don't know how to do file exchange between PC and KVM.
[Android Software Development] :
How to install the Samsung USB drivers on the guest, then pass through a USB port from host to guest?
[Android Software Development] :
I tried install Virtual Box on Ubuntu 22.04.2 LTS and I get this notification:
[Android Software Development] Virnik0:
Connect the USB,

run this in terminal:

$ sudo modprobe -r cdc_acm

then share the device to VM guest.
[Android Software Development] :
How to share the device to VM guest?
[Android Software Development] Virnik0:
with kvm and virt-mgr, it is easy:

Virtual Machine > Redirect USB device

Then tick usb device you want to hand over to guest. In this case, it would be something Like Samsung/Composite/USB
[Android Software Development] :
I don't understand you.
[Android Software Development] Virnik0:
Install virt-manager and kvm packages . then run virt-manager, and open the VM then the top menu.
[Android Software Development] :
I installed it yesterday. That's why I reinstalled Ubuntu this morning. It won't work on my computer anymore. I just need a tutorial on how to use USB in Virtual Box.
[Android Software Development] Virnik0:
VirtualBox adds additional layer to virtualization KVM doesn't have. It has significant detrimental impact on VM performance.
[Android Software Development] :
I am new to linux. Installing KVM is not a problem. The problem is to configure the same. I went through dozens of pages to use that app and after all I ran out of ethernet and some other stuff so I had to reinstall Linuxes. if only I had step-by-step instructions for configuration. How to exchange files, how to use USB, etc. As it is, this is an adventure for me. I don't want to reinstall Linux again.

KVM work onWindows 10, but not work on Windows 11 for me.
[Android Software Development] Virnik0:
KVM doesn't care what OS it runs. Set the profile to Windows10, but manual install. Then, configure virtual CD to mount Win11 image. Configure memory, disk, etc...

Save the VM, and boot it. Should auto-boot from CD/ISO. Install Windows.

Or where exactly you see a problem? What is it that prevents you to continue? If it is templated installation wizzard, manual install would solve it. Or, it could be Windows11 notorious TPM requirement. This could be solved by using ISO with this feature patched. Any generic ISO on torrent would do (if you do have your own license key, then do not use pre-activated build), and it would install normally.
[Android Software Development] :
I tried to install Windows 11 yesterday and I got a message that I can't install it. I installed Windows 10 without any problems.

The problem is that I cannot exchange files between KVM and Linux. The problem is that I can't use USB.
[Android Software Development] :
I tried Windows 11 on KVM and I get this notification:
[Android Software Development] :
I installed Windows 10 on KVM without problems. Now I need help for share files KVM with PC and PC with KVM.
[Android Software Development] Virnik0:
I share the files using two means: either you set a directory to be shared with the VM, or setup Samba (windows sharing) on Linux, and then in Windows you'll just open\\IP\ to see shared folders
[Android Software Development] Virnik0:
That is because the VM doesn't see tpm. Use patched ISO instead
[Android Software Development] :
How?
[Android Software Development] :
It doesn't recognize my activation key here, while I don't have that problem on Virtual Box.
[Android Software Development] :
Thanks, but I'm giving up on KVM,
[Android Software Development] :
I can't install extensions on VM. I go right click on the extension and choose to open with VM and when I click to continue the VM opens and there is nothing from the extension. Is this the cause of why I can't use USB on the VM?
[Android Software Development] AnonVendetta:
@Virnik0: It seems you were right about virt manager being better. Even without a tutorial, I have already managed to install Manjaro in it. But only in legacy boot mode. I cant seem to get Manjaro installed in UEFI mode, it just gets stuck on the bootloader when starting, and drops into a UEFI shell. Either way, it is definitely running smoother than both VirtualBox and VMware, the performance difference is noticeable.

When running this OS within VirtualBox, the VM sometimes locks up completely if I try to play HD+ videos on YouTube. Other stuff runs a bit sluggish too. virt manager is still not as fast a real, native install though.
[Android Software Development] Virnik0:
Depends on hw and screen protocol. Use Spice insted of vnc. aa for MBR/EFI (true. patches adding EFI support are not yet in mainline tree).
[Android Software Development] :
It is for those who know. For me who is new to Linux, this is higher math.
[Android Software Development] AnonVendetta:
Virt manager/kvm isn't that hard to use. A bit harder than VirtualBox/VMware. I've already used it to set up 2 Linux guests, and Windows 10, they all run smoothly. And all that, with no prior experience, and not needing to look for a tutorial before trying. If you're running linux, skip other virtualization solutions and just try Virt Manager instead.

I also tested USB pass-through from host to guest, I was able to Odin flash a firmware on an older phone.

@Virnik0: Thanks to your recommendation, I have already deleted my native Windows install. I now have Windows 10 set up in Virt Manager, and am busily redoing my setup so that all my Windows stuff runs in the VM only. Performance is pretty good. The only issue I can see, is that Virt Manager may not be so good for playing native Windows games. I've been aware of GPU pass-through for quite some time, but I've never tried it. I'm sure there must be some way to share my Nvidia to the guest Windows. But until then, I'd need native Windows for gaming.
[Android Software Development] :
I've installed it twice and can't use USB at all and can't share files between KVM and Linux. For me, that's higher math. Linux is something completely new for me.
[Android Software Development] Virnik0:
It is for all people who are shown that Linux is not 'yet another Windows' - understandable.
[Android Software Development] :
I never considered it Linux 'yet another Windows'. Exactly the opposite. Windows is already on top of my head and I want to leave it completely. Now I have it as a dual boot with Linux. I want to completely switch to Linux. If I manage to do most things on Linux, Goodbye Windows.

That's why I need help on Linux so that Windows become unnecessary for me, and not that when I need to do something I have to start Windows. I want to use virtual Windows just for ODIN and maybe one or two other applications. That's the only reason I want virtual Windows.
[Android Software Development] Virnik0:
Then don't play on Windows at all ;-) All games I ever tried, I was able to make them run on Linux. For example, just recently, Diablo IV

what if I told you, that nearly everything, if not much than that, could be done on Linux? Just don't loose the nerve, keep trying and learning - you'll get there. My 70-ish parents in law are also using Linux since I married their daughter. I asked them wheter they want back to Windows twice, answer was always 'no' - that is to the difficulty of Linux towards users.
[Android Software Development] :
I am 60 years old and I am not interested in games. I'm interested in Odin and maybe one or two other applications from Windows. I just need to enable USB on Virtaul Box and that's all.
[Android Software Development] Virnik0:
Good luck then
[Android Software Development] :
If I don't solve the USB problem, I'll go back to Windows. Is there no one here to help me?
[Android Software Development] Virnik0:
very few wants to keep helping someone who refuses ideas which collides with their own views, or to someone who refuses advices given based on prior queries, or to someone who constantly writes back in a sense that 'it doesn't work'
[Android Software Development] :
Here I am offered to do something, but I am not given instructions on how to do it. I know what I should do, but I don't know how I should do it. I need step by step to boot USB to KVM and share files between KVM and Linux.

I can't install Windows 11 on KVM but Windows 10. On Windows 10 it doesn't recognize the key, while on Windows 11 on Virtual Box it recognizes the key.
[Android Software Development] :
I managed to solve something on Virtual Box related to USB, but I get a message that Windows does not recognize my device.
[Android Software Development] Virnik0:
I already answered those questions. You won't be able to install Windows 11 on KVM using standard ISO, as KVM do not propagate TPM to the guest VM.

What about trying to search for once?

Either make the custom ISO yourself, or download already modified one from torrents.

To modify it yourself, follow this: https://www.isumsoft.com/windows-11/install-windows-11-without-tpm-and-secure-boot.html
[Android Software Development] :
And what should I do when I can't use USB and share files?
[Android Software Development] Virnik0:
you can.

a) connect usb

b) DO NOT MOUNT in your desktop

c) in virt manager, make sure the VM has USB added as peripheral, and share the USB device to guest.

d) guest Windows VM finds it and you'll see it in My Computer
[Android Software Development] :
Does this mean I would have to install Windows 11 on black?
[Android Software Development] Virnik0:
No, not necessarily. You can still be authentic and use genuine ISO to disable TPM requirement, and install Win11 using customized ISO.
[Android Software Development] AnonVendetta:
Just download an official 11 iso from Microsoft. Use Rufus to modify it, it will remove the TPM requirement. Then install in the normal way.

For what you are doing, you don't need 11, 10 is enough. Download a Windows 10 Enterprise iso, install it, use a kms activator to activate it. I suggest using a 10 Enterprise LTSC iso, it doesn't ask for a key when installing. And it lacks almost all the bloatware that the other 10 editions (home, pro, etc) have. Once you've got it installed, you'll see how clean it is. I've used LTSC as my daily Windows driver for several yrs now.
[Android Software Development] :
My wrong. problem solved.
[Android Software Development] :
KMS is in the black. I have a legal key for Windows 11. I have nothing black on my computer and phone.
[Android Software Development] AnonVendetta:
Then do what I've said and modify an official 11 iso with Rufus. It's that simple. I have installed Windows 11 in this way before, no install errors.
[Samsung Galaxy A20 Questions & Answers] Deleted member 8606357:
Hello.

I've got my mother's Samsung A20. And i need to recover data, but the screen doesn't work.

When power button is pressed, display flashes the lock screen (wallpaper, current time and so on). And then it turns black (backlight stays on for 30 seconds, and then turns off). Pressing the button doesn't guarantee flashing the display, sometimes it goes black immediately. Touch screen gives no input as far as i know (can't hear anything when trying to type pin). Problem still occurs during and after reboots.

I managed to connect a mouse and keyboard with USB OTG, and i was able to unlock. But the phone has no MHL support, so i can't get any image through USB. I'd try pressing the power button repeatedly to get some image and inch my way through the interface, but the lockscreen interferes.

The USB port is set to Charging Only mode, so i can't copy files to my computer. USB Debugging is disabled, bootloader is locked.

Does anybody have a clue, how to get image? Some way to get data? Maybe some keyboard shortcuts, so i can disable lockscreen and make my way easier? And maybe disable 20 alarms in the morning?
[Samsung Galaxy A20 Questions & Answers] GalaxyA325G:
I like to be helpful so I'll try to give you some suggestions but I hope others pitch in who know far more than I do.

I never use the USB cable anymore to operate my phone from my PC (but my screen isn't broken so your situation will be much harder).

I connect to my phone from Windows over Wi-Fi without USB all the time, and I can unlock my screen from the PC, and I can mount my entire Android device as a drive letter on Windows over Wi-Fi, etc., so "maybe" (just maybe though), you can consider using either a WebDav server on Android to access your files and/or adb to bring up and manipulate activities on Android....

However, I don't know if adb will work for you if you can't turn on USB debugging in the first place... but as of Android 12, adb now works completely over Wi-Fi (see screenshots below) without needing the USB cable to establish the initial connection like it used to be prior to Android 12.

If the screen problem is "just" hardware and not software, and if you can turn on Wireless Debugging, you might be able to display your phone over scrcpy or vysor (both of which use adb over Wi-Fi) as shown in the screenshots below on my phone - which never needs the USB cable connection.

Hope this helps, but you seem to need folks who know more than I do as adb/vysor/scrcpy all work for me because I can set up USB Debugging & Wireless Debugging as shown below.

Note that you might have an FTP server or a WebDav Server on your Android phone, and if you do, you might be able to at least transfer important files since they each can mount your entire Android phone as a drive letter on Windows over Wi-Fi (without needing the USB cable).
[Samsung Galaxy A20 Questions & Answers] Deleted member 8606357:
A20 can have only Android 9, 10 or 11, but thanks for ideas anyway.

I didn't even know adb can work over WiFi, I'll look into it. Hopefully this version can do it too.

Now trying blindly to turn on the screen reader…