Android Tablets Forum banner

ADB working

16365 Views 29 Replies 10 Participants Last post by  dj3go83
Hello,I postet this in the M001 forum but it might help us here too:You can connect to your device via adb if your in debug-mode and type in the following command on your PC (SDK is required):adb connect <IPofDevice>:5555after that it should show up withadb devicesthen you canadb shelladb install only works if you replace the /system/bin/sh with the "original" sh (not busybox)
1 - 20 of 30 Posts
Got something else.KEYMAPPINGin the/system/usr/keylayout directory are some kl files.The Eken probably only uses the qwerty.kl file.The file is as follows:Key Code WhatItShouldDo IfItShouldWakeUpfor eg.:key 158 BACK WAKE_DROPPEDkey 102 HOME WAKEwith that we could replace the VolumeUp/down keys with back and menu to enable us to use fullscreen applications.You need to reboot after a change!Use adb push and pull to get the files.If it dosn't work, look for other files in that directory which the M003 might want to use.Probably only works on rooted devices.
Thanks for sticky and to complete my toolchain:SWAPin the shell type su you command prompt should look somethign like this now: /#you can type free to see that you don't have swap.now goto the LocalDisk or sdcard subdirectory. (You should have a class 6 sdcard for this otherwise use your LocalDisk)change directorys with: cd <directory>now type this:dd if=/dev/zero of=swapfs bs=1024 count=262144this will make a file of aprox. 256MegaByte (1024Byte*256)after that type mkswap swapfs this will format the file to a swapfile.Now we have to setup a loop device.losetup /dev/block/loop1 swapfswill do.now we activate the swapfile:swapon -p 60 swapfsyou may type free again to see that you now have 256MB of RAM and 256MB of swap for about 512MB of working RAM.protip: the 60 in the swapon command determines the priority. the higher the value, the more possible it is that eken tries to swap. Play around with that vale because the more you swap, the longer a program might take to come back from swap.Important:After a reboot you have to do the following commands again!losetup /dev/block/loop1 swapfsswapon -p 60 swapfs
See less See more
Hi, thanks a lot for the good tipDoes this improove the velocity of the device?
Velocity?If you mean speed in general: only sofar that switching between programs is faster and even possible.But dosn't influences the speed of applications (like video or anything else)You could try to increase the 60 on the swapon parameter and see if it frees adittional RAM and so makes things run smoother.Didn't test much.
Thank you.I was wandering how to close programs in the device. Actually I can't sort it out ;(
Normaly you won't need to because the androud os has a few methods to close programs himself if the program isn't used anymore.Or Programs ether close themselfes when you switch (Pressing the "Home"-Button) or you can close them in a menu or you can try to download a task-closer from a market alternative.But thats normaly not necessary.
a question, what is the <IPofDevice>?I have the eken m001, and i put in development mode, then i conect it throw usb port, and i open the console and put: "adb devices", and i have only the emulador device (i have the sdk with de emulador running).so, i have to conect with my eken? how i get that?i need to put first this "adb connect <IPofDevice>:5555" really?
See less See more
Well the IPofYourDevice if that what it says.Your device gets an IP adress from your WLAN-Router. You have to exchange <IPofDevice> with that IP.You should disconnect the emulator though, because it's not that easy to send commands via adb to specific devices.
P.s.: You don't need to connect the Eken via USB, that won't work. You cna only connect to your device via WLAN.
Thanks!!- active Android development mode- Just found how to get your internal IP:Settings >> Wireless Controls >> Wi-Fi SettingsAt the bottom under "Wi-Fi networks"tap the connection you are connected to.Thanks
See less See more
but im trying to get some files in my device:
Code:
adb pull /data/data/com.android.settings/files/wallpaper /home/targetdir
but i get this: "Permison denied", but if i try to get others files, all is succesfull.somebody got this protected folders?
Hey... I'm having trouble getting the usb ADB installed on my win64 vista box (usa a pdn, not an eken, but the ADB issue is the same). Will doing it by wlan rather than usb make any sense? Where can I find and how can I install the wlan adb?While I'm at it (and not just annoy the eken moderator), anyone else have trouble getting the usb adb installed on a win 64 box? How did you do it?
[quote name='lawman;14633]Hey... I'm having trouble getting the usb ADB installed on my win64 vista box (usa a pdn' date=' not an eken, but the ADB issue is the same). Will doing it by wlan rather than usb make any sense? Where can I find and how can I install the wlan adb?While I'm at it (and not just annoy the eken moderator), anyone else have trouble getting the usb adb installed on a win 64 box? How did you do it?[/QUOTE']Try finding the IP address of your device, if you have a DCHP router, find the client table and locate it that way. Then insatll the android SDK. Make sure USB debug is on. Run a CMD terminal, and type: adb connect 192.168.1.???:5555 (use your IP...and make use you use the path to the androidtools folder)Just use your IP you found in the client table for your device. IF its ok, should say connected. Check with: adb devicesPS, this alll works fine on my Eken M001!! THANK YOU Zerodime!!!!!
ther eis no distinction between usb adb and (w)lan-adb.It's always the same.Tellme more about the problem you receive when you try to install adb (wich should only be an unpacking of a zipfile)When you have the adb executable, do what I in my OP and xboxhacker above tells you todo.[quote name='lawman;14633]Hey... I'm having trouble getting the usb ADB installed on my win64 vista box (usa a pdn' date=' not an eken, but the ADB issue is the same). Will doing it by wlan rather than usb make any sense? Where can I find and how can I install the wlan adb?While I'm at it (and not just annoy the eken moderator), anyone else have trouble getting the usb adb installed on a win 64 box? How did you do it?[/QUOTE']
Zerodime = Rep Power + 1 !!!!!!! :)I pulled the SH file form the android emulator. Can i push it to /system/bin .... or do i need to add it to the files and reflash the M001???Do i need to change any chmod settings or rm linkage settings???
Ok just because it might help my personal rom.http://www.megaupload.com/?d=9VDH50R0Following changes to the original:- root (just type su)- Youtube lowres- Keychanges to accomodate for Fullscreen apps * Power = Power * Volume up = back * Volume Down = Menu * Roudn Button = Home- no chinese applicationsRemember this is a private mod and might not be for everyone.
Zerodime;15468 said:
Ok just because it might help my personal rom.http://www.megaupload.com/?d=9VDH50R0Following changes to the original:- root (just type su)- Youtube lowres- Keychanges to accomodate for Fullscreen apps * Power = Power * Volume up = back * Volume Down = Menu * Roudn Button = Home- no chinese applicationsRemember this is a private mod and might not be for everyone.
Hello,Zerodime: Dis you mean your modify firmware not available for Chinese vesion application(my M003 is Chinese version)?? and do you modify it from Eken Official 1.7.4?
Zerodime;15468 said:
Ok just because it might help my personal rom.http://www.megaupload.com/?d=9VDH50R0Following changes to the original:- root (just type su)- Youtube lowres- Keychanges to accomodate for Fullscreen apps * Power = Power * Volume up = back * Volume Down = Menu * Roudn Button = Home- no chinese applicationsRemember this is a private mod and might not be for everyone.
Hello,Zerodime: Do you mean your modified firmware not available for Chinese vesion application(my M003 is Chinese version)?? and do you modify it from Eken Official 1.7.4?
1 - 20 of 30 Posts
This is an older thread, you may not receive a response, and could be reviving an old thread. Please consider creating a new thread.
Top