[Q] USB jig

Search This thread

pokey9000

Senior Member
Apr 17, 2007
767
396
Austin
Do you recall how many ohms your jig is and what wattage? I built mine with 301 ohms @1/4 Watts. Would unbrick Captivate to DL mode, but not soft-bricked Infuse. It would put working Infuse into DL mode though?????

It should be 301 kiloohms.. I can verify that this works.

FWIW, the Factory UART mode at 619k works as well. Here's a log (some bits redacted). The SBL command prompt is there as well.

Code:
Welcome to Samsung Primitive Bootloader.
build time: Aug 27 2011 04:53:51
current time: 7e/f/7 3f:7b:15

[set_mmc_ocr] Sector Mode
[hsmmc_init] MMC card is detected
Product Name : VYL00M
<display_card_info:1009> ext_csd
<display_card_info:1011>card_size: 15028
 Total Card Size: 15029 MByte

mmc_init: card initialization completed!
pbl found bootable sbl in #49152.
jump to sbl 0x4d400000.

Secondary Bootloader v3.1 version.
Copyright (C) 2011 System S/W Group. Samsung Electronics Co., Ltd.
Board: C1 REV 02 / Aug 27 2011 04:53:57
current time: 7e/f/7 3f:7b:15

booting code=0xc0d080c0
[set_mmc_ocr] Sector Mode
[hsmmc_init] MMC card is detected
Product Name : VYL00M
CID:xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
<display_card_info:1040> ext_csd
<display_card_info:1042>card_size: 15028
 Total Card Size: 15029 MByte

 Total Sector Count: 30777344

MoviNand Initialization Complete!
===== PARTITION INFORMATION =====
 ID         : GANG (0x0)
 DEVICE     : MMC
 FIRST UNIT : 0
 NO. UNITS  : 0
=================================
 ID         : BOOT (0x1)
 DEVICE     : MMC
 FIRST UNIT : 0
 NO. UNITS  : 0
=================================
 ID         : EFS (0x4)
 DEVICE     : MMC
 FIRST UNIT : 8192
 NO. UNITS  : 40960
=================================
 ID         : SBL1 (0x2)
 DEVICE     : MMC
 FIRST UNIT : 49152
 NO. UNITS  : 2560
=================================
 ID         : SBL2 (0x3)
 DEVICE     : MMC
 FIRST UNIT : 53248
 NO. UNITS  : 2560
=================================
 ID         : PARAM (0x5)
 DEVICE     : MMC
 FIRST UNIT : 57344
 NO. UNITS  : 16384
=================================
 ID         : KERNEL (0x6)
 DEVICE     : MMC
 FIRST UNIT : 73728
 NO. UNITS  : 16384
=================================
 ID         : RECOVERY (0x7)
 DEVICE     : MMC
 FIRST UNIT : 90112
 NO. UNITS  : 16384
=================================
 ID         : CACHE (0x8)
 DEVICE     : MMC
 FIRST UNIT : 106496
 NO. UNITS  : 512000
=================================
 ID         : MODEM (0x9)
 DEVICE     : MMC
 FIRST UNIT : 618496
 NO. UNITS  : 32768
=================================
 ID         : FACTORYFS (0xa)
 DEVICE     : MMC
 FIRST UNIT : 651264
 NO. UNITS  : 1048576
=================================
 ID         : DATAFS (0xb)
 DEVICE     : MMC
 FIRST UNIT : 1699840
 NO. UNITS  : 4194304
=================================
 ID         : UMS (0xc)
 DEVICE     : MMC
 FIRST UNIT : 5894144
 NO. UNITS  : 23826432
=================================
 ID         : HIDDEN (0xd)
 DEVICE     : MMC
 FIRST UNIT : 29720576
 NO. UNITS  : 1048576
=================================
loke_init: j4fs_open..success
<start_checksum:1033>CHECKSUM_HEADER_SECTOR :42
<start_checksum:1035>offset:42, size:1024
Not Need Movinand Checksum
load_lfs_parameters valid magic code and version.
switch_sel_str='1'
load_debug_level: read debug level successfully(0x574f4c44)...LOW
init_ddi_data: usable ddi data.
fuelgauge_implementaion - start
fuelgauge_implementaion - end
fuel_gauge_get_version: [1]=0, [0]=92
init_fuel_gauge: vcell = 3723 mV, vfocv = 3781 mV, soc = 36
microusb_get_attached_device: STATUS1:0x3d, 2:0x0
microusb_get_attached_device: STATUS1:0x3d, 2:0x0
3054 = (370300 - 363902)*47744/100000
[8] 376967 = (3054 * 100000) / 57200 + 371628
init_microusb_ic: MUIC: CONTROL1:0x1b
init_microusb_ic: MUIC: CONTROL1:0x1b
init_microusb_ic: MUIC: CONTROL2:0x3a
init_microusb_ic: MUIC: CONTROL2:0x3a
reading nps status file is successfully!.
nps status=0x504d4f43
PMIC_IRQSRC  = 0x0
PMIC_IRQ1    = 0x3
PMIC_IRQ2    = 0x1b
PMIC_IRQ3    = 0x0
PMIC_IRQ4    = 0x11
PMIC_STATUS1 = 0x0
PMIC_STATUS2 = 0x17
PMIC_STATUS3 = 0x0
PMIC_STATUS4 = 0x0
bootloader base address=0x4d400000
LPDDR0 1st. cached=0x40000000, size=0xe400000
LPDDR0 non-cached=0x4e400000, size=0xa00000
LPDDR0 2nd. cached=0x4ee00000, size=0x1200000
RST_STAT = 0x10000
get_hwrev() = 14
board_process_platform: MAGIC c0d080c0 at 40000000!
microusb_get_attached_device: STATUS1:0x3d, 2:0x0
microusb_get_attached_device: STATUS1:0x3d, 2:0x0
microusb_get_attached_device: STATUS1:0x3d, 2:0x0
microusb_get_attached_device: STATUS1:0x3d, 2:0x0
hw_pm_status: jig_status = 1, chg_status = 0
DISPLAY_PATH_SEL[MDNIE 0x1]is on
div:2, FB_SOURCE_CLOCK:667000000, FB_PIXEL_CLOCK:25067520
MDNIE setting Init start!!
vsync interrupt is off
video interrupt is off
[fb0] turn on
MDNIE setting Init end!!

Autoboot (0 seconds) in progress, press any key to stop
boot_kernel: debug level low!
checkbit: find RECOVERY
checkbit (0)
......ATAG_CORE: 5 54410001 0 0 0
MEMCONFIG: 20e01323 20e01323
ATAG_MEM: 4 54410002 10000000 40000000
ATAG_MEM: 4 54410002 10000000 50000000
ATAG_MEM: 4 54410002 10000000 60000000
ATAG_MEM: 4 54410002 10000000 70000000
ATAG_SERIAL: 4 xxxxxxxxxxxxxxxxxxxxxxxxxxxx
ATAG_REVISION: 3 54410007 e
ATAG_CMDLINE: 37 54410009 'loglevel=4 console=ram sec_debug.enable=0 sec_debug.enable_user=0 c1_watchdog.sec_pet=5 sec_log=0x100000@0x5ea00000 s3cfb.bootloaderfb=0x5ec00000 ld9040.get_lcdtype=0x2 consoleblank=0 lpj=3981312 vmalloc=144m'
ATAG_NONE: 0 0

Starting kernel at 0x40008000...
 

dayv

Senior Member
Sep 7, 2010
685
135
I have not received the one I ordered yet. Should come within the next week, will definitely post results when it comes.

From what others are posting, I'm pretty sure it will work.

Sent from my SAMSUNG-SGH-I777 using XDA App
 

torred

Senior Member
Dec 17, 2007
187
40
Got one on Ebay and worked perfect.
Listing was for Galaxy II specific.
 

kinubic

Senior Member
Apr 9, 2008
396
18
wasnt there still a 2ndary counter after the 1st one that shows how many times uve flashed the 1st counter lol. i read this somewhere
 

wingman_214

Senior Member
Jul 9, 2007
158
9
39
Laredo,TX
How are you guys getting the counter to reset?

I bought the jig from mobile tech videos when i had my cappy. My sgs2 wont recognize the jig when turned on but will boot into recovery mode if insert the jig then power on. When I insert the jig in download mode the yellow triangle still shows up.
 
Last edited:

dayv

Senior Member
Sep 7, 2010
685
135
If I'm not mistaken you need to power down your phone, then insert the jig, the push the power button.

Sent from my SAMSUNG-SGH-I777 using XDA App
 

dayv

Senior Member
Sep 7, 2010
685
135
You need to check with the kernel dev to be sure, but usually kernels labeled stock will not work with cm7 or miui roms.

Sent from my SAMSUNG-SGH-I777 using XDA App
 

dayv

Senior Member
Sep 7, 2010
685
135
Does anyone know what kernel to use with cm7.1 that would replicate same functionality as the jig?

Sent from my SGH-I777 using XDA App

Here is how I would do this, no promise that this would work, just guessing.

1. Make sure and have all apps backed up.
2. Have the cwm version of cm7 that I want on my sdcard and ready.
3. Flash this kernel via heimdall http://xdaforums.com/showthread.php?t=1286432 probably get a boot loop, but should get stock boot splash screen with no triangle warning.
4. Pull battery and boot into recovery (hopefully cwm recovery stuck through the flash above).
5. Flash the cm7 from cwm recovery that is on the sdcard

If that works should give you cm7 with stock boot screen with no warning triangle.



Sent from my SAMSUNG-SGH-I777 using XDA App
 

dayv

Senior Member
Sep 7, 2010
685
135
That doesn't sound promising. I don't want to refladh cm. It might be easier to buy the jig.

Sent from my SGH-I777 using XDA App

yea, to do it without the jig you have to basically swap kernels somehow flashing to stock kernel via heimdall or Odin, then flash back to the kernel you need or want to run the ROM you are using via cwm or adb.

Why this works is the triangle warning on the initial boot splash is triggered (recognizes) when you flash a non stock samsung kernel via Odin or heimdall, but it does not notice when you flash a kernel via another method.


Sent from my SAMSUNG-SGH-I777 using XDA App
 

Kadernal

Member
Oct 5, 2011
30
1
I ordered a jig from mobile tech... they say it will also reset the download mode counter.

When I look at my order it says its for the galaxy s jig... I guess they are one in the same?
 

Top Liked Posts

  • There are no posts matching your filters.
  • 3
    The first thing here is to know what you have flashed already and what kernel you want to be running (putting the kernel you want on will be the last step and only part that may need adb depending on which kernel - will cover those steps in another post or via pm)

    Bella92108 i just re-read your posts and looks like you are stock plus rooted kernel. Abacon15 it will work for you as long as you are similar or on one of the att sgs2 based rom's such as dg's cognition or gtg's unamed. If you are on cm7 or some varient, it can still be done as well, but you may have to reflash cm7 by the time all is said and done, and if this is the case just pm me instead of going forward with this and I help with that if i can.

    1st step. Go to entropy512's Return/Unbrick to stock here http://xdaforums.com/showthread.php?t=1286432 and download his kernel + rooted system package - while there click his thanks button for putting these packages together for us.

    2. Once downloaded we need to extract the contents of the package - if osx is like linux here you can just double click the package and your archive software will popup with the option to extract the contents, if so just do that. Once you have this extracted you should have a PDA.tar file.

    3. Now we need to extract the contents of PDA.tar, just like the step above open with your archive software and extract the contents. Once extracted you should now have a zImage file and a factroyfs.img file. For the rest of the way we only need the zImage file - flashing the factoryfs.img would reset you to the factory app package that came with the phone and remove all your installed apps, could be useful to you in the future, but not what we want here.

    4. Open your terminal and navigate to the same directory/folder where we have extracted the above zImage file (zImage is the kernel by the way if you did not know). If you don't know how to navigate in terminal one option is to just move the above zImage file to your home folder with you gui file manager (if osx is like linux) because when you first open terminal in linux it automatically opens to your home folder. To make sure we are at the right place in terminal where the zImage file is enter terminal command
    Code:
    ls
    The output of this command will list all the files and sub-folders that are directly in the current folder and if we are in the right place here you should see our zImage file in the list.

    5. At this point put your phone into download mode and connect to your computer.

    6. enter into terminal the following commad
    Code:
    heimdall detect
    Heimdall should detect your device here and if it does then move on to the next step, if you get a warning like "heimdall failed to detect compatible download-mode device" then we have a connection problem to fix first.

    7. To flash the kernel enter command
    Code:
    heimdall flash --kernel zImage
    If you get a good flash and your phone reboots you should now be rid of the triangle exclamation point warning on the initial boot splash. If you get a permission error then we need you go back and run your terminal as admin, or use the sudo command in terminal if that works in osx just like it does in linux as follows
    Code:
    sudo heimdall flash --kernel zImage
    it should as for your login password here again if it is like linux

    At this point if all has went according to plan we will be ready to flash what ever kernel you would like to be running. Just pm me here and let me know what you would like to be running and I will help you through the steps for this as well, it may or may now require adb, if it does that is not any harder than what we have done so far.
    2
    I just tested my jig (I am rooted and had the triangle on my att version) and my count now says NO and the yellow triangle is gone.
    1
    My captivate jig did not work. Had to use the button combo and plug in usb.

    Sent from my SAMSUNG-SGH-I777 using xda premium

    good to know. i guess i will not be able to use my captivate usb jig
    1
    It will put your phone into download mode as long a your bootloaders are not corrupted (which can be done by other methods also), but more importantly it resets the binary flash counter to zero and removes the yellow triangle from the boot splash screen if you have a custom modified kernel or ROM flashed to your sgs2 phone.

    All in all not a necessary device, but very useful to those who flash and modify their phone

    Sent from my SAMSUNG-SGH-I777 using XDA App
    1
    Yes. We all know you love your LINUX as you make very clear in every 4th posting you write, hehehe. ;-)

    It's not an option for me though. I do have a MAC tho, any chance you'd know the command line, files needed to clear the ! on a MAC smarty pants? heheh. A Mac is close to linux.

    Not being a bi$#h, just givin ya a hard time, haha

    it should be identical, or very close. You need heimdall for part of the procedure, have you tried that out already?

    When I get home I'll post the steps how they should work with the commands.

    I'm in traffic right now.


    Sent from my SAMSUNG-SGH-I777 using XDA App