BackTrack 5 ARM (with GUI via TightVNCServer) - Xoom Android Development

Backtrack (http://www.backtrack-linux.org)
Backtrack-Linux.org, home of the highest rated and acclaimed Linux security distribution to date. BackTrack is a Linux-based penetration testing arsenal that aids security professionals in the ability to perform assessments in a purely native environment dedicated to hacking. Regardless if you’re making BackTrack you Install BackTrack, boot it from a Live DVD or thumbdrive, the penetration distribution has been customized down to every package, kernel configuration, script and patch solely for the purpose of the penetration tester.
Here is a guide to getting ARM Backtrack Running on the Xoom (tested on Wifi Only Version, running 3.1)
After much frustration I have gotten the GUI part of the backtrack 5 arm release working with the Motorola Xoom.
This has only been tested to work on the Xoom. But it should work just fine with any other device that supports linux, and should work especially well on anything with a dual-core processor (G2X, Atrix, etc.)
Pre-requisites:
- Rooted Motorola Xoom
- androidVNC from the Android Market
- Terminal Emulator from the Android Market (which you should already have)
- Backtrack 5 for ARM with Gnome downloaded and setup (check the README file, and follow the instructions.)
Link: Backtrack 5 http://www.backtrack-linux.org/downloads/. This tutorial will assume you put Backtrack 5 in the folder /sdcard/BT5 like the README says.
Launch the terminal emulator and enter the following commands:
Code:
cd /sdcard/BT5
su
sh bootbt
BackTrack will start up in shell. You will get a red line that says "[email protected]:". To verify if you type:
Code:
ls pentest
It should echo back the folders in pentest, stuff like 'backdoors','database',etc.
At this point enter the following commands:
Code:
export USER=root
vncpasswd
When you type in 'vncpasswd' this is to the the password for the tightvncserver. Since I only connect locally I just use 'qwerty' for my password, and then confirm the password. [Edit] Apparently you can skip this step, as the default password for vnc is simply, 'toortoor' (root backwards, twice).
When it asks if you want to create a view only password just type 'n' and hit enter. After you have your password setup for vnc start the server up.
Code:
tightvncserver -geometry 1280x800
When this happens you will get a message confirming that "New 'X' Desktop is localhost:1" and a bunch of other random stuff below it (it isn't important unless there are errors listed).
At this point, press the "HOME" button on the Xoom and then open the application "androidVNC".
-In the "Nickname" box, you can name it whatever you like.
-In the "password" entry, use your password (mine is 'qwerty').
-In the "Address" box you can type in localhost (or leave it blank).
****Change the port from 5900 to 5901.
[Edit] TightVNCServer uses 5901 by default, but if you are having connection errors it may have changed to something else. View the TightVNCServer logs (which I believe are under /root/.vnc/, do an 'ls -a' and a 'nano logfilename') to check to see what port was in use.
I also recommend setting the color-depth to 24-bit. After that press the "connect" button, and bam! You're rocking Backtrack 5 on your motorola xoom!!
You're welcome to repost this on other message boards of on your website, please just give me credit though. Thank you and enjoy!
{
"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"
}

what is backtrack?
uses?

But can our wireless go into monitor mode... can it inject? New to backtrack... but know what.it can do
Sent from my LG-P999 using XDA Premium App

Whoa!!!
This is big...I'm going to do this immediately after I update to 3.1. Great job!!

renocivik said:
But can our wireless go into monitor mode... can it inject? New to backtrack... but know what.it can do
Sent from my LG-P999 using XDA Premium App
Click to expand...
Click to collapse
It would depend on if the BT developers provided a driver that has monitor mode enabled. I have it installed but haven't investigated that yet. I do know that tcpdump is on the box, so at least you can monitor your own web traffic.
OP: You don't necessarily need to change the vnc password. It comes with a default password of "toortoor"

As an aside, I'm going to spend some time this week/weekend looking into getting this to run natively. I'm doubtful that it will work but you never know.
I do know they are using Tiamet 1.3.0 as the kernel they are running, so it's possible that this can be done with a good bit of work.

There is a slight error in your commands I believe. To change the VNC password it should be vncpasswd rather than vpnpasswd.
Port for me was 5902 btw. I was stumped until I looked at the tightvnc log.
Monitor mode does not appear to work and maybe some things have changed since Backtrack 3 but I couldn't locate aircrack-ng.
Sent from my Xoom using XDA Premium App

Thanks for this. Going to try it on my nook color tomorrow. If it works, ya mind if I x-post this in their dev forums?

The command should be vncpasswd.
also BT image already contains startvnc as a command which will start the vncserver for you.
I am working on porting BT image to Xperia X10 (thread marked in Sig.)

all of these steps work on all devices or just xoom only??

fauz33 said:
all of these steps work on all devices or just xoom only??
Click to expand...
Click to collapse
I haven't tested it on anything else yet, but like launching "Ubuntu" from chroot, it should work as long as your device has a fast enough processor. The only other phone I have to test this on would be my nexus one, but I haven't gotten around to actually testing it out yet. This installation cannot hurt your phone any, so feel free to give it a shot and post your results!
chesh420 said:
Thanks for this. Going to try it on my nook color tomorrow. If it works, ya mind if I x-post this in their dev forums?
Click to expand...
Click to collapse
You're welcome to repost it, if it works, please just give me credit.
I really hope this arm distribution starts to take off, as I use the x86 all of the time on my laptop, and it would be great to have a completely functional tablet version... but they won't keep developing it if no one uses it.

i have this installed as well.
to answer the above, this only works on the xoom and the atrix. it could work on other tegra 2 devices, but is unknown on stability and support. it was made pretty much for the xoom.
also, you cannot do any wifi attacks or injections, just the nature of the beast.

How did you copy the bt5.img to the sdcard because it says file too large with fat32
Sent from my G2X using Tapatalk

This runs great man. Great work
Sent from my Xoom using XDA Premium App

Does anyone know where I can get this not as a Torrent. My work Blocks torrent traffic.

You are AWESOME!!!
I was working on something like this.
Doing this RIGHT now. You are the MAN!

vdub804 said:
How did you copy the bt5.img to the sdcard because it says file too large with fat32
Sent from my G2X using Tapatalk
Click to expand...
Click to collapse
clay_atx said:
i have this installed as well.
to answer the above, this only works on the xoom and the atrix. it could work on other tegra 2 devices, but is unknown on stability and support. it was made pretty much for the xoom.
also, you cannot do any wifi attacks or injections, just the nature of the beast.
Click to expand...
Click to collapse
For both of you check my post on Xperia X10 thread (link in sig)
file directly won't copy as 4 GB is max file size fr vfat.
i have posted a log file which contains all the instructions for resizing and getting your file out.

whould it be safe to run this on the htc evo 4g?

lewi3069 said:
Does anyone know where I can get this not as a Torrent. My work Blocks torrent traffic.
Click to expand...
Click to collapse
http://www.backtrack-linux.org/downloads/
you should see two options a direct download or a torrent
remeber you using the GNOME (arm) file

yoboii23 said:
http://www.backtrack-linux.org/downloads/
you should see two options a direct download or a torrent
remeber you using the GNOME (arm) file
Click to expand...
Click to collapse
Yea i only see torrent, but its ok i found an alternative method...

Related

Lapdock

Hello,
I thought it was time to start a thread about Lapdock that is not about were to get the best price. But for technical questions like mine.
For some reason I can't get any picture when watching any video, just sound? Any ideas?
Cheers
pederb said:
Hello,
I thought it was time to start a thread about Lapdock that is not about were to get the best price. But for technical questions like mine.
For some reason I can't get any picture when watching any video, just sound? Any ideas?
Cheers
Click to expand...
Click to collapse
I am not sure if Webtop uses the "original" Flash, but have you tried updating your flash to 10.3? Or re-installing it?
Also, sometimes the webtop messes up a bit (all icons on the right were gone for me today), but a reboot should fix that - maybe it's even enough to kill the webtop processes, whatever they are.
Lapdock Hack
If someone could hack the lapdock to provide a good remote desktop item for it it would be great. I tried the Citrix demo last night and if we could get the same thing to come into my Windows machine it would be great.
Anyone has any ideas?
I have tried Pocket Cloud running on the phone but although it is functional it is not that good.
stevebarnes said:
If someone could hack the lapdock to provide a good remote desktop item for it it would be great. I tried the Citrix demo last night and if we could get the same thing to come into my Windows machine it would be great.
Anyone has any ideas?
I have tried Pocket Cloud running on the phone but although it is functional it is not that good.
Click to expand...
Click to collapse
Teamviewer web "works" but it's a little laggy. At least on my hacked to work on normal displays webtop.
I tried need for speed in the lapdock and was unplayable cause the lag, is this right?
Btw i tried dungeon defender hd too and couldnt move the hero with the arrows keys, theres a way to play without use the touchpad in the screen? i think its unplayable that way since u cant touch the lapdock screen to move the hero.
I'm looking into this http://forum.xda-developers.com/showthread.php?t=1093790
It seam to be a bit complicated but great id it works.
Cheers
Just got Debian/Linux running and it is awesome, truly all in one product.
Get them before they are all gone.
Cheers
{
"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"
}
My LapDock desktop
Cheers
I have the CHROOT Debian hack (search for it under development). I am also running Gnome and it includes Remmina Remote Desktop Client. I have used that to connect to my Windows Servers at work. Here is a screen shot of my desktop:
I have been toying with the idea of getting the lapdock. However after playing with it at the store several times I was disappointed with the laggy performance. Do the webtop hacks/mods help performance? How is debian on the lapdock? Linux does not need vista type system requiremens... is it worth while?
Very cool debian screenshot btw. Has me pretty excited.
Sent from my MB860 using XDA Premium App
NibblerWeather said:
I have been toying with the idea of getting the lapdock. However after playing with it at the store several times I was disappointed with the laggy performance. Do the webtop hacks/mods help performance? How is debian on the lapdock? Linux does not need vista type system requiremens... is it worth while?
Very cool debian screenshot btw. Has me pretty excited.
Sent from my MB860 using XDA Premium App
Click to expand...
Click to collapse
The Debian environment is running along with the Motobuntu. The Debian apps seem to have better performance than the Moto apps (may just be my imagination). However, the entire experience is on par with a netbook. Of course it has greater features (i.e. the phone, gps, etc.).
For me, it is definitely worthwhile.
Have not noticed any lag, and I'm getting rid of my HP laptop and all I'm using is my Atrix phone and it's Lapdock, and I never have to search for a hotspot again to connect.
Cheers
Have you got instructions on how to do that?
Thanks
stevebarnes said:
Have you got instructions on how to do that?
Thanks
Click to expand...
Click to collapse
Just do the full debian hack from the thread under the development forum. Be sure to use the 4GB image.
After you get the image working, apt-get install synaptic. Then just install Gnome.
Once you have Gnome installed, run gnome-session from the linux terminal (penguin icon). You will have to removed the bottom panel and align the top panel to the left side. Of course, this step is optional but I prefer the panels not overlapping each other.
Thanks, I will try it I have come over from Hacked and unlocked iPhone and am new to this system, but it looks better.
Also if anyone is interested I have a spare Lapdock to sell. PM me.
lapdock custom rom on phone
If you put CM7 or other customer roms on the atrix will the lapdock and other stock accessories work?
Thanks
thegod81 said:
If you put CM7 or other customer roms on the atrix will the lapdock and other stock accessories work?
Thanks
Click to expand...
Click to collapse
Only if the ROM is based on an AT&T official release (4.5.91 for example) OR developed to accommodate it. CM7 B2TF release just added dock audio to its featureset, so I'm sure it is possible, just a work in progress in some cases.
Guys, what can I do to watch .mp4 videos on the phone on the laptop dock?
I'm going on a plane ride for 10 hours tomorrow and would love to watch my movies on that instead of the ipad...
Nice topic, I just recently started toying around with this stuff. I currently am using webtop2sd, I successfully installed Gnome,Gimp...etc. But I am a complete noob when it comes to Linux.
What do you guys think is better, the debian hack or webtop2sd? I know with webtop2sd, you don't need that 4 gig image taking up space. I'm not opposed to that, just for now my 32gig card bit the dust...so I'm stuck with an 8gig for now.
What size cards are you guys using, and how much space are you allocating for webtop?
Also, What rom are you using, and what webtop version. I used sam cripp's stock webtop fruitcake because all the others were giving me problems with the webtop statusbar icons.
Thanks!!
95rr900 said:
Nice topic, I just recently started toying around with this stuff. I currently am using webtop2sd, I successfully installed Gnome,Gimp...etc. But I am a complete noob when it comes to Linux.
What do you guys think is better, the debian hack or webtop2sd? I know with webtop2sd, you don't need that 4 gig image taking up space. I'm not opposed to that, just for now my 32gig card bit the dust...so I'm stuck with an 8gig for now.
What size cards are you guys using, and how much space are you allocating for webtop?
Also, What rom are you using, and what webtop version. I used sam cripp's stock webtop fruitcake because all the others were giving me problems with the webtop statusbar icons.
Thanks!!
Click to expand...
Click to collapse
I'm on the same boat. I'm in the process of putting the webtop stuff right now... i'm on darkforce or darkside (w/e its called, I just put it on lol)

Find On Page / Forward / View Source bookmarklets

UPDATE: New incremental search on page ("Next" button)!
So, one thing that has annoyed me about Mango are the changes to IE's user interface. I love the new rendering and JavaScript engines, but the UI is a pain. It wasn't enough to hide away the Tabs and Favorites options; they completely removed the "Find on page" and "Forward" menu options.
However, these can be (somewhat) implemented in JavaScript, and stored as Favorites (sometimes called "bookmarklets") that execute the script instead of navigating to a page. This is the approach that was used for iOS 3 and below, for example (which also lacked Find on Page). It also works on the desktop, incidentally.
Together with XDA member @byobge, I set out to create bookmaklets that would reimplement these features on Mango.
Forward was easy. You can simply create a Favorite from any page, change the Name (I use "! Forward" to help it stand out), and set the Web Address box:
Code:
javascript:history.forward()
Find On Page was a lot trickier. For one thing, it's a more complicated action that doesn't have a built-in JS function like Forward. For another thing, IE on WP7 doesn't support the JS prompt() function, for no discernable reason (Mobile Safari does, which is how their version was implemented). To fix this, we created a pseudo-prompt that puts a highlighted bar with a text box and a button at the top of the current web page view. The actual searching and highlighting code was taken from multiple sources through various attempts to make this work, with the final version being borrowed from Jesse Ruderman’s bookmarklet collection on his blog.
UPDATED VERSION: Now adds incremental searching to the page, so it will auto-scroll you between them using a "Next" button!
Just like Forward, create a Favorite on any page, change the name (I used "! Find On Page"), and change the Web Address (Copy/Paste are your friends; make sure you get all of it!):
Code:
javascript:eval(function(p,a,c,k,e,d){e=function(c){return(c<a?'':e(parseInt(c/a)))+((c=c%a)>35?String.fromCharCode(c+29):c.toString(36))};while(c--){if(k[c]){p=p.replace(new RegExp('\\b'+e(c)+'\\b','g'),k[c])}}return p}('(4(){4 e(s){b B.1z(s)}4 8(s){b B.1r(s)}4 12(){5 o=w.1w;b o==F?p.1v:o}4 Y(){5 o=w.1P;b o==F?p.1I:o}4 z(s){s.1J=\'1p\';s.1m=\'1M\';s.1i=12()+\'14\';s.1h=Y()+\'14\'}4 G(){5 2=e(\'2\'),9=e(\'9\');k(F==2){2=8(\'T\');2.r=\'2\';5 s=2.7,l=8(\'v\');z(s);s.1g=\'1e%\';s.y=\'#1f\';9=8(\'v\');9.r=\'9\';9.t=\'1d\';2.f(9);l.t=\'1k\';l.u=\'1o\';l.H=4(){P(9.u)};2.f(l);p.f(2)}10{2.7.O=\'S\';a=0}}4 P(s){e(\'2\').7.O=\'1l\';k(s===\'\')b;5 n=D(B.R,s.x(),s.Z),m=8(\'v\'),d=8(\'T\'),c=8(\'v\');1c(s+": "+a);2.13.18(2);d.r=\'U\';z(d.7);d.7.O=\'S\';m.t=\'16\';m.u=\'1b\';m.H=4(){N()};d.f(m);c.t=\'16\';c.u=\'1j\';c.H=4(){1L.1K()};d.f(c);p.f(d);i=a-1;N();b n}4 N(){5 s=e("J"+i),Q=-V,M=-V;s.7.y="X";++i;i%=a;s=e("J"+i);s.7.y="1G";1H{Q+=s.1q;M+=s.1R}1Q(s=s.1O);w.1N(Q,M);z(e(\'U\').7)}4 D(6,K,L){5 q,A,g,h,17,E;A=0;k(6.11==3){q=6.1u.x().1t(K);k(q>=0){g=8("1s");g.r="J"+a;g.7.y="X";h=6.15(q);17=h.15(L);E=h.1x(1y);g.f(E);h.13.1D(g,h);++a;A=1}}10{k(6.11==1&&6.I&&6.W.x()!="1A"&&6.W.x!="1B"){1C(5 j=0;j<6.I.Z;++j){j=j+D(6.I[j],K,L)}}}b A}5 a=0,i=0;5 w=1E,C=B;5 p=C.R;5 1a=C.19;G();C.1n(\'1F\')})()',62,116,'||pf||function|var|nd|style|dce|qt|ct|return|||gebi|appendChild|sp|mN|cur|ch|if|sb|nx|||db|pos|id||type|value|input||toUpperCase|backgroundColor|PAT|skip|document|doc|sN|mC|null||onclick|childNodes|fsp|te|len|yo||display||xo|body|inline|div|dv|30|tagName|red|PXO|length|else|nodeType|PYO|parentNode|px|splitText|button|eB|removeChild|documentElement|dde|Next|alert|text|100|FFFF00|width|left|top|Cancel|submit|none|zIndex|execCommand|Find|absolute|offsetLeft|createElement|SPAN|indexOf|data|scrollTop|pageYOffset|cloneNode|true|getElementById|SCRIPT|STYLE|for|replaceChild|window|stop|yellow|do|scrollLeft|position|reload|location|99|scrollTo|offsetParent|pageXOffset|while|offsetTop'.split('|')))
Older version:
Code:
javascript:(function(){function G(){var pf=doc.getElementById('pf');var qt=doc.getElementById('qt');if(null==pf){pf=doc.createElement('div');pf.id='pf';var s=pf.style;s.position='absolute';s.zIndex='99';s.top=(scT||scBT)+'px';s.left=(scL||scBL)+'px';s.width='100%';s.backgroundColor='#FFFF00';pf.appendChild(doc.createTextNode('Search: '));qt=doc.createElement('input');qt.id='qt';qt.type='text';pf.appendChild(qt);var sb=doc.createElement('input');sb.type='button';sb.value='Find';sb.onclick=function(){P(qt.value)};pf.appendChild(sb);doc.body.appendChild(pf);}else{pf.style.display='inline';count=0;}}function P(s){document.getElementById('pf').style.display='none';if(s==='')return;var n=srchNode(document.body,s.toUpperCase(),s.length);alert("Found "+count+" occurrence"+(count==1?"":"s")+" of '"+s+"'.");pf.parentNode.removeChild(pf);return n;}function srchNode(node,te,len){var pos,skip,spannode,middlebit,endbit,middleclone;skip=0;if(node.nodeType==3){pos=node.data.toUpperCase().indexOf(te);if(pos>=0){spannode=document.createElement("SPAN");spannode.style.backgroundColor="red";middlebit=node.splitText(pos);endbit=middlebit.splitText(len);middleclone=middlebit.cloneNode(true);spannode.appendChild(middleclone);middlebit.parentNode.replaceChild(spannode,middlebit);++count;skip=1;}}else{if(node.nodeType==1&&node.childNodes&&node.tagName.toUpperCase()!="SCRIPT"&&node.tagName.toUpperCase!="STYLE"){for(var child=0;child<node.childNodes.length;++child){child=child+srchNode(node.childNodes[child],te,len);}}}return skip;}var count=0,scL=0,scT=0,scBL=0,scBT=0;var w=window,doc=document;if(typeof doc.body!='undefined'&&typeof doc.body.scrollLeft!='undefined'){scBL=doc.body.scrollLeft;scBT=doc.body.scrollTop;}if(typeof doc.documentElement!='undefined'&&typeof doc.documentElement.scrollLeft!='undefined'){scL=doc.documentElement.scrollLeft;scT=doc.documentElement.scrollTop;}G();})()
Improvements are totally welcome to this! Neither of us write JS professionally (or at least, I haven't in many years), and there are probably improvements that we haven't even thought of. There are also probably other useful bookmarklets that could be created. Go wild!
New script from @Martin7Pro to view the current page source:
Code:
javascript:h=document.documentElement.outerHTML;document.open("text/plain").write(h).close()
Note that this will "navigate forward" to the source view; you can return to the actual page just by hitting Back. If somebody finds a way to get it to open in a new tab, that would be awesome. window.open() doesn't seem to work as expected on WP7.
From @roqstr, a simple bookmarklet to jump to the top of the page:
Code:
javascript:scroll(0,0)
A few things to keep in mind:
Mobile IE doesn't support CSS position:fixed. Thus the shenanigans with figuring out the current view box.
Bookmarklets must be kept below 2048 characters in the mobile browser, thus the compacted form. You could definitley compress it further, though (for example, replace "document.getElementById" with a single-character variable).
Features that would be cool:
A way to find text that crosses an element boundary. This version only finds matches that occur entirely within a single text element.
A way to un-highlight without needing to refresh the page (although, in Mango, the Refresh button *is* sort of right there all the time).
Hope this is useful!
EDIT: Some additional bookmarklets for the phone that may be useful, such as translation and removal of non-mobile-friendly content, can be found here: http://www.1800pocketpc.com/bookmarklets-for-windows-phone/22429/. Thanks @the0ne for the link!
EDIT2: A nice way to get the bookmarklets in an easy-to-copy way is to visit this link on the phone: http://www.1800pocketpc.com/shared_files/Bookmarklets.txt
However, that currently only has the original Find On Page version. Hopefully they'll update with the incremental version soon.
This is awesome stuff. Thanks a lot for your work, I think it will be useful to many of us.
As an alternative, Browser Plus also has the feature to search within a page.
That's awesome! Thanks~
You're welcome! It was fun putting it together.
Alternative browsers can be very cool, but are somewhat crippled by the lack of a way to set them as the default. I think it is actually possible to change the default browser - the HKEY_CLASSES_ROOT registry hive has configurations for the default open action for the HTTP and HTTPS protocol URIs - but nobody that I've seen has done it yet.
I like the idea, because indeed the IE UI is a pain.
As Marvin_S and snickler are working on a new browser maybe they can add some features....
Sent from my OMNIA7 using XDA Windows Phone 7 App
Cool stuff have added it here : bookmarklets for Windows Phone
Well I've discovered after half an hour copy and paste are not my friends....in the xda app I can see the full code on one page not a stupid scrolling box. but in the app I can't copy and paste the whole thing. Needless to say I still dont have find on page. it would be nice to copy the whole code at once
Sent from my Schubert using XDA Windows Phone 7 App
nalgrim said:
Well I've discovered after half an hour copy and paste are not my friends....in the xda app I can see the full code on one page not a stupid scrolling box. but in the app I can't copy and paste the whole thing. Needless to say I still dont have find on page. it would be nice to copy the whole code at once
Sent from my Schubert using XDA Windows Phone 7 App
Click to expand...
Click to collapse
Open up this site on your phone and copy it from there...
http://justpaste.it/findwp7
clfosk said:
Open up this site on your phone and copy it from there...
http://justpaste.it/findwp7
Click to expand...
Click to collapse
Incomplete code, there is code missing in this "justpaste" link.
Its ok I just copied it to notepad on a desktop and mailed it to myself. Thanks tho
Sent from my Schubert using XDA Windows Phone 7 App
dotcompt said:
Incomplete code, there is code missing in this "justpaste" link.
Click to expand...
Click to collapse
Weird, should be fixed now.
This is awesome, very much appreciated.
This is awesome, Thanks a lot for your work......
Here a screenshot of the "Find on page" function...
{
"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"
}
And this one in german lang
Thanks for this solutuion.
Code:
javascript:(function(){function G(){var pf=doc.getElementById('pf');var qt=doc.getElementById('qt');if(null==pf){pf=doc.createElement('div');pf.id='pf';var s=pf.style;s.position='absolute';s.zIndex='99';s.top=(scT||scBT)+'px';s.left=(scL||scBL)+'px';s.width='100%';s.backgroundColor='#FFFF00';pf.appendChild(doc.createTextNode('Suche: '));qt=doc.createElement('input');qt.id='qt';qt.type='text';pf.appendChild(qt);var sb=doc.createElement('input');sb.type='button';sb.value='Finde';sb.onclick=function(){P(qt.value)};pf.appendChild(sb);doc.body.appendChild(pf);}else{pf.style.display='inline';count=0;}}function P(s){document.getElementById('pf').style.display='none';if(s==='')return;var n=srchNode(document.body,s.toUpperCase(),s.length);alert("Gefunden "+count+" Treffer"+(count==1?"":"")+" 'von"+s+"'.");pf.parentNode.removeChild(pf);return n;}function srchNode(node,te,len){var pos,skip,spannode,middlebit,endbit,middleclone;skip=0;if(node.nodeType==3){pos=node.data.toUpperCase().indexOf(te);if(pos>=0){spannode=document.createElement("SPAN");spannode.style.backgroundColor="red";middlebit=node.splitText(pos);endbit=middlebit.splitText(len);middleclone=middlebit.cloneNode(true);spannode.appendChild(middleclone);middlebit.parentNode.replaceChild(spannode,middlebit);++count;skip=1;}}else{if(node.nodeType==1&&node.childNodes&&node.tagName.toUpperCase()!="SCRIPT"&&node.tagName.toUpperCase!="STYLE"){for(var child=0;child<node.childNodes.length;++child){child=child+srchNode(node.childNodes[child],te,len);}}}return skip;}var count=0,scL=0,scT=0,scBL=0,scBT=0;var w=window,doc=document;if(typeof doc.body!='undefined'&&typeof doc.body.scrollLeft!='undefined'){scBL=doc.body.scrollLeft;scBT=doc.body.scrollTop;}if(typeof doc.documentElement!='undefined'&&typeof doc.documentElement.scrollLeft!='undefined'){scL=doc.documentElement.scrollLeft;scT=doc.documentElement.scrollTop;}G();})()
Bookmarklets
I also installed bookmarklets TextOnly and Translate. It took a few to get copy and paste to do what it should (fingers to darned big). Nice to have. Thanks.
gentry33 said:
I also installed bookmarklets TextOnly and Translate. It took a few to get copy and paste to do what it should (fingers to darned big). Nice to have. Thanks.
Click to expand...
Click to collapse
So why you don´t share the code here ?
GoodDayToDie could add it to post #1.
No need @contable, the link to them was already posted on the first page. I added it at the bottom of the first post, though; thanks for the suggestion!
GoodDayToDie said:
No need @contable, the link to them was already posted on the first page. I added it at the bottom of the first post, though; thanks for the suggestion!
Click to expand...
Click to collapse
Ok. I saw the link but I didn´t try it. Anyway good to know that 2 more scripts are confirmed to work... Thanks again.
Edit: Better adding this link to post #1: http://www.1800pocketpc.com/shared_files/Bookmarklets.txt
Translate and TextOnly
I found the code @http://www.1800pocketpc.com/bookmarklets-for-windows-phone/22429/. Enjoy.

[Q] File transfer between galaxy nexus and windows ? mac? linux?

Hello everybody
Wich tool for transfer data are you using for Windows?
For Mac? => http://www.android.com/filetransfer/
For Linux?
Thanks in advance!
On Windows I just used explorer to copy all my music & photos to my GN
Jleagle said:
On Windows I just used explorer to copy all my music & photos to my GN
Click to expand...
Click to collapse
Can you upload an screenshot?
Here you go
{
"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"
}
I am interested in finding a solution for linux, in special KDE.
At the moment i am using AirDroid over WiFi to transfer files. It also can send sms, emails and many more.
myxor said:
I am interested in finding a solution for linux, in special KDE.
At the moment i am using AirDroid over WiFi to transfer files. It also can send sms, emails and many more.
Click to expand...
Click to collapse
Have you seen this post?
http://forum.xda-developers.com/showpost.php?p=19958806&postcount=47
Try reading that whole topic, a lot of information there. I dont think there's an easy way though, a bit over my basic linux skills
flakz0r said:
Here you go
Click to expand...
Click to collapse
Thanks!
I cannot do that in windows xp
flakz0r said:
Have you seen this post?
http://forum.xda-developers.com/showpost.php?p=19958806&postcount=47
Try reading that whole topic, a lot of information there. I dont think there's an easy way though, a bit over my basic linux skills
Click to expand...
Click to collapse
Thank you. I think i do have basic linux skills and will take a look at this thread
On Ubuntu I used it's multiple screen function. You can scroll with ATL+CTRL+arrows. So I opened explorer in one screen to see content of my phone and on the other screen opened folder I want to copy. Fast and easy.
W7: It has a great embedded explorer as shown on the pics above no need for additional software imho
ortigosano said:
Thanks!
I cannot do that in windows xp
Click to expand...
Click to collapse
I've read people saying you can if you have at least Windows Media Player 10 installed, dont know if it's true though. Make sure you have all the latest updates.
I do recommend you upgrade for Windows 7.
flakz0r said:
I've read people saying you can if you have at least Windows Media Player 10 installed, dont know if it's true though. Make sure you have all the latest updates.
I do recommend you upgrade for Windows 7.
Click to expand...
Click to collapse
Thanks for your recommendation, but for the moment its not possible.
I'm still searching a solution for windows xp...
any ideas?
okishead said:
On Ubuntu I used it's multiple screen function. You can scroll with ATL+CTRL+arrows. So I opened explorer in one screen to see content of my phone and on the other screen opened folder I want to copy. Fast and easy.
W7: It has a great embedded explorer as shown on the pics above no need for additional software imho
Click to expand...
Click to collapse
Can you give us more details about how did you got it with ubuntu?
thanks in advance!
I've made a little search on Google and it seems you just have to install the mtpfs package to make it work (sudo apt-get install mtpfs).
drauguenar said:
I've made a little search on Google and it seems you just have to install the mtpfs package to make it work (sudo apt-get install mtpfs).
Click to expand...
Click to collapse
Nothing on Win xp
windows 7 no problem
mac osx no problem with file transfer
ubuntu, mint, and so on... not so easy!!
No xp users?
For Mac I use android file transfer.
Sent from my Galaxy Nexus using xda premium
I don't know if I'm too late to be of any use but PTP works out the box on Ubuntu.
Edit: I lied, that is rather primitive. Back to 'adb' for now.
ortigosano said:
Thanks!
I cannot do that in windows xp
Click to expand...
Click to collapse
It worked for me using Windows XP.
The first time it did not work for me and I looked around and found some people thought their stock cable was the problem. I thought I'd have to go buy a new one, no biggie.
Today I opted to charge my phone while working and lo and behold I had success! I copied files back and forth, no problem. Same cable, same computer.
Try again?
There was no real difference between the two attempts. The first time I opened up 'Internal Storage' it was blank, any drag and drop was met with the invalid cursor. I refreshed, nothing. The next day, after the laptop was asleep, no problems.
There's an old app called XNJB for Mac OS X
I found an app today via Wikipedia http://en.wikipedia.org/wiki/Media_Transfer_Protocol
Its called XNJB - it's amazing that it actually works (kind of), considering it was made for MP3 players years ago...
I'm going to keep looking at it- but already it has more (native) flexibility than that of Android File Transfer - keep in mind that that flexibility doesn't actually work (yet).
I can't believe that Android File Transfer is all they gave to Mac Users OTB - it's such crap, reminds me of the various Blackberry tools back in 2004.
What about FTP?
If you have Wi-Fi at home you can use the free, open source app File Expert.
It's a really great file explorer for android and has an option to turn your phone into an ftp server. If you're on Linux you can use filezilla or whatever to log into your phone and transfer files. I'm on windows and find the wireless transfer to be much more convenient than using a cable. Transfer speeds are great too.

Another reason why NOT use root toolkits..

Another reason to NOT use root toolkits.. http://www.symantec.com/connect/fr/blogs/malware-uses-google-go-language
Malware Uses Google Go Language
Designed in 2007 and introduced in late 2009, the Go programming language developed by Google has been gaining momentum the past three years. It is now being used to develop malware. Recently seen in the wild, Trojan.Encriyoko is a new threat associated with components which are written in Go. The Trojan attempts to encrypt various file formats on compromised computers, rendering the encrypted files unusable.
The original sample we acquired, a file named GalaxyNxRoot.exe, is actually a dropper written in .NET which disguises itself as a rooting tool to trick users into installing it.
{
"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"
}
Figure 1. GalaxyNxRoot.exe properties
Once executed, the GalaxyNxRoot.exe file drops and launches two executable files, both written in Go:
%Temp%PPSAP.exe
%Temp%adbtool.exe
The dropped PPSAP.exe file is an information-stealing Trojan. It collects system information such as current running processes, user name, MAC address, etc., and posts it to the following remote location:
[http://]golang.iwebs.ws/about/step1.php
The dropped adbtool.exe file downloads an encrypted file from the following remote location:
[http://]sourceslang.iwebs.ws/downs/zdx.tgz
This file is decrypted as a Dynamic-link library (DLL) file and then loaded. It attempts to encrypt various file formats on the compromised computer. The targeted file formats include:
Source code files (.c, .cpp, .cs, .php, .java, .pas, .vb, .frm, .bas, .go, .asp, .aspx, .jsp, .pl, .py, .rb)
Image files (.jpg, .png, .psd)
Audio files (.wav, .wma, .amr, .awb)
Archive files (.rar, .zip, .iso, .gz, .7z)
Document files (file extensions containing the following strings: doc, xls, ppt, mdb, pdf)
Other types of files (file extensions containing the following strings: dw, dx, sh, pic, 111, win, wvw, drw, grp, rpl, mce, mcg, pag)
Figure 2. Targeted file formats
The file paths are confirmed by the Trojan in order to avoid encrypting files under certain paths, such as %Windir%, %ProgramFiles%, %UserProfile%\Local Settings, and others.
The encryption uses the Blowfish algorithm. It either reads the encryption key from D:\nepia.dud or randomly generates one. The names of all of the encrypted files are then saved to the following location:
%Temp%\vxsur.bin
Restoration of the encrypted files will be difficult, if not impossible.
Symantec detects all these files: GalaxyNxRoot.exe as Trojan.Dropper, PPSAP.exe as Infostealer, adbtool.exe as Downloader, and zdx.dll as Trojan.Encriyoko.
Click to expand...
Click to collapse
Ill have to be on the look for that for now on.
Unfortunately, we can come up with 1,000 reasons not to use Toolkits, but they will still be used and we'll still be answering "OMGZZ I BriKEd mY FONEz" threads.
Thanks for posting this though. Throw it in my thread if you wish.
El Daddy said:
Unfortunately, we can come up with 1,000 reasons not to use Toolkits, but they will still be used and we'll still be answering "OMGZZ I BriKEd mY FONEz" threads.
Thanks for posting this though. Throw it in my thread if you wish.
Click to expand...
Click to collapse
so true. please do, at least we can open their eyes a little more.
simms22 said:
so true. please do, at least we can open their eyes a little more.
Click to expand...
Click to collapse
Feel the same way. But the moment their eyes open, it immediately shuts back. Can't believe people are getting lazy to type simple commands yet are active in typing forum posts
Sent from my Nexus 7 using Tapatalk 2
thephantom said:
Feel the same way. But the moment their eyes open, it immediately shuts back. Can't believe people are getting lazy to type simple commands yet are active in typing forum posts
Sent from my Nexus 7 using Tapatalk 2
Click to expand...
Click to collapse
I like typing commands
Beamed from Maguro
Unless you have come up with your own root method and not just following a step by step thread, you really have no room to talk. The simple fact is that it is their phone, their property, and they can do with it as they please. Isn't that why we support Android? If you don't like the threads about people bricking their phone, don't open it. I hardly see how typing "oem bootloader unlock" teaches you the ins and outs of your phone. Drama queens...
(and just for the record, I have never used a toolkit)
Might as well make a thread about installing .EXE or using Facebook, or opening email attachments, or...the list go on & on. You can get a virus from almost anything...if you are careless & stupid.
Pointless.
lowandbehold said:
Unless you have come up with your own root method and not just following a step by step thread, you really have no room to talk. The simple fact is that it is their phone, their property, and they can do with it as they please. Isn't that why we support Android? If you don't like the threads about people bricking their phone, don't open it. I hardly see how typing "oem bootloader unlock" teaches you the ins and outs of your phone. Drama queens...
(and just for the record, I have never used a toolkit)
Click to expand...
Click to collapse
To type these commands, you will have to read up to install android adk and all the drivers, even if you follow the step by step guides blindly, you will learn something in the long run if you keep doing it.
Beamed from Maguro
Chocu1a said:
Might as well make a thread about installing .EXE or using Facebook, or opening email attachments, or...the list go on & on. You can get a virus from almost anything...if you are careless & stupid.
Pointless.
Click to expand...
Click to collapse
Agreed...you can probably get a virus on your TV now, but that won't discourage using websites/streaming on your TV either. The internet is still the "Wild Wild West" -- you have to watch your back or where you venture to.
I think toolkits should onoy be used by people who know 110% of what they are doing, just to save time and effort, NOT by n00bs trying to learn the platform
If you cant manually root a Nexus device, you shouldn't be flashing roms or modding. Period.
Sent from my HTC Droid Incredible
Instead of why not to use a root toolkit. The thread title should of been, "don't download things from unreliable sources/users" which should be common sense to users but sadly it isn't for everybody.
Sent from my Galaxy Nexus using xda premium
The funny thing is, it takes longer to figure out the average toolkit than it does to figure out adb and fastboot.
I didn't understand.. there is a virus in toolkit?
Why is it on xda?
Inviato dal mio Galaxy Nexus con Tapatalk 2
strumcat said:
The funny thing is, it takes longer to figure out the average toolkit than it does to figure out adb and fastboot.
Click to expand...
Click to collapse
so true. people are just lazy/dont realize it.
Sent from my i9250
So if we don't use root toolkits we should never have problems with malware or viruses lol, if only that was the case, I fail to see how one instance of a untrusted malware infected toolkit is the cause of everyone's worries an concern as its a bit more widespread than just a toolkit but I like how you somehow managed to blame toolkits for all the malware out there, I agree toolkits can cause problems by people not understanding how their phone works but malware is not one of them, people know what av is these days even if they are careless enough to not use a trusted app or get something like this, considering the toolkit everyone uses an trusts is made by a senior xda mod an not this toolkit is very unlikely to happen.

Ravpower RP-WD01 WiFi-Disk Connectivity Review

Ravpower RP-WD01 WiFi-Disk Connectivity Review
There are many reviews about this device:
http://forum.xda-developers.com/showthread.php?t=2169383
http://forum.xda-developers.com/showthread.php?t=2173608
http://forum.xda-developers.com/showthread.php?t=2150164
All of them really praise it for its core functionality. However, the threads didnt answer some of my questions. Here I will reiterate the main points of the other reviews, as well as provide answers to more advanced senarios.
First of all, I wanted to see if the Ravpower's wifi passthrough mode added much latency to internet usage. I connected it to my home wifi network, and ran some tests, some directly on the home wifi network, and some on the ravpower's hotspot network.
Home wifi :
http://www.pingtest.net/result/81588240.png
{
"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"
}
http://www.speedtest.net/result/2726637216.png
Ravpower Wifi network :
http://www.pingtest.net/result/81588291.png
http://www.speedtest.net/result/2726188377.png
As you can see, as far as latency is concerned, there is not much difference between browsing on your home network and accessing the internet through the ravpower hotspot. I can't test really high speed internet access, since our lines arent too good, and this is the highest speed I can get with relative stability.
You can access the connected media directly through the wifi hotspot, either using a mobile app, or even using a standard linux distro with Samba support. After applying the admin username and whatever password you set, I was able to get full read/write access to my media, and I was able to play 1080p30 video off of it perfectly.
Pleasingly, you can also access it through your home's wifi network. It will assign itself an IP address (which you can find out through its control panel), and then you can access the shared resources present on the drive, straight from your desktop if need be.
This makes it perfect for a carputer type of setup, where you can have the Ravpower attach onto the WIFI hotspot provided by your mobile/internet modem, and then you can share the media with your phone or tablet. Using a CIFS app, should be able to map the drive into android and allow your favourite apps to manage your music/movie collection almost like it was natively in the system, although I haven’t figured that bit out yet. I’ll get back to you guys when I make progress in that regard.
Overall I'm VERY pleased with this, and once I figure out CIFS and how to mount it to my internal directories, I’ll be ecstatic.
Hi there. I bought a Ravpower after being disappointed with the iUSBport not being compatible with my Transcend portable HDD and I have not been let down this time!
To get it working with ES or AndSMB you need to set the login details correctly as guest access did not work for me. I could login and see IPC$ but couldn't access the storage device(s) and got the "Invalid operation" error when I tried to access IPC$. I changed the settings in ES/AndSMB to the following:
Server: 10.10.10.254
Username: admin
Password: whateveryouhaveset
Change the Server and Password to suit. I had to restart the device a few times for changes to apply as the first time I tried ES it did not work. "MobileFun" just doesn't quite cut it so having proper samba support with this device is a real plus! Hope that helps!
thebeest said:
Hi there. I bought a Ravpower after being disappointed with the iUSBport not being compatible with my Transcend portable HDD and I have not been let down this time!
To get it working with ES or AndSMB you need to set the login details correctly as guest access did not work for me. I could login and see IPC$ but couldn't access the storage device(s) and got the "Invalid operation" error when I tried to access IPC$. I changed the settings in ES/AndSMB to the following:
Server: 10.10.10.254
Username: admin
Password: whateveryouhaveset
Change the Server and Password to suit. I had to restart the device a few times for changes to apply as the first time I tried ES it did not work. "MobileFun" just doesn't quite cut it so having proper samba support with this device is a real plus! Hope that helps!
Click to expand...
Click to collapse
I could get it working in solid explorer, but have you fiured out a way to get CIFS working ?
https://play.google.com/store/apps/details?id=ws.plattner.cifsmanager&hl=en
With CIFS, the external HDD is mounted internally, which allows it to be accessible by other apps, like poweramp and mxplayer and things ...
suffer1989 said:
I could get it working in solid explorer, but have you fiured out a way to get CIFS working ?
https://play.google.com/store/apps/details?id=ws.plattner.cifsmanager&hl=en
With CIFS, the external HDD is mounted internally, which allows it to be accessible by other apps, like poweramp and mxplayer and things ...
Click to expand...
Click to collapse
Sorry for my delay in replying, I am travelling in Australia right now and using the Rav quite a lot and have not had any problems with it so far. Unfortunately I have not been able to mount it through CIFS and have found that video performance suffers using SAMBA through ES File Explorer but there is a workaround.. If you browse to 10.10.10.254/data (replace with the IP you set) in your web browser you can watch and seek through movies with no delay compared to delays of up to 30 seconds I had seeking using the ES SAMBA method.
thebeest said:
Sorry for my delay in replying, I am travelling in Australia right now and using the Rav quite a lot and have not had any problems with it so far. Unfortunately I have not been able to mount it through CIFS and have found that video performance suffers using SAMBA through ES File Explorer but there is a workaround.. If you browse to 10.10.10.254/data (replace with the IP you set) in your web browser you can watch and seek through movies with no delay compared to delays of up to 30 seconds I had seeking using the ES SAMBA method.
Click to expand...
Click to collapse
To compound that, apparently its really difficult to mount network shares in Jellybean + because of userprofiles or something :-/
suffer1989 said:
To compound that, apparently its really difficult to mount network shares in Jellybean + because of userprofiles or something :-/
Click to expand...
Click to collapse
Hello I tried to connet rp-wd01 to my wireless, but it doesn't work. I don't understand why!
Please help me.
Thanks
suffer1989 said:
To compound that, apparently its really difficult to mount network shares in Jellybean + because of userprofiles or something :-/
Click to expand...
Click to collapse
Any luck or updates on mounting it? This is the exact thing I'm trying to do, but I haven't found anything yet.
Sent from my Fire Phone using XDA-Developers mobile app
Skeeterdrums said:
Any luck or updates on mounting it? This is the exact thing I'm trying to do, but I haven't found anything yet.
Sent from my Fire Phone using XDA-Developers mobile app
Click to expand...
Click to collapse
I've been experimenting. If you have a kernel that supports nfs or cifs, and you have superuser access on your phone , Busybox, as well as a terminal emulator, you can create a folder in your sdcard and then mount the remote share to the folder in your sdcard, the same was linux users do.
Something like this:
https://gist.github.com/aldur/4a3f90a111b71662f056
suffer1989 said:
I've been experimenting. If you have a kernel that supports nfs or cifs, and you have superuser access on your phone , Busybox, as well as a terminal emulator, you can create a folder in your sdcard and then mount the remote share to the folder in your sdcard, the same was linux users do.
Something like this:
https://gist.github.com/aldur/4a3f90a111b71662f056
Click to expand...
Click to collapse
Thanks for the update, that's more or less what I had been seeing after googling around a bit more. Just need to find cifs source and build a copy for the Amazon Fire Phone. [emoji2]
Sent from my Fire Phone using XDA-Developers mobile app

Categories

Resources