Skip to content

Instantly share code, notes, and snippets.

if (strlen($type) != 0)
{
if (strlen($type) == 0)
{
$type = "text";
}
/* some more random code */
...
}
* daemon not running. starting it now on port 5038 *
* daemon started successfully *
--------- beginning of /dev/log/main
I/ev ( 80): Welcome to Android /
I/ev ( 81): Attempting to boot Evervolv AOSP JellyBean ROM.
I/ev ( 82): Please visit www.evervolv.com for updates.
I/ev ( 83): __________ ______
I/ev ( 84): ___ ____/__ ________________ __________ /__ __
I/ev ( 85): __ __/ __ | / / _ \_ ___/_ | / / __ \_ /__ | / /
I/ev ( 86): _ /___ __ |/ // __/ / __ |/ // /_/ / / __ |/ /
--------- beginning of /dev/log/main
E/AK8973 ( 1369): m_hDevice= -1
E/AK8973 ( 1369): m_aDevice= 3
E/AK8973 ( 1369): Device initialization failed.
E/AK8973 ( 1369):
E/AK8973 ( 1369): m_hDevice= -1
E/AK8973 ( 1369): m_aDevice= 3
E/AK8973 ( 1369): Device initialization failed.
E/AK8973 ( 1369):
E/AK8973 ( 1369): m_hDevice= -1
--------- beginning of /dev/log/system
I/Vold ( 1346): Vold 2.1 (the revenge) firing up
D/Vold ( 1346): Volume sdcard state changing -1 (Initializing) -> 0 (No-Media)
D/Vold ( 1346): Volume sdcard state changing 0 (No-Media) -> 2 (Pending)
D/DirectVolume( 1346): DirectVolume::handlePartitionAdded -> MAJOR 179, MINOR 1, PARTN 1
D/DirectVolume( 1346): DirectVolume::handlePartitionAdded -> MAJOR 179, MINOR 2, PARTN 2
D/Vold ( 1346): Volume sdcard state changing 2 (Pending) -> 1 (Idle-Unmounted)
I/SystemServer( 1656): Entered the Android system server!
I/SystemServer( 1656): Waiting for installd to be ready.
I/Installer( 1656): connecting...
[ 0.000000] Initializing cgroup subsys cpu
[ 0.000000] Linux version 3.0.16-evervolv-turba-jellybean+ (root@marc-G71GX) (gcc version 4.4.1 (Sourcery G++ Lite 2010q1-188) ) #28 PREEMPT Sun Apr 7 16:26:15 CEST 2013
[ 0.000000] Ignoring unrecognised tag 0x4d534d76
[ 0.000000] Partition (from atag) misc -- Offset:ffb Size:5
[ 0.000000] Partition (from atag) recovery -- Offset:212 Size:24
[ 0.000000] Partition (from atag) boot -- Offset:236 Size:18
[ 0.000000] Partition (from atag) system -- Offset:24e Size:7d0
[ 0.000000] Partition (from atag) cache -- Offset:a1e Size:140
[ 0.000000] Partition (from atag) userdata -- Offset:b5e Size:49d
[ 0.000000] Ignoring unrecognised tag 0x5441000a
diff --git a/arch/arm/mach-msm/devices-qsd8x50.c b/arch/arm/mach-msm/devices-qsd8x50.c
index f07f3c1..f8a49eb 100644
--- a/arch/arm/mach-msm/devices-qsd8x50.c
+++ b/arch/arm/mach-msm/devices-qsd8x50.c
@@ -378,6 +378,20 @@ struct platform_device usb_gadget_fserial_device = {
#endif
#define MSM_NAND_PHYS 0xA0A00000
+static struct resource resources_nand[] = {
+ [0] = {
[ 1.453887] msm72k_probe
[ 1.454284] peripheral driver registered w/ tranceiver
[ 1.454467] msm_hsusb_phy_reset
[ 1.455841] [USB] android_init_functions rndis init
[ 1.457061] [USB] android_init_functions accessory init
[ 1.457702] [USB] android_init_functions mtp init
[ 1.457946] [USB] android_init_functions ptp init
[ 1.458282] android_usb gadget: Mass Storage Function, version: 2009/09/11
[ 1.458312] android_usb gadget: Number of LUNs=1
[ 1.458343] lun0: LUN: removable file: (no medium)
[ 95.949066] wifi_set_power = 1
[ 95.949096] htcleo_wifi_power: 1
[ 96.336029] wifi_set_carddetect = 1
[ 96.336090] htcleo_wifi_set_carddetect: 1
[ 96.336120] mmc0: Slot status change detected (0 -> 1)
[ 96.351196]
[ 96.351196] Dongle Host Driver, version 4.218.248.23
[ 96.386352] mmc0: queuing unknown CIS tuple 0x91 (3 bytes)
[ 96.386413] mmc0: new high speed SDIO card at address 0001
[ 96.395751] DHD: dongle ram size is set to 294912(orig 294912)
[ 0.000000] Initializing cgroup subsys cpu
[ 0.000000] Linux version 3.0.16-g5408283 (root@marc-G71GX) (gcc version 4.4.1 (Sourcery G++ Lite 2010q1-188) ) #35 PREEMPT Thu Mar 28 17:38:04 CET 2013
[ 0.000000] CPU: ARMv7 Processor [510f00f2] revision 2 (ARMv7), cr=10c53c7d
[ 0.000000] CPU: VIPT nonaliasing data cache, VIVT ASID tagged instruction cache
[ 0.000000] Machine: htcleo
[ 0.000000] Nand Boot: 2
[ 0.000000] Partition (from atag) lk -- Offset:212 Size:3
[ 0.000000] Partition (from atag) recovery -- Offset:216 Size:30
[ 0.000000] Partition (from atag) boot -- Offset:246 Size:28
[ 0.000000] Partition (from atag) misc -- Offset:26e Size:8
[ 0.000000] Initializing cgroup subsys cpu
[ 0.000000] Linux version 3.0.16-ga5444ad-dirty (root@marc-G71GX) (gcc version 4.4.1 (Sourcery G++ Lite 2010q1-188) ) #31 PREEMPT Thu Mar 28 16:03:42 CET 2013
[ 0.000000] CPU: ARMv7 Processor [510f00f2] revision 2 (ARMv7), cr=10c53c7d
[ 0.000000] CPU: VIPT nonaliasing data cache, VIVT ASID tagged instruction cache
[ 0.000000] Machine: htcleo
[ 0.000000] Nand Boot: 2
[ 0.000000] Partition (from atag) lk -- Offset:212 Size:3
[ 0.000000] Partition (from atag) recovery -- Offset:216 Size:30
[ 0.000000] Partition (from atag) boot -- Offset:246 Size:28
[ 0.000000] Partition (from atag) misc -- Offset:26e Size:8