[Release][Linux] ModeDetect USBID Detector

Search This thread

AdamOutler

Retired Senior Recognized Developer
Feb 18, 2011
5,224
9,809
Miami, Fl̨̞̲̟̦̀̈̃͛҃҅͟orida
Introduction:
Sometimes a device's screen can be deceiving. black-screen, white-screen, -Phone--/!\--PC. All of these can be a download mode. Sometimes a black screen brick can actually be in a rare S5PC110 development mode where you can use UnBrickable Mod without a hardware modification. ModeDetect for Linux. It will work on any Linux based OS with Java installed.

instructions:

  1. Install Linux on your computer. Install Ubuntu if you don't have Linux.
  2. Ensure you have the latest version of Java.
  3. Download and run the detector here: http://code.google.com/p/hummingbird-hibl/downloads/list.

Simply remove the battery, plug in USB and insert the battery
Try again while holding Vol+ and Vol-
Try using a 301Kohm Jig in the USB slot with the battery inserted then plug in the USB cable.

Results:
All you need to do is run it, and plug in your questionable device. If it shows anything besides the image below, then you're not bricked.
1zcmypi.jpg

If it will only show the image above, then you can apply UnBrickable Mod, or JTAG to your device to recover it.


If it shows this, regardless of what's on your screen, you're in download mode:
2qnurzn.png


If it shows this, regardless of what's on your screen, you can use UnBrickable Mod to recover it.
t9waci.jpg



Currently the supported modes are:
S5PC110 (UnBrickable Mod)
Download Mode
Samsung Kies mode
Media Player mode
Mass Storage device
ADB debug mode
Samsung GMO Modem
Fastboot mode


Conclusion:
I hope this helps someone. Mode Detector is a simple app which looks at the lsusb device IDs and gives a nice GUI front-end for interpenetration of the results. This app should be the last thing you play with before you decide to open it, or send it in for repair.
 
Last edited:

Smasher816

Senior Member
Jan 16, 2011
405
201
Missouri
plus.google.com
Any ideas?
Code:
$ java -jar UnBrickDetector.jar
Exception in thread "main" java.lang.NoClassDefFoundError: org/jdesktop/application/SingleFrameApplication
	at java.lang.ClassLoader.defineClass1(Native Method)
	at java.lang.ClassLoader.defineClass(ClassLoader.java:634)
	at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:142)
	at java.net.URLClassLoader.defineClass(URLClassLoader.java:277)
	at java.net.URLClassLoader.access$000(URLClassLoader.java:73)
	at java.net.URLClassLoader$1.run(URLClassLoader.java:212)
	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)
Caused by: java.lang.ClassNotFoundException: org.jdesktop.application.SingleFrameApplication
	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)
	... 11 more
Could not find the main class: com.AdamOutler.UnBrickDetector.UnBrickDetectorApp. Program will exit.
 
  • Like
Reactions: alroger and szb314

Pirateghost

Inactive Recognized Developer
Jul 24, 2010
11,698
8,703
androidninjas.com
What VM Program are you using? VirtualBox? Also how well do most of today's games run on a VM Windows?

good luck getting decent performance in a VM for gaming (im not talking about facebook bejeweled, im talking about MW3, Black Ops, BF3, etc

gaming is the only reason i still have a desktop running windows :mad:

i use virtualbox on my windows machine for some vms
i use vmware workstation on my laptop (running ubuntu 10.10 64bit) to run windows 7 pro 64bit vm when i need it. i can do some basic gaming on there, but it would die if i tried to run call of duty.
 
  • Like
Reactions: Kyuta Syuko

AdamOutler

Retired Senior Recognized Developer
Feb 18, 2011
5,224
9,809
Miami, Fl̨̞̲̟̦̀̈̃͛҃҅͟orida
good luck getting decent performance in a VM for gaming (im not talking about facebook bejeweled, im talking about MW3, Black Ops, BF3, etc

gaming is the only reason i still have a desktop running windows :mad:

i use virtualbox on my windows machine for some vms
i use vmware workstation on my laptop (running ubuntu 10.10 64bit) to run windows 7 pro 64bit vm when i need it. i can do some basic gaming on there, but it would die if i tried to run call of duty.

If you have enough memory you will not notice much of a difference. I don't. Install 3d extensions and allocate as many processor cores to it as possible. Enable all the options. Its a slight slowdown but nothing noticeable.

I have a quad core i5 with 12gigs of memory and a nVidia 200 series video card. It works well.
 

Kyuta Syuko

Senior Member
Aug 18, 2009
1,867
660
If you have enough memory you will not notice much of a difference. I don't. Install 3d extensions and allocate as many processor cores to it as possible. Enable all the options. Its a slight slowdown but nothing noticeable.

I have a quad core i5 with 12gigs of memory and a nVidia 200 series video card. It works well.

So I should be okay to run games like Dead Island or Crysis 2 in Ubuntu x64 or any of its variations with a VM Windows 7 Ultimate x64 on my 3.2GHz AMD Phenom II 955 Quad Core CPU w/ 4x G.Skill RipjawsX 4Gb DDR3-1333 @ 9-9-9-24 and msi N460GTX Hawk GeForce GTX 460 w/1Gb 256-bit GDDR5 RAM?
 

Pirateghost

Inactive Recognized Developer
Jul 24, 2010
11,698
8,703
androidninjas.com
If you have enough memory you will not notice much of a difference. I don't. Install 3d extensions and allocate as many processor cores to it as possible. Enable all the options. Its a slight slowdown but nothing noticeable.

I have a quad core i5 with 12gigs of memory and a nVidia 200 series video card. It works well.

i have to disagree. i noticed a huge drop in performance between native and VM.

Core i7 940, 8gb ram, 128gb SSD, 1gb nvidia quadro fx3800. its no slouch.
i also tried it out on my main desktop. horrible performance:
Core i7 920 12gb ram, 3-15k rpm SAS drives in RAID0, 2xati 6970 2gb, water cooled, etc, etc.

you cannot RELIABLY play call of duty/battlefield in VM without huge performance drops. sure, you can load up a game thats about 3 years old and play it no problem, drop your graphics settings down and probably play it ok, but i didnt spend all my money on hardware to to get only 'mediocre' performance.
 

AdamOutler

Retired Senior Recognized Developer
Feb 18, 2011
5,224
9,809
Miami, Fl̨̞̲̟̦̀̈̃͛҃҅͟orida
i have to disagree. i noticed a huge drop in performance between native and VM.

Core i7 940, 8gb ram, 128gb SSD, 1gb nvidia quadro fx3800. its no slouch.
i also tried it out on my main desktop. horrible performance:
Core i7 920 12gb ram, 3-15k rpm SAS drives in RAID0, 2xati 6970 2gb, water cooled, etc, etc.

you cannot RELIABLY play call of duty/battlefield in VM without huge performance drops. sure, you can load up a game thats about 3 years old and play it no problem, drop your graphics settings down and probably play it ok, but i didnt spend all my money on hardware to to get only 'mediocre' performance.
Alright, I guess it depends on the game. Lets try to keep this on-topic.. This is a Linux app and you will need Linux to run it. Dual boot if you love Windows. Did the app work for you?
 
  • Like
Reactions: tltan86

Kyuta Syuko

Senior Member
Aug 18, 2009
1,867
660
Alright, I guess it depends on the game. Lets try to keep this on-topic.. This is a Linux app and you will need Linux to run it. Dual boot if you love Windows. Did the app work for you?

I don't love Windows I'm trying to find a reason to switch, but since I'm a Gamer I'm pretty much forced to stick with Windows (isn't that a Monopoly of some sort?) Anyways back on topic... Great work Adam I'm sure this app will come in handy for me in the future should the need ever arise :D

*edit* Decided to mess around with it and I've got to say you've done some nice work. Simple and easy to use with no room to wonder if it was run in the correct order or need to rerun it or click some button to recheck.
 
Last edited:

Top Liked Posts

  • There are no posts matching your filters.
  • 31
    Introduction:
    Sometimes a device's screen can be deceiving. black-screen, white-screen, -Phone--/!\--PC. All of these can be a download mode. Sometimes a black screen brick can actually be in a rare S5PC110 development mode where you can use UnBrickable Mod without a hardware modification. ModeDetect for Linux. It will work on any Linux based OS with Java installed.

    instructions:

    1. Install Linux on your computer. Install Ubuntu if you don't have Linux.
    2. Ensure you have the latest version of Java.
    3. Download and run the detector here: http://code.google.com/p/hummingbird-hibl/downloads/list.

    Simply remove the battery, plug in USB and insert the battery
    Try again while holding Vol+ and Vol-
    Try using a 301Kohm Jig in the USB slot with the battery inserted then plug in the USB cable.

    Results:
    All you need to do is run it, and plug in your questionable device. If it shows anything besides the image below, then you're not bricked.
    1zcmypi.jpg

    If it will only show the image above, then you can apply UnBrickable Mod, or JTAG to your device to recover it.


    If it shows this, regardless of what's on your screen, you're in download mode:
    2qnurzn.png


    If it shows this, regardless of what's on your screen, you can use UnBrickable Mod to recover it.
    t9waci.jpg



    Currently the supported modes are:
    S5PC110 (UnBrickable Mod)
    Download Mode
    Samsung Kies mode
    Media Player mode
    Mass Storage device
    ADB debug mode
    Samsung GMO Modem
    Fastboot mode


    Conclusion:
    I hope this helps someone. Mode Detector is a simple app which looks at the lsusb device IDs and gives a nice GUI front-end for interpenetration of the results. This app should be the last thing you play with before you decide to open it, or send it in for repair.
    2
    Any ideas?
    Code:
    $ java -jar UnBrickDetector.jar
    Exception in thread "main" java.lang.NoClassDefFoundError: org/jdesktop/application/SingleFrameApplication
    	at java.lang.ClassLoader.defineClass1(Native Method)
    	at java.lang.ClassLoader.defineClass(ClassLoader.java:634)
    	at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:142)
    	at java.net.URLClassLoader.defineClass(URLClassLoader.java:277)
    	at java.net.URLClassLoader.access$000(URLClassLoader.java:73)
    	at java.net.URLClassLoader$1.run(URLClassLoader.java:212)
    	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)
    Caused by: java.lang.ClassNotFoundException: org.jdesktop.application.SingleFrameApplication
    	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)
    	... 11 more
    Could not find the main class: com.AdamOutler.UnBrickDetector.UnBrickDetectorApp. Program will exit.
    2
    Ya the new Mode-Detector.jar worked fine.
    Its just the usb + vm, not so much :p

    Linux is the best primary OS. Everything works with Linux, at least to the extent that it can be passed to a virtual machine without problems
    2
    This is not anywhere as nice as Adam's app, but desperate Windows users might like it.
    It's the old UsbView.exe from Microsoft, built and archived on FTDI's website.
    You can get some info on what is connected to the USB port.
    http://www.ftdichip.com/Support/Utilities/usbview.zip
    2
    good luck getting decent performance in a VM for gaming (im not talking about facebook bejeweled, im talking about MW3, Black Ops, BF3, etc

    gaming is the only reason i still have a desktop running windows :mad:

    i use virtualbox on my windows machine for some vms
    i use vmware workstation on my laptop (running ubuntu 10.10 64bit) to run windows 7 pro 64bit vm when i need it. i can do some basic gaming on there, but it would die if i tried to run call of duty.

    If you have enough memory you will not notice much of a difference. I don't. Install 3d extensions and allocate as many processor cores to it as possible. Enable all the options. Its a slight slowdown but nothing noticeable.

    I have a quad core i5 with 12gigs of memory and a nVidia 200 series video card. It works well.
Our Apps
Get our official app!
The best way to access XDA on your phone
Nav Gestures
Add swipe gestures to any Android
One Handed Mode
Eases uses one hand with your phone