changed useragent for mobile websites - Ubuntu Touch Development and Hacking

Hi
recently they changed the UserAgent from Iphone to Ubunu-mobile , now most sites look like the WAP site's from the 90's
so I changed the browser useragent string to the one from nexus 4 android 4.2
so the facebook /gmail etc sites look more modern like on android
howto install?
be sure you got adb installed
phone is connected with USB
download file UserAgent.qml ( right mouseclick save as, otherwise file will be opened in browser)
https://dl.dropboxusercontent.com/u/35450501/UserAgent.qml
open terminal
navigate to map where file is downloaded ... (use "cd Downloads" if Map is Downloads )
push file to phone (use "adb push UserAgent.qml /usr/lib/arm-linux-gnueabihf/qt5/qml/Ubuntu/Components/Extras/Browser/UserAgent.qml"
reboot phone
enjoy surfing the web
grtz
davjan
i am not responsible for bricked devices

// FIXME: only handling phone and tablet for now, need to handle desktop too
Click to expand...
Click to collapse
You got that right...
Thanks for this, I may try it out soon. I'm very unhappy with the browsing experience thus far.
Real life solution for the majority of users, IMHO, is that Opera builds a UT version.

Related

Cab files load as text ine PIE.

Does anyone know why some cab files open as atext webpage in PIE?
i'm trying to install supertasks 2.0 to my phone (no desktop pc nearby)
http://www.softwareandson.com/SuperTasks/download.php
It's a problem with the web page design. The cab file is not declared as the correct type on the web page. Unlikely that you can do anything to retrieve it on your PocketPC.
It downloads fine for me...strange.
Here's a trick: Right click on the item, and select "save link as..."
This should work.
HappyGoat - downloads fine for me too, on a *pc*
I think dah54 is right, can't do anything about it. Maybe Netfront will be able to d/l it.
I think its so stupid that a PDA is tied to a PC. It should be autonomous.

[REQ] Wake On Lan

Hi Guys & Gals,
Quick question.....
Has anybody come across a Wake On Lan app for WM6. I have a small home network that I start up from a central PC using Wake On LAN function in the system BIOS. I would like to be able to start my PC's from the Blackstone over my WLAN.
Everything within the LAN & WLAN is running reserved DHCP from the router side so all IP's are constant including the Blackstone.
Cheers for any replies.........
Gilgamesh.......
I don't know if any solution exists but I've read a tutorial (in french sorry) on how to make a wake on line application for wm
http://blogs.msdn.com/pierreca/archive/2009/03/19/wake-on-lan-depuis-votre-t-l-phone.aspx
Hope that could help you
Try this..
jpl69 cheers.........The app works like a charm but is a little basic. Needs the full MAC to be entered manually each time.
What would be really nice is some way of associating the MAC to a short meaningful name that could then be listed so it could just be selected from a list rather than enter the full MAC each time. In this way multiple PC's coud be listed.
While we're at it would also be nice to have a standby button as well so PC's within the LAN could be started and shut down form the app.
I've never written an app before and would either like a few pointers to see if I could do it or see if anyone out there would consider building on the app already posted.
Any suggestion welcome.......
Besides developing an app to that (no time) i could sugest make several shortcuts using resco and parsing the mac as parameter. At least you only had to make it once.
Thanks jpl69 for your continued replies...much appreciated.
I have seen Resco but not realy sure which component to download to edit the exe. I have used PEG (parsing) in other apps at work but just need something to get me started on WM6. I could the replicate the exe per MAC and create a single file or each PC
Might be worth looking at vxUtil: http://www.cambridgevx.com.
This has Wake-On-LAN (among other things), and I think it remembers previously entered values. You can't give things memorable names but it might help.
Gilgamesh1066 said:
Thanks jpl69 for your continued replies...much appreciated.
I have seen Resco but not realy sure which component to download to edit the exe. I have used PEG (parsing) in other apps at work but just need something to get me started on WM6. I could the replicate the exe per MAC and create a single file or each PC
Click to expand...
Click to collapse
i think he means, like, create new shortcut with parameters. Just for example the same as on pc creating a shortcut to c:\quake\quake.exe and use the string "c:\quake\quake.exe" +bind mouse1 shoot +set mode opengl blablabla
Again thanks for the continued replies.....
Downloaded vxUtil and had a play and it does have a working WOL option but again it's messy and not really the simple solution I was looking for. It does have some other features (ping/sweep, tracert & DNS lookup) but I don't really have a use for these.
Still really after a single icon to start each PC as per the shortcut suggestion above.
All suggestions still welcome and appreciated.
I will just try to clarify what was the idea of jpl69.
Please read the README file included in the attached archive (posted by jpl69).
It says:
"Command Line:
===============
Please use as following:
WakeOnLan.exe [MACAddress]
MacAddress can be either 01E4523AEE22 or 01:E4:52:3A:EE:22 "
Now with Resco Explorer (or with Total Commander, which is freeware) one can make several different shortcuts to WakeOnLan.exe, each ending with the specific MAC.
In Total Commander, after creating the shortcut, one must select it, choose "properties", then "shortcut" tab, then manually add the MAC at the end of the "target" line.
Copy the ready shortcut several times, name the new copies whatever you want and place those shortcuts in a folder. Dont forget to change the MAC for each machine.
Hope it helps.
Now I get it......Sorry for the slow uptake but been a busy boy and head has been fried by other things. Will have a play tomorrow and post back results.
Many thanks..........
I dont know if you still looking to do this but I got this working & figured I would reply here for future reference.
First i have a linksys DD-WRT router, so I followed these steps:
http://www.dd-wrt.com/wiki/index.php/WOL
Then I downloaded the attached cab & its one click & works great!
RichTJ99 said:
I dont know if you still looking to do this but I got this working & figured I would reply here for future reference.
First i have a linksys DD-WRT router, so I followed these steps:
http://www.dd-wrt.com/wiki/index.php/WOL
Then I downloaded the attached cab & its one click & works great!
Click to expand...
Click to collapse
I have been using the WakeOnPocketPC from Depicus happilly with WM 6.1. Now, after upgrade to WM 6.5 (Dutty ROM Leo Holy Grail), the cab fails to install ("...installation was unsuccessful.")
Any other program with capability to send WOL packets to a particular IP address (and not just broadcast over LAN)?
Although this thread is about one year old, before I developed my WoL everywhere program, I searched for programs like mine here and came to this thread... None of the programs I've found fit my requirements, so I made a program myself...
So I hope your search is over and you've found what you need with my little WoL everywhere... you can download it here:
http://forum.xda-developers.com/showthread.php?t=695524
Greetings @ all!
LichtiMC
Create a shortcut to WakeOnLan with a MAC address
Hi,
I'm pasting to this old thread since I found the WakeOnLan tool here and want to share my tips with others.
If you want to create a shortcut so that you have a separate executable (say in your Start Menu) then follow these steps:
Install WakeOnLan from the above link. I put it in "\Program Files\WakeOnLan\WakeOnLan.exe"
Browse to this location with explorer on your PPC. Select the WakeOnLan executable and click "copy"
Browse to where you want the shortcut to appear:
"\Windows\Start Menu" will show in your start menu
"\Windows\Startup" will be run when you reset or power cycle the device
"\Windows\Programs" will apear in your Start Menu > Programs folder
"\Windows\Settings" will appear in your system settings
Select on some empty space (not an existing file) in your chosen folder and choose "Paste shortcut"
Use a text editor on Windows / Linux to edit this new file, or one on your device (I didn't have any that would open on my device so I copied it to Linux, edited in emacs, then copied it back)
Edit the line that looks like:
Code:
40#"\Program Files\WakeOnLan\WakeOnLan.exe"
essentially this is a character count, a "#", the location the shortcut points to, and arguments. Add your MAC address like this and take note of the quotes:
Code:
58#"\Program Files\WakeOnLan\WakeOnLan.exe" AA:BB:CC:DD:EE:FF
count the characters of the shortcut, mac address, and space, then add one. This is your new number (in my case, 58).
An easy way to do this is to use "wc" on Linux:
Code:
echo "\Program Files\WakeOnLan\WakeOnLan.exe AA:BB:CC:DD:EE:FF" | wc -c
57
(remember to add 1!)
Now you can repeat the process and paste as many different WoL shortcuts as you like! I've made just one and called it "WoL MythTv" to wake up my media centre at home. Neat
I'll post my sources in the next post since new users aren't allowed to post links...

[TRICK] Resume ANY Broken Download in Opera Mini

Amazing Trick Requirement
*Android Device
*Opera Mini (It was only tested on Opera Mini but you can try on Opera Mobile and see if it works)
*File Manager(any)
What does the trick do? ​
I was derping around with my mobile
and found an amazing download. When I clicked on Download, I realised, oh BEEP
I was in Opera Mini, one of the worst download manager. One time your download breaks, it can't be resumed. I crossed my fingers and then hoped it does not fail. But it failed at 47 mb out of 50 mb
Fuuuuuuuuuu......
But then, I was so down, I decided that Challenge Accepted
I fiddled around and SUCCESS, I found out a way you can resume ANY broken download, even if you reboot your phone
Credits
Tata Docomo:
For breaking the internet at the eleventh hour
Opera:
For best browser ever
IamAreebJamal :
For finding this trick(I hereby take no responsibility of your amazing data getting wasted trying or using this trick or your precious download failing or your device not able to run Bad Piggies or Asphalt 7 or Temple Run being laggy or IMEI loosing or Graphical Glitches or Devices bricking, blah)​
Instructions:-
​Read very carefully
1. Download anything IN OPERA MINI and wait it to fail (Here, we assume you downloading iamareebjamal.zip)
2. Once it is failed, DON'T CLICK ON RETRY and go to any file manager and to path of that file and rename it to whatever you like (eg: iamareebjamal2.zip)
3. Go again to Opera Mini and click on RETRY now.
4. As soon as it shows 0.1 mb downloaded, PAUSE it.
5. Go again to File Manager and you may see two files, first one which you recently renamed and new download file of approx 0.1 mb(or of size it was when you PAUSED it) [Paused file will have original download name such as iamareebjamal.zip]
6. Rename new file to whatever you want and rename the previously failed download to its original name [iamareebjamal.zip(paused download) -> whatever.zip] [iamareebjamal2.zip -> iamareebjamal.zip]
7. Go back to Opera Mini and resume the download. Download will RESUME from WHERE IT WAS FAILED. (f yeah) [Make sure Opera Mini isn't killed in renaming process as you may have to redo the whole process if it does]
8. Enjoy
This colourful and easy to understand guide was made on mobile using the individual typing of BB CODES by hands of OP
Please understand how difficult it is to do it on mobile by trying it sometime
iamareebjamal said:
Amazing Trick Requirement
*Android Device
*Opera Mini (It was only tested on Opera Mini but you can try on Opera Mobile and see if it works)
*File Manager(any)
What does the trick do? ​
I was derping around with my mobile
and found an amazing download. When I clicked on Download, I realised, oh BEEP
I was in Opera Mini, one of the worst download manager. One time your download breaks, it can't be resumed. I crossed my fingers and then hoped it does not fail. But it failed at 47 mb out of 50 mb
Fuuuuuuuuuu......
But then, I was so down, I decided that Challenge Accepted
I fiddled around and SUCCESS, I found out a way you can resume ANY broken download, even if you reboot your phone
Credits
Tata Docomo:
For breaking the internet at the eleventh hour
Opera:
For best browser ever
IamAreebJamal :
For finding this trick(I hereby take no responsibility of your amazing data getting wasted trying or using this trick or your precious download failing or your device not able to run Bad Piggies or Asphalt 7 or Temple Run being laggy or IMEI loosing or Graphical Glitches or Devices bricking, blah)​
Instructions:-
​Read very carefully
1. Download anything IN OPERA MINI and wait it to fail (Here, we assume you downloading iamareebjamal.zip)
2. Once it is failed, DON'T CLICK ON RETRY and go to any file manager and to path of that file and rename it to whatever you like (eg: iamareebjamal2.zip)
3. Go again to Opera Mini and click on RETRY now.
4. As soon as it shows 0.1 mb downloaded, PAUSE it.
5. Go again to File Manager and you may see two files, first one which you recently renamed and new download file of approx 0.1 mb(or of size it was when you PAUSED it) [Paused file will have original download name such as iamareebjamal.zip]
6. Rename new file to whatever you want and rename the previously failed download to its original name [iamareebjamal.zip(paused download) -> whatever.zip] [iamareebjamal2.zip -> iamareebjamal.zip]
7. Go back to Opera Mini and resume the download. Download will RESUME from WHERE IT WAS FAILED. (f yeah) [Make sure Opera Mini isn't killed in renaming process as you may have to redo the whole process if it does]
8. Enjoy
This colourful and easy to understand guide was made on mobile using the individual typing of BB CODES by hands of OP
Please understand how difficult it is to do it on mobile by trying it sometime
Click to expand...
Click to collapse
is this tutorial also works on other browser??
Sent from my GT-S5360 using xda premium
abhijitro said:
is this tutorial also works on other browser??
Sent from my GT-S5360 using xda premium
Click to expand...
Click to collapse
No.
The op clearly states that it is for opera.
And other browsers (most) supports resume from break point. So its not needed.
______________________________________
A HeRo can be AnyOne....© even a PO TA TOE....
http://forum.xda-developers.com/showthread.php?t=2197631

[GUIDE] Run Free Hyper-V Server in Desktop Mode

Hi All,
This is my first guide on XDA and this might not be the right topic but it's related. (This is for Advanced users)
I want to start this thread to show how you can use Microsoft's Free Hyper-V Server for more than just "Hyper-V".
I have done tests with Hardware and VMWare Player (V5) with both Hyper-V 2008 R2 & Hyper-V 2012.
System Requirements;
http://en.wikipedia.org/wiki/Hyper-V#System_requirements_and_specifications
And more specifically;
http://en.wikipedia.org/wiki/Hyper-V#Microsoft_Hyper-V_Server
Download a Free copy of Hyper V Server; (It’s free, so no Install key required!)
http://www.microsoft.com/en-us/server-cloud/hyper-v-server/default.aspx (You might need to register)
I have successfully used VMWare Player 5, Version 4 works for Hyper-V 2008 R2 but not 2012.
If you are trying this on hardware directly, you’ll also need to download your system’s drivers (at a minimum the Network Card) and a web browser
. i.e. Chrome downloader from: https://www.google.com/intl/en/chrome/browser/ (Tested to work correctly in Hyper-V Environment) Save these to a USB stick.
Anything else can be downloaded once Hyper-V Server is up and running.
Follow the Hyper-V installation as usual (all defaults)
As a guide; Select Custom Installation, you'll need more than 10GB hard drive size after we add extras, so pick 20GB as a minimum. wait for the re-boot
At this point you'll be asked to set a password and you'll get a command prompt for a user interface.
That's right, Desktop, control panel, Start menu, Metro, Task Bar, System Tray, Internet Explorer are all User interface elements that are removed from this copy of windows.
This is where this [GUIDE] starts to provide non-standard information;
Let's start by Installing your Drivers. (I'm assuming you know how to use the command prompt to change drive letter of your USB drive and launch the driver installer program.)
OR in VMWare case, on the menu select Install VMWare tools. This will not launch automatically, hence you'll need to use the command prompt to change to your CD/DVD Drive and launch the "Setup.exe" for VMware tools.
Now start the installation for Chrome, similar to above.
Now Chrome is running, Close the prompt to select default browser (it's your only browser...)
Sometimes I have found Chrome to crash with a dinput8.dll error (no all websites), Chrome works with this prompt up, but it's nicer to avoid it prompting.
http://www.driverskit.com/dll/dinput8.dll/585.html * We'll get back to this later...
You'll need to be uncompressed the above file, so lets download 7Zip also
http://www.7-zip.org/download.html
Now we need a file manager, since there is no Windows Explorer (or now called explorer) Explorer2 (x2) fits the bill nicely.
http://www.zabkat.com/x2lite.htm * Free Light Version (There are issues with not displaying some files, That because it’s a 32bit application that is not 100% compatible with a 64bit environment), The Pro Version is US$29.95 and is available in 64bit. When you install this, select the option to replace Explorer (note: there is no explorer, so this option allows explorer2 to handle some calls to explorer)
Now download a Start menu, Taskbar “desktop” replacement http://www.emergedesktop.org/* Free and customizable.
- Lets customize the Emerge desktop,
- If not started run “C:\Program Files\Emerge Desktop\emergeCore.exe”
- Lets start by removing menu Items that are broken due to not having a full copy of windows.
-- Settings, Configure Core, Click on emergeLauncher.exe, the press the Cog.
--- Delete “Homepage”
--- Delete “Executable %AppletDIR%\documentation\...”
--- Delete “ Tutorial”
--- Add Type “Live Folder”, Folder “C:\Users\Public\Desktop” (Click Save)
-- Settings, Configure Core, Click on emergeTasks.exe, the press the Cog.
--- Change Icon Size to 16x16 (Click OK)
- Start menu (or right click any where on the desktop) select Desktop Display, right click, Delete.
Now any new program that puts a shortcut in this folder “C:\Users\Public\Desktop” will appear on the launch Task Bar.
For some "Control Panel" replacement options download a GUI for managing some windows features (These projects help to speed up initial configuration;
http://corefig.codeplex.com/ Corefig for Windows Server 2012 Core and Hyper-V Server 2012
https://coreconfig.codeplex.com/ for Windows Server 2008 R2 x64 Core edition
This together with Sconfig can do quite a bit of windows configurations without resorting to the command line.
Ok the dinput8.dll.zip you downloaded earlier, you can un-compress this and put the dll (not the zip) in to the C:\windows\system32 folder.
If you want to make re-starting faster and don't plan on using Hyper-V, lets remove it. (coreconfig I think has this option but the following will always work) In a command prompt window type the following;
start /w ocsetup microsoft-hyper-v /uninstall
(Windows will need to restart a couple of times to do this)
(Optional) Enable a network share (You can use this like a Network file Server now, I don't know if there is a limitation to the number of connections like in desktop versions of windows)
net share /Grant:Administrator,FULL system=c:\
Remote Desktop Concurrent Users limit: 2 (one console, one remote OR two remote) (1 UP on a windows workstation copy)
Enable with from the Sconfig utility..
If you want to run SQL Server (Tested with 2008 R2) you'll need DotNet3.5
In a command prompt window type the following;
DISM /Online /Enable-Feature /FeatureName:NetFx3 /All
I did this as a test a while ago and I think that is all I needed to do and it worked. (I have gotten it to work, so it would be interesting on how much it can be pushed on this platform)
Need Java? Download Java http://java.com/en/download/
Need to use Office Documents?; http://www.libreoffice.org/download
Need FTP Server?; https://filezilla-project.org/download.php?type=server
Need Web Server?; http://mirror.mel.bkb.net.au/pub/apache//httpd/binaries/win32/
Need QEMU support? http://qemu.weilnetz.de/w64/
I used the built in Windows Updates (option 6 on the Sconfig utility) but I also prefer to use: WSUS Offline http://wsusoffline.net/
WSUS will also quickly get you copies of Silver light & C++ run times (or you can find the URL's manually), I find it's best to use both, WSUS Offline for quick offline copies and windows updates for the latest Microsoft has to offer... (I did not say latest & greatest...)
Work in Progress (probably not going to happen without 3rd party work).
Need Sound? (Don’t know of a solution yet…) I saw someone working on this with Server 2012 Core but I did not find the solution or if it would work with hyper-V copy.
Need Direct X? (Don’t know of a solution yet…) I've tried downloading -redist copies, etc but Direct X has been integrated into windows for years and this is the copy it's removed from.
I'd also want to get VMWare Player working or similar for the USB Pass through feature and 3D client support but I'd probably have to use an alternative. (I heard of a USB Driver for windows to share over Ethernet to another copy of windows)
Okay, this is all I have got for now, your thoughts?

Some downloads won't start, others do?! Tab S

Hi,
Thanks for your time, I need some help!
On my Tab S, downloads from some sites run fine, while from others the orange webpage progress stripe travels across the top of the screen, but nothing happens. No files appear in downloads foler or notifications. If you long-press & select open in new window, the new window is just blank.
It is this device, not the files, as the same files open fine on other devices.
It's not the browser - same problem if tried in Chrome, Explorer or Firefox.
It's not the .pdf viewer, of which I have several working fine.
McAfee security software maybe causing problem??
This problem only started about the end of May ... so maybe an update caused the problem?
80% of download files work fine. 20% do nothing.
The biggest problem I'm having is with my cloud accounting software “Xero” - on this device, .aba banking files, .jpeg & .pdf ...any file actually .. from Xero.. will now not work on this device. Files from Xero used to work on this device, & they still work on my phone.
Here's another example. This .pdf from Suncorp DOES open on this Tab S device no problem, both in cloud viewer & downloaded to device:
(not allowed to post the link, so put the terms ".pdf Suncorp" into Google seach, click on the .pdf titled "Module: Introduction - Suncorp Group")
However, this file - also a .pdf from Suncorp - will not download on the Tab S, but it works fine on my phone (same McAfee package is used on the phone (Galaxy 4) so I don't really think McAfee is the problem either):
On the Tab S - for some seemingly random files - the download just doesn’t seem to start anymore. ??!?!
On the google search page, a long press on the .pdf files brings up "open in PDF viewer" as a menu option for some PDFs and not for others ... maybe this is a clue?
As noted above, this random refusal to download acurs with other files types as well, not just PDFs.
Any suggestions? I use this device mostly for accounting & banking, so this problem is a real pain!
With thanks for you time,
Michelle.
(Galaxy Tab S, model SM-T805Y).

Categories

Resources