为何「氡·OpenGApps」需要获取 Root 权限? / Why RnOpenGApps needs Root Permission?

中文

从「氡·OpenGApps」的 2.6 版本开始,新增了权限 android.permission.ACCESS_SUPERUSER,在某些操作中将申请 Root 权限。

这是由于 2.6 版本中加入了查看设备 OpenGApps 版本(感谢 Nahid Hasan Riyad 的建议)的功能,获取版本需要读取 /etc/g.prop 文件中的内容,而这个文件属于系统文件。

因此,「氡·OpenGApps」获取 Root 权限的理由仅为显示其已安装的版本,如若不需要查看设备 OpenGApps 版本,可以不授予 Root 权限。

English

Starting with the version 2.6 of RnOpenGApps, the permission android.permission.ACCESS_SUPERUSER has been added, and Root Permission will be requested in some operations.

This is due to the new feature which can get OpenGApps version (thanks to Nahid Hasan Riyad‘s suggestion) in the version 2.6. Getting version needs to read the contents of the /etc/g.prop file, which is a system file.

Therefore, the reason why RnOpenGApps obtains root permissions is only to display the installed OpenGApps version. If you do not need to get the OpenGApps version of your device, you can just refuse when requesting root permission.

暂无评论

发送评论 编辑评论


				
|´・ω・)ノ
ヾ(≧∇≦*)ゝ
(☆ω☆)
(╯‵□′)╯︵┴─┴
 ̄﹃ ̄
(/ω\)
∠( ᐛ 」∠)_
(๑•̀ㅁ•́ฅ)
→_→
୧(๑•̀⌄•́๑)૭
٩(ˊᗜˋ*)و
(ノ°ο°)ノ
(´இ皿இ`)
⌇●﹏●⌇
(ฅ´ω`ฅ)
(╯°A°)╯︵○○○
φ( ̄∇ ̄o)
ヾ(´・ ・`。)ノ"
( ง ᵒ̌皿ᵒ̌)ง⁼³₌₃
(ó﹏ò。)
Σ(っ °Д °;)っ
( ,,´・ω・)ノ"(´っω・`。)
╮(╯▽╰)╭
o(*////▽////*)q
>﹏<
( ๑´•ω•) "(ㆆᴗㆆ)
😂
😀
😅
😊
🙂
🙃
😌
😍
😘
😜
😝
😏
😒
🙄
😳
😡
😔
😫
😱
😭
💩
👻
🙌
🖕
👍
👫
👬
👭
🌚
🌝
🙈
💊
😶
🙏
🍦
🍉
😣
Source: github.com/k4yt3x/flowerhd
颜文字
Emoji
小恐龙
花!
上一篇
下一篇