How to compile reaver for Android? - Android Q&A, Help & Troubleshooting

Hello,
I am curious how easy it is to compile a linux based app for various versions of android.
Is this possible?
I am interested in compiling the reaver tool.
Thanks,
Matt

Questions or Problems Should Not Be Posted in the Development Forum
Please Post in the Correct Forums
Moving to Q&A

As noone is answering you, i'll give it a try
I am not very familiar in this topic and only able to do get very simple apps compiled and running... so after having a quick glimpse on this one ( http://talk.maemo.org/showthread.php?t=81219 ) i think that the problem is not the reaver code but a) the promiscuous mode wireless driver (device depending) and b) the other dependencies like aircrack.
I would say as long as you dont find an aircrack port its senseless to ask for a reaver-droid
(Devs please correct me)

looks like you will just have to port aircrack too.. however, I do feel as if this would be a wonderfully malicous tool... I also think that it would also be best used on a computer as I would assume this software would eat your battery alive..
So.. 2 things to consider.. First, reaver on a cellphone is like giving rufees to satan for distribution and trusting him not to rape anyone.. second... how well would your hardware hold up to the several hour attack, and how much longer would it take on a cellphone compared to an actual computer?

any news on this?
i'm also interested

+1

I want this

I need this so bad. anybody know if there is a app like this available?

hammerlock13 said:
looks like you will just have to port aircrack too.. however, I do feel as if this would be a wonderfully malicous tool... I also think that it would also be best used on a computer as I would assume this software would eat your battery alive..
So.. 2 things to consider.. First, reaver on a cellphone is like giving rufees to satan for distribution and trusting him not to rape anyone.. second... how well would your hardware hold up to the several hour attack, and how much longer would it take on a cellphone compared to an actual computer?
Click to expand...
Click to collapse
The WPS vulnerability the reaver exploits requires little calculations. It just keeps brute forcing the WPS access point(if enabled), until the AP responds "hey you got it right, you are now my WPS registrar. You now have access to retrieve/set my wireless settings including pre-shared key."
It would still take lots of time in most cases and therefore battery. But it's not like you are actually cracking the encryption key.
I have taken the key off the bottom of an access point I had laying around and used my phone's built-in wpa_cli to plug that pin in and retrieve the pre shared key. That much is already possible with wpa_supplicant found on Linux OSes including android.
Air crack or similar would need to be ported to put the wifi device in promiscuous mode and I would assume that the device drivers would have to support that. This is, I believe, the biggest hurdle.
Sent from my Galaxy Nexus using Tapatalk 2

Hi all.
I've been interested in Reaver for mobile for a long time now, as it works perfectly on a pc. I managed to hack several routers with it (all of them are mine...), and it does give you the wifi password (pass key) in the end. So having this kind of tool on your mobile would be outstanding.
As for the time it takes - Reaver allows pausing attacks, and it stores the data collected so far locally, so it's possible to restart the attack later.
Don't know if you guys looked into this:
http://forum.xda-developers.com/showthread.php?t=1255203
I tried a different build of Backtrack a while ago, but I haven't got into the above one so far, but will try soon. Wonder if aircrack will work. It didn't before, since there was a problem with the drivers (HTC Sensation). If aircrack works, then reaver should also...

How about the micro android PC ?? and ras pi??
Hi guys,
Was just searching for reaver tool for mobiles, then I came across a micro android pc and that made me think of my ras pi....
has anyone tried running reaver on a ras pi ??
also, has anyone thought about reaver tool for a micro android PC ??
that sure wud be interesting.... and... for power, we can use OTG cable to power up micro PC and ras pi....
any thoughts??
tomer1981 said:
Hi all.
I've been interested in Reaver for mobile for a long time now, as it works perfectly on a pc. I managed to hack several routers with it (all of them are mine...), and it does give you the wifi password (pass key) in the end. So having this kind of tool on your mobile would be outstanding.
As for the time it takes - Reaver allows pausing attacks, and it stores the data collected so far locally, so it's possible to restart the attack later.
Don't know if you guys looked into this:
http://forum.xda-developers.com/showthread.php?t=1255203
I tried a different build of Backtrack a while ago, but I haven't got into the above one so far, but will try soon. Wonder if aircrack will work. It didn't before, since there was a problem with the drivers (HTC Sensation). If aircrack works, then reaver should also...
Click to expand...
Click to collapse

If you goto the link below in my signature.
It has black Ubuntu 12.04 with reaver and aircrack-ng for android.
You just need to know your screen size for your device and get drivers for your wifi or a external wireless card.

For some reason I stopped receiving updates on this thread, and thought it was dead.
I just wantd to mention that beyond the backtrack ports, there is also WPSPin.
I've been on the iphone for several months now (after the EVO) and am surprisingly disappointed with the lack of control (even when jailbroken). I just bought a Galaxy Tab 2 7", and will be getting back into Android shortly and look forward to messing around with backtrack.

reaver for Android
No problem do for android, but you must enabled wifi monitor mode
I tested it on my LG OPTIMUS 3D P920. Wash works well,reaver runs but does not work on my device(very slowly capturing packets and difficult to capture a beacons frame).
Install:
reaver.db --> in /sdcard/reaver/reaver.db
binaries reaver and wash from bin/ to somewhere where you can execute(you_path).
you must have enabled monitor mode!!!
example execution:
#/you_path/wash -i mon0 -C
or
#/you_path/reaver -i mon0 -b 00:00:00:0F:0F:0F -vv --dh-small

how one puts wlan0 in monitoring mode?
UPDATE have you compiled .ko? What ROM you are on? I'm on V30A (original 4.04)

lg optimus 3d
solnyshok said:
how one puts wlan0 in monitoring mode?
UPDATE have you compiled .ko? What ROM you are on? I'm on V30A (original 4.04)
Click to expand...
Click to collapse
I have V30A original too.
1) #sh airmon-ng start wlan0
OR
2)#iw dev wlan0 interface add mon0 type monitor
#ifconfig mon0 up
Both methods work on lg optimus 3d (V30a original driver),but you must have root.
unzip tools.zip,droped into /data and in terminal
$cd /data/tools
$export PATH=/data/tools:$PATH
$su

fann95 said:
I have V30A original too.
1) #sh airmon-ng start wlan0
OR
2)#iw dev wlan0 interface add mon0 type monitor
#ifconfig mon0 up
Both methods work on lg optimus 3d (V30a original driver),but you must have root.
tools.zip also includes new versions reaver and wash (compeled with new lib supplicant and last pcap lib +libnl-2)
very well captures the packets, but I did not fully test had, little WiFi points around with enabled wps
Click to expand...
Click to collapse
Thank you for quick reply @fann95. Do you mean that there is no need to compile kernel module for Optimus 3d, because original wifi driver is enough?

monitor mode
solnyshok said:
Thank you for quick reply @fann95. Do you mean that there is no need to compile kernel module for Optimus 3d, because original wifi driver is enough?
Click to expand...
Click to collapse
Yes. SE Xperia Mini,LG P920,Sony Xperia GO and other devices with wl12xx drivers no need to compile kernel module or instal addtional software
you can check $ iw list
and see what modes are supported by your driver
my port reaver for wl1271 chip (tested on lg optimus 3d with original ICS 4.0.4 (30a-EUR-XX) )
View attachment reaver_for_LGP920.zip
do not forget to disconnect all active WiFi connection (delete saved point) before using.
start without "-i mon0" option, to automatically activate the monitor mode (need root)
example:
$su
#reaver -b 00:11:22:33:44:55 -vv

can someone post a guide how to use reaver in android icecream sandwich smartphone?
all we need is the tools.zip file and the reaver.zip file and a terminal emulator??
eDIT: i did it but my card is not compatible and unable to work in monitor mode :/

I looking for someone with a guide to test reaver on my android.
thanks in advance!:good:

Related

[Q] A new Atrix OS with open Linux installation.

Hello XDA Developers!
tl;dr I need either a solid, light OS replacement for Android 2.3 on my Atrix, or I need a video streaming and virtualization app with no lag that works between android devices and either windows or linux desktop.
First I'd like to say how impressed I am with you folks. Massive amounts of work most be done on a regular basis, and so I tip my hat to you in thanks for looking at my potential problem/question.
I've got two devices that I'd like to make some serious software changes to, one of them my Atrix (the other is a Flytouch Tablet ARM11 with Android 2.3, but that's for a different forum). Let me start by saying that I like to think of myself as very technically literate, but when it comes to linux I just don't have nearly as much experience as I do with windows/mac, and it is about to really show.
What I want to do is load a light Linux OS on these devices. Normally, if I was going to install a new windows kernel on a machine I would copy an ISO to a USB thumb drive and make the drive bootable (using the MS program Windows 7 USB/DVD maker), then startup the PC and either through the BIOS or by hitting the proper button during the startup sequence I would ask the PC to boot into the drive and begin the installation.
Questions:
What is the image file type for mobile OS's?
How would one choose the right type of linux OS for an Atrix?
What is the difference between flashing a ROM and installing and OS?
Why is it when I updated my phone recently that it became unrooted?
(and) Is there any way to revert this process to make rooting easier?
Is there any way to capture a video output (like a stream) and broadcast it to these mobile devices so I can avoid changing their software alltogether?
(and) Could I just remotely control another PC from the mobile device, letting it do all the actual computing?
Can I use the Webtop Dock as a monitor for my desktop if I can find the proper HDMI cable to connect it to the HDMI output on my desktop video card?
(and) Can I also connect the Micro USB and use the keyboard/mouse (hooked into my desktop motherboard) on it as well?
(and finally) Can I use my Atrix as a prototype omni-tool by docking it in a docking station, attaching various tools that work with a linux operating system (wide-spectrum ultrasound imaging, temperature monitors, vital monitors, electronic laser saw (USB) (with separate power attachment of course) and extendable, movable USB cameras?) and then strapping it onto my wrist with a cool leather bracer design?
My end-goal is to have all three of these devices on the same network, with the ability to seamlessly access my data between them. For example, if I'm working on a document, I'd like to be able to access the document in a document editing program across all the platforms (imagine google docs with multiple users) however with one MAJOR stipulation: I'll be on a local network with NO INTERNET ACCESS!
Briefly (to better help you understand just what I'm trying to do) I am a freelance archaeologist/deep sea explorer/ROV tinkerer about to do a series of surveys mostly by myself in some VERY remote locations. I'll have a Wi-Fi network to link all of my devices together running out of my boat, but it's only for data sharing between each other, and since Satellite Internet is a joke, I can't think of any way to get data out there, and I've decided to live without it while I'm away.
I have a webtop dock for my Atrix, and the environment developed by Motorola is far too restrictive. I've tried countless fixes to try and get the webtop2SD to work, but I must be doing something wrong (Maybe the latest update screwed it?). I think since I'd like to use some linux applications while on the mobile devices, I would rather install a custom OS for both.
OR (preffered)
Even more simply, I'd like to stream the video feed and remotely control my desktop PC (located on the boat) on the mobile devices, but with yet another stipulation: I can't have FPS lag (I usually get 1-2 FPS with all the virtualization and remote control apps I've tried). This would in some senses be the preferred option, since I really don't want to spend oodles of hours trying to get some program to work in a difficult, restricted environment like these mobile device's current OS's. Is there a good, non-lagging version of desktop virtualization for Android OS?
About that webdock: I can't seem to find a female-to-female micro HDMI cable anywhere on the internet, thought I did find one Micro HDMI extension cable, and bought it promptly. I could buy another, but cut the male ends off and splice the female parts together (**** just got kinky). But if I could, would this work?
Phew that was a lot! Again thanks so much for thinking for me!
I've personally never found any kind of remote desktop software that works without lag, but it might be possible to find some. Someone else might know what to tell you there.
After doing some basic searching, the only collaborative document solution that I've found has been Etherpad Lite. You could set up a desktop or laptop running linux as the server, and all the other devices on your small network could (theoretically) run a browser based client similar (but far less advanced) than Google Docs. This way, everything on your LAN/WLAN could access the application, if it's stout enough to support your needs.
https://github.com/Pita/etherpad-lite
http://en.wikipedia.org/wiki/Collab...Real-time_collaborative_text_editing_software
Everything you're looking for just seems to be limited for Android, I wish you the best of luck.
I have always found Teamviewer great for remote PC control from my Atrix. They have a nice app and free license for home/personal use. I get minimal lag controlling my PC at home when at work, but that's over WiFi. Not very fast and pretty laggy if I am on data with my Atrix.
BTW............I can work on documents, transfer files to and from PC's and laptops, print documents on my wireless printer, etc. across my home network from my Atrix, all routed through a Netgear WNR3500L running stock firmware (dd-wrt actually slowed my network down and reduced WiFi range considerably, so I reverted to stock).
First, there is no "magic" within the lapdock device. It is a nice HDMI screen, a couple crappy input devices on the USB side, and a battery. The standard Moto software does recognise the usb device and do some software magic, but certainly you could use the dock on it's own w/o the phone.
As to completely replacing the /osh webtop OS that Motorola provides, that is challanging.
There are 2 basic ways to open it up though. Go to the developers subforum and look for webtop2sd and "full Debian".
Somebody did post recently with an attempt to fully replace the webtop OS. he was using gentoo, so look for that and you should find it. But I suspect it is early, and likely to be a significant WP.
As to learning all this ****. If you do some Linux developement or heavy hacking (which it kind of sounds like) you should set up a full full blown 'droid dev platform and start playing. It is big and bulky, but you will learn faster that way than just searbhing around.
EDIT: just reread your post that you are light on Linux. if you want to do anything more than just follow along, it might be a good idea to setup something like an Ubuntu and get familiar there. 'Droid is way different looking (it really basterdises things around) but yoiu need to know both if you want to play with webtop hacks.
Thanks all. I'll look around again to see if I can find the threads you mentioned. I've tried Webtop2SD but to no success so far.
Thanks again.

chipset access or API for low level access

Hi *,
I'm very new to forum and hardware hacking. I'm also new to android dev (I have done some WP7 development).
I want to write application about radio conditions (RSCP, EcNo) and also wanna to decode ASN.1 messages to get some 3GPP layer 3 messages (RRC). To do that, I suppose that low level access is required.
So, is there any tutorials, guides etc. on how to do that for android devices (I know about android telephony class) or WP7/WP8 devices.
I also know that that is not possible on every device due manufacture restrictions.
I'm interested in Galaxy S(2/3), Nokia Lumia, Nexus, etc (device doesn't need to have qualcom chipset, all i wanna to do that).
I also know that some of companies like ASCOM are working together with chip suppliers for that kind of applications.
So, is it possible to do on market smartphones...
Thanks in advance for answers
Cheers!
TK
It's troublesome thing.
Every modern mobile solution does split into AP (Application Processor) and BP/CP/Modem (Baseband/Call Processor), sometimes these are integrated into one SoC (QC chips) or are splitted into 2 SoCs (like Exynos AP+QC/Infineon CP), on AP there's working ARMLinux with Android platform.
Platform does communicate with RIL HAL (proprietary lib), RIL does communicate with modem through some dedicated HW interface using kernel driver, nowaday its common shared-memory topology with abit of control through UART/GPIOs before RAM-share is set up (modem bootup, assuming AP does startup first, which is case in 2xSoC topology, on QC SoCs modem does startup first and does perform bootup of AP submodules).
The problem is - BP OS is closed source. In best case (rather unlikely) low-level transmission params might being received by RIL from AP but not being passed to platform, then you probably would need to patch RIL binary to expose these values to platform. If these transmission params aren't being transmitted from CP to AP, the easiest (and the ugliest) way to do is trying to find network structures inside of modem OS and pooling them from AP (assuming you've got direct access to all of CP memory). More advanced way would be integrating additional data into BP-RIL interface (modifying both RIL and modem binaries), what then narrows down to "best case".
If you aren't familiar with ARM assembly - analysing modem binary is pretty big task, prepare for at least few weeks of intense reversing.
This is a very interesting question!
So far, AFAIK, no one here at XDA (or elsewhere) have been able to successfully extract L1 radio parameters from the modem, using any form of API or other. So anyone who would successfully be able to do this, would be an instant XDA hero! (As for L3, I don't know.)
But then again, I don't think anyone have tried hard enough either. I have tried to a limited extent in my research of the Intel XMM6260 and trying to use some of the Android internal telephony API. Others have managed by hacking the AT command line interpreter, directly in the modem image of some limited versions of the 2xSoC's (like those of Intel/Infineon) used for jailbreaking <4S iPhones. These modem images are "only" 10 MB, whereas the Qualcomm modems "images" consists of 50-60 files and have a size up to 60 MB!! Although we should be able to find the AT command Processor (ATcP) in those...
As I see it today, we only have these options how to get these parameters in the Android eco-system.
1) We believe that the modem AT command interpreter/processor have the capability to provide radio parameters to the outside world. But this direct access often seem to be crippled:
a) by denying local or external terminal (UART) serial-access.
b) by being filtered by the RIL daemons and accompanying RIL libraries
c) by being complicated due to using modified IPC (shared memory) communication, rather than regular serial devices. However, by putting the device into "download/debug" mode, sometimes these devices re-appear!
(This is what ODIN, QPST and other programs does, see (4).)
2) We know that the Android internal phone API can use the following calls to get particular modem "stuff" (including sending AT commands): RIL_OEM_HOOK_RAW and RIL_OEM_HOOK_STR
The problem is that no one seem to know how to use it, nor how it depends on the hardware...
3) We know that the Service Mode's (settings/menu) are displaying many of these parameters, so that the phone OS certainly can get have access to these. So another option is to hack and understand how this is done by the service mode menu and the underlying modem software. This is where reverse engineering would come to its right!
4) We also know that many of the OEM phone debug/repair software, like QPST and QDART (Qualcomm) and "CDMA work-shop" etc. have full access to these variables as well...
Actually, if you're on a Qualcomm based device and can put it into QXDM mode, you can have all radio data to be output to the QXDM (3.12.754) software and possibly interface API. Thus... if we can understand the handshake and protocol they use we should eventually be able to make an app that can fetch this data as well...
Thx for your answers!
It looks like I need many hours to investigate and learn! Sound like fun, hope it will be...
I hope that soon I'll post something new on this thread about question.
Thx and hear ya!
Little update: Regarding radio conditions, here is telephony API http://developer.android.com/reference/android/telephony/package-summary.html and here is Signal strength class http://developer.android.com/reference/android/telephony/SignalStrength.html!
So I have these information (at least I hope so, because I don't have device for testing and I don't have dev environment set yet).
Also, regarding WP7 Samsung devices: there is samsung app called Diagnosis, where you can access root/debug screen in Test Mode... I was looking little into that app (I have unlocked Samsung Omnia W device), and there are very interesting informations, like list of neighbour cells with CellID and signal strength and many others (Handover test, antenna/ADC, RRC state, Tx Channel, Tx Power, EcIo, RSCP, L1 (looking now it's PCH_Sleep value ??), etc)
I need that kind of information + need to find way for decode L3 messages like RRC and RLC. From L3 you can find many other information (RAB establishment, IRAT handover, all 3GPP information element for GSM/WCDMA/LTE and so on!)...
hi *,
What about Gobi platform and GOBI dev?
BR
TheKrigla said:
hi *,
What about Gobi platform and GOBI dev?
BR
Click to expand...
Click to collapse
Hi, i was just looking for GOBI, too.
But they only show 4 Devices, with the Gobi-Modem inside:
qualcomm.com/gobi/products/finder?type=Smartphones
But there are buid in a few UMTS/USB-Sticks, Mobile Hotspots, a Router and some Notebooks (SubNotebooks),
Not bad, if you can use it as an external device, like the mobile router.
So it looks like a very special solution.
Did somebody check the HTC, Motorola or Samsung SDK ?
I am also trying to get low network info, and it looks like AT commands that exist (at least on my Samsung S3) do not provide this information. So I think emulating what QXDM does is the secret sauce... but that's hard
You can probably find what you need in the "QMI" related documents from THIS post... Let us know how it goes!
E:V:A said:
You can probably find what you need in the "QMI" related documents from THIS post... Let us know how it goes!
Click to expand...
Click to collapse
I quite don't fully understand how QMI works. The SDK appears (C++) to run on Windows. Is it possible run QMI directly on android? Also one post said that really low level information like Signaling can only be through the diag port. Perhaps there is a way to emulate QXDM on the android and connect to it to grab this info
Chipset access
I am wondering how tools like qualpoc from SwissQual work. They seem to have access to every damn thing happening in the android phone. Do they have any special API access from Qualcomm ?
enigma99a said:
I quite don't fully understand how QMI works. The SDK appears (C++) to run on Windows. Is it possible run QMI directly on android? Also one post said that really low level information like Signaling can only be through the diag port. Perhaps there is a way to emulate QXDM on the android and connect to it to grab this info
Click to expand...
Click to collapse
mknair said:
I am wondering how tools like qualpoc from SwissQual work. They seem to have access to every damn thing happening in the android phone. Do they have any special API access from Qualcomm ?
Click to expand...
Click to collapse
Thanks.
http://www.swissqual.com/
Probably nothing special. What is special, is that they have full access to all their documentation. If you can download their white papers and the Android app, I'll tell you how they do it!
Is it possible to connect something like a 4G dongle to the usb port to create a roaming RF scanner and get the RSCP ECIO details from that? It's a bit mental but it doesn't look like we will be able to get this detail from the phone without paying the tens of thousands for the documentation anytime soon...
I tried to connect a Sierra Wireless device which can provide this info but I cannot seem to compile the module against the kernel.
I got QMI talking just fine on android 100%. But I need layer 1 info etc as well (DIAG)... Qualcomm docs look easy enough for the packet structure but now i just need access... And I'm totally stuck. USB is one way, but isn't there to get access locally? Like through UART or some other means? I believe all communication goes to the /dev/diag device but so far I have not been able to get access
E:V:A said:
So far, AFAIK, no one here at XDA (or elsewhere) have been able to successfully extract L1 radio parameters from the modem, using any form of API or other. So anyone who would successfully be able to do this, would be an instant XDA hero! (As for L3, I don't know.)
Click to expand...
Click to collapse
Well, I guess I am a XDA hero then I have successfully extracted L1 radio info, etc on Android itself. DIAG is pretty powerful and not very well documented so I had to figure everything out myself, but when it works you can get just about anything possible.
enigma99a said:
Well, I guess I am a XDA hero then I have successfully extracted L1 radio info, etc on Android itself. DIAG is pretty powerful and not very well documented so I had to figure everything out myself, but when it works you can get just about anything possible.
Click to expand...
Click to collapse
Any thought about sharing solution?? Not cool man...
enigma99a said:
Well, I guess I am a XDA hero then I have successfully extracted L1 radio info, etc on Android itself. DIAG is pretty powerful and not very well documented so I had to figure everything out myself, but when it works you can get just about anything possible.
Click to expand...
Click to collapse
Is that right? There were never any heroes who didn't prove their worth. So why don't you share it with us? (Or if you don't want to share, at least tell us why not?)
E:V:A said:
Is that right? There were never any heroes who didn't prove their worth. So why don't you share it with us? (Or if you don't want to share, at least tell us why not?)
Click to expand...
Click to collapse
Yeah, sorry guys for the late reply. Basically I had to rewrite the diag driver to get diag info. And this project is for profit, so I can't put myself at a competitive disadvantage after spending many weeks on it But if anyone has questions, I would be happy to answer
Hi at all!! My hero, enigma99 please tell me (or who knows)!!
I'm developing a app with SDK that use the java methods of classes like SignalStrenght and Telephony. But those methods dont work very well. (they are slow, and in much smartphone dont return the Ec/Io)
Do you think if in 3g tecnhology (UMTS, HSPA) the modem part always returns all measure (RSCP and Ec/Io)??
What's the way to follow for return this values? recompiling kernel? programming with NDK?
enigma99a said:
Yeah, sorry guys for the late reply. Basically I had to rewrite the diag driver to get diag info. And this project is for profit, so I can't put myself at a competitive disadvantage after spending many weeks on it But if anyone has questions, I would be happy to answer
Click to expand...
Click to collapse
Is this for sale yet? Curious minds would like to know.

[Q] Update with broken screen

Hello
My archos g9 fall down with result a broken unuasble screen. But that doesnt mean it is useless!
The hdmi output works just fine, so i will use it like a media center with my tv.
I want to update to 4.0.25 so i can use it from my phone with archos remote, but it currently run with blue rom and cant update by it self. Also the hdmi is not working in recovery and i cant see.
Is there any alternative way to update? (adb or something )
thanks in advance
buluba89 said:
Hello
My archos g9 fall down with result a broken unuasble screen. But that doesnt mean it is useless!
The hdmi output works just fine, so i will use it like a media center with my tv.
I want to update to 4.0.25 so i can use it from my phone with archos remote, but it currently run with blue rom and cant update by it self. Also the hdmi is not working in recovery and i cant see.
Is there any alternative way to update? (adb or something )
thanks in advance
Click to expand...
Click to collapse
Hi There,
Grab the surdu rooted update from here
You can flash the sde zImage and initramfs.cpio. using an archos tool called kd_flasher, just push the zImage and initramfs.cpio.lzo to the device, doesn't really matter where, /data/local/ is as good as any, Then push archos.ext4.update from (Stock_Root_4.0.25) on to your device, then reboot into sde , something like this should sort you out
Code:
adb push zImage /data/local/zImage
adb push initramfs.cpio.lzo /data/local/initramfs.cpio.lzo
adb push archos.ext4.update mnt/storage/
adb shell kd_flasher -i/data/local/initramfs.cpio.lzo -k/data/local/zImage
adb shell reboot_into sde
Hope that help you out
buluba89 said:
I want to update to 4.0.25 so i can use it from my phone with archos remote
Click to expand...
Click to collapse
Man, I've can't believe I didn't clock this app sooner, I only just look at what it does, my touch screen has been fooked for months as well, It's one of the few thing about Archos that has made happy. I was looking in play around with USB/IP adb virtual mouse drivers, Sill will. It's nice to see they finally Got Something right!
Thanks a lot for the help, i ll try this and post how it went in the next days.
Yes after 4.0.24 update it says that you can use your phone as a touchpad that sounds very interesting. Also i saw lots of updates at the video app of archos that is the only one that plays fine through hdmi.
Sent from my Optimus 2X using xda app-developers app
buluba89 said:
Thanks a lot for the help, i ll try this and post how it went in the next days.
Yes after 4.0.24 update it says that you can use your phone as a touchpad that sounds very interesting. Also i saw lots of updates at the video app of archos that is the only one that plays fine through hdmi.
Sent from my Optimus 2X using xda app-developers app
Click to expand...
Click to collapse
Yes, I'm in a quandry now with it, I'm porting CWM and stuff and probably going with a 4.2 from the Omapzoom sources, Archos G9's are based heavily on the Blaze Development Platform.
It's not overly difficult to write my own app to do that although I suck and hate doing UI work and the archos did feel alright to use on the HTC Sensation. I already tore apart the Client APK from my HTC, It's pretty heafty but that isn't what I need anyway. It's just a case of Implementing the protocol on the custom roms. Considering I control both ends of the conversation you just gotta tell.
Piece of Cake Really..... I'll add it to the list
You're rooted currently right? Have you tried changing your system properties the pretend to be a 4.0.24 rom....It probably won't work because I think Archos will is reliant on the input classes of the android framework. which is wrapped in the a script in /system/bin/input. On ICS the commands available are as follows
usage:
input text <string> : this will "type" a string to the focused android ui window
input keyevent <event_code> : an number between 0-255 which represent either keyboard keys, both soft and hard buttons as well as custom assigned things
I currently make heavy use this of it with my custom adb. Which is how I mae inly work with it . Although I given them some nice wrappers because I'm a lazy bastard. Anyways input in jellybean add a couple of extra
usage:
input text <string>
input keyevent <key code number or name>
input tap <x> <y>
input swipe <x1> <y1> <x2> <y2>
I played with tap and swipe earlier, on a Galaxy Tab I put 4.1.2 on. they work pretty nicely. Quick Left and Right Swipe can be done with just add a sign to the number, The only thing missing then is an easy way to do long presses. It possible the send them using /dev/input codes, I've not got round to playing with that, I've not had an overwhelm need to do it as I always have a otg cable with a mouse to hand.
Ah F**k it, I'll get wireshark on it later and backport whatever the after.
Apologises for the technical mind dump, I just got myself started. at least you know there more than what archos provide re remote controlling.
I didn't quite understand that big post of yours but your solution worked perfectly and now my g9 is update to 4.0.25
Archos remote touchpad is a little bit difficult to use but it's functional. Now i move on to solve the next 2 problems ,network speed for streaming movies from my data server and force screen to be off because the screen is white all the time and it is a little bit irritating
But these are not device specific so i believe mr Google will help me
Thank you very much again!!!
buluba89 said:
I didn't quite understand that big post of yours but your solution worked perfectly and now my g9 is update to 4.0.25
Archos remote touchpad is a little bit difficult to use but it's functional. Now i move on to solve the next 2 problems ,network speed for streaming movies from my data server and force screen to be off because the screen is white all the time and it is a little bit irritating
But these are not device specific so i believe mr Google will help me
Thank you very much again!!!
Click to expand...
Click to collapse
Haha, Welcome to the inside of my mind....I've been affectted by these robots.
To turn off the display on the device do some more command line trickery
echo 0 > /sys/devices/platform/omapdss/display0/enabled
or
echo 0 > /sys/class/leds/lcd-backlight/brightness
Both achieve the same result, It's been a while since I worried about network speeds but generally I try an be wired in the route either directly or through home plugs, I know some of the usb etherports are cheap and work with out much hassle of the G9 On wireless I try to be on fairly channel away from other people ( not always possible ) and Networking said to try to use even channels, Some to do with Electrical and thing I don't fully care to understand yet

Droidmote

Hey all,
im trying to run droidmote client on my touchpad to control an android powered tv stick (UG007) running droidmote server.
Both devices run the app fine, the server app broadcasts correctly.
I run the client on the TP and it "appears" to connect however i get no notification on the tv that it has connected. button presses are also unresponsive and i dont get a cursor on the tv screen.
on the TP when bringing up the menu the option to "disconnect" is available which implies it is connected....
Anyway getting to the point, just curious whether anyone else has tried to use the TP as a droidmote client and had any success using it to control another android devices?
Oh and FYI - im running CM10 based off jcsullins ROM however have compiled my own kernel with additional drivers built into it for DVB-T and others. I dont see the kernel being the issue however as its only a lightly modified defconfig for tenderloin.
Thanks
I used my TP as the server with my Xperia T as the control and it worked fine over WiFi (tethering too)
Sent from my Xperia Neo using xda app-developers app
ba114 said:
Hey all,
im trying to run droidmote client on my touchpad to control an android powered tv stick (UG007) running droidmote server.
Both devices run the app fine, the server app broadcasts correctly.
I run the client on the TP and it "appears" to connect however i get no notification on the tv that it has connected. button presses are also unresponsive and i dont get a cursor on the tv screen.
on the TP when bringing up the menu the option to "disconnect" is available which implies it is connected....
Anyway getting to the point, just curious whether anyone else has tried to use the TP as a droidmote client and had any success using it to control another android devices?
Oh and FYI - im running CM10 based off jcsullins ROM however have compiled my own kernel with additional drivers built into it for DVB-T and others. I dont see the kernel being the issue however as its only a lightly modified defconfig for tenderloin.
Thanks
Click to expand...
Click to collapse
ok you need the uinput.ko module for your kernel. i have 3 different mk802 devices that i use with droidmote and my touchpad. i have the module for kernel 3.0.8+, which kernel version are you running on the androidTV?
if you can build and compile your own modules/drivers then you already will know what to do. if not, and youre running the same kernel version as i am then use mine.
1) Start DroidMote and click with the mouse the ON button. (started well, but does not work do not worry).
2) Download the uinput.ko in the link below.
3) open terminal emulator (If you not have it, download from Google Play).
4) In terminal emulator run the following commands:
su
mount -o remount,rw /system
busybox cp /download-folder-of-uinput/uinput.ko /vendor/modules (change "download-folder-of-uinput" with your folder ex. /mnt/sdcard/Download)
busybox mv /vendor/modules/mma7660.ko /vendor/modules/mma7660.ko.bak
busybox mv /vendor/modules/uinput.ko /vendor/modules/mma7660.ko
busybox chmod 644 /vendor/modules/mma7660.ko
busybox cp /data/data/org.videomap.droidmoteserver/files/droidmote.kl /system/usr/keylayout
busybox cp /data/data/org.videomap.droidmoteserver/files/droidmote.kcm /system/usr/keychars
busybox cp /data/data/org.videomap.droidmoteserver/files/droidmotegt.idc /system/usr/idc
busybox cp /data/data/org.videomap.droidmoteserver/files/droidmotemt.idc /system/usr/idc
umount /system
6) restart the MK802
7) open DroidMote Server, go in the settings and enable the options "start on boot".
8) restart the MK802 (If all goes well, after two minutes from the boot, DroidMote open and start automatically,
and is ready to receive connections from your phone).
https://www.box.com/s/z9vn6lbejg64raokx5p6
ba114 said:
Hey all,
im trying to run droidmote client on my touchpad to control an android powered tv stick (UG007) running droidmote server.
Both devices run the app fine, the server app broadcasts correctly.
I run the client on the TP and it "appears" to connect however i get no notification on the tv that it has connected. button presses are also unresponsive and i dont get a cursor on the tv screen.
on the TP when bringing up the menu the option to "disconnect" is available which implies it is connected....
Anyway getting to the point, just curious whether anyone else has tried to use the TP as a droidmote client and had any success using it to control another android devices?
Oh and FYI - im running CM10 based off jcsullins ROM however have compiled my own kernel with additional drivers built into it for DVB-T and others. I dont see the kernel being the issue however as its only a lightly modified defconfig for tenderloin.
Thanks
Click to expand...
Click to collapse
from what you explain, you have a cracked version of droidmote server, downloaded from the net.
try the good version and all work well
all the apk that you can find in internet not work. work only the version from Google Play.
zulu99 said:
from what you explain, you have a cracked version of droidmote server, downloaded from the net.
try the good version and all work well
all the apk that you can find in internet not work. work only the version from Google Play.
Click to expand...
Click to collapse
Nope, using the paid version from the app store.
its funny how sometimes you really should start with the basics rather than deep dive into the detail. After resetting my router, connection works fine on all devices.
ba114 said:
Nope, using the paid version from the app store.
its funny how sometimes you really should start with the basics rather than deep dive into the detail. After resetting my router, connection works fine on all devices.
Click to expand...
Click to collapse
Same thing happened to me. Both my UG007 with iMito MX1 Finless 1.5 the server is not found. I installed it on my Win8 machine and everything but Netflix Metro app worked but remote control was perfect.... BOUGHT 2 different ones off of Play Store from 2 different TV anroid accounts and UG007's. (I think $2.58 each?) Anyways, it does not work. Any ideas? That uinput.ko is not to be found...
tried
find / -name uinput.ko
and nothing...not sure if that even really needs to exist? Anyways, some light shed this way also please.

Taking Screenshot on Android Smartphones Locally via Python (Without a second smartphone, PC, Wifi or USB Connection)

Hi All,
I am totally new in XDA forum and Android app development. So I hope I am in the right place now
I want to take screenshots of my Android smartphone screen(not only screenshot of my app but whole screen) locally in background (without a second smartphone, PC , Wifi or USB connection) in my application via Python,
but unfortunately I could not find a proper way to do it. I tried and researched following methods but none of them is the right way in my case:
Android Screen Buffer: I guess this is used for screenshot, but I could not achieve to install it. I get following error:
The conflict is caused by: ash 0.3, 0.2 and 0.1 depends on opencv-python==4.1.2.30
but this version does not support any arm base platform. So I cannot install it. Moreover it has also dependencies with ADB tool,
so it looks like wifi or serial connection required.
ADB(Android Debug Bridge Tool): It requires either USB Cable or Wifi connection. The problem is that I do not want that my app users
requires necessary the same Wifi connection(I know internet connection not required but they need to be somewhere around a modem) to be able to use my app.
LADB: This requires also USB Cable or Wifi connection
scrcpy: It has also ADB dependencies. I get no devices/emulators found if I do not start any server from a PC.
Note: is it possible to do it via an other programming language and if it is so, then which language and library would you recommend? I found some examples via Java but all of them were capturing the window within the application not whole smartphone screen, I want to implement an app which works as a service in background.
Thanks a lot in advance.
Environment: Android 11
Prog Language: Python 3.7
Smartphone:Samsung Galaxy A8
Do a related Google search. You'll get dozens of findings.
An example:
Android: The Perfect And Easy Way to Make Screen Recorder
How to Make Screen Recorder in Android Studio
codingwithsaud.medium.com
xXx yYy said:
Do a related Google search. You'll get dozens of findings.
An example:
Android: The Perfect And Easy Way to Make Screen Recorder
How to Make Screen Recorder in Android Studio
codingwithsaud.medium.com
Click to expand...
Click to collapse
Hi, thanks a lot for your fast response. Actually a second language was the worst case for me. My app is already implemented in a cross platform via Python for MacOS and Windows, so unfortunately it will be really painful to implement everything via Java again. Moreover I just want to take screenshot instead of screen recording. But if none can give me a better solution, maybe i can try to integrate your java app into my python code(maybe intentservice), so my code can start/stop the screen cap code and the rest of implementation i can keep in python

Categories

Resources