View Single Post
pelago's Avatar
Posts: 2,121 | Thanked: 1,540 times | Joined on Mar 2008 @ Oxford, UK
#161
After some hours of researching how to do so, I finally managed to download the cherry deb file. On my PR1.1.1 N900 I used (as root)
Code:
apt-get install wget
then (not as root),
Code:
wget --no-check-certificate https://qa9recEP:Pat2UGuP@downloads.maemo.nokia.com/fremantle/ssu/mr0/cherry_0.20-2+0m5_armel.deb
to get the archive. Strangely, that same wget command doesn't seem to work on my Ubuntu box, only from the N900.

Anyway, of course the main cherry binary is closed source, but I now see the /etc/X11/Xsession.d/34cherry script that arne mentioned, which for the record contains:
Code:
#!/bin/sh

# Cherry checks for .cherry_state anyway, but testing here makes it faster
if [ ! -f /home/user/.cherry_state ] ; then
  . /etc/X11/Xsession.d/04b_start_matchbox
  /usr/bin/cherry 1>&2
  . /etc/X11/Xsession.d/06stop_matchbox
fi
It would certainly seem that doing
Code:
touch /home/user/.cherry_state
as arne said, should stop the binary from doing anything.

Note that there is also a script called /etc/osso-cud-scripts/cherry-clean.sh which deletes the /home/user/.cherry_state file:
Code:
#!/bin/sh
/bin/rm -f $HOME/.cherry_state
Maybe this is called when the user does "Restore Original Settings" from the menu in the Settings app? If that is true, if you ever do that, you might want to
Code:
touch /home/user/.cherry_state
again to stop the SMS from being sent next boot.

I found the changelog mildly interesting, as you get to read a little about how the app developed over time. It contains:
Code:
cherry (0.20-2+0m5) unstable; urgency=low

  * This entry has been added by BIFH queue processor
    version has been changed to 0.20-2+0m5

 -- Urho Konttori <urho.konttori@nokia.com>  Tue, 16 Mar 2010 16:46:41 +0200

cherry (0.20-2) unstable; urgency=low

  * 0.20-2 uses PROD configuration

 -- Alban Crequy <alban.crequy@collabora.co.uk>  Mon, 15 Mar 2010 12:11:51 +0000

cherry (0.20-1) unstable; urgency=low

  * Read environment variables CHERRY_FORCE_MCC_FOR_TERMS and
    CHERRY_MCC_FOR_TERMS for debugging
  * Fixes: NB#159338 Disable keys ctrl-n/ctrl-u
  * 0.20-1 uses QA configuration

 -- Alban Crequy <alban.crequy@collabora.co.uk>  Mon, 15 Mar 2010 11:50:30 +0000

cherry (0.19-2) unstable; urgency=low

  * 0.19-2 uses PROD configuration

 -- Alban Crequy <alban.crequy@collabora.co.uk>  Thu, 04 Mar 2010 14:23:10 +0000

cherry (0.19-1) unstable; urgency=low

  * Fixes: NB#159208 Fix terms cleaning script for h1 titles
  * Fixes: NB#159084 Fix terms language with Norwegian SIM cards
  * 0.19-1 uses QA configuration

 -- Alban Crequy <alban.crequy@collabora.co.uk>  Thu, 04 Mar 2010 14:10:55 +0000

cherry (0.18-2) unstable; urgency=low

  * 0.18-2 uses PROD configuration

 -- Alban Crequy <alban.crequy@collabora.co.uk>  Wed, 03 Mar 2010 14:29:48 +0000

cherry (0.18-1) unstable; urgency=low

  * Fixes: NB#158773 Cherry uses the correct ovi icon
  * 0.18-1 uses QA configuration

 -- Alban Crequy <alban.crequy@collabora.co.uk>  Wed, 03 Mar 2010 14:24:40 +0000

cherry (0.17-2) unstable; urgency=low

  * 0.17-2 uses PROD configuration

 -- Alban Crequy <alban.crequy@collabora.co.uk>  Fri, 26 Feb 2010 15:20:47 +0000

cherry (0.17-1) unstable; urgency=low

  * New PROD configuration from Jukka 2010-02-26
  * Terms: add terms for country code 235 (UK)
  * New QA configuration from Jukka 2010-02-26
  * Terms: add terms for country code 310 311 316 (USA)
  * KeyLeadService: set to Store (9)
  * 0.17-1 uses QA configuration

 -- Alban Crequy <alban.crequy@collabora.co.uk>  Fri, 26 Feb 2010 15:02:09 +0000

cherry (0.16-3) unstable; urgency=low

  * Fixes: NB#154397 - Cherry integration
  * Remove English support for Finland in the PROD image

 -- Alban Crequy <alban.crequy@collabora.co.uk>  Wed, 24 Feb 2010 15:48:36 +0000

cherry (0.16-2) unstable; urgency=low

  * Same as 0.16-1 but with PROD numbers

 -- Alban Crequy <alban.crequy@collabora.co.uk>  Tue, 23 Feb 2010 14:10:02 +0000

cherry (0.16-1) unstable; urgency=low

  * Fix bug on sending SMS to international or short numbers, again

 -- Alban Crequy <alban.crequy@collabora.co.uk>  Tue, 23 Feb 2010 14:06:10 +0000

cherry (0.15-2) unstable; urgency=low

  * Switch to QA configuration for testing

 -- Alban Crequy <alban.crequy@collabora.co.uk>  Tue, 23 Feb 2010 13:45:17 +0000

cherry (0.15-1) unstable; urgency=low

  * Fixes: NB#156627 - powerup_to_get_most text is displayed partially

 -- Alban Crequy <alban.crequy@collabora.co.uk>  Fri, 19 Feb 2010 17:21:41 +0000

cherry (0.14-2) unstable; urgency=low

  * Fixes: NB#156620 - Legal disclaimer looks bad
  * Fixes: NB#156703 - My Nokia icon missing in the control panel
  * Fixes: NB#156709 - use real phone number instead of QA number
  * Fixes: NB#156886 - Unable to unsubscribe if the language is not supported
  * Fixes: NB#157395 - An extra button starts with Norsk(Norge)
  * Fixes: NB#157494 - Terms and Conditions dialog is empty with Indian SIM

 -- Alban Crequy <alban.crequy@collabora.co.uk>  Fri, 19 Feb 2010 12:51:41 +0000

cherry (0.14-1) unstable; urgency=low

  * Fix bug on sending SMS to short numbers

 -- Alban Crequy <alban.crequy@collabora.co.uk>  Thu, 18 Feb 2010 16:08:48 +0000

cherry (0.13-1) unstable; urgency=low

  * Fix control panel UI in Norsk(Norge) NB#157395
  * Production configuration: 2010-02-18 + revert on terms&conditions lang.

 -- Alban Crequy <alban.crequy@collabora.co.uk>  Thu, 18 Feb 2010 13:50:31 +0000

cherry (0.12-1) unstable; urgency=low

  * New QA configuration from Jukka 2010-02-18 with English in Finland

 -- Alban Crequy <alban.crequy@collabora.co.uk>  Thu, 18 Feb 2010 10:34:53 +0000

cherry (0.11-1) unstable; urgency=low

  * Terms and conditions faster to load in the control panel
  * Add empty line between paragraphes in Cherry
  * Use the real phone number from the configuration
  * Terms: use the fallback when the country is unknown
  * New QA configuration from Jukka 2010-02-18

 -- Alban Crequy <alban.crequy@collabora.co.uk>  Wed, 17 Feb 2010 15:42:15 +0000

cherry (0.10-1) unstable; urgency=low

  * Enable debug to test US UI and non-US UI
  * Ability to unsubscribe from the control panel NB#156886
  * Language of terms based on locale
  * Fix tidying script of terms NB#156620

 -- Alban Crequy <alban.crequy@collabora.co.uk>  Mon, 15 Feb 2010 15:32:38 +0000

cherry (0.9-1) unstable; urgency=low

  * New config, based on Jukka Ahokas' email
  * Update eTerms.tar.gz with Uhro's script and Tidy NB#156620
  * Remove last piece of sms-manager
  * Send the SMS to the phone number according to the SIM's MCC-MNC
  * Add terms in the control panel applet

 -- Alban Crequy <alban.crequy@collabora.co.uk>  Thu, 11 Feb 2010 16:01:32 +0000

cherry (0.8-1) unstable; urgency=low

  * Optimizations on D-Bus calls
  * Use matchbox at startup, UI beautification
  * Terms and conditions are compressed

 -- Alban Crequy <alban.crequy@collabora.co.uk>  Wed, 10 Feb 2010 17:46:24 +0000

cherry (0.7-1) unstable; urgency=low

  * Packaging: fix integration errors detected by lintian
  * Get the phone number associated to the current country and network

 -- Alban Crequy <alban.crequy@collabora.co.uk>  Tue, 09 Feb 2010 11:43:18 +0000

cherry (0.6-1) unstable; urgency=low

  * Update UI according to UI spec
  * Display the checkbox for USA
  * Display cherry again after usage of Clear User Data feature

 -- Alban Crequy <alban.crequy@collabora.co.uk>  Mon, 08 Feb 2010 18:41:56 +0000

cherry (0.5-1) unstable; urgency=low

  * Add applet into control panel

 -- Alban Crequy <alban.crequy@collabora.co.uk>  Thu, 04 Feb 2010 16:27:34 +0000

cherry (0.4-1) unstable; urgency=low

  * Disable optification for now
  * Remove translations, it should be integrated by osso-powerup-shutdown

 -- Alban Crequy <alban.crequy@collabora.co.uk>  Wed, 03 Feb 2010 14:57:21 +0000

cherry (0.3-1) unstable; urgency=low

  * Language check, cleanup
  * Fix dependencies

 -- Alban Crequy <alban.crequy@collabora.co.uk>  Wed, 03 Feb 2010 11:52:29 +0000

cherry (0.2-1) unstable; urgency=low

  * Send subscribe and unsubscribe SMS to the QA Cherry server

 -- Alban Crequy <alban.crequy@collabora.co.uk>  Tue, 02 Feb 2010 14:50:36 +0000

cherry (0.1-1) unstable; urgency=low

  * Initial release

 -- Alban Crequy <alban.crequy@collabora.co.uk>  Thu, 14 Jan 2010 15:32:27 +0000

Last edited by pelago; 2010-06-04 at 15:43.
 

The Following 11 Users Say Thank You to pelago For This Useful Post: