我已经知道如何通过修改文件来修改Android ROM,删除并将其添加到ROM中。但我没有关于建造/编译一个rom的知识。
我想锁定操作系统,所以没有人可以将新应用安装到它。那么至少对于他们没有知识与其他操作系统没有闪存的知识。
有没有办法阻止用户将任何应用程序安装到ROM?
删除市场应用程序或包装安装程序,PROF N缺点?
我已经知道如何通过修改文件来修改Android ROM,删除并将其添加到ROM中。但我没有关于建造/编译一个rom的知识。
我想锁定操作系统,所以没有人可以将新应用安装到它。那么至少对于他们没有知识与其他操作系统没有闪存的知识。
有没有办法阻止用户将任何应用程序安装到ROM?
删除市场应用程序或包装安装程序,PROF N缺点?
I already know how to modify an android ROM by modifying files, remove and add it into ROM. But I don't have knowledge to building/compiling a ROM.
I want to lock the OS so none can ever install new app to it. Well at least for they that not have a knowledge to flash the ROM with other OS.
Is there a way to prevent user from install any application to the ROM?
like removing the market app or the package installer, pros n cons?
您删除商店和包安装程序的想法应该有效。
要执行此操作,请从/系统/应用程序中删除以下APK(以及同名的任何,任何.ODEX文件)在ROM图像中或获取root后。与那些消失(和手机未加工),应该是不可能安装任何东西。
注意:我还没有测试过这个。在做这件事之前制作备份是可取的。
Your idea of removing the store and package installer should work.
To do so, delete the following apks (and any .odex files of the same name) from /system/app, either in your ROM image or after obtaining root.
With those gone (and the phone unrooted), it should be impossible to install anything.
Note : I have not tested this. Making a backup before doing this would be advisable.
我认为更容易的方式将与一个修改的股票rom。从一个完整的股票rom开始,我会做以下:
/data
只读。您可以使用重新安装文件夹的init.d脚本执行此操作: mount -o remount,ro /data
唯一的问题是用户无法保存任何数据。另一个Aproach可能是将 /data/app
文件夹(app-private等)的屏障更改为644(655 for目录)并将所有权更改为root。这样,用户将无法写入应用程序文件夹,但它将能够在 /data
文件夹(和子文件夹)中保存信息。
如果您不需要任何Google Apps,则可以使用 cyanogenmod 或其他无需安装Google Apps的自定义ROM。
I think the easier way would be with a modded stock ROM. Starting with a full stock ROM, I would do the following:
/data
to read only. You can do this with a init.d script that remounts the folder: mount -o remount,ro /data
The only problem is that the user wouldn't be able to save no data. Another aproach might be to change the permisions of /data/app
folders (app-private and so) to 644 (755 for directories) and change ownership to root. That way the user won't be able to write to the apps folder, but it would be able to save information in the /data
folder (and subfolders).
If you don't need any google apps, you can use CyanogenMod or other Custom ROM that doesn't have anything from Google apps installed.
© 2022 it.wenda123.org All Rights Reserved. 问答之家 版权所有