Resizing by blocks

Hello,
I'm creating a custom JComponent that has lots of lines, like a JList, but they are all part of the same component. I want to make it resizable, but in a way that it only grows or shrinks if there's space for each line to change its size, because the lines need to be all the same size. For example: if there are 10 lines, then resizing its container by up to 9 pixels wouldn't change anything.
I've considered using a ComponentListener to watch when the JPanel (where this component is in) is resized, but the API says that's not a good idea.
The problem is finding the way to make the getPreferredSize() and getMinimumSize() work, or finding an alternative solution. I'm using a GridBagLayout.

I hope I understood what you were asking for. Weirdly enough, reading the source code of FlowLayout really helped me. Using a GridBagLayout is another option but I don't like them too much.import javax.swing.*;
import java.awt.*;
* User: weebib
* Date: 15 janv. 2005
* Time: 17:39:25
public class MultiLine {
     private static class ListLayout implements LayoutManager {
          public void removeLayoutComponent(Component comp) {}
          public void addLayoutComponent(String name, Component comp) {}
          public void layoutContainer(Container target) {
               synchronized (target.getTreeLock()) {
                    Insets insets = target.getInsets();
                    int nmembers = target.getComponentCount();
                    int x = insets.left;
                    int y = insets.top;
                    int height = target.getHeight() / nmembers;
                    for (int i = 0; i < nmembers; i++) {
                         Component m = target.getComponent(i);
                         if (m.isVisible()) {
                              Dimension d = m.getPreferredSize();
                              m.setBounds(x, y, target.getWidth(), height);
                              y += height;
          public Dimension preferredLayoutSize(Container target) {
               synchronized (target.getTreeLock()) {
                    Dimension dim = new Dimension(0, 0);
                    int nmembers = target.getComponentCount();
                    for (int i = 0; i < nmembers; i++) {
                         Component m = target.getComponent(i);
                         if (m.isVisible()) {
                              Dimension d = m.getPreferredSize();
                              dim.height += d.height;
                              dim.width = Math.max(dim.width, d.width);
                    Insets insets = target.getInsets();
                    dim.width += insets.left + insets.right;
                    dim.height += insets.top + insets.bottom;
                    return dim;
          public Dimension minimumLayoutSize(Container target) {
               synchronized (target.getTreeLock()) {
                    Dimension dim = new Dimension(0, 0);
                    int nmembers = target.getComponentCount();
                    for (int i = 0; i < nmembers; i++) {
                         Component m = target.getComponent(i);
                         if (m.isVisible()) {
                              Dimension d = m.getMinimumSize();
                              dim.height += d.height;
                              dim.width = Math.max(dim.width, d.width);
                    Insets insets = target.getInsets();
                    dim.width += insets.left + insets.right;
                    dim.height += insets.top + insets.bottom;
                    return dim;
     public static void main(String[] args) {
          try {
               UIManager.setLookAndFeel(UIManager.getCrossPlatformLookAndFeelClassName());
          } catch (Exception e) {
               e.printStackTrace();
          final JFrame frame = new JFrame(MultiLine.class.getName());
          frame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
          JPanel panel = new JPanel(new ListLayout());
          for (int i = 0; i < 3; i++) {
               panel.add(new JLabel("label"));
               panel.add(new JTextField(20));
               JPanel subPanel = new JPanel();
               subPanel.setOpaque(true);
               subPanel.setBackground(Color.RED);
               panel.add(subPanel);
               panel.add(new JTextArea());
          frame.setContentPane(new JScrollPane(panel));
          SwingUtilities.invokeLater(new Runnable() {
               public void run() {
                    frame.setSize(400, 300);
                    frame.show();
}

Similar Messages

  • Resizing a block of memory

    I need to be able to resize a block of memory. Is there a function in java simmilar to realloc in C ?

    I need to be able to resize a block of memory. Is
    there a function in java simmilar to realloc in C ?Java memory management is completely different from C...
    no untyped memory allocation is possible, so there's nothing
    quite like malloc or realloc.
    The closest thing there is, is to use byte arrays... and when
    you need to 'resize' such an array, to allocate a new (bigger)
    byte array, and then copy contents from existing one, usually using
    System.arraycopy(). So, something like:
    static byte[] realloc(byte[] orig, int newSize)
    if (newSize <= orig.length) {
    return orig;
    byte [] newArray = new byte[newSize];
    System.arraycopy(orig, 0, newArray, 0, orig.length);
    return newArray;

  • Getting UI resize event block my VI

    Hi,
    I try to resize a chart if the user is resizing the vi UI.
    Unfortunaltly, the option from the menu edition "Resize with the front
    panel" is unavailable for my chart (maybe because it's in a tab
    panel). So a way to resize it is to get the event "UI resize" and to
    manage the size of my graphe.
    But as I enter in my event, I seem to never go away from this event
    structure.
    Actually, just to stop my vi with the famous "stop button", I do the
    following actions :
    I launch my vi
    I resize my UI
    I put the stop button (its state is changing but my vi don't stop)
    I need to resize my UI for the stop button state to be considered and
    my VI stop.
    I certainly do something wrong ;-(
    My event structure is inside the main "while" loop.
    I did not
    use the option "block the front face until this event ends*"
    Thanks for all.
    *excuse for the translation, I use a french version.

    Bonjour,
    J'imagine que dans le code, le bouton STOP utilisé est directement câblé à la condition de fin de la boucle while. Ayant moi même fais le test j'ai un comportement similaire à ce que tu décris dans ta question.
    Il vaut mieux ajouter une condition d'événement '"stop":Valeur changée' en incluant le terminal dans la condition d'événement. Ensuite câbler le stop à la condition de fin de boucle.
    J'attache un VI enregistré sous LV6.1 pour illustrer cette réponse.
    Hope this helps !
    Julien
    Attachments:
    Gestion_d'événements.vi ‏27 KB

  • My scrollbars disappear when resizing my LabView8.6 Block Diagram window

    My design can't be seen in it's entirety within the Block Diagram window so I need to use the vertical and horizontal scrollbars to navigate the design.  The scrollbars disappear if I resize the Block Diagram window past "some point".  If I shrink the window very small, the scrollbars reappear.  Other programs I've generated don't seem to have this problem.  Any suggestions?

    Hi,
    Check the scrollbars settings, right click on vertical/horizontal scrollbars and change the settings. If the problem still exists, U can send me ur vi, let me have a look to know the exact problem.
    regards
    sunil 

  • Is there an "Edit Object Tool" in Acrobat 11?

    Is there an "Edit Object Tool" in Acrobat 11 that is comparable to the Edit Object Tool in Acrobat 10 and earlier versions?  Has it been discontinued, or split into 2 loosely connected tools, the new Edit Text and Images Tool?
    I love the new Edit Text Tool in Acrobat 11, but the old Edit Object Tool in Acrobat 10 and earlier versions was great when I wanted to resize a block of objects.  The old Edit Object Tool would resize both text and graphic objects, but not everything like form fields, although there are limited workarounds like printing the file to pdf to flatten it and then resizing, but doing so will discard the form fields.
    When using the old Edit Object Tool to resize a group of objects that contain text, it will scale the text in proportion to everything else in the selection.  The new Edit Text and Images Tool in Acrobat 11 does not resize or scale the text.  It does change the size of the text containers, but the text does not resize.
    There are situations where it is valuable to resize a group of objects that contain both text and images, but I can't get the new tool to do it, or I'm not operating the tool correctly.  Is this functionality gone in version 11, or am I doing something wrong or using the wrong tool?
    I initially upgraded both of my laptop workstations from Acrobat 10 to 11, but have now gone back to running Acrobat 10 on one machine and Acrobat 11 on the other so I can realize the great new functionality of the new Acrobat 11 Text Tools without losing the valuable functionality of the Edit Object Tool in earlier versions.
    I posted a 5 star positive review on Amazon at:
    http://www.amazon.com/review/R3GAQNISK3WR4S/ref=cm_cr_pr_viewpnt#R3GAQNISK3WR4S
    but I might have to drop it to 4 stars if the old functionality has been discarded
    Clarification or guidance would be appreciated.

    Dave, Thank you for the accurate and effective information.  I added the icon to my toolbar.

  • TS3274 unknown error 3 while attempting iPad restore

    Hello people, I am tired of attempting restore my iPad 32 GB retina (4G) version. Everything goes nice until the last stage of restoration process and when i expect finally to see welcome screen I get message saying unknown error happened while restoring iPad (3) (something like this but not exact same). I tried few times with different ipsw files downloaded (6.0, 7.0, 7.04) but all ended up at the same stage. I also tried with my macbook and pc as well. Can anybody help me with this issue please.

    Thanks for Reply, but it is weired to get such an error after about 20 minute of restoration process...anyway I assume it could be the error with flash memory (bad sectors) or maybe something else but the log indicates multiple errors which i really cannot understand fully.
    01/04/2014 14:40:57.719 iTunes[192]: tid:1f73 - amai: _AMAuthInstallBasebandCheckForParameterChange: bbParameters is now non-NULL
    01/04/2014 14:40:58.134 iTunes[192]: tid:1f73 - amai: AMAuthInstallBasebandCreateMeasurements: Using set ChipID 0x004600E1 to measure
    01/04/2014 14:40:58.782 iTunes[192]: tid:1f73 - amai: AMAuthInstallBasebandApplyTssOverrides: failed to create CFDictionary from Options.plist
    01/04/2014 14:40:58.783 iTunes[192]: tid:1f73 - amai: AMAuthInstallRequestSendSync: SSO function returned NULL, SSO disabled.
    01/04/2014 14:40:59.325 iTunes[192]: tid:1f73 - amai: AMAuthInstallRequestSendSync: received tss response (server version: 2.1.0)
    01/04/2014 14:40:59.329 iTunes[192]: tid:1f73 - amai: AMAuthInstallBasebandStitchFirmwareFromBbfw: stitch function returned NULL for "osbl.mbn"; continuing anyway
    01/04/2014 14:40:59.332 iTunes[192]: tid:1f73 - amai: AMAuthInstallBasebandStitchFirmwareFromBbfw: stitch function returned NULL for "amss.mbn"; continuing anyway
    01/04/2014 14:40:59.336 iTunes[192]: tid:1f73 - amai: AMAuthInstallBasebandStitchFirmwareFromBbfw: stitch function returned NULL for "dsp1.mbn"; continuing anyway
    01/04/2014 14:40:59.394 iTunes[192]: tid:1f73 - amai: AMAuthInstallBasebandStitchFirmwareFromBbfw: stitch function returned NULL for "dsp2.mbn"; continuing anyway
    01/04/2014 14:40:59.398 iTunes[192]: tid:1f73 - amai: AMAuthInstallBasebandStitchFirmwareFromBbfw: stitch function returned NULL for "partition.mbn"; continuing anyway
    01/04/2014 14:41:07.710 iTunes[192]: tid:1f73 - amai: _AMAuthInstallBasebandCheckForParameterChange: nonce changed
    01/04/2014 14:41:07.710 iTunes[192]: tid:1f73 - amai: AMAuthInstallBasebandSetParametersWithUpdaterOutput: bbParameters changed, triggering bbfw re-personalization
    01/04/2014 14:41:08.120 iTunes[192]: tid:1f73 - amai: AMAuthInstallBasebandCreateMeasurements: Using set ChipID 0x004600E1 to measure
    01/04/2014 14:41:08.271 iTunes[192]: tid:1f73 - amai: AMAuthInstallBasebandApplyTssOverrides: failed to create CFDictionary from Options.plist
    01/04/2014 14:41:08.271 iTunes[192]: tid:1f73 - amai: AMAuthInstallRequestSendSync: SSO function returned NULL, SSO disabled.
    01/04/2014 14:41:08.760 iTunes[192]: tid:1f73 - amai: AMAuthInstallRequestSendSync: received tss response (server version: 2.1.0)
    01/04/2014 14:42:47.664 PluginProcess[1134]: CoreText performance note: Client called CTFontCreateWithName() using name "Arial Unicode MS" and got font with PostScript name "ArialUnicodeMS". For best performance, only use PostScript names when calling this API.
    01/04/2014 14:42:47.664 PluginProcess[1134]: CoreText performance note: Set a breakpoint on CTFontLogSuboptimalRequest to debug.
    01/04/2014 14:42:48.885 PluginProcess[1134]: CoreText performance note: Client called CTFontCreateWithName() using name "Times Roman" and got font with PostScript name "Times-Roman". For best performance, only use PostScript names when calling this API.
    01/04/2014 14:46:26.590 iTunes[192]: tid:1f73 - amai: _AMAuthInstallBasebandCheckForParameterChange: nonce changed
    01/04/2014 14:46:26.590 iTunes[192]: tid:1f73 - amai: AMAuthInstallBasebandSetParametersWithUpdaterOutput: bbParameters changed, triggering bbfw re-personalization
    01/04/2014 14:46:27.008 iTunes[192]: tid:1f73 - amai: AMAuthInstallBasebandCreateMeasurements: Using set ChipID 0x004600E1 to measure
    01/04/2014 14:46:27.187 iTunes[192]: tid:1f73 - amai: AMAuthInstallBasebandApplyTssOverrides: failed to create CFDictionary from Options.plist
    01/04/2014 14:46:27.187 iTunes[192]: tid:1f73 - amai: AMAuthInstallRequestSendSync: SSO function returned NULL, SSO disabled.
    01/04/2014 14:46:27.929 iTunes[192]: tid:1f73 - amai: AMAuthInstallRequestSendSync: received tss response (server version: 2.1.0)
    01/04/2014 14:46:27.942 iTunes[192]: tid:1f73 - amai: AMAuthInstallBasebandStitchFirmwareFromBbfw: stitch function returned NULL for "osbl.mbn"; continuing anyway
    01/04/2014 14:46:27.945 iTunes[192]: tid:1f73 - amai: AMAuthInstallBasebandStitchFirmwareFromBbfw: stitch function returned NULL for "amss.mbn"; continuing anyway
    01/04/2014 14:46:27.950 iTunes[192]: tid:1f73 - amai: AMAuthInstallBasebandStitchFirmwareFromBbfw: stitch function returned NULL for "dsp1.mbn"; continuing anyway
    01/04/2014 14:46:28.005 iTunes[192]: tid:1f73 - amai: AMAuthInstallBasebandStitchFirmwareFromBbfw: stitch function returned NULL for "dsp2.mbn"; continuing anyway
    01/04/2014 14:46:28.009 iTunes[192]: tid:1f73 - amai: AMAuthInstallBasebandStitchFirmwareFromBbfw: stitch function returned NULL for "partition.mbn"; continuing anyway
    01/04/2014 14:46:36.311 iTunes[192]: tid:1f73 - amai: _AMAuthInstallBasebandCheckForParameterChange: nonce changed
    01/04/2014 14:46:36.311 iTunes[192]: tid:1f73 - amai: AMAuthInstallBasebandSetParametersWithUpdaterOutput: bbParameters changed, triggering bbfw re-personalization
    01/04/2014 14:46:36.763 iTunes[192]: tid:1f73 - amai: AMAuthInstallBasebandCreateMeasurements: Using set ChipID 0x004600E1 to measure
    01/04/2014 14:46:36.916 iTunes[192]: tid:1f73 - amai: AMAuthInstallBasebandApplyTssOverrides: failed to create CFDictionary from Options.plist
    01/04/2014 14:46:36.917 iTunes[192]: tid:1f73 - amai: AMAuthInstallRequestSendSync: SSO function returned NULL, SSO disabled.
    01/04/2014 14:46:37.572 iTunes[192]: tid:1f73 - amai: AMAuthInstallRequestSendSync: received tss response (server version: 2.1.0)
    01/04/2014 14:46:39.880 com.apple.launchd[1]: (com.apple.qtkitserver[356]) Could not terminate job: 3: No such process
    01/04/2014 14:46:39.880 com.apple.launchd[1]: (com.apple.qtkitserver[356]) Using fallback option to terminate job...
    01/04/2014 14:53:47.020 iTunes[192]: tid:1f73 - amai: AMAuthInstallBasebandCreateMeasurements: Using set ChipID 0x004600E1 to measure
    01/04/2014 14:53:57.415 iTunes[192]: tid:1f73 - amai: _AMAuthInstallBasebandCheckForParameterChange: nonce changed
    01/04/2014 14:53:57.415 iTunes[192]: tid:1f73 - amai: AMAuthInstallBasebandSetParametersWithUpdaterOutput: bbParameters changed, triggering bbfw re-personalization
    01/04/2014 14:53:57.821 iTunes[192]: tid:1f73 - amai: AMAuthInstallBasebandCreateMeasurements: Using set ChipID 0x004600E1 to measure
    01/04/2014 14:53:57.987 iTunes[192]: tid:1f73 - amai: AMAuthInstallBasebandApplyTssOverrides: failed to create CFDictionary from Options.plist
    01/04/2014 14:53:57.987 iTunes[192]: tid:1f73 - amai: AMAuthInstallRequestSendSync: SSO function returned NULL, SSO disabled.
    01/04/2014 14:53:58.621 iTunes[192]: tid:1f73 - amai: AMAuthInstallRequestSendSync: received tss response (server version: 2.1.0)
    01/04/2014 15:02:24.867 Console[1462]: setPresentationOptions called with NSApplicationPresentationFullScreen when there is no visible fullscreen window; this call will be ignored.
    01/04/2014 15:02:26.871 WindowServer[111]: disable_update_timeout: UI updates were forcibly disabled by application "Console" for over 1.00 seconds. Server has re-enabled them.
    01/04/2014 15:02:27.586 WindowServer[111]: common_reenable_update: UI updates were finally reenabled by application "Console" after 1.72 seconds (server forcibly re-enabled them after 1.00 seconds)
    01/04/2014 15:04:06.734 iTunes[192]: tid:1f73 - dumping CFError returned by restored:
    01/04/2014 15:04:06.734 iTunes[192]: tid:1f73 - CFError domain:AMRestoreErrorDomain code:-1 description:failed to update device firmware
    01/04/2014 15:04:06.734 iTunes[192]: tid:1f73 - CFError domain:AMRestoreErrorDomain code:-1 description:ramrod firmware update failed
    01/04/2014 15:04:06.734 iTunes[192]: tid:1f73 - CFError domain:RamrodErrorDomain code:1004 description:update_baseband: failed to perform next stage
    01/04/2014 15:04:06.735 iTunes[192]: tid:1f73 - CFError domain:BBUpdater code:3 description:Failed creating a communication transport to baseband.
    01/04/2014 15:04:06.783 iTunes[192]: tid:1f73 -
    ==== device restore output ====
    clock down RGBOUT
    AppleD1974PMUPowerSource: AppleUSBCableDetect 1
    AppleD1974PMUPowerSource: AppleUSBCableType USBHost
    AppleSynopsysOTGDevice::gated_handleUSBCableConnect cable connected, but don't have device configuration yet
    AppleSynopsysOTGDevice::gated_handleUSBCableConnect cable connected, but don't have device configuration yet
    AppleMultitouchZ2SPI: detected HBPP. driver will be kept alive
    display-scale = 2
    display-rotation = 90
    found applelogo at /usr/share/progressui/applelogo@2x~ipad.tga
    found display: primary
    display: 2048 x 1536
    found PTP interface
    AppleSynopsysOTGDevice - Configuration: PTP
    AppleSynopsysOTGDevice          Interface: PTP
    AppleSynopsysOTGDevice - Configuration: iPod USB Interface
    AppleSynopsysOTGDevice          Interface: USBAudioControl
    AppleSynopsysOTGDevice          Interface: USBAudioStreaming
    AppleSynopsysOTGDevice          Interface: IapOverUsbHid
    AppleSynopsysOTGDevice - Configuration: PTP + Apple Mobile Device
    AppleSynopsysOTGDevice          Interface: PTP
    AppleSynopsysOTGDevice          Interface: AppleUSBMux
    AppleSynopsysOTGDevice - Configuration: PTP + Apple Mobile Device + Apple USB Ethernet
    AppleSynopsysOTGDevice          Interface: PTP
    AppleSynopsysOTGDevice          Interface: AppleUSBMux
    AppleSynopsysOTGDevice          Interface: AppleUSBEthernet
    AppleBCMWLANCore::init(): IO80211-46 Feb 28 2014 17:24:28
    AppleSynopsysOTGDevice::gated_registerFunction Register function USBAudioControl
    IOAccessoryPortUSB::start
    AppleSynopsysOTGDevice::gated_registerFunction Register function IapOverUsbHid
    AppleSynopsysOTGDevice::gated_registerFunction Register function AppleUSBEthernet
    virtual bool AppleUSBDeviceMux::start(IOService *) build: Feb 28 2014 17:26:28
    init_waste
    AppleSynopsysOTGDevice::gated_registerFunction Register function AppleUSBMux
    AppleSynopsysOTGDevice::gated_registerFunction Register function USBAudioStreaming
    AppleSynopsysOTGDevice::gated_registerFunction Register function PTP
    AppleSynopsysOTGDevice::startUSBStack Starting usb stack
    000917.427286 wlan.N[0] AppleBCMWLANCore::start(): Starting with MAC Address: <<<mac address>>>
    000917.427636 wlan.N[1] AppleBCMWLANCore::setPowerStateGated():   powerState 1, fStateFlags 0x20, dev 0x802d9000 (this 1, provider 0)
    000917.427667 wlan.N[2] AppleBCMWLANCore::setPowerStateGated():  Received power state change before driver has initialized, ignoring
    IO80211Peer::addPhyStatistics Phy stats started for addr <<<mac address>>>
    IO80211Peer::addPhyStatistics Tx Completion stats started for addr <<<mac address>>>
    IO80211PeerManager::initWithInterface cant add monitoring timer
    Started logging for intf
    IO80211PeerManager::initWithInterface: inited peer manager
    IO80211Interface::init peerManager=0x9e82b400
    start:156
    start:156
    IOReturn AppleUSBDeviceMux::setPropertiesGated(OSObject *) setting debug level to 7
    AppleUSBDeviceMux::handleConnectResult new session 0xa217ff20 established 62078<-lo0->49152 62078<-usb->512
    void AppleUSBDeviceMux::handleMuxTCPInput(mbuf_t) received reset, closing 0xa217ff20
    recv(13, 4) failed: connection closed
    unable to read message size: -1
    could not receive message
    AppleUSBDeviceMux::handleConnectResult new session 0xa217ff20 established 62078<-lo0->49153 62078<-usb->768
    AppleUSBDeviceMux::handleConnectResult new session 0xa217fec8 established 62078<-lo0->49154 62078<-usb->1024
    void AppleUSBDeviceMux::handleMuxTCPInput(mbuf_t) received reset, closing 0xa217ff20
    recv(13, 4) failed: connection closed
    unable to read message size: -1
    could not receive message
    AppleUSBDeviceMux::handleConnectResult new session 0xa217ff20 established 62078<-lo0->49155 62078<-usb->1280
    AppleUSBDeviceMux::handleConnectResult new session 0xa217fe70 established 62078<-lo0->49156 62078<-usb->1536
    void AppleUSBDeviceMux::handleMuxTCPInput(mbuf_t) received reset, closing 0xa217ff20
    void AppleUSBDeviceMux::handleMuxTCPInput(mbuf_t) received reset, closing 0xa217fec8
    void AppleUSBDeviceMux::handleMuxTCPInput(mbuf_t) received reset, closing 0xa217fe70
    recv(13, 4) failed: connection closed
    unable to read message size: -1
    could not receive message
    recv(14, 4) failed: connection closed
    unable to read message size: -1
    could not receive message
    recv(15, 4) failed: connection closed
    unable to read message size: -1
    could not receive message
    AppleUSBDeviceMux::handleConnectResult new session 0xa217fe70 established 62078<-lo0->49157 62078<-usb->1792
    AppleUSBDeviceMux::handleConnectResult new session 0xa217fec8 established 62078<-lo0->49158 62078<-usb->2048
    void AppleUSBDeviceMux::handleMuxTCPInput(mbuf_t) received reset, closing 0xa217fec8
    recv(14, 4) failed: connection closed
    unable to read message size: -1
    could not receive message
    AppleUSBDeviceMux::handleConnectResult new session 0xa217fec8 established 62078<-lo0->49159 62078<-usb->2304
    void AppleUSBDeviceMux::handleMuxTCPInput(mbuf_t) received reset, closing 0xa217fec8
    recv(14, 4) failed: connection closed
    unable to read message size: -1
    could not receive message
    AppleUSBDeviceMux::handleConnectResult new session 0xa217fec8 established 62078<-lo0->49160 62078<-usb->2560
    void AppleUSBDeviceMux::handleMuxTCPInput(mbuf_t) received reset, closing 0xa217fec8
    recv(14, 4) failed: connection closed
    unable to read message size: -1
    could not receive message
    AppleUSBDeviceMux::handleConnectResult new session 0xa217fec8 established 62078<-lo0->49161 62078<-usb->2816
    void AppleUSBDeviceMux::handleMuxTCPInput(mbuf_t) received reset, closing 0xa217fec8
    recv(14, 4) failed: connection closed
    unable to read message size: -1
    could not receive message
    AppleUSBDeviceMux::handleConnectResult new session 0xa217fec8 established 62078<-lo0->49162 62078<-usb->3072
    void AppleUSBDeviceMux::handleMuxTCPInput(mbuf_t) received reset, closing 0xa217fec8
    recv(9, 4) failed: connection closed
    unable to read message size: -1
    could not receive message
    AppleUSBDeviceMux::handleConnectResult new session 0xa217fec8 established 62078<-lo0->49163 62078<-usb->3328
    void AppleUSBDeviceMux::handleMuxTCPInput(mbuf_t) received reset, closing 0xa217fec8
    recv(9, 4) failed: connection closed
    unable to read message size: -1
    could not receive message
    AppleUSBDeviceMux::handleConnectResult new session 0xa217fec8 established 62078<-lo0->49164 62078<-usb->3584
    unrecognized key 'BootArgs' in value query
    failed to handle value query for key 'BootArgs', sending back empty response
    void AppleUSBDeviceMux::handleMuxTCPInput(mbuf_t) received reset, closing 0xa217fec8
    recv(9, 4) failed: connection closed
    unable to read message size: -1
    could not receive message
    AppleUSBDeviceMux::handleConnectResult new session 0xa217fec8 established 62078<-lo0->49165 62078<-usb->3840
    unrecognized key 'MarketingPartNumber' in value query
    failed to handle value query for key 'MarketingPartNumber', sending back empty response
    void AppleUSBDeviceMux::handleMuxTCPInput(mbuf_t) received reset, closing 0xa217fec8
    recv(9, 4) failed: connection closed
    unable to read message size: -1
    could not receive message
    AppleUSBDeviceMux::handleConnectResult new session 0xa217fec8 established 62078<-lo0->49166 62078<-usb->4096
    void AppleUSBDeviceMux::handleMuxTCPInput(mbuf_t) received reset, closing 0xa217fec8
    recv(9, 4) failed: connection closed
    unable to read message size: -1
    could not receive message
    client protocol version 13
    *** UUID 9A339BC0-CBBC-4CC5-BD22-A7C3801632FB ***
    Restore options:
              UUID                           => <CFString 0x17e28110 [0x3e4ae0]>{contents = "9A339BC0-CBBC-4CC5-BD22-A7C3801632FB"}
              MinimumSystemPartition         => <CFNumber 0x17e28060 [0x3e4ae0]>{value = +1771, type = kCFNumberSInt64Type}
              SystemPartitionSize            => <CFNumber 0x17e27ca0 [0x3e4ae0]>{value = +1771, type = kCFNumberSInt64Type}
              SystemPartitionPadding         => <CFBasicHash 0x17e29cd0 [0x3e4ae0]>{type = mutable dict, count = 5,
    entries =>
              2 : <CFString 0x17e28170 [0x3e4ae0]>{contents = "128"} = <CFNumber 0x17e28090 [0x3e4ae0]>{value = +1280, type = kCFNumberSInt64Type}
              3 : <CFString 0x17e280c0 [0x3e4ae0]>{contents = "16"} = <CFNumber 0x17e27a10 [0x3e4ae0]>{value = +160, type = kCFNumberSInt64Type}
              4 : <CFString 0x17e27a20 [0x3e4ae0]>{contents = "32"} = <CFNumber 0x17e27ed0 [0x3e4ae0]>{value = +320, type = kCFNumberSInt64Type}
              5 : <CFString 0x17e29b50 [0x3e4ae0]>{contents = "8"} = <CFNumber 0x17e27db0 [0x3e4ae0]>{value = +80, type = kCFNumberSInt64Type}
              8 : <CFString 0x17e29d00 [0x3e4ae0]>{contents = "64"} = <CFNumber 0x17e29b40 [0x3e4ae0]>{value = +640, type = kCFNumberSInt64Type}
    entering load_sep_os
    device has no sep
    entering partition_nand_device
    device supports boot-from-NAND
    [NAND] WMR_Open:420 FTL_Open    [OK]
    [NAND] _publishServices:642 FTL capabilities: 0x00000001
    [NAND] _ppnvflGetStruct:3469 Checking borrowed blocks - count: 73 max_count: 73
    [NAND] _fetchBorrowedList:881 number of borrowed blocks 64
    [nand_part_core:INF@ 157] published partition 0
    [nand_part_core:INF@ 157] published partition 1
    [nand_part_core:INF@ 157] published partition 2
    [nand_part_core:INF@ 157] published partition 3
    [nand_part_core:INF@ 157] published partition 5
    [nand_part_core:INF@ 157] published partition 6
    [effaceable:INIT] found current generation, 201, in group 0
    [effaceable:INIT] started
    [effaceable:INIT] started
    AppleARMBacklight::start: No AAP function
    nand device is already partitioned
    entering wait_for_storage_device
    Searching for NAND service
    Found NAND service: IOFlashStoragePartition
    NAND initialized. Waiting for devnode.
    entering clear_remap_variable
    executing /usr/sbin/nvram
    entering format_effaceable_storage
    effaceable storage is formatted, clearing it
    effaceable storaged cleared
    entering ramrod_probe_media
    device partitioning scheme is GPT
    find_filesystem_partitions: storage=/dev/disk0s1 system=/dev/disk0s1s1 data=/dev/disk0s1s2
    executing /sbin/fsck_hfs
    ** /dev/rdisk0s1s1
       Executing fsck_hfs (version hfs-277.10.5).
    ** Checking Journaled HFS Plus volume.
    ** Detected a case-sensitive volume.
       The volume name is Sochi11D167.J2aOS
    ** Checking extents overflow file.
    ** Checking catalog file.
    ** Checking multi-linked files.
    ** Checking catalog hierarchy.
    ** Checking extended attributes file.
    ** Checking volume bitmap.
    ** Checking volume information.
    ** Trimming unused blocks.
    ** The volume Sochi11D167.J2aOS appears to be OK.
    executing /sbin/mount_hfs
    mount_hfs: Could not create property for re-key environment check: No such file or directory
    /dev/disk0s1s1 mounted on /mnt1
    entering check_for_restore_log
    found restore log (size = 81500)
    entering unmount_filesystems
    error unmounting '/mnt2': Invalid argument
    entering clean_NAND
    NAND format complete
    entering ramrod_probe_media
    find_filesystem_partitions: storage=/dev/disk0 system= data=
    entering format_storage_for_LwVM
    entering ramrod_probe_media
    device partitioning scheme is GPT
    unexpected partition 'LwVM' - skipping
    find_filesystem_partitions: storage=/dev/disk0s1 system= data=
    entering create_filesystem_partitions
    User specified system partition size, skipping firmware extras size.
    system partition padding size is: 335544320 bytes
    unable to open : No such file or directory
    creating 2 partitions
    creating encrypted data partition
    entering ramrod_probe_media
    device partitioning scheme is GPT
    find_filesystem_partitions: storage=/dev/disk0s1 system=/dev/disk0s1s1 data=/dev/disk0s1s2
    wipe entire partition: 1 (old = 0 new = 2091)
    block size for /dev/disk0s1s1: 4096
    /sbin/newfs_hfs -s -v System -J /dev/disk0s1s1
    executing /sbin/newfs_hfs -s -v System -J /dev/disk0s1s1
    Initialized /dev/rdisk0s1s1 as a 2 GB case-sensitive HFS Plus volume with a 8192k journal
    block size for /dev/disk0s1s2: 4096
    /sbin/newfs_hfs -s -v Data -J -P /dev/disk0s1s2
    executing /sbin/newfs_hfs -s -v Data -J -P /dev/disk0s1s2
    Initialized /dev/rdisk0s1s2 as a 27 GB case-sensitive HFS Plus volume with a 8192k journal
    entering ramrod_probe_media
    device partitioning scheme is GPT
    find_filesystem_partitions: storage=/dev/disk0s1 system=/dev/disk0s1s1 data=/dev/disk0s1s2
    entering mount_filesystems
    executing /sbin/fsck_hfs
    ** /dev/rdisk0s1s1
       Executing fsck_hfs (version hfs-277.10.5).
    ** Checking Journaled HFS Plus volume.
    ** Detected a case-sensitive volume.
       The volume name is System
    ** Checking extents overflow file.
    ** Checking catalog file.
    ** Checking multi-linked files.
    ** Checking catalog hierarchy.
    ** Checking extended attributes file.
    ** Checking volume bitmap.
    ** Checking volume information.
    ** Trimming unused blocks.
    ** The volume System appears to be OK.
    executing /sbin/mount_hfs
    mount_hfs: Could not create property for re-key environment check: No such file or directory
    /dev/disk0s1s1 mounted on /mnt1
    executing /sbin/fsck_hfs
    ** /dev/rdisk0s1s2
       Executing fsck_hfs (version hfs-277.10.5).
    ** Checking Journaled HFS Plus volume.
    ** Detected a case-sensitive volume.
       The volume name is Data
    ** Checking extents overflow file.
    ** Checking catalog file.
    ** Checking multi-linked files.
    ** Checking catalog hierarchy.
    ** Checking extended attributes file.
    ** Checking volume bitmap.
    ** Checking volume information.
    ** Trimming unused blocks.
    ** The volume Data appears to be OK.
    executing /sbin/mount_hfs
    mount_hfs: Could not create property for re-key environment check: No such file or directory
    /dev/disk0s1s2 mounted on /mnt2
    entering resize_system_partition_to_options
    User specified system partition size, skipping firmware extras size.
    Found SystemPartitionPadding value of 335544320 bytes
    Erasing system partition prior to resize operation.
    block size for /dev/disk0s1s1: 4096
    /sbin/newfs_hfs -s -v System -J /dev/disk0s1s1
    executing /sbin/newfs_hfs -s -v System -J /dev/disk0s1s1
    Initialized /dev/rdisk0s1s1 as a 2 GB case-sensitive HFS Plus volume with a 8192k journal
    executing /sbin/fsck_hfs
    ** /dev/rdisk0s1s1
       Executing fsck_hfs (version hfs-277.10.5).
    ** Checking Journaled HFS Plus volume.
    ** Detected a case-sensitive volume.
       The volume name is System
    ** Checking extents overflow file.
    ** Checking catalog file.
    ** Checking multi-linked files.
    ** Checking catalog hierarchy.
    ** Checking extended attributes file.
    ** Checking volume bitmap.
    ** Checking volume information.
    ** Trimming unused blocks.
    ** The volume System appears to be OK.
    executing /sbin/mount_hfs
    mount_hfs: Could not create property for re-key environment check: No such file or directory
    /dev/disk0s1s1 mounted on /mnt1
    Trying to resize system partition to 2192572416 bytes aka 2091 MB
    entering adjust_partition_preflight
    partition:0 requiredSize=535296
    no change in size
    Successfully resized the system partition
    entering maximize_data_partition
    entering adjust_partition_preflight
    partition:1 requiredSize=<<<<<IMEI>>>>>>6
    maximizing data partition to 29516365823 bytes
    entering adjust_partition_preflight
    partition:1 requiredSize=7206144
    no change in size
    Successfully resized data partition to consume free blocks
    The system partition now has a total HFS+ capacity of 2091 MB
    entering ramrod_probe_media
    device partitioning scheme is GPT
    find_filesystem_partitions: storage=/dev/disk0s1 system=/dev/disk0s1s1 data=/dev/disk0s1s2
    entering unmount_filesystems
    entering ramrod_ticket_update
    looking up root ticket hash
    device tree ticket-hash: <CFData 0x17d2cf20 [0x3e4ae0]>{length = 20, capacity = 20, bytes = 0x<<<<<<<<<<<<<<<<<<UDID>>>>>>>>>>>>>>>>>>}
    ticket_hash: <<<<<<<<<<<<<<<<<<UDID>>>>>>>>>>>>>>>>>>
    received valid ticket (2741 bytes)
    entering restore_images
    Successfully marked device node /dev/rdisk0s1s1 as static data
    executing /usr/sbin/asr -source asr://localhost:12345 -target /dev/disk0s1s1 -erase -noprompt --chunkchecksum --puppetstrings
    void AppleUSBDeviceMux::handleConnectResult(struct BulkUSBMuxSession *, errno_t) new session to port 12345 failed: 61
    void AppleUSBDeviceMux::handleConnectResult(struct BulkUSBMuxSession *, errno_t) new session to port 12345 failed: 61
    ASR: asr: Unable to disable idle sleep - -536870199
    ASR STATUS: start          241.1          multicast-client
    ASR: Waiting for connection attempt from server
    AppleUSBDeviceMux::handleConnectResult new session 0xa217f5d8 established 12345<-lo0->49169 12345<-usb->4864
    ASR STATUS: setup
    ASR: Validating target...
    ASR: done
    ASR STATUS: metadata
    ASR: Validating source...
    ASR: done
    ASR: Retrieving scan information...
    ASR: done
    ASR: Validating sizes...
    ASR: done
    ASR STATUS: restore
    ASR RESTORE PROGRESS: 2%
    ASR RESTORE PROGRESS: 4%
    ASR RESTORE PROGRESS: 6%
    ASR RESTORE PROGRESS: 8%
    ASR RESTORE PROGRESS: 10%
    ASR RESTORE PROGRESS: 12%
    ASR RESTORE PROGRESS: 14%
    ASR RESTORE PROGRESS: 16%
    ASR RESTORE PROGRESS: 18%
    ASR RESTORE PROGRESS: 20%
    ASR RESTORE PROGRESS: 22%
    ASR RESTORE PROGRESS: 24%
    ASR RESTORE PROGRESS: 26%
    ASR RESTORE PROGRESS: 28%
    ASR RESTORE PROGRESS: 30%
    ASR RESTORE PROGRESS: 32%
    ASR RESTORE PROGRESS: 34%
    ASR RESTORE PROGRESS: 36%
    ASR RESTORE PROGRESS: 38%
    ASR RESTORE PROGRESS: 40%
    ASR RESTORE PROGRESS: 42%
    ASR RESTORE PROGRESS: 44%
    ASR RESTORE PROGRESS: 46%
    ASR RESTORE PROGRESS: 48%
    ASR RESTORE PROGRESS: 50%
    ASR RESTORE PROGRESS: 52%
    ASR RESTORE PROGRESS: 54%
    ASR RESTORE PROGRESS: 56%
    ASR RESTORE PROGRESS: 58%
    ASR RESTORE PROGRESS: 60%
    ASR RESTORE PROGRESS: 62%
    ASR RESTORE PROGRESS: 64%
    ASR RESTORE PROGRESS: 66%
    ASR RESTORE PROGRESS: 68%
    ASR RESTORE PROGRESS: 70%
    ASR RESTORE PROGRESS: 72%
    ASR RESTORE PROGRESS: 74%
    ASR RESTORE PROGRESS: 76%
    ASR RESTORE PROGRESS: 78%
    ASR RESTORE PROGRESS: 80%
    ASR RESTORE PROGRESS: 82%
    ASR RESTORE PROGRESS: 84%
    ASR RESTORE PROGRESS: 86%
    ASR RESTORE PROGRESS: 88%
    ASR RESTORE PROGRESS: 90%
    ASR RESTORE PROGRESS: 92%
    ASR RESTORE PROGRESS: 94%
    ASR RESTORE PROGRESS: 96%
    ASR RESTORE PROGRESS: 98%
    AppleUSBDeviceMux::sessionUpcall socket is closed, session 0xa217f5d8 (12345<-lo0->49169 12345<-usb->4864)
    ASR RESTORE PROGRESS: 100%
    ASR: Copied 1857602048 bytes in 94.84 seconds, 19128.00 KiB/s
    ASR STATUS: verify
    ASR VERIFY PROGRESS: 2%
    ASR VERIFY PROGRESS: 4%
    ASR VERIFY PROGRESS: 6%
    ASR VERIFY PROGRESS: 8%
    ASR VERIFY PROGRESS: 10%
    ASR VERIFY PROGRESS: 12%
    ASR VERIFY PROGRESS: 14%
    ASR VERIFY PROGRESS: 16%
    ASR VERIFY PROGRESS: 18%
    ASR VERIFY PROGRESS: 20%
    ASR VERIFY PROGRESS: 22%
    ASR VERIFY PROGRESS: 24%
    ASR VERIFY PROGRESS: 26%
    ASR VERIFY PROGRESS: 28%
    ASR VERIFY PROGRESS: 30%
    ASR VERIFY PROGRESS: 32%
    ASR VERIFY PROGRESS: 34%
    ASR VERIFY PROGRESS: 36%
    ASR VERIFY PROGRESS: 38%
    ASR VERIFY PROGRESS: 40%
    ASR VERIFY PROGRESS: 42%
    ASR VERIFY PROGRESS: 44%
    ASR VERIFY PROGRESS: 46%
    ASR VERIFY PROGRESS: 48%
    ASR VERIFY PROGRESS: 50%
    ASR VERIFY PROGRESS: 52%
    ASR VERIFY PROGRESS: 54%
    ASR VERIFY PROGRESS: 56%
    ASR VERIFY PROGRESS: 58%
    ASR VERIFY PROGRESS: 60%
    ASR VERIFY PROGRESS: 62%
    ASR VERIFY PROGRESS: 64%
    ASR VERIFY PROGRESS: 66%
    ASR VERIFY PROGRESS: 68%
    ASR VERIFY PROGRESS: 70%
    ASR VERIFY PROGRESS: 72%
    ASR VERIFY PROGRESS: 74%
    ASR VERIFY PROGRESS: 76%
    ASR VERIFY PROGRESS: 78%
    ASR VERIFY PROGRESS: 80%
    ASR VERIFY PROGRESS: 82%
    ASR VERIFY PROGRESS: 84%
    ASR VERIFY PROGRESS: 86%
    ASR VERIFY PROGRESS: 88%
    ASR VERIFY PROGRESS: 90%
    ASR VERIFY PROGRESS: 92%
    ASR VERIFY PROGRESS: 94%
    ASR VERIFY PROGRESS: 96%
    ASR VERIFY PROGRESS: 98%
    ASR VERIFY PROGRESS: 100%
    ASR: Verified SHA-1 checksum 1857602048 bytes in 22.54 seconds, 80487.06 KiB/s
    ASR STATUS: finish
    entering ramrod_probe_media
    device partitioning scheme is GPT
    find_filesystem_partitions: storage=/dev/disk0s1 system=/dev/disk0s1s1 data=/dev/disk0s1s2
    entering mount_filesystems
    executing /sbin/fsck_hfs
    ** /dev/rdisk0s1s1
       Executing fsck_hfs (version hfs-277.10.5).
    ** Checking Journaled HFS Plus volume.
    ** Detected a case-sensitive volume.
       The volume name is Sochi11D167.J2aOS
    ** Checking extents overflow file.
    ** Checking catalog file.
    ** Checking multi-linked files.
    ** Checking catalog hierarchy.
    ** Checking extended attributes file.
    ** Checking volume bitmap.
    ** Checking volume information.
    ** Trimming unused blocks.
    ** The volume Sochi11D167.J2aOS appears to be OK.
    executing /sbin/mount_hfs
    mount_hfs: Could not create property for re-key environment check: No such file or directory
    /dev/disk0s1s1 mounted on /mnt1
    executing /sbin/fsck_hfs
    ** /dev/rdisk0s1s2
       Executing fsck_hfs (version hfs-277.10.5).
    ** Checking Journaled HFS Plus volume.
    ** Detected a case-sensitive volume.
       The volume name is Data
    ** Checking extents overflow file.
    ** Checking catalog file.
    ** Checking multi-linked files.
    ** Checking catalog hierarchy.
    ** Checking extended attributes file.
    ** Checking volume bitmap.
    ** Checking volume information.
    ** Trimming unused blocks.
    ** The volume Data appears to be OK.
    executing /sbin/mount_hfs
    mount_hfs: Could not create property for re-key environment check: No such file or directory
    /dev/disk0s1s2 mounted on /mnt2
    entering install_kernel_cache
    writing kernelcache to /mnt1/System/Library/Caches/com.apple.kernelcaches/kernelcache
    entering install_secure_vault_daemon
    entering get_hardware_platform
    platform-name = s5l8945x
    linking /mnt1/usr/sbin/securekeyvaultd to /mnt1/usr/sbin/securekeyvaultd.s5l8945x
    no securekeyvaultd for s5l8945x
    entering ramrod_ticket_write
    writing ticket to /mnt1/System/Library/Caches/apticket.der
    entering update_device_firmware
    create_baseband_update_options: Got imeisv: 9
    baseband updater options = <CFBasicHash 0x17d2df80 [0x3e4ae0]>{type = mutable dict, count = 3,
    entries =>
              0 : <CFString 0x1de298 [0x3e4ae0]>{contents = "IMEISwVersion"} = <CFNumber 0x17e2cab0 [0x3e4ae0]>{value = +9, type = kCFNumberSInt32Type}
              1 : <CFString 0x1de2f8 [0x3e4ae0]>{contents = "autoSetupEnv"} = <CFBoolean 0x3e4e98 [0x3e4ae0]>{value = false}
              2 : <CFString 0x1de308 [0x3e4ae0]>{contents = "disablePing"} = <CFBoolean 0x3e4e90 [0x3e4ae0]>{value = true}
    _baseband_update_requires_system_filesystem_once: querying baseband to determine if it requires system filesystem
    _baseband_update_requires_system_filesystem_once: query returned <CFBasicHash 0x17d2dfd0 [0x3e4ae0]>{type = mutable dict, count = 3,
    entries =>
              0 : <CFString 0x1de068 [0x3e4ae0]>{contents = "requireSystemPartitionMount"} = <CFBoolean 0x3e4e98 [0x3e4ae0]>{value = false}
              1 : <CFString 0x1de088 [0x3e4ae0]>{contents = "requireUserPartitionMount"} = <CFBoolean 0x3e4e98 [0x3e4ae0]>{value = false}
              2 : <CFString 0x1de098 [0x3e4ae0]>{contents = "requireBasebandFSPartitionMount"} = <CFBoolean 0x3e4e98 [0x3e4ae0]>{value = false}
    entering update_iBoot
    found 'AppleImage3NORAccess' object in IORegistry
    entering update_iBoot_image3_NOR_access
    write_image3_data: flashing illb data (length = 0x24a1a)
    write_image3_data: flashing SCAB data (length = 0xb00)
    ticket updated
    write_image3_data: flashing ibot data (length = 0x4718c)
    write_image3_data: flashing bat1 data (length = 0x148c)
    write_image3_data: flashing dtre data (length = 0x14b0c)
    write_image3_data: flashing glyP data (length = 0x3a8c)
    write_image3_data: flashing bat0 data (length = 0x1d40c)
    write_image3_data: flashing chg0 data (length = 0x260c)
    write_image3_data: flashing batF data (length = 0x1a4cc)
    write_image3_data: flashing chg1 data (length = 0x88cc)
    write_image3_data: flashing logo data (length = 0x45cc)
    write_image3_data: flashing recm data (length = 0x1e64c)
    entering update_gas_gauge
    entering update_ir_mcu
    looking for mcu nub...no entry from path!
    TiSerialFlasher not supported on this platform. Exiting.
    entering update_baseband
    update_baseband: registering for progress notifications
    create_baseband_update_options: Got imeisv: 9
    baseband updater options = <CFBasicHash 0x17d2e0a0 [0x3e4ae0]>{type = mutable dict, count = 6,
    entries =>
              0 : <CFString 0x1de248 [0x3e4ae0]>{contents = "SystemRoot"} = <CFString 0x17d2bea0 [0x3e4ae0]>{contents = "/mnt1"}
              1 : <CFString 0x1de298 [0x3e4ae0]>{contents = "IMEISwVersion"} = <CFNumber 0x17e2cab0 [0x3e4ae0]>{value = +9, type = kCFNumberSInt32Type}
              2 : <CFString 0x1de2f8 [0x3e4ae0]>{contents = "autoSetupEnv"} = <CFBoolean 0x3e4e98 [0x3e4ae0]>{value = false}
              3 : <CFString 0x1de1d8 [0x3e4ae0]>{contents = "forceUpdate"} = <CFBoolean 0x3e4e90 [0x3e4ae0]>{value = true}
              5 : <CFString 0x1de308 [0x3e4ae0]>{contents = "disablePing"} = <CFBoolean 0x3e4e90 [0x3e4ae0]>{value = true}
              6 : <CFString 0x1de1f8 [0x3e4ae0]>{contents = "DisallowFusiing"} = <CFBoolean 0x3e4e90 [0x3e4ae0]>{value = true}
    update_baseband: querying baseband info
    bbupdater: BEGIN: Querying info at stage initial
    bbupdater:           BEGIN: Preparing Initial stage
    bbupdater:                     Requested boot mode:  kBBUBootModeNone
    AppleImage3NORAccess::_getSuperBlock imageVersion: 3
    AppleImage3NORAccess::_getSuperBlock imageVersion: 3
    [nand_part_core:INF@2289] first 2 pages of boot blocks written with copies of partition table
    [nand_part_core:INF@3169] next 98 pages of boot blocks written with LLB image of size 150080 bytes
    [nand_part_core:INF@3172] final 156 pages of boot blocks written with random data in full page format
    bbupdater:                     Creating transport, attempts remaining 1...bbupdater:                     FAILED(kBBUReturnIOError)
    bbupdater:                     Creating transport, attempts remaining 0...bbupdater:                     FAILED(kBBUReturnIOError)
    bbupdater:                     Modem not responding
    bbupdater:                     Forcing into first stage
    bbupdater:                     Creating transport, attempts remaining 1...bbupdater:                     OK
    bbupdater:                     Baseband VendorID [0x5C6] ProductID [0x9008]
    bbupdater:           END: Preparing Initial stage
    bbupdater: END: Querying info at stage initial
    bbupdater: BEGIN: Querying info at stage first
    bbupdater:           BEGIN: Preparing first stage
    bbupdater:           END: Preparing first stage
    bbupdater:           Connecting to Loader...bbupdater:           OK
    bbupdater:           Getting Version...bbupdater:           OK
    bbupdater:           Loader version: PBL-DownloaderVER1.0
    bbupdater:           Fusing disallowed, will treat as fused
    bbupdater: END: Querying info at stage first
    update_baseband: query returned <CFBasicHash 0x17e2b490 [0x3e4ae0]>{type = mutable dict, count = 5,
    entries =>
              2 : <CFString 0x1de4a8 [0x3e4ae0]>{contents = "VendorID"} = <CFNumber 0x17e24730 [0x3e4ae0]>{value = +3, type = kCFNumberSInt32Type}
              3 : <CFString 0x1dcba8 [0x3e4ae0]>{contents = "ChipID"} = <CFNumber 0x17e2b510 [0x3e4ae0]>{value = +4587745, type = kCFNumberSInt32Type}
              4 : <CFString 0x1de4f8 [0x3e4ae0]>{contents = "FusingStatus"} = <CFNumber 0x17e24730 [0x3e4ae0]>{value = +3, type = kCFNumberSInt32Type}
              5 : <CFString 0x1de498 [0x3e4ae0]>{contents = "CertID"} = <CFNumber 0x17d2bcc0 [0x3e4ae0]>{value = +4, type = kCFNumberSInt32Type}
              6 : <CFString 0x1de348 [0x3e4ae0]>{contents = "ChipSerialNo" XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
    update_baseband: requesting baseband firmware data
    update_baseband: received data from host (120516 bytes)
    update_baseband: performing next update stage
    bbupdater: BEGIN: Perform stage at first
    bbupdater:           Loading...
    bbupdater:           0x4001a100 of 0x4003d55c (18 percent)
    bbupdater:           0x40022200 of 0x4003d55c (37 percent)
    bbupdater:           0x4002a300 of 0x4003d55c (55 percent)
    bbupdater:           0x40032400 of 0x4003d55c (74 percent)
    bbupdater:           0x4003a500 of 0x4003d55c (93 percent)
    bbupdater:           0x4003d55c of 0x4003d55c (100 percent)
    bbupdater:
    bbupdater:           Launching...bbupdater:           OK
    bbupdater: END: Perform stage at first
    send_bbupdate_status: sending baseband update status to host
    update_baseband: querying baseband info
    bbupdater: BEGIN: Querying info at stage second
    bbupdater:           BEGIN: Preparing Second stage
    bbupdater:                     Creating transport, attempts remaining 0...bbupdater:                     OK
    bbupdater:                     Baseband VendorID [0x5C6] ProductID [0x9008]
    bbupdater:           END: Preparing Second stage
    bbupdater:           Saying Hello...bbupdater:           OK
    bbupdater:           Using window size 2, max block size 4096
    bbupdater:           Unframed writes are supported
    bbupdater:           Reading Personlization Parameters...bbupdater:           OK
    bbupdater: END: Querying info at stage second
    update_baseband: query returned <CFBasicHash 0x17e2b490 [0x3e4ae0]>{type = mutable dict, count = 6,
    entries =>
              0 : <CFString 0x1de388 [0x3e4ae0]>{contents = "Nonce"} = <CFData 0x17e2e500 [0x3e4ae0]>{length = 20, capacity = 20, bytes = 0x<<<<<<<<<<<<<<<<<<UDID>>>>>>>>>>>>>>>>>>}
              2 : <CFString 0x1de4a8 [0x3e4ae0]>{contents = "VendorID"} = <CFNumber 0x17e24730 [0x3e4ae0]>{value = +3, type = kCFNumberSInt32Type}
              3 : <CFString 0x1dcba8 [0x3e4ae0]>{contents = "ChipID"} = <CFNumber 0x17e2b710 [0x3e4ae0]>{value = +4587745, type = kCFNumberSInt32Type}
              4 : <CFString 0x1de4f8 [0x3e4ae0]>{contents = "FusingStatus"} = <CFNumber 0x17e24730 [0x3e4ae0]>{value = +3, type = kCFNumberSInt32Type}
              5 : <CFString 0x1de498 [0x3e4ae0]>{contents = "CertID"} = <CFNumber 0x17d2bcc0 [0x3e4ae0]>{value = +4, type = kCFNumberSInt32Type}
              6 : <CFString 0x1de348 [0x3e4ae0]>{contents = "ChipSerialNo" XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
    update_baseband: requesting baseband firmware data
    001209.947204 AppleUSBOHCIPort@3100000::resetAndCreateDevice: failed to address device (0xe0004051), disabling port
    update_baseband: received data from host (15757603 bytes)
    update_baseband: performing next update stage
    bbupdater: BEGIN: Perform stage at second
    bbupdater:           Setting Security Mode...bbupdater:           OK
    bbupdater:           Sending new Root Manifest...bbupdater:           OK
    bbupdater:           Different, going to Program: Partition, DBL, OSBL, AMSS, DSP1, DSP2
    bbupdater:           Invalidating Old Root Manifest...bbupdater:           OK
    bbupdater:           Sending Partition Table...bbupdater:           OK
    bbupdater:           BEGIN: Sending 5 Images
    bbupdater:                     Sending Image 'DBL'...
    bbupdater:           0x8000 of 0xdf90 (57 percent)
    bbupdater:           0xdf90 of 0xdf90 (100 percent)
    bbupdater:
    bbupdater:                     Waiting...bbupdater:                     OK
    bbupdater:                     Sending Image 'OSBL'...
    bbupdater:           0x8000 of 0x6306c (8 percent)
    bbupdater:           0x10000 of 0x6306c (16 percent)
    bbupdater:           0x18000 of 0x6306c (24 percent)
    bbupdater:           0x20000 of 0x6306c (32 percent)
    bbupdater:           0x28000 of 0x6306c (40 percent)
    bbupdater:           0x30000 of 0x6306c (48 percent)
    bbupdater:           0x38000 of 0x6306c (56 percent)
    bbupdater:           0x40000 of 0x6306c (64 percent)
    bbupdater:           0x48000 of 0x6306c (72 percent)
    bbupdater:           0x50000 of 0x6306c (80 percent)
    bbupdater:           0x58000 of 0x6306c (88 percent)
    bbupdater:           0x60000 of 0x6306c (96 percent)
    bbupdater:           0x6306c of 0x6306c (100 percent)
    bbupdater:
    bbupdater:                     Waiting...bbupdater:                     OK
    bbupdater:                     Sending Image 'AMSS'...
    bbupdater:           0x8000 of 0x1b1000 (1 percent)
    bbupdater:           0x10000 of 0x1b1000 (3 percent)
    bbupdater:           0x18000 of 0x1b1000 (5 percent)
    bbupdater:           0x20000 of 0x1b1000 (7 percent)
    bbupdater:           0x28000 of 0x1b1000 (9 percent)
    bbupdater:           0x30000 of 0x1b1000 (11 percent)
    bbupdater:           0x38000 of 0x1b1000 (12 percent)
    bbupdater:           0x40000 of 0x1b1000 (14 percent)
    bbupdater:           0x48000 of 0x1b1000 (16 percent)
    bbupdater:           0x50000 of 0x1b1000 (18 percent)
    bbupdater:           0x58000 of 0x1b1000 (20 percent)
    bbupdater:           0x60000 of 0x1b1000 (22 percent)
    bbupdater:           0x68000 of 0x1b1000 (24 percent)
    bbupdater:           0x70000 of 0x1b1000 (25 percent)
    bbupdater:           0x78000 of 0x1b1000 (27 percent)
    bbupdater:           0x80000 of 0x1b1000 (29 percent)
    bbupdater:           0x88000 of 0x1b1000 (31 percent)
    bbupdater:           0x90000 of 0x1b1000 (33 percent)
    bbupdater:           0x98000 of 0x1b1000 (35 percent)
    bbupdater:           0xa0000 of 0x1b1000 (36 percent)
    bbupdater:           0xa8000 of 0x1b1000 (38 percent)
    bbupdater:           0xb0000 of 0x1b1000 (40 percent)
    bbupdater:           0xb8000 of 0x1b1000 (42 percent)
    bbupdater:           0xc0000 of 0x1b1000 (44 percent)
    bbupdater:           0xc8000 of 0x1b1000 (46 percent)
    bbupdater:           0xd0000 of 0x1b1000 (48 percent)
    bbupdater:           0xd8000 of 0x1b1000 (49 percent)
    bbupdater:           0xe0000 of 0x1b1000 (51 percent)
    bbupdater:           0xe8000 of 0x1b1000 (53 percent)
    bbupdater:           0xf0000 of 0x1b1000 (55 percent)
    bbupdater:           0xf8000 of 0x1b1000 (57 percent)
    bbupdater:           0x100000 of 0x1b1000 (59 percent)
    bbupdater:           0x108000 of 0x1b1000 (60 percent)
    bbupdater:           0x110000 of 0x1b1000 (62 percent)
    bbupdater:           0x118000 of 0x1b1000 (64 percent)
    bbupdater:           0x120000 of 0x1b1000 (66 percent)
    bbupdater:           0x128000 of 0x1b1000 (68 percent)
    bbupdater:           0x130000 of 0x1b1000 (70 percent)
    bbupdater:           0x138000 of 0x1b1000 (72 percent)
    bbupdater:           0x140000 of 0x1b1000 (73 percent)
    bbupdater:           0x148000 of 0x1b1000 (75 percent)
    bbupdater:           0x150000 of 0x1b1000 (77 percent)
    bbupdater:           0x158000 of 0x1b1000 (79 percent)
    bbupdater:           0x160000 of 0x1b1000 (81 percent)
    bbupdater:           0x168000 of 0x1b1000 (83 percent)
    bbupdater:           0x170000 of 0x1b1000 (84 percent)
    bbupdater:           0x178000 of 0x1b1000 (86 percent)
    bbupdater:           0x180000 of 0x1b1000 (88 percent)
    bbupdater:           0x188000 of 0x1b1000 (90 percent)
    bbupdater:           0x190000 of 0x1b1000 (92 percent)
    bbupdater:           0x198000 of 0x1b1000 (94 percent)
    bbupdater:           0x1a0000 of 0x1b1000 (96 percent)
    bbupdater:           0x1a8000 of 0x1b1000 (97 percent)
    bbupdater:           0x1b1000 of 0x1b1000 (100 percent)
    bbupdater:
    bbupdater:                     Waiting...bbupdater:                     OK
    bbupdater:                     Sending Image 'DSP1'...
    bbupdater:           0x8000 of 0x224f90 (1 percent)
    bbupdater:           0x10000 of 0x224f90 (2 percent)
    bbupdater:           0x18000 of 0x224f90 (4 percent)
    bbupdater:           0x20000 of 0x224f90 (5 percent)
    bbupdater:           0x28000 of 0x224f90 (7 percent)
    bbupdater:           0x30000 of 0x224f90 (8 percent)
    bbupdater:           0x38000 of 0x224f90 (10 percent)
    bbupdater:           0x40000 of 0x224f90 (11 percent)
    bbupdater:           0x48000 of 0x224f90 (13 percent)
    bbupdater:           0x50000 of 0x224f90 (14 percent)
    bbupdater:           0x58000 of 0x224f90 (16 percent)
    bbupdater:           0x60000 of 0x224f90 (17 percent)
    bbupdater:           0x68000 of 0x224f90 (18 percent)
    bbupdater:           0x70000 of 0x224f90 (20 percent)
    bbupdater:           0x78000 of 0x224f90 (21 percent)
    bbupdater:           0x80000 of 0x224f90 (23 percent)
    bbupdater:           0x88000 of 0x224f90 (24 percent)
    bbupdater:           0x90000 of 0x224f90 (26 percent)
    bbupdater:           0x98000 of 0x224f90 (27 percent)
    bbupdater:           0xa0000 of 0x224f90 (29 percent)
    bbupdater:           0xa8000 of 0x224f90 (30 percent)
    bbupdater:           0xb0000 of 0x224f90 (32 percent)
    bbupdater:           0xb8000 of 0x224f90 (33 percent)
    bbupdater:           0xc0000 of 0x224f90 (34 percent)
    bbupdater:           0xc8000 of 0x224f90 (36 percent)
    bbupdater:           0xd0000 of 0x224f90 (37 percent)
    bbupdater:           0xd8000 of 0x224f90 (39 percent)
    bbupdater:           0xe0000 of 0x224f90 (40 percent)
    bbupdater:           0xe8000 of 0x224f90 (42 percent)
    bbupdater:           0xf0000 of 0x224f90 (43 percent)
    bbupdater:           0xf8000 of 0x224f90 (45 percent)
    bbupdater:           0x100000 of 0x224f90 (46 percent)
    bbupdater:           0x108000 of 0x224f90 (48 percent)
    bbupdater:           0x110000 of 0x224f90 (49 percent)
    bbupdater:           0x118000 of 0x224f90 (51 percent)
    bbupdater:           0x120000 of 0x224f90 (52 percent)
    bbupdater:           0x128000 of 0x224f90 (53 percent)
    bbupdater:           0x130000 of 0x224f90 (55 percent)
    bbupdater:           0x138000 of 0x224f90 (56 percent)
    bbupdater:           0x140000 of 0x224f90 (58 percent)
    bbupdater:           0x148000 of 0x224f90 (59 percent)
    bbupdater:           0x150000 of 0x224f90 (61 percent)
    bbupdater:           0x158000 of 0x224f90 (62 percent)
    bbupdater:           0x160000 of 0x224f90 (64 percent)
    bbupdater:           0x168000 of 0x224f90 (65 percent)
    bbupdater:           0x170000 of 0x224f90 (67 percent)
    bbupdater:           0x178000 of 0x224f90 (68 percent)
    bbupdater:           0x180000 of 0x224f90 (69 percent)
    bbupdater:           0x188000 of 0x224f90 (71 percent)
    bbupdater:           0x190000 of 0x224f90 (72 percent)
    bbupdater:           0x198000 of 0x224f90 (74 percent)
    bbupdater:           0x1a0000 of 0x224f90 (75 percent)
    bbupdater:           0x1a8000 of 0x224f90 (77 percent)
    bbupdater:           0x1b0000 of 0x224f90 (78 percent)
    bbupdater:           0x1b8000 of 0x224f90 (80 percent)
    bbupdater:           0x1c0000 of 0x224f90 (81 percent)
    bbupdater:           0x1c8000 of 0x224f90 (83 percent)
    bbupdater:           0x1d0000 of 0x224f90 (84 percent)
    bbupdater:           0x1d8000 of 0x224f90 (85 percent)
    bbupdater:           0x1e0000 of 0x224f90 (87 percent)
    bbupdater:           0x1e8000 of 0x224f90 (88 percent)
    bbupdater:           0x1f0000 of 0x224f90 (90 percent)
    bbupdater:           0x1f8000 of 0x224f90 (91 percent)
    bbupdater:           0x200000 of 0x224f90 (93 percent)
    bbupdater:           0x208000 of 0x224f90 (94 percent)
    bbupdater:           0x210000 of 0x224f90 (96 percent)
    bbupdater:           0x218000 of 0x224f90 (97 percent)
    bbupdater:           0x220000 of 0x224f90 (99 percent)
    bbupdater:           0x224f90 of 0x224f90 (100 percent)
    bbupdater:
    bbupdater:                     Waiting...bbupdater:                     OK
    bbupdater:                     Sending Image 'DSP2'...
    bbupdater:           0x60000 of 0x23496e8 (1 percent)
    bbupdater:           0xb8000 of 0x23496e8 (2 percent)
    bbupdater:           0x110000 of 0x23496e8 (3 percent)
    bbupdater:           0x170000 of 0x23496e8 (4 percent)
    bbupdater:           0x1c8000 of 0x23496e8 (5 percent)
    bbupdater:           0x220000 of 0x23496e8 (6 percent)
    bbupdater:           0x280000 of 0x23496e8 (7 percent)
    bbupdater:           0x2d8000 of 0x23496e8 (8 percent)
    bbupdater:           0x330000 of 0x23496e8 (9 percent)
    bbupdater:           0x388000 of 0x23496e8 (10 percent)
    bbupdater:           0x3e8000 of 0x23496e8 (11 percent)
    bbupdater:           0x440000 of 0x23496e8 (12 percent)
    bbupdater:           0x498000 of 0x23496e8 (13 percent)
    bbupdater:           0x4f8000 of 0x23496e8 (14 percent)
    bbupdater:           0x550000 of 0x23496e8 (15 percent)
    bbupdater:           0x5a8000 of 0x23496e8 (16 percent)
    bbupdater:           0x600000 of 0x23496e8 (17 percent)
    bbupdater:           0x660000 of 0x23496e8 (18 percent)
    bbupdater:           0x6b8000 of 0x23496e8 (19 percent)
    bbupdater:           0x710000 of 0x23496e8 (20 percent)
    bbupdater:           0x770000 of 0x23496e8 (21 percent)
    bbupdater:           0x7c8000 of 0x23496e8 (22 percent)
    bbupdater:           0x820000 of 0x23496e8 (23 percent)
    bbupdater:           0x880000 of 0x23496e8 (24 percent)
    bbupdater:           0x8d8000 of 0x23496e8 (25 percent)
    bbupdater:           0x930000 of 0x23496e8 (26 percent)
    bbupdater:           0x988000 of 0x23496e8 (27 percent)
    bbupdater:           0x9e8000 of 0x23496e8 (28 percent)
    bbupdater:           0xa40000 of 0x23496e8 (29 percent)
    bbupdater:           0xa98000 of 0x23496e8 (30 percent)
    bbupdater:           0xaf8000 of 0x23496e8 (31 percent)
    bbupdater:           0xb50000 of 0x23496e8 (32 percent)
    bbupdater:           0xba8000 of 0x23496e8 (33 percent)
    bbupdater:           0xc00000 of 0x23496e8 (34 percent)
    bbupdater:           0xc60000 of 0x23496e8 (35 percent)
    bbupdater:           0xcb8000 of 0x23496e8 (36 percent)
    bbupdater:           0xd10000 of 0x23496e8 (37 percent)
    bbupdater:           0xd70000 of 0x23496e8 (38 percent)
    bbupdater:           0xdc8000 of 0x23496e8 (39 percent)
    bbupdater:           0xe20000 of 0x23496e8 (40 percent)
    bbupdater:           0xe78000 of 0x23496e8 (41 percent)
    bbupdater:           0xed8000 of 0x23496e8 (42 percent)
    bbupdater:           0xf30000 of 0x23496e8 (43 percent)
    bbupdater:           0xf88000 of 0x23496e8 (44 percent)
    bbupdater:           0xfe8000 of 0x23496e8 (45 percent)
    bbupdater:           0x1040000 of 0x23496e8 (46 percent)
    bbupdater:           0x1098000 of 0x23496e8 (47 percent)
    bbupdater:           0x10f8000 of 0x23496e8 (48 percent)
    bbupdater:           0x1150000 of 0x23496e8 (49 percent)
    bbupdater:           0x11a8000 of 0x23496e8 (50 percent)
    bbupdater:           0x1200000 of 0x23496e8 (51 percent)
    bbupdater:           0x1260000 of 0x23496e8 (52 percent)
    bbupdater:           0x12b8000 of 0x23496e8 (53 percent)
    bbupdater:           0x1310000 of 0x23496e8 (54 percent)
    bbupdater:           0x1370000 of 0x23496e8 (55 percent)
    bbupdater:           0x13c8000 of 0x23496e8 (56 percent)
    bbupdater:           0x1420000 of 0x23496e8 (57 percent)
    bbupdater:           0x1478000 of 0x23496e8 (58 percent)
    bbupdater:           0x14d8000 of 0x23496e8 (59 percent)
    bbupdater:           0x1530000 of 0x23496e8 (60 percent)
    bbupdater:           0x1588000 of 0x23496e8 (61 percent)
    bbupdater:           0x15e8000 of 0x23496e8 (62 percent)
    bbupdater:           0x1640000 of 0x23496e8 (63 percent)
    bbupdater:           0x1698000 of 0x23496e8 (64 percent)
    bbupdater:           0x16f0000 of 0x23496e8 (65 percent)
    bbupdater:           0x1750000 of 0x23496e8 (66 percent)
    bbupdater:           0x17a8000 of 0x23496e8 (67 percent)
    bbupdater:           0x1800000 of 0x23496e8 (68 percent)
    bbupdater:           0x1860000 of 0x23496e8 (69 percent)
    bbupdater:           0x18b8000 of 0x23496e8 (70 percent)
    bbupdater:           0x1910000 of 0x23496e8 (71 percent)
    bbupdater:           0x1970000 of 0x23496e8 (72 percent)
    bbupdater:           0x19c8000 of 0x23496e8 (73 percent)
    bbupdater:           0x1a20000 of 0x23496e8 (74 percent)
    bbupdater:           0x1a78000 of 0x23496e8 (75 percent)
    bbupdater:           0x1ad8000 of 0x23496e8 (76 percent)
    bbupdater:           0x1b30000 of 0x23496e8 (77 percent)
    bbupdater:           0x1b88000 of 0x23496e8 (78 percent)
    bbupdater:           0x1be8000 of 0x23496e8 (79 percent)
    bbupdater:           0x1c40000 of 0x23496e8 (80 percent)
    bbupdater:           0x1c98000 of 0x23496e8 (81 percent)
    bbupdater:           0x1cf0000 of 0x23496e8 (82 percent)
    bbupdater:           0x1d50000 of 0x23496e8 (83 percent)
    bbupdater:           0x1da8000 of 0x23496e8 (84 percent)
    bbupdater:           0x1e00000 of 0x23496e8 (85 percent)
    bbupdater:           0x1e60000 of 0x23496e8 (86 percent)
    bbupdater:           0x1eb8000 of 0x23496e8 (87 percent)
    bbupdater:           0x1f10000 of 0x23496e8 (88 percent)
    bbupdater:           0x1f68000 of 0x23496e8 (89 percent)
    bbupdater:           0x1fc8000 of 0x23496e8 (90 percent)
    bbupdater:           0x2020000 of 0x23496e8 (91 percent)
    bbupdater:           0x2078000 of 0x23496e8 (92 percent)
    bbupdater:           0x20d8000 of 0x23496e8 (93 percent)
    bbupdater:           0x2130000 of 0x23496e8 (94 percent)
    bbupdater:           0x2188000 of 0x23496e8 (95 percent)
    bbupdater:           0x21e8000 of 0x23496e8 (96 percent)
    bbupdater:           0x2240000 of 0x23496e8 (97 percent)
    bbupdater:           0x2298000 of 0x23496e8 (98 percent)
    bbupdater:           0x22f0000 of 0x23496e8 (99 percent)
    bbupdater:           0x23496e8 of 0x23496e8 (100 percent)
    bbupdater:
    bbupdater:                     Waiting...bbupdater:                     OK
    bbupdater:           END: Sending 5 Images
    bbupdater:           Finalize...bbupdater:           OK
    bbupdater:           Disconnecting...bbupdater:           OK
    bbupdater:           BEGIN: Preparing Initial stage
    bbupdater:                     Requested boot mode:  kBBUBootModeNone
    bbupdater:                     Creating transport, attempts remaining 1...bbupdater:                     OK
    bbupdater:                     Baseband VendorID [0x5C6] ProductID [0x9008]
    bbupdater:                     Modem not booting
    bbupdater:                     Modem not booting, attempts 1
    bbupdater:                     Creating transport, attempts remaining 1...bbupdater:                     FAILED(kBBUReturnIOError)
    bbupdater:                     Creating transport, attempts remaining 0...bbupdater:                     FAILED(kBBUReturnIOError)
    bbupdater:                     Modem not responding
    bbupdater:                     Modem must boot - attempts left 0
    bbupdater:                     Attempting to erase EFS and restarting the update process
    bbupdater:                     Forcing into first stage
    bbupdate

  • Edge keeps resetting composition size ( not really responsive experiment )

    Hello all,
    This is more a question to the adobe edge animate team i guess rather than the community.
    I recently had to do a project in adobe edge animate. I noticed the scale/responsiveness/resize is not really fitting my requirements, so i decided to tweak the resizing a bit. I wanted to achieve a fully responsive layout starting from x:0,y:0 ( top-left ), so the composition is always shown at 100% width & height.
    The problem with the current animate scaling is that , it always has blank/white spaces on the sides. Even if using the BOTH option in the composition settings it always fits( scale ) the content just by one of the dimensions( the bigger fitting one ). It would be either by height or by width , but not both. The other dimension is compensated with blank space.
    I made it work. Here's the demo. It's not completed and not sure if it will be because.. When the stage/composition loads, stars resizing(drag) the window. You'll notice that the stage resizes correctly and all of a sudden a smile starts appearing on anyone face, but unfortunately every time a user clicks a button ( or any action is executed ) the runtime resizes the main app again to it's original dimensions, breaking the fullscreen resize. For example , click on the black button NEXT , and you'll see the stage resized again with the edge resize logic
    I'm attaching my resize logic immediately after the resizing of the edge animate( binding it to the window resize ), that's why everytime a user resizes the window the resize is correct. The aspect ratio is preserved everywhere and everything works as I wanted, but for some strange reason for me everytime an action ( timeline action/trugger ) , or even a button action/trigger, the resize logic block is executed.
    So i guess my questions are:
    1.Why does edge animate resize the wrappers and the composition everytime an action is executed ? Isn't this also a performance problem?
    2.is there a way to stop this behaviour. I even made the composition non responsive hoping for even better result. In this case only my logic would be executed instead of two times for each resize event ( edge resize & my resize )
    3.Is there any way to overload the edge resize method or any way to make this work( stop animate to resize the stage and wrappers for every action )
    4.Also.. currently there is a resize initially so the stage is also resized on first view without resizing the window. but again i guess, because there are actions in my stage they are resetting the first resize aswell. I guess this one will not be a problem if the previous issue can have a workaround somehow.
    Thanks a lot..

    Hi Dalex,
    1. You need to know that Edge animate handles the responsive scaling by using css scaling the stage div element along X and Y axes by the same amount so that the aspect ratio is maintained. And that's the reason, when you apply responsive scaling value to both, Edge checks which of the attribute (height or width) fits the whole screen, and depending upon that it applies the scaling with aspect ratio maintained.
    2. By looking at the demo, I think that you want to have responsive scaling such that the game fits the whole screen along width and height. If I am thinking right, then that way, I think it will have a bad user experience if the user resize the window more in one direction, then you will loose the aspect ratio.
    3. So, what I would recommend is that you use "responsive scaling"=> "height or both", and "Center Stage"=>"horizontal or both". This way you'll have empty white space on either side but will have good user experience. Also, this way, you no longer need to use any extra code to handle responsive scaling yourself, and responsive scaling will work even after clicking buttons(as in your case).
    4. But still, if you don't like step#3, then you will have to create the whole anomation in Edge with units as "%" instead of "px". But in your case, it won't look good if user resizes browser window more in one direction.
    Let me know if that helps.
    hth,
    Vivekuma

  • MaxDB  (7.8.02.27) installation error: Invalid parameter Data Volumes

    Hi all,
    i get errors during installation procedure of MaxDB 7.8.02.27 at the point where i define the Database Volume paths (step 4b).
    If i use the default values the database gets created without errors.
    But if i do changes e.g. to the size of the data volume, the error appears when i click next:
    "Invalid value for data volume size: data size of 0KB does not make sense Specify useful sizes for your log volumes".
    If i create 2 data files with different names (DISKD0001, DISKD0002), i get an error mesage that i have used one filename twice.
    Now its getting strange: If i use the previous button to move one step back and then use the next button again, it sometimes
    accepts the settings and i´m able to start the installation and the database gets created.
    I´m remote on a VMWare server 2008 R2 (EN) and i´m using the x64 package of MaxDB.
    Any ideas?
    Thanks
    Martin Schneider

    Hi Martin,
    A general system error occurrs if file *.vmdk is larger than the maximum size supported ... It has to be replaced with the nearest acceptable value associated with the various block sizes so that  you can use to create a datastore.
    You may need to resize your block size while choosing VMFS datastore.
    Hope this is useful.
    Regards,
    Deepak Kori

  • ATM CLD Exam Solution: Feedback Welcome

    Attached is my solution for the ATM Exam.  It took about 6 hours to complete, but I think I could get it down to 4 (I took a significant detour).
    I'd love to hear from fellow test takers or graders out there on the choice of architecture and readability.
    Thanks,
    Tom
    Attachments:
    CLD Sample Exam - ATM Machine - Tom.zip ‏295 KB

    Here are a few more suggestions after reviewing your code.
    Clean up your wires. There are unnecessary bends all over the place as well as wires that run back on themselves (Out of position property node).
    Definitely get reid of all the property nodes. You really aren't using data flow with property nodes all over the place.
    As mentioned earlier, everything including the subVIs eed to be documented.
    Verify your functionality. This application doesn't meet the requirements. The out of position LED is not light properly for one. As mentioned your stop is not a graceful shutdown of the application.
    Use a project for your application.
    Consider placing your timing control in a subVI. You effectively have multiple copies of this functionality in your code.
    Don't use the Wait VI for timing control.
    As mentioned this really isn't a producer/consumer architecture. Take a look at the examples for how this normally looks.
    All constants should be labeled.
    Resize the front panel. Front panels should be size appropriately and shouldn't be a huge window with a few controls and indicators on it.
    Resize the block diagram to fit on a single screen and avoid the need to scroll to see everything.
    Make sure to align the controls and indicators are aligned on the front panel.
    Mark Yedinak
    "Does anyone know where the love of God goes when the waves turn the minutes to hours?"
    Wreck of the Edmund Fitzgerald - Gordon Lightfoot

  • Car wash CLD exam solution?

    Hello,
      Like a lot of people I'm trying to prepare for the CLD exam.  I'd like feedback on my solution - particularly where the exam graders are likely to take points off. So first I'd like an overal "grade" for what I'm posting here (labview 9).
    This took me about 6 hours to do - too long.  Part of that was deciding on the overall structure, and getting hung up on how to implement the "universal all stop" button.  
    Are there too many wire bends?  For me it can be a very time consuming
    process to re-arrange everything to reduce the number of bends.
    The description/tips and icon things also sucked up too much time.  
    Some specific things that I'm not sure about are:
    Is it ok to use property nodes for the "stop" button and "main power-wash" switches?  This solution works, but is it undesireable for some reason?  I had difficulty comming up with an alternative structure that allowed the stop button to activate in the middle of any part of the cycle.  I had worked on using an event structure to do this, but got frustrated and went with the property node.
    Does anyone have any sense if using a queue to sequence the cycle is considered any better than using a numerically sequenced case structure?  If I only have 4 hours, using a queue structure seems to be a little more labor intensive... (propagating error, initializing and releasing queue...).   I can see the advantage of using a queue (flexibility), but functionally a regular sequence would also work.  To phrase this better:  are points awarded for using more flexible programming structures?
    The timing sequences are rather primitive polling loops.  Does anyone think that I'd get docked for that lameness?  Is there a better way to do that?  I thought about using timing VI's and event structures, but the added complexity didn't seem worth it.  Well, ok, that and I couldn't implement it because there's still some things I really don't get with more sophisticated event structures.
    Attachments:
    car_wash.zip ‏50 KB

    Here are a few more suggestions after reviewing your code.
    Clean up your wires. There are unnecessary bends all over the place as well as wires that run back on themselves (Out of position property node).
    Definitely get reid of all the property nodes. You really aren't using data flow with property nodes all over the place.
    As mentioned earlier, everything including the subVIs eed to be documented.
    Verify your functionality. This application doesn't meet the requirements. The out of position LED is not light properly for one. As mentioned your stop is not a graceful shutdown of the application.
    Use a project for your application.
    Consider placing your timing control in a subVI. You effectively have multiple copies of this functionality in your code.
    Don't use the Wait VI for timing control.
    As mentioned this really isn't a producer/consumer architecture. Take a look at the examples for how this normally looks.
    All constants should be labeled.
    Resize the front panel. Front panels should be size appropriately and shouldn't be a huge window with a few controls and indicators on it.
    Resize the block diagram to fit on a single screen and avoid the need to scroll to see everything.
    Make sure to align the controls and indicators are aligned on the front panel.
    Mark Yedinak
    "Does anyone know where the love of God goes when the waves turn the minutes to hours?"
    Wreck of the Edmund Fitzgerald - Gordon Lightfoot

  • Mouse clicks blocked improperly when stage resizes

    Hi everyone,
    Been working on this for a while with no success. would really appreciate your help.
    We have the following issue: 1 main flex application is loading another flex application swf using a swfloader placing the child app in the same security domain, but in separate application domains from the parent. There is an '...allowDomain(*)' between the apps and the stage scaling is set to no scaling.
    The problem is that when the stage is resized (window size increases or it goes to fullscreen) the child app 'grows' a large invisible area that blocks mouse clicks from reaching the parent app. This area far exceeds the child app's width & height and can be seen only when doing 'right-click' --> 'show redraw regions'. When scaling the window slowly back to the original stage size that the flash player started out with, those areas grow smaller and eventually disappear. If i load the child app when the main app stage size (window size) is already very big (or in fullscreen), this issue does NOT appear.
    Thanks in advance,
    Uri

    Sounds like a bug.  If you have a simple test case, please file a bug.
    Alex Harui
    Flex SDK Developer
    Adobe Systems Inc.
    Blog: http://blogs.adobe.com/aharui

  • Automatic resizing of controls on block diagram

    Hi,
    I have control as strict type def and many instances (on block diagram) of this control in several VIs. When I add new element in this control all instances resizes to maximum size and that corrupt layout on block diagram because all structures resizes with that instances. Is there a way to avoid that?
    Thanks, andrej

    Place it on the front panel of a subVI as an output. Then call that subVI whenever you want the typedef.
    You can find more on using typedefs here.
    Try to take over the world!

  • Block level changes on linux when a datafile is reduced by resize

    Hi All,
    Does anyone know what happens at the block level on Linux when an oracle datafile has its size reduced. For instance, if I have a 6gb datafile with has had the extents written to but the current HWM is 2gb and i then reduce this datafile size from 6gb to 2gb. On the file system the file is resized to 2gb but what actually happens to the blocks on the OS? The reason I am asking is because I am running Linux on vmware and the vmware file is replicated at the block level. How much additional data would be replicated if I reduced the datafile with a resize. Would it replicate the 4gb difference, or is only the end of the datafile changing and if so are only a few blocks changing. Oracle seems to reduce the file size quickly so I am assuming it is not changing many blocks. Any ideas?
    cheers,
    Matt
    Edited by: user10993370 on Jul 30, 2011 5:59 AM

    Hi Matt,
    Are your datafiles on ASM? Raw? Filesystem?
    I have not tested it, but I suspect that Oracle simply re-writes the extent map, whether that's in ASM, on the raw device, or on the filesystem.
    -Mark

  • Resizing events, and blocking application

    Hi,
    While developing my application, that displays the state of processes, I observed something I can not duplicate that good. While debugging the app, I observed that when I manually resize the window size, my application could block (as in not response any more and stop running altogether). As said, I can not duplicate the problem. At the moment I can resize the window while it is updated, and the app keeps on running and stays responsive. But to solve this (potential) problem, should I add an event listener like WindowStateListener? Does this method catch window resizing events? And could I then add to my code something like
        public void windowStateChanged(WindowEvent e) {
            repaint();
        }Or, stated otherwise, to what event should I listen so a window resize event can be caught, and used to repaint the window?
    Abel

    I think that before resizing a windowActivated() event is generated... you could use this to set up your task before the window is resized. Of course, an activation doesn't mean resizing but perhaps it could help.
    Regards.

  • Resize block-frame at runtime?

    Hello,
    is it possible to resize and reposition a block´s frame at runtime? We want to implement a configurable form. Why is the frame not a "block-element" but a "canvas-element"? Is there any posibility to change boilerplates at runtime?
    thanks in advance
    Anna

    You can't change boilerplate elemenets at runtime. As such you can't change the block frame.

Maybe you are looking for

  • ASDM 7.1 fails to start on MacOS

    Hi, I have an ASA-5505 which I have been managing using ASDM from a PC and a Mac. I just happens that the Mac has not been used in a little while and when I tried to use ASDM on it, it fails. I've had a trawl through various posts and release notes (

  • Connect a macbook pro to on old tv with only aerial cable input

    I'm trying to connect a macbook pro to on old tv with only aerial cable input, i have a mini displayport to vga, vga to s-video/phono(yellow) and a phono to aerial, the macbook doesnt recognize it as a display, any suggestions? Can i force it to send

  • Sql item - get url from page

    Hi I'm trying to display a menu from a table, and then I want to mark the current page in that menu by reading the url of the current page. This is what i've got so far: DECLARE loc Varchar2(40); BEGIN loc := htp.script('document.url'); htp.print('<t

  • My iPhone 4 got wet!

    My iPhone 4 got wet couple of days ago,i tried putting it in rice,it didnt work,its giving an iTunes symbol when i connect it to the mains and then it turns off immediately after i remove it from the mains , so i think it is dead , i want to replace

  • Datagrid Column with complex itemRenderer / itemEditor

    I have a datagrid with a custom component used as an itemRenderer / editor. The component has two view states (default is simply the text of my data and the second state contains my editor fields). I have is set up so that when an individual double-c