Hi all,
I am trying to use the Flashtool (had a link to the homepage here but forum doesn't allow it) to flash a newly bought Sony Xperia S to Android 4.
I am stuck on a java error that I can not see anyone else having. I have tried on an OpenSuse 12.1 system (running java-1_6_0-openjdk-1.6.0.0_b24.1.11.3-9.1.x86_64) and an Ubuntu system running java 7 (liveCD).
The same error occurs:
Code:
Exception in thread "main" java.lang.NoClassDefFoundError: foxtrot/Job
Caused by: java.lang.ClassNotFoundException: foxtrot.Job
at java.net.URLClassLoader$1.run(URLClassLoader.java:217)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:205)
at java.lang.ClassLoader.loadClass(ClassLoader.java:321)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:294)
at java.lang.ClassLoader.loadClass(ClassLoader.java:266)
Could not find the main class: gui.FlasherGUI. Program will exit.
I have found the foxtrot.jar library but putting that in the same path as the Flashtool or the JAVA_HOME/lib did not help at all.
It doesn't seem to be a needed step anyway.
So I am unsure what I am missing in regards to this foxtrot library.
I can't see anything on the wiki over on github.
Any advice appreciated.
Thanks
DaveQB1 said:
Hi all,
I am trying to use the Flashtool (had a link to the homepage here but forum doesn't allow it) to flash a newly bought Sony Xperia S to Android 4.
I am stuck on a java error that I can not see anyone else having. I have tried on an OpenSuse 12.1 system (running java-1_6_0-openjdk-1.6.0.0_b24.1.11.3-9.1.x86_64) and an Ubuntu system running java 7 (liveCD).
The same error occurs:
Code:
Exception in thread "main" java.lang.NoClassDefFoundError: foxtrot/Job
Caused by: java.lang.ClassNotFoundException: foxtrot.Job
at java.net.URLClassLoader$1.run(URLClassLoader.java:217)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:205)
at java.lang.ClassLoader.loadClass(ClassLoader.java:321)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:294)
at java.lang.ClassLoader.loadClass(ClassLoader.java:266)
Could not find the main class: gui.FlasherGUI. Program will exit.
I have found the foxtrot.jar library but putting that in the same path as the Flashtool or the JAVA_HOME/lib did not help at all.
It doesn't seem to be a needed step anyway.
So I am unsure what I am missing in regards to this foxtrot library.
I can't see anything on the wiki over on github.
Any advice appreciated.
Thanks
Click to expand...
Click to collapse
Ok I ran an strace on this and found this line
Code:
[pid 23778] stat("/home/david/Android/SonyXperia/FlashTool/x10flasher_lib/foxtrot-core-4.0.jar", 0x7f1e22081ec0) = -1 ENOENT (No such file or directory)
I found "foxtrot-core-4.0.jar" and downloaded it.
Now I am getting a different error:
Code:
Exception in thread "main" java.lang.NoClassDefFoundError: se/marell/libusb/UsbSystem
at gui.FlasherGUI.main(FlasherGUI.java:173)
Caused by: java.lang.ClassNotFoundException: se.marell.libusb.UsbSystem
at java.net.URLClassLoader$1.run(URLClassLoader.java:217)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:205)
at java.lang.ClassLoader.loadClass(ClassLoader.java:321)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:294)
at java.lang.ClassLoader.loadClass(ClassLoader.java:266)
... 1 more
This looks libusb related though, so I will pursue that.
DaveQB1 said:
Ok I ran an strace on this and found this line
Code:
[pid 23778] stat("/home/david/Android/SonyXperia/FlashTool/x10flasher_lib/foxtrot-core-4.0.jar", 0x7f1e22081ec0) = -1 ENOENT (No such file or directory)
I found "foxtrot-core-4.0.jar" and downloaded it.
Now I am getting a different error:
Code:
Exception in thread "main" java.lang.NoClassDefFoundError: se/marell/libusb/UsbSystem
at gui.FlasherGUI.main(FlasherGUI.java:173)
Caused by: java.lang.ClassNotFoundException: se.marell.libusb.UsbSystem
at java.net.URLClassLoader$1.run(URLClassLoader.java:217)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:205)
at java.lang.ClassLoader.loadClass(ClassLoader.java:321)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:294)
at java.lang.ClassLoader.loadClass(ClassLoader.java:266)
... 1 more
This looks libusb related though, so I will pursue that.
Click to expand...
Click to collapse
Ok got back to this and again ran and strace on the FlashTool process and all of it's children. I found this error interesting:
Code:
[pid 28274] stat("/home/david/Android/SonyXperia/FlashTool/se/marell/libusb/UsbSystem.class", 0x7fa78baf2b60) = -1 ENOENT (No such file or directory)
In fact doing an strace on file calls only we get this sub section of calls that might be of interest:
[pid 28512] stat("/usr/lib64/jvm/java-1.6.0-openjdk-1.6.0/jre/lib/flavormap.properties", {st_mode=S_IFREG|0644, st_size=3835, ...}) = 0
[pid 28512] stat("/usr/lib64/jvm/java-1.6.0-openjdk-1.6.0/jre/lib/flavormap.properties", {st_mode=S_IFREG|0644, st_size=3835, ...}) = 0
[pid 28512] open("/usr/lib64/jvm/java-1.6.0-openjdk-1.6.0/jre/lib/flavormap.properties", O_RDONLY) = 21
[pid 28512] stat("/home/david/Android/SonyXperia/FlashTool/se/marell/libusb/UsbSystem.class", 0x7f4e6b663b60) = -1 ENOENT (No such file or directory)
[pid 28512] stat("/home/david/Android/SonyXperia/FlashTool/x10flasher_lib/jna.jar", 0x7f4e6b662a90) = -1 ENOENT (No such file or directory)
[pid 28512] stat("/home/david/Android/SonyXperia/FlashTool/x10flasher_lib/jopt-simple-4.3.jar", 0x7f4e6b662a90) = -1 ENOENT (No such file or directory)
[pid 28512] stat("/home/david/Android/SonyXperia/FlashTool/x10flasher_lib/libusb.jar", 0x7f4e6b662a90) = -1 ENOENT (No such file or directory)
[pid 28512] stat("/home/david/Android/SonyXperia/FlashTool/x10flasher_lib/log4j-1.2.16.jar", 0x7f4e6b662a90) = -1 ENOENT (No such file or directory)
[pid 28512] stat("/home/david/Android/SonyXperia/FlashTool/x10flasher_lib/platform.jar", {st_mode=S_IFREG|0644, st_size=913475, ...}) = 0
[pid 28512] stat("/home/david/Android/SonyXperia/FlashTool/x10flasher_lib/platform.jar", {st_mode=S_IFREG|0644, st_size=913475, ...}) = 0
[pid 28512] open("/home/david/Android/SonyXperia/FlashTool/x10flasher_lib/platform.jar", O_RDONLY) = 27
[pid 28512] stat("/home/david/Android/SonyXperia/FlashTool/x10flasher_lib/rsyntaxtextarea.jar", 0x7f4e6b662a90) = -1 ENOENT (No such file or directory)
[pid 28512] stat("/home/david/Android/SonyXperia/FlashTool/x10flasher_lib/x10flasher-res.jar", 0x7f4e6b662a90) = -1 ENOENT (No such file or directory)
Exception in thread "main" java.lang.NoClassDefFoundError: se/marell/libusb/UsbSystem
at gui.FlasherGUI.main(FlasherGUI.java:173)
Caused by: java.lang.ClassNotFoundException: se.marell.libusb.UsbSystem
at java.net.URLClassLoader$1.run(URLClassLoader.java:217)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:205)
at java.lang.ClassLoader.loadClass(ClassLoader.java:321)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:294)
at java.lang.ClassLoader.loadClass(ClassLoader.java:266)
... 1 more
I feel like my downloaded Flashtool is missing a bunch of extra libraries that x10flasher.jar binary is expecting.
Ok maybe this is what I am having issue with
"Apply the latest update (each update is cumulative)
Updates will not be functionnal if full 0.9.2.0 is not installed"
So I only downloaded 9.3.0 as it said above it:
Full install :
Click to expand...
Click to collapse
Looking at the previous release tabs I only see 9.0.0 as the most previous release version. Hmmmmm
I work in IT, I wouldn't have thought this would be so challenging to me.
DaveQB1 said:
Ok maybe this is what I am having issue with
"Apply the latest update (each update is cumulative)
Updates will not be functionnal if full 0.9.2.0 is not installed"
So I only downloaded 9.3.0 as it said above it:
Looking at the previous release tabs I only see 9.0.0 as the most previous release version. Hmmmmm
I work in IT, I wouldn't have thought this would be so challenging to me.
Click to expand...
Click to collapse
PS the md5sum of my download of 9.3.0 checks out ok.
Ok don't mind me.
Something must have gone wrong in the untarring.
Code:
[email protected]: ~/Android/SonyXperia/FlashTool#
find x10flasher_lib -type f | wc -l
1475
[email protected]: ~/Android/SonyXperia/FlashTool#
find ../FlashTool.orig/x10flasher_lib -type f | wc -l
655
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Elite TWRP Project
For Honor 8 Lite
DONOT COPY MY WORK, Ask for Permissions or Gather it yourself,,,
This ROM is only for Firmwares based on EMUI 5.X only...
Code:
/*
* Your warranty is now void.
*
* We are not responsible for bricked devices, dead SD cards,
* thermonuclear war, or you getting fired because the alarm
* App failed. Please do some research if you have any concerns
* about features included in this ROM before flashing it,
* YOU are choosing to make these modifications, and if you
* point finger at me for messing up your device, i will laugh at you.
*
*/
Elite TWRP 3.2.1-0 for Honor 8 Lite
Additional Features:
*Latest TWRP 3.2.1-0
*Added Support for All Partitions Like Cust, Data, Vendor, Product, System, Version
*Image install Support in Cust, System, Product, Vendor, System & Version
*Backup Facility for all Partitions including, Boot, Cache, Data, Product, Cust, Vendor, System, Version and OEMinfo
*Compatible to install Each and Every ROM including Elite ROMs, AOSP Based ROMs...
*Mount Support for Cust, Data, Product, Vendor, Version & System
*Decryption Support (Thanks to Meticulus)
*Red Color for Stock and Elite ROMs, Blue Color for AOSP Based ROMs....
Installation Instructions:
1.) Download the Elite TWRP from the 2nd Post...
2.) Install Image with other TWRP or go to Fastboot mode and use command, Fastboot flash recovery EliteTWRP_3.2.1-0.img
3.) Reboot Recovery with Pray.... ENJOY
Hit Thanks and Support me if you Like and get help from this thread...Thank you...
Take Permission before sharing links or copying to other Forums....
If something is not working and you need support from me, then upload recovery.log of your problem,,, i wont considered your problem as a real problem without log,,, because others saying this as working!!
Source Codes: https://github.com/HassanMirza01/
XDA:DevDB Information
Elite TWRP Project, Tool/Utility for the Honor 8 Lite
Contributors
HassanMirza01, Meticulus
Source Code: https://github.com/TeamWin
Version Information
Status: Stable
Current Stable Version: 3.2.1-0
Stable Release Date: 2018-01-19
Created 2018-01-10
Last Updated 2018-01-19
Download Links:
2018-01-16 Elite TWRP Project 3.2.1-0 by HassanMirza01
Changelog:
2018-01-19
*Stock ROMs Decryption 100% Fixed, Working & Tested...
*Red Color for Elite/Stock ROMs, and Blue Colored for AOSP Based ROMs...(Thanks to Meticulus)
2018-01-16
*Fixed Stock Decryption (thanks to @paulobrien)
*Changed Resolution to FHD
*Cust Partition removed as storage (it was not necessary)
Press Thanks and donate if you like it
Pra-lx1. Made a backup and a restore. All is perfect (legendRom) ! You are a kind of genius. Thanks (a huge)... Happy New year!
Hi
Does it support f2fs data partition?
Traceur017 said:
Hi
Does it support f2fs data partition?
Click to expand...
Click to collapse
ofcourse,,, infact i setted f2fs as default data filesystem... if u format data, it will automatically make it f2fs nd format it,,, and if u want ext4, just change data filesystem to ext4 nd it will format it to ext4 automatically.....
Backup and restor work fully in this version TWRP? Because other TWRP (prague or greatslon mods) sometimes broke the firmware.
+++
Not, it's doesn't work... Log https://pastebin.com/vpmAy4eG
Download Links:
2018-01-16 Elite TWRP Project 3.2.1-0 by HassanMirza01
Changelog:
2018-01-16
*Fixed Stock Decryption (thanks to @paulobrien)
*Changed Resolution to FHD
*Cust Partition removed as storage (it was not necessary)
Press Thanks and donate if you like it
Download Links:
2018-01-16 Elite TWRP Project 3.2.1-0 by HassanMirza01
Changelog:
2018-01-19
*Stock ROMs Decryption 100% Fixed, Working & Tested...
*Red Color for Elite/Stock ROMs, and Blue Colored for AOSP Based ROMs...(Thanks to Meticulus)
Press Thanks and donate if you like it
Hey HassanMirza01.
I flashed your Elite TWRP but it can't decryption my data partition, and it also can't format the data partition.
What's wrong with that?
sky0hjh said:
Hey HassanMirza01.
I flashed your Elite TWRP but it can't decryption my data partition, and it also can't format the data partition.
What's wrong with that?
Click to expand...
Click to collapse
did u flashed latest 2018-01-19 twrp ?? and where is ur log ?? dont post until u get log
HI. i installed your elite rom v7.6 with the patch of honor 8 lite and it gave me android logo and then reboot to erecovery i think the issue in elite twrp
i cant put the log because this the first post to me
Error opening: '/data/bootchart' (Permission denied)
Error opening: '/data/misc/bluedroid' (Permission denied)
Error opening: '/data/misc/bluetooth' (Permission denied)
Error opening: '/data/misc/keychain' (Permission denied)
Error opening: '/data/misc/net' (Permission denied)
Error opening: '/data/misc/radio' (Permission denied)
Error opening: '/data/misc/sms' (Permission denied)
Error opening: '/data/misc/zoneinfo' (Permission denied)
Error opening: '/data/misc/vpn' (Permission denied)
Error opening: '/data/misc/shared_relro' (Permission denied)
Error opening: '/data/misc/systemkeys' (Permission denied)
Error opening: '/data/misc/ethernet' (Permission denied)
Error opening: '/data/misc/dhcp' (Permission denied)
Error opening: '/data/misc/user' (Permission denied)
Error opening: '/data/misc/perfprofd' (Permission denied)
Error opening: '/data/misc/media' (Permission denied)
Error opening: '/data/misc/audioserver' (Permission denied)
Error opening: '/data/misc/cameraserver' (Permission denied)
Error opening: '/data/misc/vold' (Permission denied)
Error opening: '/data/misc/boottrace' (Permission denied)
Error opening: '/data/misc/update_engine' (Permission denied)
Error opening: '/data/misc/trace' (Permission denied)
Error opening: '/data/misc/radvd' (Permission denied)
Error opening: '/data/misc/dhcp6s' (Permission denied)
Error opening: '/data/misc/profiles' (Permission denied)
Error opening: '/data/misc/profman' (Permission denied)
Error opening: '/data/misc/adb' (Permission denied)
Error opening: '/data/misc/hsm' (Permission denied)
Error opening: '/data/misc/hwpush' (Permission denied)
Error opening: '/data/misc/oma' (Permission denied)
Error opening: '/data/misc/bootstat' (Permission denied)
Error opening: '/data/local' (Permission denied)
Error opening: '/data/data' (Permission denied)
Error opening: '/data/app-private' (Permission denied)
Error opening: '/data/app-ephemeral' (Permission denied)
Error opening: '/data/app-asec' (Permission denied)
Error opening: '/data/app-lib' (Permission denied)
Error opening: '/data/app' (Permission denied)
Error opening: '/data/tombstones' (Permission denied)
Error opening: '/data/dalvik-cache' (Permission denied)
Error opening: '/data/ota' (Permission denied)
Error opening: '/data/resource-cache' (Permission denied)
Error opening: '/data/drm' (Permission denied)
Error opening: '/data/mediadrm' (Permission denied)
Error opening: '/data/anr' (Permission denied)
Error opening: '/data/security' (Permission denied)
Error opening: '/data/backup' (Permission denied)
Error opening: '/data/ss' (Permission denied)
Error opening: '/data/system' (Permission denied)
Error opening: '/data/system_de/0' (Permission denied)
Error opening: '/data/system_ce/0' (Permission denied)
Error opening: '/data/misc_de/0' (Permission denied)
Error opening: '/data/misc_ce/0' (Permission denied)
Error opening: '/data/user_de/0' (Permission denied)
Error opening: '/data/adb' (Permission denied)
Error opening: '/data/nfc' (Permission denied)
Error opening: '/data/share' (Permission denied)
Error opening: '/data/camera' (Permission denied)
Error opening: '/data/img' (Permission denied)
Error opening: '/data/pppd_via' (Permission denied)
Error opening: '/data/apkpush' (Permission denied)
Error opening: '/data/samba' (Permission denied)
Abdala2307 said:
HI. i installed your elite rom v7.6 with the patch of honor 8 lite and it gave me android logo and then reboot to erecovery i think the issue in elite twrp
i cant put the log because this the first post to me
Error opening: '/data/bootchart' (Permission denied)
Error opening: '/data/misc/bluedroid' (Permission denied)
Error opening: '/data/misc/bluetooth' (Permission denied)
Error opening: '/data/misc/keychain' (Permission denied)
Error opening: '/data/misc/net' (Permission denied)
Error opening: '/data/misc/radio' (Permission denied)
Error opening: '/data/misc/sms' (Permission denied)
Error opening: '/data/misc/zoneinfo' (Permission denied)
Error opening: '/data/misc/vpn' (Permission denied)
Error opening: '/data/misc/shared_relro' (Permission denied)
Error opening: '/data/misc/systemkeys' (Permission denied)
Error opening: '/data/misc/ethernet' (Permission denied)
Error opening: '/data/misc/dhcp' (Permission denied)
Error opening: '/data/misc/user' (Permission denied)
Error opening: '/data/misc/perfprofd' (Permission denied)
Error opening: '/data/misc/media' (Permission denied)
Error opening: '/data/misc/audioserver' (Permission denied)
Error opening: '/data/misc/cameraserver' (Permission denied)
Error opening: '/data/misc/vold' (Permission denied)
Error opening: '/data/misc/boottrace' (Permission denied)
Error opening: '/data/misc/update_engine' (Permission denied)
Error opening: '/data/misc/trace' (Permission denied)
Error opening: '/data/misc/radvd' (Permission denied)
Error opening: '/data/misc/dhcp6s' (Permission denied)
Error opening: '/data/misc/profiles' (Permission denied)
Error opening: '/data/misc/profman' (Permission denied)
Error opening: '/data/misc/adb' (Permission denied)
Error opening: '/data/misc/hsm' (Permission denied)
Error opening: '/data/misc/hwpush' (Permission denied)
Error opening: '/data/misc/oma' (Permission denied)
Error opening: '/data/misc/bootstat' (Permission denied)
Error opening: '/data/local' (Permission denied)
Error opening: '/data/data' (Permission denied)
Error opening: '/data/app-private' (Permission denied)
Error opening: '/data/app-ephemeral' (Permission denied)
Error opening: '/data/app-asec' (Permission denied)
Error opening: '/data/app-lib' (Permission denied)
Error opening: '/data/app' (Permission denied)
Error opening: '/data/tombstones' (Permission denied)
Error opening: '/data/dalvik-cache' (Permission denied)
Error opening: '/data/ota' (Permission denied)
Error opening: '/data/resource-cache' (Permission denied)
Error opening: '/data/drm' (Permission denied)
Error opening: '/data/mediadrm' (Permission denied)
Error opening: '/data/anr' (Permission denied)
Error opening: '/data/security' (Permission denied)
Error opening: '/data/backup' (Permission denied)
Error opening: '/data/ss' (Permission denied)
Error opening: '/data/system' (Permission denied)
Error opening: '/data/system_de/0' (Permission denied)
Error opening: '/data/system_ce/0' (Permission denied)
Error opening: '/data/misc_de/0' (Permission denied)
Error opening: '/data/misc_ce/0' (Permission denied)
Error opening: '/data/user_de/0' (Permission denied)
Error opening: '/data/adb' (Permission denied)
Error opening: '/data/nfc' (Permission denied)
Error opening: '/data/share' (Permission denied)
Error opening: '/data/camera' (Permission denied)
Error opening: '/data/img' (Permission denied)
Error opening: '/data/pppd_via' (Permission denied)
Error opening: '/data/apkpush' (Permission denied)
Error opening: '/data/samba' (Permission denied)
Click to expand...
Click to collapse
Sorry for the interrupt but its common sense, if that was the issue, no one ever had working rom on honor 8 lite nd i had bunch of issues requests here... Format data with twrp nd then install rom... Send me recovery.log after installation...
HassanMirza01 said:
Sorry for the interrupt but its common sense, if that was the issue, no one ever had working rom on honor 8 lite nd i had bunch of issues requests here... Format data with twrp nd then install rom... Send me recovery.log after installation...
Click to expand...
Click to collapse
I appreciate your work but I found the solution by flashing twrp-3.1.1-0-berlin and format every thing then flashed elite twrp and flashed the rom it worked fine thank you for the replay:good:
hy hasan, your twrp is great, could you build it for my brothers huawei nova 2i/huawei mate 10 lite? thanks before
AndriGantengBro said:
hy hasan, your twrp is great, could you build it for my brothers huawei nova 2i/huawei mate 10 lite? thanks before
Click to expand...
Click to collapse
i dont own that device... otherwise building it is not an issue for me... i have all codes too..
Hi sir,
I have PRA-AL00 i have installed this twrp and after that do not go in System. After reboot always in TWRP. Have to flash firmware or problem with TWRP. Need help.
Thanks
Br, Raja
raja16sep said:
Hi sir,
I have PRA-AL00 i have installed this twrp and after that do not go in System. After reboot always in TWRP. Have to flash firmware or problem with TWRP. Need help.
Thanks
Br, Raja
Click to expand...
Click to collapse
use the one made for honor 8 lite or p8lite 2017 by haky86... it may work...
Link Please.
HassanMirza01 said:
use the one made for honor 8 lite or p8lite 2017 by haky86... it may work...
Click to expand...
Click to collapse
Hi sir,
Thanks for help.Please can u give me some link for that.....Although i have flashed it and its now ok. But for more tries Please link for that.
Thanks
Br, Raja
raja16sep said:
Hi sir,
Thanks for help.Please can u give me some link for that.....Although i have flashed it and its now ok. But for more tries Please link for that.
Thanks
Br, Raja
Click to expand...
Click to collapse
search on xda please.... its by haky86...
I used your twrp in Honor 8 lite PRA- AL00X in android oreo EMUI 8
In the twrp recovery inside the internal storage all the folders names are encrypted and it don't show any IMG or zip files.
Any solution??