-
Notifications
You must be signed in to change notification settings - Fork 130
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
unable to update #82
Comments
hmmm what makes you think it didn't work?
If you go into diagnosis mode, cat the files under
/root/updater_<timestamp>.log. it should tell you what happened to each pkg
Can you paste the latest one here?
…On Tue, Mar 26, 2019, 20:59 myliyifei ***@***.***> wrote:
按照之前复杂的方法(多步破解,而不是现在的刷两个pkg包)破解之后,可以root,带adb和mass storage,可以安装apk。
但是现在无法在刷入其他任何pkg, 比如支持蓝牙的pkg,也包括basic pkg , no mass storage pkg等
刷任何pkg, 自动重启之后都是提示 unable to update error code 900001 实际上也应该没有起效。
按照之前一个issue的提示,刷了5遍以上也没用。
py连接ip,用private key和不用,都试过。
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
<#82>, or mute the thread
<https://github.com/notifications/unsubscribe-auth/AEdSKgunTibQR3_M05YBw2oIBPnEyoyxks5vasJigaJpZM4cMvNu>
.
|
挑选出来了两段日志,看起来是刷成功了,但是现在插入usb,还是有mass storage, 打开蓝牙,还是搜索不到我的Logitech craft,我的手机可以搜索到这个键盘的蓝牙模式。 [anim] displaying /tmp/FwUpdater/images/status01.bmp [anim] displaying /tmp/FwUpdater/images/status01.bmp |
我是进入到android的系统设置-蓝牙里面去(adb shell am start -a android.settings.SETTINGS) 可以发现我的mix手机,但是找不到蓝牙键盘。 |
can you use adb and go into the /system/app/Bluetooth/ and see if there are If you flashed the one without mass storage, but yet somehow you reboot and still have mass_storage, something is wrong. What's the result when you run |
我刷的是这个commit里面这个目录下面的 commit f8410b6 (HEAD -> master, origin/master, origin/HEAD)
这是结果 关于蓝牙 可以看到备份文件,但是试过两个蓝牙键盘不同品牌的,手机都可以发现该键盘,但是RP1不可以。 |
happyz老师请指导一下 |
|
要进入这个模式 diagnosis mode |
how should I do? |
I found these:
|
mass storage isn't disabled may be it's cached? I'm not very clear what
went wrong for now.
When you enable Bluetooth, and try to connect with your keyboard, what does
it say in adb logcat?
…On Wed, Mar 27, 2019, 12:27 myliyifei ***@***.***> wrote:
我刷的是这个commit里面这个目录下面的
dpt-tools/fw_updater_packer_unpacker/pkg_example/flashable_mod_boot_img_no_mass_storage
------------------------------
commit f8410b6
<f8410b6>
(HEAD -> master, origin/master, origin/HEAD)
Author: HappyZ ***@***.***
Date: Sat Mar 23 11:35:26 2019 -0500
add a boot img mod without mass storage
-------------------------这是结果
adb shell getprop | grep persist.sys.usb.config
[persist.sys.usb.config]: [acm,hid,adb,mass_storage]
-----------------关于蓝牙
***@***.***:/system/app/Bluetooth # ll
-rw-r--r-- root root 35673 2019-03-27 01:16 Bluetooth.apk
-rw-r--r-- root root 57102 2018-04-10 18:26 Bluetooth.apk_bak
可以看到备份文件,那么就是不支持我这个蓝牙键盘了吗?
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<#82 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AEdSKvJV8rMsvSHmd6Vh1UIAZWdxmUXBks5va5vfgaJpZM4cMvNu>
.
|
mass storage should be disable? Which step can do this? |
In
|
When I enable Bluetooth, and try to connect withmy keyboard, the result is above after I used the command of |
1 这个cache是哪种cache,按照这个结果 看起来mass_storage 没有被关闭啊?我想关闭的目的是为了释放出这个空间。 2 Bluetooth里面无法搜索到蓝牙键盘,更不用谈连接了。应该怎么排除错误呢? |
这个是LOGCAT的日志,开启蓝牙开关的时候,蓝牙驱动是对的吗?看起来好像还是原来的DPT。 D/marvellWirelessDaemon( 1788): insmod:/lib/modules/mbt8897.ko,args , size 116356, ret: 0 I/bt-btu ( 4808): btu_task received preload complete event D/BluetoothAdapterProperties( 4808): Address is:A8:1D:16:03:90:0C |
I'll double check it tonight, hopefully can find something useful |
Your bluetooth log looks fine.. it may be your keyboard uses newer Bluetooth protocols which are not supported by the old DPT bluetooth chip. and regarding the mass storage issue, I have tried multiple times and switching PKGs with and without mass storage will be immediately effective after I reboot. So honestly Im not sure why yours didn't change afterwards. Even if you disable mass storage, it will not free up more spaces, as the mass storage mounts a separate partition, not the |
非常感谢您的指导,能否在请问一下 DPT RP1的蓝牙驱动使用的协议是哪种呢?我按什么样的标准可以找到合适的键盘? |
It's just my guess.. it's using Bluetooth 4.2, which supposes to be fairly new, but on the other hand it uses a rather old bluetooth lib.. I didn't test it but maybe if you swap a newer bluetooth lib/firmware it could work fine. |
Happyz, Could you look at my documents?:) |
@yefeiyu your output doesnt contain much bluetooth info.. I decompiled the DPT bluetooth app and odex, and it is actually just a standard bluetooth from Android.. except hid etc. were disabled. The .so lib might also be a standard one. I tend to think Android 5.1 does not support FILCO keyboard. And @myliyifei you may go to After you remove the cache, first flash the bluetooth_recover PKG, and reboot, and flash the bluetooth_hid PKG. If not working, I would think somehow this is related to the mass_storage issue.. I'm not sure how to solve it yet. |
@myliyifei question: were you using Windows? |
thank you! |
should I delete below two files?
|
按以上刷蓝牙的两个PKG之后,打开系统蓝牙 提示 "bluetooth share has stoped" 检查 /data/dalvik-cache/arm 并没有这样的 Bluetooth.apk@classes.dex 生成 |
hmmm 那你adb进系统 把systrm/app/bluetooth apk 和odex的bak还原 然后重启呢 dex没生成不该啊
…On Wed, Apr 10, 2019, 12:00 myliyifei ***@***.***> wrote:
按以上刷蓝牙的两个PKG之后,打开系统蓝牙 提示 "bluetooth share has stoped"
检查 /data/dalvik-cache/arm 并没有这样的 ***@***.*** 生成
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<#82 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AEdSKpkEZXaaeS_jWe1awR00kNUgVZJoks5vfhiQgaJpZM4cMvNu>
.
|
刷了recover还是没好的话 用adb进普通系统
```
mount -o rw,remount /system
```
然后把备份的bluetooth apk bak重命名 换回去 然后重启 dalvik cache会生成么
…On Wed, Apr 10, 2019, 12:05 myliyifei ***@***.***> wrote:
hmmm 那你adb进系统 把systrm/app/bluetooth apk 和odex的bak还原 然后重启呢 dex没生成不该啊
… <#m_-8030969552829008654_>
On Wed, Apr 10, 2019, 12:00 myliyifei *@*.*> wrote: 按以上刷蓝牙的两个PKG之后,打开系统蓝牙
提示 "bluetooth share has stoped" 检查 /data/dalvik-cache/arm 并没有这样的 @.* 生成 —
You are receiving this because you commented. Reply to this email directly,
view it on GitHub <#82 (comment)
<#82 (comment)>>,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AEdSKpkEZXaaeS_jWe1awR00kNUgVZJoks5vfhiQgaJpZM4cMvNu
.
我现在刷了bluetooth_recover PKG,(4.11)的包 MAC下面刷的。
您说的是还原是如何还原呢?
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<#82 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AEdSKp_QZJrAWekCTqLyKJ1-_qSsgGk_ks5vfhnrgaJpZM4cMvNu>
.
|
把旧的备份恢复之后,classes.dex生成成功了。 |
OK 然后再刷一次hid 的pkg呢
…On Wed, Apr 10, 2019, 12:23 myliyifei ***@***.***> wrote:
刷了recover还是没好的话 用adb进普通系统 mount -o rw,remount /system 然后把备份的bluetooth apk
bak重命名 换回去 然后重启 dalvik cache会生成么
… <#m_-6585408393226438954_>
On Wed, Apr 10, 2019, 12:05 myliyifei *@*.**> wrote: hmmm 那你adb进系统
把systrm/app/bluetooth apk 和odex的bak还原 然后重启呢 dex没生成不该啊 …
<#m_-8030969552829008654_> On Wed, Apr 10, 2019, 12:00 myliyifei @.> wrote:
按以上刷蓝牙的两个PKG之后,打开系统蓝牙 提示 "bluetooth share has stoped" 检查
/data/dalvik-cache/arm 并没有这样的 @.* 生成 — You are receiving this because you
commented. Reply to this email directly, view it on GitHub <#82
<#82> (comment) <#82 (comment)
<#82 (comment)>>>,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AEdSKpkEZXaaeS_jWe1awR00kNUgVZJoks5vfhiQgaJpZM4cMvNu
. 我现在刷了bluetooth_recover PKG,(4.11)的包 MAC下面刷的。 您说的是还原是如何还原呢? — You are
receiving this because you commented. Reply to this email directly, view it
on GitHub <#82 (comment)
<#82 (comment)>>,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AEdSKp_QZJrAWekCTqLyKJ1-_qSsgGk_ks5vfhnrgaJpZM4cMvNu
.
把旧的备份恢复之后,classes.dex生成成功了。
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<#82 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AEdSKo1aLP0oVWERCikHHe8p6MjYxy1eks5vfh4ngaJpZM4cMvNu>
.
|
刷之前,是否删除system@app@Bluetooth@Bluetooth.apk@classes.dex呢? |
不删
…On Wed, Apr 10, 2019, 12:31 myliyifei ***@***.***> wrote:
OK 然后再刷一次hid 的pkg呢
… <#m_-8475927056440106662_>
On Wed, Apr 10, 2019, 12:23 myliyifei *@*.*> wrote: 刷了recover还是没好的话
用adb进普通系统 mount -o rw,remount /system 然后把备份的bluetooth apk bak重命名 换回去 然后重启
dalvik cache会生成么 … <#m_-6585408393226438954_> On Wed, Apr 10, 2019, 12:05
myliyifei @.> wrote: hmmm 那你adb进系统 把systrm/app/bluetooth apk 和odex的bak还原
然后重启呢 dex没生成不该啊 … <#m_-8030969552829008654_> On Wed, Apr 10, 2019, 12:00
myliyifei @.> wrote: 按以上刷蓝牙的两个PKG之后,打开系统蓝牙 提示 "bluetooth share has stoped"
检查 /data/dalvik-cache/arm 并没有这样的 @.* 生成 — You are receiving this because
you commented. Reply to this email directly, view it on GitHub <#82
<#82> <#82
<#82>> (comment) <#82
<#82> (comment) <#82 (comment)
<#82 (comment)>>>>,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AEdSKpkEZXaaeS_jWe1awR00kNUgVZJoks5vfhiQgaJpZM4cMvNu
. 我现在刷了bluetooth_recover PKG,(4.11)的包 MAC下面刷的。 您说的是还原是如何还原呢? — You are
receiving this because you commented. Reply to this email directly, view it
on GitHub <#82 <#82> (comment) <#82
(comment)
<#82 (comment)>>>,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AEdSKp_QZJrAWekCTqLyKJ1-_qSsgGk_ks5vfhnrgaJpZM4cMvNu
. 把旧的备份恢复之后,classes.dex生成成功了。 — You are receiving this because you
commented. Reply to this email directly, view it on GitHub <#82 (comment)
<#82 (comment)>>,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AEdSKo1aLP0oVWERCikHHe8p6MjYxy1eks5vfh4ngaJpZM4cMvNu
.
***@***.***@***@***.***@classes.dex呢?
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<#82 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AEdSKsIksj4IZb37fQirXabXFzMv6PbKks5vfh_-gaJpZM4cMvNu>
.
|
这次刷完之后,开启蓝牙不报错,但是依旧找不到HID。我如何通过日志或者其他途径判断Bluetooth.APK对HID的当前设置呢? 系统固件版本是 1.4.01.16100 |
所以你是连搜索都搜索不到 而不是没法connect?
…On Wed, Apr 10, 2019, 12:38 myliyifei ***@***.***> wrote:
不删
… <#m_7655679980758422521_>
On Wed, Apr 10, 2019, 12:31 myliyifei *@*.*> wrote: OK 然后再刷一次hid 的pkg呢 …
<#m_-8475927056440106662_> On Wed, Apr 10, 2019, 12:23 myliyifei @.> wrote:
刷了recover还是没好的话 用adb进普通系统 mount -o rw,remount /system 然后把备份的bluetooth apk
bak重命名 换回去 然后重启 dalvik cache会生成么 … <#m_-6585408393226438954_> On Wed, Apr
10, 2019, 12:05 myliyifei @.> wrote: hmmm 那你adb进系统 把systrm/app/bluetooth
apk 和odex的bak还原 然后重启呢 dex没生成不该啊 … <#m_-8030969552829008654_> On Wed, Apr
10, 2019, 12:00 myliyifei @.> wrote: 按以上刷蓝牙的两个PKG之后,打开系统蓝牙 提示 "bluetooth
share has stoped" 检查 /data/dalvik-cache/arm 并没有这样的 @. 生成 — You are
receiving this because you commented. Reply to this email directly, view it
on GitHub <#82 <#82> <#82
<#82>> <#82
<#82> <#82
<#82>>> (comment) <#82
<#82> <#82
<#82>> (comment) <#82
<#82> (comment) <#82 (comment)
<#82 (comment)>>>>>,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AEdSKpkEZXaaeS_jWe1awR00kNUgVZJoks5vfhiQgaJpZM4cMvNu
<https://github.com/notifications/unsubscribe-auth/AEdSKpkEZXaaeS_jWe1awR00kNUgVZJoks5vfhiQgaJpZM4cMvNu>
. 我现在刷了bluetooth_recover PKG,(4.11)的包 MAC下面刷的。 您说的是还原是如何还原呢? — You are
receiving this because you commented. Reply to this email directly, view it
on GitHub <#82 <#82> <#82
<#82>> (comment) <#82
<#82> (comment) <#82 (comment)
<#82 (comment)>>>>,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AEdSKp_QZJrAWekCTqLyKJ1-_qSsgGk_ks5vfhnrgaJpZM4cMvNu
<https://github.com/notifications/unsubscribe-auth/AEdSKp_QZJrAWekCTqLyKJ1-_qSsgGk_ks5vfhnrgaJpZM4cMvNu>
. 把旧的备份恢复之后,classes.dex生成成功了。 — You are receiving this because you
commented. Reply to this email directly, view it on GitHub <#82
<#82> (comment) <#82 (comment)
<#82 (comment)>>>,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AEdSKo1aLP0oVWERCikHHe8p6MjYxy1eks5vfh4ngaJpZM4cMvNu
<https://github.com/notifications/unsubscribe-auth/AEdSKo1aLP0oVWERCikHHe8p6MjYxy1eks5vfh4ngaJpZM4cMvNu>
. @.***@***.*** <https://github.com/BlueTooth>@**@***.***呢? — You are
receiving this because you commented. Reply to this email directly, view it
on GitHub <#82 (comment)
<#82 (comment)>>,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AEdSKsIksj4IZb37fQirXabXFzMv6PbKks5vfh_-gaJpZM4cMvNu
.
这次刷完之后,开启蓝牙不报错,但是依旧找不到HID。我如何通过日志或者其他途径判断Bluetooth.APK对HID的当前设置呢?
系统固件版本是 1.4.01.16100
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<#82 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AEdSKtsnn4yxpaYyueuGtum-WrLIrROJks5vfiGvgaJpZM4cMvNu>
.
|
是的,我是没有办法搜索到键盘,试过两个键盘都不可以。刚测试了老手机 nexus5 ,Android 6.0.1 蓝牙选项中也可以发现我现在的键盘。 |
ic.. 我这个hid只是enable了如果你搜到但是连不上 你搜都搜不到这。。。 我想想 |
如果你安装一个bluetooth的软件 比如 Bluetooth Pair 能搜到么 |
更改您为rp1制作的蓝牙版本怎么样 |
1 similar comment
更改您为rp1制作的蓝牙版本怎么样 |
譬如,升级成更高的安卓系统版本的蓝牙 |
我没有制作过新的版本 我只是enable了原来apk里面disable了的hid连接 所以如果本来机子里的就是阉割版本的 那么很有可能需要重新写firmware 非常小可能你直接换一个原来android上编译好的bluetooth module你就能升级 |
测试了,还是搜索不到。 |
能麻烦你去#66 写一下什么键盘型号搜不到么 那你搜别的比如你的手机可以搜索的到吗 |
已经补充。 我的手机MIX2S (Android 8) 和 nexus 5(Android 6) 均可以搜索到该键盘, |
这个我就无能为力了。。说明bluetooth本身是工作的 但是就是一些特定的键盘连不上 感觉跟特定的protocol有关系 也就是说很有可能dpt的firmware并没有支持这样的protocol 虽然我并不是很recommend 但是你可以试试把working phone里的bluetooth module拿出来 (同一个系统版本) 然后放到dpt里看看能不能work |
好的,我先关闭这个issue,有新的发现再分享。 |
买了一个新的罗技K380键盘,机器升级到1.6版本,然后也刷了蓝牙HID的包,现在可以使用上键盘了。 |
按照之前复杂的方法(多步破解,而不是现在的刷两个pkg包)破解之后,可以root,带adb和mass storage,可以安装apk。
但是现在无法在刷入其他任何pkg, 比如支持蓝牙的pkg,也包括basic pkg , no mass storage pkg等
刷任何pkg, 自动重启之后都是提示 unable to update error code 900001 实际上也应该没有起效。
按照之前一个issue的提示,刷了5遍以上也没用。
py连接ip,用private key和不用,都试过。
The text was updated successfully, but these errors were encountered: