Can connect but don’t have control, Exec format error?

Discussion about DroidMote Server for Android
acem77
Posts: 6
Joined: Wed Feb 27, 2013 7:42 am

Can connect but don’t have control, Exec format error?

Post by acem77 »

Droidremote issues on a craig tablet
Can connect but don’t have control.

Craig CMP741e Tablet info (should be a a10 cpu)
http://www.androidtablets.net/forum/cra ... 0-cpu.html


Using the FAQ step 33(https://www.videomap.it/droidmote-faq.html)

What I have done

From terminal emulator
lsmod(list loaded modules)
Mali(see that mali.ko is loaded)
open mali in txt editor and searched for vermagic, vermagic=3.0.8+ preempt mod_unload modversions ARMv7

I downloaded this
A10 AllWinner --- vermagic=3.0.8+ preempt mod_unload modversions ARMv7 --- http://www.mediafire.com/?yzdt8dshfdawdkq

I copied uinput.ko to /system/lib/modules (I used ES Explore with root level access)

From terminal emulator I navigated to the /system/lib/modules/
ran
chmod 644 uinput.ko (ran no errors)

then I ran
insmod uinput.ko (I get this error insmod: init_module “uinput.ko” failed (Exec format error)

what is could my issue be now what is the “Exec format error”?

Thanks
User avatar
zulu99
Site Admin
Posts: 2485
Joined: Tue Oct 09, 2012 6:42 am

Re: Can connect but don’t have control, Exec format error?

Post by zulu99 »

after typed insmod uinput.ko

type dmesg to see more details on the error and let me know.

in the dmesg log refer to the last line that is related to your insmod
Developer of DroidMote Server and DroidMote Client. Read the Quick Start Guides and then I'll be happy to help.
Donate with Paypal or Donate with Crypto
acem77
Posts: 6
Joined: Wed Feb 27, 2013 7:42 am

Re: Can connect but don’t have control, Exec format error?

Post by acem77 »

thanks for the fast reply,
i see this in the log under the terminal emulator,Is there txt dump of it?
uinput: disagrees about version of symbol module_layout
User avatar
zulu99
Site Admin
Posts: 2485
Joined: Tue Oct 09, 2012 6:42 am

Re: Can connect but don’t have control, Exec format error?

Post by zulu99 »

Well this mean that you have a different kernel source code.
We need your exact kernel source code to produce the uinput module.

http://stackoverflow.com/questions/2720 ... 0#11115750
Developer of DroidMote Server and DroidMote Client. Read the Quick Start Guides and then I'll be happy to help.
Donate with Paypal or Donate with Crypto
acem77
Posts: 6
Joined: Wed Feb 27, 2013 7:42 am

Re: Can connect but don’t have control, Exec format error?

Post by acem77 »

thanks
now this part is hard for me to understand, is this all done on the tablet,
or do i need my pc to ans some tools?


this sounds the simplest from the provided link, can i do this directly on the tablet?
"quick fix was to disable version checking by adding one line (versindex = 0;) to kernel source file kernel/module.c: "


and this part i cant find the files directory location?

"
First, you need kernel sources and headers.

Go to your kernel base dir, here /usr/src/linux-source-2.6.35

Check uname -r , here 2.6.35-27-generic

make -C /lib/modules/2.6.35-27-generic/build \
SUBDIRS=/usr/src/linux-source-2.6.35/drivers/net/wireless/ath/ath5k modules

/lib/modules/2.6.35-27-generic/build -> /usr/src/linux-headers-2.6.35-27-generic

Check the module dependencies with modinfo or lsmod and load them in a script :

modprobe -r ath5k
modprobe cfg80211
modprobe led_class
modprobe mac80211
modprobe ath
insmod /usr/src/linux-source-2.6.35/drivers/net/wireless/ath/ath5k/ath5k.ko

With this method, vermagic could also be different.... the make modules_install was useless, but maybe because modules are present in 2 different places (/lib/modules/extra and .../kernel/drivers), not replaced...

modinfo -F vermagic /usr/src/linux-source-2.6.35/drivers/net/wireless/ath/ath5k/ath5k.ko

I dont really understand why it's so difficult in ubuntu 10.10 to fix/debug a module :("
User avatar
zulu99
Site Admin
Posts: 2485
Joined: Tue Oct 09, 2012 6:42 am

Re: Can connect but don’t have control, Exec format error?

Post by zulu99 »

No. To compile a module for you we need only your original kernel source code. Try to contact the company that selled you the device. It is obbligied to publish kernel source code.
Developer of DroidMote Server and DroidMote Client. Read the Quick Start Guides and then I'll be happy to help.
Donate with Paypal or Donate with Crypto
acem77
Posts: 6
Joined: Wed Feb 27, 2013 7:42 am

Re: Can connect but don’t have control, Exec format error?

Post by acem77 »

I sent an email to their support team,
requesting the source code or the proper uinput.ko module from my craig.

Is this a common thing companys will provide?
I find it hard to believe a company would send any one the source code?
seems like it would be a large amount of data also.
acem77
Posts: 6
Joined: Wed Feb 27, 2013 7:42 am

Re: Can connect but don’t have control, Exec format error?

Post by acem77 »

they replied to my request and said they could not give me the files.
i cant go any further now...