[Reaver][Hack][Help] Reaver For Android Wifi Hack working but last stage error - Android Q&A, Help & Troubleshooting

Well, i struggled for half a day relentlessly and finally got Reaver Working on my Xiaomi Mi4 android phone with a big help from the below mentioned link , everything is going good and fine, i got the Reaver app working on my Rooted app without bcmon and it worked and i'm ready to hack the network but just as i bypassed "Test Monitor" successfully(by loading a few scripts and debugging) and hit "Start Attack" this thing showed up, below i've written down the issue as it appeared since i'm not allowed to post screenshots & Links untill i make 10 posts(i'm a new user) and the scripts that i used to bypass Test Monitor are attached below, i'm basically a noob but good at technical things, the guide mentioned in the below link isn't as easy as it is told there, there are a few more steps that aren't added in the guide!!
HELP URGENTLY!!!! I waisted a whole day trying to get it working, i'd be so grateful :laugh: if you could help me out with it! PLEASE!! :crying:
Here are those scripts i loaded and put the phone on debug mode
Custom activation script:
#!/bin/bash
svc wifi disable
LD_LIBRARY_PATH=/data/data/com.bcmon.bcmon/files/libs
LD_PRELOAD=/data/data/com.bcmon.bcmon/files/libs/libfake_driver.so sh
cd /data/data/com.bcmon.bcmon/files/tools
./enable_bcmon
echo “rfasuccess”
exit
Custom Warm-up Script
#!/bin/bash
LD_LIBRARY_PATH=/data/data/com.bcmon.bcmon/files/libs
LD_PRELOAD=/data/data/com.bcmon.bcmon/files/libs/libfake_driver.so sh
cd /data/data/com.bcmon.bcmon/files/tools
Custom stop Script:
#!/bin/bash
svc wifi enable
echo “rfasuccess”
1. this happened first but i continued anyway.
Stdout:
"rfa success"
StdErr:
Control the Wifi manager
usage: svc wifi [enable[disable] Turn wifi on or off.
svc wifi prefer
set Wifi as the preferred data network
.//srart.shl[4]: sh :not found
.//start.sh[5]: cd: /data/data/com.bcmon.bcmon/files/tools : No Such File or Directory
./start.sh[6]: ./enable_bcmon : not found
2. and then this happened in the processing window
sh: <stdin>[3]: sh: not found
CANNOT LINK EXECUTABLE: could not load library "libcap.so.1" needed by "./reaver"; caused by library "libcap.so.1" not found
3. and finally when i hit stop, this message showed up
Stdout:
?rfasuccess?
StdErr:
Control the Wi-fi manager
usage: svc wifi[enable[disable]
Turn Wi-Fi on or off
svc wifi prefer
Set Wi-Fi as the preferred data network
These are the Steps i followed to get the monitoring mode done.
1.Download bcmon- (link)
2.Save the app on your sdcard but don’t install it.
3.download Reaver apk(RFA) and install it.- (link)
4.Download root explorer by speed speed software and install it.- (link)
6.Install and open bcmon app
keep it open for 5s and then press home.
(This will surely create a com.bcmon.bcmon folder in/Data/data)
7.Open root explorer and browse to the bcmon apk.
8.Select it and press view.
9.Open assets.
10.Copy all the files to /Data/data/com.bcmon.bcmon/files.
#If any file or folder of the same name is found then delete it#
/Now you’ll have to add custom scripts that I have given below(just copy them in a note editor and save with a .sh extension)
Start script-
Start script- mentioned above in custom start script
Warm script- mentioned above in custom warm up script
Stop script- mentioned above in custom stop script
#Now open root explorer
Browse to com.bcmon.bcmon/files/tools/reaver
Long press on it and press permissions and then check the execute boxes(all 3).now click OK.
Now in tools long press enable_bcmon and give it execute rights (all 3).now click OK .
#All set….now open reaver and scan for networks press on one with green color and with a good range.
Go to settings and monitor mode setting and unchek the use bcmon and load all the scripts properly.
#while loading scripts start.sh is the activation script,warm.sh is the warm up script and stop.sh is the stop script. #
Now scroll down and check the debugging mode.
#Go back to the attack screen and press test monitor mode.
Rfasuccess comes then press OK and press start attack.
#All done,now wait until it finds the routers key for you.
#This worked on my I ball slide 6318i,Alcatel ot 918n and redmi note.

goodpeace said:
Well, i struggled for half a day relentlessly and finally got Reaver Working on my Xiaomi Mi4 android phone with a big help from the below mentioned link , everything is going good and fine, i got the Reaver app working on my Rooted app without bcmon and it worked and i'm ready to hack the network but just as i bypassed "Test Monitor" successfully(by loading a few scripts and debugging) and hit "Start Attack" this thing showed up, below i've written down the issue as it appeared since i'm not allowed to post screenshots & Links untill i make 10 posts(i'm a new user) and the scripts that i used to bypass Test Monitor are attached below, i'm basically a noob but good at technical things, the guide mentioned in the below link isn't as easy as it is told there, there are a few more steps that aren't added in the guide!!
HELP URGENTLY!!!! I waisted a whole day trying to get it working, i'd be so grateful :laugh: if you could help me out with it! PLEASE!! :crying:
Here are those scripts i loaded and put the phone on debug mode
Custom activation script:
#!/bin/bash
svc wifi disable
LD_LIBRARY_PATH=/data/data/com.bcmon.bcmon/files/libs
LD_PRELOAD=/data/data/com.bcmon.bcmon/files/libs/libfake_driver.so sh
cd /data/data/com.bcmon.bcmon/files/tools
./enable_bcmon
echo “rfasuccess”
exit
Custom Warm-up Script
#!/bin/bash
LD_LIBRARY_PATH=/data/data/com.bcmon.bcmon/files/libs
LD_PRELOAD=/data/data/com.bcmon.bcmon/files/libs/libfake_driver.so sh
cd /data/data/com.bcmon.bcmon/files/tools
Custom stop Script:
#!/bin/bash
svc wifi enable
echo “rfasuccess”
1. this happened first but i continued anyway.
Stdout:
"rfa success"
StdErr:
Control the Wifi manager
usage: svc wifi [enable[disable] Turn wifi on or off.
svc wifi prefer
set Wifi as the preferred data network
.//srart.shl[4]: sh :not found
.//start.sh[5]: cd: /data/data/com.bcmon.bcmon/files/tools : No Such File or Directory
./start.sh[6]: ./enable_bcmon : not found
2. and then this happened in the processing window
sh: <stdin>[3]: sh: not found
CANNOT LINK EXECUTABLE: could not load library "libcap.so.1" needed by "./reaver"; caused by library "libcap.so.1" not found
3. and finally when i hit stop, this message showed up
Stdout:
?rfasuccess?
StdErr:
Control the Wi-fi manager
usage: svc wifi[enable[disable]
Turn Wi-Fi on or off
svc wifi prefer
Set Wi-Fi as the preferred data network
These are the Steps i followed to get the monitoring mode done.
1.Download bcmon- (link)
2.Save the app on your sdcard but don’t install it.
3.download Reaver apk(RFA) and install it.- (link)
4.Download root explorer by speed speed software and install it.- (link)
6.Install and open bcmon app
keep it open for 5s and then press home.
(This will surely create a com.bcmon.bcmon folder in/Data/data)
7.Open root explorer and browse to the bcmon apk.
8.Select it and press view.
9.Open assets.
10.Copy all the files to /Data/data/com.bcmon.bcmon/files.
#If any file or folder of the same name is found then delete it#
/Now you’ll have to add custom scripts that I have given below(just copy them in a note editor and save with a .sh extension)
Start script-
Start script- mentioned above in custom start script
Warm script- mentioned above in custom warm up script
Stop script- mentioned above in custom stop script
#Now open root explorer
Browse to com.bcmon.bcmon/files/tools/reaver
Long press on it and press permissions and then check the execute boxes(all 3).now click OK.
Now in tools long press enable_bcmon and give it execute rights (all 3).now click OK .
#All set….now open reaver and scan for networks press on one with green color and with a good range.
Go to settings and monitor mode setting and unchek the use bcmon and load all the scripts properly.
#while loading scripts start.sh is the activation script,warm.sh is the warm up script and stop.sh is the stop script. #
Now scroll down and check the debugging mode.
#Go back to the attack screen and press test monitor mode.
Rfasuccess comes then press OK and press start attack.
#All done,now wait until it finds the routers key for you.
#This worked on my I ball slide 6318i,Alcatel ot 918n and redmi note.
Click to expand...
Click to collapse
let me know as well if you find any solution.

i get frist error
Start .sh not found plzzz help me bro

Same here pal!
The person who posted this method is my frnd on FB , whenever I tried to connect he ignored my text.

Stucked at the same..

So I was having the same error as the couple people above me, but I was able to get Reaver to recognize where my files were. I moved it off of the SD card to: /data/data/com.bcmon.bcmon
Then I manually typed in the location path of my .sh files:
/data/data/com.bcmon.bcmon/start.sh
/data/data/com.bcmon.bcmon/warm.sh
/data/data/com.bcmon.bcmon/stop.sh
Obviously you'll want to put in whatever you named those files there.
So I've gotten past that hurtle. I am however stuck with this new set of errors now, although it will allow me to progress to "start attack".
I'm new so the site is preventing me from posting these links normally but here are the two errors I'm getting:
Code:
Stdout: rfasuccess
StdErr: Control the Wi-Fi manager
usage: svc wifi [enable|disable]
Turn Wi-Fi on or off
./data/data/com.bcmon.bcmon/start.sh[4]: sh : not found
./data/data/com.bcmon.bcmon/start.sh[5]: cd: /data/data/com.bcmon.bcmon/files/tools : no such file or directory
.data/data/com.bcmon.bcmon/start.sh[6]: ./enable_bcmon : not found
After this I am able to progress and next see:
Code:
tmp-mksh: <stdin>[3]: sh: not found
error: only position independent executables (PIE) are supported.
Any suggestions?
- HTC One M7vzw
PacMan Rom 5.1.1

Stucked at same place
:silly::silly:

Libcap.so.1 error please sort it out soon..

Does anyone managed to solve this?

Your scripts shebang points to /bin/bash you could try changing to #!/system/bin/sh which should hopefully solve the sh not found error. More recent android versions force pie executables as a tool to help lower hack risks, the option there is to try to bypass pie systemwide or get a pie executable. Libcap error is due to the file not being present I'm not sure if your app is supposed to include it but it's not a standard android library.

Hey please help can I use in Micromax canvas nitro A310

Err msg displayed... Plzzz help
:Hi, m a general user of an android phone (without much technical skills). I have tried the method suggested step by step for using Reaver Rfa without bcmon and it enabled monitor mode but after that a popup appeared, which was as followed (unable to attach screenshot)
Stdout:
StdErr:
bmon_wrapper_loaded
K_Shell/10118:1442:<Stdin>[4]:
iwconfig:not found
I am unable to understand it. Please help
goodpeace said:
Well, i struggled for half a day relentlessly and finally got Reaver Working on my Xiaomi Mi4 android phone with a big help from the below mentioned link , everything is going good and fine, i got the Reaver app working on my Rooted app without bcmon and it worked and i'm ready to hack the network but just as i bypassed "Test Monitor" successfully(by loading a few scripts and debugging) and hit "Start Attack" this thing showed up, below i've written down the issue as it appeared since i'm not allowed to post screenshots & Links untill i make 10 posts(i'm a new user) and the scripts that i used to bypass Test Monitor are attached below, i'm basically a noob but good at technical things, the guide mentioned in the below link isn't as easy as it is told there, there are a few more steps that aren't added in the guide!!
HELP URGENTLY!!!! I waisted a whole day trying to get it working, i'd be so grateful :laugh: if you could help me out with it! PLEASE!! :crying:
Here are those scripts i loaded and put the phone on debug mode
Custom activation script:
#!/bin/bash
svc wifi disable
LD_LIBRARY_PATH=/data/data/com.bcmon.bcmon/files/libs
LD_PRELOAD=/data/data/com.bcmon.bcmon/files/libs/libfake_driver.so sh
cd /data/data/com.bcmon.bcmon/files/tools
./enable_bcmon
echo “rfasuccess”
exit
Custom Warm-up Script
#!/bin/bash
LD_LIBRARY_PATH=/data/data/com.bcmon.bcmon/files/libs
LD_PRELOAD=/data/data/com.bcmon.bcmon/files/libs/libfake_driver.so sh
cd /data/data/com.bcmon.bcmon/files/tools
Custom stop Script:
#!/bin/bash
svc wifi enable
echo “rfasuccess”
1. this happened first but i continued anyway.
Stdout:
"rfa success"
StdErr:
Control the Wifi manager
usage: svc wifi [enable[disable] Turn wifi on or off.
svc wifi prefer
set Wifi as the preferred data network
.//srart.shl[4]: sh :not found
.//start.sh[5]: cd: /data/data/com.bcmon.bcmon/files/tools : No Such File or Directory
./start.sh[6]: ./enable_bcmon : not found
2. and then this happened in the processing window
sh: <stdin>[3]: sh: not found
CANNOT LINK EXECUTABLE: could not load library "libcap.so.1" needed by "./reaver"; caused by library "libcap.so.1" not found
3. and finally when i hit stop, this message showed up
Stdout:
?rfasuccess?
StdErr:
Control the Wi-fi manager
usage: svc wifi[enable[disable]
Turn Wi-Fi on or off
svc wifi prefer
Set Wi-Fi as the preferred data network
These are the Steps i followed to get the monitoring mode done.
1.Download bcmon- (link)
2.Save the app on your sdcard but don’t install it.
3.download Reaver apk(RFA) and install it.- (link)
4.Download root explorer by speed speed software and install it.- (link)
6.Install and open bcmon app
keep it open for 5s and then press home.
(This will surely create a com.bcmon.bcmon folder in/Data/data)
7.Open root explorer and browse to the bcmon apk.
8.Select it and press view.
9.Open assets.
10.Copy all the files to /Data/data/com.bcmon.bcmon/files.
#If any file or folder of the same name is found then delete it#
/Now you’ll have to add custom scripts that I have given below(just copy them in a note editor and save with a .sh extension)
Start script-
Start script- mentioned above in custom start script
Warm script- mentioned above in custom warm up script
Stop script- mentioned above in custom stop script
#Now open root explorer
Browse to com.bcmon.bcmon/files/tools/reaver
Long press on it and press permissions and then check the execute boxes(all 3).now click OK.
Now in tools long press enable_bcmon and give it execute rights (all 3).now click OK .
#All set….now open reaver and scan for networks press on one with green color and with a good range.
Go to settings and monitor mode setting and unchek the use bcmon and load all the scripts properly.
#while loading scripts start.sh is the activation script,warm.sh is the warm up script and stop.sh is the stop script. #
Now scroll down and check the debugging mode.
#Go back to the attack screen and press test monitor mode.
Rfasuccess comes then press OK and press start attack.
#All done,now wait until it finds the routers key for you.
#This worked on my I ball slide 6318i,Alcatel ot 918n and redmi note.
Click to expand...
Click to collapse

Please explain step by step on how you did this I'm stuck. Thanks.

BiteMyCAPTCHA said:
So I was having the same error as the couple people above me, but I was able to get Reaver to recognize where my files were. I moved it off of the SD card to: /data/data/com.bcmon.bcmon
Then I manually typed in the location path of my .sh files:
/data/data/com.bcmon.bcmon/start.sh
/data/data/com.bcmon.bcmon/warm.sh
/data/data/com.bcmon.bcmon/stop.sh
Obviously you'll want to put in whatever you named those files there.
So I've gotten past that hurtle. I am however stuck with this new set of errors now, although it will allow me to progress to "start attack".
I'm new so the site is preventing me from posting these links normally but here are the two errors I'm getting:
Code:
Stdout: rfasuccess
StdErr: Control the Wi-Fi manager
usage: svc wifi [enable|disable]
Turn Wi-Fi on or off
./data/data/com.bcmon.bcmon/start.sh[4]: sh : not found
./data/data/com.bcmon.bcmon/start.sh[5]: cd: /data/data/com.bcmon.bcmon/files/tools : no such file or directory
.data/data/com.bcmon.bcmon/start.sh[6]: ./enable_bcmon : not found
After this I am able to progress and next see:
Code:
tmp-mksh: <stdin>[3]: sh: not found
error: only position independent executables (PIE) are supported.
Any suggestions?
- HTC One M7vzw
PacMan Rom 5.1.1
Click to expand...
Click to collapse
Dude..
This is the same error that mentioned in the post
---------- Post added at 08:54 AM ---------- Previous post was at 08:53 AM ----------
10258Smoker said:
Libcap.so.1 error please sort it out soon..
Click to expand...
Click to collapse
find out libcap.so.1 from bcmon assets and put it on system/lib

How to copy bcmon files from rootex, there's no copy option, only extract.
goodpeace said:
Well, i struggled for half a day relentlessly and finally got Reaver Working on my Xiaomi Mi4 android phone with a big help from the below mentioned link , everything is going good and fine, i got the Reaver app working on my Rooted app without bcmon and it worked and i'm ready to hack the network but just as i bypassed "Test Monitor" successfully(by loading a few scripts and debugging) and hit "Start Attack" this thing showed up, below i've written down the issue as it appeared since i'm not allowed to post screenshots & Links untill i make 10 posts(i'm a new user) and the scripts that i used to bypass Test Monitor are attached below, i'm basically a noob but good at technical things, the guide mentioned in the below link isn't as easy as it is told there, there are a few more steps that aren't added in the guide!!
HELP URGENTLY!!!! I waisted a whole day trying to get it working, i'd be so grateful :laugh: if you could help me out with it! PLEASE!! :crying:
Here are those scripts i loaded and put the phone on debug mode
Custom activation script:
#!/bin/bash
svc wifi disable
LD_LIBRARY_PATH=/data/data/com.bcmon.bcmon/files/libs
LD_PRELOAD=/data/data/com.bcmon.bcmon/files/libs/libfake_driver.so sh
cd /data/data/com.bcmon.bcmon/files/tools
./enable_bcmon
echo “rfasuccess”
exit
Custom Warm-up Script
#!/bin/bash
LD_LIBRARY_PATH=/data/data/com.bcmon.bcmon/files/libs
LD_PRELOAD=/data/data/com.bcmon.bcmon/files/libs/libfake_driver.so sh
cd /data/data/com.bcmon.bcmon/files/tools
Custom stop Script:
#!/bin/bash
svc wifi enable
echo “rfasuccess”
1. this happened first but i continued anyway.
Stdout:
"rfa success"
StdErr:
Control the Wifi manager
usage: svc wifi [enable[disable] Turn wifi on or off.
svc wifi prefer
set Wifi as the preferred data network
.//srart.shl[4]: sh :not found
.//start.sh[5]: cd: /data/data/com.bcmon.bcmon/files/tools : No Such File or Directory
./start.sh[6]: ./enable_bcmon : not found
2. and then this happened in the processing window
sh: <stdin>[3]: sh: not found
CANNOT LINK EXECUTABLE: could not load library "libcap.so.1" needed by "./reaver"; caused by library "libcap.so.1" not found
3. and finally when i hit stop, this message showed up
Stdout:
?rfasuccess?
StdErr:
Control the Wi-fi manager
usage: svc wifi[enable[disable]
Turn Wi-Fi on or off
svc wifi prefer
Set Wi-Fi as the preferred data network
These are the Steps i followed to get the monitoring mode done.
1.Download bcmon- (link)
2.Save the app on your sdcard but don’t install it.
3.download Reaver apk(RFA) and install it.- (link)
4.Download root explorer by speed speed software and install it.- (link)
6.Install and open bcmon app
keep it open for 5s and then press home.
(This will surely create a com.bcmon.bcmon folder in/Data/data)
7.Open root explorer and browse to the bcmon apk.
8.Select it and press view.
9.Open assets.
10.Copy all the files to /Data/data/com.bcmon.bcmon/files.
#If any file or folder of the same name is found then delete it#
/Now you’ll have to add custom scripts that I have given below(just copy them in a note editor and save with a .sh extension)
Start script-
Start script- mentioned above in custom start script
Warm script- mentioned above in custom warm up script
Stop script- mentioned above in custom stop script
#Now open root explorer
Browse to com.bcmon.bcmon/files/tools/reaver
Long press on it and press permissions and then check the execute boxes(all 3).now click OK.
Now in tools long press enable_bcmon and give it execute rights (all 3).now click OK .
#All set….now open reaver and scan for networks press on one with green color and with a good range.
Go to settings and monitor mode setting and unchek the use bcmon and load all the scripts properly.
#while loading scripts start.sh is the activation script,warm.sh is the warm up script and stop.sh is the stop script. #
Now scroll down and check the debugging mode.
#Go back to the attack screen and press test monitor mode.
Rfasuccess comes then press OK and press start attack.
#All done,now wait until it finds the routers key for you.
#This worked on my I ball slide 6318i,Alcatel ot 918n and redmi note.
Click to expand...
Click to collapse
Could anyone tell me how to copy bcmon assets files from sd card to data, because all the options says is extract.
Please help meeee...!

Possible Fix for libcap.so.1 problem
By moving "libcap.so.1", "libsqlite3.so.0" from "/data/data/com.bcmon.bcmon/files/libs" to "/system/lib" and setting the wifi-interface in the "Monitor-Mode settings" to "wlan0". I was able to solve the "libcap.so.1" error.
Straight afterwards, I got the "<stdin>[3] : not found" error.
By changing the "start.sh" script from :
Code:
#!/bin/bash
svc wifi disable
LD_LIBRARY_PATH=/data/data/com.bcmon.bcmon/files/libs
LD_PRELOAD=/data/data/com.bcmon.bcmon/files/libs/libfake_driver.so sh
cd /data/data/com.bcmon.bcmon/files/tools
./enable_bcmon
echo “rfasuccess”
exit
--to--
Code:
#!/bin/bash
svc wifi enable
LD_LIBRARY_PATH=/data/data/com.bcmon.bcmon/files/libs
LD_PRELOAD=/data/data/com.bcmon.bcmon/files/libs/libfake_driver.so sh
cd /data/data/com.bcmon.bcmon/files/tools
./enable_bcmon
echo “rfasuccess”
exit
I was able to pass the "<stdin>[3] : not found" error but now it is stuck on "Waiting for beacon from <Mac Address here>".
I've tried multiple router and waited around 15 minutes on that screen for each router with my phone next to them but it will not get pass that line.
Galaxy s3 i9300 here.

script errors
start.sh, warm.sh and stop.sh are not functioning properly, I am stuck at the same stage as you are and a can't even run the scripts on the terminal emulator.
I have tried granting permissions to the scripts but is is giving errors, if you enable "debug mode", you will see that not even one command is being issued without errors.

BatDroid said:
After this I am able to progress and next see:
Any suggestions?
- HTC One M7vzw
PacMan Rom 5.1.1
Dude..
This is the same error that mentioned in the post
---------- Post added at 08:54 AM ---------- Previous post was at 08:53 AM ----------
find out libcap.so.1 from bcmon assets and put it on system/lib
Click to expand...
Click to collapse
How do I fix the PIE problem? I'm using a Moto E LTE Surnia with CM13.

I cant copy files from extracted folder/asset folder of "bcmon" from any root explorer even from premium root explorer by speedspeed software. Please help me with this. Thank you in advance.

No app in market that can hack wifi password.
Don't waste time.
New wifi routers have WPA 2PSK highest security current time. To crack this type of password may take 2 mintues to many of years depend on which type of character and length have been chosen. All the procedure of cracking password done on linux platform.
In my opinion there are lots of apps on playstore are fake promising to crack wifi password.
Because wifi wpa2psk generate new reandoms keys with 24 or more characters changes with time to time (2-5 sec). And this keys doesn't not save in android in any way. So, how can you say this app hack wifi passwords.
If wifi router has WEP protected security then it can be easily cracked in 2 min any password.

Related

[BUGLIST] AOSP 2.2 ROM Bugs and Fixes | Post questions here

If you ...
find a bug or problem on 2.2, post here
find a solution on how to fix the bug, post here
want to get help on how to fix the bug, post here
anything else, goes here
This thread are meant for bug/problem solution and reported bug list of 2.2 custom ROM which i will try to manage, so people are not posting same bug, and asking for same solution all over again in X10 Custom ROM AOSP thread.
Limitation
Cannot Mount via USB
2.2 Custom ROM put the SYSTEM partition on your phone memory and the DATA partition in your SD card. That is why you cannot dismount the SD card from Android to mount to your PC.
No App2SD
2.2 Custom ROM is still running on 2.1 Custom Kernel which not supporting this.
Bug list
#0001 - WiFi not working - Fixed on 2.2
#0002 - Random android.process.media force close - Fixed on 2.2
#0003 - Home button not working, and no Lock Screen - Fixed on 2.2
#0004 - Cannot install certain APK (Angry Bird)
#0005 - No radio, no network and flashing Home - New on 0.0.2
#0006 - ADB shell have SU access, but Titanium Backup cannot work - New on 0.0.2
#0007 - SD Card non-ascii folder show as ???
#0008 - Facebook Contact Sync not available
#0009 - CPU Governor set to performance by default
Solutions for bugs
#0001 - How to enable WiFi on 2.2 Custom ROM
1. Try to enable WiFi, of course it will not work.. just do it.
2. WiFi will goes off automatically
3. Run
Code:
adb shell /system/bin/wlan_tool
4. If the adb stucks, just press CTRL+C
5. Repeat step 4 until you crash the phone
6. After reboot, your WiFi will work.
or
Code:
adb shell killall servicemanager
Post Reference
#0002 - android.process.media FC solution
0.0.1 compiled with prefilled databases which invalid for your phone
Code:
adb shell
cd /data/data/com.android.providers.media/databases
rm *
reboot
or this will ensure no invalid data anymore but will remove fixes for bug #0003
Code:
adb shell
cd /data/
rm -r data
mkdir data
reboot
Post Reference
#0003 - Fix Home Button & Lock Screen
Download sqlite here
First pull the db file first.
Code:
adb pull /data/data/com.android.providers.settings/databases/settings.db settings.db
Then add value to its content
Code:
sqlite3.exe settings.db
sqlite> INSERT INTO "secure" VALUES(67,'device_provisioned','1');
sqlite> .exit
Then push back the db
Code:
adb push settings.db /data/data/com.android.providers.settings/databases/settings.db
Then reboot.
Post Reference
#0004 - Solving installing APK problems
Currently the 2.2 Custom ROM does not support app2sd, and some APK may configure it self to be installed in sdcard.
So we force it to install on internal with code below
Code:
adb shell pm setInstallLocation 1
adb install -l com.rovio.angrybirds.apk
Post Reference
#0005 - Fixing radio, wifi and home screen flashing problem
Run this command
Code:
adb shell killall servicemanager
Post Reference
#0006 - Fixing SU access for Titanium Backup
Run this command
Code:
adb shell chmod 4755 /system/bin/su
Post Reference
#0007 - Fixing SD card mount command to show unicode letters
Modify your chargemon file so its enables utf8 for non ascii letter.
You need to do this on 2.1 ROM, not 2.2 ROM. The file is located in /system/bin
look for this
Code:
mount -t vfat -o rw,noatime,nodiratime /dev/block/mmcblk0p1 /sd
and change into this
Code:
mount -t vfat -o rw,noatime,nodiratime,utf8 /dev/block/mmcblk0p1 /sd
Notes:
You must use a Unix/Linux format capable text editor for this. Notepad will not work.
You can try ultraedit for it.
Post Reference
#0008 - Fix Facebook Sync
Download the ContactsProvider.apk here, then install to your Android using push command
Code:
adb push ContactsProvider.apk /system/app/ContactsProvider.apk
adb reboot
Post Reference
#0009 - Using SetCPU
By default is Performance, fast but wasting too much battery.
Use SetCPU and set to OnDemand.
Post Reference
2.2 Custom ROM FAQ
How and what happened if upgrade from 0.0.1 to 0.0.2?
Just copy data.img and system.img replacing your current one in FreeX10 folder.
This will replace all your 0.0.1 data, be sure to back up first with Titanium Backup
WiFi is running and connected, but cannot browser
This problem seems to be occurring on selected few.. You can set static IP to your android.
Go to Settings -> Wireless ... -> WiFi, then press menu button. From there you can se static IP
Is there a possibility of Timescape and Mediascape for 2.2 Custom ROM
The answer is yes, its possible.
I managed to install Mediascape.apk into 2.2 Custom ROM, but cannot run.
The reason it cannot run is because UX is using a lot of things in Framework-res.apk, images, layout, styles, and etc which cannot be copied directly from SE 2.1 into 2.2 AOSP. It requires someone to properly put all values, resolving conflicts inside Framework-res.apk before the UX can run, which will take months or at least weeks if someone dedicated his or her day job for it. Then after that we still need to deal with external files. So in conclusion, while it still possible, i don't think anyone will do it because of the time demanding process.
I want to help devs solving bugs, i found one but i don't know what actually happend.
While usb connected, from command prompt, type
Code:
adb logcat > logcat.txt
This will output a lot of debugging info into logcat.txt file, later if you find bug, you take a look inside the file.
See anything error or info related to the bug, and post here.. When writing the logcat.txt output, but them inside
Code:
brackets.
Do not post everything.. post few lines related to the bugs.
2.2 Custom ROM Testing Tools
Service Menu
WARNING: DO NOT INSTALL THIS UNLESS YOU DO DEVS, END USER DO NOT INSTALL
PURPOSE: MAYBE FOR TESTING DEVICE FEATURE, MIGHT BREAK SYSTEM APPS
Enable SE Service Menu for device testing. For devs only. You need to put adb stuff in the directory for install.bat to run.
Install framework
Code:
adb push permissions /system/etc/permissions
adb push lib /system/framework
adb reboot
Install applications
Code:
adb install app\bootinfo3.apk
adb install app\ServiceMenu2.apk
adb install app\com.laac.launcher.servicemenu.apk
Nice work. THis is handy
As i posted in the Main thread!
I think some of the force closes, (mainly acore and google framework) and the fact that the market crashes, come down to importing a vcard!
I imported vcard, get many force closes, market stops working, I clean install and don't install the vcard. Everything functions fine.
I do believe this is the reason!
Greeet ~~!! but can u tell me the seloution of this proplem :
i was run 2.2 001 ok ? then i back to to SE 2.1 to change old system.img & data.img by the new on FreeX10_alpha-release_0.0.2-UPDATE , ok ? then i reboot my phone into 2.2 , it run but like u make a refresh on computer ! evry 3 second !
thnx
Ahmed radi said:
Greeet ~~!! but can u tell me the seloution of this proplem :
i was run 2.2 001 ok ? then i back to to SE 2.1 to change old system.img & data.img by the new on FreeX10_alpha-release_0.0.2-UPDATE , ok ? then i reboot my phone into 2.2 , it run but like u make a refresh on computer ! evry 3 second !
thnx
Click to expand...
Click to collapse
Please read the main post!
sorry but no one answer me there
Thanks
Thanks for this ,hopefully a post like this is made for the 1st post on 2.1
http://forum.xda-developers.com/showpost.php?p=9134882&postcount=1
awesome thread, very helpful. Hopefully more people will read this rather than constantly posting the same bugs in the main thread.
Ahmed radi said:
sorry but no one answer me there
Click to expand...
Click to collapse
hey ahmed
grb el solution da
#0005 - Fixing radio, wifi and home screen flashing problem
Run this command
Code:
adb shell killall servicemanager
i think en da el 7l
bye
bsthost said:
hey ahmed
grb el solution da
#0005 - Fixing radio, wifi and home screen flashing problem
Run this command
Code:
adb shell killall servicemanager
i think en da el 7l
bye
Click to expand...
Click to collapse
i dont know how to use adb shell is there anythread for newbie user how to use adb ?
angry birds on my x10 is working well....i take it from a previous backup and restrored on 2.2 with mybackup pro
Please post to http://forum.xda-developers.com/showthread.php?t=835308&page=9999 thread instead.
We don't need to create two discussion thread.
i fixed the wifi and flashing problem and i have connected to wifi but i cant access internet or market any it seems i have connected to my modem netwok still cant access to internet any idea how to fix this?
17mayis said:
i fixed the wifi and flashing problem and i have connected to wifi but i cant access internet or market any it seems i have connected to my modem netwok still cant access to internet any idea how to fix this?
Click to expand...
Click to collapse
Code:
setprop ro.kernel.android.ndns 2
setprop net.eth0.dns1 8.8.8.8
setprop net.eth0.dns2 8.8.4.4
New crash this morning : i tried to connect my BT headphone after that i've activated BT => BT has desactivated itself then the phone reboots.
zephyrix said:
Code:
setprop ro.kernel.android.ndns 2
setprop net.eth0.dns1 8.8.8.8
setprop net.eth0.dns2 8.8.4.4
Click to expand...
Click to collapse
i appreciate your answer man if you could tell me how to do this ? through adb shell or something else?
17mayis said:
i dont know how to use adb shell is there anythread for newbie user how to use adb ?
Click to expand...
Click to collapse
Google is your friend!
i have flashPlayer10.1 problem it,s to slow when i play on any website any solution what might be ?

[How-to] Set up EAP-TLS or other advanced Wifi connections on NT (root only!)

Hello all,
I figured this tutorial may come in handy to a few people out there since the documentation for getting this to work is quite atrocious.
What this tutorial is:
A step-by-step walkthrough of setting up wpa_supplicant.conf to access advanced networking protocols that we otherwise don't have access to (note, this will ONLY work with root at the moment).
What this tutorial is not:
A wireless troubleshooting thread for any wireless issues not related to wpa_supplicant, EAP-TLS, EAP-TTLS, etc.
Thanks ahead of time.
NOTE: This tutorial will be giving instructions for a Windows 7 machine, but 90% of the code I provide can easily be copied over to Linux/BSD/OSX, just replace with the Bash equivalents.
To begin, you will need a few things:
--ADB, with working drivers, though you don't NEED root access through it it is nice to have, since it cuts the typing in half, and the setup for that can be found here: [App]: ADB Root Hijack [ADB Runs as Root now]
--openSSL, for converting certificates to the proper formats.
Windows instructions: Requires Cygwin, see this link here. This will install several other useful tools, and you'll love Cygwin if you're a power user
Linux/BSD/OSX instructions: install using your favorite repositories or from binaries (in the case of OSX). For Ubuntu/Debian: sudo apt-get install openssl
--You will need access to the Development menu (use an app or the Any Cut app to make a shortcut), as well as Root Browser lite (or Root Explorer).
--Alot of patience, and a bit of time. This should be straightforward, but don't expect a perfect solution for everyone.
1) The most important step, since this will cause you no end of headaches for possibly an hour or two as you trace it down: Go into the Development menu, UNCHECK USB Debugging and RECHECK it, then UNCHECK Auto Mount. So, even if debugging is checked, uncheck and check it anyway. And make SURE Auto Mount is unchecked, otherwise this will automatically install the "normal" NT drivers and screw up the entire process.
2) Plug in the Nook, and bring up the command line (cmd.exe). Run:
Code:
adb devices
If this returns an alphanumeric string (or anything), your device is in and you're good to go. Otherwise, check the other forum topics for troubleshooting (link to come).
3) To begin, we need to convert our tickets to the correct format. For this we will use OpenSSL. To make this easy, I piled all of my working space into a folder in the root of the C: drive, called "certs". For this example, I will assume that you were given a root certificate named rootCA.crt and a private certificate names [email protected].p12 (because I was, for the eduroam worldwide network).
This example also assumes EAP-TLS authentication. To convert the files:
Code:
openssl x509 -in rootCA.crt -out rootCA.der -outform DER
openssl x509 -in rootCA.der -inform DER -out rootCA.pem -outform PEM
then
openssl pkcs12 -in [email protected] -out cert.pem -clcerts -nokeys
openssl pkcs12 -in [email protected] -out key.pem -nocerts
Note: even if your business/Uni doesn't use a separate hashed key normally (For example, the University of Alaska system), you will need it here. Normally a certificate app handles all of this (on AOSP and custom builds).
4) Thanks to good ol' FSTAB, we will have to remount /system so we can read/write to it:
Code:
adb shell
su
mount -o remount,rw /system /system
5) Now, we have three new files: rootCA.pem, cert.pem and key.pem in the C:\certs folder. We push them to their proper directory on the NT:
Code:
adb push rootCA.pem /system/etc/wifi/
adb push cert.pem /system/etc/wifi/
adb push key.pem /system/etc/wifi/
Note: This is where it gets tricky without root ADB access...the option is to push them to "/media/My Files/My Downloads/" (including quotes) and then use a terminal or root browser to move them to /system/etc/wifi/
6) Next, we get to pull wpa_supplicant finally!
Code:
adb pull /system/etc/wifi/wpa_supplicant.conf .
Note: Make sure to include the . at the end, this means 'copy it to the current directory'
7) Open wpa_supplicant.conf in Wordpad (NOT notepad, wrapping issues), and build a profile based on the examples located here.
Here is an edited version of mine, if you use EAP-TLS this will work for you:
Code:
network={
ssid="YourAPNameHere"
scan_ssid=1
key_mgmt=WPA-EAP
pairwise=CCMP TKIP
group=CCMP TKIP
eap=TLS
identity="[email protected]"
ca_cert="/system/etc/wifi/rootCA.pem"
client_cert="/system/etc/wifi/cert.pem"
private_key="/system/etc/wifi/key.pem"
private_key_passwd="yourPassHere"
priority=20
}
Change ssid, identity, and private_key_passwd to your respective information.
NOTE: priority, near the bottom, determines when it will connect to the network when others are around. Compare it to the values of the priority's set in /data/misc/wifi/wpa_supplicant.conf, the higher the value the higher the priority when they're all within range.
Now save and close the file.
8) Now, we push and reboot:
Code:
adb push wpa_supplicant.conf /system/etc/wifi/
then reboot the nook.
Now, after reboot, it should be good to go!
Notice, one bit of trouble I ran into, if you just get "error" when turning on the wireless after reboot, double-check that your certificates are correct and in the correct places, and wpa_supplicant.conf points at them. If thats fine, try erasing /data/misc/wifi/wpa_supplicant.conf, then reboot, and the list will be rebuilt and your AP will automatically connect.
Please let me know if there are any issues with the instructions, it's 6am and I haven't slept more than 8 hours in the last 3 days troubleshooting this, building kernels and playing Skyrim
reserved for future things
Also of note: I'm working on making this into scripts, don't worry everyone. And, if you bork your wifi, I will have a wireless fix in the works too.
Hi
First of all, thanks for this tutorial
I'm pretty sure this should be very straightforward but not to mess this thing up what do I need to change for a network with the following definitions:
Network SSID: eduroam
Security: 802.1x Enterprise
EAP method: PEAP
Phase 2 authentication: MSCHAPV2
Cheers
LacerdaPT said:
Hi
First of all, thanks for this tutorial
I'm pretty sure this should be very straightforward but not to mess this thing up what do I need to change for a network with the following definitions:
Network SSID: eduroam
Security: 802.1x Enterprise
EAP method: PEAP
Phase 2 authentication: MSCHAPV2
Cheers
Click to expand...
Click to collapse
Hey, it's not a problem at all. Pulled from the source here: NookDevs.com wpa_supplicant.conf I built this skeleton here:
Code:
network={
ssid="eduroam"
scan_ssid=1
key_mgmt=WPA-EAP
pairwise=CCMP TKIP
group=CCMP TKIP
eap=PEAP
identity="[email protected]"
password="YOUR-PASSWORD"
ca_cert="/system/etc/wifi/cacert.pem"
phase1="peapver=0"
phase2="MSCHAPV2" }
As you can see, you'll need to enter your University email in the identity field and your password in the password field, and if you don't have the needed certificates/password/etc you can get that from your local IT office (I would ask to speak with your network technicians though, helpdesk may not have it). Make SURE to read the instructions in that link, the openssl bit is different than the guide above!
Thanks!
On monday I will try that and will report the outcome.
Cheers
Hi.
It worked like a charm! No problem at all.
Thanks!
Cheers
Awesome! Glad to hear it.

Solved: WiFi TXpower app error issue with missing iwconfig file

Want to save power when WiFi Tethering... try WiFi TXpower. You can find it here:
https://play.google.com/store/apps/details?id=rubberbibpepper.WiFiTxPower
Solution for missing IWCONFIG file:
1. Download the first attachment "iwconfig.txt" (default save location is '/mnt/sdcard/download')
3. Open 'File Manager'
a. Select: 'Menu' -> 'More' -> 'Settings' -> scroll down paste 'donate' (which you should do!)
b. Select: Mark Yes for both checkbox options of "Root Explorer" & "Mount System Folders"
3. Navigate your path over to '/mnt/sdcard/download' and find & rename the file "iwconfig.txt" to 'iwconfig'
4. COPY the file, and navigate your path over to '/system/xbin' and PASTE the file. It may say it wasn't pasted, but scroll down and the file will be there.
5. Launch busybox 'terminal emulator' and type these two commands:
# su
# chmod 755 /system/xbin/iwconfig
6. Boot up WiFi TXpower and verify that the iwconfig error message is gone, and that you do not get a 'iwconfig' permissions error. You should see "iwconfig" and "eth0" titles and all the signal and power stats listed in the app. Lower numbers, less range, and greater batter life.
7. Enjoy! If this has helped you, please hit the "Thanks" button below.
Backstory:
Problem is, this app needs a file 'iwconfig' to be installed in '/system/xbin' and this directory is R/O (read-only, write protected). There are a few ways to do this;
adb push to install the file
Find an APP that will install iwconfig for you
Symlink the file if its somewhere else
Copy & Paste File yourself
I'm old school, so I like to have a hard copy of the file anywhere its needed, and at 30.4 KB, who cares. So following the 80% help link below, I downloaded the 'iwconfig.tar' file, extracted the internal file, and started trying to copy it into '/system/xbin'. From this same site, I used fragments of commands in the busybox 'terminal emulator' to finish the install after the file was copied into the directory. I used '# chmod 755' to set the permissions on the new file, so WiFi TXpower could use it.
"Quoted from:
# su
# cd /mnt/sdcard/download — (this assumes the download location of the file)
# tar –xf iwconfig.tar — (this was to extract the single file from inside the tar file)
# mount –o rw,remount /system — (I couldn't get this command to work, but you can try next line below instead)
# mount -o remount,rw -t yaffs2 /system /system — ccdreadcc line of code, that looks like it would work, I received no terminal emulator errors when attempting.
# cp iwconfig /system/xbin — (Above didn't work, so I copy & paste this file in 'File Manager' as I couldn't get 'Root Explorer' to do it, it wouldn't R/W '/system')
# chmod 755 /system/xbin/iwconfig — (You will need this later to correctly set permissions on 'iwconfig', if you don't you will get a "permission denied" error in the WiFi TXpower App)
"
Helpful Links:
80% Help to figure this out, and will be quoting useful parts to solution:
http://jhanford.wordpress.com/2011/10/03/lowering-wi-fi-transmit-power-in-android/
20% Starting and finishing information for solution:
http://forum.xda-developers.com/showthread.php?t=1209251
Attached Files
Does anyone have this working on ICS or on an HTC Glacier MT4G?
My rom has the file needed, but I could not get it to show any type of config, then I tried this method and still nothing.
RUN IT
Working on VZW GS3! Thanks buddy for the help! BEEN LOOKING EVERYWHERE!
---------- Post added at 01:34 PM ---------- Previous post was at 01:11 PM ----------
What does iwmulticall do exactly? Would it benefit Galaxy S3 Wi-Fi or battery?
deep thoughts
zwieringa said:
Working on VZW GS3! Thanks buddy for the help! BEEN LOOKING EVERYWHERE!
---------- Post added at 01:34 PM ---------- Previous post was at 01:11 PM ----------
What does iwmulticall do exactly? Would it benefit Galaxy S3 Wi-Fi or battery?
Click to expand...
Click to collapse
I am running on a rooted sprint samsung S3, the app continues to show::
iwconfig:
Unknown id: wlan0.
when I select 4dBm, there is no indication it worked. In terminal I run iwconfig, and it shows that the setting took effect! My stock power is 1496, which seems to be my max. Selecting 11dbm works, but 18, 25 and 32 do not. I am guessing my wifi adapter will not allow anything over 1496.
If I had iw and ifconfig on my device I could try this to force a higher speed:
ifconfig wlan0 down
iw reg set BO<--------------is an o not a 0
ifconfig wlan0 up
iwconfig wlan0 channel 13
iwconfig wlan0 txpower 30
any suggestions how to pull this off.. I can install this on a debian destro, but there's no point to that... if I can get the iw and ifconfig on my andriod OS, maybe I can force it higher than 1496...
Tried this.. Surprisingly, it's also working on my Nexus 7 (2012) too..
Not that is requires wireless extensions.
Code:
[email protected]:/data/data/bcmon/misc $ ./iwconfig
lo no wireless extensions.
svnet0 no wireless extensions.
ifb0 no wireless extensions.
ifb1 no wireless extensions.
sit0 no wireless extensions.
ip6tnl0 no wireless extensions.
wlan0 no wireless extensions.
In last Samsung Aries kernel, it's one of these:
Code:
CONFIG_WIRELESS=y
CONFIG_WIRELESS_EXT=y
CONFIG_WEXT_CORE=y
CONFIG_WEXT_PROC=y
CONFIG_WEXT_SPY=y
CONFIG_WEXT_PRIV=y
CONFIG_CFG80211_WEXT=y
CONFIG_WIRELESS_EXT_SYSFS=y
iwconfig has no effect on tx-power
This is great, thank you.
Unfortunately, when I followed all the instructions, got the iwconfig file from this thread, renamed it, successfully put it into system/xbin/, and then ran "iwconfig wlan0 txpower 2dBm" and then "iwconfig wlan0" the tx-power level is unchanged. It is still listed as 19 dBm. There's no error message.
Any ideas?
Does the "iwconfig [interface] txpower" command need to be run in a certain manner for it to have effect?
(I'm running a nightly build of Cyanogenmod 11 on a Moto G 4G.)
Yes, it's works on SGS4 i9506 4.4.2 after install iwconfig/iwmulticall. The signal is really changing, I see it when checking with other devices.
"iwconfig" shows txpower=31dbm for wlan0 (on other devices - S3, S5 and Tab - it shows 1496dbm)
I send command "iwconfig wlan0 txpower %%" with different values, but only 4, 11, 18, 25 and 31 works (yes, the last is not 32).
How can i increase it for better signal?
sorry for my english!
Thanks
Also I tried this:
iwconfig wlan0 sens -90
but
SET failed on device wlan0 ; Operation not supported on transport endpoint.
Is it needs orher diriver for wifi?
it doesn't work on lollipop
any ideas how to make it work on lollipop
Same here. Any solutions for Lollipop iwconfig?
error: only position independent executables (PIE) are supported.
how to fix this problem?
---------- Post added at 11:06 AM ---------- Previous post was at 10:46 AM ----------
kotaries said:
error: only position independent executables (PIE) are supported.
how to fix this problem?
Click to expand...
Click to collapse
Answering my own question:
You see this error because android doesnt want you to run old binaries on new version of system (as google explains, if I got the idea correctly)
To rebuild the binaries for new system is pretty complicated, so you can just fool the system by changing 17th byte in current (not working) binary file
Open some hex editor (online version for example: hexed.it), find the 17th byte (counting from 1, as humans do) and change it from 02 to 03
This byte (as I now see) is the first byte on 2nd string in the hex editor
Good luck
Try to edit, but the result "Segmentation Fault" :3

[TUTORIAL] How install ADB and Use Logcat!

TUTORIAL ON ADB AND LOGCAT : JDMC : Just doing my contribution.
This is part of TeamAscend, so if you are going to post this Tutorial on other forums please credit me, visit our website : I AM AWESOME!
Hello this is just to teach newbie users on how to install adb and get it working, I will also teach you how to use logcat to help devs with particular issues, okay lets get into it, I will try to be as formal and understandable is I can, I'm still a 15 year old so bare with my written language, not that its bad but we Kiwi's use weird slangs...
Setting up ADB
1. Okay first of all we need to enable Android debugging.
1a. To do so, head into Settings > development and check android debugging, If you're on CM10 + you will need to set Developer Options to "ON" then select Android Debugging.
2. Get a usb adapter and connect it to your pc and connect your device. Let it install drivers "If it's the first time.
​3. Download "SDK Tools". and install it to your desktop for now, you can move it later when you want.
4. Now create a new folder on the desktop and copy all SDK contents into it so its neat and tidy.
5. Open "SDK Manager" and un-check everything except "Android SDK Platform-Tools" and click install packages, wait till it's done then close the window, now you should be in the folder that contains the SDK Tools etc... if you see the "platform-tools" folder you're good to go.
6. Now open the "platform-tools" folder and copy the destination output at the top.
7. Now we need to set the new destination to CMD, click the start button type "cmd".
8. When it opens type "cd" obviously without the ", now hit space and click paste now your command should look something like this...
"cd C:\Users\Your PC name\Desktop\the folder that contains the sdk tools name\platform-tools" here's mine : "cd C:\Users\Lenovo\Desktop\ADB\platform-tools". Now hit enter, your target folder will change.
9. Once its done type " adb devices", make sure your phone is connected! now hit enter and it'll show your device, now you know ADB Is up and running! If doesn't show your device continue to the next step, if it does continue from step "11".
10. Download the HTC drivers and install it, plug your phone again and wait for it to install all components, if MTP fails to install just ignore it. (If your storage is on MTP), now repeat the procedure from "7" again.
11. Now lets Logcat, Now there are 2 different approaches to the logcat, I will be showing you how to do both in this tutorial. Neither one is more correct than the other, it is 100% personal preference. Feel free to try both and see where you get.
LOGCAT PROCEDURE
Doing logcat from inside the CMD window.
1. Make sure your phone is plugged in and debugging is on, now repeat procedure "7" to set target folder if it isn't already done. ie : cd _____________________________ <-- your folder destination.
2. Type "adb logcat" without the " and hit enter. It will then print a list of random writing, whether you understand or not, it doesn't matter, it's not for your use .
3. To save the logcat for devs to use, once the logcat is running, please RECREATE the bug/issue you are having. so that it logs the error into it, now to stop the logcat hit "ctrl" + "C".
4. Once this is done please RIGHT CLICK choose "Select All" then press "Enter" on your keyboard this will copy the entire log to the clipboard. You can then paste it into a .txt file to upload and show to devs.
Doing logcat to text file.
1. Now repeat procedure "7" to set target folder if it isn't already done, make sure your phone is plugged in and usb debugging mode is enabled. Once this is done we are going to type the following command "adb logcat > logcat.txt" without the ", this should initiate the logcat, it will appear as though nothing is happening, this is correct!!! So don't worry.
2. Once the logcat is running, please RECREATE the bug/issue you are having. To stop the logcat on your keyboard press "ctrl" + "C".
3. Now you've done logging, note the logcat.txt file will be located in the platform-tools folder, just open it and you will see logcat.txt, upload it for the dev and he/she will investigate.
More ADB Commands for various logcats Thanks to "Tcpaulh" from Modaco.
External adb folder, just needed thanks man : Download
1. radio logcat for Wifi issues.
adb logcat -b radio > radiolog.txt
2. kernel logs.
adb shell
su
cat /proc/kmsg > /sdcard/kmsg.txt
exit
adb pull /sdcard/kmsg.txt
3. kernel message buffer (on request).
adb shell
dmesg > /sdcard/dmesg.txt
exit
adb pull /sdcard/dmesg.txt
This was a tutorial I wrote up for my old device, users found it easier to understand then most, I cleaned this one up a bit which should be suitable for the Desire X, note, I may ask allot of question like a noob on the Q & A but HTC is so confusing.
Hopefully, users start using this so we can help out our devs, our sweet sweet devs, so they can whip u some magic.
If this helped, hit the thanks meter, no need for donations.

wifi countery code android script error

Dear sir,
I have Sony SL, actually i have a problem with wifi as inserting sim card. I read many topics to find that is a common issue.
Some member has a fix. I fllowed their instruction but to no avail.
As i run the script, this happen :
Error resolving interpreter: /bin/sh does not exist
Using default shell
Exec sh '/sdcard/fix_country_code'
Fix_country_code'
Error: unable to open database "/data/data/com.android.providers.settings/databases/settings.db": unable to open database file
Killed
Killed
Orginally posted by DKTigra:
I wrote a short script (tried to run as init.d - but it has no sense as country code is beeing read from simcard when all init.d scripts are finished), so i used free Script Manager - SManager (https://play.google.com/store/apps/d....scriptmanager) to launch script after boot.
That's script code (just changed wifi_country_code location):
Code:
#!/bin/sh
sleep 10
sqlite3 /data/data/com.android.providers.settings/databases/settings.db "INSERT INTO global (name, value) VALUES ('wifi_country_code', 'EU');"
svc wifi disable
sleep 10
svc wifi enable
Also i've added sleep for 10 seconds for ensure that sim data is already read, and added wifi down - sleep - wifi up for reestablish network connection (as i'm using n/g network for old devices, so Nexus is connected in g-mode to my router when script is executed).
Instruction:
1. Download sqlite3 binary from any source (I've got it from xda http://forum.xda-developers.com/show...29&postcount=2) and move it to /system/xbin, set permissions 755 (rwx-rx-rx)
2. Save script to internal SD-card, f.e. as "fix_country_code.sh",
3. Install script-manager, that is able to run scripts on boot, and set to execute script with root rights (like on screenshot if SManager is used). Also it's possible to test script w/o reboot
Please help me
jad.smoke said:
Dear sir,
I have Sony SL, actually i have a problem with wifi as inserting sim card. I read many topics to find that is a common issue.
Some member has a fix. I fllowed their instruction but to no avail.
As i run the script, this happen :
Error resolving interpreter: /bin/sh does not exist
Using default shell
Exec sh '/sdcard/fix_country_code'
Fix_country_code'
Error: unable to open database "/data/data/com.android.providers.settings/databases/settings.db": unable to open database file
Killed
Killed
Orginally posted by DKTigra:
I wrote a short script (tried to run as init.d - but it has no sense as country code is beeing read from simcard when all init.d scripts are finished), so i used free Script Manager - SManager (https://play.google.com/store/apps/d....scriptmanager) to launch script after boot.
That's script code (just changed wifi_country_code location):
Code:
#!/bin/sh
sleep 10
sqlite3 /data/data/com.android.providers.settings/databases/settings.db "INSERT INTO global (name, value) VALUES ('wifi_country_code', 'EU');"
svc wifi disable
sleep 10
svc wifi enable
Also i've added sleep for 10 seconds for ensure that sim data is already read, and added wifi down - sleep - wifi up for reestablish network connection (as i'm using n/g network for old devices, so Nexus is connected in g-mode to my router when script is executed).
Instruction:
1. Download sqlite3 binary from any source (I've got it from xda http://forum.xda-developers.com/show...29&postcount=2) and move it to /system/xbin, set permissions 755 (rwx-rx-rx)
2. Save script to internal SD-card, f.e. as "fix_country_code.sh",
3. Install script-manager, that is able to run scripts on boot, and set to execute script with root rights (like on screenshot if SManager is used). Also it's possible to test script w/o reboot
Please help me
Click to expand...
Click to collapse
Helpppp

Categories

Resources