Kể từ ngày 27 tháng 3 năm 2025, bạn nên sử dụng android-latest-release thay vì aosp-main để xây dựng và đóng góp cho AOSP. Để biết thêm thông tin, hãy xem phần Thay đổi đối với AOSP.
Sử dụng bộ sưu tập để sắp xếp ngăn nắp các trang
Lưu và phân loại nội dung dựa trên lựa chọn ưu tiên của bạn.
Mặc dù có một số lượng lớn hệ thống tệp được triển khai trong Linux Kernel, nhưng nhiều hệ thống tệp chưa được phê duyệt để sử dụng trong Android và không được hỗ trợ trong Android.
Cơ sở hạ tầng kiểm thử, cơ chế OTA, quy trình cập nhật và các yêu cầu về quyền riêng tư của Android phụ thuộc vào khả năng hỗ trợ hệ thống tệp cụ thể. Không phải hệ thống tệp nào cũng phù hợp để sử dụng trên thiết bị Android.
Ví dụ: Android yêu cầu hỗ trợ mã hoá dựa trên tệp thông qua fscrypt và xác thực dựa trên tệp thông qua fsverity, vì vậy, các hệ thống tệp không hỗ trợ fscrypt hoặc fsverity sẽ không phù hợp để sử dụng trong sản xuất.
Hỗ trợ hệ thống tệp cấp thấp
Kể từ Android 13, không gian người dùng chỉ hoạt động với các hệ thống tệp được tích hợp vào GKI. Việc vận chuyển một hệ thống tệp không được nhóm nhân của Google hỗ trợ có thể khiến người dùng dễ gặp phải các vấn đề bảo mật và không được khuyến khích.
Nhóm nhân kernel Android tiếp tục khắc phục tất cả hệ thống tệp bằng cách chụp nhanh các nhân Hỗ trợ dài hạn (LTS) ngược dòng. Tuy nhiên, các hệ thống tệp sau đây sẽ nhận được các bản vá thường xuyên hơn thông qua lịch phát hành bản vá bảo mật của Android:
exfat (được hỗ trợ trong hạt nhân 5.10 trở lên)
ext4
f2fs
fuse
incfs
Vfat
EROFS
Hệ thống tệp sau đây không còn được dùng nữa và có hỗ trợ hạn chế:
sdcardfs (chỉ được hỗ trợ trong kernel 4.14 trở về trước)
Hỗ trợ hệ thống tệp ảo
Nhìn chung, hệ thống tệp ảo, bao gồm cả các hệ thống sau, đều được hỗ trợ.
debugfs
overlayfs
procfs
sysfs
tmpfs
tracefs
Yêu cầu hỗ trợ về hệ thống tệp mới
Nếu bạn muốn sử dụng một hệ thống tệp không có trong danh sách này, hãy gửi yêu cầu về tính năng trong Công cụ theo dõi lỗi Android, sau đó liên hệ với kernel-team@android.com để thảo luận về nhu cầu của bạn.
Nội dung và mã mẫu trên trang này phải tuân thủ các giấy phép như mô tả trong phần Giấy phép nội dung. Java và OpenJDK là nhãn hiệu hoặc nhãn hiệu đã đăng ký của Oracle và/hoặc đơn vị liên kết của Oracle.
Cập nhật lần gần đây nhất: 2025-07-27 UTC.
[[["Dễ hiểu","easyToUnderstand","thumb-up"],["Giúp tôi giải quyết được vấn đề","solvedMyProblem","thumb-up"],["Khác","otherUp","thumb-up"]],[["Thiếu thông tin tôi cần","missingTheInformationINeed","thumb-down"],["Quá phức tạp/quá nhiều bước","tooComplicatedTooManySteps","thumb-down"],["Đã lỗi thời","outOfDate","thumb-down"],["Vấn đề về bản dịch","translationIssue","thumb-down"],["Vấn đề về mẫu/mã","samplesCodeIssue","thumb-down"],["Khác","otherDown","thumb-down"]],["Cập nhật lần gần đây nhất: 2025-07-27 UTC."],[],[],null,["# Android kernel file system support\n\nWhile there are a large number of file systems with implementations in the Linux\nKernel, many haven't been approved for production use in Android, and are not\nsupported in Android.\n\nAndroid's test infrastructure, OTA mechanisms, update processes, and privacy\nrequirements depend on specific file system support. Not all file\nsystems are suitable for use on Android devices.\n\nFor example, Android requires support for file-based encryption through\n`fscrypt` and file-based authentication through `fsverity`, so file systems that\ndon't support `fscrypt` or `fsverity` aren't suitable for production use.\n\nLow level file system support\n-----------------------------\n\nBeginning with Android 13, userspace only works with file\nsystems built into the GKI. Shipping a file system that doesn't have support\nfrom Google's kernel team can leave users vulnerable to security issues and\nisn't recommended.\n\nThe Android kernel team continues taking fixes for all file systems by\nsnapping to upstream Long Term Support (LTS) kernels. However, the following\nfile systems receive more frequent patches through the Android security\npatch release schedule:\n\n- `exfat` (supported in kernel 5.10 and later)\n- `ext4`\n- `f2fs`\n- `fuse`\n- `incfs`\n- `Vfat`\n- `EROFS`\n\nThe following file system is deprecated and has limited support:\n\n- `sdcardfs` (only supported in kernel 4.14 and earlier)\n\nVirtual file system support\n---------------------------\n\nIn general, virtual file systems, including the following, are supported.\n\n- `debugfs`\n- `overlayfs`\n- `procfs`\n- `sysfs`\n- `tmpfs`\n- `tracefs`\n\n| **Note:** Though `debugfs` is supported, as of Android 11, it's not mounted by default. If a user or device initiates a bug report, it's temporarily mounted to generate that report.\n\nRequest support for a new file system\n-------------------------------------\n\nIf you want to use a file system that isn't listed here, file a feature request\nin the [Android Issue Tracker](/docs/setup/contribute/report-bugs), then contact\n[kernel-team@android.com](mailto:kernel-team@android.com) to discuss your needs."]]