Skip to main content

LiME

LiME


From their site: "LiME is a Loadable Kernel Module (LKM), which allows the acquisition of volatile memory from Linux and Linux-based devices, such as those powered by Android."

I tried to follow the instructions for LiME from youtube video, and extract memory from my SE Xperia 8, but I ran on some errors and failed. Here is what I did.

Phone has to be rooted and have debugging mode enabled. LiME also requires Java JDK 6 or 7, Android SDK and arme-eabi tool (I downloaded ARM eCross EABI Toolchain for Linux). Then, the source of the kernel running on the phone we want to examine is necessary. Thats because LiME is a kernel module and it has to be compiled for the kernel running on the mobile phone in order to be possible to insert and run it. I lost some time until I found mine here, but that is the site only for Xperia phones. You need to download and unpack it. There should be a kernel directory which will be used later. You have to add arme-eCross-eabi and adb to the path with these commands in terminal, but change <path to arm-eCross-eabi> and <path to SDK> into exact directories youve unpacked the SDK and arm-sCross-eabi:
export PATH=$PATH:<path to arm-eCross-eabi>/arm-eCross-eabi/bin
export PATH=$PATH:<path to SDK>/SDK/platform-tools/adb
Next, download LiME and unpack it. Then connect your phone to the computer and pull the kernel config from the phone with:
adb pull /proc/config.gz
If there is no file like that in proc directory on your phone, as was in my case, you can try to find it in source code directory in kernel/arch/arm/configs, but with .defconfig extension. You have to rename that directory, no metter where you found it, into .config and move it in kernel directory. Next, like tutorial says, type:
make ARCH=arm CROSS_COMPILE=arm-eCross-eabi- modules_prepare
I got a few errors reported:
"/home/osaf/Android/arm-eCross-eabi/bin/../libexec/gcc/arm-eCross-eabi/4.5.2/cc1: error while loading shared libraries: libgmp.so.3: cannot open shared object file: No such file or directory".
If you get message like that, you may find solution on this link. It says that you have to install some packages, so just copy command they wrote:
sudo apt-get install libgmp3c2 freeglut3 freeglut3-dev -y
and that problem is solved. Then run make command again. If you get this message:
"make: *** No rule to make target `modules_prepare. Stop."
That is resolved with some modification in make command:
make ARCH=arm CROSS_COMPILE=arm-eCross-eabi- modules
Another problem that can arise:
"make:/<path to>/arm-eCross-eabi/bin/arm-eabi-gcc:Command not found...make[1]: *** [kernel/bounds.s] Error 127make:*** [prepareO] Error 2"
It should continue past that error when "ARCH=arm" is removed from the command line. So, open Makefile in kernel directory and find this line:
ARCH                       ?=$(SUBARCH)
CROSS_COMPILE    ?=
Where you replace $(SUBARCH) with arm, and write in terminal:
make CROSS_COMPILE=arm-eCross-eabi- modules
You can also got this message:
"The present kernel configuration has modules disabled.Type make config and enable loadable module support.Then build a kernel with module support enabled
make: *** [modules] Error 1"
So, the .config file has to be modified as well. Just write:
CONFIG_MODULES=y   
CONFIG_MODULE_UNLOAD=y
in it and cross compile command should make the rest of the needed changes.
When cross compiling is finished, its time to prepare the module for compilation. You have to position in lime/src directory and make new Makefile.1 with the content from tutorial, but with changed KDIR, placed tabs where they are needed and manually entered address to the arm-eCross-eabi-. There is Makefile.sample, where you can see example of makefile with correct tabs. Then write in terminal:
make -f Makefile.1
You can get this error:
"strip: Unable to recognise the format of the input file ?lime.ko"
But, tutorial says that it is ok. Next, you have to move kernel module - lime.ko to your phone:
adb push lime.ko /sdcard/lime.ko
set up the port:
adb forward tcp:4444 tcp:4444
open a shell on the Android device:
adb shell
then install kernel module and redirect output to TCP port:
cd /sdcard
insmod lime.ko path=tcp:4444 format=lime
and in new terminal on PC, connect to the port on the device with netcat and redirect output to memory.lime:
nc 127.0.0.1 4444 > memory.lime
After that, you need to get your memory extracted. For me, it didnt work. I just got message:
"Bad adress"
and I didnt know how to resolve that problem.

I cant say anything about this tool, because I couldnt run it and I dont know where is the problem. It returned too many error messages, for which I had to google solutions, and I cant guarantee that they are all good. Although I didnt manage to get positive outcome, I hope it will help you. 

download file now

download
alternative link download

Popular posts from this blog

Mini Militia ReAL DuAL WiELD MOD 3 06 by ARSHAD

Mini Militia ReAL DuAL WiELD MOD 3 06 by ARSHAD Most of my friends and sites visitors request me to create a Dual Wield MOD + Pro pack... I DONE IT......... Features:- � Propack Unlocked � Unlimited Ammo OR Bullets � ReAL DuAL WiELD MOD ( Bugs fixed now its working) � No Reload � One shot Kill ( 4 Bullets per shot ) � Unlimited Boost � Unlimited Bombs � No one can see u in Solo Play Mod Screenshots:- Click below for Download Use Chrome or other default browser for download this mod Dont Use Uc Mini Wait 5 seconds and Skip ad download  file  now

Gta Vice City Ps2 Zip

gta vice city ps2 zip Read and see articles about gta vice city ps2 zip, because you can find the info on this site. in this post there are 8 data picture for gta vice city ps2 zip . for that, if you need more than 8 tips, you have come to the right place. in topic gta vice city ps2 zip we have more data with including how to, tutorial and article up to 3+ info. After you listen and understand what is in the article, you can also download it. so don't worry because your problem will be solved here. Looking 3+ secret info for Gta Vice City Ps Zip and you can enter lots of other information from gta vice city ps2 zip, More than 3+ content that can be obtained like gta vice city san andreas android or list below : hd skins gta vice city • gta vice city san andreas android • grand theft auto vice city stories review playstation • gta place vice city stories psp screenshots • detailed map radar mod gta san andreas •...

Download Sony Vegas Pro 11 Kuyhaa

download sony vegas pro 11 kuyhaa Read and see articles about download sony vegas pro 11 kuyhaa, because you can find the info on this site. in this post there are 8 data picture for download sony vegas pro 11 kuyhaa . for that, if you need more than 8 tips, you have come to the right place. in topic download sony vegas pro 11 kuyhaa we have more data with including how to, tutorial and article up to 4+ info. After you listen and understand what is in the article, you can also download it. so don't worry because your problem will be solved here. Looking 4+ secret info for Sony Vegas Pro Kuyhaa and you can enter lots of other information from download sony vegas pro 11 kuyhaa, More than 4+ content that can be obtained like sony vegas studio hd platinum or list below : sony vegas pro • sony vegas pro beginners tutorial youtube • buy sony vegas studio hd platinum • sony vegas pro crack work bit bit youtube • sony vega...