Hi!
I want to use my G1 to do some special measurements. For this purpose I've created a microcontroller board (Atmel ATmega8) that does that. Now I want to transfer the data the board collected to the Android phone.
Because of the high powerconsumption the G1 has while Bluetooth is on this isn't a real alternative for me - the measurements will last about 2 - 3 hours.
I'm not experienced concerning hardware access within Linux and Android but thought there might be a possibility to gain a kind of low level access to the USB port. I do neither need high bandwith nor real USB functionality - so might it be possible to create an own kind of bus using that interface? Do you have any other idea?
Thank you in advance!
If you use micro linux system, the ones that are like a usb port, a network jack and a vga connecter, you could script some adb commands and have it run every few seconds to upload the data, not an ideal solution. As far as I know the g1 doesn't support host mode. But if you have a micro linux computer in the middle, it could work.
Something like this
http://www.pcpro.co.uk/blogs/2008/08/27/a-real-space-oddity-arrives-at-pc-pro/
I'm sure there are other ways to do it, maybe check there how to make a serial port thread a few pages back in the dev section.
Hey everyone, small question about how to do serial communication (send/receive basic commands) between android and a microcontroller.
Basically trying to do some simple RxTx serial communication from my Galaxy S, simply send/receive hexadecimal commands.
After some pretty intense googling, it seems the more likely option for serial communication would be over bluetooth, as apparently using the single external COM port will involve a lot of custom code/hacking/drivers. Plan on creating hopefully a simple program.
Wondering if anyone is aware of any custom applications that allow me to do simple send/receive commands over BT? or even the COM port...
Overall my project will be to read the water temperature of my car from my ECU (over the consult port), which involves sending simple hexadecimal commands to the ECU, getting a response and converting the response to a decimal number, which i intend to display on my phone so i can monitor the water temp (will get the value to constantly update). So my main hurdle is getting Android to communicate to the consult port. Initially would have plugged the phone directly to the consult port, but using a bluetooth connection will be equivalent at the end of the day.
Thanks, any help is appreciated!
Josh.
Any help appreciated. Thanks
Hope this is the right place for this.
I know there are tons of apps out there that does this but here is my situation.
I am in a public speaking class and it would be really nice and easy for me and other students if we could control our slides from our phones or tablets.
My question is what would be the best way to do this on a school computer. I can install apps no problem, but they get erased after the computer gets restarted due to a deep freeze program of some sort. So simply installing the server application before hand won't do.
Is there some sort of solution that has maybe a portable executable that one can run on their flash drive just for the time that they need to connect their device to the computer?
Both of the devices will be on the same network (one wired and one wireless).
Hi,
I've been looking around to see if it possible to read a computer's process memory from a connected Android device. I know ADB allows you to modify things (on your device) via the computer's command line, but in reverse, how much control can you have over your computer. An end goal would be for me to read a process's memory (that's running on my computer) solely from my connected phone or tablet. Is this sort of thing even possible?
EDIT: I was just using ADB as an example. I know it's not capable of doing such a thing. Just trying to explain the concept.
Thanks!
My Samsung A30 has a broken screen, I’m attempting to transfer all my files unfortunately the phone does not have the file transfer mode enabled so when I plug it in to my PC it’s recognised as a modem.
I’ve attempted to use https://github.com/Genymobile/scrcpy to display my phone so I can perform transfer operations unfortunately it requires USB debugging enabled which I don’t have.
I’ve also attempted connecting my phone to my TV via a USB hub though the phone model does not support HDMI output.
The phone is running as it is receiving calls with it vibrating.
Any thoughts on anything else I can attempt? I’ve already bought a new phone so not too keen on getting the screen replaced especially given there could be other issues.
AHuss123 said:
My Samsung A30 has a broken screen, I’m attempting to transfer all my files unfortunately the phone does not have the file transfer mode enabled so when I plug it in to my PC it’s recognised as a modem.
I’ve attempted to use https://github.com/Genymobile/scrcpy to display my phone so I can perform transfer operations unfortunately it requires USB debugging enabled which I don’t have.
I’ve also attempted connecting my phone to my TV via a USB hub though the phone model does not support HDMI output.
The phone is running as it is receiving calls with it vibrating.
Any thoughts on anything else I can attempt? I’ve already bought a new phone so not too keen on getting the screen replaced especially given there could be other issues.
Click to expand...
Click to collapse
If the screen is broken and you did not have USB debugging enabled before it was broken, there is nothing you can do to retrieve your data except repair the screen or find a tech shop that has the tools and the knowledge to pull your data directly from the hardware chip itself.
You will not solve this yourself using only software.
Use a USB Type C to HDMI cable to your TV.
The Samsung A30 apparently supports it.
HDMI Alt Mode doesn't go through a hub.
Enable ADB and download.
@Droidriven thanks, fair enough, I've ordered a screen and will attempt to replace it myself.
@Renate To enable ADB I need to enable USB debugging. Also doesn't seem like Samsung A30 supports HDMI output https://www.samsung.com/au/support/mobile-devices/connect-samsung-device-to-tv-via-hdmi/
Oh, sorry, my bad. The internet will give you an answer to any question, usually wrong.
Is there any chance that you can find the hardware serial console on internal test points?
Then you just need to:
Code:
# settings put global adb_enabled 1
If your ADB was previously enabled, then you won't have to deal with the invisible acceptance screen.
If not you'll have to echo the public key into /data/misc/adb/adb_keys
(I just did this on my B&N Glow '21 when it factory reset and it blocked me with a mandatory OOBE setup.)
Renate said:
Oh, sorry, my bad. The internet will give you an answer to any question, usually wrong.
Is there any chance that you can find the hardware serial console on internal test points?
Then you just need to:
Code:
# settings put global adb_enabled 1
If your ADB was previously enabled, then you won't have to deal with the invisible acceptance screen.
If not you'll have to echo the public key into /data/misc/adb/adb_keys
(I just did this on my B&N Glow '21 when it factory reset and it blocked me with a mandatory OOBE setup.)
Click to expand...
Click to collapse
For one, your solution is not a software solution, which is what I said, that they would not solve this with software alone. That is true and that is all I was saying.
Second, this solution is a hardware approach that the typical user has no experience with, which is why I didn't present them with an option that I am certain they are not comfortable with or experienced enough to attempt, as demonstrated by their attempts with software and unsupported HDMI and then stopping there to ask for help. An answer that more than likely seems more like a risk to them than a solution, isn't really helpful to them. I've helped with users dealing with this issue for years, I've learned that the vast majority of them are not comfortable with resorting to solutions that people like you and I would. With most of them, you may as well be telling them that they can solve their issue by biting a tiger on his ear, they are afraid of the solution. But, I understand, you have a proven, working solution, so you posted it, that is actually good, thank you.
That is why I said to repair the screen or take the device to a tech shop that has the experience and the tools(which requires opening the device to implement a hardware solution, as your posted solution also requires opening the device to implement a hardware solution) to retrieve the data for them(if repairing the screen is not their preferred solution, which obviously isn't). Also, Samsung isn't as simple as B&N hardware, Samsung has some tricky stuff when it comes to hardware, especially their Qcom versions, such as Qfuse(on some nodeld)and other tricky hardware designed to make tampering a real pain or even kill the device with built in components intended to kill the device if triggered. Their bootloader is pretty hard to get past without breaking into the hardware itself also.
Yeah, I know about Samsung, which is why I don't buy it.
In any case, if it's booted to Android, then Android generic solutions will work.
I don't have any idea if a serial port is accessible, but if it were, that would be an easy option.
thanks for the advice guys, @Renate your solution is probably probably beyond my expertise though thanks for your comment, hopefully I can understand it better in future. I'm hoping to use this screen replacement as an entry point into mobile phone repair.