Installing HTC_IME on Android 1.6 - myTouch 3G, Magic Android Development

Has anyone tried to install HTC_IME from Cyanogen's prior builds? I pushed libt9.so and HTC_IME.apk and I receive the message:
"This keyboard is only for HTC phones"
Anyone have any ideas on how to get it working? I cant stand the default android keyboard and better keyboard is meh.

Have u tried this one ? http://www.mediafire.com/?tmm3tymgdzz

pull that htc_Ime from the tattoo dump its 1.6 compatible

Daneshm90 said:
Have u tried this one ? http://www.mediafire.com/?tmm3tymgdzz
Click to expand...
Click to collapse
this one just force closes on me like the others.

mykenyc said:
this one just force closes on me like the others.
Click to expand...
Click to collapse
does anyone listen?
just unyaffs the data.img thats in the tattoo dump and take the htc_ime.apk and push it over with your t9lib.so
or you can just wait a day or two till there is an update.zip for the tattoo rom and take that
unless you really really like normal android then idk what to do

i dont see HTC_IME in the tattoo system dump. i but i did find libt9.so

how do you use unyaffs please

Zarboz said:
does anyone listen?
just unyaffs the data.img thats in the tattoo dump and take the htc_ime.apk and push it over with your t9lib.so
or you can just wait a day or two till there is an update.zip for the tattoo rom and take that
unless you really really like normal android then idk what to do
Click to expand...
Click to collapse
it would even be easier if someone with that type of experience just release it to the community.

ok found htc_ime.apk in system.img apps folder
where is t9lib.so
i did find libt9.so

sitimber said:
ok found htc_ime.apk in system.img apps folder
where is t9lib.so
i did find libt9.so
Click to expand...
Click to collapse
its in the "libs" folder

different spelling also how do i push it accros keeps failing

sitimber said:
ok found htc_ime.apk in system.img apps folder
where is t9lib.so
i did find libt9.so
Click to expand...
Click to collapse
Can you do me a favor and upload in a zip the following from Tattoo
1. any liba2dp.so files (liba2dp, libA2DP, liba2sp2 and so on)
2. audio.so (should be in the bluez-plugin folder)
3. input.so (should be in the bluez-plugin folder)
4. libbluetooth.so
5. libbluedroid.so
Thanks

sitimber said:
different spelling also how do i push it accros keeps failing
Click to expand...
Click to collapse
Your going to need to be in the same directory as the files then type the following:
adb push HTC_IME.apk /system/app/
adb push libt9.so /system/lib/
adb shell reboot
Can you please link to the files? I have been trying to unpack the system dump for a couple of hours now

give me a few min

the ime file
http://rapidshare.com/files/287002626/htc_ime.zip.html

soo did my idea work then?

lib files
http://rapidshare.com/files/287004818/lib.rar.html
so i have pushed accross how do i now change the keyboard
sorry

sitimber said:
lib files
http://rapidshare.com/files/287004818/lib.rar.html
so i have pushed accross how do i now change the keyboard
sorry
Click to expand...
Click to collapse
You need to go into settings, local & text and make sure Touch Input is there. Once it is, tap and hold on a text box and then select Touch Input then you will be set.

sitimber said:
different spelling also how do i push it accros keeps failing
Click to expand...
Click to collapse
open up your command prompt and it should be reading something like
put your htc_ime.apk on your desktop and your libt9.so on your desktop
C:\users and settings\home user\
type
cd desktop
adb remount
adb push htc_ime.apk /data/app
adb push libt9.so /system/lib
adb shell reboot
your phone will power off and power on then try your htc_ime activation through your settings locale menu it should work because the package is parsed for 1.6 firmware and im not sure if the previous HTC_IME would be forward compatible with the new firmware

FYI, I wouldnt suggest flashing this version. Im now stuck in a boot loop. Dang

Related

3D Cube For any Android Phone Cupcake / Donut / Update: 2/2/2010

UPDATE: 2/2/2010
Thank you petenchris84 For taking the time to fix this, I honestly didn't have time to do it.......
Per: petenchris84
Hi folks i have Decompiled and looked at the code for the cube and have fixed the video FCs it now plays video
first you must have mVideoPlayer Installed free from market
and then im assuming you allready tried eugenes cube so you must have allready pushed the libs in the first thread
Download and unzip and push the CubeLauncher.apk into the Main APP / App_s pending rom build folder
Placing it in /data/app will cause it to not load...
i have signed the CubeLauncher.apk so it should work if you install it the usual way from memory card
http://www.4shared.com/file/213322447/ac0d83ab/CubeLauncherVideoFix.html
this is by no means my work i just fixed the video eugene373 is the man who gave us the cube so please support him on the very first thread
thanks again eugene
Follow me on Twitter
http://twitter.com/petenchris84
Last edited by petenchris84; Today at 01:32 AM..
Click to expand...
Click to collapse
First Things First, This is not an update for any Rom.
A.
You Must Editing you own Rom's & Sign
or
B.
You Must ADB PUSH the Files in the Package to the same Location. This is assuming you Have everything in the /system Folder
To use, You must put the 3d cubelauncher in the Main APP / App_s pending rom build folder
Placing it in /data/app will cause it to not load...
/system/lib/cascades_plugins-3.5.4/libhoudini.so
is it's own folder & lib. You must Copy the Folder & Lib as well to /system/lib/cascades_plugins-3.5.4/libhoudini.so
Or it wont load, Also 10mb Ram Hack Kernel it Known to have 3D issue's
Now for What you Came For.....
Download Link:3dcubepackage.zip
Please Post if It don't work, but should be fine......
can someone sign it so I can install it
It's really nice, too bad it's too slow to be usable
Well done Eugene! Nice to see this cube
I don't find it slow, what build are you running it on?
JAguirre1231 said:
It's really nice, too bad it's too slow to be usable
Click to expand...
Click to collapse
On what ROM are you? 1.6 or Eclair?
Thanks/
thierrz said:
On what ROM are you? 1.6 or Eclair?
Thanks/
Click to expand...
Click to collapse
Wesgarner Build Y. I'll try it again though
No, flipping through music and such is still slow. The cube isn't slow, just the actual usefulness of it is
Runs very slowly for me (~3-4fps), but I'm fairly certain that it's because I'm using the ramhack that steals memory from the GPU. Running Cyanogen 4.2.13 on a G1.
Great work though, it looks quite awesome!
Great!
Everythink is very fast! I'm on Cyanogen, you can't run this with the ram hack!
would love to see some screenshots if anyone can post. im interested in this, but running espresso right now, (too lazy to fight with compatibility)
Strange. wasn't able to run it yet. using manups 1.5 flan ROM.
keep getting FCs and logcat says unsatisfied link error cascade*jni-3.5.4, although i pushed the libraries to /system/lib....
Works well on amon_ra's ion rom. Sorta slow but its indexing so u never know, also it sucks cuz it opens stuff in the default player
Oh well, good job Eugene
Using Manup's 1.5, I'm getting a boot loop..
how can i push this using terminal???
Pushed CubeLauncher.apk to /system/app/ and the rest to /system/lib/ (remembering to create the dir).
But it doesn't show up as an option for a Launcher.
DarkFoxDK said:
Pushed CubeLauncher.apk to /system/app/ and the rest to /system/lib/ (remembering to create the dir).
But it doesn't show up as an option for a Launcher.
Click to expand...
Click to collapse
Read the Directions.............
eugene373 said:
First Things First, This is not an update for any Rom.
A.
You Must Editing you own Rom & Sign Note: Droid owners do not have to sign there Update.zip's
or
B.
You Must ADB PUSH the Files in the Package to the same Location. This is assuming you Have everything in the /system Folder
To use, You must put the 3d cubelauncher in the Main APP / App_s pending rom build folder
Placing it in /data/app will cause it to not load...
/system/lib/cascades_plugins-3.5.4/libhoudini.so
is it's own folder & lib. You must Copy the Folder & Lib as well to /system/lib/cascades_plugins-3.5.4/libhoudini.so
Or it wont load, Also 10mb Ram Hack Kernel it Known to have 3D issue's
Now for What you Came For.....
Download Link:3dcubepackage.zip
Please Post if It don't work, but should be fine......
Click to expand...
Click to collapse
eugene373 said:
Read the Directions.............
Click to expand...
Click to collapse
I have... I can't see what I did wrong...
As I understand it, I can either put it into my own rom build, or push the files to the phone.
The only ambiguous thing about it I can find is "To use, You must put the 3d cubelauncher in the Main APP / App_s pending rom build folder"...
DarkFoxDK said:
I have... I can't see what I did wrong...
As I understand it, I can either put it into my own rom build, or push the files to the phone.
The only ambiguous thing about it I can find is "To use, You must put the 3d cubelauncher in the Main APP / App_s pending rom build folder"...
Click to expand...
Click to collapse
Unzip, and put both folders to your desktop. Then...
cd desktop
adb remount
adb push app (path to system app directories in your rom, I'm on wesgarner so it would be /system/app for me)
adb push lib /system/lib
JAguirre1231 said:
Unzip, and put both folders to your desktop. Then...
cd desktop
adb remount
adb push app (path to system app directories in your rom, I'm on wesgarner so it would be /system/app for me)
adb push lib /system/lib
Click to expand...
Click to collapse
That is exactly what I did...
This is the content of the folders:
Code:
# ls /system/app
....
CubeLauncher.apk
....
# ls /system/lib
....
cascades_plugins-3.5.4
....
libcascades-3.5.4.so
libcascades_jni-3.5.4.so
....
# ls /system/lib/cascades_plugins-3.5.4
libhoudini.so
Did it over, just to make sure.
It works now...
Must've gone something wrong with the transfer.
Works very smoothly.
I'm using a 64 MB swap partition on the sd card.
didn't somebody else make this? maybe it was you, I'm not sure, but this was a W.I.P. on dream themes and apps a couple months ago

[APP] Droid X Keyboard Port **HOLY CRAP ITS HERE!!1!** [updated 8/13]

After seeing the sweet sweet multi-touch I went looking and found the droid x dump over on android central. Only issue is droid x dump is 2.1 and i just updated to 2.2 frf83. Can anyone repack or resign or do whatever magic needs to be done to get this out to work with froyo?
Its the LatinIME.apk in the app folder.
http://www.4shared.com/file/m8pSCMvI/droidx.html
[UPDATE 7-10]-------------------------------------------------------------------------
Unfortunately Daneshm90 isnt able to work on the Froyo port of this keyboard. If anyone is interested in helping bring this to Froyo, it would be much appreciated, and im sure you'd prob grab a few bucks in donations too.
To make the thread easier to navigate I will be posting all new info on the keyboard here as it is posted throughout the thread. AND REMEMBER ALL GLORY GOES TO DANESHM90, THE ACTUAL DEV DOING THE WORK. THANKS DANESHM90!
DESCRIPTION:
The Droid X Keyboard features full multi-touch. This is different from the multi-touch currently enabled on 3rd party keyboards-the Droid X has the capability to hold down shift and press a letter to make a capital, ie it can do more than one key stoke at once like a physical keyboard. Pretty nice.
LINKS:
2.1 Eclair-based Roms:
only thing not working is auto-captilization,auto-correct errors. Dictionary works, NOW WITH VIBRATE!! Doesnt seem to work on HTC Hero GSM or CDMA...
http://www.mediafire.com/?lumzzhdjnij​
2.2 Froyo-based Roms:
All thats not working on eclair + can't type anywhere it tries to suggest words, like the messaging body. Also voice doesnt work.
http://www.mediafire.com/?rmqzyo0ifzk​
FUTURE FIXES:
• Froyo or Bust
INSTALLATION:
To install this app, you will need a file manager of your choice. Find the apk on your sd card with your file manager and install it. From there go to your system settings-->language and keyboard--> and make sure Multi-Touch Keyboard is checked. Go back to your home screen and find a text field. Long Press and hold until the pop-up menu appears, and select "input method". Choose Multi-touch keyboard. Thats it! To disable simply long press again, select input method and choose a different keyboard. Now you know, and knowing is half the battle
Screenshot of Droid X Keyboard by Andonnguyen. &Amp has been fixed in the apk, but not in this image.
================****UPDATE 8/13/10****
Ok all you multi-touch fanatics...invisiblek over on the incredible forum has ported this to work on a variety of roms, including CM6. Find instructions and DL the files here: http://forum.xda-developers.com/showthread.php?t=753156
If you dont know ADB well, as I dont, you will be able to install this through Root Explorer, the excellent root only file manager. Basically to do this just DL the files, copy them to the appropriate places (LatinIME.apk goes in system/app, libjni_latinime.so goes in system/lib). Be careful as the .so file sometimes DL's as a .txt file, and needs to have both the extension and file name renamed to be correct before installing. It is also a great idea to rename your original LatinIME.apk to something like LatinIME.apk.bak, as well as the lib file, in case anything F's up. As a matter of fact it may even be a good idea to do a Nandroid BU, because you never know what might happen, and its prob been a while hasnt it...
Ok, so you copied them in the right places, now press and try to install your new LatinIME.apk. The first few times I tried to install this, it didnt work. However after remounting my /system as Read Only inside Root Explorer the install worked.
Thanks Invisiblek! Send this guy some donations if you can, we've been waiting for a long time on this one.
Mm, does the keyboard work on a Nexus One that's still running on 2.1, I wonder? Going to give it a try.
Here try this. Its working for me on cyan 5.0.8 on a 32a magic. I just removed the shared uid and resigned with testkeys.
Link
Brilliant, you're a gem. Thank you. Works perfectly.
doesn't work with MCR r18 (FRF72). It installs but force closes once you try to select it.
Will try when MCR r19 (FRF83) hits but I doubt that will work either.
K can u gimme the log ? thnx
Also from ur current build can u gimme ur libjni_latinime.so which can be found under /system/lib/
not the most advanced user here... tell me what to do and I'll do it.
Ok you have adb working right ?
K go start -> cmd -> adb logcat
now leave that window open and try to open swype on ur phone. Then right click the log window click select all, then press enter. Paste in this thread wht u have.
As for the lib its just adb pull /system/lib/libjni_latinime.so <wherever on ur pc>
Cant do that right now... at work. I can when I get home in a few hours.
K cool Np ill try n get vibrate working
Thanks u for great port It work well on Cyanogenmod 5.0.8
smalldroid said:
Thanks u for great port It work well on Cyanogenmod 5.0.8
Click to expand...
Click to collapse
Np. Does vibration work for u ? Doesnt for me Voice to text does though
Vibration doesn't work but I dont need vibration
force closes for me on frf83
force close on FRF72
this is the Log
http://pastebin.com/rHjF6UVn
thanks
Yeah doesn't work on stock frf83-just fc. Any way of fixing?
It seems to be the lib file. K here try this its w/o it forcing it to pull one from ur /system/lib folder
Link
I dunno if this makes a difference or not, but i completely removed the stock keyboard before installing this, i never use the stock keyboard.
These r the steps to do so
adb remount
adb shell rm /system/app/LatinIME.apk
adb shell rm /data/dalvik-cache/*Latin*
adb shell rm /cache/dalvik-cache/*Latin*
adb uninstall com.android.inputmethod.latin
I dunno if this makes a difference or not, but i completely removed the stock keyboard before installing this, i never use the stock keyboard.
These r the steps to do so
adb remount
adb shell rm /system/app/LatinIME.apk
adb shell rm /data/dalvik-cache/*Latin*
adb shell rm /cache/dalvik-cache/*Latin*
adb uninstall com.android.inputmethod.latin
Daneshm90 said:
It seems to be the lib file. K here try this its w/o it forcing it to pull one from ur /system/lib folder
Link
Click to expand...
Click to collapse
Still getting force closes on it. Can't get log since I'm at work.
Note: running froyo, using rodigezstyle's ROM

[Guide] Hacks and mods: Three tutorials for modifying your x10 OS aesthetically

Updated: July 24/2010 Go to the X10 Theme repo for a listing of uploaded themes.
Thanks to everyone that is helping out and contributing. I also apologize if I rip anything off. If I do please post it and I will definitely correct it.
The usual disclaimer goes with this... Use at your own risk and backup your system before making any changes. You know what to do if you run into problems
I think this is important...
Links for various stuff:
framework-res.apk
/system/app/ folder
startup show (boot animation)
Mms.apk
Phonebook.apk
apps2sd-work in progress?
http://forum.xda-developers.com/showthread.php?p=7037044#post7037044
Many visual aspects of the os and system apps can be changed and surprisingly easily. By default when opening an apk you should look around the res-drawable folders for the pngs to edit. If you have noticed, there are some png's that look like xxx.9.png. To modify these files easily, remove the 9 from the filename and open with your preferred editor. When you are done editing the files save them, open the command prompt and type draw9patch. This should open a window with an arrow in it. Drag your file there and I'm pretty sure it goes into the same folder. That's it.
If you are using a mac use betterzip and take a look here.
You can also use root explorer (I havent tried this myself)
Step 1:
Connect phone to pc, enable usb debugging and open adb. Type:
adb pull /system/framework/framework-res.apk framework-res.apk
That will pull your framework-res.apk to whatever folder is displaying in your command line.
Step 2:
Find the framework-res.apk on your hard drive, right click and open with 7zip.
Step 3:
Use png's here or create your own and dump into the appropriate folder within framework-res.apk.
Step 4:
When you are done editing the files open up adb and type the following command:
adb shell mount -o remount,rw -t yaffs2 /dev/block/mtdblock2 /system
adb push framework-res.apk /sdcard/framework-res.apk
adb shell dd if=/sdcard/framework-res.apk of=/system/framework/framework-res.apk
That will put the new framework-res.apk on your phone. It should automatically reboot (if not reboot it) and your changes should be applied!
When running the script above you can replace framework-res.apk with whatever you want. For example, Timescape.apk
Remember, it is CASE sensitive I made this problem many times)
If you would like to pull an entire folder put a slash at the end of the last word. For example, adb pull /system/etc /etc"/" (no " in actual script )
Courtesy of corruptfate is the steps to modify the startupshow (post #207)
step 1: open adb shell
step 2: type "adb shell"
step 3: type "su"
step 4: type "mount -o remount,rw -t yaffs2 /dev/block/mtdblock4 /system"
step 5: type "mkdir system/etc/semc/startupshow"
step 6: exit and redo step 1 - 4
step 7: type "mkdir system/etc/semc/startupshow/default"
step 8: exit and open command prompt again, this time type "ddms"
step 9: look for the default folder in system > etc > semc > startupshow > default
step 10: push the images into that folder
Possible reasons your phone won't boot after modifications:
images anren't stored properly, right format, right size etc.
unpacked apk improperly, use 7zip, it doesn't mess anything up
you signed the package before pushing it- unless you know what you're doing follow the directions to a tee and you should be fine
pushed the package to the wrong directory, /system/framework-res.apk XX, /system/framework/framework-res.apk
I'm sure many other reasons, these were the only ones I encountered
How to get past boot screen:
Use backup framework-res.apk and push that one to your phone. Remember to place that one where the modified one is.
To see if adb sees your phone type adb devices, if a serial number pops up try pushing your original, if not...
Flash your phone again from scratch . Sorry, I don't know any better way yet.
Please post your themes and download themes from the X10 theme repo
The basics:
http://forum.xda-developers.com/showthread.php?t=502010
http://developer.android.com/index.html
http://developer.android.com/guide/developing/device.html
Some Links:
Notification background color
Status bar clock color
Notification font color
Notification bar shortcuts
Edit 9.png's
Install mobile defense as system app through terminal (I haven't tried this yet)
Resigning apps
http://forum.xda-developers.com/showthread.php?t=549109
http://androidforums.com/developer-101/8665-how-signing-roms.html This is the one I have been using. I just noticed its for roms
http://code.google.com/p/android-apktool/ Figured it out but no need for it as of yet
How to modify notification background colors
Some of the files; not sure which is the top band displaying carrier(semc_avctivity_title.9.png??):
statusbar_background.png
status_bar_background.png
status_bar_close_on.9.png
status_bar_header_background.9.png
status_bar_item_background_normal.9.png
They should be in res/drawable-240dpi. Once you find them open them and modify as you wish. Once completed save your changes.
Getting FLAC working, I was wrong, mixed up file folders. Apparently meridian pioneer works. Havent gotten a chance to test for sure yet. I am now trying to manually add flac support to mediascape
Second tutorial: Busting open apks so you can edit xml's!!
So has anyone tried opening up an xml file on their phone to edit only to find incoherent coding. Well I have. So I have stumbled upon a tool called apktool. The tool somehow breaks down the apk into readable xml files. I haven't gotten so far as to test out an edited xml because I wanted to post this so I don't forget how to do it.
1. follow instructions on installing apktool. Unzip the files into your android-sdk-windows/tools folder
2. Put a copy of your framework-res.apk into the same tools folder
3. from command type: java -jar apktool.jar if framework-res.apk
4. Put whatever apk you want to edit into tools folder and type this: java -jar apktool.jar d xxx.apk
5. Look in your tools folder and voila there will be a folder named with whatever apk you worked with.
Third tutorial: Use smali/baksmali to edit services.jar and services.odex
1. follow instructions on downloading and installing smali/baksmali
2. pull these files from your phone and place them into the same folder as smali (should be android-sdk-windows\tools):
code.odex
ext.odex
framework.odex
android.policy.odex
There may be other ones needed that Im missing so if you find this out please let me know
3. place the odex you want to modify into the same folder (android-sdk-windows\tools)
4. from the command line type java -jar baksmali-1.2.3.jar -x services.odex
your pc will work a little bit and when its finished will just show your directory again.
5. minimize that screen and go into the folder you put everything in there should be an out folder. Open it up and all the files to edit will be there!
I haven't recompiled yet but when I do Ill finish this tutorial.
COMMON PROBLEMS:
These are some problems I ran into because I am a noob. I figure it may help a couple people out
1.unable to access apktool.jar/baksmali-1.2.3.jar
Im pretty sure you are in the wrong directory
from the command line type: cd C:\whatever\directory\leadsto\android-sdk-windows\tools\the.jarfileyouaretryingtoaccess
2....
Modification requests:
Custom boot screens-- find your startupshow folder=== SOLVED
custom response to invalid password
Ad hoc support
Disable slide lock
App drawer categorization=== THERE'S AN APP
map hardkeys
cool, gonna try and change the battery indicators
I was able to replace framework-res while the phone was running, but now the phone wont boot.. good thing I made a backup of the original one
xxsashixx said:
I was able to replace framework-res while the phone was running, but now the phone wont boot.. good thing I made a backup of the original one
Click to expand...
Click to collapse
Thats where I'm stuck too. Did you resign the package after modifying it? Im going to try that in a bit.
Does anyone know of a good n00b guide to emulating our phone in eclipse?
@microkiwi can you post how it went?
I did make some new icons in PS, but unfortunately I wasn't able to boot the phone after pushing my new files to it
I also tried to sign it with the autosign (testsign.java) application but no luck...
mikrokiwi said:
I did make some new icons in PS, but unfortunately I wasn't able to boot the phone after pushing my new files to it
I also tried to sign it with the autosign (testsign.java) application but no luck...
Click to expand...
Click to collapse
Cool thanks, hey have you seen an app called metamorph? I just noticed it right now but it seems like stericson automated and simplified the process. Heres a link
http://forum.xda-developers.com/showthread.php?t=591329
Have you tried that app yet?
Yes, I have made a metamorph theme now and everything seems fine, the theme shows up and I can apply it and everything.
But after reboot the phone is still using the old icons
Any other metamorph themes that we can install?
I think for 1.6 only
gavriel18 said:
http://code.google.com/p/android-apktool/ Looks cool I just wish I knew how to use it
Click to expand...
Click to collapse
Apktool is just for everything else but signing ;-)
mikrokiwi said:
Yes, I have made a metamorph theme now and everything seems fine, the theme shows up and I can apply it and everything.
But after reboot the phone is still using the old icons
Click to expand...
Click to collapse
Could you please upload the theme, I'd like to learn how theming works. In the AndroidThemes thread I found only themes for custom roms. THX !
mikrokiwi said:
Yes, I have made a metamorph theme now and everything seems fine, the theme shows up and I can apply it and everything.
But after reboot the phone is still using the old icons
Click to expand...
Click to collapse
Could you please post the .png files from the framework pull? I would like to change the colors and then try to replace them with files in a theme that I found that might work with our phone. The only issue is the resolution of the theme that I had in mind. If this works then we can all make custom themes for our X10 using that theme as a template. Not sure if it will work, but I would like to try.
pietropizzi said:
Could you please upload the theme, I'd like to learn how theming works. In the AndroidThemes thread I found only themes for custom roms. THX !
Click to expand...
Click to collapse
Unfortunately it does not work at the moment, but when I get it to work I will upload it for everyone to use
troyjamz said:
Could you please post the .png files from the framework pull? I would like to change the colors and then try to replace them with files in a theme that I found that might work with our phone. The only issue is the resolution of the theme that I had in mind. If this works then we can all make custom themes for our X10 using that theme as a template. Not sure if it will work, but I would like to try.
Click to expand...
Click to collapse
http://www.mediafire.com/file/kkmhmnyhgyw/framework-res.apk open it with 7zip
Thx man!
mikrokiwi said:
Unfortunately it does not work at the moment, but when I get it to work I will upload it for everyone to use
http://www.mediafire.com/file/kkmhmnyhgyw/framework-res.apk open it with 7zip
Click to expand...
Click to collapse
Tack så mycket!
@microkiwi Thanks for the upload, do you mind if I post that link in the first post?
@brut.all Does it work the same way as autosign? I followed the instructions properly on installing it but when I try to open it a command line pops up for a second (too fast for me to read) and then closes. Am I missing something?
Also do you know if framework-res.apk needs special signing? I'm just trying to figure out why the phone gets stuck at boot after pushing the modified apk.
@pietropizzi I have made one as well it doesn't work but I'll upload it right away. Check out the metamorph thread for some tutorials on theming. It is surprisingly easy.
On another note has anyone gotten to move their apps to the sdcard? I've tried but with no luck..
heres a post I made about it:
http://forum.xda-developers.com/showthread.php?p=7037044#post7037044
Cool ,I'm going to try it tonight. Mind if I add it to the list at the top?
BTW did anyone know mediascape supports wav audio Swwweeeeeetttt

Creating a new theme, but how to create a usable update.zip (or other easy methods)

I started a theme the other day, and I'm moving through the files pretty quickly but without context it's hard to know which graphic is which. So I want to flash or apply the current work I'm doing so I can see where things are and how they look.
Right now I'm working through a deodexed version of Froyo so all the files should be in order. Assuming that I strip out all files but the graphics, how do I create a update.zip for it or use any other method? I'm new to Android so any help would be appreciated.
I'm guessing you already have the sdk installed?
chocmatic said:
I'm guessing you already have the sdk installed?
Click to expand...
Click to collapse
Yup. SDK + Eclipse.
Emulator? no?
you can either figure out how to make them Metamorph compatible (sorry, can't give you advice on that, never done it)
Or you can put the images in the correct folder of whatever .apk they go in and make a flashable update.zip, basically replacing the existing .apk's with the full complete modded ones.
You'll need to put all the modded .apk's into a file structure that mimicks where they would be on the phone and zip that structure up with an update_script and sign the update.zip.
I would highly recommend you unzip some small flashable .zip and poke around in it to see the structure and look at the update_script.
This is a download link to a transparent tray mod I did. It replaces ONE .png but because I chose to make it a flashable .zip it requires replacing the framework-res.apk. Except for the actual .apk's you'll need to put in it, this .zip would be perfectly suitable to use as a base for your mods (and you're welcome to use it). If you did use it you would put your .apk's in the system/framework folder, delete the 3 cert files in the META folder, zip the system and META folders into "update.zip" and sign it using an autosign script.
fire away with any questions
ps, you don't need eclipse or the sdk for any of this but you will need an auto-sign script which is one of the tools in Avabox
AFAIK you couldnt use the emulator in the SDK to preview this stuff anyways because you can't get Sense running on the emulator, not to mention the emulator runs SOOOOO SLOOOOWWWWW. Even if you could get Sense running on the em I would bet you would spend less time making a nand, flashing your mods, checking them out and restoring your nand if you didn't like them than using an emulator to preview this stuff.
Award Tour said:
Yup. SDK + Eclipse.
Click to expand...
Click to collapse
Download the attached file and save folder in your tools directory. Then look at sign.txt to sign files
chocmatic said:
Download the attached file and save folder in your tools directory. Then look at sign.txt to sign files
Click to expand...
Click to collapse
Nothings attached.
nebenezer said:
you can either figure out how to make them Metamorph compatible (sorry, can't give you advice on that, never done it)
Or you can put the images in the correct folder of whatever .apk they go in and make a flashable update.zip, basically replacing the existing .apk's with the full complete modded ones.
You'll need to put all the modded .apk's into a file structure that mimicks where they would be on the phone and zip that structure up with an update_script and sign the update.zip.
I would highly recommend you unzip some small flashable .zip and poke around in it to see the structure and look at the update_script.
This is a download link to a transparent tray mod I did. It replaces ONE .png but because I chose to make it a flashable .zip it requires replacing the framework-res.apk. Except for the actual .apk's you'll need to put in it, this .zip would be perfectly suitable to use as a base for your mods (and you're welcome to use it). If you did use it you would put your .apk's in the system/framework folder, delete the 3 cert files in the META folder, zip the system and META folders into "update.zip" and sign it using an autosign script.
fire away with any questions
ps, you don't need eclipse or the sdk for any of this but you will need an auto-sign script which is one of the tools in Avabox
AFAIK you couldnt use the emulator in the SDK to preview this stuff anyways because you can't get Sense running on the emulator, not to mention the emulator runs SOOOOO SLOOOOWWWWW. Even if you could get Sense running on the em I would bet you would spend less time making a nand, flashing your mods, checking them out and restoring your nand if you didn't like them than using an emulator to preview this stuff.
Click to expand...
Click to collapse
Thanks a lot. Seeing the file, it makes sense. In your simple example you modded the framework res APK -- did you have to sign that single APK or was it taken care of when you signed the update.zip? I've modded some apps already and I know that with single APKs you have to sign them so it can be installable again. Don't know if that is needed once you sign the update.zip.
BTW, I can't wait to release this theme. It makes Sense look substantially better.
Award Tour said:
Thanks a lot. Seeing the file, it makes sense. In your simple example you modded the framework res APK -- did you have to sign that single APK or was it taken care of when you signed the update.zip? I've modded some apps already and I know that with single APKs you have to sign them so it can be installable again. Don't know if that is needed once you sign the update.zip.
BTW, I can't wait to release this theme. It makes Sense look substantially better.
Click to expand...
Click to collapse
Actually signing the .apk's is not necessary. If all you're doing is swapping out images just open the .apk's archinve with 7zip (or similar program) and drop the new .png's into the correct folder (almost always res/drawable-hdpi)
Signing the .zip makes it flashable, the .apk is usable whether you sign it into a .zip or not. Actually when you're testing stuff out I find it's much quicker to just push the modified .apk to the phone via usb, I don't make a flashable .zip until it's ready for sharing
If you push a framework file to the phone ADB REBOOT immediately.
Also, don't be surprised if some of your wallpaper gets reset to stock and your google account gets wiped out after reboot, comes with the territory
nebenezer said:
Actually signing the .apk's is not necessary. If all you're doing is swapping out images just open the .apk's archinve with 7zip (or similar program) and drop the new .png's into the correct folder (almost always res/drawable-hdpi)
Signing the .zip makes it flashable, the .apk is usable whether you sign it into a .zip or not. Actually when you're testing stuff out I find it's much quicker to just push the modified .apk to the phone via usb, I don't make a flashable .zip until it's ready for sharing
If you push a framework file to the phone ADB REBOOT immediately.
Also, don't be surprised if some of your wallpaper gets reset to stock and your google account gets wiped out after reboot, comes with the territory
Click to expand...
Click to collapse
Oh okay, I think I'd prefer using ADB too. What command would I use to push the files?
Award Tour said:
Oh okay, I think I'd prefer using ADB too. What command would I use to push the files?
Click to expand...
Click to collapse
this:
Code:
adb remount
adb pull /system/framework/framework-res.apk c:\
then I make my changes to the .apk and:
Code:
adb push c:\framework-res.apk /system/framework
adb reboot
nebenezer said:
this:
Code:
adb remount
adb pull /system/framework/framework-res.apk c:\
then I make my changes to the .apk and:
Code:
adb push c:\framework-res.apk /system/framework
adb reboot
Click to expand...
Click to collapse
Cool, just so it's clear, and I'm sorry to bug, but I'd have to pull (remove I guess)
the file before pushing the new one in?
Award Tour said:
Cool, just so it's clear, and I'm sorry to bug, but I'd have to pull (remove I guess)
the file before pushing the new one in?
Click to expand...
Click to collapse
meh, you can use another compatable copy. I always just pull it first for 2 reasons: 1) I know its the one I'm using at the moment and 2) if you're gonna be using adb it's just convenient to have it right on c:\, less typing
Award Tour said:
Oh okay, I think I'd prefer using ADB too. What command would I use to push the files?
Click to expand...
Click to collapse
adb push <filename> </target dir/targetfilename>
Read this guide, very informative on ADB
SteelH said:
Nothings attached.
Click to expand...
Click to collapse
oops my bad...it's attached now
nebenezer said:
you can either figure out how to make them Metamorph compatible (sorry, can't give you advice on that, never done it)
Or you can put the images in the correct folder of whatever .apk they go in and make a flashable update.zip, basically replacing the existing .apk's with the full complete modded ones.
You'll need to put all the modded .apk's into a file structure that mimicks where they would be on the phone and zip that structure up with an update_script and sign the update.zip.
I would highly recommend you unzip some small flashable .zip and poke around in it to see the structure and look at the update_script.
This is a download link to a transparent tray mod I did. It replaces ONE .png but because I chose to make it a flashable .zip it requires replacing the framework-res.apk. Except for the actual .apk's you'll need to put in it, this .zip would be perfectly suitable to use as a base for your mods (and you're welcome to use it). If you did use it you would put your .apk's in the system/framework folder, delete the 3 cert files in the META folder, zip the system and META folders into "update.zip" and sign it using an autosign script.
fire away with any questions
ps, you don't need eclipse or the sdk for any of this but you will need an auto-sign script which is one of the tools in Avabox
AFAIK you couldnt use the emulator in the SDK to preview this stuff anyways because you can't get Sense running on the emulator, not to mention the emulator runs SOOOOO SLOOOOWWWWW. Even if you could get Sense running on the em I would bet you would spend less time making a nand, flashing your mods, checking them out and restoring your nand if you didn't like them than using an emulator to preview this stuff.
Click to expand...
Click to collapse
This was very helpful to me as well; thanks!
Actually I just thought of a question. After you sign the file and it becomes update_signed.zip can you rename it to something else like BlahBlah.zip and have it still flash properly?
Tried twice and it failed. It would create to Meta files and not find the update script. Followed the directions but that still happened; any advice?

Is it possible to change stock keyboard sound?

Just wondering cause I found where the sounds are stored, I'd rather have an iphone-ish type sound rather than the type writer sound I get now... anyone done such a thing?
If I had to make an educated guess, I'd say it's in /system/app/HTC_IME.apk . Before continuing, DO A NANDROID. Grab a copy of 7-zip, get the apk from your phone like this:
Code:
adb remount
adb pull /system/app/HTC_IME.apk
Open the apk directly using 7-zip, go to res/raw/effect_tick.ogg, and replace that file with whatever you want by simply dragging and dropping it into 7-zip (must be named exactly the same and it must be ogg-formatted). I recommend rebooting into recovery to push it back to your phone:
Code:
go to the mounts menu in recovery and mount /system
adb push HTC_IME.apk /system/app/HTC_IME.apk
Done.
Yeah I found where they are located, I just wanted the file that sounded like an Iphone when typing. Anyone have that/know where to find it?
I have another app installed that has a sound for the keyboard that I want... Any idea where I could look to get that sound effect?
Well pull the app from /data/app/THE_APP_NAME.apk run APKTOOL on it. You actually dont even need to do that, just unzip it, snag the sound. I will probably be under a folder called asset/sounds or something to that effect. Rename the sound file to the matching one in HTC_IME.apk then drop it in (you may need to convert it so it is the right filetype).
You may have to resign HTC_IME, im not sure.
[email protected] said:
Well pull the app from /data/app/THE_APP_NAME.apk run APKTOOL on it. You actually dont even need to do that, just unzip it, snag the sound. I will probably be under a folder called asset/sounds or something to that effect. Rename the sound file to the matching one in HTC_IME.apk then drop it in (you may need to convert it so it is the right filetype).
You may have to resign HTC_IME, im not sure.
Click to expand...
Click to collapse
OK its force closing now so I guess I do have to resign, how is that done?
There are plenty of ways.
Create your own key
http://www.londatiga.net/it/how-to-sign-apk-zip-files/
Use an application
http://forum.ppcgeeks.com/showthread.php?t=126517
http://forum.xda-developers.com/showthread.php?t=473580
I use this
{attached below}
It signs with a testkey, though you could replace with your own key.
I keep getting an error about java even though I have it installed...?
OK, I got it to sign, but its still force closing on me... any ideas?
Ok i just check my phone and I use a modified HTC_IME that is skinned. I was going to suggest using that one but when I went into options you can actually select what ever key noise you want (in ogg format).
Go here, create your keyboard, download it and then go into options to change the noises.
HTC_IME may have to be signed with the system (HTC) key since it runs under that uid.
Here is the modded ver.
http://forum.xda-developers.com/showthread.php?t=663608
and a link to the kitchen. <- I suggest this
http://forum.xda-developers.com/showthread.php?t=654179
OK, that works, but the newest version I could get doesn't have multi touch... is that available or not?
I never noticed that! Post your sound and let me have a go at integrating it. I will see I can get it to do right.
sent from my Incredible
OK, great, here it is.... Let me know what you can do with it. If you can add that to the stock multi touch keyboard you will be a god in my eyes
Ok trying it now. Do you want that noise for all three actions?
EDIT:
I also need to know if you are deodexed or not. I tried it once and it fc'ed. I will attempt it again tonight.
sent from my Incredible
Yeah that one sound for all actions is what I want. Also yes I am deodexed.
Any luck....?
JAYNO20 said:
Any luck....?
Click to expand...
Click to collapse
will try tonight! Sorry I have been a bit busy.
Why don't you guys just change the actual sound files used?
/system/media/audio/ui/
Then rename your sound file(s) used to replase the stock ones:
KeypressDelete.ogg
KeypressReturn.ogg
KeypressSpacebar.ogg
KeypressStandard.ogg
That is what I did months ago and it works fine.
xvenom89 said:
Why don't you guys just change the actual sound files used?
/system/media/audio/ui/
Then rename your sound file(s) used to replase the stock ones:
KeypressDelete.ogg
KeypressReturn.ogg
KeypressSpacebar.ogg
KeypressStandard.ogg
That is what I did months ago and it works fine.
Click to expand...
Click to collapse
Yeah I tried that, it doesn't work for me... What all did you do to get it to work? And you are referring to the STOCK HTC keyboard right?
Either of you guys come up with anything?

Categories

Resources