Question about ADB Platform Tools & Visual Studio Requirements - Android Q&A, Help & Troubleshooting

So I've been trying to get ADB up and running properly so I can modify some aspects of the Android OS to fix the phone's Wi-fi Hotspot feature. Android OS is version Oreo 8.1, and Windows is Win 7 x64. Already had Dev Mode enabled on the phone with USB Debugging.
When I downloaded the Android platform tools and tried to execute the ADB via command line, I get an error message [I had a link to an image showing it, but due to me being a new account it won't let me post it, but basically it's an error message that appears when you try to launch an app on Windows without having the VS 2015 or newer redistributable files installed which have the Win10 compatibility files necessary for it to run] which means I don't have either the 2015 or later version of the VS Redistributable installed. Unfortunately due to this Windows installation's MS Package Updater being borked, I can't really install those either to fix this (thanks MS) without doing a bunch of **** I don't want to risk at the moment.
So the question is, does anybody know of an older version of the SDK Platform Tools that only require VS 2013, and if it would be compatible with Android 8.1? Thanks.

Gonna give this a quick bump but I'm basically just asking if anybody knows where one could get an older build of the SDK Platform Tools (command line tools only, not the full package) that only requires VS 2013 to be installed to run.

Related

Newbie needs help with adb

Hi.
I'm trying to make some custom native software for android but I need some help getting started.
What I have done so far is getting a HTC Hero, GSM version.
Flashed a custom rooted ROM. update-hero-generic-2.73.405.38-rooted-signed.zip
Installed the sdk and ndk on Windows.
Downloaded and built the open source android project in a VMWare ubuntu image.
What I'm trying to do now is to get ADB talking to my Hero.
I have USB debugging on in the applications->development menu on in the Hero.
When I attach the phone to my XP PC it detects it and asks for drivers, I point it to drivers in android-sdk-windows\usb_driver, windows won't load them because they do not match the hardware.
I can install the driver manually but eventhough the device manager lists it as working (android phone with android composite ADB interface) adb cant find it.
adb devices just give me an empty list.
I tried this on a Windows 7 box and it seemed to work there, is there something special I need to do to get it working on XP?
Installing HTC Sync (drivers included) should resolve.
Thanks!
I actualy tried that before posting but it did not seem to work.
I now tried it again and this time I manually installed the driver in the HTC directory and now it works.

[Q] Electrify, ADB, and Windows 8

I'm trying to get adb to detect my Electrify on Windows 8, it would seem rooting and/or installing ROMs is impossible without adb, I have my phone plugged in and all the drivers installed except one "Motorola ADB Interface" of course. The manual driver installer errors out on "Cannot detect Operating System" is there anyway around this, either forcing the driver in, or not using ADB to root?
Use a linux live cd and install the android sdk, or use something like vmware, or try to extract the driver and force it to install in device manager, or dual boot an os that isnt in beta...
Sent from my MB855
The linux live cd should actually work I didnt think about that
I found this
http://forum.xda-developers.com/showthread.php?t=741824
It says its for use with HTC phones but could it possibly work with mine?
Its a year and a half old
Will the driver for my phone be installed/available?
I would post this there but its kind of a dead thread
If you have a spare thumb drive of 4gb or larger laying around you can do a persistent install of ubuntu (or just about any other distro) using LinuxLive USB Creator, which can be found here: http://www.linuxliveusb.com/
If you're not very familiar with linux, persistence is like having your linux operating system on a thumb drive with the advantage over a live cd being that any changes you make (such as installations or saved files) are not lost upon shutdown. So you could install the android sdk (which is all you should need) and then whenever you needed it you could just boot from your thumb drive. If you need help setting up (such as installing the sdk and setting the path and what not) let me know.
-devx

Android Virtual Device (AVD) can't run in Android Studio | HAXM can't be installed

Installing android virtual device (AVD) with Intel HAXM support
Installing HAXM via android studio sdk manager gives no error.. but in AVD Manager, an error displayed - "/dev/kvm is not found" and hence doesn't allow me to run AVD
Installing HAXM(6.1.2) by downloading from intel official website gives me an error "Failed to configure driver: unknown error. Failed to open driver" which I tried to resolve using this solution given on intel blog
But still not working for me as comments shows for few people it is not working too..
Now, Clicking on green run button gives me same error in addition it displays something more related to "enable Intel VT-x from bios"
Now, in my computer's bios settings.. there is no VT-x but just "Intel VT" feature that I enabled.. but still no difference.. same error message.. I tried uninstalling and reinstalling android studio and AVD.. still no solution
My PC config is :
4gb ram ddr3
Intel i3 550 3.20 ghz
BIOS version TCIBX10H.86A.0037 (not updated - latest firmware is TCIBX10H.86A.0048)
Intel hd graphics
500gb hdd
Windows 7 32bit
PS:
1. Hyper-v is not installed on my computer (may be not supported or Windows need to be installed, I never tried to install it myself)
2. There is no virtual box installed either
3. Sorry for bad english and I'm new to android app development also
One of your issues is that you are running a 32 bit system. Android devices tools require a 64 bit computer.
From what you have said about the missing bios option again tells me your pc is not compatible on a basic level. Not a whole lot you can do. Other then get a new pc to work with Android tools.
zelendel said:
One of your issues is that you are running a 32 bit system. Android devices tools require a 64 bit computer.
From what you have said about the missing bios option again tells me your pc is not compatible on a basic level. Not a whole lot you can do. Other then get a new pc to work with Android tools.
Click to expand...
Click to collapse
Thank you for your reply.
I have another PC of my colleague, but I don't know exact configuration of it. Still I came to know that it has 64-bit Windows 7 installed and some high end Nvedia graphics card installed. I'll try using it and let you know.
zelendel said:
One of your issues is that you are running a 32 bit system. Android devices tools require a 64 bit computer.
From what you have said about the missing bios option again tells me your pc is not compatible on a basic level. Not a whole lot you can do. Other then get a new pc to work with Android tools.
Click to expand...
Click to collapse
prattkool said:
Thank you for your reply.
I have another PC of my colleague, but I don't know exact configuration of it. Still I came to know that it has 64-bit Windows 7 installed and some high end Nvedia graphics card installed. I'll try using it and let you know.
Click to expand...
Click to collapse
Problem continues even on other PC and I could never find why the error continued even if I got VT - x supported and enabled on both the PCs now.. (I checked using 'Intel® Processor Identification Utility' and 'securable.exe') finally i had to move on to 3rd party emulators which run on VirtualBox (like Genymotion).

Wifi drivers installation on Android x86

Hello xda users,
I had to make that post cause I have lot of issues cause that. I'm using a modded version of Android x86, but also the same base doesn't contains drivers for my wifi interface. I have a laptop with a realtek wifi interface that I could install its drivers with the make command on linux, but in Android I don't know how to do that. The Su user doesn't contains that commands, and if I try to use it with Termux, probably I'll have problems due to the less permissions. Somebody knows how to make that with that driver on Android x86?

Root Windows 11 (Hard Mode)

THESE STEPS HAVE BEEN SIMPLIFIED FOR YOU~! FORGET THIS MESS, PLEASE CHECK OUT THE NEW WINDOWS 11 ISO I MODDED FOR ALL OF US
JROM: WINDOWS 10 AND 11 LITE ISO PLUS WIN11R00T W\ WSA BUNDLE
THIS IS OUTDATED, SEE THE NEW ARTICLE FOR A PREMADE ISO: https://forum.xda-developers.com/t/how-to-make-a-lite-or-modded-windows-iso-tool-premade-lite-win-10-iso.4496967/ ======================================================= JROM: WINDOWS 10...
forum.xda-developers.com
**************************************************************
Thanks to the Community as this Would Not Be Possible Without All of you! Refs At bottom..
*************DISCLAIMER************************************
This build is ONLY for developers and pen-testers.
I am Not responsible if you soft brick your system.
This is all Literally Brand New, Windows 11 Is Not Fully released.
If you prefer to not install this on your direct OS,
Give me a couple days to get you all a Virtual Machine Preloaded.
Also There Is No Voice Over.
The Video Is Intentionally fast, concise, and to the point.
You Will have to Read the Guide.
If you want Easy Mode, Please wait for my Virtual Machine Image release In a day or two.
Also, I expect You to Know How to Recover Your Own Files should Anything Go Wrong.
******AGAIN, WARNING, ONLY THE SUPERNERDS SHOULD INSTALL THIS.**********
Video Proving Concept, Intended to teach slowly by going fast:
Written Guide:
Download Win11Root:
MEGA:
1.22 GB file on MEGA
mega.nz
NOTE: I'M SILLY AND I FORGOT TO UPLOAD THE .DEV FOLDER. HERE IS THE DEVELOPER ISO:
How To Download Windows 11 Developer ISO
THIS THREAD IS OLD AS HECK, BUT WILL TEACH YOU SOME THINGS, IF YOU LISTEN~! Hello, there are three ways to download Windows 11 ISOs, the first and most obvious way being through Microsoft themselves. But what do you do when their site is...
forum.xda-developers.com
*How to Unlock Windows Insider*
Open Settings.
Open Windows Update.
Open Windows Insider Program.
Choosing your data settings - Windows Insider Program
Choosing your diagnostic data settings for flighting
docs.microsoft.com
*Installing the Developer's PreRelease Win 11 Copy*
Open WIN11ROOT.
Open .devimage
Run the Win 11 dev installer through the ISO file..
Wait for reboot...
*Enabling Developer Mode On Windows*
Open Settings.
Scroll Down to Privacy Settings.
Open, then click on "For Developers".
Turn on Developer mode.
*First Step to Setting Up the Debugger*
In Developer Mode:
Select Device Portal.
Let Windows Install the Toolset.
Turn Authentication OFF.
Scroll down to device discovery and turn it on.
*Install Visual Studio*
download visual studio:
Download Visual Studio Tools - Install Free for Windows, Mac, Linux
Download Visual Studio IDE or VS Code for free. Try out Visual Studio Professional or Enterprise editions on Windows, Mac.
visualstudio.microsoft.com
Run .vs_community__559787300.1638713783.exe
---edit I left this out, download visual studio off microsoft's website
---This is necessary to download the dependencies *aka* "Features"
During the Install:
Switch to Workloads tab.
Select:
1- Universal Windows Platform development
select all options except win 10
2- .NET Desktop Development
3- Desktop development with C++
--------NOTE-------------
IT IS NOT NEEDED TO DL "EVERYTHING" AS I SAID BEFORE, THIS BUILD
IS FOR THE DEVS AND PENTESTERS... TO UNLOCK ALL YOUR "TOOLS"
*Installing the Dependencies*
Hit the Windows key on your keyboard.
Search for Features.
Go into feature management.
Turn on EVERYTHING!
*Installing the Android Subsystem*
Right Click android.Msixbundle
Select Copy Path
(android.Msixbundle is the android subsystem downloaded from the microsoft store)
Right Click 0000-ADB.exe
(NOTE THAT THE ADB IN WIN11ROOT IS A /SHORTCUT/ FOR POWERSHELL 7... YOU NEED TO REPLACE IT)
To replace the shortcut, go into the powershell Folder in WINROOT
Hit ctrl + F to "find" pwsh
Right Click and create a new shortcut.
Title it ADB to make it easier to know what it is going to be used for...
Paste the Shortcut in the main folder of WINROOT...
Now right click... Select run as Admin.
Type:
Add-AppxPackage and paste android.Msixbundle's path
The code is in this file, fyi:
00000-InstallAndroidSubsystem.txt
*Programming The Android Subsystem*
Press the Windows Key.
Search Android.
Open Windows Subsystem For Android Settings.
Under Subsystem Resources Select Continuous.
Turn Developer Mode On.
Then Click Manage Developer Settings.
Refresh your IP Address.
Copy your IP Address.
*Setting Up The "ADB Tools"*
Open WIN11ROOT Folder.
Open AdbConnect.txt
Paste your PC's Ethernet IP address from Dev Settings.
Save the file, then copy the full code.
Open 0000-ADB.exe
Paste:
adb connect 192.168.0.5:50080
(Replace 192.168.0.5:50080, with Your Ethernet IP..
From Developer's options...")
*Installing Apps Through ADB*
Open WIN11ROOT Folder.
Open .0-DROP APPS HERE
Drop in Any app or use the Testers..
Right Click the App you want to install..
Click Copy As Path
Open 0000-InstallApps.txt
Paste the path at the end of the command..
For instance:
adb install "C:\Users\anife\Desktop\WIN11ROOT\.0-DROP APPS HERE\rootexplorer.apk"
adb install "whatever else you like"
Replace the quotes with your app's path..
Save The File For Troubleshooting Purposes
Right Click 0000-ADB.exe
Run as admin..
Paste in commands for your apps one at a time.
Obviously this can all be streamlined, but this is a proof of concept demonstration to
help get the devs and pentesters rooted as intended by microsoft through their Insider Program.
Now the easy part!
*Installing Kali Linux*
Open WINROOT Folder.
Right Click ADB.exe
Select Run As Admin
Paste this code to install Windows Subsystem for Linux:
wsl --install -d kali-linux
if you have trouble with your linux install,
wsl –set-default-version 1
will correct
Download any app on the playstore, Without installing GMS, GAPPS, AMAZON, Or any other App Store:
Download Any Apk Off The Playstore Without installing Google, AMAZON, or Any other APP Store
EDIT-- This post is super old (but still works). Another method (maybe better for your use case?) is the Aurora store. Please see the COMMENTS SECTION. How To Download any app on the playstore, Without installing GMS, GAPPS, AMAZON, Or any...
forum.xda-developers.com
REFS <3 SHOUT OUT TO THEIR FAMILY:
I would like to thank my brilliant friend, Ron Lovell. He was the one to first tell me about Windows Insider, about Android apps being able to be run on them, and is currently teaching me new methods for all sorts of things. Together and with the rest of You, we can continue to Build the Future. "It takes a team"
Tipped me off I forgot to get the Dev edition. Hah
Showed me the amazing matrix, linuxesque way of installing dev distros
How to use UUP Dump to download Windows 11 build 25375, 23466, or any ISO file - Pureinfotech
UUP Dump lets you download the Windows 11 build 25375 or 23466 ISO file or any other release for an upgrade or clean install. Here's how:
pureinfotech.com
Summary for Windows 11 Insider Preview 10.0.22509.1011 (rs_prerelease) amd64, English (United States), Windows Home, Windows Home N, Windows Pro, Windows Pro N
Summary for Windows 11 Insider Preview 10.0.22509.1011 (rs_prerelease) amd64, English (United States), Windows Home, Windows Home N, Windows Pro, Windows Pro N on UUP dump. UUP dump lets you download Unified Update Platform files, like Windows Insider updates, directly from Windows Update.
uupdump.net
Showed me how to turn on "features" the dependencies installed from visual studio
How to Install the Windows Subsystem for Linux on Windows 11
The Windows Subsystem for Linux (WSL) lets you run Linux software on your Windows 11 PC. When you enable WSL, Windows will install a custom-built Linux kernel. You can then install Ubuntu or another Linux distribution of your choice.
www.howtogeek.com
Getting started with the Windows Insider Program
Be the first to see what's next for Windows, provide feedback to help us improve Windows, and join our inspiring community in the Windows Insider Program.
insider.windows.com
Migrating from Windows PowerShell 5.1 to PowerShell 7 - PowerShell
Update from PowerShell 5.1 to PowerShell 7 for your Windows platforms.
docs.microsoft.com
Build desktop Windows apps with the Windows App SDK - Windows apps
Learn about the Windows App SDK, benefits it provides to developers, what is ready for developers now, and how to give feedback.
docs.microsoft.com
Use the Windows App SDK in an existing project - Windows apps
This article provides instructions for using the Windows App SDK in an existing project.
docs.microsoft.com
Intel Bridge: What it is, and how it gets Android apps working on Windows 11
Yo dawg, Intel heard you like compiling and it wants to recompile your compilations. Or something like that. The good news is that it actually makes sense.
www.androidcentral.com
How To Manually Install WSA:
Copy this link Then paste it in the link below, DL the MSIX Package
Get Windows Subsystem for Android™ with Amazon Appstore from the Microsoft Store
Windows Subsystem for Android™
www.microsoft.com
Website to download from Microsoft Store:
Microsoft Store - Generation Project (v1.2.3) [by @rgadguard & mkuba50]
Online link generator for Microsoft Store. You can use it to get links to almost all apps, games, themes from the Microsoft Store.
store.rg-adguard.net
Powershell 7:
.Bat file unable to run powershell 7
I have set up a very simple .bat file to execute a couple of commands to save me typing them out every time, however the processes need to be run in powershell 7. If i manually run powershell 7.0.3...
stackoverflow.com
Want a deeper understanding of Android, specifically the sublayers, like the bootloader, rooting, flashing a custom OS and / or GAPPS?
Root Nvidia Shield TV Pro 2019 Version
THIS IS OUTDATED https://forum.xda-developers.com/t/bootmod-root-your-shield-in-1-minute-2015-2017-2019.4524873/ REPLACES THIS IF YOU WANT ANDROID OR USE THIS GUIDE...
forum.xda-developers.com
The instructions above are for the shield, but the steps are mostly the same with any device, once you get into your device's bootloader..
NOTE THAT THE SHIELDTOOLS CANNOT BE USED ON YOUR PHONE, MORE SPECIFICALLY THE SHIELDROOT SCRIPT, DO NOT RUN THAT ON YOUR PHONE BC IT CONTAINS A SYSTEM IMAGE BUILT FOR THE SHIELD AND WILL SOFT BRICK YOUR PHONE UNTIL YOU FIND THE CORRECT IMAGE FOR YOUR PHONE.... EVERYTHING ELSE IS AMBIDEXTROUS
Thread has been updated to include Google Drive or Mega links to download the tool.
Mod Edit: Quote removed since post removed.
The link to your Dev build keeps throwing a forbidden error. So might wanna fix that..
EDIT *IRRELEVANT*
it was not in the download from Mega or Google.. I'm not this much of a stickler to most, because i already have WSA rockin on W11, but I just figured i'd give your method a try because your title honesatly was appealing and I had nothing bette rto do.. because I watched your video and saw the dev image was in your WIN11ROOT folder, but wasn't the case on either download for me.
jenneh said:
Gee, that got fixed quickly I guess I have no choice but to delete the links, For now! Muahahahaha!! Note to users, The Developer ISO is in WIN11R00T, It is just the DIRECT download link that is down, for those who don't wan't to download my toolset. While I'm at it, if you dl my toolset, the adb.exe shortcut will not work, you need to delete it, go into powershell, 7, then hit ctrl f to find pwsh, copy and paste that short cut to the original folder using cmd Will Not Work to activate power shell 7
Click to expand...
Click to collapse
EDIT *IRRELEVANT*
DrScrad said:
it was not in the download from Mega or Google.. I'm not this much of a stickler to most, because i already have WSA rockin on W11, but I just figured i'd give your method a try because your title honesatly was appealing and I had nothing bette rto do.. because I watched your video and saw the dev image was in your WIN11ROOT folder, but wasn't the case on either download for me.
Click to expand...
Click to collapse
Can I ask you, do you know how that's possible? Is it user error on my part or was it removed after the fact? I'm going to try to reupload it with a different name, just the dev ISO. THANK YOU for telling me.
----edit definitely user error... It shouldn't have only been 1.3 gb zipped and that should have registered to me sooner...
I Just got so excited to share the Mostly Gui Method...
I AM REUPLOADING THE DEV ISO I WILL POST A COMMENT WITH THE LINK WHEN IT HAS UPLOADED
THE TOTAL FILE SIZE FOR THE ISO IS 4.6 GB
A new lesson for those willing to learn! https://forum.xda-developers.com/t/how-to-download-win-11-developer-iso.4372383/
A mega link has been provided for the direct DL of the Dev ISO.
As well as an explanation on UUP for future reference..
I'm a little confused about what the intent here. Is this guide intended to help people set up their Windows 11 PC as a ADB platform for their phone? Or is this focused on gaining root access in the WIndows 11 Android subsystem so as to run Android apps with root?
V0latyle said:
I'm a little confused about what the intent here. Is this guide intended to help people set up their Windows 11 PC as a ADB platform for their phone? Or is this focused on gaining root access in the WIndows 11 Android subsystem so as to run Android apps with root?
Click to expand...
Click to collapse
It's about helping beginners interested in learning systems like android and windows understand better where to get started. From beginning to end. *Teaching!* Some folks interested in this are very young and do not have the ability to comprehend a lot of the technical jargon that you find on some of these more advanced concept threads.
I'm am teaching folks, as I learn, how I see things, pitfalls and all, so we have more people in the world learning these things and more people to talk to about Creating The Future.
Yes it helps them get setup with adb without having to dl the toolset off google sdk site, its the full latest sdk from google.
I also included powershell 7 so you don't have to DL that too.
In the past I probably would have not installed visual studio, as I didn't understand that their jargon of "features" is akin to "dependencies" like framework, hypervisor, etc.... Which is a huge mistake!
IRELEVANT
Okay Friends A bare Bones VM running Ghost Spectre's interpretation of what Win 11 should be is uploading now! I'm stuck at work for a few more hours, but when I get home I will make a video to guide you all through programming our new toy!
Now, as this is a class and a learning environment, you will be left with a problem We will get Kali Linux setup and working in our Windows 11 Virtual Machine, We will Install the Android Subsystem through ghost's toolbox, since it's easier.
We will get all our features and dependencies unlocked, and then you will be presented with the problem... Some solutions.... And well just an opportunity to THINK OUTSIDE THE BOX.
The android subsystem is giving me trouble in the VM. Maybe it will you, too.
Can You solve the problem?
Also I want you to think about this question:
What do we want windows to be? More so what do we want computing to be, to Do?
The bare bones windows 11 virtual machine is 6gb in size zipped!
Posting the link here early for those that are interested and already understand how to install vms... still working on the guide for those that wouldn't know the first thing to do with this, otherwise XD
https://mega.nz/file/isdEVD4J#185Cr400Q2qcXuIIBUx-fEbPzzK1iAe54mbCnmIrA3I
this is ghost specter's win 11
i have now built my own modded win 11
jenneh said:
Okay Friends A bare Bones VM running Ghost Spectre's interpretation of what Win 11
Now, as this is a class and a learning environment, you will be left with a problem We will get Kali Linux setup and working in our Windows 11 Virtual Machine, We will Install the Android Subsystem through ghost's toolbox, since it's easier.
We will get all our features and dependencies unlocked, and then you will be presented with the problem... Some solutions.... And well just an opportunity to THINK OUTSIDE THE BOX.
The android subsystem is giving me trouble in the VM. Maybe it will you, too.
Can You solve the problem?
Also I want you to think about this question:
What do we want windows to be? More so what do we want computing to be, to Do?
The bare bones windows 11 virtual machine is 6gb in size zipped!
Click to expand...
Click to collapse
Paylaşımların için teşekkürler

Categories

Resources