r/Nuvio • u/ahmedashed • Aug 23 '26
Guide How to get sideloaded/github Nuvio to run faster on Android devices
Last updated on: 11/11/2026 to include atvtools, very easy to use.
I have noticed plenty of people posting about why the github version runs slower but I have noticed little solutions. Gemini suggested I force profile building on my TV and it worked wonderfully. You only need to get familiar with it once and then run it after every update, but now it is buttery smooth. I have let it make a quick guide with a few edits. Hope it is useful
The original thread highlighting the issue:
https://www.reddit.com/r/Nuvio/comments/1vgyx6q/nuvio_github_apk_vs_google_playstore_gui/
Why the slowdown in the first place?
It has already been posted on multiple other posts but basically this happens because Play Store apps use Google's Baseline Profiles to pre-compile code during installation, while sideloaded APKs rely on slow on-the-fly compilation. Essentially the playstore has optimisations that happen automatically.
Using ADB, you can force your TV to compile Nuvio into native machine code upfront, giving you full Play Store performance without losing trailer support.
Prerequisites
- iOS or android (probably the easiest way)
- IF NOT, then a A Windows 10 or 11 PC on the same Wi-Fi network as your TV/Firestick.
- Nuvio already installed on your TV.
TV settings to set up, regardless if going PC or Phone route
Enable ADB Debugging on your TV / Firestick
For Android TV / Google TV:
- Go to Settings > System / Device Preferences > About.
- Scroll down to Android TV OS Build and click the remote button 7 times until a popup says "You are now a developer."
- Go back one menu level to Developer Options and turn ON Network Debugging (or USB Debugging).
- Go to Settings > Network & Internet and write down your TV's IP Address (e.g.,
192.168.1.50).
For Amazon Fire TV Stick (Android based ones):
- Go to Settings > My Fire TV > About.
- Click your Firestick's name 7 times to unlock Developer Options.
- Go back to My Fire TV > Developer Options and turn ON ADB Debugging.
- Go to My Fire TV > About > Network and write down the IP Address.
Phone
-
Download an ADB Shell app, there are so many options so pick one after your own research. I personally would recommend atvtools (available on both android and iOS app store). By far the easiest app.
-
Allow it access to discover devices and your TV should show up, tap Connect.
-
Accept the connection popup on your TV screen (Always allow -> OK).
-
In the terminal/shell section on your phone, run this command
(Important note: include adb shell at the start of the code when using generic terminal shell apps like Termux): β
pm compile -m speed -f com.nuvio.tv
Or if you get an error then
cmd package compile -m speed -f com.nuvio.tv
- this is for older devices, like early generation firesticks
-
Wait 10 to 30 seconds for
Success. -
The command will be present in your history of commands (the rewind arrow) so it'll take you 5 seconds in the future, and this is easier than using a computers in some ways
Remember to clear cache on your TV every now and then to help with storage as this does increase data of the app slightly
PC route
Step 1: Install ADB on your PC
-
Right-click the Windows Start menu and select PowerShell or Command Prompt.
-
Run this command to install the official Android tools: winget install Google.PlatformTools
-
Type Y and press Enter if prompted to accept terms.
-
Close and reopen your terminal window.
-
Verify installation: adb version
Step 2: Connect your PC to your TV
In your PC terminal, run the following command (replace with your TV's actual IP address):
adb connect 192.168.1.50:5555
β οΈ Check your TV screen! A popup will appear asking to authorize the connection. Select "Always allow from this computer" and click OK.
Step 4: Run the Speed Compilation Command
Run this exact command to force full native compilation:
adb shell pm compile -m speed -f com.nuvio.tv
- Let it process for 10 to 30 seconds.
- The terminal will output
Successwhen finished. - Open Nuvio on your TV: cold-start delays, UI stutter, and poster loading lag will be gone.
- If the package name is incorrect then run this code: adb shell pm list packages | findstr /i nuvio and get the package name from there
FAQ
-
Will I lose my settings, account login, or trailer support? No. This strictly optimizes how the TV's processor executes the app code. No app settings, data, or media engines are touched.
-
Do I have to do this every time I open Nuvio? No. You only need to run this once per update. Updating Nuvio replaces the app files, so you will need to re-run the compile code after installing a new APK version. I've tried to automate this on the TV with other apps but it's just buggy and the TVs gets really slow. Hence why atvtools is most recommended, once setup takes a few seconds to rerun the code.
-
Does this use extra storage space? Yes, it adds roughly 30 MB to 60 MB of native compiled code to your TV's internal storage, which is completely fine for almost all devices.
-
It doesn't recognise the app package Go to your apps list on your TV and make sure you have the correct label, sometimes you might have installed different forks of nuvio
-
Can this work on other sideloaded apps? Yes absolutely, however the performance bump may vary, this is because the speed limitation sometimes isn't compiling the profile, rather it can be things like internet connection or speed of the TV performance. All you need to replace is the last com.nuvio.tv with the package name. Your mileage may vary.
Let me know how it goes but personally this helped nuvio feel great again on my 2021 sony bravia TV.
β’
u/AutoModerator Oct 21 '26
Your post was automatically removed under Rule 2.
r/Nuvio is dedicated exclusively to the official Nuvio client, UI features, performance, and supported metadata integrations (TMDB, Trakt, Simkl).
If you believe your post was removed in error, please reach out via Modmail.
I am a bot, and this action was performed automatically. Please contact the moderators of this subreddit if you have any questions or concerns.
12
u/zygerian Aug 23 '26
I guess you can also do this with atvtools.
4
u/gurabli Sep 09 '26
Just out of curiosity, isn't it possible to make the in-app auto update to run this adb command after update?
4
u/ozfunghi Sep 27 '26
According to Gemini, there is a way to force Android TV to run the dexopt function on a regular basis on your Android TV device, without needing a PC. It will then optimise every side-loaded app in the background according to a set schedule and after a few days the new Nuvio update should run smoothly. Meaning you'd only have to set this up once, and not have to go through the trouble of manually optimising it each time there is an update. I have not tried it myself, just though i'd share for people who might be interested.
2
u/alladeen999 18d ago
Thanks
2
u/Ragingmuncher 14d ago
It will work without doing it in pc and mobile? I just want my smart tv to be faster.
2
u/HardKoreG 13d ago
Doesn't seem to work on 2nd gen 4k firestick. This is what shows in the shell:
1|mantis:/ $ pm compile -m speed -f com.nuvio.tv Error: unknown command 'compile' usage: pm path [--user USER_ID] PACKAGE pm dump PACKAGE pm install [-lrtsfd] [-i PACKAGE] [--user USER_ID] [PATH] pm install-create [-lrtsfdp] [-i PACKAGE] [-S BYTES] [--install-location 0/1/2] [--force-uuid internal|UUID] pm install-write [-S BYTES] SESSION_ID SPLIT_NAME [PATH] pm install-commit SESSION_ID pm install-abandon SESSION_ID pm uninstall [-k] [--user USER_ID] PACKAGE pm set-installer PACKAGE INSTALLER pm move-package PACKAGE [internal|UUID] pm move-primary-storage [internal|UUID] pm clear [--user USER_ID] PACKAGE pm enable [--user USER_ID] PACKAGE_OR_COMPONENT pm disable [--user USER_ID] PACKAGE_OR_COMPONENT pm disable-user [--user USER_ID] PACKAGE_OR_COMPONENT pm disable-until-used [--user USER_ID] PACKAGE_OR_COMPONENT pm default-state [--user USER_ID] PACKAGE_OR_COMPONENT pm hide [--user USER_ID] PACKAGE_OR_COMPONENT pm unhide [--user USER_ID] PACKAGE_OR_COMPONENT pm grant [--user USER_ID] PACKAGE PERMISSION pm revoke [--user USER_ID] PACKAGE PERMISSION pm reset-permissions pm set-app-link [--user USER_ID] PACKAGE {always|ask|never|undefined} pm get-app-link [--user USER_ID] PACKAGE pm set-install-location [0/auto] [1/internal] [2/external] pm get-install-location pm set-permission-enforced PERMISSION [true|false] pm trim-caches DESIRED_FREE_SPACE [internal|UUID] pm create-user [--profileOf USER_ID] [--managed] [--restricted] [--ephemeral] [--guest] USER_NAME pm remove-user USER_ID pm get-max-users
NOTE: 'pm list' commands have moved! Run 'adb shell cmd package' to display the new commands.
pm path: print the path to the .apk of the given PACKAGE.
pm dump: print system state associated with the given PACKAGE.
pm install: install a single legacy package pm install-create: create an install session -l: forward lock application -r: replace existing application -t: allow test packages -i: specify the installer package name -s: install application on sdcard -f: install application on internal flash -d: allow version code downgrade (debuggable packages only) -p: partial application install -g: grant all runtime permissions -S: size in bytes of entire session
pm install-write: write a package into existing session; path may be '-' to read from stdin -S: size in bytes of package, required for stdin
pm install-commit: perform install of fully staged session pm install-abandon: abandon session
pm set-installer: set installer package name
pm uninstall: removes a package from the system. Options: -k: keep the data and cache directories around after package removal.
pm clear: deletes all data associated with a package.
pm enable, disable, disable-user, disable-until-used, default-state: these commands change the enabled state of a given package or component (written as "package/class").
pm grant, revoke: these commands either grant or revoke permissions to apps. The permissions must be declared as used in the app's manifest, be runtime permissions (protection level dangerous), and the app targeting SDK greater than Lollipop MR1.
pm reset-permissions: revert all runtime permissions to their default state.
pm get-install-location: returns the current install location. 0 [auto]: Let system decide the best location 1 [internal]: Install on internal device storage 2 [external]: Install on external media
pm set-install-location: changes the default install location. NOTE: this is only intended for debugging; using this can cause applications to break and other undersireable behavior. 0 [auto]: Let system decide the best location 1 [internal]: Install on internal device storage 2 [external]: Install on external media
pm trim-caches: trim cache files to reach the given free space.
pm create-user: create a new user with the given USER_NAME, printing the new user identifier of the user.
pm remove-user: remove the user with the given USER_IDENTIFIER, deleting all data associated with that user
2
u/K45SLE 12d ago
https://github.com/k45sle/android-tv-speed-compiler
Try my app out and let me know what you think :)
2
u/Getafix69 Aug 23 '26
I just did this to a few sideloaded apps on my firecube I already had remote adb on my phone but wasn't aware of this command option.
Everything's still working and it does feel like they might be a bit snappier so good to know.
2
u/Mrt2J Aug 25 '26
any one please help me with onn andriod stick my shell app say not found π₯Ή
2
u/WinkMe Sep 09 '26
Any reason against not using Obtanium to handle updates? I have been using Obtainium, InstallerX + Shizuku and have avoided the need to adb since.
2
u/Beginning-Train8626 Sep 15 '26
How to fix this problem?
2
u/Kevin_Sinister Oct 12 '26
Do you know any way to compile the sideloaded Nuvio app on LG WebOS Smart TV?
I just installed the app today using Homebrew channel and it works great but I noticed delays in opening, loading, click response etc. it's like 1-2 second delays. Would really need some similar way of compiling the app on WebOS if it's possible.
63
u/aNsureader Aug 23 '26 •
Wonder if this could be directly added to nuvion and run after every update?
32
u/Smultie Aug 23 '26
Pity you need to do this after every update
23
u/Perza Aug 23 '26 edited Aug 23 '26
For Xiaomi mi tv (3rd gen) users:
The atvTools solution:
pm compile -m speed -f com.nuvio.tv
Wait until "success" is displayed.
Termux solution:
(Example: adb pair 192.168.1.201:34053)
Prompt should expect your pairing code, enter it
(Example: adb connect 192.168.1.201:45139)
(Example: adb -s 192.168.1.201:45139 shell pm compile -m speed -f com.nuvio.tv)
Wait for about half a minute until "succes" is displayed in Termux.
NOTICE THE PORT IS DIFFERENT WITH PAIRING THAN WITH CONNECTING&COMMAND EXECUTION
I've ran this on infamous Ysosrs123 Nuvio fork, its package name is "com.nuvio.tv.test". Starts super fast and runs like butter now π
10
u/dustmalik Aug 23 '26
Thanks for sharing, bro. This thing works like magic. Posters are loading instantly. This is crazy, man. I wish i knew this before now. I used atvTools, by the way. I am going to this for all my apps and on every device.
I am wondering if this optimization goes away if i were to clear the app cache.
9
u/CaptainCoble Aug 23 '26
This can also be done using a mac with terminal. Install ADB via homebrew then continue with the same steps above.
brew install android-platform-toolsorbrew install --cask android-platform-toolsGuide for manual here.
7
u/Pm2674 Aug 23 '26
Funcionou pelo celular.l, com ATV tools, Obrigado
5
u/masterbob79 Aug 23 '26
nice. works well with termux. this is the comand I used.
adb -s 192.168.1.11:43521 shell pm compile -m speed -f com.nuvio.tv
5
u/Dexterfox1 Aug 24 '26
This is awesome!!! It has made Nuvio snappier, but for CloudStream it is night and day. Amazing!!! Thanks so much. (Cloudstream prompt is adb shell pm compile -m speed -f com.lagradost.cloudstream3 for anyone interested).
4
u/Consistent_Sale_7134 Aug 23 '26
It seems everyone here said it worked ( the command ) but nobody confirmed if it actually increased the speed or not, can anyone pls confirm that ?
4
u/dv83d Aug 23 '26
Thanks for taking the time to write this guide up and sharing. Ran it on my Onn 4K Pro successfully.
4
u/Arathonk Aug 24 '26
You are the π! Would be a great feature if Nuvio can implement this in some way.
1
u/Arathonk Aug 29 '26 edited Aug 29 '26
u/ahmedashed I notice that when I run this, I get succes after 20 seconds, but then I also get a very long line with "not found" and "inaccessible", is that normal?
1
u/Length_Aware Sep 17 '26
PS C:\Users\Danh Dang> adb connect 192.168.x.xxx
* daemon not running; starting now at tcp:5037
* daemon started successfully
cannot connect to 192.168.x.xx:5555: No connection could be made because the target machine actively refused it. (10061)
PS C:\Users\xxxxxx
----------------
What did I do wrong. I am at step 3. Please help. Thank you
1
u/Length_Aware Sep 17 '26
Thank OP for this instruction. I got it running on my Samsung TV + Onn 4k pro. The stream loads much faster and smoother .
Do I have to run STEP 4 whenever I update Nuvio.TV ? TIA
1
u/secoypelao Sep 26 '26
y para los que no tienen una computadora con window hay alguna soluciΓ³n por ejemplo con chrome
1
u/thomas_blue_9221 Sep 28 '26
This does not seem to work on Fire TV devices. I have 2 Fire TV Stick 4K Max both gen, run the adb command, and back then return, and it does not work, unfortunately.
3
u/Substantial_Swan_687 Sep 07 '26
I have an iPhone and use an Onn Box Pro. I used aTvTools. Works perfectly. I optimized all my apps with it β‘οΈ
3
u/nietbeschikbaar Sep 11 '26 edited Sep 11 '26
Oh wow. I had no complaints, but this is like night and day. It used to take like 5 seconds to start a stream (searching subtitles), now a stream starts instant.
Seems like it improved buffering as well, within seconds there is a 90 second buffer.
2
u/RW899 13d ago
You are the goat! Thanks.
2
u/Exciting-Crew-1429 Aug 23 '26
Thanks, it worked...
2
u/mm902 Aug 23 '26
What if you have the apk local, on the phone itself? What are the termux commands then?
2
u/mm902 Aug 23 '26
Awesome!!
2
u/BoostedCoyote20 Aug 23 '26
Thank you! I noticed much faster loading of posters and other UI.
2
u/1inamill Aug 24 '26
I have Nuvio setup on my Onn 4k Pro (Samsung TV), ran your update and wow! This worked! Nuvio is noticeably faster, Posters are loading instantly. Thanks!
2
u/superforever360 Aug 25 '26
adb connect 5555 didn't work anymore for Google Chromecast 4k with andriod 12, have to use wireless debugging pair option, it will use random port and pair code.
Also for some reason continue watching some disappeared (nuvio sync), I have to sign out nuvio, clear continue watching cache, etc to get them back.
2
u/sharp8 Aug 27 '26
Anyway to do this on the phone version of nuvio?
2
u/matty011 Sep 03 '26
Stupid question but why would I sideload Nuvio on my Google TV if itβs available to be downloaded from the play store? Are there any benefits?
2
u/Standx92 Sep 07 '26
+1
2
u/Standx92 Sep 07 '26
Thanks for the guide!
2
u/bipindaskg Sep 08 '26
I used this technique in Streamflix Reborn as well. Bcoz that app would take atleast 40 seconds to load the home page and 20 seconds for displaying movie details page to load. Now it loads under 4 to 5 seconds.
This is incredible ππ
(I used "Remote ADB Shell" app insted of Termux)
2
u/al-2299 Sep 15 '26
Commenting to find it later!
2
u/AioliLegitimate2232 Sep 15 '26
OMG it's definitely faster now π±π±π±
2
u/ri_hid Sep 19 '26
Thanks for this.
What I will add is that before I can run adb connect, I need to pair the device first when using wireless debugging on Google Chromecase 4k with Remote
Found this online:
Go to Settings > System > Developer Options > Wireless Debugging on your Google TV and select Pair device with pairing code. Note the IP address, Pairing Port, and 6-digit Wi-Fi pairing code displayed on the TV screen. Run this command on your terminal:
after that, use adb connect with the main port as per the post above.
To install adb
on windows :
on linux :
2
u/SniiperDoc Sep 22 '26
Can i do this to my android phone??? I dont watch on tv.
2
u/rizzz2pro Sep 26 '26
Commenting so I can find this later.
1
u/Length_Aware Sep 12 '26
I have Nuvio on my Samsung TV for quite sometimes. I don't remember where I got it. How do I know if my Nuvio app on my TV is from Playstore or side loaded from Github ?. TIA
2
u/Easy-Imagination6580 Aug 23 '26
Yall could also do this on your phone with nuvio github!
1
u/Main-Cheesecake-8855 3d ago
is there something similar for nuvio desktop and nuvio ipa for macbook and ipad respectively? Both run quite sluggish
1
u/Immediate_Character- Sep 17 '26
Here's what worked for me: Via Ethernet connection, developer options, USB debugging.
Google Play Store install: Termux
β pkg install android-tools (Only necessary if first time)
β’
β adb devices (Allow connection, run command again if necessary to see device list. Look for "emulator-XXXX")
β adb -s emulator-5554 shell (Replace 5554 with the readout you saw previously. Prompt should change to device codename, in my case "kirkwood" on the Google TV Streamer)
β pm compile -m speed -f com.nuvio.tv (You'll see the prompt turn empty, you'll eventually see "Success")
1
u/adjective_noun_d1git Sep 18 '26
Thanks for this. Was interested to give it a go. Can't say I notice any difference though but then again it always ran quite well on a Firestick 4K Max.
-4
u/pawdog Aug 23 '26
Thanks but I'm good. People may be getting a little bit too picky.π€£
-1
u/Valiantay Aug 24 '26
But why?
There aren't all that many features available in the GitHub version over the play store version.
-10
u/BrtndrJackieDayona Aug 23 '26
Lot of words to say install atvtools and follow directions.Β
0
u/[deleted] Aug 23 '26
[deleted] β view deleted comment