Soumettre la recherche
Mettre en ligne
Monky vold extension
•
Télécharger en tant que PPT, PDF
•
1 j'aime
•
1,558 vues
M
mamahow
Suivre
Technologie
Divertissement et humour
Signaler
Partager
Signaler
Partager
1 sur 20
Télécharger maintenant
Recommandé
Linux kernel modules
Linux kernel modules
Dheryta Jaisinghani
Linux kernel
Linux kernel
Mahmoud Shiri Varamini
Windows Internals for Linux Kernel Developers
Windows Internals for Linux Kernel Developers
Kernel TLV
Introduction to Linux Kernel
Introduction to Linux Kernel
Stryker King
Bootloader and bootloading
Bootloader and bootloading
Arpita Gupta
Linux booting process!!
Linux booting process!!
sourav verma
Linux Device Driver’s
Linux Device Driver’s
Rashmi Warghade
The Linux Scheduler: a Decade of Wasted Cores
The Linux Scheduler: a Decade of Wasted Cores
yeokm1
Recommandé
Linux kernel modules
Linux kernel modules
Dheryta Jaisinghani
Linux kernel
Linux kernel
Mahmoud Shiri Varamini
Windows Internals for Linux Kernel Developers
Windows Internals for Linux Kernel Developers
Kernel TLV
Introduction to Linux Kernel
Introduction to Linux Kernel
Stryker King
Bootloader and bootloading
Bootloader and bootloading
Arpita Gupta
Linux booting process!!
Linux booting process!!
sourav verma
Linux Device Driver’s
Linux Device Driver’s
Rashmi Warghade
The Linux Scheduler: a Decade of Wasted Cores
The Linux Scheduler: a Decade of Wasted Cores
yeokm1
Basic Linux kernel
Basic Linux kernel
Morteza Nourelahi Alamdari
Linux architecture
Linux architecture
mcganesh
Linux boot process
Linux boot process
Archana Chandrasekharan
Introduction To Linux Kernel Modules
Introduction To Linux Kernel Modules
dibyajyotig
Linux IO
Linux IO
Liran Ben Haim
Linux startup
Linux startup
Amin Hashemi
Linux booting procedure
Linux booting procedure
Dhaval Kaneria
Linux internal
Linux internal
mcganesh
Linuxdd[1]
Linuxdd[1]
mcganesh
linux kernel overview 2013
linux kernel overview 2013
Rohit Pratap Singh
Trust com2008 ruoando
Trust com2008 ruoando
Ruo Ando
Linux scheduler
Linux scheduler
Liran Ben Haim
Browsing Linux Kernel Source
Browsing Linux Kernel Source
Motaz Saad
Linux process management
Linux process management
Raghu nath
Part 01 Linux Kernel Compilation (Ubuntu)
Part 01 Linux Kernel Compilation (Ubuntu)
Tushar B Kute
Making Linux do Hard Real-time
Making Linux do Hard Real-time
National Cheng Kung University
Linux kernel modules
Linux kernel modules
Eddy Reyes
Linux Kernel Tour
Linux Kernel Tour
samrat das
Linux Internals - Kernel/Core
Linux Internals - Kernel/Core
Shay Cohen
Linux26 New Features
Linux26 New Features
guest491c69
Linux Kernel MMC Storage driver Overview
Linux Kernel MMC Storage driver Overview
RajKumar Rampelli
Linux Kernel Booting Process (2) - For NLKB
Linux Kernel Booting Process (2) - For NLKB
shimosawa
Contenu connexe
Tendances
Basic Linux kernel
Basic Linux kernel
Morteza Nourelahi Alamdari
Linux architecture
Linux architecture
mcganesh
Linux boot process
Linux boot process
Archana Chandrasekharan
Introduction To Linux Kernel Modules
Introduction To Linux Kernel Modules
dibyajyotig
Linux IO
Linux IO
Liran Ben Haim
Linux startup
Linux startup
Amin Hashemi
Linux booting procedure
Linux booting procedure
Dhaval Kaneria
Linux internal
Linux internal
mcganesh
Linuxdd[1]
Linuxdd[1]
mcganesh
linux kernel overview 2013
linux kernel overview 2013
Rohit Pratap Singh
Trust com2008 ruoando
Trust com2008 ruoando
Ruo Ando
Linux scheduler
Linux scheduler
Liran Ben Haim
Browsing Linux Kernel Source
Browsing Linux Kernel Source
Motaz Saad
Linux process management
Linux process management
Raghu nath
Part 01 Linux Kernel Compilation (Ubuntu)
Part 01 Linux Kernel Compilation (Ubuntu)
Tushar B Kute
Making Linux do Hard Real-time
Making Linux do Hard Real-time
National Cheng Kung University
Linux kernel modules
Linux kernel modules
Eddy Reyes
Linux Kernel Tour
Linux Kernel Tour
samrat das
Linux Internals - Kernel/Core
Linux Internals - Kernel/Core
Shay Cohen
Linux26 New Features
Linux26 New Features
guest491c69
Tendances
(20)
Basic Linux kernel
Basic Linux kernel
Linux architecture
Linux architecture
Linux boot process
Linux boot process
Introduction To Linux Kernel Modules
Introduction To Linux Kernel Modules
Linux IO
Linux IO
Linux startup
Linux startup
Linux booting procedure
Linux booting procedure
Linux internal
Linux internal
Linuxdd[1]
Linuxdd[1]
linux kernel overview 2013
linux kernel overview 2013
Trust com2008 ruoando
Trust com2008 ruoando
Linux scheduler
Linux scheduler
Browsing Linux Kernel Source
Browsing Linux Kernel Source
Linux process management
Linux process management
Part 01 Linux Kernel Compilation (Ubuntu)
Part 01 Linux Kernel Compilation (Ubuntu)
Making Linux do Hard Real-time
Making Linux do Hard Real-time
Linux kernel modules
Linux kernel modules
Linux Kernel Tour
Linux Kernel Tour
Linux Internals - Kernel/Core
Linux Internals - Kernel/Core
Linux26 New Features
Linux26 New Features
En vedette
Linux Kernel MMC Storage driver Overview
Linux Kernel MMC Storage driver Overview
RajKumar Rampelli
Linux Kernel Booting Process (2) - For NLKB
Linux Kernel Booting Process (2) - For NLKB
shimosawa
Linux Kernel Booting Process (1) - For NLKB
Linux Kernel Booting Process (1) - For NLKB
shimosawa
Linux Initialization Process (1)
Linux Initialization Process (1)
shimosawa
Linux Initialization Process (2)
Linux Initialization Process (2)
shimosawa
Linux SD/MMC device driver
Linux SD/MMC device driver
艾鍗科技
Linux Kernel Module - For NLKB
Linux Kernel Module - For NLKB
shimosawa
En vedette
(7)
Linux Kernel MMC Storage driver Overview
Linux Kernel MMC Storage driver Overview
Linux Kernel Booting Process (2) - For NLKB
Linux Kernel Booting Process (2) - For NLKB
Linux Kernel Booting Process (1) - For NLKB
Linux Kernel Booting Process (1) - For NLKB
Linux Initialization Process (1)
Linux Initialization Process (1)
Linux Initialization Process (2)
Linux Initialization Process (2)
Linux SD/MMC device driver
Linux SD/MMC device driver
Linux Kernel Module - For NLKB
Linux Kernel Module - For NLKB
Similaire à Monky vold extension
Windows Filtering Platform And Winsock Kernel
Windows Filtering Platform And Winsock Kernel
Hardway Hou
Xen Euro Par07
Xen Euro Par07
congvc
Windows Server Core
Windows Server Core
Mark Wilson
Building an inflight entertainment system controller in twisted
Building an inflight entertainment system controller in twisted
David Novakovic
LOAD BALANCING OF APPLICATIONS USING XEN HYPERVISOR
LOAD BALANCING OF APPLICATIONS USING XEN HYPERVISOR
Vanika Kapoor
Android Storage - Vold
Android Storage - Vold
William Lee
An Introduce of OPNFV (Open Platform for NFV)
An Introduce of OPNFV (Open Platform for NFV)
Mario Cho
Demystifying openvswitch
Demystifying openvswitch
Prasad Mukhedkar
WEB
WEB
melatiorkid
Visual comparison of Unix-like systems & Virtualisation
Visual comparison of Unix-like systems & Virtualisation
wangyuanyi
Openstack Networking Internals - first part
Openstack Networking Internals - first part
lilliput12
Virtual Pc Seminar
Virtual Pc Seminar
guest5b5549
Microservices in Unikernels
Microservices in Unikernels
Madhuri Yechuri
Basic Linux Internals
Basic Linux Internals
mukul bhardwaj
[OpenStack 하반기 스터디] Interoperability with ML2: LinuxBridge, OVS and SDN
[OpenStack 하반기 스터디] Interoperability with ML2: LinuxBridge, OVS and SDN
OpenStack Korea Community
20151222_Interoperability with ML2: LinuxBridge, OVS and SDN
20151222_Interoperability with ML2: LinuxBridge, OVS and SDN
Sungman Jang
Operating System and Basic Networks
Operating System and Basic Networks
Jherome Tenorio
.ppt
.ppt
webhostingguy
Virtual Distro Dispatcher - A light-weight Desktop-as-a-Service solution
Virtual Distro Dispatcher - A light-weight Desktop-as-a-Service solution
Flavio Bertini
openQRM is Not Dead
openQRM is Not Dead
Kris Buytaert
Similaire à Monky vold extension
(20)
Windows Filtering Platform And Winsock Kernel
Windows Filtering Platform And Winsock Kernel
Xen Euro Par07
Xen Euro Par07
Windows Server Core
Windows Server Core
Building an inflight entertainment system controller in twisted
Building an inflight entertainment system controller in twisted
LOAD BALANCING OF APPLICATIONS USING XEN HYPERVISOR
LOAD BALANCING OF APPLICATIONS USING XEN HYPERVISOR
Android Storage - Vold
Android Storage - Vold
An Introduce of OPNFV (Open Platform for NFV)
An Introduce of OPNFV (Open Platform for NFV)
Demystifying openvswitch
Demystifying openvswitch
WEB
WEB
Visual comparison of Unix-like systems & Virtualisation
Visual comparison of Unix-like systems & Virtualisation
Openstack Networking Internals - first part
Openstack Networking Internals - first part
Virtual Pc Seminar
Virtual Pc Seminar
Microservices in Unikernels
Microservices in Unikernels
Basic Linux Internals
Basic Linux Internals
[OpenStack 하반기 스터디] Interoperability with ML2: LinuxBridge, OVS and SDN
[OpenStack 하반기 스터디] Interoperability with ML2: LinuxBridge, OVS and SDN
20151222_Interoperability with ML2: LinuxBridge, OVS and SDN
20151222_Interoperability with ML2: LinuxBridge, OVS and SDN
Operating System and Basic Networks
Operating System and Basic Networks
.ppt
.ppt
Virtual Distro Dispatcher - A light-weight Desktop-as-a-Service solution
Virtual Distro Dispatcher - A light-weight Desktop-as-a-Service solution
openQRM is Not Dead
openQRM is Not Dead
Plus de mamahow
OMA DM UI & Report
OMA DM UI & Report
mamahow
ZEUS UI Proposal(FID)
ZEUS UI Proposal(FID)
mamahow
ZUYU Design Quick Review
ZUYU Design Quick Review
mamahow
For HP Audio Routing API design document
For HP Audio Routing API design document
mamahow
PLT How to Use Run-in Tool
PLT How to Use Run-in Tool
mamahow
PLATO Troubleshooting Guide
PLATO Troubleshooting Guide
mamahow
MMS Introduction
MMS Introduction
mamahow
MMS Parser
MMS Parser
mamahow
MMS Playback Functionality
MMS Playback Functionality
mamahow
Plus de mamahow
(9)
OMA DM UI & Report
OMA DM UI & Report
ZEUS UI Proposal(FID)
ZEUS UI Proposal(FID)
ZUYU Design Quick Review
ZUYU Design Quick Review
For HP Audio Routing API design document
For HP Audio Routing API design document
PLT How to Use Run-in Tool
PLT How to Use Run-in Tool
PLATO Troubleshooting Guide
PLATO Troubleshooting Guide
MMS Introduction
MMS Introduction
MMS Parser
MMS Parser
MMS Playback Functionality
MMS Playback Functionality
Dernier
Mcleodganj Call Girls 🥰 8617370543 Service Offer VIP Hot Model
Mcleodganj Call Girls 🥰 8617370543 Service Offer VIP Hot Model
Deepika Singh
DEV meet-up UiPath Document Understanding May 7 2024 Amsterdam
DEV meet-up UiPath Document Understanding May 7 2024 Amsterdam
UiPathCommunity
Corporate and higher education May webinar.pptx
Corporate and higher education May webinar.pptx
Rustici Software
ICT role in 21st century education and its challenges
ICT role in 21st century education and its challenges
rafiqahmad00786416
AWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of Terraform
Andrey Devyatkin
Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...
Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...
apidays
presentation ICT roal in 21st century education
presentation ICT roal in 21st century education
jfdjdjcjdnsjd
Spring Boot vs Quarkus the ultimate battle - DevoxxUK
Spring Boot vs Quarkus the ultimate battle - DevoxxUK
Jago de Vreede
MINDCTI Revenue Release Quarter One 2024
MINDCTI Revenue Release Quarter One 2024
MIND CTI
EMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWER
EMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWER
MadyBayot
Navigating the Deluge_ Dubai Floods and the Resilience of Dubai International...
Navigating the Deluge_ Dubai Floods and the Resilience of Dubai International...
Orbitshub
Why Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire business
panagenda
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
apidays
WSO2's API Vision: Unifying Control, Empowering Developers
WSO2's API Vision: Unifying Control, Empowering Developers
WSO2
Finding Java's Hidden Performance Traps @ DevoxxUK 2024
Finding Java's Hidden Performance Traps @ DevoxxUK 2024
Victor Rentea
Apidays New York 2024 - APIs in 2030: The Risk of Technological Sleepwalk by ...
Apidays New York 2024 - APIs in 2030: The Risk of Technological Sleepwalk by ...
apidays
Polkadot JAM Slides - Token2049 - By Dr. Gavin Wood
Polkadot JAM Slides - Token2049 - By Dr. Gavin Wood
Juan lago vázquez
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
DianaGray10
Rising Above_ Dubai Floods and the Fortitude of Dubai International Airport.pdf
Rising Above_ Dubai Floods and the Fortitude of Dubai International Airport.pdf
Orbitshub
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Safe Software
Dernier
(20)
Mcleodganj Call Girls 🥰 8617370543 Service Offer VIP Hot Model
Mcleodganj Call Girls 🥰 8617370543 Service Offer VIP Hot Model
DEV meet-up UiPath Document Understanding May 7 2024 Amsterdam
DEV meet-up UiPath Document Understanding May 7 2024 Amsterdam
Corporate and higher education May webinar.pptx
Corporate and higher education May webinar.pptx
ICT role in 21st century education and its challenges
ICT role in 21st century education and its challenges
AWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of Terraform
Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...
Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...
presentation ICT roal in 21st century education
presentation ICT roal in 21st century education
Spring Boot vs Quarkus the ultimate battle - DevoxxUK
Spring Boot vs Quarkus the ultimate battle - DevoxxUK
MINDCTI Revenue Release Quarter One 2024
MINDCTI Revenue Release Quarter One 2024
EMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWER
EMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWER
Navigating the Deluge_ Dubai Floods and the Resilience of Dubai International...
Navigating the Deluge_ Dubai Floods and the Resilience of Dubai International...
Why Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire business
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
WSO2's API Vision: Unifying Control, Empowering Developers
WSO2's API Vision: Unifying Control, Empowering Developers
Finding Java's Hidden Performance Traps @ DevoxxUK 2024
Finding Java's Hidden Performance Traps @ DevoxxUK 2024
Apidays New York 2024 - APIs in 2030: The Risk of Technological Sleepwalk by ...
Apidays New York 2024 - APIs in 2030: The Risk of Technological Sleepwalk by ...
Polkadot JAM Slides - Token2049 - By Dr. Gavin Wood
Polkadot JAM Slides - Token2049 - By Dr. Gavin Wood
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Rising Above_ Dubai Floods and the Fortitude of Dubai International Airport.pdf
Rising Above_ Dubai Floods and the Fortitude of Dubai International Airport.pdf
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Monky vold extension
1.
More than Vold
& mmc driver Monky 2010/04/21
2.
3.
Block Diagram System
Server Volume daemon Mount Listener Mount Service MMC Driver Packages uevent intent I/O Scheduler Generic Block Layer Mapping Layer VFS YAFFS2 VFAT EXT3.. Host Controller
4.
5.
6.
7.
8.
9.
10.
11.
12.
13.
14.
15.
16.
17.
18.
File System http://stackoverflow.com/questions/2421826/whats-android-file-system
(check our system..)
19.
20.
Reference http://en.wikipedia.org/wiki/Udev http://kezeodsnx.pixnet.net/blog/post/26089951
http://tw.myblog.yahoo.com/chimei-015/article?mid=948&prev=949&next=938&l=f&fid=19
Notes de l'éditeur
device_add() ,其用于將一个 device 注册到 device model ,其中使用了 kobject_uevent (&dev->kobj, KOBJ_ADD) 向 user space 發出 KOBJ_ADD 事件並輸出環境變數,以表明一个 device 被添加了。
由 socket 收到的 uevent A: 0 表示為 action 是 add P 則是路徑
Netlink 相對於系統調用, ioctl 以及 /proc 檔案系統而言具有以下優點︰ 1. 為了使用 netlink ,用戶僅需要在 include/linux/netlink.h 中增加一個新類型的 netlink 協議定義即可, 如 #define NETLINK_MYTEST 17 然後,內核和用戶態應用就可以立即透過 socket API 使用該 netlink 協議類型進行數據交換。但系統調用需要增加新的系統調用, ioctl 則需要增加設備或檔案, 那需要不少代碼, proc 檔案系統則需要在 /proc 下添加新的檔案或目錄,那將使本來就混亂的 /proc 更加混亂。 2. netlink 是一種異步通信機制,在內核與用戶態應用之間傳遞的消息儲存在 socket 緩沖隊列中,發送消息只是把消息儲存在接收者的 socket 的接收隊列,而不需要等待接收者收到消息,但系統調用與 ioctl 則是同步通信機制,如果傳遞的數據太長,將影響調度。 3. netlink 支援多播,內核模塊或應用可以把消息多播給一個 netlink 組,屬於該 neilink 組的任何內核模塊或應用都能接收到該消息,內核事件向用戶態的通知機製就使用了這一特性,任何對內核事件感興趣的應用都能收到該子系統發送的內核事件,在後面的文章中將介紹這一機製的使用。 4. 內核可以使用 netlink 首先發起會話,但系統調用和 ioctl 只能由用戶應用發起調用。 5. netlink 使用標準的 socket API ,因此很容易使用,但系統調用和 ioctl 則需要專門的培養訓練才能使用。
一開始使用 netlink socket 開啟 uevent_sock ,並且註冊 netlink family 為 NETLINK_KOBJECT_UEVENT 利用這個協定來將 kernel space message 傳給 user space 將與位址 bind 之後,就可以 recv() 。
power_supply: 判斷是否在 low battery 的狀態,讓 sd 進去 safe mode block: create blkdev 在 /dev/block/vold 下,並且依照路徑去做 mount 的動作 usb event: host event
Mount Service: /framework/base/services/java/com/android/server/MountService.java
Télécharger maintenant