I'm thinking the best way to achieve this would be to buy and program an NFC sticker to do whatever you'd want it to do (Bluetooth, GPS, etc.) Could anyone think of a better way?
Yes that's what I do, however without stickers you should be able to say connection to a Bluetooth device and in the setting it should allow you to launch car mode
Sent from my Iconia A500 using Tapatalk 2
There's a car mode???
Bobb_o said:
I'm thinking the best way to achieve this would be to buy and program an NFC sticker to do whatever you'd want it to do (Bluetooth, GPS, etc.) Could anyone think of a better way?
Click to expand...
Click to collapse
It's a pain to get and install but the Google car home app can be set to launch upon connection to a specific bluetooth device.
Edit:
I assume that since this is not a paid app, posting a link is OK. If not, mods please remove.
https://www.box.com/shared/dc3822670881c5db4f3c
Sent from my Galaxy Nexus using Tapatalk 2
Acererak said:
This works http://forum.xda-developers.com/showthread.php?t=1081009
Sent from my Galaxy Nexus
Click to expand...
Click to collapse
So far, so good! Thanks for the link.
I didn't know there was a car mode either..... still no answer to your question (and now, mine)
gravis86 said:
There's a car mode???
Click to expand...
Click to collapse
usafle said:
I didn't know there was a car mode either..... still no answer to your question (and now, mine)
Click to expand...
Click to collapse
Yeah there is. You can enable it quite easily actually:
Code:
adb shell am broadcast -a android.intent.action.DOCK_EVENT --ei android.intent.extra.DOCK_STATE 2
To return to normal mode
Code:
adb shell am broadcast -a android.intent.action.DOCK_EVENT --ei android.intent.extra.DOCK_STATE 0
This simulates entry into the actual car dock. Instead of using an alternate "car" app this allows the home screen to rotate 90 degrees and re-arranges things a bit so the device is usable in this orientation.
1 is the desktop dock (if you're in desktop dock mode all calls answered automatically go on speaker mode for reference).
I'm working on triggering this via an NFC tag, but currently the runtime won't execute this (with or without root) and you can't broadcast the intent manually (permission denied). Hoping to get it working though as I'd, personally, use this quite a bit.
I'd be interested in that as well. For now I just side loaded the old Google Car Dock apk.
Good luck if you get it to work.
krohnjw said:
I'm working on triggering this via an NFC tag, but currently the runtime won't execute this (with or without root) and you can't broadcast the intent manually (permission denied). Hoping to get it working though as I'd, personally, use this quite a bit.
Click to expand...
Click to collapse
You might have trouble with it working if LD_LIBRARY_PATH and BOOTCLASSPATH are missing from the environment (adb shell includes them for you, so that's why it works in adb).
Using Java, something like this works for me (obviously requires root):
Code:
static void setDockModeOn(boolean on) {
try {
ProcessBuilder process = new ProcessBuilder(
"/system/bin/su",
"-c",
"LD_LIBRARY_PATH='/vendor/lib:/system/lib' "
+ "BOOTCLASSPATH='/system/framework/core.jar:/system/framework/core-junit.jar:"
+ "/system/framework/bouncycastle.jar:/system/framework/ext.jar:"
+ "/system/framework/framework.jar:/system/framework/android.policy.jar:"
+ "/system/framework/services.jar:/system/framework/apache-xml.jar:/system/framework/filterfw.jar' "
+ "/system/bin/am broadcast -a android.intent.action.DOCK_EVENT --ei android.intent.extra.DOCK_STATE "
+ (on ? "2" : "0"));
process.start().waitFor();
} catch (IOException e) {
// TODO Auto-generated catch block
e.printStackTrace();
} catch (InterruptedException e) {
// TODO Auto-generated catch block
e.printStackTrace();
}
}
xsR1zU said:
You might have trouble with it working if LD_LIBRARY_PATH and BOOTCLASSPATH are missing from the environment (adb shell includes them for you, so that's why it works in adb).
Using Java, something like this works for me (obviously requires root):
Code:
static void setDockModeOn(boolean on) {
try {
ProcessBuilder process = new ProcessBuilder(
"/system/bin/su",
"-c",
"LD_LIBRARY_PATH='/vendor/lib:/system/lib' "
+ "BOOTCLASSPATH='/system/framework/core.jar:/system/framework/core-junit.jar:"
+ "/system/framework/bouncycastle.jar:/system/framework/ext.jar:"
+ "/system/framework/framework.jar:/system/framework/android.policy.jar:"
+ "/system/framework/services.jar:/system/framework/apache-xml.jar:/system/framework/filterfw.jar' "
+ "/system/bin/am broadcast -a android.intent.action.DOCK_EVENT --ei android.intent.extra.DOCK_STATE "
+ (on ? "2" : "0"));
process.start().waitFor();
} catch (IOException e) {
// TODO Auto-generated catch block
e.printStackTrace();
} catch (InterruptedException e) {
// TODO Auto-generated catch block
e.printStackTrace();
}
}
Click to expand...
Click to collapse
Excellent, this is what I was missing It was getting frustrating trying to find out whey I couldn't spawn a shell to do what worked perfectly with adb shell. Much appreciated!
no other way via API
xsR1zU said:
You might have trouble with it working if LD_LIBRARY_PATH and BOOTCLASSPATH are missing from the environment (adb shell includes them for you, so that's why it works in adb).
Using Java, something like this works for me (obviously requires root):
Code:
static void setDockModeOn(boolean on) {
try {
ProcessBuilder process = new ProcessBuilder(
"/system/bin/su",
"-c",
"LD_LIBRARY_PATH='/vendor/lib:/system/lib' "
+ "BOOTCLASSPATH='/system/framework/core.jar:/system/framework/core-junit.jar:"
+ "/system/framework/bouncycastle.jar:/system/framework/ext.jar:"
+ "/system/framework/framework.jar:/system/framework/android.policy.jar:"
+ "/system/framework/services.jar:/system/framework/apache-xml.jar:/system/framework/filterfw.jar' "
+ "/system/bin/am broadcast -a android.intent.action.DOCK_EVENT --ei android.intent.extra.DOCK_STATE "
+ (on ? "2" : "0"));
process.start().waitFor();
} catch (IOException e) {
// TODO Auto-generated catch block
e.printStackTrace();
} catch (InterruptedException e) {
// TODO Auto-generated catch block
e.printStackTrace();
}
}
Click to expand...
Click to collapse
Is there no other way to fire the broadcast message via API without root?
ischi said:
Is there no other way to fire the broadcast message via API without root?
Click to expand...
Click to collapse
Not for the Galaxy Nexus. Because you're simulating a hardware broadcast (car dock entered) you can't request a permission to broadcast that intent and it's restricted.
For devices that don't use this hardware event broadcast you can use UI manager to implement it quite simply (this doesn't do anything on the Galaxy Nexus though other than put the car mode icon in the left hand corner, it doesn't actually put the device into car mode).
Bobb_o said:
I'm thinking the best way to achieve this would be to buy and program an NFC sticker to do whatever you'd want it to do (Bluetooth, GPS, etc.) Could anyone think of a better way?
Click to expand...
Click to collapse
Search "Car Widget Pro" in the Play Store. It works great.
Sent from my Galaxy Nexus using XDA
I was unable to find "Google Car Home" in the play store, and the .apk like that you posted was unable to install on my nexus
Sent from my Galaxy Nexus using XDA
redugas said:
I was unable to find "Google Car Home" in the play store, and the .apk like that you posted was unable to install on my nexus
Sent from my Galaxy Nexus using XDA
Click to expand...
Click to collapse
Do you have settings - security - allow unknown sources checked?
Sent from my Galaxy Nexus using Tapatalk 2
krohnjw said:
Not for the Galaxy Nexus. Because you're simulating a hardware broadcast (car dock entered) you can't request a permission to broadcast that intent and it's restricted.
For devices that don't use this hardware event broadcast you can use UI manager to implement it quite simply (this doesn't do anything on the Galaxy Nexus though other than put the car mode icon in the left hand corner, it doesn't actually put the device into car mode).
Click to expand...
Click to collapse
why is it working with adb? is adb daemon running as uid=0?
GreatBigDog said:
Do you have settings - security - allow unknown sources checked?
Sent from my Galaxy Nexus using Tapatalk 2
Click to expand...
Click to collapse
Yea, I've downloaded plenty of other.apk files. This down downloads fine and when I hit install I get this response
{
"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"
}
Sent from my Galaxy Nexus using XDA
ischi said:
why is it working with adb? is adb daemon running as uid=0?
Click to expand...
Click to collapse
The DOCK_EVENT action is one of a number of "protected" broadcasts in Android. Only certain UIDs can send them: root (0), system (1000), phone (1001), and shell (2000). Also, certain system processes tagged "persistent" in their manifest can send them.
When using adb shell, the UID is 2000, so that's why it works.
FYI, the authorization code can be found here:
androidxref.com/source/xref/frameworks/base/services/java/com/android/server/am/ActivityManagerService.java#12238
redugas said:
Yea, I've downloaded plenty of other.apk files. This down downloads fine and when I hit install I get this response
View attachment 1132198
Sent from my Galaxy Nexus using XDA
Click to expand...
Click to collapse
Try downloading the latest gapps and adding the file into the zip under system/ app with the other Google apps then flash the gapps package with cwm. That's what I initially had to do to get it installed. Now, I just keep it backed up with Titanium backup (set to backup system apps) so that I just have to restore after system wipe.
Sent from my Galaxy Nexus using Tapatalk 2
Related
Firstly, this only works on the HTC Leo, and secondly, I can't be held responsible if your device catches fire or any other damages caused by using this...
This is probably easier for C++/Win32 devs to get to grips with and I don't know much .Net so I won't be porting this to .Net.
Registry settings
These register the window for multitouch messages
Under HKLM\Software\HTC\TouchGL\Pinch\WhiteList create a key with whatever you want. Within that, create a string called "ClassName" with the Class.
For example:
Code:
HKLM\Software\HTC\TouchGL\Pinch\WhiteList\MultiTouch
ClassName="MULTITOUCH"
That should be all you need... For debugging, I cheated and set my application to have the class HTCAlbumClass. Don't do that if you want it to work on a real device though!
Code
The actual multitouch part is pretty easy to handle.
Your window will get sent two messages, one for multitouch move/begin and one for multitouch end, they're standard C++/Win32 window messages.
Code:
#define WM_MT_BEGIN (WM_APP+16391) // begins multitouch, and is sent when either mouse position changes.
#define WM_MT_END (WM_APP+16392) // ends multitouch
The messages are fairly similar to ones for other mouse events, except that instead of the LPARAM being the mouse co-ordinates, both the LPARAM and the WPARAM are.
Code:
POINT pt,pt2;
pt.x = LOWORD(lParam);
pt.y = HIWORD(lParam);
pt2.x=LOWORD(wParam);
pt2.y=HIWORD(wParam);
In the l3v5yMultiTouch.h file, I've added two functions
Code:
POINT ParamToPoint(WPARAM);
POINT ParamToPoint(LPARAM);
These make converting between window messages and useful data slightly easier...
I've also created a class for MultiTouch that I'm looking to extend with gestures and some neat things. For now, download the source code and give it a play with.
My class also swaps the two points if one goes to the left of the other, so there are no issues with the two points swapping over when you really don't want it to...
Also note that I've now changed the license to GPL v3. If you want to do anything with the code let me know and I'll probably say "yes". This is more to make sure the people that have put work in to this get recognised than anything else.
All you have to do is handle those two points, and handle those two events.
There are two videos of this in action here and I'm working on a paint like application using it...
Attached is a demo application (make sure that HTCAlbum is shut before running it as it uses the HTCAlbum class) and source code.
If you find this useful, please link back to here, and mention my name! (and if you feel really generous, donate as well, but that's completely optional)
A more robust way (and the correct way) to get the values for the messages is:
MilaCzeque said:
This is not true. Message numbers are assigned dynamically and you missed first message.
Right approach is:
Code:
int HTC_Zoom_Begin;
int HTC_Zooming;
int HTC_Zoom_End;
void register_messages()
{
HTC_Zoom_Begin = RegisterWindowMessage(TEXT("HTC_Zoom_Begin"));
HTC_Zoom_End = RegisterWindowMessage(TEXT("HTC_Zoom_End"));
HTC_Zooming = RegisterWindowMessage(TEXT("HTC_Zooming"));
}
Fact that your application works after SR is just coincidence. But nice try anyway.
Click to expand...
Click to collapse
Also note the first message...
I've also realised there are a few different "modes" will find them all, and build a library with a few gestures for things like rotate, pinch zoom, two finger scrolling etc.
saw your tweet & entry @ WMPU, gonna try it now. A huge thanks for this, well done!
Edit: its working, not perfect but it works and thats a good achievement.
tibursio said:
saw your tweet & entry @ WMPU, gonna try it now. A huge thanks for this, well done!
Edit: its working, not perfect but it works and thats a good achievement.
Click to expand...
Click to collapse
What ain't perfect about it?
It might be HTCs fault, or it might be my fault...
Mhh, I cannot get working Windows Messages in .Net
scilor said:
Mhh, I cannot get working Windows Messages in .Net
Click to expand...
Click to collapse
Does http://social.msdn.microsoft.com/Forums/en-US/netfxbcl/thread/7bd3e24f-c21c-4490-910d-b47b6becf70d help?
l3v5y said:
Does http://social.msdn.microsoft.com/Forums/en-US/netfxbcl/thread/7bd3e24f-c21c-4490-910d-b47b6becf70d help?
Click to expand...
Click to collapse
That's for desktop .NET, not the same This, however, should help: http://msdn.microsoft.com/en-us/library/microsoft.windowsce.forms.messagewindow.aspx
cant wait to see the use of multitouch in WM games...Thanks for your effort and releasing the code for others.
{
"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"
}
EDIT : Have sent you beer money...
the0ne said:
cant wait to see the use of multitouch in WM games...Thanks for your effort and releasing the code for others.
EDIT : Have sent you beer money...
Click to expand...
Click to collapse
If I manage Multitouch, A Pong Clone will be there
l3v5y, thanks for the findings.
But does it mean that LEO has a dual-touch screen? not really a multi-touch?
How about the normal WM_MOUSE events? But even these exist, it means a tri-touch screen?
P.S. I'm still waiting impatiently for my damn carrier to have HD2 restock...
scilor said:
If I manage Multitouch, A Pong Clone will be there
Click to expand...
Click to collapse
i will hold you to that ...
l3v5y JUST KEEP THE Multitouch Appz coming BABY. Finally
[REF] Multitouch on the HTC Leo
I don't want to hijack this thread, but my 5 year old laptop has multitouch now with ubuntu linux for scrolling. Could it just be a driver issue. I didn't want to start a new thread either, zo just ignore this if you think this is a useless post
l3v5y said:
Code
The actual multitouch part is pretty easy to handle.
Your window will get sent two messages, one for multitouch move/begin and one for multitouch end, they're standard C++/Win32 window messages.
Code:
#define WM_MT_BEGIN (WM_APP+16391) // begins multitouch, and is sent when either mouse position changes.
#define WM_MT_END (WM_APP+16392) // ends multitouch
Click to expand...
Click to collapse
This is not true. Message numbers are assigned dynamically and you missed first message.
Right approach is:
Code:
int HTC_Zoom_Begin;
int HTC_Zooming;
int HTC_Zoom_End;
void register_messages()
{
HTC_Zoom_Begin = RegisterWindowMessage(TEXT("HTC_Zoom_Begin"));
HTC_Zoom_End = RegisterWindowMessage(TEXT("HTC_Zoom_End"));
HTC_Zooming = RegisterWindowMessage(TEXT("HTC_Zooming"));
}
Fact that your application works after SR is just coincidence. But nice try anyway.
MilaCzeque said:
This is not true. Message numbers are assigned dynamically and you missed first message.
Right approach is:
Code:
int HTC_Zoom_Begin;
int HTC_Zooming;
int HTC_Zoom_End;
void register_messages()
{
HTC_Zoom_Begin = RegisterWindowMessage(TEXT("HTC_Zoom_Begin"));
HTC_Zoom_End = RegisterWindowMessage(TEXT("HTC_Zoom_End"));
HTC_Zooming = RegisterWindowMessage(TEXT("HTC_Zooming"));
}
Fact that your application works after SR is just coincidence. But nice try anyway.
Click to expand...
Click to collapse
That makes a lot more sense, though I didn't think of that as the messages sent were always the same, so I assumed they were constants...
Will add what you have found to the first post
I've realised there are a few different "modes" which I'll investigate. I'm also building a library with a few gestures for things like rotate, pinch zoom, two finger scrolling etc. which I'll release the code for all
.Net is done
Edit:
Ok, works, but the Problem is that, PinchToZoom seem to have to BIG Problems:
If 2 Points nearly on one line (horizontal or vertical) they align,
Also the Points are not identifiable
i dont understand
is this proper multitouch or just double scrolling. if it is proper multitouch, will there be a way to have more than dual touch?
It is proper Multitouch, but only 2 Fingers are working with some bugs.
http://scilor.ac-host.net/hd2-leo-real-multitouch.html
(Video is on the way!)
As part of my never ending Weekly Develoment and hacking cleaning up i have moved this thread to Windows Software development.
Sorry L3V5Y for not Pm-ing, didn't want to disturb you since you are a busy guy
Backtrack (http://www.backtrack-linux.org)
Backtrack-Linux.org, home of the highest rated and acclaimed Linux security distribution to date. BackTrack is a Linux-based penetration testing arsenal that aids security professionals in the ability to perform assessments in a purely native environment dedicated to hacking. Regardless if you’re making BackTrack you Install BackTrack, boot it from a Live DVD or thumbdrive, the penetration distribution has been customized down to every package, kernel configuration, script and patch solely for the purpose of the penetration tester.
Here is a guide to getting ARM Backtrack Running on the Xoom (tested on Wifi Only Version, running 3.1)
After much frustration I have gotten the GUI part of the backtrack 5 arm release working with the Motorola Xoom.
This has only been tested to work on the Xoom. But it should work just fine with any other device that supports linux, and should work especially well on anything with a dual-core processor (G2X, Atrix, etc.)
Pre-requisites:
- Rooted Motorola Xoom
- androidVNC from the Android Market
- Terminal Emulator from the Android Market (which you should already have)
- Backtrack 5 for ARM with Gnome downloaded and setup (check the README file, and follow the instructions.)
Link: Backtrack 5 http://www.backtrack-linux.org/downloads/. This tutorial will assume you put Backtrack 5 in the folder /sdcard/BT5 like the README says.
Launch the terminal emulator and enter the following commands:
Code:
cd /sdcard/BT5
su
sh bootbt
BackTrack will start up in shell. You will get a red line that says "[email protected]:". To verify if you type:
Code:
ls pentest
It should echo back the folders in pentest, stuff like 'backdoors','database',etc.
At this point enter the following commands:
Code:
export USER=root
vncpasswd
When you type in 'vncpasswd' this is to the the password for the tightvncserver. Since I only connect locally I just use 'qwerty' for my password, and then confirm the password. [Edit] Apparently you can skip this step, as the default password for vnc is simply, 'toortoor' (root backwards, twice).
When it asks if you want to create a view only password just type 'n' and hit enter. After you have your password setup for vnc start the server up.
Code:
tightvncserver -geometry 1280x800
When this happens you will get a message confirming that "New 'X' Desktop is localhost:1" and a bunch of other random stuff below it (it isn't important unless there are errors listed).
At this point, press the "HOME" button on the Xoom and then open the application "androidVNC".
-In the "Nickname" box, you can name it whatever you like.
-In the "password" entry, use your password (mine is 'qwerty').
-In the "Address" box you can type in localhost (or leave it blank).
****Change the port from 5900 to 5901.
[Edit] TightVNCServer uses 5901 by default, but if you are having connection errors it may have changed to something else. View the TightVNCServer logs (which I believe are under /root/.vnc/, do an 'ls -a' and a 'nano logfilename') to check to see what port was in use.
I also recommend setting the color-depth to 24-bit. After that press the "connect" button, and bam! You're rocking Backtrack 5 on your motorola xoom!!
You're welcome to repost this on other message boards of on your website, please just give me credit though. Thank you and enjoy!
{
"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"
}
what is backtrack?
uses?
But can our wireless go into monitor mode... can it inject? New to backtrack... but know what.it can do
Sent from my LG-P999 using XDA Premium App
Whoa!!!
This is big...I'm going to do this immediately after I update to 3.1. Great job!!
renocivik said:
But can our wireless go into monitor mode... can it inject? New to backtrack... but know what.it can do
Sent from my LG-P999 using XDA Premium App
Click to expand...
Click to collapse
It would depend on if the BT developers provided a driver that has monitor mode enabled. I have it installed but haven't investigated that yet. I do know that tcpdump is on the box, so at least you can monitor your own web traffic.
OP: You don't necessarily need to change the vnc password. It comes with a default password of "toortoor"
As an aside, I'm going to spend some time this week/weekend looking into getting this to run natively. I'm doubtful that it will work but you never know.
I do know they are using Tiamet 1.3.0 as the kernel they are running, so it's possible that this can be done with a good bit of work.
There is a slight error in your commands I believe. To change the VNC password it should be vncpasswd rather than vpnpasswd.
Port for me was 5902 btw. I was stumped until I looked at the tightvnc log.
Monitor mode does not appear to work and maybe some things have changed since Backtrack 3 but I couldn't locate aircrack-ng.
Sent from my Xoom using XDA Premium App
Thanks for this. Going to try it on my nook color tomorrow. If it works, ya mind if I x-post this in their dev forums?
The command should be vncpasswd.
also BT image already contains startvnc as a command which will start the vncserver for you.
I am working on porting BT image to Xperia X10 (thread marked in Sig.)
all of these steps work on all devices or just xoom only??
fauz33 said:
all of these steps work on all devices or just xoom only??
Click to expand...
Click to collapse
I haven't tested it on anything else yet, but like launching "Ubuntu" from chroot, it should work as long as your device has a fast enough processor. The only other phone I have to test this on would be my nexus one, but I haven't gotten around to actually testing it out yet. This installation cannot hurt your phone any, so feel free to give it a shot and post your results!
chesh420 said:
Thanks for this. Going to try it on my nook color tomorrow. If it works, ya mind if I x-post this in their dev forums?
Click to expand...
Click to collapse
You're welcome to repost it, if it works, please just give me credit.
I really hope this arm distribution starts to take off, as I use the x86 all of the time on my laptop, and it would be great to have a completely functional tablet version... but they won't keep developing it if no one uses it.
i have this installed as well.
to answer the above, this only works on the xoom and the atrix. it could work on other tegra 2 devices, but is unknown on stability and support. it was made pretty much for the xoom.
also, you cannot do any wifi attacks or injections, just the nature of the beast.
How did you copy the bt5.img to the sdcard because it says file too large with fat32
Sent from my G2X using Tapatalk
This runs great man. Great work
Sent from my Xoom using XDA Premium App
Does anyone know where I can get this not as a Torrent. My work Blocks torrent traffic.
You are AWESOME!!!
I was working on something like this.
Doing this RIGHT now. You are the MAN!
vdub804 said:
How did you copy the bt5.img to the sdcard because it says file too large with fat32
Sent from my G2X using Tapatalk
Click to expand...
Click to collapse
clay_atx said:
i have this installed as well.
to answer the above, this only works on the xoom and the atrix. it could work on other tegra 2 devices, but is unknown on stability and support. it was made pretty much for the xoom.
also, you cannot do any wifi attacks or injections, just the nature of the beast.
Click to expand...
Click to collapse
For both of you check my post on Xperia X10 thread (link in sig)
file directly won't copy as 4 GB is max file size fr vfat.
i have posted a log file which contains all the instructions for resizing and getting your file out.
whould it be safe to run this on the htc evo 4g?
lewi3069 said:
Does anyone know where I can get this not as a Torrent. My work Blocks torrent traffic.
Click to expand...
Click to collapse
http://www.backtrack-linux.org/downloads/
you should see two options a direct download or a torrent
remeber you using the GNOME (arm) file
yoboii23 said:
http://www.backtrack-linux.org/downloads/
you should see two options a direct download or a torrent
remeber you using the GNOME (arm) file
Click to expand...
Click to collapse
Yea i only see torrent, but its ok i found an alternative method...
Salam. I'm new here and this is my first thread in XDA
Hope you all are fine !
I'm gonna teach you how to connect PC's Hard Drive to an Android phone. All phones are supported but I have Samsung Galaxy Y Tested in Galaxy Y, Ainol Novo 7 tornados & Ainol Novo 7 Crystal!
So these things you'll need.
1. An android phone
2. A PC with HDD (Hard Drive)
3. And a Sharp brain
1. Click on the monitor ad then chick on 'Network and Sharing Center' as you can se in picture 1
{
"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. Click on 'Change advance sharing setting' picture 2
3. Scroll down and click on 'Turn off password protected sharing' picture 3
4. Then open My Computer Right click on the drive which you wanted to share and then goto properties of it. Picture 4
5. Click on the 'Sharing' tab and then click on 'Advanced Sharing...' then a pop up window will appear. Now Click on 'Share this folder' and then click on 'Permissions'. Picture 5
6. Now just click on 'Full control'
You are done with PC
NOTE : You are done with PC is not to turn off your PC.
Now Download ES File Explorer
Now do the following steps
1. Open ES File Explorer and tap the 'Local' button.
2. Tap on 'LAN'
3. Tap on 'New'
4. Tap 'Scan'
5. It will start scanning. wait for the scan
6. When scanning will complete then tap on your IP address
7. Now your 'My computer' is open in your Android phone. Now tap on the Drive you shared. Don't tap on 'F$' Tap on only 'F'
8. You are done. Enjoy.
Reserved
vicky4slayer said:
Reserved
Click to expand...
Click to collapse
table for two?
ronnieryan said:
table for two?
Click to expand...
Click to collapse
table for three
reserved
im gonna try this...oh and
any chance that it will work on ubuntu¿¿¡¿
_____________________________________
Sent From My LG Nexus 4 Like a BAWS
jasonxD said:
table for three
reserved
im gonna try this...oh and
any chance that it will work on ubuntu¿¿¡¿
_____________________________________
Sent From My LG Nexus 4 Like a BAWS
Click to expand...
Click to collapse
Well I don't know about Ubuntu. I don't have Ubuntu. Tested in Win 7. Hope it will also work in Ubuntu.
Thanks bro .....
WAITING FOR NEMESIS......
FROM GOD'S OWN COUNTRY.....
maxxinn said:
Thanks bro .....
WAITING FOR NEMESIS......
FROM GOD'S OWN COUNTRY.....
Click to expand...
Click to collapse
Welcome bro
Error
PC was configured successfully, but when i hit Scan button in ES file manager, it says please check your wireless connection !
Although mobile data is working in phone. Help anyone ?
Thanks for sharing! I hope I can do it right.
Sent from my GT-S5360 using Xparent Cyan Tapatalk 2
shrey. said:
PC was configured successfully, but when i hit Scan button in ES file manager, it says please check your wireless connection !
Although mobile data is working in phone. Help anyone ?
Click to expand...
Click to collapse
Bro It only works with WIFI..
ProjectNorthern said:
Thanks for sharing! I hope I can do it right.
Sent from my GT-S5360 using Xparent Cyan Tapatalk 2
Click to expand...
Click to collapse
Welcome
will try when i get back to saudi arabia! currently m in india for a tour! nyc guide tho
Sent from my GT-S5360 using xda app-developers app
is this done via usb cable or wifi?
manilenio said:
is this done via usb cable or wifi?
Click to expand...
Click to collapse
Wi-Fi
Didnt work for me. Scan returned nothing. I even added the ip of my laptop. No shares returned. Firewall is on.
Sent from my GT-S5360 using Tapatalk
bumslayer said:
Didnt work for me. Scan returned nothing. I even added the ip of my laptop. No shares returned. Firewall is on.
Sent from my GT-S5360 using Tapatalk
Click to expand...
Click to collapse
Try with manually create server..
Didn't work
Thanks for the tutorial sir. But it didn't worked for me.
When I choose "scan" nothing is showed on the screen after the scan. So, i tried to add the "server" manually. I put my PC's IP: 192.168.1.33, and then the app tells my that something could be wrong with my wifi, and bla bla bla. The result: I cannot connect to my PC.
Note;: i'm using windows 7, disabled password protection for access, and using Avast (antivirus, not firewall)
Everytime I bump on this thread it makes me think about USB OTG.
Dont we need a CIFS module in order for this to work?
Sent from my V9-1688-CJ-0308-31S using Tapatalk HD
sebas033 said:
Thanks for the tutorial sir. But it didn't worked for me.
When I choose "scan" nothing is showed on the screen after the scan. So, i tried to add the "server" manually. I put my PC's IP: 192.168.1.33, and then the app tells my that something could be wrong with my wifi, and bla bla bla. The result: I cannot connect to my PC.
Note;: i'm using windows 7, disabled password protection for access, and using Avast (antivirus, not firewall)
Click to expand...
Click to collapse
And one more thing it requires LAN connection. Mean you have a WiFi router which is connected to your PC.
sebas033 said:
Thanks for the tutorial sir. But it didn't worked for me.
When I choose "scan" nothing is showed on the screen after the scan. So, i tried to add the "server" manually. I put my PC's IP: 192.168.1.33, and then the app tells my that something could be wrong with my wifi, and bla bla bla. The result: I cannot connect to my PC.
Note;: i'm using windows 7, disabled password protection for access, and using Avast (antivirus, not firewall)
Click to expand...
Click to collapse
Now do the following steps
>> Click on the monitor of internet connection
>> Click "Open network and sharing center"
>> Click "Change Adapter settings"
>> Now you will see your Network Connection
>> Double click on it.
>> Now click on "Details..."
>> Now Open ES file explorer in you Android Phone.
>> Now you will see your IP address. Its written IPv4 address instead of IP Address
>> Type the line "IPv4 Address" in you android phone.
And one more thing it requires LAN connection. Mean you have a WiFi router which is connected to your PC.
Okay Guys,
Just for fun, as a little side-project, I wanted to play with the DashClock extensions API, and being a self-proclaimed "word nerd" I figured a cool "Word of the Day" extension might be fun to put together, so that's what I did .
It allows you to currently display a new word on your locksceen each day, and select from a variety of sources, such as Merriam-Webster, Yahoo, TheFreeDictionary, and others. Clicking the item takes you to the feed source for additional details, or you can elect to select from alternate lookup sources, such as Google and Wikipedia.
For the less intellectually inclined, you can even choose The Urban Dictionary as a daily word source :laugh::
{
"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"
}
Merriam-Webster Source:
Anyway, check it out if interested and if you have any suggestions, ideas, etc, let me know!
Play Store Link
Great little extension, loving it.
Just downloaded
Sent from my Nexus 4 using xda app-developers app
tyraelasd said:
Great little extension, loving it.
Click to expand...
Click to collapse
Neefy said:
Just downloaded
Click to expand...
Click to collapse
Thanks guys. Let me know if you have any suggestions.
Next release I am looking to give the option to auto-rotate the sources on a specified frequency, so that you can see more than one word per day if you wish.
Will give this a try.
Sent from my Nexus 4 using xda premium
This is fun! :good:
Giving this a try, thanks!
What extension is the “door is closed" extension?
davwman said:
What extension is the “door is closed" extension?
Click to expand...
Click to collapse
Ha, Ha, that's my own personal extension that tells me the status of my garage door at any given time. It interfaces with my personal "OpenSezMe" garage door opener app that communicates with an Arduino for toggling a relay to open / close the door (app has come a long way since that video).
The DashClock extension receives PUSH notifications using GCM (Google Cloud Messaging), that the Arudino sends out when the reed sensor attached to it changes its state (open / closed), so I instantly know at any given time if the garage door is open or closed (or remains open too long), be it via a regular remote, the keypad, or my app on my or my wife's phone, etc
But I digress :laugh:
JsChiSurf said:
Ha, Ha, that's my own personal extension that tells me the status of my garage door at any given time. It interfaces with my personal "OpenSezMe" garage door opener app that communicates with an Arduino for toggling a relay to open / close the door (app has come a long way since that video).
The DashClock extension receives PUSH notifications using GCM (Google Cloud Messaging), that the Arudino sends out when the reed sensor attached to it changes its state (open / closed), so I instantly know at any given time if the garage door is open or closed (or remains open too long), be it via a regular remote, the keypad, or my app on my or my wife's phone, etc
But I digress :laugh:
Click to expand...
Click to collapse
Awesome!
davwman said:
Awesome!
Click to expand...
Click to collapse
Thanks :good:
R: DashClock Word of the Day Extension
JsChiSurf said:
Ha, Ha, that's my own personal extension that tells me the status of my garage door at any given time. It interfaces with my personal "OpenSezMe" garage door opener app that communicates with an Arduino for toggling a relay to open / close the door (app has come a long way since that video).
The DashClock extension receives PUSH notifications using GCM (Google Cloud Messaging), that the Arudino sends out when the reed sensor attached to it changes its state (open / closed), so I instantly know at any given time if the garage door is open or closed (or remains open too long), be it via a regular remote, the keypad, or my app on my or my wife's phone, etc
But I digress :laugh:
Click to expand...
Click to collapse
If i use raspberry instead Arduino? Can we have in italian?? Would be awesome
Gonna install this right now! Seems interesting and fun! ^_^
duff91 said:
If i use raspberry instead Arduino? Can we have in italian?? Would be awesome
Click to expand...
Click to collapse
I wish it was "portable" enough to do that. That was my goal at the outset, but as time / development went on, I realized there is way too much configuration unique to my envorinment (location, home network topograhy, hardware, etc).
Ngo93 said:
Gonna install this right now! Seems interesting and fun! ^_^
Click to expand...
Click to collapse
Thanks! Let me know if you have any questions, ideas, etc.
Working now on a couple additional features:
Dismiss / clear word & definition on lock screen when clicked (versus persistent), and not display again until new word is received from selected source. Essentially seeing once a day and disappearing once clicked.
When in persistent mode, rotate between all sources on pre-defined basis, so you can see more than one word / day if desired.
This is fun. Urban Dictionary is hilarious. Thanks for this.
This is amazing, thanks
This app is very good! I'll go rate it five in the play store immediately!
Sent from my Nexus 4 using xda app-developers app
Neefy said:
This app is very good! I'll go rate it five in the play store immediately!
Click to expand...
Click to collapse
Appreciate it. More good stuff to come, especially as it relates to keeping the provided word fresh / different by auto-rotating sources!
G'day all, I figured out how to detect when the device folds using tasker/macrodroid.
The built in Bixby Modes and Routines can do it but it has a long(ish) delay and can really only be used to create a custom notification for tasker/macrodroid to intercept, which then also has to be cleared and adds even more of a delay.
So you set up a task/macro to read the logcat as a trigger.
Trigger logcat details are as follows:
Component: lid_state_changed
Value: 0 or 1 (0=folded and 1=unfolded)
In macrodroid, the buffer is "Events", not sure in tasker as I don't use it.
So I have a macro set up to detect when the device is folded or unfolded and set a global variable to store the status for use by other macros.
This detection method is instant, simple and the best and easiest way to detect when a fold occurs.
Hope it helps everyone and ta-ta
{
"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"
}
lid_state_changed -- how did you find it? I'm on the latest FW, OneUI 5.1 and this doesn't come up in logcat on phone open or closed - so can't set it by it.
I've been identifying open/close state by a nasty workaround in tasker via reading the edge_panel_width variable - as it has different values on open/close - but for this have to have the edge panel enabled, and I'd like to disable it...
白い熊 said:
lid_state_changed -- how did you find it? I'm on the latest FW, OneUI 5.1 and this doesn't come up in logcat on phone open or closed - so can't set it by it.
I've been identifying open/close state by a nasty workaround in tasker via reading the edge_panel_width variable - as it has different values on open/close - but for this have to have the edge panel enabled, and I'd like to disable it...
Click to expand...
Click to collapse
That's strange. I'm on 5.0.... surely they didn't go through the effort of changing it :/
I found it by using macrodroid. When you select the logcat as the trigger, there's an option to identify the log entry by recording it then displaying it.
So when I did this, a floating button appeared on the screen. I tapped it and it starts recording the logcat. I quickly folded the phone shut then open again and hit the button to stop recording. It then displayed all logcat entries and I went through it until I found one that sounded like a fold event, then set it as the trigger and tested it. They must've changed the name of it in 5.1.
If you want, get an app that records the logcat, or even used macrodroid to do it the way I did, then quickly fold and unfold your phone and stop recording, then screenshot it and message it to me and I'll have a look
Is there a way to detect screen fold/unfold in Tasker or MacroDroid without using LogCat? My device has been updated to Android 13, which breaks LogCat functionality for this.
shdwphnx said:
Is there a way to detect screen fold/unfold in Tasker or MacroDroid without using LogCat? My device has been updated to Android 13, which breaks LogCat functionality for this.
Click to expand...
Click to collapse
I'm on 13 too and it works. LogCat needs either the abd hack or root to work. For abd, macrodroid will give you a command to enter which will let your phone read logcat without root.
shdwphnx said:
Is there a way to detect screen fold/unfold in Tasker or MacroDroid without using LogCat? My device has been updated to Android 13, which breaks LogCat functionality for this.
Click to expand...
Click to collapse
If you need help doing the abd hack, let me know. It doesn't really hack your phone or do anything to it... it literally just gives macrodroid permission to read the logcat and that's it.
Lovemtucken said:
If you need help doing the abd hack, let me know. It doesn't really hack your phone or do anything to it... it literally just gives macrodroid permission to read the logcat and that's it.
Click to expand...
Click to collapse
Is MacroDroid's ADB hack different from the one that Tasker does via the "Tasker Permissions" tool? That one causes Android to pop-up a prompt to allow once or deny whenever Tasker tries to read the log, and automatically revokes the permission as soon as I switch to another application.
shdwphnx said:
Is MacroDroid's ADB hack different from the one that Tasker does via the "Tasker Permissions" tool? That one causes Android to pop-up a prompt to allow once or deny whenever Tasker tries to read the log, and automatically revokes the permission as soon as I switch to another application.
Click to expand...
Click to collapse
I'm not too sure, I don't use tasker.
The macrodroid adb permanently gives macrodroid logcat read permission by entering a command in Windows command line.
You may even be able to do it with tasker.
adb shell pm grant com.arlosoft.macrodroid android.permission.READ_LOGS
You could try changing "com.arlosoft.macrodroid" to the tasker package name and see if it works?