Commit Graph

44 Commits

Author SHA1 Message Date
James Zdziebkowski
76b051306e AicBootFix not needed with source audio
Update DSP files for Inspire 4G

Change-Id: Iff324e5318a97097734e3c392ab229258713ad4a
2011-09-21 14:34:17 +02:00
Tanguy Pruvot
1ef50758c3 Recovery BackupTool: add system mount check to prevent (u)mount if already mounted 2011-06-15 10:42:18 +02:00
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
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
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
attn1
e00995c0d7 Allow Kineto only on TMUS/Google
Change-Id: Iea318a277000e5b1dc299074ff5cf8a3a302073f
2011-01-31 23:29:01 -05: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
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
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
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
Kali-
ac33c878cf script for check cache partition size 2010-10-15 23:01:17 +02:00
Steve Kondik
49466b76a1 backuptool: Remove stuff we no longer care about.
Remove ChromeToPhone, GoogleGoogles (and native libs), and Amazon MP3
as it's finally on the Market.

Change-Id: I591fa7cfcdbfa09630790df4aac848840fd09a29
2010-10-08 08:50:49 -04:00
Koushik Dutta
09f4c7af0a Update fix_permissions to not clobber the UID and GID variables. This causes issues in bash. 2010-08-30 15:27:45 -07:00
Firerat
1f0e92130b replaced /system/sd with 2010-08-25 12:13:08 +01:00
Steve Kondik
645a8fb43d cm: Update persist property when using default compcache setting 2010-08-20 14:13:39 -04:00
Steve Kondik
4630e944fd cm: Look at ro.compcache.default too 2010-08-20 13:42:40 -04:00
Eddie Ringle
7e52cbfa0a Only enable/disable compcache at boot
Signed-off-by: Eddie Ringle <eddie.ringle@gmail.com>
2010-08-18 00:07:20 -04:00
Steve Kondik
6721ac978a cm: Update backuptool 2010-08-16 18:55:59 -04:00
Kali-
9f1dab0443 add customizable backup files list 2010-08-16 17:35:10 -04:00
Steve Kondik
d2bad26e84 cm: Add a few more things to backuptool 2010-08-14 22:46:28 -04:00
Steve Kondik
94ca1ae03f Add etc/hosts to backuptool. 2010-07-11 02:49:36 -04:00
Steve Kondik
4eb2673f34 Add libzxing.so to the list of files. 2010-07-11 02:25:37 -04:00
Steve Kondik
da361fa1ac Add dictionaries to LatinIME. Remove from backuptool. 2010-07-10 22:28:04 -04:00
Steve Kondik
9237544ec2 Add sysinit script. 2010-07-10 19:26:43 -04:00
Steve Kondik
2dc24f6281 Add Compcache startup script and fix_permissions 2010-07-06 00:19:54 -04:00
Steve Kondik
715f2d5c84 Preserve timestamps in backuptool. 2010-07-05 19:36:33 -04:00
Steve Kondik
e0b98d0d41 Add overrides to backuptool. 2010-07-02 16:33:54 -04:00
Steve Kondik
d89a39c796 Fix name of Maps.apk 2010-06-29 02:46:10 -04:00
Steve Kondik
1bfa132cc3 Deal with features.xml 2010-06-28 21:16:14 -04:00
kmobs
e051cf317b Froyo backuptool in progress 2010-06-24 22:36:11 -05:00