Skip to content

Instantly share code, notes, and snippets.

View cargabsj175's full-sized avatar

Carlos Sánchez cargabsj175

View GitHub Profile
########################
VARIANT=user
########################
## Development
########################
#export B2G_DEBUG=1 # Debug Build
#export B2G_NOOPT=1 # Disable Optimizer
#export NOFTU=1 # Disable First Time User Experience
#export DEVICE_DEBUG=1 # Enable gaia developer mode
########################
#!/bin/bash
# Generar un script para vegnuxmod (roms para firefox os) que permita la automatización
# en las compilaciones de los diferentes "branches" o ramas utilizando las mismas fuentes git
# evitando la redundancia de código, en esta primera versión se manejarán las siguientes versiones.
# v1.4, v2.0 y master
#
# Se describirá a continuación paso por paso los procedimientos que se deben seguir para preparar
# el código fuente segun la rama git.
#
#############
#!/bin/bash
# cleaning old .config
echo "* updating gaia & gecko..."
./repo sync gaia
./repo sync gecko
./repo sync vegnuxmod
./repo sync gonk-misc
#!/bin/bash
# cleaning old .config
# echo "* Removing .config ..."
# rm .config 2>/dev/null
# cleaning projects
#for i in abi bionic bootable build \
# compare-locales dalvik development \
<?xml version='1.0' encoding='UTF-8'?>
<manifest>
<remote name="cm" fetch="https://github.com/CyanogenMod/" />
<remote name="mozillaorg2" fetch="https://git.mozilla.org/" />
<remote name="vegnux" fetch="https://github.com/cargabsj175/" />
<!--adding busybox -->
<project path="external/busybox" name="android_external_busybox" remote="cm" revision="cm-9.1.0" />
<!-- Gaia languages -->
<project path="gaia-l10n/de" name="l10n/de/gaia.git" remote="mozillaorg" revision="v2.0" />
<project path="gaia-l10n/el" name="l10n/el/gaia.git" remote="mozillaorg" revision="v2.0" />
{
"de" : "Deutsch",
"en-US" : "English (US)",
"el" : "Ελληνικά",
"eo" : "Esperanto",
"es" : "Español",
"fr" : "Français",
"hu" : "Magyar",
"it" : "Italiano",
"pl" : "Polski",
retouch_binaries("/system/lib/libcneapiclient.so", "f9a2cd18df98bab6b66129650dcf9a54fc405de7",
"/system/lib/libmmcamera_statsproc31.so", "b368790f17c593282d11e9e20a629bd199d64dc1",
"/system/lib/libOmxCore.so", "ac8af7de2ff2a2add464473866515ea690bc17a7",
"/system/lib/bluez-plugin/audio.so", "428d6820f179a73e520c5bfb125928d612f1e484",
"/system/lib/bluez-plugin/input.so", "9c7fd119769bc8dca943eb46eb4d90bfd6dc47d9",
"/system/lib/bluez-plugin/network.so", "515cb05df6920df470b80cb4b0fb2a420205b815",
"/system/lib/bluez-plugin/bluetooth-health.so", "90e16968bfca03e025daf174ac534bb712acfe24",
"/system/lib/libeffects.so", "67d79c533f63bff8cd91f75593b10ef7baa5de0c",
"/system/lib/libCommandSvc.so", "e693790eb8ef5835c71ca7bcba09d549cde8ccad",
"/system/lib/libjni_pinyinime.so", "e31816db1c8539803d94b0e7d1fccdc62ee97cc7",
assert(getprop("ro.product.device") == "msm7627a" ||
getprop("ro.build.product") == "msm7627a");
ifelse(getprop("ro.build.sw.system.proj") != getprop("ro.build.sw.sd.system.proj"), ifelse(verify_package() != "t", abort("Can't install because project name or model is not equal")));
show_progress(0.500000, 0);
format("ext4", "EMMC", "/dev/block/mmcblk0p15", "0");
format("ext4", "EMMC", "/dev/block/mmcblk0p12", "0");
mount("ext4", "EMMC", "/dev/block/mmcblk0p12", "/system");
package_extract_dir("recovery", "/system");
package_extract_dir("system", "/system");
symlink("Roboto-Bold.ttf", "/system/fonts/DroidSans-Bold.ttf");
# begin build properties
# autogenerated by buildinfo.sh
ro.build.id=JZO54K
ro.build.display.id=0031
ro.build.version.incremental=SWEP_GDUAB3A_v01.039.03.g_23
ro.build.version.sdk=16
ro.build.version.codename=REL
ro.build.version.release=4.1.2
ro.build.date=Thu Apr 3 12:00:49 HKT 2014
ro.build.date.utc=1396497649
#!/bin/bash
# Script de Migración de base de datos Adempiere del productivo (3.5.3a) a pruebas (3.7.0-release)
# debe ejecutarse dentro del subdirectorio 'migration' del código fuente de Adempiere
dir_list='353a-354a 354a-360lts 360lts-370lts 370lts-release'
workdir=$(pwd)
echo "database type? (available options: mysql, postgresql, oracle)."
read -e dbtype