[HOW TO] Make Swype Work on the TouchPad - TouchPad General

UPDATE: I haven't updated this in a while as it's too hard to keep a thread here and at rootzwiki. If you need help, have questions or want better directions (including how to do this for cm9) head over to the rootzwiki thread instead located here: http://rootzwiki.com/topic/6712-how...-the-touchpad-updated-for-ics-with-more-info/
Swype does not work out of the box, but some small hacks in smali will make it work okay (though not really made for the size of the TouchPad). Since Swype does not like people redistributing their app, I cannot post it on here. However, for anyone with the ability and patience, this is how you get it to work:
1) download the apktool (google it)
2) decompile your Swype installer you had from your phone with apktool (it's in /data/app)
3) look for the file in the smali directory called InstallerService.smali
4) In that file, find the following lines under the method .method public doDownloadList(ZIZ)I and comment them out like so by putting a # in front of them like so:
#invoke-virtual {v8}, Landroid/view/Display;->getWidth()I
#move-result v2
#invoke-virtual {v8}, Landroid/view/Display;->getHeight()I
#move-result v3
5) Add the following right below those lines:
const/16 v2, 0x400 #hex for 1024px screen width
const/16 v3, 0x258 #hex for 600px screen height
6) recompile the apk with apktool and sign it with signapk (google it) or something else that works.
7) stick it on your touchpad and run it.
8) no more *****ing about "invalid device size" and it works
NOTE: do not bother trying to make it 1280x800, it wont work, since it thinks you are running honeycomb and obviously we are not. Smaller sizes that are supported by swype will work, but with mixed results.
http://beta.swype.com/android/supported/

Can you upload the modified file please ?
Sent from my HP Touchpad using xda premium

lancelot54 said:
Can you upload the modified file please ?
Sent from my HP Touchpad using xda premium
Click to expand...
Click to collapse
Did you read what I said about distributing it? Their terms of service say not to and people have scolded by mods for uploading it before on xda (hence the DIY method).
If you cannot do the fix, I would petition swype to fix it
EDIT:
If a mod chimes in and says it's okay to post the apk itself for the installer, I'll do so.

Worked out of the box for me

getting multiple resources error while trying to decompile!

Installed using root explorer

Can you tell us how you installed with Root Explorer plz?

I had an extra copy of swype.apk backed up from a custom ROM on my other android phone. After transferring the file to the touchpad, I simply installed by locating the swype.apk file via root explorer.

whistler4ever said:
getting multiple resources error while trying to decompile!
Click to expand...
Click to collapse
Dunno why you would get that. I used the latest apktool version and ran (on linux):
./apktool.sh d Swype-Installer.apk
and
./apktool.sh b Swype-Installer-Directory/

ima say this for its benefit.. i used a cracked version from a frowned upon source. it worked but had space on its left and rightborders ( didnt take upthe ehole window). i have since uninstalled, tho it worked perfectly fine.

anybody have this? the apk for swype installer should be free to redistribute as anyone can download it from http://beta.swype.com/android/get/ (saying you do it from your phone or change the user agent string). the thing they dont want you to redistribute is swype itself so they can control if they want you to pay for it when it is out of beta by using the swype installer for verification that you are a beta user.

sewhuy said:
I had an extra copy of swype.apk backed up from a custom ROM on my other android phone. After transferring the file to the touchpad, I simply installed by locating the swype.apk file via root explorer.
Click to expand...
Click to collapse
I'm guessing that only works with Android and not WebOS?
Sent from my Desire HD using Tapatalk

Correct. The only option for webOS is the default keyboard.
Sent from my HP Touchpad using Tapatalk

well that took forever lol... i finally got it working though. yay!

i tested both swype and sliteit. i prefer sliteit as it fills the screen rather than swype that leaves a left and right gutter

sewhuy said:
Installed using root explorer
Click to expand...
Click to collapse
How did you get that specific skin? It looks so much cooler than mine.
Sent from my HP Touchpad using Tapatalk

I went as far as rebuilding the apk, but not sure how to resign. I tried to install anyway without signing, but the installer hangs while checking for version and gives network error after some time. I found a http://code.google.com/p/signapk and tried to use it on mac, but seems like it needs to be run on android itself. When I tried to run it on android, I get permission error, though I did a chmod +x as su. Could you give some more details on where to get the tool and use it?

I've been neglecting this thread since most of the touchpad stuff seems to be going on over at rootz. If anyone still has questions or wants to try this mod, see the thread over there instead. I've also updated the tutorial for cm9 and made the directions more clear.
http://rootzwiki.com/topic/6712-how...-the-touchpad-updated-for-ics-with-more-info/

Related

Avatar.apk Movie App for Froyo that works with DRM'd Copy

This Avatar.apk is for those who have upgraded to Froyo with an unofficial build that doesn't include a working Avatar app, but desire a working Avatar.apk that launches the DRM protected copy of the movie included with the phone.
Some caveats/disclaimers: I don't own a Vibrant; I have an i9000 Galaxy S and a Nexus One. I don't plan on providing much support for this, but it shouldn't need it. All the usual "I am not responsible for damage to your phone" disclaimers apply; if you don't know how to use adb and don't have root, go find out how in the appropriate FAQs.
Back story: My friend owns a Vibrant and hated it (slow/laggy). I thought upgrading it to a Froyo build would make him happy, so I did with Team Whiskey's Onyx version (very slick, better than the best ROM I have on i9000 IMHO). He was disappointed that the Avatar shortcut/app on the desktop disappeared, so I pulled the apk from a 2.1 build and pushed it to the phone, but it didn't work.
A little investigation showed that the apk file has an xml resource that is hard-coded to look for the encrypted/drm copy of the movie in the path "/sdcard/sd/movie/AVATAR.dcf", but the Froyo builds mount the external card as "/sdcard/external_sd/" so the app doesn't work.
All I did here was edit the xml file to the correct path, repacked the apk, signed it, pushed it to the phone with adb to /system/app. The apk was then available to add as a desktop shortcut again, and it opens the movie as expected.
The file won't install like a regular apk (at least it wouldn't for me), it must be pushed to /system/app to work - use this command:
adb push <your path>/Avatar.apk /system/app
You could also probably download the apk and copy it over to /system/app with Root Explorer or any other file manager that lets you write to /system/app.
I have only tested this with Team Whiskey's Onyx build and by pushing via adb. I can't test any other ROM since I don't own a Vibrant.
I know a lot of people consider the Avatar.apk to be bloatware and ask how to remove it, but I see a lot of people asking for it back because it's convenient and a great show-off feature on the phone for non-Galaxy S owners.
Additional disclaimers: I did quite a bit of searching here on XDA for an apk that took this approach and didn't find one. If it's already out there, I apologize for this post and can link to it. All I found was an apk that requires you to have a non-encrypted mp4 copy of the movie. I also found a lot of bad information about you could use the original 2.1 version if you just de-odexed it and other stuff like that. Again, this will ONLY work on a 2.2 Froyo ROM because of the change in mounting path of the external sdcard.
credit/thanks to Brut.all for his apktool and to jessetbenton for his Mac-friendly android auto signing applet.
Edit: I only modded the English language part of the apk, it may not work properly if you're using a different language.
Here's the apk, enjoy:
Wow, that first post is a lot of words for such a simple posted apk! LOL. I just wanted to make sure to cover all the bases for any criticisms I might be getting.
Thanks dude, I kept trying to install the old avatar.apk, and when I tried opening avatar, it kept giving me "file not found"
Oh, btw works on Eugene's Macnut R12
You could also just make a folder named "sd" on the sd card, and move the Movie folder there. Works just fine for me.
pablizzo said:
You could also just make a folder named "sd" on the sd card, and move the Movie folder there. Works just fine for me.
Click to expand...
Click to collapse
Yes, but then you lose that 1gb of space on your internal sdcard.
I'd have gone for a symlink approach instead, but the internal card is plain old FAT32 and doesn't support them.
Or just use the stock froyo Avatar.apk? Lol. Worked for me...
distortedloop said:
Yes, but then you lose that 1gb of space on your internal sdcard.
I'd have gone for a symlink approach instead, but the internal card is plain old FAT32 and doesn't support them.
Click to expand...
Click to collapse
1 out of ~13gb is fine with me
rk0 said:
Or just use the stock froyo Avatar.apk? Lol. Worked for me...
Click to expand...
Click to collapse
Ah, that's good. Where'd you get it? I thought there wasn't a Vibrant specific Froyo yet - all I see on samfirmware.com are 2.1 builds. Like I said, I'm not a Vibrant owner, so don't really keep up with its developments.
Thanks for posting that.
pablizzo said:
1 out of ~13gb is fine with me
Click to expand...
Click to collapse
Yeah, to each his own.
My internal 16gb on the i9000 is almost full (nandroid backups, media, etc), and I have an external 16gb that's more than half full. I prefer to keep large media files on the external, obviously YMMV.
Glad you had a solution that works for you.
Nice thanks
Been looking all over this...thanks
Sent from my XDA app cuz I'm stalking your mom....
distortedloop said:
Ah, that's good. Where'd you get it? I thought there wasn't a Vibrant specific Froyo yet - all I see on samfirmware.com are 2.1 builds. Like I said, I'm not a Vibrant owner, so don't really keep up with its developments.
Thanks for posting that.
Click to expand...
Click to collapse
Deodexed JK2 Rom.
rk0 said:
Deodexed JK2 Rom.
Click to expand...
Click to collapse
Thanks for the response.
I wish someone had answered any one of the dozens of posts I read where people were complaining or asking about this with that info. Would have saved me the trouble here.
Actually, it worked out well for me anyways. I have a couple of apps with the same problem where I really want to force them to use the external card instead of the internal. Now I've learned an approach I can use to "fix" or mod those apps. I wish app developers would let you specify a preferred working directory - hard coded paths aren't usually a good idea in my opinion.
At any rate, based on the number of views of the thread, and over 140 downloads between my version and yours, seems like a lot of people didn't know about this, and we've given them a working solution. That's a good thing in my opinion.
can u make this work from terminal?
Please help me to get Avatar working !
Iam on Darky's 10.2 ROM(GB 2.3.4), bullet kernel & KB5 modem.
and the movie is at the same folder structure since, my phone came stock.
I tried:
1.) I cleared drm content and drm protected content & restarted my phone two times- then downloaded the app from http://forum.xda-developers.com/showthread.php?t=774078 but it won't install.
2.) I used the Android customisation suite from http://forum.xda-developers.com/showthread.php?t=894794 and created a zip with just the avatar.apk , cleaned dalvik cache, and the installed the zip from CWM, still the application just clicked, but no response/error message whatsoever.
3.) I downloaded a terminal emulator & tried to push the apk from this thread and I get adb:not found.
Please guide me, what needs to be done, as I haven't seen the movie [email protected]!
Great work I know this has been a huge issue for many many people ...I no longer have avatar on my phone but I sure missed the launcher at one time back when I first flashed my phone
Shortbus-Driver said:
Great work I know this has been a huge issue for many many people ...I no longer have avatar on my phone but I sure missed the launcher at one time back when I first flashed my phone
Click to expand...
Click to collapse
Buddy, I haven't been able to get it working, thru any of these methods!
I guess, I might have been doing something wrong in ADB Push. But I even tried with a Root File Explorer and replacing the Default Application that i had flashed using zip generated by Android Customization Tool(ACS) , with one provided in the two links(one of them, gives application not installed,probably the bigger in size one, and so installed the other one, thereby replacing the default that I talked above). but for no good.
Avatar, still doesn't work. Please help, guys!!

Google Movies Workaround Script

As noted in other Topics, the Goigle Video App checks for SU to detect a Rooted Device. So you just need to simply Rename SU to something else like MU. This process can be annoying and a bit tedious so I decided to automate most of it.
I know it isn't an App (I'll work on that later) but here is a script you can run from a Terminal Emulator.
Just download the script to the root of your SDcard and then run this in Terminal:
Code:
sh /sdcard/googlevideo.sh
It'll Autodetect where SU is and whether you're running the script as Root or not. If you aren't Root it'll inform you whether you need to run "su" or "mu" to get Root. Once Run as Root it'll automatically rename SU as needed.
Download the Script here: http://db.tt/nNy1jCy
____________________________________________________
Sent from NookColor CM7 uSD using Tapatalk
If you don't see "Movies" category or the "Videos" app in the New Market here's a Fix.
NOTE: DO NOT USE IF USING OLD MARKET!!
If you have issues return it back to 161!
Root Explorer Method
1. Clear Market data in Application Info
2. Navigate to System folder in Root Explorer and "Mount R/W"
3. Long-press build.prop and "Open in Text Editor"
4. Find "qemu.sf.lcd_density=161" or "ro.sf.lcd_density=161" and change it to 160
5. Reboot
6. Run Market
File Expert Method
1. Clear Market data in Application Info
2. Navigate to /System folder in File Expert
3. Menu-->More-->Mount-->Mount as ReadWrite
4. Copy build.prop to sdcard
5. Press build.prop, Open as Text, Select a Text Editor
6. Find "qemu.sf.lcd_density=161" or "ro.sf.lcd_density=161" and change it to 160, now Save
7. Copy build.prop back to /System, Overwrite when asked
8. Reboot
9. Run Market
This should allow you to see most missing Apps and Access the Movies category.
____________________________________________________
Sent from NookColor CM7 uSD using Tapatalk
Why would you bother with scripting this? Just download ften's modded apk here.
Superuser check is disabled. You still gotta pay overpriced rental fees though.
skwalas said:
Why would you bother with scripting this? Just download ften's modded apk here.
Superuser check is disabled. You still gotta pay overpriced rental fees though.
Click to expand...
Click to collapse
Or do that
And to think I did this for nothing.
Ah well, should've looked harder.
My second post can still be useful though.
____________________________________________________
Sent from NookColor CM7 uSD using Tapatalk
japzone said:
Or do that
And to think I did this for nothing.
Ah well, should've looked harder.
My second post can still be useful though.
Your link is broken though here's fix:
http://forum.xda-developers.com/index.php?topic=169300
____________________________________________________
Sent from NookColor CM7 uSD using Tapatalk
Click to expand...
Click to collapse
No worries. The script could be good for a backup. Its probably a tossup which workaround gets shut down first anyway.
And the links not busted. Its on the sdx forums. Works fine for me.
~~~blank~~~
japzone said:
_________________________________________________
Sent from NookColor CM7 uSD using Tapatalk
Click to expand...
Click to collapse
*le sigh*
http://forum.sdx-developers.com/index.php?topic=16930.0
SDX not XDA.
skwalas said:
*le sigh*
http://forum.sdx-developers.com/index.php?topic=16930.0
SDX not XDA.
Click to expand...
Click to collapse
I know, I noticed that and edited my post but you already quoted me. For some reason Tapatalk didn't like the first link you posted and I misinterpreted.
____________________________________________________
Sent from NookColor CM7 uSD using Tapatalk
One thing to note though is that that Apk Mod has issues with Offline use right now. My method may have a use after all.
____________________________________________________
Sent from NookColor CM7 uSD using Tapatalk
I am a newbie when it comes to this so not really sure when talking about going into the terminal area and then changing a script. Could you do a step by step for me to follow. That would be very helpful. Using the Nook tablet and Mac computer. Thanks for any help

[MOD][COG-4][UnNamed] Over-scroll Glow!

Discontinued. The latest versions of all previously supported ROMs have this functionality built in.
This gives you an over-scroll glow when you reach the end of a list.
I really hope you knew that before clicking on this thread.
Example if you don't know what I'm talking about
It's just a modified framework.jar with modified files allowing the over-scroll to work and the correct glow images assigned to it. Theming is very easy, just colorize the over-scroll glow pngs in framework-res.apk. The default is orange.
What I want to do with this thread is sort of have a place where you can find the over-scroll enabling mod for every popular ROM for our phones. If you think I should support a ROM that I currently don't, then please post in the forums because I read every post! Ask to put a ROM on the wishlist. Upload the ROM's framework-res.apk and framework.jar files and I'll work on it when I'm not busy with school.
Currently, the wish list is:
Stock KH7
[Update on 10/15/11] UnNamed v1.0.1 compatible files uploaded. Give them a try. Honorable mention to quarlow
Installation:
BACK UP YOUR OLD FRAMEWORK.JAR
Because I'll just laugh at you if you complain that your phone won't boot up.
>>>ADB:
Code:
Extract the CWM package to get the framework.jar
adb remount
adb shell
su
cd /system/framework/
cp framework.jar framework.jar.backup
exit
exit
adb push framework.jar /system/framework/
adb reboot
>>>ROOT EXPLORER:
Extract the CWM package to get the framework.jar
Okay, now you can theoretically do this, but why would you want to? You'll get lots of crashes and might mess something important up.
Go to: /system/framework/ and rename framework.jar to something else. Go back to where-ever you saved my modified framework.jar and copy it over to /system/framework/ and change the permissions of the new framework.jar to match the old one. I'm pretty sure it's rw-r--r--, but don't quote me on that. + Restart your phone.
Simba501 has a more indepth tutorial on how to install this mod through Root Explorer here
>>>RECOVERY (preferred):
Flash the one specific to the ROM you're running
Whatever method you choose, know that it will take a stupidly long time for your phone to boot-up. Don't worry though, it'll be worth the wait.
Yoderk created some cool themes for the over-scroll glow for Cognition Beta-4 which you can find HERE.
UnNamed 1.0.1 works with 1.0.2 and 1.0.3 as well.
Also, please remember to say THANKS if I helped you!
cwm please!!
<3
diabolicalangle said:
cwm please!!
<3
Click to expand...
Click to collapse
It's there if you REALLY need it. I haven't tested it and to be honest, it's been a very very long time since I made my last CWM compatible file. Maybe it works though, try it out. If not, then use one of the other methods.
Fine work sir! Works well on Cog Beta 4.
yoderk said:
Fine work sir! Works well on Cog Beta 4.
Click to expand...
Click to collapse
That's awesome! Someone test it on stock w/ root, because if it works there, I'll be amazed.
Confirming that the cwm flashable zip works on cog beta 3!
Working fine here. I'm technically on Beta 1, but I've manually added the components I wanted from each Beta update because there were things I didn't want.
I have a suggestion. I don't know why everyone repeats that method for using root explorer. That's a terrible way to do it. I always use root explorer to manually replace my files and have never experienced any issues. Here is the correct way to use root explorer for manually replacing modded files:
1. Navigate to the file that you plan to replace (in this case, system/framework/framework.jar).
2. Copy (not move) the file and paste it somewhere on your SD card (internal or external, doesn't matter - as long as you can locate it in case you need to put it back). Rename the file you just pasted, but very subtly. For example, when renaming framework.jar, I would only throw something in front of the file name, such as "Backup - framework.jar", so I can easily distinguish it from the new file if I put them in the same spot.
3. NANDROID BACKUP!
4. Download/put on your sd card (whatever you do) the new file that you want to replace the old one with.
5. Move the new file to /system (not in a subfolder yet). Here you will change the permissions, which is crucial to avoid FCs and problems. In root explorer, you would long press the file, press permissions, and set them to whatever the old file's permissions are. This may require going to verify what they are before starting this step. In this case, the permissions are RW-R-R, which in root explorer, means that the first two boxes on the first line are checked and only the first box on the next two lines are checked.
6. Ensure that your new file is correctly named to exactly what it is replacing (case actually matters) and that the permissions also match what it is replacing.
7. Move your new file to the folder, root explorer will ask if you want to replace the file. Confirm.
8. Back out of root explorer and immediately reboot.
No force closes, no problems .
Cwm file worked great on cog beta 4. Thnkz!!
Sent from my SAMSUNG-SGH-I777 Cognition
Simba501 said:
Working fine here. I'm technically on Beta 1, but I've manually added the components I wanted from each Beta update because there were things I didn't want.
I have a suggestion. I don't know why everyone repeats that method for using root explorer. That's a terrible way to do it. I always use root explorer to manually replace my files and have never experienced any issues. Here is the correct way to use root explorer for manually replacing modded files:
...
No force closes, no problems .
Click to expand...
Click to collapse
Thanks! I added your tutorial to the OP.
Well if your like me and hate orange! Then here are two framework-res.apk with a blue and green overscroll color. Just rename them to framework-res.apk and overwrite the original file in system/framework.
Do not forget to back up original file! I claim no responsibility to problems.
Very subtle but a very nice touch...kudos...came zip worked great!!!
Sent from my SAMSUNG-SGH-I777 using XDA App
stock with root, i've got nothing. tried root explorer method and cwm
Does this still have the problem of not changing the Contacts or other Samsung apps?
illathanyours said:
stock with root, i've got nothing. tried root explorer method and cwm
Click to expand...
Click to collapse
Alright this may be Cog4 only... if you want, upload your framework.jar and framework-res.apk and I'll mod it for you and let me know if that works.
MikeyMike01 said:
Does this still have the problem of not changing the Contacts or other Samsung apps?
Click to expand...
Click to collapse
Yes. Those need the tw-framework to be modified and I haven't taken a look at those yet since I'm trying out Perception for a couple of days and that already has it coded in? But it isn't a problem per-say, it's just how Samsung decided to code those specific apps and there isn't a way to implement them in 2.3.4 without breaking the slide left to call, slide right to message, feature. 2.3.5 Roms have that built in on Samsung apps.
Problem probably isn't the best word.
Thanks for answering though. I always wanted the overscroll but having mixed bothered me.
Sent from my SGH-i777
shishir95 said:
Alright this may be Cog4 only... if you want, upload your framework.jar and framework-res.apk and I'll mod it for you and let me know if that works.
Well it's not that pressing of an issue, but maybe I'll send it to you later but right now I'm Dealing with insane iPhone customers, makes me want to hang myself... If 2.3.5 is gonna be coming sometime soon I wouldn't care about the wait.
Anyone know about 2.3.5 ota eta?
Sent from illaphone.
Click to expand...
Click to collapse
illathanyours said:
shishir95 said:
Alright this may be Cog4 only... if you want, upload your framework.jar and framework-res.apk and I'll mod it for you and let me know if that works.
Well it's not that pressing of an issue, but maybe I'll send it to you later but right now I'm Dealing with insane iPhone customers, makes me want to hang myself... If 2.3.5 is gonna be coming sometime soon I wouldn't care about the wait.
Anyone know about 2.3.5 ota eta?
Sent from illaphone.
Click to expand...
Click to collapse
There's a leaked 2.3.5 ROM for the i777 but personally I'm using designgear's Perception which is a port of a i9100 ROM and it works perfectly. I'd recommend the latter since leaked ROMs tend to have problems.
Click to expand...
Click to collapse
could you modify the framework.jar for UnNamed v1.0.1 - First ever well documented and open source stock derived rom? It has the extended power menu and if I overwrite the framework.jar using this it will break that extended power menu. Much thanks for getting the overscroll glow!!
Skyler2Dope said:
could you modify the framework.jar for UnNamed v1.0.1 - First ever well documented and open source stock derived rom? It has the extended power menu and if I overwrite the framework.jar using this it will break that extended power menu. Much thanks for getting the overscroll glow!!
Click to expand...
Click to collapse
I'll give it a try if there's enough demand for it.
shishir95 said:
I'll give it a try if there's enough demand for it.
Click to expand...
Click to collapse
+1 here

[TOOL] Framework Flasher 1.1.4 (1/14/12) - Easily modify and flash framework-res.apk

Finally! After days of struggling to figure out how to modify my ROM's framework-res.apk and create a working flashable update.zip to install the framework-res.apk changes, I have finally figured out how (big thanks to the guys here: http://forum.xda-developers.com/showthread.php?p=20962080#post20962080) and have created an automated script to help others struggling with the same problem.
Framework Flasher 1.1.4
Feel free to download and experiment with it. This is my first gift to the XDA/Android Hacking community, and I plan on doing more. I just want to test the waters for now Feedback would be nice. Let me know if I've helped you in some way!
---------------------------
What does it do?
It extracts your framework-res.apk file and allows you to edit the files. After editing, the script will compile, sign the apk, create your update.zip with the correct structure for flashing, and then sign the .zip. Everything you need to modify and flash your framework-res.apk file.
How do I use it?
Download the .zip from the link below and extract it somewhere on your PC. Drag the framework-res.apk file that you want to modify and/or flash into the /place-framework-res-here/ directory. Double-click on RunMe.bat and off you go! Do the steps (1-5) in order and you shouldn't have any problems.
Who needs this?
A LOT of people according to how many google searches I did in the past 3-4 days.
Will it work for files other than framework-res.apk?
Currently, no. However it would be easy to implement that functionality if I saw that people would benefit from it.
I found a bug... what do I do?
Post it in this topic. I'll do what I can to make continual updates as long as I see people are benefiting from it. I'm sure there are bugs in it somewhere, so just let me know.
Where do I download this snazzy piece of software?
http://www.mediafire.com/?1nc14hkhs2yrqmt
The little disclaimer
If you download this tool, please say thanks! Not only does it motivate me to continue to improve this software, but it also let's me know how many users are using it! Thanks!
This script is mainly intended for use with editing script files (xml, etc.), and normal (non 9png) images. 9pngs have been successfully repacked using this tool! If you run into any problems, be sure to make it known!
This tools was created to work with the Droid X2. If you are experiencing problems using it, first ensure that you are in fact using a Droid X2.
Change Log
1.1.4 (1/14/12)
- Corrected the Log error. You can now see error logs!
- Corrected an error processing problem where Framework Flasher would instantly close without warning
1.1 (1/7/12)
- Made compatibility tweaks
- Removed unnecessary overhead
1.0 (1/6/12)
- Initial Release
When reporting errors, please ensure that there are no spaces in your file path, and include what ROM and version you are running.
Hello
This is an awesome little tool you got here. I haven't tried it yet but I'll likely give it a shot eventually.
You should add functionality for SystemUI.apk, that's the other "real big" file people like to edit. Just a suggestion based on what I know about theming
Very nice!
So r u telling me this will modify everything including the. 9 png images..also can u get into the xml files as well or images only...i use apk manager and with the. 9 pngs u cannot touch the 9 patches or change the image without using draw 9 patch to ensure the apk will recompile
Sent from my DROID X2 using xda premium
PoorCollegeGuy said:
Hello
This is an awesome little tool you got here. I haven't tried it yet but I'll likely give it a shot eventually.
You should add functionality for SystemUI.apk, that's the other "real big" file people like to edit. Just a suggestion based on what I know about theming
Very nice!
Click to expand...
Click to collapse
Thanks. I will definitely look into adding this. I'll update the OP with any changes or updates.
Kevin3328 said:
So r u telling me this will modify everything including the. 9 png images..also can u get into the xml files as well or images only...i use apk manager and with the. 9 pngs u cannot touch the 9 patches or change the image without using draw 9 patch to ensure the apk will recompile
Sent from my DROID X2 using xda premium
Click to expand...
Click to collapse
Not tested 9pngs with this, it's mainly intended for scripting (xml files, etc. along with normal non 9png images). I've updated the OP to include a little disclaimer stating this fact. Thanks for pointing that out.
.9.png seems to work
Thanks Wesf90 for the tool. I was curious about the .9.png myself. Looking at the script it decompiles and compiles using apktool just like the apkmanager script does so just by looking at your RunMe.bat it looks like it would be fine. I did test it out to be sure though. So I took the framework-res from eclipse 2.0.3 changes some 9.png files and recompiled without any issues. It is important to note that you need to be careful when editing 9.png files to NOT change the black "patches" around the edge of those images. Doing so will cause bad patches and will generate errors when re-compiling. So for example if you apply a filter to the entire image double check that the color value of the black patches are still 000000 (I've done this ). If you don't mess with the patches all should be fine. It also depends on the original framework-res you are starting with. If you use one that has broken 9.pngs in it to start then you will need to fix them before re-compiling (I've done this too ).
Nice work. I especially like that step 4 that creates the update.zip. That is not in apkmanager that I've been using. So following steps 1,2,3,4 sure does make it simpler for a beginner which was your goal. Keep up the good work!
hedwig34 said:
Thanks Wesf90 for the tool. I was curious about the .9.png myself. Looking at the script it decompiles and compiles using apktool just like the apkmanager script does so just by looking at your RunMe.bat it looks like it would be fine. I did test it out to be sure though. So I took the framework-res from eclipse 2.0.3 changes some 9.png files and recompiled without any issues. It is important to note that you need to be careful when editing 9.png files to NOT change the black "patches" around the edge of those images. Doing so will cause bad patches and will generate errors when re-compiling. So for example if you apply a filter to the entire image double check that the color value of the black patches are still 000000 (I've done this ). If you don't mess with the patches all should be fine. It also depends on the original framework-res you are starting with. If you use one that has broken 9.pngs in it to start then you will need to fix them before re-compiling (I've done this too ).
Nice work. I especially like that step 4 that creates the update.zip. That is not in apkmanager that I've been using. So following steps 1,2,3,4 sure does make it simpler for a beginner which was your goal. Keep up the good work!
Click to expand...
Click to collapse
Thanks for the test run. I've updated to OP to state that 9pngs have been tested.
Creating the update.zip was the hardest part for me, learning how to use update-script and updater-script. Hopefully this will help everyone else get on the right path.
is it possible, that after the editing was done, to simply push the framework to its place? without flashing recovery?
Dude XDA did a writeup on this.. but the article states there is no. 9 compatibility .... which is not true your program decompiles just like apk manager and apk tool do... .9 can be edited the patches simply can't be touched.. making this an awesome little tool !!!
Sent from my DROID X2 using xda premium
Sweet tool, just what I've been looking for
Just wanted to drop in and say thanks for this tool (button hit, donation forthcoming).
I tried this with my framework-res file from and ICS 4.0.1 ROM I'm running and it decompiles perfectly, but after I make edits and try and recompile, the script just closes.
I tried looking at the log in the folder of the tool and it didn't have any information except the date/time I ran the script.
Any thoughts? Would love to make use of this if you think it should work for me. Thanks again!
XT69 said:
is it possible, that after the editing was done, to simply push the framework to its place? without flashing recovery?
Click to expand...
Click to collapse
Yes, definitely possible if you have ADB access. I may add this feature, but the idea of the tool is primarily to allow users to create a flash-able file for their's, or others', phones. I'll put it on my to-do list though
Kevin3328 said:
Dude XDA did a writeup on this.. but the article states there is no. 9 compatibility .... which is not true your program decompiles just like apk manager and apk tool do... .9 can be edited the patches simply can't be touched.. making this an awesome little tool !!!
Sent from my DROID X2 using xda premium
Click to expand...
Click to collapse
Yeah I noticed that about the 9pngs in the article, however several people (including yourself) have stated that 9png's work fine. So hopefully XDA will eventually update the post.
zaxondis said:
Just wanted to drop in and say thanks for this tool (button hit, donation forthcoming).
I tried this with my framework-res file from and ICS 4.0.1 ROM I'm running and it decompiles perfectly, but after I make edits and try and recompile, the script just closes.
I tried looking at the log in the folder of the tool and it didn't have any information except the date/time I ran the script.
Any thoughts? Would love to make use of this if you think it should work for me. Thanks again!
Click to expand...
Click to collapse
Interesting. I plan on releasing another update soon, so send me the file you tried (I sent you a PM), I plan on weeding out small bugs quickly. Once the update is ready, hopefully I can have this bug fixed (or at least resolved)
Wes
zaxondis said:
Just wanted to drop in and say thanks for this tool (button hit, donation forthcoming).
I tried this with my framework-res file from and ICS 4.0.1 ROM I'm running and it decompiles perfectly, but after I make edits and try and recompile, the script just closes.
I tried looking at the log in the folder of the tool and it didn't have any information except the date/time I ran the script.
Any thoughts? Would love to make use of this if you think it should work for me. Thanks again!
Click to expand...
Click to collapse
had the same here!
other then that great tool
Ok to u guys having this happen... try to decompile and them recompile immediately ... if this works odds are u damaged a .9 png... those images have a black 1 pixel boarder that cannot be touched
Sent from my DROID X2 using xda premium
Maybe a dumb question but do we flash this in recovery or is this for pc use?Thanks I been itching to try this on my Iced Sam Vib...
Program is for PC use when u r done it will create a flashing zip for u
Sent from my DROID X2 using xda premium
Dougfresh said:
Maybe a dumb question but do we flash this in recovery or is this for pc use?Thanks I been itching to try this on my Iced Sam Vib...
Click to expand...
Click to collapse
Yes, you're absolutely correct. Once you go through the steps and create the update.zip file, simple place that file onto your sd card. Then flash the .zip in recovery.
Wes
Doesn't work for me. It says that echo is off.
Thanks wesf90. Going to DL, and check this out.
Work with any Android?
Will this work with any Android system, like the GS2? Sorry if I missed the answer somewhere above.
Thx.
disclaimernotice said:
Doesn't work for me. It says that echo is off.
Click to expand...
Click to collapse
Does this happen as soon as you start it?

[GUIDE] V6 Supercharger Cm9 (Updated 07/18/2012)

Okay, this is my first write up so please be nice :fingers-crossed:​
I have noticed a lot of questions about using zeppelinrox V6 Supercharger in the cm9 thread. I am in no way, shape, or form an expert. Also anything you do with your phone is your responsibility. So read and research everything first, and as always back-up.
I have used my phones browser to get everything that is needed, and upload the services.jar file to modify later.
Credit for all scripts and roms or whatever else is linked goes to those that made them. This is just a how-to. Thanks.
First you will need to go HERE and download SuperCharger_Starter_Kit_RC12.zip
Use a file browser that can unzip the starter kit to the root of your sdcard. I use Root Browser.
Also Download V6_SuperCharger_for_Android-Update9_RC10.sh.pdf
You should take the time to read the post, as it has instructions.
Second Navigate HERE and scroll down to post #2. Look for WebApp Info - Mod your services.jar instantly with the ICS OOM Priority Charger!
There should be a link to http://android.mimic.ca. Follow the Instructions to upload your services.jar file to be modified, and then download the modified file. It tells you where this file should be. You will use this modified services.jar file later so it should be on your sdcard.
or... When you run the script later you will have a choice. Auto or Manual. V6 supercharger can automatically upload-mod-download-install the diehard version of services.jar for you. The choice is up to you.
UPDATE religi0n has already modified services.jar for everyone. GO HERE to read the thread and grab the modified services.jar file of your choice. Credit to religi0n for this. Thank You.
Third Visit the Play Store and download Script Manager. Now find script manager in your apps and run it. Make sure to press Browse as root, then Ok. ALLOW SuperUser and press Ok.
You should see your sdcard files listed. If you unzipped the starter kit to your sdcard there will be a folder named SuperCharger_Starter_Kit.
Inside this folder will be StartMeUp.sh Press this and a screen will pop up. Make sure to press the skull/crossbones icon with Su underneath it. It should turn Green. Now press Run at top left.
You will be asked to allow superuser again. Allow!
The starter kit will run and tell you what to do. This will prepare your DX2 for V6 Supercharger. After this is done you can exit out.
Fourth In Script Manager, navigate to the V6_SuperCharger_for_Android-Update9_RC10.sh.pdf. Again make sure you allow Superuser root. Green Skull/Crossbones and Run.
Again V6 Supercharger will run and tell you/ask you what options to do.
Once you get to the ICS Service Center You can manually install the modified services.jar file. V6 should find it on your sdcard.
That should be about it. I'm not going to go through every step since V6 tells you as it runs.
V6 will ask to wipe dalvik and reboot. If it hangs at boot pull battery and restart.
Run the .pdf script again to check and change options.
There is an option to unsupercharge as well as exit.
Hopefully this will help some.
Thanks!
Nice post. This should help a lot of people.
Instructions have already been posted a long time ago, but this should help the noobs.
Sent from my Nexus 7 using xda premium
In the other thread it says to install the supercharger script before the patched service.jar. does it matter which way you do it? I'm going to try this out again.
jsgraphicart said:
In the other thread it says to install the supercharger script before the patched service.jar. does it matter which way you do it? I'm going to try this out again.
Click to expand...
Click to collapse
You will have the option to manually install the modified services.jar file towards the end of the supercharger script. It should find it on your sdcard.
DX2 Alpha 5
I did the modded services.jar last night and haven't had any lockups yet in cm9a5, when I first flashed I froze up twice within an hour.
Sent from DX2 CM9
So I went ahead and installed this again. So far I have had two random reboots. Everything does seem faster though so I will leave it supercharged for now.
I installed v6 also. Everything is good so far. I rebooted 2/3 times until it didn't stick on the M. I also had to start the cm7 bsr a couple of times before that worked.
Sent using my Droid x2 running cm9.
Hey dark_system, you did a great job on your instructions. Easy to follow and understand. Thanks again!
Scotty
Sent using my Droid x2 running cm9.
A few days ago I posted a thread in the themes and apps with all of the modified services.jar (HTK, Bulletproof, and Die-Hard). The webapp only patches for Die-Hard.
If you want, you can include these services.jar, as they have already been modified for Alpha 5.
http://forum.xda-developers.com/showthread.php?t=1777862
religi0n said:
A few days ago I posted a thread in the themes and apps with all of the modified services.jar (HTK, Bulletproof, and Die-Hard). The webapp only patches for Die-Hard.
If you want, you can include these services.jar, as they have already been modified for Alpha 5.
http://forum.xda-developers.com/showthread.php?t=1777862
Click to expand...
Click to collapse
Okay I will update op soon with a link to your thread, if that is okay with you?
Thanks
Droid X2 CM9 Alpha 5
Hi just a FYI... I updated my OP and added a link to this thread.
Also, you may want to mention that if you run the script first, it will automatically load ICS Service Centre and, in Automatic Transmission Mode, it will seemlessly install a die-hard services.jar in seconds (uploads services.jar and downloads a new one without leaving the script)
Ok to try and make sure I have this right.
I can do the SC Auto script (which does the DH be fault), then turn around and do the ICS Service Center manually and let it use the services.jar I choose to get from HERE?
Thanks,
SlimMan said:
Ok to try and make sure I have this right.
I can do the SC Auto script (which does the DH be fault), then turn around and do the ICS Service Center manually and let it use the services.jar I choose to get from HERE?
Thanks,
Click to expand...
Click to collapse
The best I understand it, Yes you could, or download one of religi0n HTK version, Bulletproof version and use it the first time through.
I haven't tested them though.
dark_system said:
The best I understand it, Yes you could, or download one of religi0n HTK version, Bulletproof version and use it the first time through.
I haven't tested them though.
Click to expand...
Click to collapse
Well that is the part that is causing the issues, no? Also if I don't run the rest of the SC features then I don't get the full benifits from the script, no? So I would have to either do it all manually (which I would have to read through all the different features to be able to do) or run it in auto and then go back and do the ICS part manually?
Sorry don't mean to be a pain in understanding all this, but I want to know that what I am attempting to do and how I understand it is correct, so please bear with me,
Thanks!
SlimMan said:
Well that is the part that is causing the issues, no? Also if I don't run the rest of the SC features then I don't get the full benifits from the script, no? So I would have to either do it all manually (which I would have to read through all the different features to be able to do) or run it in auto and then go back and do the ICS part manually?
Sorry don't mean to be a pain in understanding all this, but I want to know that what I am attempting to do and how I understand it is correct, so please bear with me,
Thanks!
Click to expand...
Click to collapse
You are not being a pain at all. Please understand that the intent of this guide is to help people set up and run the SuperCharger Script. As far as which settings work best or not, that will be up to each person to decide. When you run the script it will ask you. "Do you want to do this...(whatever option it may be) y for yes, n for no, etc...
You can go to zeppelinrox threads to read in great detail how and what his scripts do.
You can always run the script and get to the menu 1-33 to get to the ics services.jar option. (I believe it is option 25) and try the different .jar files from religi0n.
I hope I answered some of your questions. Bear with me.
Great walk through. It has been very helpful. I went through the automated process of the script, accepted all the suggestions the script offered and updated the services.jar I did NOT run any of the choices (1-33). My question is, do I have to rerun the script after each reboot, or is this a persistent mod? Thanks!
Sent from my MB870 using xda app-developers app
bswides412 said:
Great walk through. It has been very helpful. I went through the automated process of the script, accepted all the suggestions the script offered and updated the services.jar I did NOT run any of the choices (1-33). My question is, do I have to rerun the script after each reboot, or is this a persistent mod? Thanks!
Sent from my MB870 using xda app-developers app
Click to expand...
Click to collapse
You should be good to go. If you want to check, then rerun the supercharger script and see what you get.
It will check for previous settings and show you the supercharger status.
Option 33 will exit.
Droid X2 CM9 Alpha 5
i thought the service.jar got changed while running the script (so I recall, probably wrongly)
First time using supercharger 2 days ago, that thread is just awful because of all the clutter and overcomplication. it's sad that it's that cluttered despite having multiple threads to clarify and hiding content. But hey! it is one very effective script, noticeable difference, he's a good man
as for a guide:
1) download 'scriptapp' from market
2) download newest supercharge script from 'link to his storage thing'
3) put supercharge script on phone
4) make sure skull and bones is green
5) run and follow instructions
make life simple with few words and steps hehe
Well it took me all day to figure out this damn thing lol. "make sure to go into console to run on boot "
But thanks really you collection of instructions were the best I've read. Besides not having the links on your post for d/l this was top notch.
Fyi: Your gonna have to reinstall cm7 bsr to get it to work again.
Sent from my MB870 using Tapatalk 2

Categories

Resources