原创 Android Branch and master source code merge(patch)

Environment : Android 4.4.2 merge with Android 4.4.3(with other vendors source code) 1.確定你要merge 到 其他分支的版本,並在服務器測獲得具體la

原创 Android Porting and Qemu

1 Introduction  Google explains that Android is a software stack for mobiledevices that includes an operating system,

原创 使用git clone error: RPC failed

git clone時,出現這個錯誤. remote: Counting objects: 4592517, done. remote: Compressing objects: 100% (1140430/1140430), done

原创 Linux Kernel(Android) 加密算法總結(四)-應用程序調用OpenSSL加密算法

Linux Kernel(Android) 加密算法總結(三)-應用程序調用內核加密算法接口 講到了如何調用內核中的接口的方法。 本節主要是介紹如何Android C/C++應用程序調用Openssl的AES加密算法。 crypt_ss

原创 LINUX netlink機制介紹

Netlink 是一種特殊的 socket,它是 Linux 所特有的,類似於 BSD 中的AF_ROUTE 但又遠比它的功能強大,目前在最新的 Linux 內核(2.6.14)中使用netlink 進行應用與內核通信的應用很多,包括:

原创 Running Android L Developer Preview on 64-bit ARM QEMU

Did you know the Android emulator is based on QEMU? When the Android SDK was first made available to the world, Googl

原创 openFileOutput 文件屬性設置、主動配置文件的可讀寫屬性及其實現方式

首先參考 Android 內部存儲相關的函數(getCacheDir,getDir, getFileStreamPath,getFilesDir,openFileInput, ...) 1. 用openFileOutput方法改變文

原创 SELinux、SEAndroid、MAC、Andorid(AOSP) seplicy 相關資料

•SELinux •SEAndroid •SEAndroid1 •SEAndroid2 •SELinux Test Suite - setup to run on Fedora or RHEL NOT Android •TheSELinu