How To Use Chocolatey - Windows 11

=========================
============================================
HOW TO USE CHOCOLATEY
==============
=============​
Hi Friends~!
This amazing package manager changed my Windoz life <3 Maybe it will yours too~!
Spoiler: BUT WHY?
This is a Program that allows you to download any Open Source Tools you need to
Design, Develop, Modify, and Encrypt Software, I.E. Drivers, Applications, Executable Files~!
It provides you the ability to download Vendor Maintained Software as well, like VMWARE, ADOBE PRODUCTS, ETC~!
This is helpful for a niche community that would need to flash systems over and over, and would like to use easy scripts to reinstall software.
Spoiler: VIDEO DEMONSTRATION, IT'S THIS EASY
Spoiler: INSTALL CHOCOLATEY
Open Command Prompt or Your Preferred Shell in admin mode...
Paste or type:
Set-ExecutionPolicy Bypass -Scope Process -Force; [System.Net.ServicePointManager]::SecurityProtocol = [System.Net.ServicePointManager]::SecurityProtocol -bor 3072; iex ((New-Object System.Net.WebClient).DownloadString('https://community.chocolatey.org/install.ps1'))
That's it. Now you can install Software, AKA, "Packages", using simple, "Choco Install Commandz"~!
Spoiler: INSTALL CHOCOLATEY
Installing Chocolatey
Chocolatey is software management automation for Windows that wraps installers, executables, zips, and scripts into compiled packages. Chocolatey integrates w/SCCM, Puppet, Chef, etc. Chocolatey is trusted by businesses to manage software deployments.
chocolatey.org
Spoiler: INSTALL ADB, ANDROID STUDIO, AND ANDROID SDK
choco install adb
choco install androidstudio
choco install android-sdk
Spoiler: INSTALL OPEN SLL AND RELATED PACKAGES
Here's the packages required to install openssl, simply paste or type the commands below~!
choco install openssl
choco install strawberryperl
choco install mingw
choco install nasm
choco install make
Spoiler: INSTALL PACKAGES
Packages
Chocolatey is software management automation for Windows that wraps installers, executables, zips, and scripts into compiled packages. Chocolatey integrates w/SCCM, Puppet, Chef, etc. Chocolatey is trusted by businesses to manage software deployments.
community.chocolatey.org
Spoiler: POWERSHELL 7
If you need it:
https://github.com/PowerShell/PowerShell/releases/download/v7.2.1/PowerShell-7.2.1-win-x64.msi
Spoiler: REFS
persona78
forum.xda-developers.com
Thank you so much for teaching me about OPENSSL :>
NTGDeveloper
forum.xda-developers.com
Thank you for talking about chocolatey on the forums :>

1

Now I have learned about PGP You can too~!
Gpg4win Vanilla 2.3.4.20191021
GNU Privacy Guard suite of programs for encryption and digital signatures
community.chocolatey.org
Spoiler: further learning
https://files.gpg4win.org/doc/gpg4win-compendium-en.pdf

Just wanted to put it out there that you can get the Android SDK installed super easily with all permissions wrapped for you~!
choco install android-sdk
Android SDK 26.1.1
The Android SDK provides you the API libraries and developer tools necessary to build, test, and debug apps for Android.
community.chocolatey.org
You can also install IDA~!
choco install ida-free
IDA free 8.2
IDA is a Windows, Linux or Mac OS X hosted multi-processor disassembler and debugger that offers so many features it is hard to describe them all. Just grab an evaluation version if you want a test drive.free for non-commercial use.
community.chocolatey.org

Something I would like to add-on to this thread, that may be obvious to some, but not others, like ME
I was originally using the packages page to find packages that were equal to Linux offerings, needed for various projects, by searching the Linux system's name on https://community.chocolatey.org/packages?page=2&prerelease=False
and researching the top "Popular" Results.
Now I find myself using this "Popularity" feature to find new Free and Open Source Software, that I hadn't already heard of, Organically.
An example would be researching a pdf program that is "FOSS"
Doing so on google can take quite some time these days.. so I find this page a Niche search portal for such.
Spoiler: visual
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Please note that this site doesn't Exclusively carry FOSS, they have a lot of Vendor Maintained Software as well.
This is just a tip for Researchers.

Why not just add chocolateygui instead of giving individual commands for packages? Easier to browse and discover new apps.

Related

Presist UMCI Unlock for rs1 devices via official package

Install the package in attachment using IUTool and have fun. It modifies the same registry key, but it is persist as it is installed as a update package. Furthermore it is **Microsoft Windows Production signed** so it can be recognized as official package on Windows 10 Mobile, even though it is packed for Windows 10 IoT Core.
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
PS. I tried to install something interesting (e.g. Microsoft-OneCore-IoTUAP-NanoRDP-Package.cab), but the lack of some servicing component(e.g. driver installation) makes it impossible to realize. Staging will be successfully carried out, however errors will occur during update application. I retrieved DULog later, it reported that no component could handle inf installation. And for Microsoft-IoT-PowerShell-Package.cab package, a file collision error reported as some files in the package already exist in Windows 10 Mobile image.
But in general, all packages, signed by Microsoft Windows, should pass security validation on Windows 10 Mobile, regardless the applicability.
And for Windows 10 Mobile Enterprise, I think ApplyNoMicrosoftSignedUpdapte CSP may be useful, if we can add something into Trusted Publisher certificate store (as described on TechNet) and install custom updates.
imbushuo said:
Install the package in attachment using IUTool and have fun. It modifies the same registry key, but it is persist as it is installed as a update package. Furthermore it is **Microsoft Windows Production signed** so it can be recognized as official package on Windows 10 Mobile, even though it is packed for Windows 10 IoT Core.
PS. I tried to install something interesting (e.g. Microsoft-OneCore-IoTUAP-NanoRDP-Package.cab), but the lack of some servicing component(e.g. driver installation) makes it impossible to realize. Staging will be successfully carried out, however errors will occur during update application. I retrieved DULog later, it reported that no component could handle inf installation. And for Microsoft-IoT-PowerShell-Package.cab package, a file collision error reported as some files in the package already exist in Windows 10 Mobile image.
But in general, all packages, signed by Microsoft Windows, should pass security validation on Windows 10 Mobile, regardless the applicability.
And for Windows 10 Mobile Enterprise, I think ApplyNoMicrosoftSignedUpdapte CSP may be useful, if we can add something into Trusted Publisher certificate store (as described on TechNet) and install custom updates.
Click to expand...
Click to collapse
what's the benefit of this?
Where you get packages for IoT?
iammomin said:
what's the benefit of this?
Click to expand...
Click to collapse
According to the cab content, it changes this registry key value:
PHP:
<registryKey keyName="HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\Control\CI">
<registryValue name="UMCIAuditMode" valueType="REG_DWORD" value="0x00000001" />
</registryKey>
allowing execution of unsigned code (actually, MS docs said the value should be 0x02 for unsigned code but I believe 0x01 do the same). But I'm unsure about this hack usability on W10M platform.
And this signed (by Microsoft) package can be installed on any W10M phone; you don't need to be interop-unlocked.
sensboston said:
According to the cab content, it changes this registry key value:
PHP:
<registryKey keyName="HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\Control\CI">
<registryValue name="UMCIAuditMode" valueType="REG_DWORD" value="0x00000001" />
</registryKey>
allowing execution of unsigned code (actually, MS docs said the value should be 0x02 for unsigned code but I believe 0x01 do the same). But I'm unsure about this hack usability on W10M platform.
And this signed (by Microsoft) package can be installed on any W10M phone; you don't need to be interop-unlocked.
Click to expand...
Click to collapse
have u tested 0x01 code on W10M?
is it works?

Unity Editor Installation and APK Packaging

Recently, the project leader suddenly proposed that the team use Unity to develop a game and release it on HUAWEI AppGallery. Unity beginners who have only developed Android clients before need to start learning knowledge about Unity. This article mainly talks about the following information for beginners:
How to install Unity Editor?
How to package an APK in Unity Editor quickly?、
Registering with the Unity Platform
Before you actually start using Unity, you should get a Unity account. An account is required to download Unity Editor and download resource files from Unity Asset Store. So, just register at this link: https://id.unity.com.
Installing Unity Editor
Now you have an account. You need to install Unity Editor. For details, see the description on the official website: https://unity.cn/releases.
There are many installation methods available on the official website. Here, I use the Unity Hub method recommended by the official website. That is, install Unity Hub first and then install Unity Editor in the hub.
Unity Hub: It is a tool for managing Unity projects, Unity Editor, licenses, and additional components.
Unity Editor: It is a platform for you to develop projects. It is similar to Android Studio and can be used to compile and run projects. In addition, from this editor, you can directly go to Unity Hub, which is really practical.
The installation procedure is as follows:
1. Install Unity Hub.
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
2. Open Unity Hub and click the button to install Unity Editor. In the following figure, the latest version is installed.
Note: If you want to change the installation path of Unity Editor, click the gear icon in the upper right corner.
3. Manage your license. Here, I use a license of the personal edition. This is enough for a beginner.
(Optional) Installing Visual Studio
Visual Studio is the script editor of Unity. Generally, you do not need to install Visual Studio by yourself. It is automatically installed when you install Unity Editor. However, Visual Studio may fail to be installed automatically. According to information that can be found over the Internet, when installation failure occurs, you can install Visual Studio by yourself you referring to https://blog.csdn.net/fromfire2/article/details/81270185/.
If the automatic installation is successful, the Visual Studio information can be associated. The correct installation result is as follows:
Creating a Project
1. Open Unity Hub and create a project on the page shown in the following figure.
2. Click CREATE. Unity Editor automatically opens the project. For each new project, Unity provides a default sample game scene SampleScene.
A game scene contains the architecture, characters, background, sound, and special effects that will be revealed to players.
For details about the basic concepts of Unity, search the Internet or visit the Unity official website at https://docs.unity.cn/2018.4/Documentation/Manual/UsingTheSceneView.html.
Packaging the APK
I just created a project in Unity Editor, with a SampleScene displayed. This article will not talk about how to add characters, buildings, backgrounds, sounds, and buttons to the scene. You can learn about the procedure by yourself based on your needs. Next, I’ll talk about how to package an APK in Unity. In this case, I need to package the empty SampleScene.
1. Set up the Android environment. For details, please refer to the official documentation. I have integrated the Android SDK and Java SDK locally, so I associate the local SDKs.
2. Release an APK package and change the package name and version code.
3. Connect your mobile phone to your computer and package the APK package.
Actually, the package can be normally installed on my mobile phone.
For more details, please check:
Unity document: https://docs.unity.cn/2018.4/Documentation/Manual/UnityManual.html
Very nice
justnewsp said:
Very nice
Click to expand...
Click to collapse
Thank you for your liking.

How To Build Your Own Android Emulator~!

=========================
=====================
BUILDING OUR OWN ANDROID EMULATOR
=============================
=============================​
Hello Friends~!
Today I will be walking you through building Your Own Android Emulator Using Android Studio.
For this demonstration, I am starting off walking everyone through setting up chocolatey,
Then installing everything needed from chocolatey, as I will continue to use this package manager~!
I have included a video, with a voice guided walkthrough, of the steps below...
You can skip the chocolatey steps if you already have android studio or would prefer not to use it~! SKIP TO 4:20
Spoiler: CHOCOLATEY PACKAGES REQUIRED
choco install adb
choco install androidstudio
Spoiler: LEARN CHOCOLATEY
How To Use Chocolatey
========================= ============================================ HOW TO USE CHOCOLATEY ============== ============= Hi Friends~! This amazing package manager changed my Windoz life
forum.xda-developers.com
Spoiler: ANDROID STUDIO
After chocolatey completes installing our packages,
Press the windows key and search for android studio.
Run android studio, then install with Standard Options.
Spoiler: BUILDING THE EMULATOR
In Android Studio, Select "More Options"
Then "Virtual Device Manager"
Spoiler: LIKE THIS
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Select Create Device, then select the Android Version you want to run. You may edit options as you like~!
Build, play, LEARN~!
SKIP THE VIDEO TO 9:16 TO SEE HOW TO INSTALL CALYX OS, AND WHAT IT LOOKS LIKE~!
Spoiler: CALYXOS
CalyxOS Emulator Images
CalyxOS Emulator Images
calyxos.org
URL TO PASTE IN ANDROID STUDIO SETTINGS
https://release.calyxinstitute.org/sys-img.xml
I've got to format my drives now from the BIOS. Not sure if y'all have heard, but the fragmentation, from consistently
reinstalling windows 11, to windows 10, or just windows 11 consistently, Does Not remove all folders and files even when selected~! I have probably reverted at least 50 times since December, so yeah, a cleaning is due~!
All that long-windedness aside, Our Next Project will involve the Use of That Mysterious PHONETOOLZ folder I showed before.. I am having trouble with getting the fastboot drivers to work with the phone I will be demonstrating with, hence the need to just completely reformat and restart~! Note this is just a Me problem. Because I am Always Breaking Things.
Just random facts, if you have a USB thumbdrive that isn't showing up under file manager, here is a diskpart workaround in the terminal that worked perfectly for me~! NOTE THIS WILL ERASE THE THUMBDRIVE'S CONTENTS~!!
Spoiler: DISKPART
How to Format Unrecognized USB Drive in Windows 10?
To format unrecognized USB drive in Windows 10, you can use Windows built-in tools or reliable third-party format tool.
www.diskpart.com
Diskpart is a useful Windows built-in tool. You can use it to remove read only from USB drive and then format it if the unrecognized won’t format due to write protection. See how it works:
Step 1. Press Windows + R, input “diskpart” and hit “Enter” key to open Diskpart utility.
Step 2. In the window, run commands listed below in order:
list disk
select disk n
attributes disk clear readonly
clean
create partition primary
format fs=ntfs quick
assign letter=g
Spoiler: PIC
I must say! What a time it is that we can fully format and reinstall in like 20 minutes.
Update~! Using a USB 2.0 Hub Corrected the Problem For Me~!

Themes / Apps / Mods [ROOT] Virtual Machine with KVM acceleration for Tensor Chips

Hi all,
On Android 13, Google enabled KVM support for Tensor Chips model(Pixel 6 / 6pro / 6a). So we can run a Virtual machine at full speed, but there is no APP to utilize this feature.
I modified the Limbo Emulator (QEMU), so it can enable the KVM on Pixel 6 Phones. Due to the limitation of the kernel, the APP needs ROOT permission to access the KVM service(/dev/kvm)
Currently, only VNC is working on this APP, and you can only boot directly using the Linux kernel. UEFI did not work on KVM.
Network functions worked, but you may need to set the DNS inside the Guest OS.
Arch Linux for arm64 runs pretty well on Limbo. It runs even faster than Raspi 4. You can download it from ArchLinuxARM-aarch64-latest.tar.gz
Other Linux can also run on the Limbo, but you may need to recompile the kernel to enable virto-related functions.
Download link:
Releases · wasdwasd0105/limbo_tensor
Limbo for Tensor is a QEMU-based Hypervisor for Tensor-based Google Pixel devices such as Pixel 6 & 7 series. - wasdwasd0105/limbo_tensor
github.com
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Hi, can't install the app, says invalid package
Invalid package
ne0ns4l4m4nder said:
Invalid package
Click to expand...
Click to collapse
marynius said:
Hi, can't install the app, says invalid package
Click to expand...
Click to collapse
You can install an apk package as a test package via adb (command adb install -t limbo~.apk). You can also use LADB to install (tested)
Simple installation of the apk is not possible due to the included test build in the application manifest
Awesome! This will come in handy.
Does anyone know if it would be possible to use the simulate secondary display dev option with a display link device or Chromecast?
A while back I discovered that the second screen will actually automatically tie to the (separate from main phone gui) mouse/ keyboard connected. The start menu of that virtual display opens apps in desktop resizeable mode.
It's just not practical to run a desktop as an overlay. If someone can figure out how to feed it to an external display we'd have a solid makeshift DeX with much more flexibility and potential.
Anyone managed to get a working internet connection on the guest?
Can you please tell us how to run windows arm using your latest update there are many trying to attempt this even by installing native qemu and all trying to create a different version of your app with more commands and also how to run other operating systems besides your provided one

Development WDT (WSL Distro Tars) | Install any distro on Windows Subsystem for Linux

{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
WSL Distro Tars (WDT)
A simple script that generates importable tar files for Windows Subsystem for Linux (WSL2). This allows users to install any desired distro on their WSL2 machine.​
How is it different from distros available on the Microsoft Store?​
Distros that are available on the Microsoft Store are really quite limited and filled with unwanted prebuilts that one might not want. This scripts provides a really clean and bare minimal linux distro image for your needs.
What does it do?​
This script generates WSL2 importable minimal tarballs that are extracted from docker containers. At the moment only a few distributions are exported. These include:
Alpine Linux
Arch Linux
CentOS
Clear Linux
Debian
Fedora
Ubuntu
Grab the latest tarballs of your favourite distro from the Releases Page!
How do I import tarballs?​
Make sure you have WSL2 setup properly and it is set to default. To import any tarball:
Code:
wsl --import distroName path\to\create\vhd path\to\downloaded\tarball
Replace distroName with any name that you desire to call it, replace path\to\create\vhd with the absolute path where you want to create the virtual hard disk of the distro and replace path\to\downloaded\tarball with the absolute path to the downloaded tarball.
Click to expand...
Click to collapse
then to run your distro
Code:
wsl -d distroName
Example: Here my distroName is alpine, virutal hard disk path is D:\wslStorage and tarball is in C:\Users\admin\Downloads\alpine-26122022.tar
Code:
wsl --import alpine D:\wslStorage\ C:\Users\admin\Downloads\alpine-26122022.tar
to run
Code:
wsl -d alpine
My favourite distro isn't available, what do I do?​
It's simple! The prerequisites for generating tarballs are only docker and awk. Edit the wsl-tar-gen.sh (but make sure your distro exists in DockerHub, since the script extracts everything from docker) and run the script using:
Bash:
bash wsl-tar-gen.sh
If you want your favourite distro to be updated using automated cron job on Github Actions, just send a reply to this thread with a request, and send the DockerHub link as well. Please note that I will not be building custom modified images based on official docker images, I will only support the official images from the Distros.
Here are few screenshots of distros running using WDT:
Alpine Linux:
Arch Linux:
Source Code: GitHub
Updates:
18 March 2023
Added Fedora Rawhide
26 May 2023
Added Ubuntu bleeding edge
Added Debian slim and bleeding edge
Added openSUSE Tumbleweed
Reserved #2
Update!
Fedora rawhide has been added to wdt!
Update!
Changelog:
Added Ubuntu bleeding edge
Added Debian slim and bleeding edge
Added openSUSE Tumbleweed
Hello @m_vaisakh ,
very impressive work and also very useful! Many thanks!
Greets Martin

Categories

Resources