When going into the Stock recovery on the Firefly-RK3399, ADB functions do not work.
try to link a sh for adb in recovery.
out/target/product/rk3399_firefly_box/recovery/root/
ln -sf /sbin/sh system/bin/
rebuild recovery.img and flash it , retry
ok, so I extract recovery.img, then extract ramdisk.gz, now I symlink system/bin/sh to /sbin/sh ?
BiatuAutMiahn Posted at 4/6/2017 01:28
ok, so I extract recovery.img, then extract ramdisk.gz, now I symlink system/bin/sh to /sbin/sh ?
It maybe work, I sugguest you do it under the SDK .
ok, thank you
Hello!
I did this ("ln -sf /sbin/sh system/bin/ " in “out/target/product/rk3399_firefly_aio_box/recovery/root/” under SDK, then recompile and reflash recovery.img)
But ADB in recovery mode still doesn’t work. I can’t see any usb devices on my PC for AIO on recovery mode (I’m using linux PC and I’m sure 100%)
What should I do next?
sol Posted at 6/25/2018 17:33
Hello!I did this ("ln -sf /sbin/sh system/bin/ " in "out/target/product/rk3399_firefly_aio_box/ …
No need to complie , just pack it up after complie the whole SDK.
Run ./mkimage.sh and get the recovery.img .
Flash recovery.img and it will be work.
leung先森 Posted at 6/27/2018 10:47
No need to complie , just pack it up after complie the whole SDK.
Run ./mkimage.sh and get the re …
Ok, to check everything I did all from scratch:
- Download fresh SDK (Firefly-RK3399_Android7.1.2_git_20180126.7z)
- Unzip it, updated it (git pull gitlab firefly-rk3399:firefly-rk3399 - everything up to date)
- Compiled it with ./FFTools/make.sh -j8 -l rk3399_firefly_aio_box-userdebug
- Ru "ln -sf /sbin/sh system/bin/ " in “out/target/product/rk3399_firefly_aio_box/recovery/root/”
- Run “/mkimage.sh”, new recovery.img was made
- Flashed this new recovery.img with rkflashkit to recovery partition
- After board boot, run “adb reboot recovery” on my PC
- When board boots into recovery, I can see that this recovery image is new (date and time is written at the top of menu).
But result of “adb devices” on my PC is empty! I can’t run “adb sideload” or anything else.
And there no unknown devices in “lsusb” output on my PC.
Also, if I select “Apply update from ADB” from recovery menu - I see error “Failed to open driver control: No such file or directory”
So, in recovery mode ADB not working with or without selecting “Apply update from ADB” in recovery menu.
This is a screenshot from /cache/recovery/last.kmsg:
https://www.dropbox.com/s/m4ya7hb5a1e0uxt/20180628_144740.jpg?dl=0
It shows “init: avc: denied {set} for property=sys.usb.ffd.ready” before “init: Starting service adbd”, maybe this is the reason why ADB doesn’t work?
Please help!
sol Posted at 6/28/2018 19:51
Ok, to check everything I did all from scratch:
- Download fresh SDK (Firefly-RK3399_Android7.1. …
You need to make sure that when you run ./mkimage.sh is “lunch rk3399_firefly_aio_box” .
As I kown , if you do not lunch by hand , it default lunch rk3399_firefly_box insteal of rk3399_firefly_aio_box.
leung先森 Posted at 6/29/2018 09:27
You need to make sure that when you run ./mkimage.sh is “lunch rk3399_firefly_aio_box” .
As I kow …
Yes, I did lunch by hand with “lunch rk3399_firefly_aio_box”
My recovery image title is “rockchip/rk3399_firefly_aio_box/rk3399_firefly_aio_box 7.1.2/NHG47K/…”, so it’s for firefly_aio_box
But ADB USB connection is not working in this revovery mode (with “ln -sf /sbin/sh system/bin/”)
Maybe you can post your recovery.img with working ADB for firefly_aio_box somewhere (i.e. on your gitlab)?
Your advice "ln -sf /sbin/sh system/bin/ " doesn’t affect ADB functionality in recovery mode.
Please help.
P.S. Also I can’t use “Apply update from SD card” from recovery menu, it gives “E:failed to map file”
Welche Methode der Prüfungsvorbereitung mögen Sie am meisten? Mit PDF, online Test machen oder die simulierte Prüfungssoftware benutzen? Alle drei Methoden können EMC D-CSF-SC-01 von unserer PrüfungFrage Ihnen bieten. Demos aller drei Versionen von Prüfungsunterlagen können Sie vor dem Kauf kostenfrei herunterladen und probieren. Die beste Methode zu wählen ist ein wichtiger Schritt zum Bestehen der EMC D-CSF-SC-01. Zweifellos garantieren wir, dass jede Version von EMC D-CSF-SC-01 Prüfungsunterlagen umfassend und wirksam ist.
NewDumps不僅能為那你節約寶貴的時間,還可以讓你安心地參加考試以及順利的通過。NewDumps具有很好的可靠性,在專業IT行業人士中有很高的聲譽。你可以通過免費下載我們的NewDumps提供的部分關於CIPS L5M7考題及答案作為嘗試來確定我們的可靠性,相信你會很滿意的。我對我們NewDumps的產品有信心,相信很快NewDumps的關於CIPS L5M7考題及答案就會成為你的不二之選。你也會很快很順利的通過CIPS L5M7的認證考試。選擇我們NewDumps是明智的,NewDumps會是你想要的滿意的產品。