Android添加一个新分区
来源:互联网 发布:物流网络的特点 编辑:程序博客网 时间:2024/05/16 14:14
mediatek/build/tools/ptgen/MT6582/partition_table_MT6582.xls
在android分区前加上一个分区config,为从android分区划分出来的8MB的分区,android分区要相应减少8MB;
例如:下图的config分区11
2.
diff--git a/mediatek/config/mt6582/factory_init.rcb/mediatek/config/mt6582/factory_init.rcindex7e543b1..beb2ad9 100755---a/mediatek/config/mt6582/factory_init.rc+++b/mediatek/config/mt6582/factory_init.rcdiff--git a/mediatek/config/mt6582/factory_init.rcb/mediatek/config/mt6582/factory_init.rcindex7e543b1..beb2ad9 100755---a/mediatek/config/mt6582/factory_init.rc+++b/mediatek/config/mt6582/factory_init.rc@@-113,6 +113,13 @@ on fs_property:ro.mount.fs=EXT4 exec /sbin/e2fsck -p /emmc@cache exec /sbin/tune2fs -O has_journal/emmc@cache mount ext4 emmc@cache /cache noatimenosuid nodev wait noauto_da_alloc+# addby major for new partion+ mkdir /mnt/test 0777 system system+ exec /sbin/e2fsck -pfD emmc@test+ exec /sbin/tune2fs -O has_journal emmc@test+ mount ext4 emmc@test /mnt/test noatimenosuid nodev wait commit=1,nodelalloc,noauto_da_alloc+ chown system system /mnt/test+ chmod 0777 /mnt/test write /proc/bootprof"INIT:eMMC:Mount_END" on fs_property:ro.mount.fs=UBIFSdiff--git a/mediatek/config/mt6582/init.rc b/mediatek/config/mt6582/init.rcindex4a7d9da..a5cc756 100755---a/mediatek/config/mt6582/init.rc+++b/mediatek/config/mt6582/init.rc@@-227,6 +227,15 @@ on fs_property:ro.mount.fs=EXT4 # mount cip partitions exec /sbin/e2fsck -p /emmc@custom mount ext4 /emmc@custom /custom++# addby major for new partion+ mkdir /mnt/test 0777 system system+ exec /sbin/e2fsck -pfD emmc@test+ exec /sbin/tune2fs -O has_journal emmc@test+ mount ext4 emmc@test /mnt/test noatimenosuid nodev wait commit=1,nodelalloc,noauto_da_alloc+ chown system system /mnt/test+ chmod 0777 /mnt/test+ write /proc/bootprof"INIT:eMMC:Mount_END" on fs_property:ro.mount.fs=UBIFSdiff--git a/mediatek/config/mt6582/meta_init.rcb/mediatek/config/mt6582/meta_init.rcindex59ed108..9921dbe 100644---a/mediatek/config/mt6582/meta_init.rc+++b/mediatek/config/mt6582/meta_init.rc@@-118,6 +118,15 @@ on fs_property:ro.mount.fs=EXT4 # mount cip partitions exec /sbin/e2fsck -p /emmc@custom mount ext4 /emmc@custom /custom++#addby major for test partion+ mkdir /mnt/test 0777 system system+ exec /sbin/e2fsck -pfD emmc@test+ exec /sbin/tune2fs -O has_journal emmc@test+ mount ext4 emmc@test /mnt/test noatimenosuid nodev wait commit=1,nodelalloc,noauto_da_alloc+ chown system system /mnt/test+ chmod 0777 /mnt/test+ write /proc/bootprof"INIT:eMMC:Mount_END" on fs_property:ro.mount.fs=UBIFS
0 0
- Android添加一个新分区
- Ubuntu添加新分区
- RHEL系统添加一个新的交换Swap分区
- Virtualbox中Linux添加一个新磁盘->创建分区->格式化->挂载分区
- android 添加一个新的android 键值
- 虚拟上添加新分区
- Linux添加新的分区
- Android添加一个新的按键
- Android 如何添加一个新的时区
- Android添加一个新的按键Key
- android如何添加一个新的时区
- Android添加一个新的按键
- Android 如何添加一个新的时区
- android分区添加
- Linux添加新硬盘并分区格式化
- Ubuntu 添加新分区 并设置挂载点
- Ubuntu 添加新分区 并设置挂载点
- 给linux虚拟机添加新分区
- iOS指纹识别技术
- Codeforces Round #378 (Div. 2)A题
- ZZULIOJ 1331弟弟的作业
- [caffe]:关于调用caffe库,cmake 编译问题
- 观察者设计模式
- Android添加一个新分区
- 数据库-在表中插入数据;如果存在就更新
- C语言:标记化结构初始化语法
- Angular2-PrimeNG 分页模块源码学习
- 根据推送消息 跳转到指定控制器
- Java-Card-技术简介
- Got error 28 from storage engine
- 矩阵的基本使用
- 一步步教你Hadoop多节点集群安装配置