Enviar pesquisa
Carregar
Monky vold extension
•
Transferir como PPT, PDF
•
1 gostou
•
1,558 visualizações
M
mamahow
Seguir
Tecnologia
Diversão e humor
Denunciar
Compartilhar
Denunciar
Compartilhar
1 de 20
Baixar agora
Recomendados
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
Recomendados
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
Mais conteúdo relacionado
Mais procurados
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
Mais procurados
(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
Destaque
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
Destaque
(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
Semelhante a 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
Semelhante a 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
Mais 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
Mais 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
Último
Powerpoint exploring the locations used in television show Time Clash
Powerpoint exploring the locations used in television show Time Clash
charlottematthew16
"LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks...
"LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks...
Fwdays
Search Engine Optimization SEO PDF for 2024.pdf
Search Engine Optimization SEO PDF for 2024.pdf
RankYa
Training state-of-the-art general text embedding
Training state-of-the-art general text embedding
Zilliz
Leverage Zilliz Serverless - Up to 50X Saving for Your Vector Storage Cost
Leverage Zilliz Serverless - Up to 50X Saving for Your Vector Storage Cost
Zilliz
Anypoint Exchange: It’s Not Just a Repo!
Anypoint Exchange: It’s Not Just a Repo!
Manik S Magar
CloudStudio User manual (basic edition):
CloudStudio User manual (basic edition):
comworks
DevoxxFR 2024 Reproducible Builds with Apache Maven
DevoxxFR 2024 Reproducible Builds with Apache Maven
Hervé Boutemy
The Future of Software Development - Devin AI Innovative Approach.pdf
The Future of Software Development - Devin AI Innovative Approach.pdf
SeasiaInfotech2
Install Stable Diffusion in windows machine
Install Stable Diffusion in windows machine
Padma Pradeep
Artificial intelligence in cctv survelliance.pptx
Artificial intelligence in cctv survelliance.pptx
hariprasad279825
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)
Mark Simos
DevEX - reference for building teams, processes, and platforms
DevEX - reference for building teams, processes, and platforms
Sergiu Bodiu
New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
BookNet Canada
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...
Patryk Bandurski
E-Vehicle_Hacking_by_Parul Sharma_null_owasp.pptx
E-Vehicle_Hacking_by_Parul Sharma_null_owasp.pptx
null - The Open Security Community
AI as an Interface for Commercial Buildings
AI as an Interface for Commercial Buildings
Memoori
Developer Data Modeling Mistakes: From Postgres to NoSQL
Developer Data Modeling Mistakes: From Postgres to NoSQL
ScyllaDB
My INSURER PTE LTD - Insurtech Innovation Award 2024
My INSURER PTE LTD - Insurtech Innovation Award 2024
The Digital Insurer
My Hashitalk Indonesia April 2024 Presentation
My Hashitalk Indonesia April 2024 Presentation
Ridwan Fadjar
Último
(20)
Powerpoint exploring the locations used in television show Time Clash
Powerpoint exploring the locations used in television show Time Clash
"LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks...
"LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks...
Search Engine Optimization SEO PDF for 2024.pdf
Search Engine Optimization SEO PDF for 2024.pdf
Training state-of-the-art general text embedding
Training state-of-the-art general text embedding
Leverage Zilliz Serverless - Up to 50X Saving for Your Vector Storage Cost
Leverage Zilliz Serverless - Up to 50X Saving for Your Vector Storage Cost
Anypoint Exchange: It’s Not Just a Repo!
Anypoint Exchange: It’s Not Just a Repo!
CloudStudio User manual (basic edition):
CloudStudio User manual (basic edition):
DevoxxFR 2024 Reproducible Builds with Apache Maven
DevoxxFR 2024 Reproducible Builds with Apache Maven
The Future of Software Development - Devin AI Innovative Approach.pdf
The Future of Software Development - Devin AI Innovative Approach.pdf
Install Stable Diffusion in windows machine
Install Stable Diffusion in windows machine
Artificial intelligence in cctv survelliance.pptx
Artificial intelligence in cctv survelliance.pptx
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)
DevEX - reference for building teams, processes, and platforms
DevEX - reference for building teams, processes, and platforms
New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...
E-Vehicle_Hacking_by_Parul Sharma_null_owasp.pptx
E-Vehicle_Hacking_by_Parul Sharma_null_owasp.pptx
AI as an Interface for Commercial Buildings
AI as an Interface for Commercial Buildings
Developer Data Modeling Mistakes: From Postgres to NoSQL
Developer Data Modeling Mistakes: From Postgres to NoSQL
My INSURER PTE LTD - Insurtech Innovation Award 2024
My INSURER PTE LTD - Insurtech Innovation Award 2024
My Hashitalk Indonesia April 2024 Presentation
My Hashitalk Indonesia April 2024 Presentation
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
Notas do Editor
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
Baixar agora