Ahhh that's a real shame
can try but not this week, need the janury firmware to make tests,
Got it, will test it ASAP and come back to you with an answer !Here is a link containing the January Firmware that I uploaded to my Google Drive. https://drive.google.com/file/d/1b2sIIJBii5Cf8T936XtPYyXziBFIEVwz/view?usp=share_link
Would be awesome if you can get it to work. Thank you.
Got it, will test it ASAP and come back to you with an answer !
check this one please
No, really didn't check for diffs, only check if unpack / repack works, please advice if you flash with new firmware, if flash fails due to signature please advice and I'll update the signature procedure (Maybe Teyes has its own signature method ?)Wow, awesome that was super fast. Was expecting it next week at some point. The person doing this for me is out of town til Friday so will give this a try on Friday and report back.
Out of curiosity, did you discover what’s different in this January firmware compared to the already working October firmware that was throwing them errors on your tools?
Thank you![]()
No, really didn't check for diffs, only check if unpack / repack works, please advice if you flash with new firmware, if flash fails due to signature please advice and I'll update the signature procedure (Maybe Teyes has its own signature method ?)
Were you able to get it to work? I am wanting to use this workbench to install the @seb21 modded com.syu.ms firmware on the CC3 I just got so that I can remap my steering wheel buttons. Let me know how you were able to get it to work.Sure, I will let you know on Friday once I can get it testedThank you.
Not tried yet, will try on FridayWere you able to get it to work? I am wanting to use this workbench to install the @seb21 modded com.syu.ms firmware on the CC3 I just got so that I can remap my steering wheel buttons. Let me know how you were able to get it to work.
Hey @mariodantasNo, really didn't check for diffs, only check if unpack / repack works, please advice if you flash with new firmware, if flash fails due to signature please advice and I'll update the signature procedure (Maybe Teyes has its own signature method ?)
tools/jdk64/bin/java -jar tools/SignApkv2.jar -w -v tools/testkey.x509.pem tools/testkey.pk8 $TMPFOLDER/${FIRMWAREZIPFILENAME}_unsigned $TMPFOLDER/$FIRMWAREZIPFILENAME
./java: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.34' not found (required by ./java)
Exception in thread "main" java.lang.NoClassDefFoundError: sun/misc/BASE64Encoder
The downloadable version of SignApkv2.jar is for java 8.Hey @mar
Hey @mariodantas
Trying this out, but it looks like there's a java version now included in the tools which doesn't work on my system. I have a different set of system libraries.
Can you let me know what version of the jdk is required for this to run to I can install that version on my system? Specifically looking at the line in repack.sh:
Code:tools/jdk64/bin/java -jar tools/SignApkv2.jar -w -v tools/testkey.x509.pem tools/testkey.pk8 $TMPFOLDER/${FIRMWAREZIPFILENAME}_unsigned $TMPFOLDER/$FIRMWAREZIPFILENAME
If I use your bundled version of java, I get:
Code:./java: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.34' not found (required by ./java)
If I remove the path from that line and use my own installed verison of java, I get:
Code:Exception in thread "main" java.lang.NoClassDefFoundError: sun/misc/BASE64Encoder
Thanks!
This is helpful. I think I can use this to figure out the path forward.The downloadable version of SignApkv2.jar is for java 8.
What is the glibc version on your system and what kind of system are you running?
However, if I now download the FYT Firmware workbench there is no "tools/jdk64/bin/java" anymore.
Depending on your version of java you can compile it yourself but you need to do a number of steps to compile it on java versions of 9 and higher.
The java8 version uses the sun.security modules and these should not be used anymore.
Actually it is terribly complicated. I compiled it once for java 11 but I lost both my notes and the jar.
Of course you can also install one of the Android SDKs and use apksigner from the Android SDK.
Ok got this working with the January firmware by installing Java 8 on the box and pointing repack.sh to that version. @ahmed123 - sent you the firmware so you can try to install it.
Thank you. I now see it. I am used to finding updates in the first post, not by seaching through the other posts.This is helpful. I think I can use this to figure out the path forward.
The updated version has the jdk bundled (in this post):![]()
FYT Firmware Workbench 2.0
# FYT-Firmware-Workbench PLEASE DO NOT USE WITH T'EYES CC3 FIRMWARE Scripts intended to mount the FYT UIS7862 firmware, make modifications and reassemble it back They can retrieve the firmware from specified location and after modification...forum.xda-developers.com
@surfer63 the post 26 uses the older sign methos that's supported by t'eyes, not the "2.0 introduces a different ZIP signature method" this last one is in my post #1, the FW-TEYES uses the old signature method., I'll clearify this in the ThreadThank you. I now see it. I am used to finding updates in the first post, not by seaching through the other posts.
@mariodantas Can you please change the changelog description "2.0 Introduces a different ZIP signature method" in post #1 link to that post #26?![]()
Ok got this working with the January firmware by installing Java 8 on the box and pointing repack.sh to that version. @ahmed123 - sent you the firmware so you can try to install it.
thx @surfer63
edit unpack.sh :
python3 ./tools/sdat2img.py $unzippedPath$i.transfer.list $unzippedPath$i.new.dat $unzippedPath$i.img > /dev/null 2>&1
edit repack.sh :
python3 ./tools/img2sdat.py $unzippedPath$i.new -v 4 -o $unzippedPath -p $i #> /dev/null 2>&1
echo "$(tput setaf 6)Converting $i.new.dat file into $i.img file$(tput setaf 7)"
if [ ! -e /usr/bin/python3 ]
then
# No python3 binary found. We have python2
./tools/sdat2img.py $unzippedPath$i.transfer.list $unzippedPath$i.new.dat $unzippedPath$i.img > /dev/null 2>&1
else
# Yes. python3 exists. Use it
python3 ./tools/sdat2img.py $unzippedPath$i.transfer.list $unzippedPath$i.new.dat $unzippedPath$i.img > /dev/null 2>&1
fi
rm $unzippedPath$i.new.dat
thx @surfer63
Yes, rooting is part of the kernel and the boot image inside that kernel.Is it possible to install a pre rooted firmware for the CC3 if someone has already patched the firmware?
i will receive the CC3 in maybe two weeks and would love to have root. But i have no Linux or Linux skills so far.
Regards
thx @surfer63
edit unpack.sh :
python3 ./tools/sdat2img.py $unzippedPath$i.transfer.list $unzippedPath$i.new.dat $unzippedPath$i.img > /dev/null 2>&1
edit repack.sh :
python3 ./tools/img2sdat.py $unzippedPath$i.new -v 4 -o $unzippedPath -p $i #> /dev/null 2>&1
echo "$(tput setaf 6)Converting $i.new.dat file into $i.img file$(tput setaf 7)"
if [ ! -e /usr/bin/python3 ]
then
# No python3 binary found. We have python2
./tools/sdat2img.py $unzippedPath$i.transfer.list $unzippedPath$i.new.dat $unzippedPath$i.img > /dev/null 2>&1
else
# Yes. python3 exists. Use it
python3 ./tools/sdat2img.py $unzippedPath$i.transfer.list $unzippedPath$i.new.dat $unzippedPath$i.img > /dev/null 2>&1
fi
rm $unzippedPath$i.new.dat
thx @surfer63