Is The Theme Editor Working?


Lrrrence

Members
Nov 24, 2016
10
13
I tried installing MIUI Theme Editor (6.6.3) today, but I don't seem to be able to import resources from my phone (Mi5s). Does anyone have experience of it working on this rom? I'm on 6.10.20. I've made sure my adb is working correctly, and on multiple USB ports.
 
MI 5s
MIUI Stable 8.0.10.0
Android 6.0.1


I tried MIUINewThemeEditor_6.6.30_1467269495_jre7 by starting the "run-windows.bat".
Program is running and I am able to open some of the *.mtz files from disk and edit them but it does not import resources or connect to the phone. My Java knowledge is not good enough to solve the problem on my own.

Here is the logfile:
---------------------------------------------------------------------------------------------------------------------------------------------------------
[DEBUG 2017-01-02 21:28:54.409] [AWT-EventQueue-0] com.miui.theme.tool.util.ShortcutManager.addShortcutListener(Unknown Source) [The shourt cut is already used.]
[ERROR 2017-01-02 21:29:13.566] [AWT-EventQueue-0] com.miui.theme.tool.gui.main.NewThemeDialog$2.actionPerformed(Unknown Source) [C:\Users\bill\Documents\test]
[DEBUG 2017-01-02 21:29:13.574] [AWT-EventQueue-0] com.miui.theme.tool.gui.main.ThemeManager.openTheme(Unknown Source) [C:\Users\bill\Documents\test opening...]
[ERROR 2017-01-02 21:29:18.099] [AWT-EventQueue-0] com.miui.theme.tool.os.Adb.uninstall(Unknown Source) [push fail, {}]

An established connection was aborted by the software in your host machine
at sun.nio.ch.SocketDispatcher.read0(Native Method)
at sun.nio.ch.SocketDispatcher.read(SocketDispatcher.java:43)
at sun.nio.ch.IOUtil.readIntoNativeBuffer(IOUtil.java:223)
at sun.nio.ch.IOUtil.read(IOUtil.java:197)
at sun.nio.ch.SocketChannelImpl.read(SocketChannelImpl.java:379)
at com.android.ddmlib.AdbHelper.read(AdbHelper.java:759)
at com.android.ddmlib.AdbHelper.read(AdbHelper.java:736)
at com.android.ddmlib.AdbHelper.readAdbResponse(AdbHelper.java:222)
at com.android.ddmlib.AdbHelper.executeRemoteCommand(AdbHelper.java:456)
at com.android.ddmlib.AdbHelper.executeRemoteCommand(AdbHelper.java:382)
at com.android.ddmlib.Device.executeShellCommand(Device.java:613)
at com.android.ddmlib.Device.isRoot(Device.java:1231)
at com.android.ddmlib.Device.root(Device.java:1222)
at com.miui.theme.tool.os.Adb.getDevice(Unknown Source)
at com.miui.theme.tool.os.Adb.uninstall(Unknown Source)
at com.miui.theme.tool.catalog.CatalogManager.refreshAppList(Unknown Source)
at com.miui.theme.tool.catalog.CatalogManager.getHashMapApps(Unknown Source)
at com.miui.theme.tool.icon.MockLauncher.<init>(Unknown Source)
at com.miui.theme.tool.icon.BaseIconPanel.initMockLauncher(Unknown Source)
at com.miui.theme.tool.icon.BaseIconPanel.<init>(Unknown Source)
at com.miui.theme.tool.icon.SystemIconPanel.<init>(Unknown Source)
at com.miui.theme.tool.icon.IconTabPanel$1.valueChanged(Unknown Source)
at com.miui.theme.tool.gui.outlook.OutlookPanelModel.fireSelectionChanged(Unknown Source)
at com.miui.theme.tool.gui.outlook.OutlookPanel.listSelected(Unknown Source)
at com.miui.theme.tool.gui.outlook.OutlookListPanel$1.valueChanged(Unknown Source)
at javax.swing.JList.fireSelectionValueChanged(JList.java:1798)
at javax.swing.JList$ListSelectionHandler.valueChanged(JList.java:1812)
at javax.swing.DefaultListSelectionModel.fireValueChanged(DefaultListSelectionModel.java:184)
at javax.swing.DefaultListSelectionModel.fireValueChanged(DefaultListSelectionModel.java:164)
at javax.swing.DefaultListSelectionModel.fireValueChanged(DefaultListSelectionModel.java:211)
at javax.swing.DefaultListSelectionModel.changeSelection(DefaultListSelectionModel.java:405)
at javax.swing.DefaultListSelectionModel.changeSelection(DefaultListSelectionModel.java:415)
at javax.swing.DefaultListSelectionModel.setSelectionInterval(DefaultListSelectionModel.java:459)
at javax.swing.JList.setSelectedIndex(JList.java:2212)
at com.miui.theme.tool.gui.outlook.OutlookPanel.defaultOpen(Unknown Source)
at com.miui.theme.tool.icon.IconTabPanel.initIconTab(Unknown Source)
at com.miui.theme.tool.icon.IconTabPanel.<init>(Unknown Source)
at com.miui.theme.tool.gui.main.MainTabPanel.getPanel(Unknown Source)
at com.miui.theme.tool.gui.main.MainTabPanel.switchTab(Unknown Source)
at com.miui.theme.tool.gui.main.MainTabPanel.switchTab(Unknown Source)
at com.miui.theme.tool.gui.main.MainTabPanel.afterOpenTheme(Unknown Source)
at com.miui.theme.tool.gui.main.MainPanel.afterOpenTheme(Unknown Source)
at com.miui.theme.tool.gui.main.ThemeManager.openTheme(Unknown Source)
at com.miui.theme.tool.gui.main.NewThemeDialog$2.actionPerformed(Unknown Source)
at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:2018)
at javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2341)
at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:402)
at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:259)
at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(BasicButtonListener.java:252)
at java.awt.Component.processMouseEvent(Component.java:6505)
at javax.swing.JComponent.processMouseEvent(JComponent.java:3320)
at java.awt.Component.processEvent(Component.java:6270)
at java.awt.Container.processEvent(Container.java:2229)
at java.awt.Component.dispatchEventImpl(Component.java:4861)
at java.awt.Container.dispatchEventImpl(Container.java:2287)
at java.awt.Component.dispatchEvent(Component.java:4687)
at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4832)
at java.awt.LightweightDispatcher.processMouseEvent(Container.java:4492)
at java.awt.LightweightDispatcher.dispatchEvent(Container.java:4422)
at java.awt.Container.dispatchEventImpl(Container.java:2273)
at java.awt.Window.dispatchEventImpl(Window.java:2719)
at java.awt.Component.dispatchEvent(Component.java:4687)
at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:735)
at java.awt.EventQueue.access$200(EventQueue.java:103)
at java.awt.EventQueue$3.run(EventQueue.java:694)
at java.awt.EventQueue$3.run(EventQueue.java:692)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.ProtectionDomain$1.doIntersectionPrivilege(ProtectionDomain.java:76)
at java.security.ProtectionDomain$1.doIntersectionPrivilege(ProtectionDomain.java:87)
at java.awt.EventQueue$4.run(EventQueue.java:708)
at java.awt.EventQueue$4.run(EventQueue.java:706)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.ProtectionDomain$1.doIntersectionPrivilege(ProtectionDomain.java:76)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:705)
at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:242)
at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:161)
at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:154)
at java.awt.WaitDispatchSupport$2.run(WaitDispatchSupport.java:182)
at java.awt.WaitDispatchSupport$4.run(WaitDispatchSupport.java:221)
at java.security.AccessController.doPrivileged(Native Method)
at java.awt.WaitDispatchSupport.enter(WaitDispatchSupport.java:219)
at java.awt.Dialog.show(Dialog.java:1082)
at java.awt.Component.show(Component.java:1651)
at java.awt.Component.setVisible(Component.java:1603)
at java.awt.Window.setVisible(Window.java:1014)
at java.awt.Dialog.setVisible(Dialog.java:1005)
at com.miui.theme.tool.gui.main.MainFirstPage$4.actionPerformed(Unknown Source)
at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:2018)
at javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2341)
at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:402)
at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:259)
at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(BasicButtonListener.java:252)
at java.awt.Component.processMouseEvent(Component.java:6505)
at javax.swing.JComponent.processMouseEvent(JComponent.java:3320)
at java.awt.Component.processEvent(Component.java:6270)
at java.awt.Container.processEvent(Container.java:2229)
at java.awt.Component.dispatchEventImpl(Component.java:4861)
at java.awt.Container.dispatchEventImpl(Container.java:2287)
at java.awt.Component.dispatchEvent(Component.java:4687)
at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4832)
at java.awt.LightweightDispatcher.processMouseEvent(Container.java:4492)
at java.awt.LightweightDispatcher.dispatchEvent(Container.java:4422)
at java.awt.Container.dispatchEventImpl(Container.java:2273)
at java.awt.Window.dispatchEventImpl(Window.java:2719)
at java.awt.Component.dispatchEvent(Component.java:4687)
at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:735)
at java.awt.EventQueue.access$200(EventQueue.java:103)
at java.awt.EventQueue$3.run(EventQueue.java:694)
at java.awt.EventQueue$3.run(EventQueue.java:692)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.ProtectionDomain$1.doIntersectionPrivilege(ProtectionDomain.java:76)
at java.security.ProtectionDomain$1.doIntersectionPrivilege(ProtectionDomain.java:87)
at java.awt.EventQueue$4.run(EventQueue.java:708)
at java.awt.EventQueue$4.run(EventQueue.java:706)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.ProtectionDomain$1.doIntersectionPrivilege(ProtectionDomain.java:76)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:705)
at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:242)
at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:161)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:150)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:146)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:138)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:91)
[DEBUG 2017-01-02 21:29:18.102] [AWT-EventQueue-0] com.miui.theme.tool.util.GUIUtil.toast(Unknown Source) [No devices found!]
[DEBUG 2017-01-02 21:29:18.442] [AWT-EventQueue-0] com.miui.theme.tool.util.GUIUtil.toast(Unknown Source) [Couldn't refresh app]
[DEBUG 2017-01-02 21:29:18.475] [AWT-EventQueue-0] com.miui.theme.tool.util.GUIUtil.toast(Unknown Source) [No devices found!]
[DEBUG 2017-01-02 21:29:18.504] [AWT-EventQueue-0] com.miui.theme.tool.util.GUIUtil.toast(Unknown Source) [No devices found!]
[DEBUG 2017-01-02 21:29:18.829] [AWT-EventQueue-0] com.miui.theme.tool.util.GUIUtil.toast(Unknown Source) [Couldn't refresh app]
[DEBUG 2017-01-02 21:29:18.860] [AWT-EventQueue-0] com.miui.theme.tool.util.GUIUtil.toast(Unknown Source) [No devices found!]
[DEBUG 2017-01-02 21:29:18.893] [AWT-EventQueue-0] com.miui.theme.tool.util.GUIUtil.toast(Unknown Source) [No devices found!]
[DEBUG 2017-01-02 21:29:19.226] [AWT-EventQueue-0] com.miui.theme.tool.util.GUIUtil.toast(Unknown Source) [Couldn't refresh app]
---------------------------------------------------------------------------------------------------------------------------------------------------------