flashing custom rom through bazzite using android platform tools

Hi, good morning, good afternoon and good evening. I would like to ask if it's possible to sideload a custom rom using android platform tools using bazzite? If so how do you do it? I have tried to just open the terminal in the platform tools folder, but unfortunately I couldn't do it, it always says "command not found", though I have tried using the same method in Ubuntu but it works. Another method that I have tried is using distrobox, I have created a distrobox for Ubuntu and tried to do the same steps as mentioned above but unfortunately It failed. What would you guys suggest? Or is bazzite really not suited for flashing custom ROMs? Thanks in advance
12 Replies
Kyle Gospo
Kyle Gospo4mo ago
Can you show your terminal when you see command not found?
skipili
skipiliOP4mo ago
update, this is the sc that i have taken recently, to my surprise it couldn't read my mobile during recovery mode.
No description
Kyle Gospo
Kyle Gospo4mo ago
try sudo adb devices or, hold on I don't think this works in distrobox instead, layer android-tools or use the portable package
skipili
skipiliOP4mo ago
Noted, will try once I returned home, will post another sc later
Kasher_CS
Kasher_CS4mo ago
adb works in distrobox scrpy depends on adb
Dobsgw
Dobsgw4mo ago
@skipili you need to make a rootful container with distrobox I had no problems after that. Obviously that comes with security concerns so proceed with caution (maybe delete the container when you're done or make sure its not running in the background) You can make it work on normal distrobox containers but it's a pain in the ass setting permissions for it to access USB ports
skipili
skipiliOP4mo ago
Okay noted, ill search on how to do that
Dobsgw
Dobsgw4mo ago
GitHub
distrobox/docs/usage/distrobox-create.md at main · 89luca89/distrobox
Use any linux distribution inside your terminal. Enable both backward and forward compatibility with software and freedom to use whatever distribution you’re more comfortable with. Mirror available...
Dobsgw
Dobsgw4mo ago
I don't recall having to do anything else - just get adb / fastboot installed and you can adb sideload and flash with fastboot as normal
asen23
asen234mo ago
you also could use adb from host using distrobox-host-exec https://distrobox.it/usage/distrobox-host-exec/
Distrobox
Use any linux distribution inside your terminal.
Dobsgw
Dobsgw4mo ago
Nice thank you!
skipili
skipiliOP4mo ago
Nice thank you guys, I'll try it when I reach home I noticed now that proble, it's just that my usb bus are not being red by my mobile during recovery mode, and the tips that i get is to buy a usb hub, and now everything works
Want results from more Discord servers?
Add your server