Skip to content

Instantly share code, notes, and snippets.

View loxK's full-sized avatar

Laurent Dinclaux loxK

View GitHub Profile
# mount point fstype device [device2]
/boot mtd boot
/cache yaffs2 cache
/data yaffs2 userdata
/misc mtd misc
/recovery mtd recovery
/sdcard vfat /dev/block/mmcblk0p1 /dev/block/mmcblk0
/system yaffs2 system
/sd-ext ext3 /dev/block/mmcblk0p2
assert(getprop("ro.product.device") == "hero" || getprop("ro.build.product") == "hero" || getprop("ro.product.board") == "hero");
package_extract_file("system/bin/backuptool.sh", "/tmp/backuptool.sh");
set_perm(0, 0, 0777, "/tmp/backuptool.sh");
run_program("/tmp/backuptool.sh", "backup");
show_progress(0.500000, 0);
format("yaffs2", "MTD", "/system");
mount("yaffs2", "MTD", "system", "/system");
package_extract_dir("recovery", "/system");
package_extract_dir("system", "/system");
symlink("busybox", "/system/xbin/[", "/system/xbin/[[",
I/ServiceManager( 108): Waiting for service media.audio_policy...
I/ ( 336): ServiceManager: 0xad50
D/AudioHardwareQSD( 336): open /system/etc/vpimg success
D/AudioHardwareQSD( 336): Firmware /system/etc/vpimg size 27612
D/AudioHardwareQSD( 336): Total 27612 bytes put to user space buffer.
I/ServiceManager( 108): Waiting for service media.audio_policy...
I/ServiceManager( 108): Waiting for service media.audio_policy...
I/ServiceManager( 108): Waiting for service media.audio_policy...
D/AudioHardwareQSD( 336): audience_a1026 init OK
D/AudioHardwareQSD( 336): set_tpa2018d1_parameters() not present
31a32
> #include <linux/capella_cm3602.h>
42c43
< #define MAX_NUM_SENSORS 5
---
> #define MAX_NUM_SENSORS 6
52c53,54
< #define ID_L (4)
---
> #define ID_P (4)
target thumb C: sensors.hero <= device/htc/hero/libsensors/sensors.c
device/htc/hero/libsensors/sensors.c:95: warning: braces around scalar initializer
device/htc/hero/libsensors/sensors.c:95: warning: (near initialization for 'sSensorList[0].minDelay')
device/htc/hero/libsensors/sensors.c:95: error: empty scalar initializer
device/htc/hero/libsensors/sensors.c:95: error: (near initialization for 'sSensorList[0].minDelay')
device/htc/hero/libsensors/sensors.c:95: warning: missing initializer
device/htc/hero/libsensors/sensors.c:95: warning: (near initialization for 'sSensorList[0].minDelay')
device/htc/hero/libsensors/sensors.c:99: warning: braces around scalar initializer
device/htc/hero/libsensors/sensors.c:99: warning: (near initialization for 'sSensorList[1].minDelay')
device/htc/hero/libsensors/sensors.c:99: warning: missing initializer
target thumb C: sensors.hero <= device/htc/hero/libsensors/sensors.c
device/htc/hero/libsensors/sensors.c:95: warning: braces around scalar initializer
device/htc/hero/libsensors/sensors.c:95: warning: (near initialization for 'sSensorList[0].minDelay')
device/htc/hero/libsensors/sensors.c:95: error: empty scalar initializer
device/htc/hero/libsensors/sensors.c:95: error: (near initialization for 'sSensorList[0].minDelay')
device/htc/hero/libsensors/sensors.c:95: warning: missing initializer
device/htc/hero/libsensors/sensors.c:95: warning: (near initialization for 'sSensorList[0].minDelay')
device/htc/hero/libsensors/sensors.c:99: warning: braces around scalar initializer
device/htc/hero/libsensors/sensors.c:99: warning: (near initialization for 'sSensorList[1].minDelay')
device/htc/hero/libsensors/sensors.c:99: warning: missing initializer
arget asm: libskia <= external/skia/src/opts/S32_Opaque_D32_nofilter_DX_gether_arm.S
external/skia/src/opts/S32_Opaque_D32_nofilter_DX_gether_arm.S: Assembler messages:
external/skia/src/opts/S32_Opaque_D32_nofilter_DX_gether_arm.S:38: Error: selected processor does not support `uxth r0,r0'
external/skia/src/opts/S32_Opaque_D32_nofilter_DX_gether_arm.S:40: Error: selected processor does not support `uxth r6,r6'
external/skia/src/opts/S32_Opaque_D32_nofilter_DX_gether_arm.S:47: Error: selected processor does not support `uxth r9,r9'
external/skia/src/opts/S32_Opaque_D32_nofilter_DX_gether_arm.S:49: Error: selected processor does not support `uxth r11,r11'
make: *** [out/target/product/generic/obj/SHARED_LIBRARIES/libskia_intermediates/src/opts/S32_Opaque_D32_nofilter_DX_gether_arm.o] Erreur 1
build/core/base_rules.mk:74: *** Module name: hero-keypad.kcm
build/core/base_rules.mk:75: *** Makefile location: device/htc/hero
build/core/base_rules.mk:76: *
build/core/base_rules.mk:77: * Each module must use a LOCAL_MODULE_TAGS in its
build/core/base_rules.mk:78: * Android.mk. Possible tags declared by a module:
build/core/base_rules.mk:79: *
build/core/base_rules.mk:80: * optional, debug, eng, tests, samples
build/core/base_rules.mk:81: *
build/core/base_rules.mk:82: * If the module is expected to be in all builds
build/core/base_rules.mk:83: * of a product, then it should use the
<?php
require_once 'Plugin/Abstract.php';
class Apreslebac_Login {
static $load_login_js;
protected $PostTypes = 'etablissement,metier,formation';
protected $TextDomain = 'Apreslebac';
function wp_get_associated_nav_menu_items( $object_id = 0, $object_type = 'post_type' ) {
$object_id = (int) $object_id;
$menu_item_ids = array();
$query = new WP_Query;
$menu_items = $query->query(
array(
'meta_key' => '_menu_item_object_id',
'meta_value' => $object_id,
'post_status' => 'any',