[TOOL][GUIDE] BareNox - Modded Nox Android Emulator

Search This thread

jenneh

Senior Member
Hello Friends~!

Today I bring to you the Latest version of Nox, made portable, with a Cleaner Script to remove all the junk on your Main Machine as well as for Clones


DOWNLOAD BARENOX:
BareNox.zip (200M)

If you would rather build your own, I will now provide a written guide for how BareNox was built.

"BareNox" went through a lot of testing and a script was made to automate much of what is written below

Made using the latest version of Nox, which can be downloaded off the right side of this page:
Open Nox's Multi Drive Manager and select "Add Emulator" and "Android 9" or whatever you prefer
1.PNG

When it is done building the machine you need to click on settings and enable root.

This method is advised against, due to the amount of time it takes to physically remove each directory within the gui, when we could remove all of these directories with a simple script. The knowledge will still be provided to show what the adb method is doing for us.

Open Nox and install a launcher app like nova, and a root explorer by selecting the apk button on the right side panel.
2.PNG
If you need the apps:

Nova

Root Explorer

Now open Nox's settings by clicking on the gear icon at the top right.

We need to go into General, and then put a check on root.
3.PNG
Next click on the Gaming tab and enable high fps and rendering cache. This is to allow you to be able to play higher end mobile games
4.PNG
Save settings and restart the machine

Select Nova as the Launcher app always
5.PNG
Open root explorer. Grant Superuser access forever

Delete all the items highlighted in the pictures below and close the machine.
6.PNG
7.PNG
8.PNG
9.PNG
10.PNG
11.PNG
Make a new machine and enable root in settings
Make a text file and call it run.bat
Paste in this code.
Code:
adb root
adb shell rm -r /system/app/AmazeFileManager
adb shell rm -r /system/app/AppStore
adb shell rm -r /system/app/BuiltInPrintService
adb shell rm -r /system/app/CarrierDefaultApp
adb shell rm -r /system/app/CompanionDeviceManager
adb shell rm -r /system/app/CtsShimPrebuilt
adb shell rm -r /system/app/EasterEgg
adb shell rm -r /system/app/Facebook
adb shell rm -r /system/app/Helper
adb shell rm -r /system/app/LiveWallpapersPicker
adb shell rm -r /system/app/PrintRecommendationService
adb shell rm -r /system/app/PrintSpooler
adb shell rm -r /system/app/Traceur
adb shell rm -r /system/app/WallpaperBackup
adb shell rm -r /system/app/newAppNameEn
adb install nova.apk
adb reboot
Paste run.bat into the bin folder of Nox
Paste nova.apk (10M) into the bin folder of Nox
Now Run run.bat
If there is a game you want me to test, leave a comment below.
at the end of the video
at the end of the video. guide is outdated
There's more that can be finessed here, have fun!

VT-Error fix

For rooted WSA (Android 12 or 13) see this guide
 
Last edited:

Twistt

New member
Jul 21, 2022
1
1
Works pretty well for me, except for trying open the multiple instances. I've wiped things clean a couple times and even tried on my other pc. Luckily the app I was trying to install had an x86 version so it'll do for now. I'll have to look into it when I have a bit more time.
Thanks for the post!
 
  • Like
Reactions: jenneh

jenneh

Senior Member
Works pretty well for me, except for trying open the multiple instances. I've wiped things clean a couple times and even tried on my other pc. Luckily the app I was trying to install had an x86 version so it'll do for now. I'll have to look into it when I have a bit more time.
Thanks for the post!
Thank you for testing it!

Note that this issue has now been corrected
 
Last edited:

jenneh

Senior Member
NotNox has had a Proper Update and is now at V2 "BareNox"

Includes the cleaning script commented on earlier.

UPDATED 08/04/2022
(196.2 MB ZIPPED)
Open BareNox and then bin, run MultiplayerManager.exe and add new emulator of choice
1.PNG

The first time you make a machine, nox will have to dl the "base" of the android version you selected from nox's servers. You only have to do this the first time you try to create an android 9 or 7 machine. You will then be able to create clones quickly as the BareNox folder will now contain the base disk and data folder.

Make sure to click on the gear icon and enable Root in system settings before running the machine
Capture.PNG

Run the remove.bat script when this lady appears on your new machine (this is when you have full read write access)

This will go through and remove the crap apps and install nova launcher for us

lady.PNG
Go into the Binary folder of Nox or Not Nox and add a new text file called remove, paste NOVA.APK into this folder as well
2.PNG

Paste the contents of the script into the remove file
3.PNG

change the file extension from txt to .bat by renaming the file
4.PNG

add a new emulator and wait for it to make it to this screen, you need to hit Login later in order to get full Root, otherwise our batch will fail.
5.PNG

Run the remove.bat file after hitting Login Later and waiting for the garena lady to appear
6.PNG

this is what will be shown as the batch runs, don't do anything the machine will reset itself
7.PNG

select nova always and you're all set!
View attachment 5669749
You need to have hide extensions for known file types unchecked, in order to be able to change a file from text to batch

adb shell rm -r /system/app/AmazeFileManager
adb shell rm -r /system/app/AppStore
adb shell rm -r /system/app/BuiltInPrintService
adb shell rm -r /system/app/CarrierDefaultApp
adb shell rm -r /system/app/CompanionDeviceManager
adb shell rm -r /system/app/CtsShimPrebuilt
adb shell rm -r /system/app/EasterEgg
adb shell rm -r /system/app/Facebook
adb shell rm -r /system/app/Helper
adb shell rm -r /system/app/LiveWallpapersPicker
adb shell rm -r /system/app/PrintRecommendationService
adb shell rm -r /system/app/PrintSpooler
adb shell rm -r /system/app/Traceur
adb shell rm -r /system/app/WallpaperBackup
adb shell rm -r /system/app/newAppNameEn
adb install nova.apk
adb reboot

Hello Friends! I have created a guide on how to make your own Script to clean up your Nox machines (pre-installed and clones)~! Please note there is much much more that you can do here, this is just to teach you the basics to help you come up with interesting ideas!!


This video is Nerd Knowledge, and unneeded for folks that just want to quickly clean up their clones. Check out the next comment for the quick cleaning method

"BareNox" has this batch file pre-installed for your convenience
 
Last edited:

HoangNK

New member
Sep 5, 2019
1
0
NotNox has had a Proper Update and is now at V2 "BareNox"
100 mb zipped!

Includes the cleaning script commented on earlier. Watch the video to see how to use it.

Note that:

THIS IS NOT A PREINSTALLED MACHINE, like "NotNox".

You will have to use multiplayermanager and add a new emulator with your choice of android version.

The first time you make a machine, nox will have to dl the "base" of the android version you selected from nox's servers. You only have to do this the first time you try to create an android 9 or 7 machine. You will then be able to create clones quickly as the BareNox folder will now contain the base disk and data folder.

Run the remove.bat script when this lady appears on your new machine (this is when you have full read write access)
This will go through and remove the crap apps and install nova launcher for us

View attachment 5669963
i got this error
 

Attachments

  • Screenshot_1.png
    Screenshot_1.png
    533.3 KB · Views: 199

jenneh

Senior Member
@HoangNK I apologize, I didn't mean to dismiss your VT error, I sincerely thought it was due to that mode not being enabled on the user end.

I now realize, after reinstalling windows on my laptop which has vt enabled, that I did indeed create this error. I didn't realize it at the time due to sharding, as I had nox installed in the main directory as well as the portable, so I didn't notice the problem.

I have rebuilt and verified BareNox, here's the new dl link:
(196.2 mb ZIPPED)

 
Last edited:

jenneh

Senior Member
For anyone Still experiencing the "VT Error" check your Windows Features settings. I unintentionally caused this error to myself while playing with WSL. Open up windows Features and uncheck these options, then reset
1.PNG
 
Last edited:

jenneh

Senior Member
Something to consider about Emulators, they can be used to program virtual machines that have windows preinstalled faster usually than on your android device. Then you could pull your machine from the emulator and port over to any android device. I'm working on a detailed guide but it will take some time as I work to make the virtual machine's parameters more feasable for work use, i.e. a 10gb max hdd is not gonna suffice~!

To Do List: get win 10 working

Proof of Windows 7 Working in Nox:

How To Guide:
 
Last edited:

jenneh

Senior Member
A note to anyone checking this out from this date forward, Nox has had an update since I wrote the script. So when barenox downloads the android image from nox's server, they are different than before. Meaning that Even though one selects ROOT on startup, the ADB will not recognize the READ WRITE status thus rendering the .REMOVE.bat script useless for the time being. The adb root command does not help, I didn't bother to su into the shell bc the time factor, I could just delete in root explorer

A TLDR use the manual removal method with root explorer and manually install nova as the original thread shows how to do if you want to remove the crapware.

I'm not going to update the script, instead I am going to stop being lazy and just make my own emulators in android studio and share some builds in another thread. I'll leave a comment below whenever that happens.
 

jenneh

Senior Member
Capture.PNG


Listen Linda.

I found an Amazing OS that I am trying to work out a few kinks for. It runs in vmware, has root, can play the games, has a traditional desktop feel, can run multiple apps in separate windows.

It's called prime os! I am not a creator. Just a testing a producto~!

I will make a new thread with prebuilt images of this and like 5 other prebuilt android x86_64/ chrome os forked os's that I played with this week. Putting out the word about prime in case anyone has any ideas how to get openvmtools or vmware tools to work on here. I am trying to build a stack in termux to accomplish this myself, key word trying. Maybe someone knows how.

other os's tested and built -- may add more if I find them
google chrome os - cloudready version
bliss os
android x86_64 9.0
flint os
fyde os
 
Last edited:

jenneh

Senior Member
as an Edit ---I am well aware that the tools are not "officially supported" so lets make them work anyway ok :D
This is 12 years old but still relevant 🎃
1670701380003.png

'As an update, I was able to locate the vmware tools iso for pre glibc linux distros (like our android vms) It comes with vmware workstation 17
Capture.PNG

had to pkg install tsu then run this command and am a step closer
Capture2.PNG

I went through and pointed the script to the requested binary's location /system/bin/more and the others all for the most part in bin with depmod being in xbin. the program seemed to have an error at the end. going to take all the requested binaries out from system now and add them to the vmtools folder
1670787521567.png

using root explorer can copy the binaries from bin into the vmtools folder
1670787599388.png
 
Last edited:

jenneh

Senior Member
So here's my notes on getting vmware tools to work in the android emulator.

In vmware tools on your windows pc there are isos that contain the tools.
4.PNG

Inside the iso is a file like this. extract it and extract the file it makes
5.PNG

So here is what I did, You can see the tools have an etc folder and a bin folder. and in pictures in the notes comment above, we know that the tools need certain binaries to run, or access to.

It is not just enough to point the tools to the /system/bin/binaryname because the stock binaries aren't executable.

So I obtained all the binaries the code calls for and put them into the bin folder of the tools.
1671104340218.png


6.PNG

I also built the missing directories such as /var/log

1671093229006.png

i changed the name of install-vmwaretools.pl to run.pl and added mkdir codes for the needed folders

Now running perl run.pl gives this interesting error
3.PNG
7.PNG


Anyone have any ideas?

It also really Did create that many folders, haha
 
Last edited:

noxlar2

Member
May 11, 2011
7
2
hey there.. is there still possible to use your script to use older version of noxplayer and make that work? i get it that no more noxplayer updates will be compatible. but, that is just perfect for me.

i used noxplayer every day since 2016 and run 12 instances. it was and still is Ver. 3.8.3.1
but google as of last month has now removed games that is no longer supported by the google play.. so no more game updates for me. so i have no other choice to upgrade too.. i had off course followed guides and hacked it.. so no adds what so ever.. so hoping that you can still your very useful software to get rid of ads and malwares that they usually bring to free version.

thank you:)
 

noxlar2

Member
May 11, 2011
7
2
@jenneh

wow.. fast reply back. well, just buildt me a new pc.. so, it will be with a fresh win11 and fresh noxplayer.. so i have no idea what version i must choose.. i will have my old pc system untouched in case of fall back on nox.p.. reason i always used the version i did was because of superior stability vs recent (back then + few years forwards)

also i did test latest free version on my minipc.. and it worked great as well. but, i have not done extensive testing so i don't know.
 

jenneh

Senior Member
@noxlar2 Hey Congratulations on your new PC! That's always an amazing feeling. Thank you for clarifying which version. I was able to successfully get the script working again on the Latest nox and Lol it was silly, all the script needed was "adb root" added to the top.

i had to do the VT-Error fix bc of playing with WSA

got the original barenox updated -- link in the op and HERE :) Just remember to select root in settings before running the machine or the script wont work :)
 
Last edited:

Top Liked Posts

  • There are no posts matching your filters.
  • 6
    Hello Friends~!

    Today I bring to you the Latest version of Nox, made portable, with a Cleaner Script to remove all the junk on your Main Machine as well as for Clones


    DOWNLOAD BARENOX:
    BareNox.zip (200M)

    If you would rather build your own, I will now provide a written guide for how BareNox was built.

    "BareNox" went through a lot of testing and a script was made to automate much of what is written below

    Made using the latest version of Nox, which can be downloaded off the right side of this page:
    Open Nox's Multi Drive Manager and select "Add Emulator" and "Android 9" or whatever you prefer
    1.PNG

    When it is done building the machine you need to click on settings and enable root.

    This method is advised against, due to the amount of time it takes to physically remove each directory within the gui, when we could remove all of these directories with a simple script. The knowledge will still be provided to show what the adb method is doing for us.

    Open Nox and install a launcher app like nova, and a root explorer by selecting the apk button on the right side panel.
    2.PNG
    If you need the apps:

    Nova

    Root Explorer

    Now open Nox's settings by clicking on the gear icon at the top right.

    We need to go into General, and then put a check on root.
    3.PNG
    Next click on the Gaming tab and enable high fps and rendering cache. This is to allow you to be able to play higher end mobile games
    4.PNG
    Save settings and restart the machine

    Select Nova as the Launcher app always
    5.PNG
    Open root explorer. Grant Superuser access forever

    Delete all the items highlighted in the pictures below and close the machine.
    6.PNG
    7.PNG
    8.PNG
    9.PNG
    10.PNG
    11.PNG
    Make a new machine and enable root in settings
    Make a text file and call it run.bat
    Paste in this code.
    Code:
    adb root
    adb shell rm -r /system/app/AmazeFileManager
    adb shell rm -r /system/app/AppStore
    adb shell rm -r /system/app/BuiltInPrintService
    adb shell rm -r /system/app/CarrierDefaultApp
    adb shell rm -r /system/app/CompanionDeviceManager
    adb shell rm -r /system/app/CtsShimPrebuilt
    adb shell rm -r /system/app/EasterEgg
    adb shell rm -r /system/app/Facebook
    adb shell rm -r /system/app/Helper
    adb shell rm -r /system/app/LiveWallpapersPicker
    adb shell rm -r /system/app/PrintRecommendationService
    adb shell rm -r /system/app/PrintSpooler
    adb shell rm -r /system/app/Traceur
    adb shell rm -r /system/app/WallpaperBackup
    adb shell rm -r /system/app/newAppNameEn
    adb install nova.apk
    adb reboot
    Paste run.bat into the bin folder of Nox
    Paste nova.apk (10M) into the bin folder of Nox
    Now Run run.bat
    If there is a game you want me to test, leave a comment below.
    at the end of the video
    at the end of the video. guide is outdated
    There's more that can be finessed here, have fun!

    VT-Error fix

    For rooted WSA (Android 12 or 13) see this guide
    2
    A note to anyone checking this out from this date forward, Nox has had an update since I wrote the script. So when barenox downloads the android image from nox's server, they are different than before. Meaning that Even though one selects ROOT on startup, the ADB will not recognize the READ WRITE status thus rendering the .REMOVE.bat script useless for the time being. The adb root command does not help, I didn't bother to su into the shell bc the time factor, I could just delete in root explorer

    A TLDR use the manual removal method with root explorer and manually install nova as the original thread shows how to do if you want to remove the crapware.

    I'm not going to update the script, instead I am going to stop being lazy and just make my own emulators in android studio and share some builds in another thread. I'll leave a comment below whenever that happens.
    1
    Works pretty well for me, except for trying open the multiple instances. I've wiped things clean a couple times and even tried on my other pc. Luckily the app I was trying to install had an x86 version so it'll do for now. I'll have to look into it when I have a bit more time.
    Thanks for the post!
    1
    great i will test it asap..thanks alot for you help..will let u know how it worked:)

    thanks for that...will be awesome to use 7900x with noxplayer:)
    1
    hey again..sorry for the wait.

    so. just wanted to report findings and issues

    (all this before barenox)

    I built up 11 noxplayers instances on my minipc before coming here, so was actually testing if i could live with as it is.. turns out, not a chance.. so took a backup of them all (from minipc) on to my big PC.. imported them one by one.. tested them.. all worked great.. but..there is a big but.. one thing that messes with my head i find it super strange.. because i use 11 instances, the main factor is ram usage.. but since i have 64gb it is no problem, but with new noxplayer it was laggy.. to the point it was not working really.. i set them all 1core 2gb 30fps using CPU only. and it was okay with 8 nox instances, not with 9 or more. but, then i tested GPU instead of CPU. but i knew before hand it is super buggy if using more than 1 instances.. on nvidia pc i have, it all is bad performance, wrong colors and super buggy. with AMD i remember it was ok..but not great performance and super buggy.. it did not have wrong colors though.. this is what i knew from how noxplayer was.

    Until i turned on GPU use on each noxplayer instances.. and it was new world for me. running 11 noxplayers still all 1core 2gb but 40fps.
    things where stable as it was expected.. so system pressure at all.. so this was fun. there are some graphical artifact when resizing the actual nox instances.. but these with be saved locked anyway. it was a success:)

    so, this comes down to noxplayers.. and all those ads and network usuage it does without my knowlegde.. haveing so many instances, and everyone is doing each its nasty **** comes with network stability issues (i presume) in the longterm. so wanted to go ahead with Barenox. i did each instances the love you did for them and all went no ads (i havent tested it more than 5min so i don't know how the future is when writing this) so, it looks good.. but, when i did each one, the command window had many failures in all of them..so i wonder if this is alowing some ads or others nasty network stuff going though anyway? i will add 3 screenshots, please look at them

    sorry for the big history.. just wanted to be understanded perfectly:)

    nox