Commit Graph

663 Commits

Author SHA1 Message Date
Ladios Jonquil
262bd3ce6c gsm: Add SPN overrides list for localized carrier names
Change-Id: I8c51eb9e571f049d9b93e81fee4e574abca9d68a
2011-05-28 05:18:02 +08: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
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
Steve Kondik
cd3599f989 Merge "product: add bootanim for LDPI devices" into froyo 2010-10-17 03:04:05 +00:00
Ricardo Cerqueira
13a8a549ef product: add bootanim for LDPI devices
Change-Id: I9f3ccfd9bcc6321088882b964d3b1abff93a27e1
2010-10-16 20:22:23 +01: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
Evan
5e4f2c6375 apn list refresh from paulweiss
Change-Id: Ie0f79db381a09a2a7af06a6d72e23349a3700851
2010-10-01 11:53:40 -06:00
Firerat
5a83cc4a31 e2fsck returns exit 1 if filesystem is repaired
credits: Ohsaka and NLJ of xda
http://goo.gl/SJNk
2010-09-20 03:36:24 +01:00
Firerat
c74211374a install init.d/05mountsd script, with correct e2fsck exitcode 2010-09-19 15:30:05 -04:00
Steve Kondik
ad4b324312 APN list housekeeping
After lots of reports of broken GPS and other issues recently, I decided
to write a script that cleaned up the APN list. The script did the
following:

1. Eliminated duplicates. Each APN was given the unique key of
   "mcc:mnc:apn:type" and placed into a hash using this key.
2. Removed any APNs where any of these four fields were not set.
3. Set an empty APN type to "default,supl,mms".
4. Sorted by MCC, MNC
5. Merged in the official APN list from FRF91.
2010-09-03 00:52:52 -04:00
Steve Kondik
94a3184db3 Merge "Update fix_permissions to not clobber the UID and GID variables. This causes issues in bash." into froyo 2010-09-02 12:23:11 +00: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
Brad Allen
87030f5120 apn addition for Smart Mobile: sort correctly 2010-08-29 16:51:44 -07:00
Brad Allen
dd838dafdc apn addition for Smart Mobile per http://simplemobile.webs.com/index/Android%20Configuration/Android%20Configuration.html for h-bomb 2010-08-29 16:41:49 -07:00
Patrick Jacques
dc808ff1e1 Prebuilt: add dropbear-keygen
CM issue 2030
2010-08-28 05:25:45 -07:00
Kali-
934e7ee599 fix broken apns autoconfiguration (xml now well-formed) 2010-08-27 01:32:28 +02:00
Koushik Dutta
ce5aba5a14 fix darchstars build break. 2010-08-26 15:49:37 -07:00
Ameer Ghouse
aee28d1e62 fix up apns so gps is not broken on hero cdma 2010-08-25 20:56:12 -05:00
Firerat
1f0e92130b replaced /system/sd with 2010-08-25 12:13:08 +01:00
Steve Kondik
1fb8ce6120 APNs should generally use "default,supl" instead of "default".
This fixes AGPS issues.
2010-08-22 20:44:52 -04: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
Steve Kondik
fe18fc31a6 cm: Fix compcache startup
Can't run a script on /system in "on boot" because /system isn't
mounted yet.
2010-08-20 13:17:37 -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
fcab753014 cm: Add support for /data/local/userinit.sh 2010-08-17 12:11:48 -04:00
Steve Kondik
6721ac978a cm: Update backuptool 2010-08-16 18:55:59 -04:00
Steve Kondik
c296c8b8d7 APN list update from Paul Weiss 2010-08-16 18:19:39 -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
Wes Garner
36d8a96c33 product: move bootanim to mdpi/hdpi prebuilt folder for cleanup, adjust make files 2010-08-09 16:29:24 -05:00
Steve Kondik
86bc86cf88 add heroc to cyanogen vendor 2010-08-08 22:35:47 -04:00
Steve Kondik
493911b5b7 cm: missed Galaxy with boot animation update 2010-08-06 20:31:46 -04:00
Steve Kondik
3c644df1c4 cm: New boot animations 73v1n
http://www.youtube.com/watch?v=LnweaNTtb1k
2010-08-06 19:28:53 -04:00
Wes Garner
1049dc1656 add GalaxyS [not included in vendorsetup] 2010-07-20 19:44:06 -05: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
9e0208ce64 Some apps are requiring IPv6 now for some reason. 2010-07-11 02:17:06 -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
e44c37f6cb Add audio profiles for DS. 2010-07-09 17:30:03 -04:00
Steve Kondik
7e8f1af7b2 Move run-parts to main init. 2010-07-07 09:08:59 -04:00
Steve Kondik
a89711a5c1 Copy the local (CM-specific) init.rc to /etc 2010-07-07 09:06:13 -04:00
Steve Kondik
2dc24f6281 Add Compcache startup script and fix_permissions 2010-07-06 00:19:54 -04:00
Steve Kondik
8794d1afc9 Add init.d stuff. 2010-07-05 23:09:52 -04:00
Steve Kondik
f32d926b54 Add sysctl.conf 2010-07-05 23:07:30 -04:00
Steve Kondik
715f2d5c84 Preserve timestamps in backuptool. 2010-07-05 19:36:33 -04:00
Lox
c567032185 Removed heroc specific files as heroc support have been added to device/htc/hero 2010-07-05 12:31:57 +11:00
Steve Kondik
e0b98d0d41 Add overrides to backuptool. 2010-07-02 16:33:54 -04:00
Takuo Kitame
2f8fef3920 Added prebuilt/common/xbin/openvpn-up.sh from CM5 2010-07-02 17:32:07 +00:00
Steve Kondik
52ce6dd86a Add combined Dream/Sapphire device. 2010-07-02 04:00:29 -04:00
Wes Garner
229d74b901 add Espresso Cyanogen vendor 2010-06-30 23:35:18 -05:00
Steve Kondik
d9f4e40933 Add Dream/Sapphire stuff. 2010-06-30 02:07:47 -04:00
Eddie Ringle
371bb86e2e Add product stuff for the Dream
Signed-off-by: Eddie Ringle <eddie@eringle.net>
2010-06-30 02:07:47 -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
Steve Kondik
3b4965e68c Remove prebuilt sounds and include AudioPackage4. 2010-06-28 11:21:49 -04:00
Koushik Dutta
3f05662544 add some powertools back in 2010-06-27 23:53:09 -07:00
Ameer Ghouse
5397f8a606 add heroC vendor 2010-06-25 15:28:13 +00:00
kmobs
ed28976692 fix all my previous errors 2010-06-25 03:30:49 -05:00
kmobs
8d112d6992 Added missing Froyo sounds 2010-06-25 02:52:09 -05:00
ctso
2c7b77e432 Merge branch 'kmobs' into froyo 2010-06-25 03:41:32 +00:00
kmobs
e051cf317b Froyo backuptool in progress 2010-06-24 22:36:11 -05:00
ctso
630e371ae6 Add APN configuration file 2010-06-25 03:28:35 +00:00
ctso
074be68e27 Add bootanimation, build prop overrides 2010-06-25 02:35:47 +00:00