[Completed] [Q] Help with wpa_supplicant/wpa_cli - XDA Assist

I'm using G'Five GPad 701 ( not a very popular device I know)
Android version: 4.2.2 (official ROM)
Kernel version: 3.4.5
[email protected] #2
(Any other information needed?)
I'm trying to connect to WPS network, but since it's not possible without pressing the WPS button on the router anymore after android 4.1+
I googled a lot and found that it's possible to connect to WPS networks using wpa_cli
I got the file and put it in /system/bin and modified the permissions (checked all boxes) but I'm not sure about "owner" and "group" , I've set them to : owner root, group root
Opening terminal and using:
Code:
su
wpa_cli
I get the following:
Code:
wpa_cli
wpa_cli v2.0-devel-4.1.2
Copyright (c) 2004-2012, Jouni Malinen <[email protected]> and contributors
This software may be distributed under the terms of the BSD license.
See README for more details.
Using interface 'wlan0'
Warning: Failed to attach to wpa_supplicant.
Could not connect to wpa_supplicant - re-trying
Warning: Failed to attach to wpa_supplicant.
Warning: Failed to attach to wpa_supplicant.
Warning: Failed to attach to wpa_supplicant.
Warning: Failed to attach to wpa_supplicant.
and it just loops on and on.
I've been trying to work around it for hours now and understand what's wrong, but I can't figure it out.
I tried changing permissions of wpa_cli , wpa_supplicant , wpa_supplicant.conf , and even all folders from root to /sockets
All other forums I found talk about wpa_cli in linux not android, and even trying their solutions did not work for me.
Anyone can help with that?

Hi there,
I'm sorry but I can't find anything relevant to your question/device.
Please post that in the forum bellow for more answers from the experts :
> Android Development and Hacking > Android Q&A, Help & Troubleshooting
Good luck

Related

[Q] [NDK] Can't build android_external_sshfs (resolved)

Hi Everyone,
hopefully I picked the right Forum to post this Thread.
I'm not really familiar with the Android-NDK or CPP in general but I hope someone can clarify things for me.
I like to build android_external_sshfs (https://github.com/l3iggs/android_external_sshfs) for my Nexus 5, so far I've done the following:
1. Download "android-ndk-r9b-linux-x86.tar.bz2" => /home/xxx/android-ndk-r9b/
2. Clone Android-Sources: "Branch android-4.4_r1" => /home/xxx/android-4.4_r1/ (http://source.android.com/source/downloading.html)
3. Clone android_external_sshfs => /home/xxx/android-4.4_r1/external/sshfs/ (https://github.com/l3iggs/android_external_sshfs)
4. Clone android_external_glib => /home/xxx/android-4.4_r1/external/glib/ (https://github.com/l3iggs/android_external_sshfs)
5. Modify Android.mk of sshfs => /home/xxx/android-4.4_r1/external/sshfs/Android.mk (attached)
6. Create Application.mk for sshfs => /home/xxx/android-4.4_r1/external/sshfs/Application.MK (attached)
7. Include Android-NDK in Path => PATH=$PATH:/home/xxx/android-ndk-r9b/
8. Set NDK_PROJECT_PATH => export NDK_PROJECT_PATH=/home/benjamin/Downloads/android-4.4_r1/external/sshfs/
9. Run ndk-build in /home/xxx/android-4.4_r1/external/sshfs/ => ndk-build NDK_APPLICATION_MK=Application.mk V=1 &> build.txt (attached)
To me it seems that "size_t" is not defined, but since size_t is Platform/Compiler depended it should be automatically defined by the Android-NDK-Toolchain.
I'm missing something basic here...
Ok so after some Weeks of trying I finally build it
The Problem was my understanding of the android-4.4_r1 Sources and the android-ndk. I thought that need the ndk to build the sources, but i was kind of wrong.
So for everyone with a similar "Problem":
You need to use the toolchain in the sources to build a module like android_externa_sshfs:
1. Setup Build Enviroment "$ . build/envsetup.sh"
2. Choose a Target Device "$ lunch"
3. Build with the Functiontions registered by envsetup.sh "$ hmm"
I'm also trying to build
https://github.com/l3iggs/android_external_sshfs
for the (HTC sensation) pyramid.
I described the issue in detail here
https://github.com/l3iggs/android_external_sshfs/issues/2
but haven't received an answer yet.
It boils down to this:
After following the instructions in the README, in the last step (building sshfs), I get:
Code:
make: *** No rule to make target '/home/user1/android/system/out/target/product/pyramid/obj/SHARED_LIBRARIES/libglib-2.0_intermediates/export_includes', needed by '/home/user1/android/system/out/target/product/pyramid/obj/EXECUTABLES/sshfs_intermediates/import_includes'. Stop.
That looks to me as if it needs glib. I did try deviating from the instructions and build glib before that and failed.
Did you have the same issue? If so, how did you solve it?
Hi,
at first this Error means:
Code:
make: *** No rule to make target '/home/user1/android/system/out/target/product/pyramid/obj/SHARED_LIBRARIES/libglib-2.0_intermediates/export_includes', needed by '/home/user1/android/system/out/target/product/pyramid/obj/EXECUTABLES/sshfs_intermediates/import_includes'. Stop.
That while trying to build "sshfs" a dependancy "glib" was not found (compiled first).
So you're right, you need to build "glib" first.
You can do this with "mm" in the "/home/user1/android/external/glib" directory
or you can build "sshfs" with it's dependancy's with "mma" in the "/home/user1/android/external/sshfs" directory.
Hint: "hmm" gives you all the commands for you build-enviroment.
I wasn't able to build "glib" with the aosp or cyanogenmod build-enviroment, but with the android-ndk. But in the end sshfs crashed (see: https://github.com/l3iggs/android_external_sshfs/issues/1)
Hi,I want to use it too,can you share the apk with me?

[Completed] Operation not supported

Hello there. I try to change my mac address on my lenovo s930 , android 4.2.2
I tried with busybox and terminal emulator, i enter the following lines
$su
#busybox if config wlan0 down
(at this moment wifi go off but then its up again after few seconds)
#busybox if config wlan0 hw ether "mac address"
and at this point i get :
if config: siocsifhwaddr: operation not supported.
now from what i have read on the web, it is a problem is that my current driver or kernel do not support this kinda of operation, and then i tried to update my driver dialing *#*#526#*#* (yes i tapped 7 times on bild number to activate dev mode) but nothing happens, if face none of those code actualy works. then i tried to update my system , using system update from built in interface, it downloaded the new version but when i click "now restart installation" i get failed to install the new firmwware : enoent ( no such file or directory ).
now this brings me to my question, what to do now ? there is any other ways to change my mac ? or what should i try next ?
XDA Visitor said:
Hello there. I try to change my mac address on my lenovo s930 , android 4.2.2
I tried with busybox and terminal emulator, i enter the following lines
$su
#busybox if config wlan0 down
(at this moment wifi go off but then its up again after few seconds)
#busybox if config wlan0 hw ether "mac address"
and at this point i get :
if config: siocsifhwaddr: operation not supported.
now from what i have read on the web, it is a problem is that my current driver or kernel do not support this kinda of operation, and then i tried to update my driver dialing *#*#526#*#* (yes i tapped 7 times on bild number to activate dev mode) but nothing happens, if face none of those code actualy works. then i tried to update my system , using system update from built in interface, it downloaded the new version but when i click "now restart installation" i get failed to install the new firmwware : enoent ( no such file or directory ).
now this brings me to my question, what to do now ? there is any other ways to change my mac ? or what should i try next ?
Click to expand...
Click to collapse
Hi, thanks for using XDA Assist!
First, please create an account so you can post in other forums.
After creating your account, please post your question here:
http://forum.xda-developers.com/showthread.php?t=2257421
That's a friendly help thread where you'll find expert advice.
Unfortunately, there is no specific forum for your device.
Good luck!

[Completed] WhatsApp chats disappeared after Android Operating System Update

Hello everyone,
I am having a Moto E XT-1022 (1st generation) 2014 model. In order to update its OS from 4.4.4 to 5.1, I had to make 500MB space available so I deleted all WhatsApp database backup files without copying them elsewhere as I knew from my own experience that WhatsApp had nothing to do with Android OS upgradation process since I had already upgraded the same android from OS 4.4 to 4.4.4 and my old Samsung even before that without losing any of my WhatsApp messages but unfortunately, this time all my chats are gone after OS update. As I thought, WhatsApp tried to take the backup automatically on 3AM like any other day, but it's not working either. Now I'm left with a possibly corrupt file msgstore.db.cypt8 (size: 103.62 MB). I have read somewhere in this forum that there is a possibility of mending the corrupt backup and regenerating it afresh if the key can be extracted somehow. So is there any ray of hope for me?
I request all kind-hearted developers over here to help me get my WhatsApp back as I just can't afford to lose my three years' important data. I haven't been using WhatsApp for more than a month now. I thought that I could be able to resolve the problem on my own just by Googling and searching through your comments to others who were facing similar problem like mine but I guess, I was wrong.
All of you (respected administractor, moderators, developers and members senior to me), please forgive me if I broke any rule as it was purely unintentional, I'm not a developer and this is my first-ever post.
Thanks and regards,
Rohit Kumar
PS: Mine is a non-rooted device.
XDA Visitor said:
Hello everyone,
I am having a Moto E XT-1022 (1st generation) 2014 model. In order to update its OS from 4.4.4 to 5.1, I had to make 500MB space available so I deleted all WhatsApp database backup files without copying them elsewhere as I knew from my own experience that WhatsApp had nothing to do with Android OS upgradation process since I had already upgraded the same android from OS 4.4 to 4.4.4 and my old Samsung even before that without losing any of my WhatsApp messages but unfortunately, this time all my chats are gone after OS update. As I thought, WhatsApp tried to take the backup automatically on 3AM like any other day, but it's not working either. Now I'm left with a possibly corrupt file msgstore.db.cypt8 (size: 103.62 MB). I have read somewhere in this forum that there is a possibility of mending the corrupt backup and regenerating it afresh if the key can be extracted somehow. So is there any ray of hope for me?
I request all kind-hearted developers over here to help me get my WhatsApp back as I just can't afford to lose my three years' important data. I haven't been using WhatsApp for more than a month now. I thought that I could be able to resolve the problem on my own just by Googling and searching through your comments to others who were facing similar problem like mine but I guess, I was wrong.
All of you (respected administractor, moderators, developers and members senior to me), please forgive me if I broke any rule as it was purely unintentional, I'm not a developer and this is my first-ever post.
Thanks and regards,
Rohit Kumar
PS: Mine is a non-rooted device.
Click to expand...
Click to collapse
Hello Rohit, and welcome to XDA!
Maybe the current file relied on a backup? At any rate, once one of those are corrupt, recovering them are pretty slim.
I would try asking here (once you have an XDA account):
> Motorola Moto E > Moto E Q&A, Help & Troubleshooting > [FAQ] Frequently Asked Questions For Moto E [UPDATED-05/10/14]
Hope this helps, and good luck!
Thanks Jim!
I read this on Stack Exchange but it's a 2014 post dealing with .crypt7 file while mine is .crypt8 extension. Is it gonna work? Can someone improvize on this?
Usually if you place your msgstore.db or msgstore.db.crypt7 file in the following directory on your SD card and reinstall WhatsApp it will see it and ask if you would like to restore your old messages during installation.
/sdcard/WhatsApp/Databases/
However if your database (msgstore.db or msgstore.db.crypt7) is corrupt you may still be able to regenerate the databases using sqlite3.
The WhatsApp Database is an sqlite3 database and is stored unencrypted at this path on the Android device:
/data/data/com.whatsapp/databases/msgstore.db
Backups of the database are also stored encrypted on the SD card typically at the following location:
/sdcard/WhatsApp/Databases/msgstore.db.crypt7
The unique key for the encrypted backup databases is stored here:
/data/data/com.whatsapp/files/key
Access to the /data/data directory requires root access. Alternatively ADB (Android Debug Bridge) can be used to extract the above files after booting into recovery on the device.
If you are dealing msgstore.db.crypt7 files then you must Decrypt them first as follows:
(commands below are run from a linux enviroment)
Extract Key File: /data/data/com.whatsapp/files/key
Extract crypt7 file: /sdcard/WhatsApp/Databases/msgstore.db.crypt7
Extract Decryption Keys from "key" file extracted in step 1:
256-bit AES key:
hexdump -e '2/1 "%02x"' key | cut -b 253-316 > aes.txt
IV (initialisation vector):
hexdump -e '2/1 "%02x"' key | cut -b 221-252 > iv.txt
Strip Header in crypt7 File:
dd if=msgstore.db.crypt7 of=msgstore.db.crypt7.nohdr ibs=67 skip=1
Note: Size of header stripped file in bytes must be divisible by 16
Decrypt crypt7 File:
openssl enc -aes-256-cbc -d -nosalt -nopad -bufsize 16384 -in msgstore.db.crypt7.nohdr -K $(cat aes.txt) -iv $(cat iv.txt) > msgstore.db
Once you have you msgstore.db file either by first decrypting the msgstore.db.crypt7 or by extracting it from the /data/data/com.whatsapp/databases/ directory you can now try to regenerate it using the following commands:
echo .dump | sqlite3.exe msgstore.db > Temp.sql
echo .quit | sqlite3.exe -init Temp.sql msgstore_new.db
Now Try to Restore your database Again
If you followed the procedure above correctly you should now have a msgstore_new.db file.
Rename this file to msgstore.db and place it file in /sdcard/WhatsApp/Databases/ and reinstall WhatsApp. Choose to restore your old database/messages when asked during installation.
Reference:
http://forum.xda-developers.com/showpost.php?p=24566937&postcount=3
http://forum.xda-developers.com/showthread.php?t=1583021
Hello,
It's worth trying, just be sure to make a backup of the original (corrupted) file first.
Sounds like you got a handle on which thread(s) to ask for help in.
Good luck!
Thanks for wishing me luck, Jim!
Well, I've been trying for one month and made the backup at three different storage devices. I believe that I need the key, first of all. What are all the possible ways to extract the unique key from /data/data/com.whatsapp/files/key?
The post containing possible solution to my problem says, "Access to the /data/data directory requires root access. Alternatively ADB (Android Debug Bridge) can be used to extract the above files after booting into recovery on the device." But when I try to boot into recovery, Android says - no command. How to proceed further?
Is it possible to extract the key without rooting the device? As I have tried a few one-click rooting tools; i.e. Kingo ROOT, iRoot, Root Genius, towelroot, Framaroot but root failed every time.:crying: Please suggest me some application/tool/apk/person that might root my Moto E or a simple step-by-step procedure of rooting since I'm a noob.
Some other method to capture the key, if any? You would be a great help.
Rohit Jaroudiya said:
Thanks for wishing me luck, Jim!
Well, I've been trying for one month and made the backup at three different storage devices. I believe that I need the key, first of all. What are all the possible ways to extract the unique key from /data/data/com.whatsapp/files/key?
The post containing possible solution to my problem says, "Access to the /data/data directory requires root access. Alternatively ADB (Android Debug Bridge) can be used to extract the above files after booting into recovery on the device." But when I try to boot into recovery, Android says - no command. How to proceed further?
Is it possible to extract the key without rooting the device? As I have tried a few one-click rooting tools; i.e. Kingo ROOT, iRoot, Root Genius, towelroot, Framaroot but root failed every time.:crying: Please suggest me some application/tool/apk/person that might root my Moto E or a simple step-by-step procedure of rooting since I'm a noob.
Some other method to capture the key, if any? You would be a great help.
Click to expand...
Click to collapse
You can without rooting, but you will need to unlock your bootloader first (which also voids warranty - just so you know).
Follow this guide until you finish step 7 (btw, if you were to compete the guide, you would be rooted ):
> Motorola Moto E > Moto E General > [Root][Moto E][Guide HowTo]How to root Moto E [Condor][Noob Friendly]
While in TWRP, you can then use ADB to pull the unique key file from /data/data...
Code:
adb pull /data/data/com.whatsapp .
Any questions about the first 7 steps can be asked in that thread, any other questions can go in any appropriate threads mentioned earlier.
I believe you now have all the resources you need to get started, and going forward, a successful XDA'er. Since the purpose of XDA Assist is to get new users in the right direction, as opposed to solving the issue alongside the new user (the user still has the responsibility to self-learn), I feel I have done all I can do.
Good luck out there!

GetMeIn : One time rooting/jailbreaking tool for webOS LG TV's

Hello XDA,
After a long thinking i've decided to create a root or jailbreak tool for LG's awesome webOS, today am stating this thread to release this new root tool, but before that! am gonna ask you for some logs from webOS 3.5 and lower.
Everyone in this thread must know about webOS if not do your homework then get back again, LG did a great work on this operating system after HP and Palm's versions. they even supported Raspberry Pi module B. but webOS OSE aka Open Source Edition is really different from TV's version.
LG think about Security and frequently release updates that doesn't have anything new except some patches to close down known holes, one of my favorites was a directory traversal that can replace in tv files and binaries during install (partially closed recently).
let'stake a look at LG's partition filesystem types, on tv's they chooses to use ext4 for writable partitions (/var, some of /mnt/lg/*, /home and /media) everything else is using squashfs which is a read only compressed filesystem you cannot modify it.
If you can dump the squashfs partition unshquash it then recompress you will face another problem of hashes and crc checks (checkout the update binary for more details) if you dd it back to block device without kernel and/or bootloader patches. so this is not gonna just work easily.
What we can really do it play on the RW parts of the system, one of the design flaws on webOS is the devmode aka Developer Mode, they ship it in a Read Write partition so that's easy to be modified.
To do that you must have root access or some powerful exploits to achieve your goal.
This method is using memory access vulnerability to get root and then jailbreak the tv. i ported some parts of the other root thread even if some are not even needed.
To jailbreak connect to your tv via prisoner user after uploading GetMeIn binary into it then :
Code:
chmod +x GetMeIn
./GetMeIn
if root succeed and you saw some errors do this :
Code:
mkdir -p /media/cryptofs/root/etc
mkdir -p /media/cryptofs/root/lib
After that just reboot and enjoy your root with same ssh key, or use password "alpine".
there is some old pictures attached, i did some modifications after those.
Hope this is good enough.:angel:
HOW-TO
To use this GetMeIn webOS Jailbreak tool please create a developer account on LG's developer portal, install developer mode application on your TV and connect with your recently created account.
Open dev mode app please set the Dev Mode Status to ON and Key Server to ON.
grab your ssh key with ares then connect to your tv using ssh :
Code:
[email protected]:~# ssh -i ~/.ssh/webOS_TV [email protected] -p 9922
when you get connected you just follow the steps on the thread.
Please test and share back screen shouts and logs from tv in both cases failure or success.
I need informations from your webOS v 3.5 and lower, TV model and webOS version and some commands from the tv.
okay first of all create a dir named logs :
Code:
mkdir logs
TV Infos :
Code:
cat /var/run/nyx/device_info.json > logs/device_info.json
(delete your nduid serial number and mac addresses)
webOS Infos :
Code:
cat /var/run/nyx/os_info.json > logs/os_info.json
Code:
cat /proc/cpuinfo > logs/cpu.log
Code:
ls -arls /var/log/ > logs/logdir.log
Code:
ls -arls /usr/lib/ > logs/libsdir.log
Code:
ls -arls /proc/ > logs/procdir.log
Code:
ls -arls /dev/ > logs/devices.log
In case the jailbreak works restart and run this additional commands :
Code:
mount > logs/mounts.log
i think that's everything i need, upload the logs dir somewhere and put a link here.
Reserved again.
So this only works on webOS 3.5 and below?
MishaalRahman said:
So this only works on webOS 3.5 and below?
Click to expand...
Click to collapse
that's what i think yes, but you can test
MishaalRahman it's confirmed, also some lower versions are not supported like 3.3.3
BTW, can you check up your PM.
Hi,
unfortunately it does not work for me, I get the following output:
Code:
---------------------------------------------------------------
MerrukTechnolog < webOS privelage escalation (www.merruk.com)
---------------------------------------------------------------
GetMeIn: #* Opening memory IO!
GetMeIn: #! Cannot map memory data!
---------------------------------------------------------------
I already posted some logs of my LG OLED55B7D (05.80.15) in the other thread:
https://www.dropbox.com/s/ie5ix8vtscxjr3n/LG55B7D_05_80_15.zip?dl=0
Maybe some of this helps to improve your script.
blenni said:
Hi,
unfortunately it does not work for me, I get the following output:
Code:
---------------------------------------------------------------
MerrukTechnolog < webOS privelage escalation (www.merruk.com)
---------------------------------------------------------------
GetMeIn: #* Opening memory IO!
GetMeIn: #! Cannot map memory data!
---------------------------------------------------------------
I already posted some logs of my LG OLED55B7D (05.80.15) in the other thread:
https://www.dropbox.com/s/ie5ix8vtscxjr3n/LG55B7D_05_80_15.zip?dl=0
Maybe some of this helps to improve your script.
Click to expand...
Click to collapse
Your version is not supported by this tool, you have webos 3.8 unfortunately, and i really cannot help without access to tv with new api version, & i will need testers for newer devices.
@Maroc-OS
WebOS has the web socket endpoints to control the TV like
Code:
ssap://tv/getChannelList
After rooting the TV is possible to find out all the available endpoints on the TV? LG unfortunately has absolutely no documentation about it except the endpoints in the examples they provide.
If it is not too much work, could you please provide a list of all the available endpoints? I guess those needs to be defined somewhere in a config file...
Lg oled65g6v
Code:
/media/developer$ uname -a
Linux LGwebOSTV 3.16.7-77.deua.4 #1 SMP PREEMPT Thu Jun 21 17:26:37 KST 2018 armv7l GNU/Linux
/media/developer$ ./GetMeIn
---------------------------------------------------------------
MerrukTechnolog < webOS privelage escalation (www.merruk.com)
---------------------------------------------------------------
GetMeIn: #* Opening memory IO!
GetMeIn: #! Cannot map memory data!
---------------------------------------------------------------
/media/developer$ cat /var/run/nyx/os_info.json
{
"core_os_kernel_version": "3.16.7-77.deua.4",
"core_os_name": "Rockhopper",
"core_os_release": "3.3.3-3807",
"core_os_release_codename": "dreadlocks-dharug",
"encryption_key_type": "prodkey",
"webos_api_version": "4.1.0",
"webos_build_datetime": "20180621081934",
"webos_build_id": "3807",
"webos_imagename": "starfish-dvb-secured",
"webos_manufacturing_version": "05.30.25",
"webos_name": "webOS TV",
"webos_prerelease": "",
"webos_release": "3.3.3",
"webos_release_codename": "dreadlocks-dharug"
}
If I can be of any help to get this working on LG's 2016 OLED models gladly I would help...
Thank you for this awesomely fun opportunity to get into my panel! While I understand this is in its infancy, would you know a way of downgrading OS version? (Im on 4.x.x.x)
I hope sideload and extract creds in the best future. Thank you one again for the time and sharing of this. ?
What would be a good reason to root a smart tv? What can I do afterward?
now THIS is interesting! well done!
Same will we be able to download apps like Showbox or shadow tech(cloud gaming service)? After rooting we are all familiar with root on the phone side but rooting tv is definitely a first
lucaterpirla said:
What would be a good reason to root a smart tv? What can I do afterward?
Click to expand...
Click to collapse
thats what i'm asking myself too.
or was this the first step and now homebrew apps will rise?
please enlighten me someone. :laugh:
Sorry if this is a dumb question, but does this mean that Android TV could be ported over? That would be fantastic.
Fuking crazy
I'm about to root today after work.
Hope we get Android apps soon
This is awesome! and coming from someone from my home country. Genius!
Would it be possible to install Android TV after using this method?
Thank you very much!
I haven't tried the jailbreak yet, but here are the logs from two of my LG TVs:
LG EF9500: mediafire.com/file/8da335aynddi4se/LG_EF9500_Logs.zip
LG UF6400: mediafire.com/file/8045q0d0o6j8453/LG_UF6400_Logs.zip
XDA wont let me add hyperlinks so you'll have to copy and paste.
Wow seems there is some reactions to this topic.
first of all thank you for testing and reacting to this subject.
i will replay to every post one by one after this post.
thanks for you all.
wybielacz said:
@Maroc-OS
WebOS has the web socket endpoints to control the TV like
Code:
ssap://tv/getChannelList
After rooting the TV is possible to find out all the available endpoints on the TV? LG unfortunately has absolutely no documentation about it except the endpoints in the examples they provide.
If it is not too much work, could you please provide a list of all the available endpoints? I guess those needs to be defined somewhere in a config file...
Click to expand...
Click to collapse
Interesting. i did not knew about this, i will let you know once check this out.

Android Emulator Kernel debugging

I am trying to connect a gdb session to my avd device.
I created an avd for pixel 3 hardware running Android 7.1.1 armeabi-v7a.
My concern is that I am not able to connect a gdb session to it.
I researched thoroughly but could not find the solution. The closest I came was this post (can't post the url being a new user) which tells to do the following :-
-> create an avd.
-> run the avd in the emulator with the -s flag which opens a gdbserver on TCP port 1234 and also specifies to use the goldfish kernel. [I want to use the same kernel which came with the system image]
-> Add the following line to .gdbinit file. (add-auto-load-safe-path <path>/goldfish/scripts/gdb/vmlinux-gdb.py) [I downloaded and compiled the goldfish kernel for arm target but do not find the vmlinux-gdb.py file].
Can somebody please advise how can I proceed.

Categories

Resources