This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
      Learn more about bidirectional Unicode characters
    
  
  
    
  | Books | |
| Chrome | |
| CloudPrint | |
| Docs | |
| Ears | |
| Earth | |
| NewsStand | |
| NewsWidget | |
| PlayGames | |
| Sheets | 
  
    
      This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
      Learn more about bidirectional Unicode characters
    
  
  
    
  | #!/sbin/sh | |
| # | |
| # /system/addon.d/81-Xposed.sh | |
| # During a CM12 upgrade, this script backs up Xposed framework files. | |
| # /system is formatted and reinstalled, then the files are restored. | |
| # Thread: http://forum.xda-developers.com/xposed/addon-d-script-xposed-to-survive-cm12-t3036886 | |
| # Author: Adlx.XDA | |
| # | |
| . /tmp/backuptool.functions | 
  
    
      This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
      Learn more about bidirectional Unicode characters
    
  
  
    
  | This will send an (text) email to [email protected] by calling a Gmail activity. Root is needed. | |
| root# am start -a android.intent.action.SEND -t "text/plain" -c android.intent.category.DEFAULT -e to [email protected] -e android.intent.extra.SUBJECT Test -e android.intent.extra.TEXT "body" -n com.google.android.gm/.AutoSendActivity com.google.android.gm | |
| - Send an attachement: --> see at the end (Not working at the moment) -e android.intent.extra.STREAM /sdcard/map.png | |
| More info: | |
| Action: android.intent.action.SEND | 
  
    
      This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
      Learn more about bidirectional Unicode characters
    
  
  
    
  | <?xml version="1.0" encoding="UTF-8"?> | |
| <manifest> | |
| <project name="TheMuppets/proprietary_vendor_samsung" path="vendor/samsung" remote="github" revision="cm-11.0" /> | |
| <project name="TheMuppets/proprietary_vendor_imgtec" path="vendor/imgtec" remote="github" revision="cm-11.0" /> | |
| <project name="TheMuppets/proprietary_vendor_broadcom" path="vendor/broadcom" remote="github" revision="cm-11.0" /> | |
| <project name="TheMuppets/proprietary_vendor_invensense" path="vendor/invensense" remote="github" revision="cm-11.0" /> | |
| <project name="TheMuppets/proprietary_vendor_widevine" path="vendor/widevine" remote="github" revision="cm-11.0" /> | |
| <project name="TheMuppets/proprietary_vendor_nxp" path="vendor/nxp" remote="github" revision="cm-11.0" /> | |
| <project name="CyanogenMod/android_device_samsung_maguro" path="device/samsung/maguro" remote="github" /> | |
| <project name="CyanogenMod/android_kernel_samsung_tuna" path="kernel/samsung/tuna" remote="github" /> | 
  
    
      This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
      Learn more about bidirectional Unicode characters
    
  
  
    
  | #!/bin/bash | |
| # we need out/host/linux-x86/bin/mkbootfs in the path | |
| mkbootfs initramfs > initramfs.new.cpio | |
| bzip2 -1 < initramfs.new.cpio > initramfs.new.cpio.bz2 | |
| OLDSIZE=$( wc -c < initramfs.cpio.bz2 ) | |
| NEWSIZE=$( wc -c < initramfs.new.cpio.bz2 ) | 
  
    
      This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
      Learn more about bidirectional Unicode characters
    
  
  
    
  | #!/bin/bash | |
| BOOTIMG=$1 | |
| dd if=$BOOTIMG ibs=1 skip=64 > Image.lzma | |
| lzma -cd Image.lzma > Image | |
| INICIO=$( grep -P -a -b -m 1 --only-matching $'\x42\x5a\x68\x39' Image | cut -d: -f1 ) | 
  
    
      This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
      Learn more about bidirectional Unicode characters
    
  
  
    
  | #!/bin/bash | |
| # Copyright (C) 2011 SuperTeam. | |
| # | |
| # Licensed under the Apache License, Version 2.0 (the "License"); | |
| # you may not use this file except in compliance with the License. | |
| # You may obtain a copy of the License at | |
| # | |
| # http://www.apache.org/licenses/LICENSE-2.0 | |
| # | |
| # Unless required by applicable law or agreed to in writing, software | 
  
    
      This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
      Learn more about bidirectional Unicode characters
    
  
  
    
  | <?xml version="1.0" encoding="UTF-8"?> | |
| <manifest> | |
| <remote name="github-https" fetch="https://github.com/" review="review.cyanogenmod.com" /> | |
| <remove-project path="prebuilt" name="CyanogenMod/android_prebuilt" /> | |
| <project path="prebuilt" name="dhacker29/android_prebuilt" /> | |
| <project path="device/htc/chacha" name="adumont/android_device_htc_chacha" /> | |
| <project path="vendor/htc/chacha" name="adumont/android_vendor_htc_chacha" /> | 
  
    
      This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
      Learn more about bidirectional Unicode characters
    
  
  
    
  | Here is my fix for the Camera.apk. For the moment it's getting the job done, but it's ugly, Later I'll put in place a system property for example and read from it. | |
| diff --git a/src/com/android/camera/Camera.java b/src/com/android/camera/Camera.java | |
| index d308d33..5399c7c 100644 | |
| --- a/src/com/android/camera/Camera.java | |
| +++ b/src/com/android/camera/Camera.java | |
| @@ -825,7 +825,7 @@ public class Camera extends BaseCamera implements View.OnClickListener, | |
| info.orientation != 90) { | |
| rotation = (info.orientation - mOrientation + 360) % 360; | |
| } else { // back-facing camera (or acting like it) | 
  
    
      This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
      Learn more about bidirectional Unicode characters
    
  
  
    
  | Install ccache: | |
| In Arch: | |
| $ sudo pacman -S ccache | |
| Or Ubuntu: | |
| $ sudo apt-get install ccache |