Commit Graph

112 Commits

Author SHA1 Message Date
PaulW
cfe876cefb Update backuptool.sh to correctly process force_backuptool flag/file.
This is regarding the following patch:
5cdb4ec653

The patch which was to allow custom_backup_list.txt to be maintained while flashing via ROMManager
WHILE the flag/file force_backuptool is set/present still has issues.  There are 2 reasons for this.

1) The flag is only checked during the first pass (backuptool.sh backup), as once /etc/force_backuptool
   is known to exist, all files are moved to /tmp/backupdir as designated, but when the script is
   ran again once /system has been wiped and updated, the file /etc/force_backuptool no longer exists
   as it was moved to /tmp/backupdir/force_backuptool, so the script fails as it is not checking that
   location.

2) When the backuptool.sh script is called, the above function (checking for force_backuptool) is called
   *before* the /system partition is mounted.  This therefor ignores the file regardless of whether it
   exists or not.  This is caused by check_installscript being called at the wrong point of the script.

There are therefor 2(two) main changes to this script to allow the force_backuptool override to work.
The first being within the main function of check_installscript, and the second being the location of
where check_installscript is called (ie, I moved it to below check_prereq call in the case statement,
as mounting is called before the check_prereq function checks if the ROM version is the same).

This affects *all* devices.

Change-Id: Ia7438f396eaa91b0723e56bb32ce98725e2b2025
2011-05-17 17:49:39 +01:00
Steve Kondik
6e212cf45f cm: Update APK name of new Kineto app
Change-Id: I46c18bde4654f11969137be3be954206f9620d81
2011-05-16 22:38:17 -04:00
blunden
05bd2e3cf0 Update backuptool.sh for new Gtalk app and lib
The new Gtalk app with video and voice chat from the Nexus S
OTA update is currently not backed up by the script because
Google renamed it Talk2.apk and added a new lib for it.

Change-Id: I2b0245d561584fa4d84e7d424653543d723a1ac6
2011-05-04 12:56:18 +02:00
Giulio Cervera
052a7b2e02 cm: remove tmp file on boot
Change-Id: I5bf329663e675fa98e8e269a67b56fc28d37591e
2011-04-26 01:05:34 +02:00
Rok Potocnik
7772cd58b5 corrected T-2 (MCC 293 MNC 64) APNs 2011-04-13 18:45:23 +02:00
William Graham
3f47346c30 Fix compcache
Change-Id: Ib36051d48c232dc7b0bd6fdbb782847ca5ae6398
2011-04-10 16:27:32 -05:00
Emilio López
230b671528 Support built-in ramzswap
This change adds a check for the ramzswap device. This is useful
if the kernel includes ramzswap built-in and not as a module.

Change-Id: I39105064c8fdd678ca3d7e332703b6040806f601
2011-04-07 22:31:10 +00:00
wjb
1818fc345a compcache: support ramzswap.ko in alternate module paths
Support module placement other than the "modules_install" location.
(i.e. /system/lib/modules/ or /system/lib/modules/`uname -r`/)

Change-Id: I04c5175b13655c09e1eb9b47fa0745d1cfcb376d
2011-04-05 12:29:30 -04:00
Abaakouk Mehdi
f92561b3de Add support for old and new compcache module
Change-Id: Iff0109f863114307fc34203819ef241a5efe1656
2011-04-04 15:36:58 +02:00
Sven Dawitz
61b1181e66 Fix: Typo in APN list results in block mms for one provider
Change-Id: I69157b33da8d36d18e024c42f79f8b1bbca12591
2011-03-15 05:02:11 +01:00
attn1
e39accc8e4 Add Telus NAM config; use egrep where more appropriate than grep
Change-Id: If60b85fbb5e92a9bb61a5ec1f9129d2d4da0c40f
2011-03-04 08:11:43 -05:00
Steve Kondik
e3a79924ce Merge "Merge kineto chk and add NAM DHD config into modelid_cfg" into gingerbread 2011-03-03 01:19:07 +00:00
attn1
dd039b6d87 Merge kineto chk and add NAM DHD config into modelid_cfg
Change-Id: I770266b6a35ddfb1a4d4893b9db00dd61aede441
2011-03-02 01:48:51 -05:00
blunden
b07bc18d52 Include the new Google Books app in backuptool.sh
This app is part of the new Gapps from the GRI40 N1 update.
Try it with these Gapps I packaged for lack of a better source.

Change-Id: Ib49fd13e0270dfa15d5e05843a6f11f2b2d6388e
http://bit.ly/hfgtL0
2011-03-02 02:29:01 +01:00
Abaakouk Mehdi
3cf39adf81 Update script for new compcache module (ie: zram)
Change-Id: I725a139830511bf343df2efe238c3a20dd5c235a
2011-02-16 10:09:17 +01:00
Christopher Lais
493719dc9e chkkineto.sh: Allow "ALL" too, per request
Change-Id: I29790c2862e1677f967ad7948a48e01854947875
2011-02-12 15:00:06 -06:00
Steve Kondik
a6a06e1ebc Merge "Typo in Yoigo's MMS gateway in apns-conf.xml" into gingerbread 2011-02-06 18:28:51 +00:00
git
830c7b6978 Typo in Yoigo's MMS gateway in apns-conf.xml
It was not working until I noticed the error,
and works since I manually edited it. First
time I thought I had accidentally edited it
to a wrong value, then I noticed that I needed
to edit every time I updated cyanogenmod, so
I found the error in the sources and I'm
reporting it here to save future updates...

It is
$ host 193.209.134.141
141.134.209.193.in-addr.arpa domain name pointer mms-service.mobile.sonera.net.

and not
$ host 93.209.134.141
141.134.209.93.in-addr.arpa domain name pointer p5DD1868D.dip0.t-ipconnect.de.

Change-Id: I62cfd18f29076189e1da5379bb37dc5bb533c815
2011-02-06 19:05:49 +01:00
charansingh
d204b68f86 Add leo related vendor files in Cyanogen Vendor
Change-Id: Idb55f5a74dd07a2964fbc87d98f522bb1d921947
2011-02-05 17:04:52 -05:00
attn1
e00995c0d7 Allow Kineto only on TMUS/Google
Change-Id: Iea318a277000e5b1dc299074ff5cf8a3a302073f
2011-01-31 23:29:01 -05:00
knotdevel
78d1ac1346 Add NTT docomo APNs (flat, 128k)
Change-Id: I99d1635bc929bd4315956599e20695334de535e8
2011-02-01 01:22:26 +09:00
Steve Kondik
8efdc7e86a Merge "userinit: run-parts from /data/local/userinit.d" into gingerbread 2011-01-30 19:43:54 +00:00
Steve Kondik
05ca4306b1 Merge "cm: bind mount DOWNLOAD_CACHE to /data if /cache is less then 20MB" into gingerbread 2011-01-30 19:11:06 +00:00
Giulio Cervera
c27aa964e6 cm: slight check on modules load
Change-Id: I4847c8193ebb44e2b25a02c8af05b544e7b10a47
2011-01-29 20:27:33 +01:00
Giulio Cervera
de7b80fdf1 cm: bind mount DOWNLOAD_CACHE to /data if /cache is less then 20MB
this is useful for all user which want to use cMTD or static
  partition size (like alpharev) to assign more space to /data
  reducing /cache size

Change-Id: Ib251c9bea1dea50b6c444df977aa605e58008c41
2011-01-29 19:04:18 +01:00
ladios
e7cc354ee3 backuptool: Add an option to ensure running.
When updating via ROMManager, the presence of /tmp/.installscript
will keep backuptool from running. For people who don't like this
happen can `touch /system/etc/force_backuptool` to ensure the
running of backuptool.

Change-Id: I95b78ae569405b50d2cf95ddd05f0d554b32daad
2011-01-24 14:15:07 +08:00
Keyan Mobli
fa569326d5 Themes: Use the correct permission
Change-Id: I052511fd1007ed34da0b354e4550557a7fa0d0dc
2011-01-22 16:45:49 -06:00
OlegKrikun
cab30bca69 userinit: run-parts from /data/local/userinit.d
Change-Id: I48ec924b1023500af27dad7a822be5ab9371be7c
2011-01-22 16:36:34 +03:00
Steve Kondik
151a434e62 Add feature definition for themes.
Change-Id: I15223fc69bb19de2fe0f8987267c537839e76d2e
2011-01-21 20:46:54 -05:00
Giulio Cervera
a843bbde3c mountsd: Relax partition checks
Removed label requirement, cause too many trouble on user
 The 2nd SD Card partition will be mounted as sd-ext with ext3fs
  (there are some problem with ext4, we stay on 3 until 4 problem
  will be sorted)

Change-Id: I87e53d1714d84fbdafeb80599ebb3e62b3a24b1e
2011-01-20 16:31:08 +01:00
Steve Kondik
be0d5ced01 Merge "Adds APNs for New Caledonia" into gingerbread 2011-01-07 14:56:43 +00:00
Lox
ee76ad7759 Adds APNs for New Caledonia
Change-Id: If84db6fe6ea7874b55f7db7009e0b34fbd5857e1
2011-01-07 18:31:23 +11:00
Steve Kondik
6177b38759 cm: Add new CM7 animation for MDPI
Change-Id: I6acc2d8c551d5c8a20c4c44256c6e073ceb34b3a
2011-01-06 22:22:41 -05:00
Steve Kondik
817be6f27d Merge "Added new CyanogenMod7 boot animation for LDPI devices." into gingerbread 2011-01-07 02:15:23 +00:00
Jacob Crawley
8860f6a804 Added new CyanogenMod7 boot animation for LDPI devices.
Change-Id: I12f919d2cbeb21e8d3f40cbf118cd663219f80a9
2011-01-06 18:17:59 -05:00
Steve Kondik
1ca30797bd cm: New HDPI bootanimation by 73v1n
Change-Id: I8cfd305e8f7419f11ad05c9f8f4445f7a49012be
2011-01-05 23:21:49 -05:00
Giulio Cervera
8ba581ead2 updated 05mountsd script:
check for mmc device type = SD
 mount sd-ext partition by label = sd-ext
 we are smart, so only ext4 support
 removed wait for device

Change-Id: Ie1ee2de3365d5515030d46801099418607e1265e
2011-01-01 18:57:09 -05:00
Steve Kondik
5b43e2218d cm: Remove prebuilt lsof
Change-Id: Ifbf57c4686c13299da650d60326716f916913546
2010-12-21 21:17:01 -05:00
Diogo Ferreira
7d3ab80c10 vendor-cyanogen: update mod version in backuptool
Hopefuly this restores some sanity for people that try
several builds a day.

Change-Id: I32fd6cb81238ab09f1560a676140383d95ed984c
2010-12-22 01:44:54 +00:00
Steve Kondik
6e12dad6f3 cm: backuptool: Add FOTAKill
Change-Id: I682f51b0c443730d432c5f814a40834f12325e85
2010-12-14 21:11:23 -05:00
Steve Kondik
132f7ee1cf Merge "prebuilt: update backuptool.sh" into froyo 2010-12-01 22:34:16 +00:00
Patrick Jacques
13ce18bd92 prebuilt: update backuptool.sh
Update backuptool to include MapsSapphire and QuickOffice.

Change-Id: I48c8eb83f692217242b5d533a4c1c50eec86e3e7
2010-12-01 15:19:44 -07:00
Ricardo Pinho
8450e28ade Updated and cleaned up portugal APNs, removed Optimus duplicated entries
Change-Id: Idbb9a0501b90142feb02c7203491e0c13b35adb5
2010-12-01 14:58:30 +00:00
Ricardo Pinho
8b01e032be Removed Duplicate MMS APN Vodafone Portugal, was causing send/receive of MMS to fail.
Change-Id: Icb7497c44a6ef35f6889beb32d008ad14c3aaff5
2010-11-13 00:02:28 +00:00
sotux
ad41bcf8ab Fix China Mobile apn name.
Change-Id: I5d756a406dd6ed3bbeae50020aa5c6456d725c5f
2010-11-02 01:18:39 +08:00
Takuo Kitame
3b64b683e8 APN: change order of 44010.
"mopera.net" should be below the "mpr2.bizho.net" because it's too expensive.

Change-Id: I6f3b24f9abd32f7cda93a36829c1a76d1fc098f1
2010-10-29 09:28:29 +09:00
Steve Kondik
0cd3570f3b Set swappiness to 30 for compcache 2010-10-18 12:22:23 -04:00
Kali-
4dd2e80f99 Verify cache size: added exit code 2010-10-17 21:56:20 +02:00
Wes Garner
2f1711de17 CMParts: Allow CompCache size to be set by user - via % of total RAM
Use % instead of a set size - per suggestion from Cyanogen
Fix to integer instead of decimal being passed around - props to Nameless
Handle older versions changing enabled CC to Default CC size (25%)
Enable PerformanceSettings dialog to view new CC setup
Final cleanup and fix default values / bash arithmetic

Change-Id: Ie7525cfa1f8829bb037961a66620ab8664f39cec

German translation - Matthias Büchner
French translation - Sébastien Vaucher
2010-10-17 02:19:02 -04:00
Kali-
bab5621593 Verify cache size, output can't be redirected to /dev/null 2010-10-17 00:45:31 -04:00