Using /tools/hci/ from AOSP (make file is Android.mk.disabled) The Next CEO of Stack OverflowStop EditText from gaining focus at Activity startupHow do I make links in a TextView clickable?Passing additional variables from command line to makeIs there a way to get the source code from an APK file?ndk-gdb error: device does not support the application's targetted CPU ABIsHow to make debug build of specific module under AOSP tree?Building/installing Android Wear AOSPWhy is ADB unauthorised to debug my device on which I installed AOSP?AOSP not booting on Nexus 5Building module in Android Open Source Project
Multiple labels for a single equation
What's the best way to handle refactoring a big file?
What does "Its cash flow is deeply negative" mean?
How do scammers retract money, while you can’t?
How did people program for Consoles with multiple CPUs?
How do I reset passwords on multiple websites easily?
Can we say or write : "No, it'sn't"?
Are there any limitations on attacking while grappling?
How to prevent changing the value of variable?
Indicator light circuit
How to start emacs in "nothing" mode (`fundamental-mode`)
To not tell, not take, and not want
How to invert MapIndexed on a ragged structure? How to construct a tree from rules?
In excess I'm lethal
Return the Closest Prime Number
Would a completely good Muggle be able to use a wand?
Is it possible to search for a directory/file combination?
Why don't programming languages automatically manage the synchronous/asynchronous problem?
What benefits would be gained by using human laborers instead of drones in deep sea mining?
Why do airplanes bank sharply to the right after air-to-air refueling?
Why has the US not been more assertive in confronting Russia in recent years?
What connection does MS Office have to Netscape Navigator?
Contours of a clandestine nature
Sending manuscript to multiple publishers
Using /tools/hci/ from AOSP (make file is Android.mk.disabled)
The Next CEO of Stack OverflowStop EditText from gaining focus at Activity startupHow do I make links in a TextView clickable?Passing additional variables from command line to makeIs there a way to get the source code from an APK file?ndk-gdb error: device does not support the application's targetted CPU ABIsHow to make debug build of specific module under AOSP tree?Building/installing Android Wear AOSPWhy is ADB unauthorised to debug my device on which I installed AOSP?AOSP not booting on Nexus 5Building module in Android Open Source Project
I am trying to send and receive HCI events/commands using an Android device (pixel 2) for testing purposes at work. I've tried doing this a number of ways - but recently stumbled upon this in the AOSP source code.
This seems to be exactly what I'm looking for (or close to it), but I am unsure of how to actually use this.
I've built AOSP (walleye for pixel 2) more than a few times in userdebug and engineer mode, and have adb/fastboot, etc already setup in an Ubuntu environment, so the build process is not new to me.
With all of that said, my first question:
Do I need to remove .disabled from the android.mk file? Will this result in the tool being built with the OS?
If so, how do I access the tool once it is built.
If not, how might I build this tool (main.cc in the file linked above) and where would I find it once built.
**EDIT::
No responses but a with a few days of experimentation I've figured it out:
Its very straightforward, but I'll leave this here in case anyone else has a similar question in the future.
1) Change Android.mk.disabled to Android.mk
2) Build the OS or that specific module of the OS (Plenty of good explanations on that process can be found here on SO.)
3) Flash the OS containing the newly built Module onto your device
4) In this case, we turned main.c into an executable. Use adb to locate and run that executable once its on your device. (This part is conjecture, I haven't been back to work to try it out yet)
android makefile android-source android.mk hci
add a comment |
I am trying to send and receive HCI events/commands using an Android device (pixel 2) for testing purposes at work. I've tried doing this a number of ways - but recently stumbled upon this in the AOSP source code.
This seems to be exactly what I'm looking for (or close to it), but I am unsure of how to actually use this.
I've built AOSP (walleye for pixel 2) more than a few times in userdebug and engineer mode, and have adb/fastboot, etc already setup in an Ubuntu environment, so the build process is not new to me.
With all of that said, my first question:
Do I need to remove .disabled from the android.mk file? Will this result in the tool being built with the OS?
If so, how do I access the tool once it is built.
If not, how might I build this tool (main.cc in the file linked above) and where would I find it once built.
**EDIT::
No responses but a with a few days of experimentation I've figured it out:
Its very straightforward, but I'll leave this here in case anyone else has a similar question in the future.
1) Change Android.mk.disabled to Android.mk
2) Build the OS or that specific module of the OS (Plenty of good explanations on that process can be found here on SO.)
3) Flash the OS containing the newly built Module onto your device
4) In this case, we turned main.c into an executable. Use adb to locate and run that executable once its on your device. (This part is conjecture, I haven't been back to work to try it out yet)
android makefile android-source android.mk hci
add a comment |
I am trying to send and receive HCI events/commands using an Android device (pixel 2) for testing purposes at work. I've tried doing this a number of ways - but recently stumbled upon this in the AOSP source code.
This seems to be exactly what I'm looking for (or close to it), but I am unsure of how to actually use this.
I've built AOSP (walleye for pixel 2) more than a few times in userdebug and engineer mode, and have adb/fastboot, etc already setup in an Ubuntu environment, so the build process is not new to me.
With all of that said, my first question:
Do I need to remove .disabled from the android.mk file? Will this result in the tool being built with the OS?
If so, how do I access the tool once it is built.
If not, how might I build this tool (main.cc in the file linked above) and where would I find it once built.
**EDIT::
No responses but a with a few days of experimentation I've figured it out:
Its very straightforward, but I'll leave this here in case anyone else has a similar question in the future.
1) Change Android.mk.disabled to Android.mk
2) Build the OS or that specific module of the OS (Plenty of good explanations on that process can be found here on SO.)
3) Flash the OS containing the newly built Module onto your device
4) In this case, we turned main.c into an executable. Use adb to locate and run that executable once its on your device. (This part is conjecture, I haven't been back to work to try it out yet)
android makefile android-source android.mk hci
I am trying to send and receive HCI events/commands using an Android device (pixel 2) for testing purposes at work. I've tried doing this a number of ways - but recently stumbled upon this in the AOSP source code.
This seems to be exactly what I'm looking for (or close to it), but I am unsure of how to actually use this.
I've built AOSP (walleye for pixel 2) more than a few times in userdebug and engineer mode, and have adb/fastboot, etc already setup in an Ubuntu environment, so the build process is not new to me.
With all of that said, my first question:
Do I need to remove .disabled from the android.mk file? Will this result in the tool being built with the OS?
If so, how do I access the tool once it is built.
If not, how might I build this tool (main.cc in the file linked above) and where would I find it once built.
**EDIT::
No responses but a with a few days of experimentation I've figured it out:
Its very straightforward, but I'll leave this here in case anyone else has a similar question in the future.
1) Change Android.mk.disabled to Android.mk
2) Build the OS or that specific module of the OS (Plenty of good explanations on that process can be found here on SO.)
3) Flash the OS containing the newly built Module onto your device
4) In this case, we turned main.c into an executable. Use adb to locate and run that executable once its on your device. (This part is conjecture, I haven't been back to work to try it out yet)
android makefile android-source android.mk hci
android makefile android-source android.mk hci
edited Mar 26 at 15:45
Samuel
asked Mar 21 at 16:57
SamuelSamuel
34
34
add a comment |
add a comment |
0
active
oldest
votes
Your Answer
StackExchange.ifUsing("editor", function ()
StackExchange.using("externalEditor", function ()
StackExchange.using("snippets", function ()
StackExchange.snippets.init();
);
);
, "code-snippets");
StackExchange.ready(function()
var channelOptions =
tags: "".split(" "),
id: "1"
;
initTagRenderer("".split(" "), "".split(" "), channelOptions);
StackExchange.using("externalEditor", function()
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled)
StackExchange.using("snippets", function()
createEditor();
);
else
createEditor();
);
function createEditor()
StackExchange.prepareEditor(
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader:
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
,
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
);
);
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f55285565%2fusing-tools-hci-from-aosp-make-file-is-android-mk-disabled%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
0
active
oldest
votes
0
active
oldest
votes
active
oldest
votes
active
oldest
votes
Thanks for contributing an answer to Stack Overflow!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f55285565%2fusing-tools-hci-from-aosp-make-file-is-android-mk-disabled%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown