Android USB Accessory JAR 复制到系统文件夹,是否也需要 odex 文件?
我正在尝试让我的手机接受 USB 配件模式并运行连接到 Arduino ADK。我的 ROM 不包含适当的文件,所以我决定自己做。
首先是规格
- 我的手机:Samsung GT-I9100
- 我的ROM:2.6.35.7-I9000XWJVZ(已root)
- 固件:2.3.6
我之前已成功将.jar、.odex 和.xml 文件复制到相应的文件夹。尽管它完全使我的手机变砖并陷入启动循环。现在,我已经康复了,我想再试一次。
/system/framework 文件夹中每个其他 .jar 文件都有的这个 .odex 文件是什么? 我是否需要自己构建/复制 .odex 文件(阅读 Dalvik 的内容是否进行 JIT 编译)?
有没有可能,在我之前的尝试中,复制.odex(我从另一部手机I9100获得的),使我的手机变砖了?
我知道我之前的尝试是粗心的。现在,我想用更多的知识来探讨这个主题......
I am trying to get my phone to accept USB Accessory mode and run the DemoKit connected to the Arduino ADK. My ROM did not contain the appropriate files so, I decided to do it myself.
First the specs
- My phone: Samsung GT-I9100
- My ROM: 2.6.35.7-I9000XWJVZ (rooted)
- Firmware: 2.3.6
I've succeeded before in copying the .jar .odex and .xml file to the appropriate folders. Although it completely bricked my phone and was stuck in a boot loop. Now, recovered, I want to give it a second try.
What is this .odex file that every other .jar file has in the /system/framework folder?
Do I need to build/copy the .odex file myself (read something that Dalvik does JIT compiling)?
Is it possible that in my previous attempt, the copying of the .odex (that I got from another phone I9100), bricked mine?
I know I was careless in my previous attempt. Now, I want to approach the subject with a bit more knowledge...
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论