Problems during installation #18
Labels
No Label
Customized PKG
Dup
Enhancement
Help Needed
Invalid
Official PKG
Question
Script Bug
Taobao PKG
Wont Fix
No Milestone
No project
No Assignees
1 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: happyz/dpt-tools#18
Loading…
Reference in New Issue
No description provided.
Delete Branch "%!s(<nil>)"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Just reporting on problems, so others can avoid falling into same holes.
I did everything on a macbook, 10.11.6, and with python 3.6
I got "request error 401:, error code 40100 failed to upload file.
At this point I'm not sure what was wrong, I tried various things, among them device reboot.
I rand command 'root' again, this time answering "yes" to the question "have you disabled id check". And, then all seemed successful.
When trying diagnosis, I had an error "module 'serial' has no attribute 'Serial'. This was solved by
pip3 uninstall serial,pip3 install pyserialMy device was at /dev/tty.usbmodem1
If you are in diagnosis mode (black square), and want to reboot, click on the hidden reset button near the power button on the DPT.
Finally I managed to run diagnosis mode. But, something happend, and every command returned
[error] (6,'Device not configured)exiting, disconnecting the USB cable, reconnecting and restarting the diagnosis command on the mac fixed that.
It would be good to explain better what it means to 'use python_api/assets/adbkey to authenticate device'. I'm not sure if I did the right thing... I copied it to ~/.android, but what should I do?
I met 401 and 40100 previously too. but not seeing things like you later.
for your 7:
yes copy that, then type "adb killserver" then "adb devices" you should see the device with id and usable (you can do adb push, adb install et al), not anymore "unauthorized".
I used 'push-file' to copy
python_api/assets/adbkeyto folders~/.android,~/.android/adb_keys,adb_keys,/data/misc/adb/adb_keys,however after rebooting,
adb devicesstill outputunauthorized, andabd shelloutputerror: device unauthorized. This adb server's $ADB_VENDOR_KEYS is not set.thx for reporting it. Can you tell it a bit more? When it says it?
you can just type
reboot &and exit the program.It usually happens because of unstable disconnections (poor cables etc.) while uploading img that's too big. We'll have a better way to upload later.
Sure. I'll change README.md soon to clarify.
You shall not do it in diagnosis mode.
python_api/assets/adbkeyis put to~/.androidin your own computer..Yes, the problem was that I managed to get into diagnosis mode on the DPT side, but the computer couldn't connect, and so I wanted to exit diagnosis mode...
I think that was when I had problems with the serial connection because I installed
serialinstead ofpyserial...Ah I see :)
I'm making a newer version to leverage direct pkg flashing. So hopefully we will only need to go to diagnosis once. Stay tuned.