General Windows Subsystem for Android - Hidden Settings/Device Administrator Access - Windows 11

I am attempting to enroll the Windows Subsystem for Android into my companies Intune MDM solution for testing purposes.
My company doesn't mark as non compliant if the device is rooted or have any policies preventing this.
I have Windows Subsystem for Android with Play Store and Magisk installed.
I am currently stuck on providing the Intune Company Portal App Device Administrator Access. The prompt to Allow Device Administrator access Displays the Warnings and advises the permission changes, Although when I click Activate, the Device Admin prompt crashes and the Intune portal hangs seemingly forever until the subsystem crashes.
After further investigation I have found that I am able to open the android settings that aren't available through the windows subsystem menu. after connecting via ADB using:
Code:
adb shell
am start -n com.android.settings/.Settings
I found after looking through the settings there is no device administrator management options under security.
I should be able to access the device administrator options using the below
Code:
adb shell
am start -n com.android.settings/.Settings/$DeviceAdminSettingsActivity
However this does not seem to work.
My next work around was to use adb to activate the device admin against the app however I am stuck on
Code:
adb shell
dpm set-active-admin --user current com.microsoft.windowsintune.companyportal/
Although I now realise i need to point to the correct receiver within the companyportal application
I have checked the application using pm dump, however I am confused as to which receiver I use and how to determine this.
My next step when time permits will be checking build.prop and seeing if adding in ro.config.low_ram=false to see whether that resolves the issue.

looking for the same, trying to use the windows subsystem for android for work.

there an other method to open com.android.settings with shortcut
you can open settings on browser with "wsa://" "wsa://com.android.settings"
or
first open shorcut example ZArchiver and open location
{
"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"
}
then copy shortcut ZArchiver then open the Properties
change "target" shortcut to like the image "com.android.settings" then apply or ok.
to
(the icon was up to you)
then rename shortcut to Settings (the name up to you)
and voila. the settings are opened
(if not showing to start menu the shortcut. maybe reboot help you)

The Settings menu you mention isn't Android OS related. it relates to Windows OS where WSA runs on top.
A Settings app what explicitly relates to WSA's Android OS presnts to user like this
and allows you to set
It's APK is attached
BTW:
ZArchiver also is available as APK ( latest version: 1.0.8 - 19 Dez 2022 )

I had the problem that I wanted to get to some subcategories of the network settings, but the WSA basically redirects me to the Windows options or crashes when I try to access the Android network menu, depending on the option.
With the App Hidden Settings, you get shortcuts to a many sub-settings, which is what I was able to use to configure the DNS settings for the WSA. Might that be an option for you as well?
The APK is available here:
https://apkpure.com/hidden-settings-for-android/com.jami.tool.hiddensetting

Most options offered by the mentioned app aren't available: WSA is a Hosted OS, is implemented as a Windows OS service, it runs on top of Windows OS.

Related

Droid Explorer - Desktop Android device manager for Rooted devices

I was search for a app that can Manage our device like change system files, install application etc. I found this great application Droid Explorer - Android device manager for Rooted devices
Device Requirements
Rooted Android Device with busybox
PC Requirements
Windows (looking for a developer to help create UI for mono)
.NET Framework 3.5 SP1
Some plugins require Java Runtime Environment and Java Web Start
Features
Includes the required windows USB drivers - you will be prompted to install the drivers during installation if running vista/7
Auto setup of Android SDK tools and drivers during install
Use an existing Android SDK if you already have one set up
Multiple Device Support
No need to mount SD card to access files
Copy any file on the device to PC
Copy files to clipboard
Copy update to device and auto-apply
Drag & Drop copying from Explorer to Droid Explorer
Auto detection of connected/disconnected device
Open files on PC
Plugin Framework
Application Manager
Right Click APK to install/uninstall
Take screen shots of device (landscape & portrait)
Open right from "My Computer" (a lot like how WinMobile is with active sync)
SQLite Manager Plugin
Uses System Icons for files displayed in explorer
Familiar Explorer like UI, including an Explorer like location bar
Android Screencast plugin
Install/Uninstall APK files right from explorer
Standalone plugin runner
Window 7 JumpLists for plugins
DesktopSMS plugin - Send SMS messages from your desktop
Service can be controlled now from the options dialog (can create the service if you do not use the installer)
Backup plugin for the "Bare Bones" Roms
Run shell scripts on the device by double clicking them
{
"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"
}
More Information: http://forum.xda-developers.com/showthread.php?t=558108
For some reason, this one was installed, ran and recognized my phone as a number! but didn't show any content of my x10mini. I tried Android Commander and it worked!! I also use occasionally MyPhoneExplorer for backup and SMS. Anybody can give us a good advice and/or comparison on this category "Desktop Android device manager"!!??

[E2333 ] Ads

Hi, I have a problem, I keep receiving subscription ads requests, it seems that it is from my cellphone company, since you can see the sim image in there but I am not sure. This are some examples:
{
"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"
}
Background info: (running Android 6.01, 26.3.B.0.131)
So I used to be on a cell phone company which had this subcription ads request (Movistar), but I changed to another one which they say they do not have any of that (Tuenti), with the same number, and they are both owned by the same company (Otecel), so maybe some settings from the old operator were kept in the new ones, I have talk and talk and talk with them, and i just keep receiving this ads.
Is Root the solution?
Maybe if root my device, I can disable the sim services app, or I do not know something else, and I would not receive this ads again, or what do you guys recommend me.
Hello, have you tried to 'adb hide' or 'adb disable' the STK apk? No root required AFAIK
Pixelado said:
Hello, have you tried to 'adb hide' or 'adb disable' the STK apk? No root required AFAIK
Click to expand...
Click to collapse
No, I have not tried not, because I do not know how to do it, could you please teach me , please noob steps
Sorry for being so late haha.
I'll assume you're using Windows 7 or newer.
Steps:
- Get ADB and proper drivers for your devices (Flashtool ships with all of this)
- Enable dev settings on your phone
- Enable USB debugging. Disregard all warnings
- Connect your Xperia to your PC via USB cable
- Wait for drivers to install
- Open a terminal/command prompt on your PC, point it to a directory where you have an ADB executable (adb.exe) (you can do this by opening the flashtool libs folder, eg: c:\flashtool\x10flasherlib, and right-clicking anywhere on the window while keeping the SHIFT key pressed)
- Issue the following command:
-- adb devices
Your phone should ask for authorization now. Grant it
- Issue the following command(s):
-- adb shell (this gives you access to your device's terminal from your PC)
-- pm disable com.android.stk
If the above command fails, try:
-- pm hide com.android.stk
- You're done
You can avoid using a PC by using a terminal emulator on your device AFAIK. I might be wrong though.

[GUIDE] EMUI 11 Complete Debloating Guide & Bloatware List

This de-bloating guide will help you start using EMUI 11 as clean as possible.
Please list packages in the comments section that you know is a bloatware and I didn't include in the spreadsheet.
This guide assumes that you're using Windows 10 as your PC OS.
BLOATWARE SPREADSHEET
To bring back software that you accidentally removed:
adb shell cmd package install-existing (com.package.name)
How-to for newbies
WARNING! Before following, make sure you have enabled the developer mode in your phone and enabled USB debugging.
(Go to Settings>About phone> click on Build number 7 times > go back > go to System & updates > Developer options > enable USB debugging)
1) Download Android SDK Platform tools. LINK
2) Create a new folder directly in C:\ drive and name it adb
3) Copy everything inside SDK Platform tools zip into C:\adb
{
"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"
}
4) Press WindowsKey+R, type cmd and press enter.
5) In cmd, type cd C:\adb and press enter.
Now you can copy and paste commands from the spreadsheet!
thanks .. will be using this after the update rolls out in to my phone.
Hi @faceliler
disabling the com.huawei.android.hwaps makes the switching between 90Hz and 60Hz not working. The switch is still under screen settings, but it does not make anything. If you have been on 90Hz mode before disabling it, you will stay on 90Hz. Same in the other way - you will stick on 60Hz mode if you was on 60Hz mode.
GIBbeerSKY said:
Hi @faceliler
disabling the com.huawei.android.hwaps makes the switching between 90Hz and 60Hz not working. The switch is still under screen settings, but it does not make anything. If you have been on 90Hz mode before disabling it, you will stay on 90Hz. Same in the other way - you will stick on 60Hz mode if you was on 60Hz mode.
Click to expand...
Click to collapse
Hi, thank you for reporting, I will erase it from the list.
Can i use this without root?
Thanks @faceliler, but...
Why make it harder than it is?
@Cyber.Cat was so kind and built an easy tool for debloating your Huawei over a year ago. He even made a post about it right in this forum:
You can find it here.
And he made some nice updates since then, here's the thread about his program.
No root needed, no annoying package name searching or anything else.
Just mark and delete or only deactivate.
thank you for instructions
removing huawei histen is lowering sound quality on P40lite (JNY-LX1)

FIX: Un-allowed DMA capable bus/device(s) detected

Credit goes to this posting:
https://superuser.com/questions/1345848/un-allowed-dma-capable-bus-devices-detected
I've edited it to make the process easier. It helped me solve the issue. Of course, use at your own risk and wear a helmet if you're going to tinker in the registry.
White-list the device​
Open Regedit
Navigate to Computer\HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\DmaSecurity\AllowedBuses
Grant yourself access to modify the registry key
Right-click AllowedBuses and go to Permissions
Make yourself the owner
Press Advanced
Next to Owner, make note of what it says (mine said SYSTEM)
Next to Owner, press Change
Enter your username (eg your Microsoft account email address)
Press OK
Grant yourself access
Press Add
Enter your username (eg your Microsoft account email address)
Press OK
Select your user
Tick Full Control
Press OK
Under AllowedBuses, create a new String Value
Run the following PS script which generates a .reg file (with all found PCI devices) in tmp directory and then imports it silently
Code:
$tmpfile = "$($env:TEMP)\AllowBuses.reg"
'Windows Registry Editor Version 5.00
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\DmaSecurity\AllowedBuses]'`
| Out-File $tmpfile
(Get-PnPDevice -InstanceId PCI* `
| Format-Table -Property FriendlyName,InstanceId -HideTableHeaders -AutoSize `
| Out-String -Width 300).trim() `
-split "`r`n" `
-replace '&SUBSYS.*', '' `
-replace '\s+PCI\\', '"="PCI\\' `
| Foreach-Object{ "{0}{1}{2}" -f '"',$_,'"' } `
| Out-File $tmpfile -Append
regedit /s $tmpfile
Start removing added entries via regedit one by one while refreshing system info page and checking which entry makes it incompatible again
*Fun fact: Running the script again re-populates the list without duplicating/missing entries
You should find at least one entry that re-enables the System Information message. I had 2. (See photo below).
Keep ONLY the one(s) that trigger the incompatibility message
Make sure to remove the user account that took ownership of the registry folder. I did this by right clicking Allowed Busses-> advanced and deleting my account. No need to do anything else except confirm the original owner (System in my case) has been restored. Be warned that this may NOT be the correct way to restore ownership.
{
"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"
}
This, unfortunately, does not work for me. After running the PowerShell script, I get entries added to AllowedBuses, but I still get the "Un-allowed DMA capable bus/device(s) detected" error.
The problem seems to be that I have multiple instances of some unallowed devices. When I run the Get-PnPDevice manually, I see everything, but you can only add a single instance of any given friendly name to the AllowedBuses key in the registry. For example, I have 12 PCI-to-PCI Bridge entries that have 5 different device ID's between them.
I haven't figured out how to whitelist everything I need to whitelist yet, and it seems impossible since I have multiple device ID's with the same friendly name that need to be added.
shrike1978 said:
This, unfortunately, does not work for me. After running the PowerShell script, I get entries added to AllowedBuses, but I still get the "Un-allowed DMA capable bus/device(s) detected" error.
The problem seems to be that I have multiple instances of some unallowed devices. When I run the Get-PnPDevice manually, I see everything, but you can only add a single instance of any given friendly name to the AllowedBuses key in the registry. For example, I have 12 PCI-to-PCI Bridge entries that have 5 different device ID's between them.
I haven't figured out how to whitelist everything I need to whitelist yet, and it seems impossible since I have multiple device ID's with the same friendly name that need to be added.
Click to expand...
Click to collapse
Multiple instances of the same device can be fixed by appending 2, 3, 4 etcetera to the friendly names to make them unique.
I have five "PCI Express Root Port" devices with the same name but different device-id's, and this trick fixed the "Un-allowed DMA capable bus/device(s) detected" error 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

Categories

Resources