PnP III v3.50: Enhance the standard OS - DOWNLOAD HERE!

General discussion relating to the O2 Joggler, from the default O2 setup, to alternative operating systems and applications.
User avatar
offbeatdave
Posts: 1045
Joined: Wed Mar 09, 2011 10:43 pm

Re: PnP III: Enhance the standard OS - DOWNLOAD IT HERE!

Post by offbeatdave »

Not near one at the moment but I believe you point it at mnt
"EVERY DAY I'M JOGGLERING!"
Jogglering since Dec '09;
Tinkering with Jogglers since Feb '10 thanks to PMJ, Jogtools, PnP & sqpOS;
Gave something back Feb '12 to Apr '14 with PnP Mk II & PnP III;
Finally 'completed' PnP III Apr '15!
castalla
Posts: 860
Joined: Wed May 29, 2013 10:33 am

Re: PnP III: Enhance the standard OS - DOWNLOAD IT HERE!

Post by castalla »

Also, try /media ... it'll be one of the usb subdirs. (Or that may only apply if you install the Sqpos system ...)
Last edited by castalla on Thu Sep 04, 2014 8:57 pm, edited 1 time in total.
acs
Posts: 4
Joined: Thu Sep 04, 2014 8:36 pm

Re: PnP III: Enhance the standard OS - DOWNLOAD IT HERE!

Post by acs »

It's ok. I've just figured it out!
acs
Posts: 4
Joined: Thu Sep 04, 2014 8:36 pm

Re: PnP III: Enhance the standard OS - DOWNLOAD IT HERE!

Post by acs »

castalla wrote:Also, try /media ... it'll be one of the usb subdirs. (Or that may only apply if you install the Sqpos system ...)
Thanks for replying.
acs
Posts: 4
Joined: Thu Sep 04, 2014 8:36 pm

Re: PnP III: Enhance the standard OS - DOWNLOAD IT HERE!

Post by acs »

offbeatdave wrote:Not near one at the moment but I believe you point it at mnt
Yep, that was it. I found it in another thread. Thanks for replying.
castalla
Posts: 860
Joined: Wed May 29, 2013 10:33 am

Re: PnP III: Enhance the standard OS - DOWNLOAD IT HERE!

Post by castalla »

And the answer is .... ????
mb1
Posts: 18
Joined: Sat Apr 14, 2012 11:28 am

Re: PnP III: Enhance the standard OS - DOWNLOAD IT HERE!

Post by mb1 »

Not sure if this is related to my upgrade woes, but I noticed tonight that the Wifi settings are a bit odd. It connects to my router fine, but drilling down into the actual settings it's picked I see that TKIP is the encryption when I only use AES and WPA is shown when I only use WPA2!

Even forcing these settings don't seem to stick. Is this related to Accuweather and Google Calendar complaining that there's "no internet connection" when Squeezeplay seems to be just fine?
jim_lewis1
Posts: 179
Joined: Wed Mar 26, 2014 4:44 pm

Re: PnP III: Enhance the standard OS - DOWNLOAD IT HERE!

Post by jim_lewis1 »

ooh, I just realised I have the same issue. I wasn't going to use the weather/calendar apps, but would like to know why they're not working. I use a wired conneciton though??? As noted, Squeezeplay is fine and so is going online on the internet app or following the gmail link. Weird
Error
Posts: 243
Joined: Wed Sep 18, 2013 2:13 pm

Re: PnP III: Enhance the standard OS - DOWNLOAD IT HERE!

Post by Error »

Right now I use Squeezeplay OS as operating system.

Suppose I install PNPIII on a second usb stick and let the Joggler power off, remove SqpOS-stick, install PNPIII stick and let it boot PNPIII, are all the settings I made with SqpOS gone if I reboot SqpOS later on? Or will it restore just as it was?
castalla
Posts: 860
Joined: Wed May 29, 2013 10:33 am

Re: PnP III: Enhance the standard OS - DOWNLOAD IT HERE!

Post by castalla »

The settings will be preserved.
craig_1234
Posts: 39
Joined: Mon Sep 10, 2012 1:33 am

Re: PnP III: Enhance the standard OS - DOWNLOAD IT HERE!

Post by craig_1234 »

Google Maps is also broken. It displays an error message relating to an invalid API ID. Google Calendar and Weather are also not working, as mentioned. Squeezeplay still works
User avatar
offbeatdave
Posts: 1045
Joined: Wed Mar 09, 2011 10:43 pm

Re: PnP III: Enhance the standard OS - DOWNLOAD IT HERE!

Post by offbeatdave »

Yes, I had a look last night.It's nothing I've done at this end. Guess something has expired on the system.
"EVERY DAY I'M JOGGLERING!"
Jogglering since Dec '09;
Tinkering with Jogglers since Feb '10 thanks to PMJ, Jogtools, PnP & sqpOS;
Gave something back Feb '12 to Apr '14 with PnP Mk II & PnP III;
Finally 'completed' PnP III Apr '15!
craig_1234
Posts: 39
Joined: Mon Sep 10, 2012 1:33 am

Re: PnP III: Enhance the standard OS - DOWNLOAD IT HERE!

Post by craig_1234 »

The weather app is now working fine, just downtime I guess. However, google maps won't work:

Google disabled the "google maps flash API" 2nd September 2014, so the version on the joggler won't work again :cry: . The same issue may have occurred with google calendar.

The "google maps javascript API" can be used with flash, but we need to use the Adobe AIR HtmlLoader class and run the Adobe Air framework on the joggler. Or, someone could make a flash version of mapquest using the "mapquest flash api".

I guess for now we'll have to use google maps and google calendar via the browser.
mb1
Posts: 18
Joined: Sat Apr 14, 2012 11:28 am

Re: PnP III: Enhance the standard OS - DOWNLOAD IT HERE!

Post by mb1 »

Weather app still says no location if I put in something basic like London unfortunately. Any ideas?
User avatar
offbeatdave
Posts: 1045
Joined: Wed Mar 09, 2011 10:43 pm

Re: PnP III: Enhance the standard OS - DOWNLOAD IT HERE!

Post by offbeatdave »

Yeah, still doing that here too...
"EVERY DAY I'M JOGGLERING!"
Jogglering since Dec '09;
Tinkering with Jogglers since Feb '10 thanks to PMJ, Jogtools, PnP & sqpOS;
Gave something back Feb '12 to Apr '14 with PnP Mk II & PnP III;
Finally 'completed' PnP III Apr '15!
craig_1234
Posts: 39
Joined: Mon Sep 10, 2012 1:33 am

Re: PnP III: Enhance the standard OS - DOWNLOAD IT HERE!

Post by craig_1234 »

Yeah, the weather app won't let you add any locations. However, you can add the locations manually as they are stored in a text file.

Simple Guide:

1. SSH into your joggler using putty. Make sure the weather app is closed.
2. cd /media/app-cfg/common
3. Create a file called weatherFile.txt within this directory using vi: vi weatherFile.txt
4. Copy and paste the following XML:

Code: Select all

<?xml version="1.0" ?>
<weather>
  <location id="EUR|UK|UK001|Birmingham" city="Birmingham" region="United Kingdom(Birmingham, England)"/>
  <location id="EUR|UK|UK001|London" city="London" region="United Kingdom(London, England)"/>
</weather>
In the example above the weather for Birmingham and London will be displayed. To add more locations simply add a new line <location id:=" ........ before the close </weather>

For any UK locations you can simply change the name of the city i.e. from London to Manchester etc.

For other locations see this list for the command: http://pastebin.com/dbtemx5F

5. Save the file using vi
6. Run the weather app and select the location you require.

Hope this helps
User avatar
offbeatdave
Posts: 1045
Joined: Wed Mar 09, 2011 10:43 pm

Re: PnP III: Enhance the standard OS - DOWNLOAD IT HERE!

Post by offbeatdave »

Cool. Beat me to writing guide. When I get a chance I'll add it to first post. Nice one.
"EVERY DAY I'M JOGGLERING!"
Jogglering since Dec '09;
Tinkering with Jogglers since Feb '10 thanks to PMJ, Jogtools, PnP & sqpOS;
Gave something back Feb '12 to Apr '14 with PnP Mk II & PnP III;
Finally 'completed' PnP III Apr '15!
craig_1234
Posts: 39
Joined: Mon Sep 10, 2012 1:33 am

Re: PnP III: Enhance the standard OS - DOWNLOAD IT HERE!

Post by craig_1234 »

Ad-Blocker using /etc/hosts

I find this a pretty easy method to block adverts via opera and system wide. Also speeds up web browsing a bit on the joggler.

Basically all we are doing is grabbing an ad-block list and writing a small shell script to patch the host file. Use this guide at your own risk and always take a backup.

1. SSH into your joggler
2. Make a backup of the host file:

cp /etc/hosts /etc/hosts.bak

If you mess up, simply delete the old host file and rename the backup.

3. Create the shell script using vi:

vi /media/update_hosts.sh

Press ESC and type i to enter edit mode.

4. Copy and paste the following code into the shell script. If using putty you can copy and use right mouse click to paste.

Code: Select all

wget http://winhelp2002.mvps.org/hosts.txt
rm /etc/hosts
mv hosts.txt /etc/hosts
Press ESC and type ZZ (in capitals) to save the file

This script will download the latest ad-block file from http://winhelp2002.mvps.org, remove the existing host file and apply the updated host file.

5. Next, go to /media and make the script executable: chmod +x update_hosts.sh

6. To run the script type: ./update_hosts.sh

This will update the host files to the latest ad-block file.

7. If you want to update the host file automatically you can install and use cron, create an shortcut for the script or run the script everytime the opera browser is loaded
(It will slow down the launch by a few seconds):

To run it everytime opera launches, edit the /media/gforums/webserver/starter/opera/opera.cgi file and paste the following line: /media/update_hosts.sh


Is there any way we can add this (via a button) to the next version of PnP III?
User avatar
offbeatdave
Posts: 1045
Joined: Wed Mar 09, 2011 10:43 pm

Re: PnP III: Enhance the standard OS - DOWNLOAD IT HERE!

Post by offbeatdave »

Yeah. Will try to find time to look at this during the week. My focus is currently delving into the workings of Android systems at the moment but you've done all the hard work on this - thanks! It won't take me long to pop this in if you want it.
"EVERY DAY I'M JOGGLERING!"
Jogglering since Dec '09;
Tinkering with Jogglers since Feb '10 thanks to PMJ, Jogtools, PnP & sqpOS;
Gave something back Feb '12 to Apr '14 with PnP Mk II & PnP III;
Finally 'completed' PnP III Apr '15!
jim_lewis1
Posts: 179
Joined: Wed Mar 26, 2014 4:44 pm

Re: PnP III: Enhance the standard OS - DOWNLOAD IT HERE!

Post by jim_lewis1 »

HI, thanks for the info on adding locations. It worked fine for Bristol, UK as I was able to easily adhere to the given format. When I added Stavanger, Norway though I see that the given format in the pastbin list is not quite the same as that you gave for Bristol. I modified from pastebin according to the given format as best as I can , but I get strange behaviour in the file.

After editing I had this

<?xml version="1.0" ?>
<weather>
<location id="EUR|NO|NO013|Stavanger" city="Stavanger" region="Norway(Stavanger, Rogaland)"/>
<location id="EUR|UK|UK001|Bristol" city="Bristol" region="United Kingdom(Bristol, England)"/>
</weather>

Having modifed and added the location id line as seen above, after running the app and reopening the weatheFile I see it has been modified in the way seen below, IE the second line changed from <weather> to everything you see there.

<?xml version="1.0" ?>
<weather id="EUR|NO|NO013|Stavanger" city="Stavanger" region="Norway(Stavanger, Rogaland)" units="1">
<location id="EUR|NO|NO013|Stavanger" city="Stavanger" region="Norway(Stavanger, Rogaland)"/>
<location id="EUR|UK|UK001|Bristol" city="Bristol" region="United Kingdom(Bristol, England)"/>
</weather>


I see also the term 'units' has appeared. I'd like always to arrive by default to Stavanger with units C.
At present it is New York (although I see no mention in this file) and the units are in F

Any help appreciated.
Post Reply