Error when rooting 4k Firestick - Fire TV Q&A, Help & Troubleshooting

I'm getting this error when i tried to root my 4k stick. I downloaded the ISO file and created a live usb.
See below. I have trid ifferent usb ports etc.
[[email protected] ~/kamakiri-mantis-v1.2/kamakiri]# ./bootrom-step.sh
[2022-02-04 20:32:41.631533] Waiting for bootrom
[2022-02-04 20:33:07.490734] Found port = /dev/ttyACM0
[2022-02-04 20:33:07.492709] Handshake
[2022-02-04 20:33:07.496680] Disable watchdog
* * * If you have a short attached, remove it now * * *
* * * Press Enter to continue * * *
[2022-02-04 20:33:14.584862] Load payload from ../brom-payload/stage1/stage1.bin = 0x27C bytes
Traceback (most recent call last):
File "main.py", line 119, in <module>
main(dev)
File "main.py", line 24, in main
load_payload(dev)
File "/root/kamakiri-mantis-v1.2/kamakiri/modules/load_payload.py", line 69, in load_payload
udev = usb.core.find(idVendor=0x0e8d, idProduct=0x3)
File "/usr/lib/python3.7/site-packages/usb/core.py", line 1253, in find
import usb.backend.libusb1 as libusb1
File "/usr/lib/python3.7/site-packages/usb/backend/libusb1.py", line 39, in <module>
import usb.libloader
File "/usr/lib/python3.7/site-packages/usb/libloader.py", line 32, in <module>
import ctypes.util
File "/usr/lib/python3.7/ctypes/util.py", line 2, in <module>
import shutil
File "/usr/lib/python3.7/shutil.py", line 22, in <module>
import bz2
File "<frozen importlib._bootstrap>", line 983, in _find_and_load
File "<frozen importlib._bootstrap>", line 967, in _find_and_load_unlocked
File "<frozen importlib._bootstrap>", line 677, in _load_unlocked
File "<frozen importlib._bootstrap_external>", line 724, in exec_module
File "<frozen importlib._bootstrap_external>", line 859, in get_code
File "<frozen importlib._bootstrap_external>", line 917, in get_data
OSError: [Errno 5] Input/output error
[[email protected] ~/kamakiri-mantis-v1.2/kamakiri]#

Related

[Q] P.A.C error

iates/pac_toro-target_files-eng.root.zip /root/pac/out/target/product/toro/pac_toro-ota-eng.root.zip
unzipping target target-files...
running: unzip -o -q /root/pac/out/target/product/toro/obj/PACKAGING/target_files_intermediates/pac_toro-target_files-eng.root.zip -d /tmp/targetfiles-mX0gSB
Traceback (most recent call last):
File "./build/tools/releasetools/ota_from_target_files", line 884, in <module>
main(sys.argv[1:])
File "./build/tools/releasetools/ota_from_target_files", line 836, in main
OPTIONS.info_dict = common.LoadInfoDict(input_zip)
File "/root/pac/build/tools/releasetools/common.py", line 146, in LoadInfoDict
d["build.prop"] = LoadBuildProp(zip)
File "/root/pac/build/tools/releasetools/common.py", line 160, in LoadBuildProp
name, value = line.split("=", 1)
ValueError: need more than 1 value to unpack
make: *** [/root/pac/out/target/product/toro/pac_toro-ota-eng.root.zip] error 1
yun3195 said:
iates/pac_toro-target_files-eng.root.zip /root/pac/out/target/product/toro/pac_toro-ota-eng.root.zip
unzipping target target-files...
running: unzip -o -q /root/pac/out/target/product/toro/obj/PACKAGING/target_files_intermediates/pac_toro-target_files-eng.root.zip -d /tmp/targetfiles-mX0gSB
Traceback (most recent call last):
File "./build/tools/releasetools/ota_from_target_files", line 884, in <module>
main(sys.argv[1:])
File "./build/tools/releasetools/ota_from_target_files", line 836, in main
OPTIONS.info_dict = common.LoadInfoDict(input_zip)
File "/root/pac/build/tools/releasetools/common.py", line 146, in LoadInfoDict
d["build.prop"] = LoadBuildProp(zip)
File "/root/pac/build/tools/releasetools/common.py", line 160, in LoadBuildProp
name, value = line.split("=", 1)
ValueError: need more than 1 value to unpack
make: *** [/root/pac/out/target/product/toro/pac_toro-ota-eng.root.zip] error 1
Click to expand...
Click to collapse
Hi!
I am getting the same error. Do you know how to fix it?
QUESTION
yun3195 said:
iates/pac_toro-target_files-eng.root.zip /root/pac/out/target/product/toro/pac_toro-ota-eng.root.zip
unzipping target target-files...
running: unzip -o -q /root/pac/out/target/product/toro/obj/PACKAGING/target_files_intermediates/pac_toro-target_files-eng.root.zip -d /tmp/targetfiles-mX0gSB
Traceback (most recent call last):
File "./build/tools/releasetools/ota_from_target_files", line 884, in <module>
main(sys.argv[1:])
File "./build/tools/releasetools/ota_from_target_files", line 836, in main
OPTIONS.info_dict = common.LoadInfoDict(input_zip)
File "/root/pac/build/tools/releasetools/common.py", line 146, in LoadInfoDict
d["build.prop"] = LoadBuildProp(zip)
File "/root/pac/build/tools/releasetools/common.py", line 160, in LoadBuildProp
name, value = line.split("=", 1)
ValueError: need more than 1 value to unpack
make: *** [/root/pac/out/target/product/toro/pac_toro-ota-eng.root.zip] error 1
Click to expand...
Click to collapse
I met that error too,did you solve that,sir?

[Q] Custom Kernel Compilation with external wifi support

I got a weird error when try to compile kernel source from samsung SGH-I747M, I use the lastest JB kernel source from samsung open source. I google it but no luck
I use a linux box (backbox lastest version). I also try it on Ubuntru 12.04 but same output. I also try the NDK and ARM-EABI still the same output. Here the error :
[email protected]:~/samsung$ make -j 4
Traceback (most recent call last):
File "/home/nannaniel/samsung/scripts/gcc-wrapper.py", line 110, in <module>
status = run_gcc()
File "/home/nannaniel/samsung/scripts/gcc-wrapper.py", line 100, in run_gcc
proc = subprocess.Popen(args, stderr=subprocess.PIPE)
File "/usr/lib/python2.7/subprocess.py", line 679, in __init__
errread, errwrite)
File "/usr/lib/python2.7/subprocess.py", line 1249, in _execute_child
raise child_exception
OSError: [Errno 2] No such file or directory
CHK include/linux/version.h
CC scripts/mod/empty.o
HOSTCC scripts/conmakehash
Traceback (most recent call last):
File "/home/nannaniel/samsung/scripts/gcc-wrapper.py", line 110, in <module>
status = run_gcc()
File "/home/nannaniel/samsung/scripts/gcc-wrapper.py", line 100, in run_gcc
proc = subprocess.Popen(args, stderr=subprocess.PIPE)
File "/usr/lib/python2.7/subprocess.py", line 679, in __init__
errread, errwrite)
File "/usr/lib/python2.7/subprocess.py", line 1249, in _execute_child
raise child_exception
OSError: [Errno 2] No such file or directory
make[2]: *** [scripts/mod/empty.o] Error 1
make[1]: *** [scripts/mod] Error 2
make[1]: *** Waiting for unfinished jobs....
CHK include/generated/utsrelease.h
make[1]: `include/generated/mach-types.h' is up to date.
CC kernel/bounds.s
Traceback (most recent call last):
File "/home/nannaniel/samsung/scripts/gcc-wrapper.py", line 110, in <module>
status = run_gcc()
File "/home/nannaniel/samsung/scripts/gcc-wrapper.py", line 100, in run_gcc
proc = subprocess.Popen(args, stderr=subprocess.PIPE)
File "/usr/lib/python2.7/subprocess.py", line 679, in __init__
errread, errwrite)
File "/usr/lib/python2.7/subprocess.py", line 1249, in _execute_child
raise child_exception
OSError: [Errno 2] No such file or directory
make[1]: *** [kernel/bounds.s] Error 1
make: *** [prepare0] Error 2
make: *** Waiting for unfinished jobs....
make: *** [scripts] Error 2
Any Idea ?
thks
https://github.com/vmobi-gogh/andro...mmit/d871746203d240d2ca6df762c852853359f2ce2d
You will need to also run a
$ make mr proper
inside the kernel folder. I had some other weirdness working on the goghvmu kernel as well. Good luck!
---------- Post added at 10:51 AM ---------- Previous post was at 10:44 AM ----------
Also looks like I missed csh
$ sudo apt-get install csh
http://stackoverflow.com/questions/6330705/python-subprocess-throws-error-no-such-file-or-direcrory
Here is one last commit that fixed and got me a build! Still need to flash but at least it built
https://github.com/vmobi-gogh/andro...mmit/01b11606e6ea6597d5df39c1dc75ebd91d4349ec

Help building ROMs for Nexus 5X

I tried building CM and ResurrectionRemix for Nexus 5X and got the same error:
Code:
using prebuilt boot.img from BOOTABLE_IMAGES...
Traceback (most recent call last):
File "./build/tools/releasetools/make_recovery_patch", line 53, in <module>
main(sys.argv[1:])
File "./build/tools/releasetools/make_recovery_patch", line 49, in main
common.MakeRecoveryPatch(input_dir, output_sink, recovery_img, boot_img)
File "/home/gururoop/android/cm13/build/tools/releasetools/common.py", line 1443, in MakeRecoveryPatch
_, _, patch = d.ComputePatch()
File "/home/gururoop/android/cm13/build/tools/releasetools/common.py", line 1131, in ComputePatch
p = Run(cmd, stdout=subprocess.PIPE, stderr=subprocess.PIPE)
File "/home/gururoop/android/cm13/build/tools/releasetools/common.py", line 87, in Run
return subprocess.Popen(args, **kwargs)
File "/usr/lib/python2.7/subprocess.py", line 710, in __init__
errread, errwrite)
File "/usr/lib/python2.7/subprocess.py", line 1327, in _execute_child
raise child_exception
OSError: [Errno 2] No such file or directory
make: *** [/home/gururoop/android/cm13/out/target/product/bullhead/system/bin/install-recovery.sh] Error 1
make: Leaving directory `/home/gururoop/android/cm13'
I tried downloading the repo afresh, but got the same error. Any help would be highly appreciated.

Help compiling AOSPA

Hey,
I was trying to compile AOSPA from source. After the repo sync finished, i copied the proprietary blobs from The Muppets repository.. After that I ran "source build/envsetup.sh".
Everything was fine up til now, but when i ran breakfast pme, i got
"
Traceback (most recent call last):
File "build/tools/roomservice.py", line 63, in <module>
raise ValueError('No dependencies file could be found for the device (%s).' % device)
ValueError: No dependencies file could be found for the device (pme).
** Roomservice failure for: 'pa_pme'
"
I searched a little and figured out that i need to add PA dependencies in vendor/pa/products/pme
I used tried using the LOS file, but then when i ran breakfast pme, i got the following:
"
including vendor/pa/vendorsetup.sh
Traceback (most recent call last):
File "build/tools/roomservice.py", line 129, in <module>
raise ValueError('No remote declaration could be found for the %s project. (%s)' % (name, remote))
ValueError: No remote declaration could be found for the android_kernel_htc_msm8996 project. (None)
** Roomservice failure for: 'pa_pme'
"
Can anybody help me fix this?

Error when rooting 4k Firestick

Posted twice in error.
I'm getting this error when i tried to root my 4k stick. I downloaded the ISO file and created a live usb.
See below. I have trid ifferent usb ports etc.
[[email protected] ~/kamakiri-mantis-v1.2/kamakiri]# ./bootrom-step.sh
[2022-02-04 20:32:41.631533] Waiting for bootrom
[2022-02-04 20:33:07.490734] Found port = /dev/ttyACM0
[2022-02-04 20:33:07.492709] Handshake
[2022-02-04 20:33:07.496680] Disable watchdog
* * * If you have a short attached, remove it now * * *
* * * Press Enter to continue * * *
[2022-02-04 20:33:14.584862] Load payload from ../brom-payload/stage1/stage1.bin = 0x27C bytes
Traceback (most recent call last):
File "main.py", line 119, in <module>
main(dev)
File "main.py", line 24, in main
load_payload(dev)
File "/root/kamakiri-mantis-v1.2/kamakiri/modules/load_payload.py", line 69, in load_payload
udev = usb.core.find(idVendor=0x0e8d, idProduct=0x3)
File "/usr/lib/python3.7/site-packages/usb/core.py", line 1253, in find
import usb.backend.libusb1 as libusb1
File "/usr/lib/python3.7/site-packages/usb/backend/libusb1.py", line 39, in <module>
import usb.libloader
File "/usr/lib/python3.7/site-packages/usb/libloader.py", line 32, in <module>
import ctypes.util
File "/usr/lib/python3.7/ctypes/util.py", line 2, in <module>
import shutil
File "/usr/lib/python3.7/shutil.py", line 22, in <module>
import bz2
File "<frozen importlib._bootstrap>", line 983, in _find_and_load
File "<frozen importlib._bootstrap>", line 967, in _find_and_load_unlocked
File "<frozen importlib._bootstrap>", line 677, in _load_unlocked
File "<frozen importlib._bootstrap_external>", line 724, in exec_module
File "<frozen importlib._bootstrap_external>", line 859, in get_code
File "<frozen importlib._bootstrap_external>", line 917, in get_data
OSError: [Errno 5] Input/output error
[[email protected] ~/kamakiri-mantis-v1.2/kamakiri]#

Categories

Resources