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
Can you show your terminal when you see command not found?
update, this is the sc that i have taken recently, to my surprise it couldn't read my mobile during recovery mode.
try sudo adb devices
or, hold on
I don't think this works in distrobox
instead, layer android-tools or use the portable package
Noted, will try once I returned home, will post another sc later
adb works in distrobox
scrpy depends on adb
@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
Okay noted, ill search on how to do that
Create a distrobox container with terminal rather than boxbuddy and add the --root flag
https://github.com/89luca89/distrobox/blob/main/docs/usage/distrobox-create.md#:~:text=The%20--root%20flag%20will,also%20root%20outside%20the%20container!
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...
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
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.
Nice thank you!
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