SailfishOS 2.0 on Motorola Photon Q - Motorola Photon Q 4G LTE

Hello,
I ported Jolla's Sailfish OS for Motorola Photon Q. Though it's developed for and tested on Photon Q only, it should work on other Motorola devices as well (it's based on CyanogenMod's moto_msm8960_jbbl sources):
List of supported devices:
Atrix HD (mb886)
Photon Q 4G LTE (xt897)
Droid RAZR M (xt907)
RAZR HD (xt925)
CDMA RAZR HD (xt926)
The port is a work in progress, but I will greatly appreciated it if someone is willing to try it out.
For current status of hardware support please refer to https://wiki.merproject.org/wiki/Adaptations/libhybris and look for the Motorola Photon Q row.
For more information and the image please visit:
http://www.vladislavonline.com/sailfishos-for-photon-q/
Update (13.09.2016): Update 2.0.2.48 (Aurajoki) released.
Update (11.05.2016): Update 2.0.1.11 (Taalojärvi) released. It's an initial release and doesn't support OTA and has the same issues as the previous release.
Update (28.03.2016):
CDMA: phone calls work, no data and SMS (according to @bmccrary);
GSM: phone calls, data and SMS work (verified by @santamanga);
LEDs patch: download the attached LEDs_patch.tar.gz and extract it in the root folder as root (tar xzvf LEDs_patch.tar.gz).
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Troubleshooting
If you have issues with the port, please try to obtain logs, if possible:
Connect the phone with a USB cable.
Telnet to the phone:
Code:
telnet 192.168.2.15 2323
Once connected, change the password for user nemo:
Code:
passwd nemo
Save the logs:
Code:
dmesg > /tmp/dmesg.txt
journalctl -b > /tmp/jnlctl.txt
/usr/libexec/droid-hybris/system/bin/logcat -d > /tmp/logcat.txt
tar czvf /home/nemo/Documents/logs.tar.gz /tmp/dmesg.txt /tmp/jnlctl.txt /tmp/logcat.txt
Use scp (or winscp) on your computer to copy the log:
Code:
scp [email protected]:/home/nemo/Documents/logs.tar.gz .
If you cannot connect using telnet, please boot into recovery and:
Code:
adb pull /proc/last_kmsg
OpenRepos
OpenRepos is a community driven personal repository system for Harmattan and Sailfish operating systems. It has useful applications. The easiest way to use OpenRepos is through the SailfishOS client, called Warehouse. To install it, please:
Download the latest rpm from https://openrepos.net/content/basil/warehouse-sailfishos
Install the rpm as root:
Code:
rpm -i harbour-warehouse-X.X-XX.armv7hl.rpm

i will definately get around to checking this out on my xt897 after a update or two

TacticalPower88 said:
i will definately get around to checking this out on my xt897 after a update or two
Click to expand...
Click to collapse
Great
Currently it has an issue with the orientation (it does not change) and LEDs. The LEDs work fine after restart of the mce service.
I'll do the SIM card mod on my phone next week so that I can test telephony.

Wow, another OS for our Qs! I got it to install and work on my xt897. I have CDMA service with Sprint, so will try to test phone/data service soon. Switching it over it a very time consuming process so it may be a few days before I get around to it.

Glad to see our Photon Q still got some love. Good job on the port. I'll try it soon.

Please let me know if you have issues or suggestions.

Wow! Great work!
I bought the Photon Q when the first Sailfish OS HADK Guide was released with the intention to do the port. Unfortunately I got stuck, because the display just stayed black even though the system was working fine (usb debugging, wifi, keyboard, gps, etc. worked). Did you hit that problem as well? Could you outline how you solved it?
Also I am getting "Problems during device IMEI registration. Device IMEI was not saved." when trying to add a jolla account in the settings app. Any idea?

Flyser said:
Wow! Great work!
I bought the Photon Q when the first Sailfish OS HADK Guide was released with the intention to do the port. Unfortunately I got stuck, because the display just stayed black even though the system was working fine (usb debugging, wifi, keyboard, gps, etc. worked). Did you hit that problem as well? Could you outline how you solved it?
Also I am getting "Problems during device IMEI registration. Device IMEI was not saved." when trying to add a jolla account in the settings app. Any idea?
Click to expand...
Click to collapse
Thank you
Initially it had to be build with QCOM_BSP set, now this is handled automatically.
In order to get access to the store, you should contact Jolla on IRC #sailfishos-porters channel on Freenode.
You need to:
Do `ssu s`, Device UID should show a unique ID (IMEI for devices with modem, note - your GSM modem should provide a valid IMEI even without SIM! For devices without modem -- WLAN or BT MAC address).
Find another port/phone and prove that unique ID there is different than yours, and that all of them persist across reboots.
Click to expand...
Click to collapse
Now, that there are two of us running SailfishOS on Photon Q, we can get access to the store, because we can prove that IDs are unique

This Sailfish OS - how would you describe it compared to stock, and other variants?
Sent from my XT897 using XDA Free mobile app

schmandroid said:
This Sailfish OS - how would you describe it compared to stock, and other variants?
Sent from my XT897 using XDA Free mobile app
Click to expand...
Click to collapse
It's hard to tell yet, because I haven't really started using it. I need to do the SIM mod first and I also need access to the Jolla store. Currently I have just a few apps installed.
One thing that impressed me though is the gesture based UI of Sailfish OS. It's so intuitive that I got used to it very quickly and now I am trying to use gestures on my primary Android phone
A review of Sailfish OS 2.0:
http://www.sitepoint.com/a-first-look-at-sailfish-os-2-0/

To test phone/data I installed on my main Photon Q, but get the message "The settings are not available without SIM card" when I go to Cellular Network from the Settings screen. I don't have a SIM card mod, and use CDMA/Sprint. If there's anything I could do that would help please let me know.

bmccrary said:
To test phone/data I installed on my main Photon Q, but get the message "The settings are not available without SIM card" when I go to Cellular Network from the Settings screen. I don't have a SIM card mod, and use CDMA/Sprint. If there's anything I could do that would help please let me know.
Click to expand...
Click to collapse
Thanks for trying the image. It looks like the cell radio is not working.
Can you please reboot the phone and save the logs:
Connect the phone with a USB cable.
Code:
telnet 192.168.2.15 2323
dmesg > /tmp/dmesg.txt
journalctl -b > /tmp/jnlctl.txt
/usr/libexec/droid-hybris/system/bin/logcat -d > /tmp/logcat.txt
Please either upload the logs in pastebin or send them to me.
My Skype is vladislav_evgeniev, you can also contact me on IRC #sailfishos-porters, nickname vevgeniev

Funny - I went to the link & it was just all blank white page.
Anyway - hope it works out & becomes another viable option.
Sent from my XT897 using XDA Free mobile app

schmandroid said:
Funny - I went to the link & it was just all blank white page.
Click to expand...
Click to collapse
It might have been temporarily network glitch. The page has been up & running for two weeks now.

Tested with SIM moded Photon Q but no network found.
I tested SailfishOS 2.0 on Photon Q which has moded SIM socket.
Result, you can not use mobile network because this OS can not get the mobile signals. I think modem file does not work properly.
However, This OS can be used by Wifi and Bluetooth connection. I tested web surfing using integrated web browser, It really has a fast and smooth speed. No other android rom can catch this OS so far. I don't understand how this rom can have this performance. This OS is a kind of revolution.
I am really looking forward to use this rom with mobile signals.
This is the greatest OS ever.

zzangu83 said:
I tested SailfishOS 2.0 on Photon Q which has moded SIM socket.
Result, you can not use mobile network because this OS can not get the mobile signals. I think modem file does not work properly.
Click to expand...
Click to collapse
Thanks a lot for trying it out! I still have not applied the SIM mod to my phone, so unfortunately I cannot test the GSM module yet
Can you please save the phone logs:
Connect the phone with a USB cable.
Code:
telnet 192.168.2.15 2323
dmesg > /tmp/dmesg.txt
journalctl -b > /tmp/jnlctl.txt
/usr/libexec/droid-hybris/system/bin/logcat -d > /tmp/logcat.txt
Also what do you think about the battery life?

Where are the save log files? I can connect to telnet and get the information you want but i can not see the phone. There is no file explorer basically.
When i change USB mode to Mass storage to get the file, both messaged appears at the upper side USB cable removed, qtn_usb_mount_failed and can not see the drives in windows.
I can not explain about battery life because i think no means with battery life without mobile signals.
I found that SD memory card seems not work in this OS. No detection messages when i insert memory card.
vevgeniev said:
Thanks a lot for trying it out! I still have not applied the SIM mod to my phone, so unfortunately I cannot test the GSM module yet
Can you please save the phone logs:
Connect the phone with a USB cable.
Code:
telnet 192.168.2.15 2323
dmesg > /tmp/dmesg.txt
journalctl -b > /tmp/jnlctl.txt
/usr/libexec/droid-hybris/system/bin/logcat -d > /tmp/logcat.txt
Also what do you think about the battery life?
Click to expand...
Click to collapse

zzangu83 said:
Where are the save log files? I can connect to telnet and get the information you want but i can not see the phone. There is no file explorer basically.
Click to expand...
Click to collapse
The log files are saved in the /tmp/ folder. Here're modified commands that will save the archived logs in the Documents folder:
Code:
telnet 192.168.2.15 2323
dmesg > /tmp/dmesg.txt
journalctl -b > /tmp/jnlctl.txt
/usr/libexec/droid-hybris/system/bin/logcat -d > /tmp/logcat.txt
tar czvf /home/nemo/Documents/logs.tar.gz /tmp/dmesg.txt /tmp/jnlctl.txt /tmp/logcat.txt
There is a file manager in openrepos.net. You can install Warehouse (https://openrepos.net/content/basil/warehouse-sailfishos) and then search for FileCase.

Thanks for working around the display problem.
I had also problems with the display when doing port in 2014, everything else pretty much worked.
Here's shot from my daily phones (still using photon as my main phone, for over 3 years now )

Sorry for late response.
I tried to install warehouse you introduced but i can not install this file on Photon Q. There is no single message about install but just no response when i touch + install icon. I don't know how to solve this problem.
I am having a trouble to pull out debug messages you want. No SD card, file explorer available. I can not go further action.
vevgeniev said:
The log files are saved in the /tmp/ folder. Here're modified commands that will save the archived logs in the Documents folder:
Code:
telnet 192.168.2.15 2323
dmesg > /tmp/dmesg.txt
journalctl -b > /tmp/jnlctl.txt
/usr/libexec/droid-hybris/system/bin/logcat -d > /tmp/logcat.txt
tar czvf /home/nemo/Documents/logs.tar.gz /tmp/dmesg.txt /tmp/jnlctl.txt /tmp/logcat.txt
There is a file manager in openrepos.net. You can install Warehouse (https://openrepos.net/content/basil/warehouse-sailfishos) and then search for FileCase.
Click to expand...
Click to collapse

Related

VPN Connections (Cisco VPNC GUI) for BusyBox 1.17.1+

EDIT: The Problem with the "ps" command described below only happens with "newer" Versions of BusyBox. The modified Version works with BusyBox 1.17.1 (confirmed) and most likely with 1.17.0 since they changed "ps" in 1.17.0 (quote from changelog: "ps: fix non-DESKTOP option handling code"). If you have installed an older Version of BusyBox or an older Version is included in your ROM you can get "VPNC Connections" from the market or the developer page. The market Version works with Busybox 1.16 (confirmed) and maybe with older Versions. If you run the original Program or my modified apk with a other Version of Busybox than 1.17.1 or 1.16 it would be nice if you tell me which version works so i can update this posting.
(To check your "BusyBox" Version use adb (command: adb shell busybox) or a Terminal emulator (command: busybox) )
Original posting:
Hey,
First of all i hope its right to post this here and not in "Themes and App" forum. Since i modified the VPN Connections App to work with LeeDroid ROM i think this should be the right subforum since it is a ROM specific APP.
"Prolog"
After messing around with the "VPN Connection app" (get-a-robot-vpnc) i got it working with LeeDroid 2.1/2.1a Rom by editing some code. Since i have almost no idea of coding i'll tell what i modfied (i took some code from the Issue List of google code of get-a-robot-vpnc).
But First:
Min Requirement:
-HTC Desire (rooted)
-LeeDroid 2.1/2.1a ROM
-Knowing what you are doing!
---or----
FroYo Rom with:
-HTC Desire (rooted)
-Busybox (Same Version as in LeeDroid)
-tun.ko (same Version as in LeeDroid)
-Knowing what you are doing!
Why did you edit the code?
1. The App didn't recognize a working connection. After connecting the app tells you that the connection failed, although the vpnc process is running. This is because the "ps" Version of busybox (the one coming with LeeDroid - dont know which version this is atm) isnt compatible with the 0.99 release of VPN connections. (Compare to Issue 122 ) The app checks a working connection with this command:
Code:
ps | grep 'vpnc$'
If i try this though adb shell i dont get any output even if vnc is running. But by using this:
Code:
ps | grep '[v]pnc --script'
I get an output like this (PID might be different):
Code:
6727 0 0:00 /data/data/org.codeandroid.vpnc_frontend/files/vpnc --script /data/data/org.codeandroid.vpnc_frontend/files/vpnc-script --no-detach
After editing this part of the code the app recognizes the working connection correctly.
2. Even if vpnc is running properly i still didn't get the IP of the VPN Network (checked with "http://www.whatismyip.com"). This has something to do with IP Tables. After i used this command in "adb shell" (as mentioned inIssue 114, Issue 124 and the LeeDroid Rom thread):
Code:
su
ip ru del table wifi
i got the ip of my Network.
So i changed the vpnc-script coming with the svn revision 140 to this: http://code.google.com/p/get-a-robo...script&token=69c1649b4f4dfa8358813b317d7eda24
I dont knwo if this is still a problem with the ip tables fix for OpenVPN coming with LeeDroid 2.1a (or with the MOD for 2.1) since i didn't try it with that. The modified code works with or without the mod for wifi and gprs so there was no need for me to try it without the changes.
Exact Steps of how i edited the code
As I said i can't code (at least i understand the "ps | grep" command ) and i didnt work with Eclipse or the SDK before (i only used the adb tool). All i did was to include availaible code from the Issue list and created an apk. You can do this yourself following the steps.
1. Have a working Eclipse (mine is 3.5) with SDK Tools for Android and "Google APIs Plattform 2.2 API Level 8). Check here how to install.
2. Download the svn from here
3. Open (svn root dir)/packages/apps/get-a-robot-vpn-fronted/ with eclipse. Do this by making a "New Android Project" and select "create project from existing source". Project name should be changed to "get-a-robot-vpn-frontend" to apply the patch.
4. If you have the following Error in the Problems you might remove it (worked fine for me):
Code:
DialogInterface.OnClickListener(){} must override a superclass method VPNC.java /VPNC2/src/org/codeandroid/vpnc_frontend line 541 Java Problem
As I said: I have no idea of coding and since its code from the original app i just ignored this error. Some who knows what this does might wanna change it or report it to the Issue List .
5. Apply this patch (1.) or this patch (2.). Do this by rightclicking on the Project -> Team -> Apply Patch.
The first patch changes the "ps grep" AND gives you a Notification icon (if notification is enabled in the Options) for a RUNNING connection (not only for disconnects like in the original app).
The second patch only changes the "ps grep". Since its only one line of code you can edit it also by yourself.
6. Modify the "vpnc-script" (/assets/vpnc-script) accordingly to/replace with this version:
This lets the vpnc script do the "ip ru del table wifi/gprs" for you.
7. Export as apk and install it.
8. ???????
9 Profit
Other ROMS than LeeDroid.
I didn't try this (yet) with any other ROM. According to Issue 124 the "ip ru del table wifi/gprs" is an Issue with all FroYo Roms, but i have no idea about the "ps" version of busybox. You can try the following before using my vpnc.apk or building your own:
1. Get the official apk (http://code.google.com/p/get-a-robot-vpnc/downloads/list) (V 0.99) and install it.
2. Create a New VPN Connection.
3. Connect. (dosn't matter if the app tells you the connection failed)
4. Use the following command in "adb shell":
Code:
ps | grep '[v]pnc --script'
If you get an output this version should work for you. If not then the original version may already work and you arent reading this.
5. Use the following command in adb shell (for either wifi of gprs):
Code:
ip ru del table wifi
---or----
Code:
ip ru del table gprs
6. Check your IP to see you are connected through the VPN.
If you get an output in 4. and your IP is correct after doin step 5 this apk should work for you. If you dont get any output on step 4 you might wanna find out what version of "ps" your busybox is using and change the "grep" command accordingly (someone who has more idea of linux then me might be able to help you).
Epilog
I tested the App on Leedroid 2.1 and fresh installed (wipe) 2.1a and it worked as intended. If you try it on an other ROM some feedback would be nice.
Have Fun
melethron
Attachment: The App
YOU SHOULD KNOW WHAT YOU DO BY INSTALLING THIS! I GIVE NO WARRANTY! BEST WOULD BE TO BUILD THE APK YOURSELF ACCORDING TO THIS POST!
http://dl.dropbox.com/u/11091326/Android/vpnc.apk
http://rapidshare.com/files/420985331/vpnc.apk.html
Thanks alot! You saved my day because I can't use the WPA 802.1x enterprise with LeeDroid 2.1a cause HTC forgot to implement the certificate-selection-field in WiFi-settings. So I have to use the VPN server of my university.
That's awsome my friend. I was searching for something like this 3 weeks now cause i need it for my university. I works great on my Custom Rom.
The only glitch is that when in VPNconnections it has a date under my server set up, 1970 and when i connect it say failed to connect.
BUT IT IS CONNECTED even if it says failed. i tried connecting with ConnectBot, BTEP SSH Client and AndFTP and all works perfectly....
Nice job my friend!!!
ROM and "Not connected" Bug
Hey,
@soCram: What ROM do you use? If it's not LeeDroid i can update my posting to add the ROM its working with.
@lambrospower:
lambrospower said:
The only glitch is that when in VPNconnections it has a date under my server set up, 1970 and when i connect it say failed to connect.
Click to expand...
Click to collapse
Do you mean the original VPNconnections (from market or from here ) or the one that i modified and posted here? Because i had exact that problem you described with the original version. Thats the reason i applied the patch and packed the .apk new. It is (as i already said) because VPNconnections uses "ps" to check if "vpnc" is running. (Besides the other problem with the "ip ru del table wifi" stuff)
If you want that Problem to be fixed you can try the following commands in a Terminal (either use "Terminal Emulator" or "Connect Bot") after starting the conncetion:
1.:
Code:
ps | grep 'vpnc$'
2.:
Code:
ps | grep '[v]pnc --script'
You should get an output on one of these 2 commands. The output should look like this (1. Number might be different):
Code:
1234 0 0:00 /data/data/org.codeandroid.vpnc_frontend/files/vpnc --script /data/data/org.codeandroid.vpnc_frontend/files/vpnc-script --no-detach /
1. If the 1. command works for you, then get the original version from here or from the market:
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
2. If the 2. command works then the patched version in this thread should work.
3. If you get an output like this:
Code:
sh: ps: command not found
...then you don't have "busybox" and need to install it (don't know how since LeeDroid has it included)
4. Well and if the 1. command works and the original programm is telling you are connected but it doesn't work then it might be because of the ip tables. Then try this (also after you are connected):
for wifi
Code:
ip ru del table wifi
for gprs:
Code:
ip ru del table gprs
If it works then i might pack you a new .apk with the "ip ru ..." fix but without the "ps" patch.
If you have questions go on and ask. It shouldn't be that hard to get it to work proberly, since the bug is only the method "VPNconnection" is using to check if "vpnc" is running.
I can't "code" and im no "pro" but at least i know some "basic shell commands" and can edit that simple part of the code and pack *.apk new, so we might to get i run properly for you.
Btw: Credit for the Programm goes to wmealing and babak.mozaffari. Credit for the "ps patch" goes to nikolas.pooch. All I did was to apply the patch to the code and build the .apk new since the devs don't work on the programm for quite some time and didn't fix the reported issues.
kind regards
melethron
i downloaded the attached vpnc.apk
i get a message with 1...
6829 root 1300 S /data/data.org.codeandroid.vpnc_frontend/files/vpnc
edit: i downloaded the file from code.google and it worked wonders
but what is the
VPN connection
and what VPN Network
my university vpn works when i have both enabled or deisabled the VPN connection.
and with VPN Network connected
Vpnc script
Hey lambrospower
lambrospower said:
i downloaded the attached vpnc.apk
i get a message with 1...
6829 root 1300 S /data/data.org.codeandroid.vpnc_frontend/files/vpnc
Click to expand...
Click to collapse
Ok, then you have a different version of "ps" from your busybox version. Then you don't need to use my modified vpnc.apk. Do the following to fix it:
1. Uninstall my apk.
2. Get the one from the market or the google code page (links/QR in the posting above)
3. Connect (it should tell you now that you are connected, since the original version uses the first "ps grep" command to check the connection)
If everything works fine you are done.
If not and "VPNConnections" tells you that you are connected but the IP doesn't change and you can't use the stuff you need to do with vpn then it's a problem with the ip table (i think this is a general problem with froyo ROMS that is also happening with openvpn but i don't know for sure). To fix this do the following:
4. In terminal
Code:
su
then for wifi:
Code:
ip ru del table wifi
or for gprs
Code:
ip ru del table wifi
if your connection works fine after that command you should replace the vpnc script file:
5. Get the vpnc-script file from here.
6. Push this file with adb to:
Code:
/data/data/org.codeandroid.vpnc_frontend/files/vpnc-script
This includes the "ip ru del table wifi/gprs" command in the script so it updates your ip table when you connect and disconnect.
I will update my first posting these days and build a new .apk with only the changes to the vpnc-script file and without the patch that fixes the "ps" issue with some "busybox" versions. I don't have much time atm. So just follow the steps above and it should work.
kind regards
melethron
Edit:
lambrospower said:
edit: i downloaded the file from code.google and it worked wonders
Click to expand...
Click to collapse
Ok. But thats a bit strange since i thought that every froyo ROM has the "ip table" issue. Does your ROM include the "ip table fix" for OpenVPN? Does it disconnect proberly?
lambrospower said:
but what is the
VPN connection
and what VPN Network
my university vpn works when i have both enabled or deisabled the VPN connection.
and with VPN Network connected
Click to expand...
Click to collapse
I just disabled it and i also still can connect. As i said it's not my program and i can't code so i don't really know what it does and if this a bug. I think the devs aren't really active and fix know bugs....
well it's not a bug. I think that VPN Connection is something different than just connecting to the network.
You can disconnect by the vpn network just fine if you just click and hold your network name and choose disconnect. Its the vpn connection setting that i dunno what it is
@lambrospower
I had some issues with "sh" and Samba Server in Lee's Rom (not Lee's fault - i replaced the sh of busybox with the sh in /system/bin). That's why i looked again in the Issue with the "ps" command. The reason the original Version (market/google code) of VPNC Connections works for you is that you use an outdated Version of BusyBox in your Rom (27 January 2010 -- BusyBox 1.16.0 (unstable)) while Lees ROM uses a newer Version (25 July 2010 -- BusyBox 1.17.1 (stable)) (see: busybox.net) .
2 melethron:
Thakns, VPN IPSEC works on Desire like charm with your version of vnpc.apk.

[TOOL] SSH Tethering (no root required)

A few days ago I read about the great Koushik Dutta's ClockworkMod Tether and now, with the last release of SSHDroid (1.9.4+ is required), I want to provide you another alternative to CWM that doesn't require root too: SSH Tethering !
As you probably know, we can use (generally speaking) SSH tunneling to provide a SOCKS proxy for ours application (more info here at the "dynamic port forwarding" paragraph) so, if we could use SSHDroid in this way, we would have a ready to use proxy for "tethering" like the CWM's one!
Advantages:
Doesn't require a separate tethering plan
Not blockable or detectable by carriers
Doesn't require root
Doesn't require to install additional software on your PC
Requirements:
Device drivers installed (99% of you "should" already have that , this is out of the scope of this thread)
SSHDroid or SSHDroidPro (the pro version is not required)
There is no need to write any additional software since we already have all the tools (on all platforms) required to accomplish the job: please note that you don't need to enable USB/WiFi tethering on your device for making this work!
I already packed a ready to use version with all the tools required (Windows only by now), here it is:
SSH Tethering
SSH Tethering + Preconfigured Firefox
Steps:
Extract one of the above packages
Connect your device to the PC with USB
Start SSHDroid on your device (the preconfigured packages assume that you haven't changed the default port): please note that you probably need to disable the option "Require WiFi" in this circumstance.
Open the package directory on your PC and double click on "run_root.bat" or "run.bat" (depending if SSHDroid is running with root privilegies or not)
Wait that the console window disappers and enter the password in putty ('admin' is the default one) once required.
Ready! The proxy is active (the shipped version of putty can be iconized in the tray): you only need to configure an app of your choice for using it (if you are using the "SSH Tethering + Preconfigured Firefox" package, Firefox should automatically start and you can already use it!)
An advanced guide (in particular for Linux and Mac users) will come shortly!
I just wanted to say thank you for putting this together. I've tried this on windows vista and it worked great. Very easy. I'm wondering how I can use this to connect winamp for shoutcast streaming.
Hi can you reupload the one with pre-configured firefox? The multiuploader links no longer work. Thanks.
NguyenHuu said:
Hi can you reupload the one with pre-configured firefox? The multiuploader links no longer work. Thanks.
Click to expand...
Click to collapse
Sorry for the delay, links updated
P.S.: I hadn't the time to write a good guide yet sorry...
Strange, the multiupload links still are bad. It does't load. Can you upload to another file host or directly into xda attachment?
NguyenHuu said:
Strange, the multiupload links still are bad. It does't load. Can you upload to another file host or directly into xda attachment?
Click to expand...
Click to collapse
Links are working here, dunno why aren't for you
I attached the "lite" version in the main topic since the firefox one is too big..
Thanks! Maybe it is blocked in my country (USA). I downloaded the lite version and will try it.
EDIT: When you have time can you provide instructions to configure firefox so we can use our existing firefox install instead of the portable version? thanks!!
NguyenHuu said:
Thanks! Maybe it is blocked in my country (USA). I downloaded the lite version and will try it.
EDIT: When you have time can you provide instructions to configure firefox so we can use our existing firefox install instead of the portable version? thanks!!
Click to expand...
Click to collapse
It's very easy: just set the network configuration with "manual proxy" and socks host = 127.0.0.1, port = 5080.
Here it is what you should get:
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Hope it helps
Thank you, will test it soon.
Also, set your network.proxy.socks_remote_dns to true in firefox. Do this by using about:config.
Thanks. Do any of you know of an easy way to toggle back and forth between these settings in cases where we are at home for example and have real connection and then when we are on the road we can tether?
berserker_devel said:
An advanced guide (in particular for Linux and Mac users) will come shortly!
Click to expand...
Click to collapse
Hey man I really appreciate you doing this but I have some questions.
could you use ssh -L 5080:[email protected]:22 [email protected] to set up a http proxy?
I'm trying to tether my unrooted acer tablet to my rooted evo and I'm running into two issues:
1. no loopback device support in my tablet. It's blocked due to no root access I think...I think.
2. no ssh -D support using terminal in lubuntu 12.04. Although I think I can solve this by adding the openssh package.
Again, thanks so much for this.
---------- Post added at 03:18 AM ---------- Previous post was at 03:17 AM ----------
NguyenHuu said:
Thanks. Do any of you know of an easy way to toggle back and forth between these settings in cases where we are at home for example and have real connection and then when we are on the road we can tether?
Click to expand...
Click to collapse
I know in google chrome you can get proxy switchy! or any proxy switch. Then just click it in the upper right corner. I'm sure firefox has the same add on.
pwhitersxs said:
Hey man I really appreciate you doing this but I have some questions.
could you use ssh -L 5080:[email protected]:22 [email protected] to set up a http proxy?
I'm trying to tether my unrooted acer tablet to my rooted evo and I'm running into two issues:
1. no loopback device support in my tablet. It's blocked due to no root access I think...I think.
2. no ssh -D support using terminal in lubuntu 12.04. Although I think I can solve this by adding the openssh package.
Again, thanks so much for this.
---------- Post added at 03:18 AM ---------- Previous post was at 03:17 AM ----------
I know in google chrome you can get proxy switchy! or any proxy switch. Then just click it in the upper right corner. I'm sure firefox has the same add on.
Click to expand...
Click to collapse
Awesome, will try!
NguyenHuu said:
Awesome, will try!
Click to expand...
Click to collapse
Anytime! Make sure you reply with the results to help others!
I'd like to keep this thread going and get more advanced ssh techniques and information.
pwhitersxs said:
Also, set your network.proxy.socks_remote_dns to true in firefox. Do this by using about:config.
Click to expand...
Click to collapse
Good point pwhitersxs! I forgot to mention that the preconfigured Firefox package has that option set to true
I'm having a hard time getting my evo to ' ssh [email protected]' in lubuntu 12.04. Keep getting permission denied. I tried sudo -i or -s to no avail.
I setup adb and did:
./adb forward tcp: 22 tcp:22
ssh [email protected]
Keep getting permission denied or access denied. Maybe I'll try to setup a key and see if that helps? I'm lost on why it won't connect. Using the package for windows, it works perfectly, just does not want to work in lubuntu.
ok, got it to work. For those who are interested in using this with any variant of ubuntu this is what I did. I'm on lubuntu.
open a terminal:
sudo -i
enter your password
now do a passwd and re-enter your password. the reason I discovered, this is what causes the access denied to localhost. Once I did this step, I no longer got access denied. You may be able to skip this if you have no problem.
now ssh [email protected] to test. enter password and it'll take you to your own computer. this is just to test. If you have a problem, make sure you have openssh and openssh server installed.
---ADB---
follow cyanogenmods guide to install adb. Once downloaded,
cd to directory
./adb*kill-server
sudo ./adb*start-server
./adb*devices
your device should show. If not, check that usb debugging is on. I had an issue with the sdk not downloading properly. Fixed with updating/installing openjdk. else, google it
Now since my ssh droid is on port 24 this is what I did.
./adb forward tcp:24 tcp:24 and forwarded ports
ssh -D 5080 [email protected] -p 24
add proxy anywhere to chrome, add your port which for me is 5080, enjoy.
---CONDENSED LIST OF COMMANDS---
sudo -i
cd /home/user/android-sdk-linux/platform-tools
./adb kill-server
sudo ./adb start-server
./adb devices
./adb forward tcp:24 tcp:24
ssh -D 5080 [email protected] -p 24
Hey,
This seems great and I'd love to use it, but when I try to run "run.bat" it says:
adb server is out of date. killing...
*deamon started successfully*
Then a putty fatal error saying:
server unexpectedly closed network connection
Can I have any help? Running a Win7 machine. Sorry for the newb question...
article
Nice work Berserker. While trying to preconfigure Firefox and mirror it for you I cranked out an article on your SSH Tethering (in addition to another on your daemon apps), check it out: mobilitydigest.com/tether-under-the-rader
Was trying to setup and run from linux, however am getting "error: cannot bind to socket" when entering the adb forward command using default port of 22, I assume due to sshd running.
Switching SSHDroidPro over to 24 per pwhitersxs's example, I am able to bind the ports, and able to run the ssh command, which essentially opens an ssh session to the phone. But am unable to browse the internet at this point (chromium proxy setup - socks 127.0.0.1:5080 as per example in thread above).
[21:48 ] > adb forward tcp:24 tcp:24
[21:48 ] > ssh -D 5080 [email protected] -p 24
SSHDroidPro
/storage/extSdCard #
Note I have key for user root so am not manually entering any password...​
EDIT - DOH nevermind... had wrong socks version selected lol. It's always the small things :banghead:
Once I selected SOCKS 5 everything worked like a champ! Well Done! :good:

[GUIDE] How to ROOT your “Bird v1277” MTK 6577 Dual SIM mobile phone

Found this on the Internet not my work, I now have a ROOTED fully working mobile running Ice Cream Sandwich, all credit goes to "TPSparky" for the development of the software.
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
First of all, go to the settings - Developer options and check "USB debugging"
Your phone NEEDS to be recognized as an "ADB Device" in "Device Manager" on your pc, or else this won't work!
Download this file:
https://rapidshare.com/files/1767087805/4.0root.rar
Unpack the RAR.
Double click the TPSparkyRoot.bat
TAKE YOUR TIME!!! Your phone will re-boot several times, be patient!!! The procedure should look something like this:
Once it's successful, your phone should now have a "Superuser" app installed and it should be rooted
YOU ARE DOING THIS AT YOUR OWN RISK!!!!
Will that not stop the Dual Sim Function on hte mobile phone I presume we are on about the same product.
Is this the same product as yours.
http://www.freeyourmobile.com/produ...SIM-Phone-with-4.3inch-touch-screen-M306.html
Can you upload pics somewhere else? Imageshack links are dead.
freeyourmobile said:
Will that not stop the Dual Sim Function on hte mobile phone I presume we are on about the same product.
Is this the same product as yours.
http://www.freeyourmobile.com/produ...SIM-Phone-with-4.3inch-touch-screen-M306.html
Click to expand...
Click to collapse
IcedFlame said:
Can you upload pics somewhere else? Imageshack links are dead.
Click to expand...
Click to collapse
Hi freeyourmobile, Yes it looks the same as my BIRD V1277 mobile.
Hi IcedFlame, no problem, but can you tell me where I should re-upload the pictures to?
RESPECT...
freeyourmobile said:
Will that not stop the Dual Sim Function on hte mobile phone I presume we are on about the same product.
Is this the same product as yours.
http://www.freeyourmobile.com/produ...SIM-Phone-with-4.3inch-touch-screen-M306.html
Click to expand...
Click to collapse
Hi freeyourmobile, dual sims work just fine.
chunky2 said:
Hi IcedFlame, no problem, but can you tell me where I should re-upload the pictures to?
RESPECT...
Click to expand...
Click to collapse
imgur (.com)
tinypic (.com),
photobucket (.com)
postimage (.org)
Thanks :good:
Hi All, Re-uploaded images, this time from photobucket.
RESPECT....
Hello chunky2,
I've searched everywhere on the internet, but I did'nt find an answer.
Does this Phone have a built in compass?
weissgold said:
Hello chunky2,
I've searched everywhere on the internet, but I did'nt find an answer.
Does this Phone have a built in compass?
Click to expand...
Click to collapse
Hi, Not sure at the moment as I did a factory reset to clear out some old data and now its lock in recovery mode and I dont know how to get out of it.
Oh - I feel sorry for that.
Thanks Enelna from Hungary
V12 / v1277
I Think we should call this type of phone by its model which is V1277 and V12 respectively.
V12 looks perfectly the same as V1277 but it has MT6575 cpu which on the otherhand;
V1277 has MT6575 version 2 which they code named MT6577.
I think if we all agree with this we could identify/classify right away which phone was it whether its brand is either star, ulefone, bird or what not. Right?
By the way, Is anyone here got to try flashing a custom rom for this kind of phone like the MIUI? :fingers-crossed:
Rooting failed
I desperately need your help because i know that you are my life saver.
Model number: I9100
CPU: MTK6573
Android version: 4.0.9
Baseband version: I9100XXK13
Kernel version: 2.6.35.7-I9100
Build number: GT_I9100_01
Custom build version: 1341280728
After the first rebooting the output text is : cannot create /data/local.prop: permission denied.
I have tried it 3 times but with the same problems. Is your rooting program dedicated only for MTK 6577 because mine is MTK 6573. Do you have some clues on how to fix this. Thanks for your time in helping me out. :fingers-crossed:
possible solution
shaamt said:
I desperately need your help because i know that you are my life saver.
Model number: I9100
CPU: MTK6573
Android version: 4.0.9
Baseband version: I9100XXK13
Kernel version: 2.6.35.7-I9100
Build number: GT_I9100_01
Custom build version: 1341280728
After the first rebooting the output text is : cannot create /data/local.prop: permission denied.
I have tried it 3 times but with the same problems. Is your rooting program dedicated only for MTK 6577 because mine is MTK 6573. Do you have some clues on how to fix this. Thanks for your time in helping me out. :fingers-crossed:
Click to expand...
Click to collapse
I had a similar problem when trying to root my bird v1277 with Android 4.0.4
I ended up having to do the first steps of the script manually combining the phone's engineer menu and the adb shell.
The objective is to put the local.prop file, with ro.kernel.qemu=1 in it, in the /data directory so that the phone will run in emulater mode and give adb a root shell.
For this I created the local.prop file on my computer and pushed it to /data/local/tmp. Then I entered the engineer mode on my phone and searched around and found a place where you can type shell comands as the system user and copied the local.prop file to /data with busybox.
Hope this helps you
Instructions:
[email protected]$ adb push local.prop /data/local/tmp/local.prop
from PC: adb push busybox /data/local/tmp/busybox
from PC: adb shell chmod 0777 /data/local/tmp/busybox
Enter engineer mode by typing on the dialpad *#15963#* (this may vary from phone to phone so search around if this code doesn't work).
Goto CDS Information / Network Utility. Then run: /data/local/tmp/busybox cp /data/local/tmp/ocal.prop /data/local.prop
You can run: ls /data to confirm local.prop is there.
Reboot.
From here on you can either manually do the rest of the script or copy the rest of it to a new script and run it.
EDIT: amended to make it actually work (originally tred to use mv instead co pushing busybox and using cp.
EDIT2: amended adb chmod to adb shell chmod
Engineer Mode Help for MTK Device
For the last few days i've being trying to get the engineer mode code for my phone but failed until i hit "mtk engineer mode" through googling. There is an application called "Mobileuncle MTK Tools" that could excess the engineer mode of my mtk phone.
Mobileuncle MTK Tools is able to list down the menu in engineer mode but there are no CDS Information / Network Utility in the list. The menu listed are as follows:
Battery Log
TouchScreen
GPRS
Audio
Camera
WiFi
Bluetooth
NetworkInfo
AutoAnswer
YGPS
AGPS
EPO
VideoTelephony
Display
Memory
IO
Power
BaseBand
FM Receiver
SIMMeLock
SystemLog
De-Sense
CPU Freq Test
BandMode
I'm hoping that you may have some clues on the next step of solving this problems of mine. Thanks for your time in helping me and i appreciate it very much.
FrankVM said:
I had a similar problem when trying to root my bird v1277 with Android 4.0.4
I ended up having to do the first steps of the script manually combining the phone's engineer menu and the adb shell.
The objective is to put the local.prop file, with ro.kernel.qemu=1 in it, in the /data directory so that the phone will run in emulater mode and give adb a root shell.
For this I created the local.prop file on my computer and pushed it to /data/local/tmp. Then I entered the engineer mode on my phone and searched around and found a place where you can type shell comands as the system user and moved the local.prop file to /data
Hope this helps you
Instructions:
[email protected]$ adb push local.prop /data/local/tmp/local.prop
Enter engineer mode by typing on the dialpad *#15963#* (this may vary from phone to phone so search around if this code doesn't work).
Goto CDS Information / Network Utility. Then run: mv /data/local/tmp/local.prop /data/local.prop
You can run: ls /data to confirm local.prop is there.
Reboot.
From here on you can either manually do the rest of the script or copy the rest of it to a new script and run it.
Click to expand...
Click to collapse
Hello
I do have a V1277 as well, but I'm not that up to date on android manipulations. Thing is, that I went into the engineer mode, got to CDS info/network utility. Ran ls /data and saw the local.prop. (I'm not sure if I did it before the " Then run: mv /data/local/tmp/local.prop /data/local.prop" or not...sorry...I'm noob). And also I ran the
Anyways. Everything still gives me error messages telling me that access is denied. In fact the mv command as well.
I guess I may be missing the first line of your instructions. If you have time can you please explain it a bit more deeply? (I got the TPSparkyRoot thing, with adb.exe in it, tried running the command adb push from total commander and also adb terminal)
Thanks in advance
Hi everyone.
I recently bougth a micro d-hdmi to hdmi for my v1277 so that I could use it to connect to my lcd tv.
I connected it and it works. The only thing that bothers me is that it won't go on full screen on the tv. The picture is always on portrait and centered at the lcd which kind a disgusted me. I cannot find any options on the hdmi menu to turn it to fullscreen or have it default to landscape mode just to use the whole screen real state.
Does anybody knows howntp do it? Is there an app to solve this that is available on google play.
Help.
Sent from my V1277 using xda app-developers app
shaamt said:
For the last few days i've being trying to get the engineer mode code for my phone but failed until i hit "mtk engineer mode" through googling. There is an application called "Mobileuncle MTK Tools" that could excess the engineer mode of my mtk phone.
.
Click to expand...
Click to collapse
Try these ones *#*#3646633#*#* or *#3646633#
You can also check if SystemLog / NetLog has an operational shell command box
---------- Post added at 01:47 AM ---------- Previous post was at 01:27 AM ----------
Nekem8 said:
Hello
I do have a V1277 as well, but I'm not that up to date on android manipulations. Thing is, that I went into the engineer mode, got to CDS info/network utility. Ran ls /data and saw the local.prop. (I'm not sure if I did it before the " Then run: mv /data/local/tmp/local.prop /data/local.prop" or not...sorry...I'm noob). And also I ran the
Anyways. Everything still gives me error messages telling me that access is denied. In fact the mv command as well.
I guess I may be missing the first line of your instructions. If you have time can you please explain it a bit more deeply? (I got the TPSparkyRoot thing, with adb.exe in it, tried running the command adb push from total commander and also adb terminal)
Thanks in advance
Click to expand...
Click to collapse
ok run these commands and tell me what they say and I'll try and figure out what is going on:
id
ls -ld /data
cat /data/local.prop
All,
I have sucessfully rooted my v1277 using the same procedures on how to root lenovo p700.
[Guide] how to root lenovo p700http://forum.xda-developers.com/showthread.php?t=1774567
You can try it also and please READ, understand, follow and execute the procedures carefully then you will succeed.
Sent from my V1277 using xda app-developers app
Engineer Mode Help for MTK Device
FrankVM said:
Try these ones *#*#3646633#*#* or *#3646633#
You can also check if SystemLog / NetLog has an operational shell command box
---------- Post added at 01:47 AM ---------- Previous post was at 01:27 AM ----------
Click to expand...
Click to collapse
I think i've tried all the engineer code listed on forums/web but anyway i tried again the one given by you and the result are still the same.
SystemLog / NetLog has no operational shell command box. But anyway i've installed "Terminal Emulator" from google play.
From the shell command in the device are there any way for me to check any directory that allowed system user running in emulator mode and give adb a root shell.

[APP][2.2+][ROOT][WiFi] Reaver-GUI for Android

{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Reaver for Android v1.30
Reaver-WPS GUI for rooted devices with bcm4329/4330 wifi chipset or working external wifi card.
INFO:
Reaver for Android, short RfA, is a simple-to-use Reaver-GUI for Android devices with monitor-mode support.
It has some very cool features:
Detects automatically WPS-enabled routers.
All Reaver-Settings are accessible from a simple-to-use GUI.
Activates and deactivates Monitor-Mode automatically when needed.
Provides a simple way to connect when Reaver finds the WPA-Key.
External script support
Project status: PRE-FINAL
What does this mean?
There are some features which are not implemented yet.
Developement will continue very soon.​
Installation
Download/install bcmon.apk from HERE and RfA.apk from the bottom of this post. RfA may also download bcmon automatically.
Run bcmon, if it crashes try a second time.
If all runs fine, start RfA. If not, your device may be not bcmon compatible. Please see second post.
After selecting an WPS-enabled router, click on "Test Monitor-Mode".
Now you can use RfA, don't uninstall bcmon.
Steps 1 - 4 are only for the installation, they don't have to be repeated once done.
FAQ:
What is this awesome app actually usefull for?
Well, RfA is able to unveil the actual WPA(2)-Key of many routers within 2 - 10 hours.
WHAT?! I though WPA(2) is safe?
It used to be, but then many router models got WiFi Protected Setup, short WPS, implemeted, which is pretty vulnerable. (Details)
Basically it's a Brute-Force attack with Reaver against a 8 digit pin with 10^4 + 10^3 possibilities.
What is Reaver?
Reaver-WPS is a pentesting tool developed by Tactical Network Solutions.
It attacks WPS-enabled routers and after the WPS-Pin is cracked, it retrieves the actual WPA-key.
Reaver provides only a terminal interface, which is ok for notebooks etc., however it's a pain on Android devices.
Because of this I developed RfA.
Doesn't Reaver requires monitor-mode and so can't work on Android?
Yes, Reaver needs monitor-mode, but thanks to bcmon (or external wifi cards) some Android devices are now monitor-mode capable.​
bcmon compatibility
Developed and tested on: Nexus 7 2012 (Stock 4.3)
RfA *should* work on all devices with bcmon support (Broadcom bcm4329/bcm4330 chipsets)
Simply try by installing bcmon. Don't worry, if something goes wrong a simple reboot should fix everything.
For external wifi cards please see second post.
Tested & works on:
Nexus 7 2012 (Stock 4.3, Cyanogen 9)
Huawei Honour (Cyanogen Mod based ROM)
bcmon does NOT work on:
Samsung Galaxy S3/4/5
HTC One
LG G2
Nexus 4/5
Nexus 7 (2013)​
Credits & used tools:
Monitor-Mode over bcmon.apk:
Omri Ildis, Ruby Feinstein & Yuval Ofir
See: bcmon.blogspot.com
Reaver-WPS:
Tactical Network Solutions
See: code.google.com/p/reaver-wps/​
Disclaimer
Attention: Hacking of networks is illegal without having the permission of the owner! The developer is not responsible for any damage etc. this app could cause.
This software is only intended to show a big security hole, not to be able to surf in the neighbours Wifi​
XDA:DevDB Information
Reaver-GUI for Android, App for all devices (see above for details)
Contributors
SOEDI, bcmon team & Tactical Network Solutions
Version Information
Status: Stable
Current Stable Version: 1.30
Stable Release Date: 2014-07-01
Beta Release Date: 2013-11-04
Created 2013-09-24
Last Updated 2014-09-27
Second Post
If anyone has working Andorid drivers for external Wifi cards, please let me know,
If the layout looks strange on your phone, please send me a screenshot, so I can fix it
I have only a tablet and HD phone (emulator works to slow), so can't test the layout properly.
Usage of custom-scripts
To make RfA less dependent from bcmon, which seems to be dicontinued, I introduced custom monitor-mode-activation scripts.
Please note that those scripts only have sense for you, if you are already able to use monitor-mode on your device. Ether via special firmware for the internel wifi card or a kernel, which properly supports external wifi cards. Those scripts serve only as a "connector" between your wifi interface and RfA.
In order to enable this function you need to open RfA settings, tap on "Monitor-Mode settings" and disable the "Use bcmon" checkbox.
There are 3 different scripts you can specify:
Activation script
This script will be executed in it's own directory.
It should enable monitor-mode and exit.
Example:
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
Click to expand...
Click to collapse
Warm-up script
RfA will read in this script as textfile and execute the commands internally. This is needed to execute reaver in the same terminal session as the script.
It should do all prepartions before Reaver is started. At least it has to cd into the directory where the reaver binary is.
Example:
Code:
#!/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
Click to expand...
Click to collapse
Stop script
This script will be executed in it's own directory.
It should disable monitor-mode and exit.
Code:
#!/bin/bash
svc wifi enable
echo "rfasuccess"
Click to expand...
Click to collapse
Additional Information
You have also to specify your wifi-interface.
The given examples are those scripts, which RfA uses by default when you enable the "Use bcmon" checkbox.
The activation and stop script have to echo "rfasuccess" in order to tell RfA that they were executed properly. With this method you can also implement a sort of error-checking, by returning "rfasuccess" only when everything went fine.
Click to expand...
Click to collapse
Interesting.... nice job.
But better not let this get into the wrong hands, with these Admin Password hacking apps going on, anyone can take over someones router.
Sent from my super rare, old Scroll Excel running Android 2.3 using the offical app.
DOES DAT APP RUN ON DEVICES STILL ROCKIN 2.3?
Great job folks.
But for some reason user mode bcmode do not work well on HTC HD2 and my custom firmware, so I am using system module bcmon which create eth0 monitor interface instead of wlan0 (wifi0).
Can you please add interface selection or auto-detect interface in monitor mode ?
Tnx !
interface support
Hi,
RfA supports wlan0 and eth0 interface.
The problem seems to be the startup script and location of the Reaver binary, which seems to be different on your HD2.
Please describe exactly how you start monitor-mode, so I can update RfA
regards,
SOEDI
SOEDI said:
Please describe exactly how you start monitor-mode, so I can update RfA
Click to expand...
Click to collapse
Ok.
I have downloaded module src code from https://code.google.com/p/bcmon/source/browse/#svn/trunk/bcm4329/driver/src/bcm4329
Compile for my kernel and use with script that switch drivers with:
Code:
insmod bcm4329.ko firmware_path=fw_bcm4329.bcmon.bin
Firmware version is from https://code.google.com/p/bcmon/source/browse/#svn/trunk/bcm4329/fw
After that I can use sniffer like airodump (airodump -i eth0) and aireplay without need to switch monitor mode with airmon.
---------- Post added at 08:01 AM ---------- Previous post was at 07:11 AM ----------
Ahh, I have just researched the problem.
Problem is at enable_bcmon
Code:
./enable_bcmon
error: SIOCGIFFLAGS (No such device)
error: SIOCGIFFLAGS (No such device)
Couldn't find device index: No such device
I have also tried to start reaver with ./reaver -i eth0 -b 90:F6:52:C0:22:9C -c 1 -a -vv -w -S, but old problem with this drivers occurred, failed to associate to AP (it is not range problem, it is old known inject problem with kernel module driver)
Just have to find a way to make new bcmon working.
[/COLOR]Ahh, I have just researched the problem.
Problem is at enable_bcmon
Code:
./enable_bcmon
error: SIOCGIFFLAGS (No such device)
error: SIOCGIFFLAGS (No such device)
Couldn't find device index: No such device
I have also tried to start reaver with ./reaver -i eth0 -b 90:F6:52:C0:22:9C -c 1 -a -vv -w -S, but old problem with this drivers occurred, failed to associate to AP (it is not range problem, it is old known inject problem with kernel module driver)
Just have to find a way to make new bcmon working.
Click to expand...
Click to collapse
Ok, I see where the problem is....
The method to activate Monitor-Mode over bcmon.apk is:
Code:
define some paths
./enable_bcmon
But if you have self compiled modules:
Code:
sh setup.sh
?define tools path?.
Also on the bcmon website they said they fixed injection. Have you installed the newest firmware files and modules?
If you want to use bcmon.apk instead, maybe try to reinstall BusyBox. Some users reported this fixed their problems.
After you got your Monitor-Mode working, post it and I will update RfA.
reagrds,
SOEDI
First of all thank You SOEDI
Finally someone did it.. reaver is on android...
However i find the job of making it functional only half done...
as i understood from reaver forums it works best with wireless cards based on RTL8187 chipsets
in addition on the site of those modded bcmon drivers there is a statement that it doesn't support radiotap (be it mode or whatever) wich reaver seems to require..
so my idea is why not expanding Your application by adding linux kernel driver to support usb OTG (on the go) plugged in the android device's usb port...
search for phrase "android pcap" in google and You'll find it on kismet wireless
sorry for lack of link.. aperently i'd have to write 9 additional posts to post one
there is a source code down on that site too.. and it's monitor mode with no root priviledges..
plus additionally You also could add a functionality to Your gui to choose between built-in card and the one plugged in via USB-OTG to select wich one the gui is going to use..
So.. how about it? it could be mindblowing if You'd suceed
I'd bet You'd probably make a lot of peapole happy out there
sorry 4 my eventual spelling mistakes engilsh is not my native though..
regards
GusT.
Radiotap Headers
Hi,
The new bcmon.apk method supports radiotap headers, tested and worked At least with bcm4330 on Nexus7.
Monitor-Mode over USB-OTG would be cool, but I'm working on 3 other projects, so this will take some time...
At least it's working pretty good for a beta release
For me, the precess stops at "Switching wlan0 to channel 6".
I have a Galaxy S2 (i think it has a bcm4330 chipset) and android 4.2.2
I got stuck on "Waiting for bacon from etc etc.." is it normal?
ElmirBuljubasic said:
I got stuck on "Waiting for bacon from etc etc.." is it normal?
Click to expand...
Click to collapse
typically that means nobody is using the AP at that time
Reaver
Stuck on waiting for beacon:
Usually this is a range problem.
Try to start another attack, maybe on a different router.
Stuck on switching wlan0 to channel....:
The only solution I have is to simply restart the attack.
Usually this fixes the problem...
Hey great job on getting this working! Been waiting for this for a while, the aircrack solutions out there just take too long for a phone to crack through wpa/wpa2.
I'm having some issues though btw im on samsung galazy s2x which has the bcm4330. First off the bcmon starts up and enables monitor mode just fine but when I come to scan networks in reaver it nevers successfully finds any. I've tried to increase scan time and i've enables scan fix but nothing seems to work. I know my device is in monitor mode since i can scan for networks on another app, I can also reveice data packets but it's just not working on here any ideas? thanks awesome work!
The solution is pretty simple:
RfA scans in Managed-Mode, then enables Monitor-Mode and passes the data to Reaver.
So RfA can handle the Monitor-Mode on it’s own, no need to start bcmon first
Simply start RfA with wifi on
regards,
SOEDI
Thanks for the clarification now once I've scanned for networks connections come up like it should but i'm getting a new problem when testing monitoring mode it fails. I believe that this could be because of bcmon since the app doesn't seem to properly install the modded drivers. I could be wrong. I think i'm running into compatibility issues with my rom. I'm using MIUI I'm gonna try cyanogenmod to see if it helps anything.
hi
great work but im having a problem i have a htc wildfire s
evry time i start cracking a network i get (illigal instruction ./reaver wlan....)
and then nothing i think this is from my rom mostly but im not sure
my phone is fully rooted thx in advance
Alright well guess mini was causing problems with it so I guess that's not compatible working great on 4.3
Sent from my SGH-T989 using XDA Premium 4 mobile app
I'm on 09/26 cm 10.2 nightly and using galaxy s2, router is Linksys wrt110. First I wasn't able to get past "switching wlan0 to channel 1"
And if I enabled monitor mode in bcmon before scanning in rfa no router is found. how I got it to work was to scan first and once I found my router i tested for monitor mode. Before starting attack i used home button and then open bcmon and enabled monitor mode ( I had already said yes to install tool on first run), press and held home button and went back to rfa and started attack.
This was the result.
I do have a question though.. This was tested on my own router and my password is set to 0123456789 on the router. So what exactly do I have to enter from the result to connect?
I tried this on Kali as well and I got similar result, can remember if it was exact same.
I tried the WPA psk and the pin as passwords and was not able to connect to router. And my router is set to wpa2. Is that why? I kno this is off topic but I'm curious
Sent from my GT-I9100 using Tapatalk 4 Beta
Wow, seems like RfA has some problems with the S2.
Cool workaround!
Regarding your problem:
The shown WPA PSK is the hash of your real WPA Key.
Sometimes Reaver fails to get the plaintext Key and shows instead the hash.
However, if you use the hash as WPA Key it should work. Had tried this a few times and worked fine
regards,
SOEDI
EDIT:
Of course, you have to use the hash withoud the ' ' as key. Wanted only to mention this
RfA should have shown a Dialog with the Key and a connect button. Did it?

[Q] How to root xtrons on oreo (android 8.0) device

Hi, is there any solution to root an Xtrons Android 8.0 Device?
Kingoroot plus SuperSu was a perfect solution in past, but did not work longer.
Kingoroot keep crashing on startup on oreo.
Need help
Me too. I need a sollution for rooting. And second... I need to know if I can use others theme. I want a black theme. Not gray.
I don't think its out yet. KingoRoot, Kingroot, and *#hct#root# don't work. I'm gonna try to do KingoRoot or unlock the bootloader with adb from a computer. If that doesn't work, I'll try downgrading the firmware and try all the appropriate root procedures. Outside of all that, I'm at a loss of what else to try. I have an GS MTCD/E.
jdisco1 said:
I don't think its out yet. KingoRoot, Kingroot, and *#hct#root# don't work. I'm gonna try to do KingoRoot or unlock the bootloader with adb from a computer. If that doesn't work, I'll try downgrading the firmware and try all the appropriate root procedures. Outside of all that, I'm at a loss of what else to try. I have an GS MTCD/E.
Click to expand...
Click to collapse
You have succeeded in making root on Oreo?
One is to flash the Magisk patch created by kumarai.
https://forum.xda-developers.com/showpost.php?p=75741195&postcount=519
Some people said this mod worked, but it was unstable and unusable for my GS unit.
Another is to install Malaysk ROM.
https://forum.xda-developers.com/an...-malaysk-roms-px5-2-4-gb-8-0-android-t3762724
This worked for my GS, but the cold startup time doubled, the overheating problem also got worse.
But I want you to remember. Our Chinese android unit was originally backdoor open.
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Using the terminal emulator, enter the following command...
PHP:
setprop persist.adb.tcp.port 5555
setprop sys.rkadb.root 1
Once restarted, you can delete, add, or change system files via wi-fi adb.
So I returned to stock ROM, deleted bloatware via adb, modified the build.prop add custom apk and used it.
warata said:
But I want you to remember. Our Chinese android unit was originally backdoor open.
Using the terminal emulator, enter the following command...
PHP:
setprop persist.adb.tcp.port 5555
setprop sys.rkadb.root 1
Once restarted, you can delete, add, or change system files via wi-fi adb.
So I returned to stock ROM, deleted bloatware via adb, modified the build.prop add custom apk and used it.
Click to expand...
Click to collapse
Great news, thanks!
Where can I find a tutorial about that? All the instructions tell them that we need to connect usb to the computer, but our units do not have a usb port.
Thanks!
adioperator said:
Great news, thanks!
Where can I find a tutorial about that? All the instructions tell them that we need to connect usb to the computer, but our units do not have a usb port.
Thanks!
Click to expand...
Click to collapse
No, only Wi-Fi adb can be used. I do not know how to USB debug.
By inputting the command with the terminal emulator and restarting it, you can make adb connection via wi-fi from the PC on the same network.
However, it may need to enable USB debugging for developer options.
If people need an instructions I will make it in a few days.
warata said:
No, only Wi-Fi adb can be used. I do not know how to USB debug.
By inputting the command with the terminal emulator and restarting it, you can make adb connection via wi-fi from the PC on the same network.
However, it may need to enable USB debugging for developer options.
If people need an instructions I will make it in a few days.
Click to expand...
Click to collapse
It would be great if you make an tutorial about how to push an app to system over wifi, without root. I would like to replace canbus.apk from system app.
Thanks!
ADB via Wi-Fi You can edit system files with stock ROM
PHP:
setprop persist.adb.tcp.port 5555
setprop sys.rkadb.root 1
Enter the above command with the terminal emulator. I learned this content at 4pda(Thanks to booroondooks).
But you may not be able to use virtual keyboard(AOSP) to enter the command.If so, please use another keyboard or connect a USB keyboard.
Restart and check the HU's IP address.
(Settings, Networks, Wi-Fi, and tap the connected network)
PHP:
adb kill-server
adb connect ##.##.##.##
Open a command prompt as an administrator on a PC connected to the same network and enter the above command.(##.##.##.## is your HU's IP address)
If you see the message"connected to ##.##.##.##:5555", you are connected successfully.
If not, restart PC and HU and try again.
"ADB ROOT"
This command is necessary to run adb with administrator privileges.
PHP:
adb root
"ADB REMOUNT"
This command is needed first to manipulate system files.
PHP:
adb remount
"PULL"
You can download any files with this command.
PHP:
adb pull
"PUSH"
You can upload any files with this command.
PHP:
adb push
"CD"
Please change the directory before downloading the file. Android files should not be downloaded to the Windows system folder.
PHP:
cd
"ADB SHELL"
You can operate the terminal emulator from the PC.
PHP:
adb shell
"chmod"(emulator command)
This command can change the permissions of the system file.
PHP:
chmod
***Very important***
The system file uploaded from the PC needs to give correct authority.
Most system apks require 644 privileges and will not work if they are missing.
Aiso build.prop needs 644. If you forget this, the system will be a brick.
"rm -rf "(emulator command)
You can delete system files with this command.
However, some system files may not work properly when deleted.
PHP:
rm -rf
I am not an English speaker and I am not familiar with the unix commands. So from an advanced level I may be doing something useless or dangerous.But I tried all the contents introduced here with my own HU.I attached an example of command use as an image, so I want you to compensate for the missing explanation. Good luck!
Thanks it work, i use my Archlinux Laptop to use adb wifi (android-tools), and I could change my boot logo (alfa 1024x600 for me) :
https://forum.xda-developers.com/an...evelopment/mod-boot-animation-toyota-t3351617
mum1989 said:
Thanks it work, i use my Archlinux Laptop to use adb wifi (android-tools), and I could change my boot logo (alfa 1024x600 for me) :
https://forum.xda-developers.com/an...evelopment/mod-boot-animation-toyota-t3351617
Click to expand...
Click to collapse
Did you try adding a custom boot logo in factory settings?
You Can only choose a static picture,
I want boot animation.
mum1989 said:
You Can only choose a static picture,
I want boot animation.
Click to expand...
Click to collapse
https://play.google.com/store/apps/details?id=com.jrummy.apps.boot.animations&hl=en
Try this. You can add a few custom animations with this. It works, and it works with Oreo, but it might not work with your radio. YMMV.
I would say I can't change to an boot animation in the setting
so manualy I add news boot_animation_droid file. (with root)
mum1989 said:
I would say I can't change to an boot animation in the setting
so manually I add news boot_animation_droid file. (with root)
Click to expand...
Click to collapse
Mostly that is correct, there is a an option in the "factory settings" menu of the radio to change the boot animation to be one of any number of car manufacturer logos, or a static picture, as you said, but perhaps not a custom animation like you suggest.
Custom boot logos are touchy things, they have to be the proper size, proper resolution and cannot take up too much space. They have to be written to the system in the proper fashion, and if you overwrite into another part of the system you brick your unit and must recover.
You've heard of Project Treble, right?
https://www.xda-developers.com/project-treble-custom-rom-development/
https://www.xda-developers.com/how-project-treble-revolutionizes-custom-roms-android-oreo/
TWRP-type recovery with Project Treble currently allow you to flash a custom boot animation. Sadly, we don't have TWRP or Treble for these px5 units. Some people have gotten close, but no cigar, as we say.
Even with TWRP, I've heard of people bricking their phones after a custom bootanimation.zip flash, then they have to recover and re-flash the ROM. I had to restore one of these units after a failed root flashing attempt in Oreo and it took hours (sitting in a hot car, on a hot 38°C day) unit we were fully restored and back to where I wanted the OS to be. It can be done but if you screw up, or the animation isn't exactly perfect, you're in trouble.
So the short answer is, use the boot animations from that app or a similar app and be satisfied with that.
---------- Post added at 12:35 PM ---------- Previous post was at 12:26 PM ----------
warata said:
...
"chmod"(emulator command)
This command can change the permissions of the system file.
PHP:
chmod
***Very important***
The system file uploaded from the PC needs to give correct authority.
Most system apks require 644 privileges and will not work if they are missing.
Aiso build.prop needs 644. If you forget this, the system will be a brick.
"rm -rf "(emulator command)
You can delete system files with this command.
However, some system files may not work properly when deleted.
PHP:
rm -rf
Click to expand...
Click to collapse
This is excellent, thank you for sharing.
As a general note, if you are rooted, you can use Titanium Backup app to rapidly freeze or uninstall unneeded system apps, like the Easter Egg, printing services, gMail, etc. It can be done with the terminal but you can do it much faster with Titanium.
I've tried installing the LineageOS terminal, from https://www.apkmirror.com/?post_type=app_release&searchtype=apk&s=terminal but although it claims to have installed, its not not appearing as an icon on any of the screens, and when I tried to launch it from the APK launcher App (that comes built into the Xtrons Oreo unit), it doesnt seem to start
Any ideas ???
Ignore my last post.
I found an terminal emulator that worked.
Finally got this working with my Xtrons unit
ro.build.id=OPR5.170623.007
ro.build.display.id=px5-userdebug 8.0.0 OPR5.170623.007 eng.hct.20180504.142413 test-keys
ro.build.version.incremental=eng.hct.20180504.142413
ro.build.version.sdk=26
ro.build.version.preview_sdk=0
ro.build.version.codename=REL
ro.build.version.all_codenames=REL
ro.build.version.release=8.0.0
ro.build.version.security_patch=2017-10-05
ro.build.version.base_os=
ro.build.date=Fri May 4 14:24:13 CST 2018
ro.build.date.utc=1525415053
I initially miss-typed the setprop persis command, but now I got that right, I've been able to pull virtually everything off the unit, (albeit surprisingly slowly, considering the HU is sitting right next to my WiFi router)
Edit.
BTW. Is there any way to push SuperSU etc onto the device to root it using this method ?
I don't seem to be allowed to post a link to it but, here is the path to the topic about rooting the xtrons unit
android-auto/mtcd-discussion-questions-development/how-to-root-ctrons-oreo-android-8-0-t3747975
Note the processed described in the post isn't actually how to root the device, but how to use ADB to make changes when its given root privilages
There is also a replacement ROM, which is pre-rooted, but the installation process carries risks, and I've seen some people report they have gone back to the stock ROM because of issues with the replacement ROM
Hello friends, i was just wondering if it would be possible to use adb from a laptop to send just a line of command to the Head unit via a male to male usb cable since my xtrons unit has 3usb out.
I'm really fed up of using here maps, Google maps, YouTube and shuttle+ (my music player) with the notification bar always showing up and the system ui tuner app allows to remove it in a per app basis without root.
Many thanks in advance.

Categories

Resources