11-14-2013 01:16 PM
86 1234
tools
  1. pool_shark's Avatar
    The script isn't mine. I found no way around the decompile failure until I tried it manually.
    Option 9 failed on me so many times I stopped using the script.

    At the time the method was introduced to Note 2 users, gmail and youtube were system apps, the process worked for them.

    But you need root to get to the system apps. If you have root you don't need this method, just install the mod for all apps.
    If you unlocked the bootloader, there is a multi window control mod that is flashed in recovery. That's the method I use now.
    12-29-2012 08:16 AM
  2. dominick_7's Avatar
    For say Chrome I can decompile it, along with Gmail, but I had to do the manual decompling because using the program to do it didn't work.. it closed out. If I can get it to decompile manually, is there a way to recompile it manually via the command prompt? For the path I went to the actual C: drive to the java folder opened it up till I got to bin, copied that address (which is different from what's found in CLASSPATH for java.. is that wrong to do? When I tried to use the path from CLASSPATH to put it into the path section, I couldn't get anywhere with this process. Don't know what I'm doing wrong.
    12-30-2012 07:28 PM
  3. pool_shark's Avatar
    There are manual recompile instructions in the guide.
    12-30-2012 08:44 PM
  4. dominick_7's Avatar
    There are manual recompile instructions in the guide.
    Uh where? I followed it and for recompiling I thought he just referred BACK to using the script which didn't work for me.. He gives a manual way to decompile using the command prompt, but doesn't give a manual way to use the command prompt to recompile. The only instructions I see to recompile is to use the Script.bat file. I'm looking for a way to manually recompile using the command prompt, unless someone can let me know what I'm missing/why it's not working using the Script.
    12-31-2012 12:26 AM
  5. pool_shark's Avatar
    Uh where? I followed it and for recompiling I thought he just referred BACK to using the script which didn't work for me.. He gives a manual way to decompile using the command prompt, but doesn't give a manual way to use the command prompt to recompile. The only instructions I see to recompile is to use the Script.bat file. I'm looking for a way to manually recompile using the command prompt, unless someone can let me know what I'm missing/why it's not working using the Script.
    Right under the decompile instructions using the manual method.


    To decompile the apk type:
    apktool d -s --no-src mms.apk (mms is the file name used in this example).
    When the app has been decompiled it will look like the following:
    I: Copying raw classes.dex file...
    I: Loading resource table...
    I: Loaded.
    I: Decoding AndroidManifest.xml with resources...
    I: Loading resource table from file: C:\Users\js\apktool\framework\1.apk
    I: Loaded.
    I: Decoding file-resources...
    I: Decoding values */* XMLs...
    I: Done.
    I: Copying assets and libs...

    You will now have a folder with the named mms (mms is the apk file used in this example) inside "desktop\apk-multi-toolv1.0.10\apk-multi-tool\other".
    Now you can perform the same steps as above to modify the xml file.
    After saving the xml file, go back to the command line and recompile the apk by typing the following:
    apktool b mms (mms is just the example used here).

    If the app compiles successfully you will see the following:
    I: Copying classes.dex file...
    I: Checking whether resources has changed...
    I: Building resources...
    I: Building apk file...

    If the app does not recompile successfully this app cannot be used.

    After successfully compiling the app, you now have to sign the apk file in order to install it onto your device.
    The apk you'll need to sign is located in the "desktop\apk-multi-toolv1.0.10\apk-multi-tool\other\mms\dist" folder. mms is only the file name used in this example.
    You can move this file up to the "other" folder.

    To sign the apk file, type the following:

    java -jar SignApk.jar -w testkey.x509.pem testkey.pk8 "mms.apk" signed.mms.apk (mms is only the file name used in this example).

    You should now have a properly signed apk modified to work with multi-view.
    You can now transfer the signed_.apk file to your device to be installed. The previous version of the app must be uninstalled first.
    12-31-2012 08:28 AM
  6. dominick_7's Avatar
    Right under the decompile instructions using the manual method.


    To decompile the apk type:
    apktool d -s --no-src mms.apk (mms is the file name used in this example).
    When the app has been decompiled it will look like the following:
    I: Copying raw classes.dex file...
    I: Loading resource table...
    I: Loaded.
    I: Decoding AndroidManifest.xml with resources...
    I: Loading resource table from file: C:\Users\js\apktool\framework\1.apk
    I: Loaded.
    I: Decoding file-resources...
    I: Decoding values */* XMLs...
    I: Done.
    I: Copying assets and libs...

    You will now have a folder with the named mms (mms is the apk file used in this example) inside "desktop\apk-multi-toolv1.0.10\apk-multi-tool\other".
    Now you can perform the same steps as above to modify the xml file.
    After saving the xml file, go back to the command line and recompile the apk by typing the following:
    apktool b mms (mms is just the example used here).

    If the app compiles successfully you will see the following:
    I: Copying classes.dex file...
    I: Checking whether resources has changed...
    I: Building resources...
    I: Building apk file...

    If the app does not recompile successfully this app cannot be used.

    After successfully compiling the app, you now have to sign the apk file in order to install it onto your device.
    The apk you'll need to sign is located in the "desktop\apk-multi-toolv1.0.10\apk-multi-tool\other\mms\dist" folder. mms is only the file name used in this example.
    You can move this file up to the "other" folder.

    To sign the apk file, type the following:

    java -jar SignApk.jar -w testkey.x509.pem testkey.pk8 "mms.apk" signed.mms.apk (mms is only the file name used in this example).

    You should now have a properly signed apk modified to work with multi-view.
    You can now transfer the signed_.apk file to your device to be installed. The previous version of the app must be uninstalled first.
    Lol wow I'm blind.. wth. Sorry about that.. Thank you so much! I successfully recompiled a signed Chrome browser app for my Galaxy Note 2!!!! Woohoo Happy New Year! Had three questions. Think it's a stupid question perhaps, but now that it's signed, can I rename the file to whatever I'd like or does it need to say signed.Chrome_18.0.1025469 for it to work? Also if an update comes out, do we know for certain the update won't work, where we will have to uninstall it, do this work on the new update again or have some reported the update working while retaining the ability to use it in Multiview? Lastly what sort of spaces do we need when adding the code to the xml file? Do we paste the code RIGHT after say the > or does there need to be a space.. likewise with the /category one, do we need a space between the beginning of that < and the last part of the code or is it ok that they meet like so ><? Seems like it properly was able to process the beginning code, but when it got to the last part of it it had problems I'm thinking due to the way the code is spaced. Thanks again so much! Happy New Year!

    EDIT: Update.. even though the Chrome one worked via the process, I can't seem to get it to add to the Multiview pane on the left side.. tried to drag it from the App tray, from a shortcut on a homescreen.. nothing seems to work.. am I missing something?
    12-31-2012 11:07 PM
  7. pool_shark's Avatar
    Lol wow I'm blind.. wth. Sorry about that.. Thank you so much! I successfully recompiled a signed Chrome browser app for my Galaxy Note 2!!!! Woohoo Happy New Year! Had three questions. Think it's a stupid question perhaps, but now that it's signed, can I rename the file to whatever I'd like or does it need to say signed.Chrome_18.0.1025469 for it to work? Also if an update comes out, do we know for certain the update won't work, where we will have to uninstall it, do this work on the new update again or have some reported the update working while retaining the ability to use it in Multiview? Lastly what sort of spaces do we need when adding the code to the xml file? Do we paste the code RIGHT after say the > or does there need to be a space.. likewise with the /category one, do we need a space between the beginning of that < and the last part of the code or is it ok that they meet like so ><? Seems like it properly was able to process the beginning code, but when it got to the last part of it it had problems I'm thinking due to the way the code is spaced. Thanks again so much! Happy New Year!

    EDIT: Update.. even though the Chrome one worked via the process, I can't seem to get it to add to the Multiview pane on the left side.. tried to drag it from the App tray, from a shortcut on a homescreen.. nothing seems to work.. am I missing something?
    You can name the file whatever you like.

    The modified apps will not take updates due to the incorrect signature. If you want the update you will have to uninstall the modified app and install the app from the play store. If you want to use the updated app in multi view you will have to repeat the process, unless the developer added support.

    You can uninstall the app just like any other app, either from the app drawer or from settings.

    You paste the first line below the line shown and the other lines above the line shown.
    01-01-2013 08:30 AM
  8. dominick_7's Avatar
    You can name the file whatever you like.

    The modified apps will not take updates due to the incorrect signature. If you want the update you will have to uninstall the modified app and install the app from the play store. If you want to use the updated app in multi view you will have to repeat the process, unless the developer added support.

    You can uninstall the app just like any other app, either from the app drawer or from settings.

    You paste the first line below the line shown and the other lines above the line shown.
    Awesome thank you. Have no problem installing or uninstalling and redoing the process for newer updated apps but do you happen to know why even though Chrome was decompiled and recompiled with signature correctly it for some reason can't be added to the Multiview pane? Is there a certain way to add them to multiview that I'm not aware of?
    01-01-2013 10:52 AM
  9. pool_shark's Avatar
    Awesome thank you. Have no problem installing or uninstalling and redoing the process for newer updated apps but do you happen to know why even though Chrome was decompiled and recompiled with signature correctly it for some reason can't be added to the Multiview pane? Is there a certain way to add them to multiview that I'm not aware of?
    Did you check to see if chrome was in the edit pane?
    Some of the apps go into the bar automatically, others go into the edit pane, and others just don't show, but they still work.
    01-01-2013 11:18 AM
  10. dominick_7's Avatar
    Did you check to see if chrome was in the edit pane?
    Some of the apps go into the bar automatically, others go into the edit pane, and others just don't show, but they still work.
    Yea when I click Edit only Polaris that I put there is in there..
    01-01-2013 06:15 PM
  11. pool_shark's Avatar
    Yea when I click Edit only Polaris that I put there is in there..
    Others had chrome in the bar. Check the credits link in the OP. I think they had a working chrome there.
    01-01-2013 06:24 PM
  12. dominick_7's Avatar
    Others had chrome in the bar. Check the credits link in the OP. I think they had a working chrome there.
    Hmm yea I see that. I downloaded what was made available, but I kind feel better about it and more secure if I could figure out how to do it myself. Oh one other thing I was wondering was why it does a ping check when you try to get the Script working? Seems kind of odd to need an internet connection no?
    01-01-2013 08:34 PM
  13. pool_shark's Avatar
    Hmm yea I see that. I downloaded what was made available, but I kind feel better about it and more secure if I could figure out how to do it myself. Oh one other thing I was wondering was why it does a ping check when you try to get the Script working? Seems kind of odd to need an internet connection no?
    Security is the reason I started making my own.
    The script isn't mine, I can't answer that.
    01-01-2013 08:44 PM
  14. dominick_7's Avatar
    Security is the reason I started making my own.
    The script isn't mine, I can't answer that.
    My antivirus said it was a very low level threat, as in not harmful, but still.. isn't that kind of strange? Like do you ever wonder why would it need internet connection to work?
    01-02-2013 06:51 AM
  15. pool_shark's Avatar
    My antivirus said it was a very low level threat, as in not harmful, but still.. isn't that kind of strange? Like do you ever wonder why would it need internet connection to work?
    I didn't notice that it did a ping.
    01-02-2013 06:58 AM
  16. DroidXcon's Avatar
    Hmm yea I see that. I downloaded what was made available, but I kind feel better about it and more secure if I could figure out how to do it myself. Oh one other thing I was wondering was why it does a ping check when you try to get the Script working? Seems kind of odd to need an internet connection no?
    Because its setup to check for updates to the application I believe. So it checks for connection then asks if you would like to check for an update

    From my Galaxy Note 2 via Tapatalk
    01-02-2013 10:32 AM
  17. dominick_7's Avatar
    Because its setup to check for updates to the application I believe. So it checks for connection then asks if you would like to check for an update

    From my Galaxy Note 2 via Tapatalk
    Ah ok that makes sense. Made me feel wary when I saw it but that would make sense. Still don't get why the one I was successful with though won't let me put it on the multiview:/
    01-02-2013 10:59 AM
  18. DroidXcon's Avatar
    Ah ok that makes sense. Made me feel wary when I saw it but that would make sense. Still don't get why the one I was successful with though won't let me put it on the multiview:/
    Yeah I don't know enough to to have an answer for that

    From my Galaxy Note 2 via Tapatalk
    01-02-2013 11:09 AM
  19. dominick_7's Avatar
    I didn't notice that it did a ping.
    I see other directions referring to framework.. is that why it's not working, because I don't have that?
    01-02-2013 12:12 PM
  20. pool_shark's Avatar
    I see other directions referring to framework.. is that why it's not working, because I don't have that?
    No. I didn't install that either. You only need that if you're doing the ROM framework.
    01-02-2013 12:32 PM
  21. dominick_7's Avatar
    Hmm.. don't get it.. successful decompile, successful recompile, it says signed on the title.. but nothing but pure unadulterated fail.
    01-02-2013 05:43 PM
  22. pool_shark's Avatar
    Hmm.. don't get it.. successful decompile, successful recompile, it says signed on the title.. but nothing but pure unadulterated fail.
    What app?
    I can try it tomorrow.
    01-02-2013 09:43 PM
  23. dominick_7's Avatar
    What app?
    I can try it tomorrow.
    Chrome. I know it's been apparently done by others but would Definitely like to know how/why it doesn't work for me even though it says it's successful.
    01-03-2013 04:37 AM
  24. A2H GO's Avatar
    Chrome already works with Multi View anyway?
    01-03-2013 07:00 AM
  25. pool_shark's Avatar
    Chrome. I know it's been apparently done by others but would Definitely like to know how/why it doesn't work for me even though it says it's successful.
    Check your edits to the xml, it worked for me.

    Chrome already works with Multi View anyway?
    Unless the app has been updated to accomodate multi view or you're rooted and have the mwc tool, no it doesn't.
    01-03-2013 07:22 AM
86 1234

Similar Threads

  1. How-To Enable ADB for the Kindle Fire (Windows)
    By Jerry Hildenbrand in forum Amazon Kindle Fire
    Replies: 9
    Last Post: 10-19-2012, 08:05 PM
  2. Replies: 1
    Last Post: 07-25-2012, 04:52 AM
  3. How to "enable video" in settings for use with Skype
    By rocksdahouse in forum Samsung Galaxy Tab 10-inch
    Replies: 1
    Last Post: 10-03-2011, 10:28 AM
  4. [HOW-TO] Work-arounds for issues with stock Nook Color ROM
    By hitman-_-45-_- in forum Barnes & Noble Nook Color
    Replies: 21
    Last Post: 03-25-2011, 05:36 AM
  5. App for using an Android device as input to a PC
    By johnssm in forum Market Help
    Replies: 0
    Last Post: 12-10-2010, 08:56 PM
LINK TO POST COPIED TO CLIPBOARD