i just flash my magic with hero rom1.2
and install HTC_CIME using "adb install -r ..."
now my magic has touch input and touch input chinese
but when i edit a message or contact, i found touch input chinese could not be called
so how could i replace the original touch input with touch input chinese only
i can not find any solution to it by using setting->application->management
Could anyone help me ? thx very much
I'm using the same ROM and same input (because the system partition has no space, I can't push the other files to it).
I find that I need to call it 3, 4 times before the keyboard comes up (then switch it to handwriting). Click the input field with the TRACKBALL a couple of times....
I was able to customize hotweiss's most recent rom to have CIME in the update.zip file. I deleted the ringtones (as per suggestions from the TW HTC rom thread, to make the system partition smaller) and with rosie.apk is smaller as well, had just enough room for the CIME library. I have 1mb left in system partition.
If anyone wants me to upload this rom, I can do it. I did delete Twitter, Footprints, Quickoffice, HTC sync and the regular IME (I didn't feel a need for another english keyboard, the CIME one is more then adequate.) from this rom, and added in the most recent copy of Astro.
If you want, I can add those stuff back in, these are stored in the data folder, not system, so it should be fine.
This is the ROGERS rom, without swapper installed.
I would like to ask how can I add / remove stuff based on existing signed ROM and then sign it again?
onenew said:
I would like to ask how can I add / remove stuff based on existing signed ROM and then sign it again?
Click to expand...
Click to collapse
Just unzip the update.zip file, add/delete what you need, zip it again, then use autosign.bat to resign it.
Autosign: http://forum.xda-developers.com/showthread.php?t=473580
Just be careful when adding stuff that you don't go over the limit in the system partition. The first few times I tried putting CIME in the rom, it gave me an error when I was flashing the file.
wow...so simple. THanks a lot
Related
To create themes, or to edit themes to your liking, you will need a working knowledge of android, adb, how to resign apk's, knowledge of your own O/S.
Before you start be aware that you will probably end up wiping your phone once, if not more. So lets go over the things that you will need.
You will need JF's RC30, RC8, or ADP1 V1.3, depending on what version you intend to create for.
Here is the link to these: http://forum.xda-developers.com/showthread.php?t=466174
You will also want to get the dev bootloader installed on your phone and to HIGHLY suggest everyone trying your theme to install it as well.
Link to dev bootloader: http://forum.xda-developers.com/showthread.php?t=455860
You will also need to resign all the apks located in /system/app and framework-res.apk located in /system/framework. When you push all of these to your phone, you will need to do a wipe.
JesusFreke was kind enough to build a custom signing tool for me that would allow me to right click on an apk and resign it from there. I am posting it here for others to use as well. Note that this is a courtesy of JF, so thank him for it. I cannot stress how much time this has saved me and will save you.
Here is the link: Http://www.FightForthePits.com/testsign(2).zip
Before using this you need to know how to set this up:
I will assume that you have the sdk downloaded and extracted somewhere(if not, do that now), extract both files to the tools directory of your sdk.
Now you will need to add the tools dir of your sdk to the environment variable CLASSPATH.
To do this, right click on My Computer click properties, then choose the tab that says advanced. Click the button that says environmental variables. Go to system variables find the one that says CLASSPATH, double click it, go to the end of variable value. There should be a semicolon ; at the end. type in the path to the testsign.jar located in the tools directory of your SDK, for example the path to my testsign.jar was c:\sdk\android-sdk-windows-1.0_r1\tools\testsign.jar If CLASSPATH is not in your system variables then create it.
If you find the right click menu not working for some reason you can type the following in cmd to sign your files: java testsign whateverfiletosign
Now right click the reg file that you extracted and choose to install it, or merge.
Now, right click an apk, do you see an option that says ResignApk? If not hit the windows key and R at the same time. Type in regedit. go to HKEY_CLASSES_ROOT and expand it. Now find .apk and click it. Double click on (Default) and erase apk_auto_file. Hit ok and close the Reg editor. Now right click an apk and the option ResignApk should be there.
Now through doing this you have done two things, first off you have made the resigning process extremely easy, secondly you will not have to cd to the tools dir of the sdk to use adb or any other tool in the sdk.
You will also need a version of linux installed or running vmware with linux, so that you can create an update file which will install the theme onto the users phone.
You need to make sure that you do this correctly, because if you don't then you will have the potential to create problems for people trying to install your theme. You also need to be specific in addressing what version your theme is for, RC8, RC30, or ADP1. Make sure every file gets signed. Make sure you test the update.zip before you release it.
Every .apk contains the images relating to itself. However, every apk has the ability to use the images in framework-res.apk. The images for every apk is located inside of res and more specifically in folders that are named Drawable, drawable-land, drawable-port, etc. Some things you cannot edit unless you rebuild the entire apk from source, which we will not go into here.(another tutorial, another time) Just know that at this time you SHOULD NOT edit, or even open images with the extension .9.png. If you do you will have problems...Trust me. These are special images called ninepatch images and android resizes these images to fit wherever android, or any other apk, needs it to. if you do open them or edit them they will no longer render correctly when resized. I believe that in order to edit these you must do so and then put them into the source and rebuild the entire apk.
Before getting started you must also realize that you cannot simply resign one or two apk's and stick them in your phone and expect them to work. You must resign every apk inside of /system/app and framework-res.apk and put them on your phone at the same time.
To simplify this process for you though, I have provided an update which will do all of this for you. Note that these updates will not completely wipe your phone, your apps will be retained, however, they will require you to re-enter your Google info, and you will lose you call history.
Links down
Just put the correct update.zip, depending on what version you are running, onto your sd card, boot into recovery and hit alt + s.
Now you can push your own apk's one at a time without re-wiping your phone.
Now, your ready to start changing things up.
You will now need to open the apk, which you can do by adding .zip after .apk, effectively changing it to a zip. Note that if you are using windows you will need to unhide known file extension types.
See here to unhide known file extension types for Xp: http://www.mediacollege.com/microsoft/windows/extension-change.html
See here to unhide file extension types for Vista: http://maximumpcguides.com/windows-vista/how-to-change-a-file-extension/
After changing the apk to a zip open it go to res and copy the folders that have drawable in their name. Go to your desktop, or wherever, create a new folder called Images, or whatever. Open the folder, paste the drawable folders in there. Now you can see what the files look like without opening them. Btw, you may also want to add -frame, or -launcher, to the end of the folders you cope over to keep them separated from others.
Finally, you've edited the images put them all in the apk renamed it back to an apk and resigned it. Now it's time to push it to your phone and see the changes you've made.
Important! : Whenever pushing files to the phone NEVER do it while the phone is running. Do this in recovery mode! If you do this while the phone is running normally you will begin to lose space in /system.
So, boot into recovery plug your phone in and open a cmd prompt. From the cmd prompt type adb shell mount /system then type the following: adb push c:\whereveryourfileis\whateveryourpushing.apk /system/app (system/framework if your pushing framework-res.apk)
Now reboot your phone. If it doesn't boot, try doing a wipe, if that doesn't work reinstall an update and try again. There are alot of things people can do wrong, I can't explain them all here. If you get real stuck, you can ask for help here or contact me on Gtalk [email protected].
So now your theme is done and your ready to make an update.zip for others to install your theme.
This must be done in LINUX! Not WINDOWS! Yes it may work for you if you do it in windows but other people's phones will enter an indefinite loop! Just do it from Linux! If you absolutely cannot make your own update.zip, contact me and we'll see if I can make one up for ya.
I have created a template for you to make your own update.zip. Just download, open in Linux, and add the system apps to app, and framework to framework. Zip it up, SIGN IT, TEST IT YOURSELF, and then distribute it!
Empty update.zip template: Http://www.FightForthePits.com/Androidstuff/update_empty.zip
If anyone has any questions please try asking for help in this thread before emailing me for help Usually I will respond to questions in this forum.
I hope this Tutorial has been helpful. I will add on to it as needed.
Stericson
Links of interest:
Downloading SDK: http://code.google.com/android/intro/installing.html
Using ADB: http://code.google.com/android/reference/adb.html
Working with ninepatch should be straightforward if you use the draw9patch tool included in the SDK. Documentation on usage here:
http://code.google.com/android/reference/draw9patch.html
JF could also save theme users a wipe by resigning /system/app/* and /system/framework/framework-res.apk in his builds with the test keys. Nice tutorial, btw.
However it doesn't. I have used that to no avail. I believe you need to edit the images, put them in the source then rebuild the apks from the source.
As for JF's update, it does not currently wipe your phone after install. So, for him to do this he would have to have his update do a wipe. So technically, they would still have to do this initial wipe.
Stericson
Stericson said:
However it doesn't. I have used that to no avail. I believe you need to edit the images, put them in the source then rebuild the apks from the source.
Click to expand...
Click to collapse
Good point. I thought you could simply drop a similarly dimensioned PNG in but apparently there is some metadata that only the android tool can create.
As for JF's update, it does not currently wipe your phone after install. So, for him to do this he would have to have his update do a wipe. So technically, they would still have to do this initial wipe.
Click to expand...
Click to collapse
True, but a user who is upgrading to a JF update after having put in customized (and test-key signed) system apps will have to wipe again anyway =) Anyone using custom themes will have to wipe every time a JF update (or any update) comes out. However if JF resigns, custom theme users would not have to wipe and stock theme users only have to wipe once. (Nevermind the fact I think everyone should wipe when updating...)
thx stericson this will help big time how long before I can get resigned rc30 last night when you said all the apk. need to be resigned I was like this is going to be a long night but I see jf hooked you up save some big time with his resigning tool
jashsu said:
Good point. I thought you could simply drop a similarly dimensioned PNG in but apparently there is some metadata that only the android tool can create.
True, but a user who is upgrading to a JF update after having put in customized (and test-key signed) system apps will have to wipe again anyway =) Anyone using custom themes will have to wipe every time a JF update (or any update) comes out. However if JF resigns, custom theme users would not have to wipe and stock theme users only have to wipe once. (Nevermind the fact I think everyone should wipe when updating...)
Click to expand...
Click to collapse
Ah, good point
The resigned apps will be released maybye sometime tonight...I had them done but ran into a script problem on adp1 and I have yet to try the rc30 and rc8 ones yet. so I won't release those until I've tested them. If you want to be a Guinea pig however, just let me know
Stericson
Stericson said:
Ah, good point
The resigned apps will be released maybye sometime tonight...I had them done but ran into a script problem on adp1 and I have yet to try the rc30 and rc8 ones yet. so I won't release those until I've tested them. If you want to be a Guinea pig however, just let me know
Stericson
Click to expand...
Click to collapse
The resigned apps have been released, each update file will resign all of apps in /system/app and framework-res.apk. However, these updates make no changes to them whatsoever...Meaning your phone will look just like a brand new phone without any modifications.
rc30 works thx Stericson made it easy for use
Issues with using the update.zip above
Hi all,
I just wanted to point out that after I applied the update.zip above and rebooted applications kept force closing randomly and constantly even through the initial setup (where you have to click the green android to start).
Prior to this, I had JF's RC30 1.3, and the engineering bootloader V2 no sigcheck.
First I did just a alt+s then a alt-w and alt+s. And still nothing.
I'm new to all this so I'm not even sure where to begin troubleshooting. Should I be using the HardSPL?
Thanks in advance and I appologize if this isn't the right place for this post.
Update:
After reflashing with JF's 1.3 RC30 and the problem persisted I noticed that there was a new release 1.31 and this has fixed the problem. I hope this helps anyone else who runs into the same problem.
I still don't know what went wrong though, can anyone shed some light on this? thanks.
Truly there's no telling, sounds like J'f's update fixed it. Can I ask what version you tested?
I would also like to announce that now, thanks to JF, again, you do not have to wipe your phone completely to apply the resigned app updates. However, you will have to re-enter your google info and your call history and other minor things will be gone, but all of your apps will be retained.
Stericson
Stericson said:
Truly there's no telling, sounds like J'f's update fixed it. Can I ask what version you tested?
I would also like to announce that now, thanks to JF, again, you do not have to wipe your phone completely to apply the resigned app updates. However, you will have to re-enter your google info and your call history and other minor things will be gone, but all of your apps will be retained.
Stericson
Click to expand...
Click to collapse
Hey, I tested it with this one:
Rc30 resigned: http://www.fightforthepits.com/Andro...pdate_Rc30.zip
Update went fine, until I booted back up then the applications kept force quitting, without me even doing anything.
Thanks,
Limitlis
yes there is a temp problem with those right this moment I am on the problem as we speak, expect a fix tonight...
Stericson
Can we get the fix cuz it bricking fone I had to flash rc29 nbh
Edit: I forgot please.... feel kinda rude when ur helping me out lol but it bricking some phones and for our less experince members we don't global meltdown lol
These files have been fixed and uploaded.
Stericson
I found the cyclon boot effect images in in framework-res/assets/images,
is there any way to replace the android boot image with those images?
Is there anyway to make the theme with a custom boot screen? Also is there a way to change the second boot screen(The one that says Android and has the little robot)
i tried using the testkeys from JF to resign my apks, but the update still says there is not signature =[
hello, I used the tutorial and everything worked great. I'm trying to change the background to the notification section but I can't find that file. Could you tell me where it is? Thank you.
hey stericson, how do u create a theme for rc33?
Hello Guys!!!
Sorry for the problems caused There Were More Two Widgets Missing Other Than Messaging widget to be coppied to Internal Memory Namely The Clock & Contact Widgets, So They Are Added In The Re-Update, The Whole .exe Is To Be Downloaded Again, Sorry For This.
Even The superuser enabler package(.exe) is fixed...But If U already Have the old .exe , just get the attached script & replace it with the old one...
Be Tuned For Apps2Sd & An Rom With At-least 30 MB Of Free Internal Memory Build....M Currently Initializing Source Code So That Will Help Me With Some Stuffs Like Update-Script & Some Stabilization Of ROM...
SUPERUSER ENABLER
Thers no SuperUser Apk Working On Haykuro's Hero Rom, So to get It Working, Only Installing Is Not Enough So I have Got It Working, Follow This Steps...
Note: To Test, Just Try Using CPU Overclocker Widget(Its Free) From The Market Before & After Using This... u ll Notice the Change
Steps:
1. Download The Install-Enable-SU-By-Sangeet.exe & Extract Any where By Double Clicking It.
New Fixed Download Link: http://android-latest-build-images.googlecode.com/files/Install-Enable-SU.exe
2. Connect Ur Phone Via USB Cable
3. Run The Install-Enable-SU .bat File.
4. Choose Appropriate options..
5. Rebooting Not Recommended...(UR WISH)
Rosie UI Enhancer/Optimizer
Note: U Must not Be Using Apps To SD Other Than The Default app_s folder
Means U must Not Have /Data/app Moved to /System/sd/app
The Rosie UI Dosent Need The Launcher.apk, So This Script Removes It.
This Script Moves/Installs Rosie Application To Internal Memory...
MoreOver, The Rosie UI Uses The HTC Widgets Which Are Seperate Applications, So Even If The Rosie Loads Fast, The Widgets Make It Slow...
So This Script Even Moves/Installs The HTC Widgets To Internal Memory...
Steps:
1. Download The Fixed-Rosie-UI-Optimizer.exe & Extract Any where By Double Clicking It.
Download Link: http://android-latest-build-images.googlecode.com/files/Fixed-Rosie-UI-Optimizer.exe
2. Connect Ur Phone Via USB Cable
3. Run The Optimize_Rosie.bat File.
4. Choose Appropriate options..
5. Reboot The Phone (NEEDED)
Dex-Optimizing
After All That, The Widgets Would Take Some Internal Memory, So I Would Recommend Using The Dex Optimizer...
Steps:
1. Download The Dex-Optimizer.exe & Extract Any where By Double Clicking It.
Download Link: http://android-latest-build-images.googlecode.com/files/Dex-Optimizer.exe
2. Connect Ur Phone Via USB Cable
3. Run The DEX-OPTIMIZER.bat File.
4. Choose Appropriate options..
Credits: buttkicker (optimization script),
I Dint Know Hod to make such scripts with options Learned from HTC Hero Speedup vXX by tehseano so credits to him too...
If Any one else left inform me i ll add..
Please add this to the wiki and PM me the url so I can add it to the roundup thread.
Only post problems with the above thread. Do not go off topic.
ryanmo5 opened this thread saying it didn't work and it messed up his home screen.
Thank you ryan for trying this out and letting us know.
i tried this and it says no such file or directory on all files. And then it says it cant find .apks for all files to install. Ok i didnt even look at my home screen all my widgets are gone except the clock. When i try to add the htc widgets im left with only 4 widgets.
Also the Install-Enable-SU.bat did not work for me. Was stating batch was inoperable.
Yeah, the UI tweak totally borked my phone. It locks up at the HTC logo. I went back to ion till tomorrow.
WEE!!!
AWESOME. This is fantastic. Thank you for your hard WORK!! much appreciated! Seems to have worked like a charm for me and i can really notice a huge speed boost especially when going back to the home screen.
I have found my HEROOO!
Oh and btw, when you do the part to optmize for Rosie, the folder that contains the apks should be renamed from Rosie to Files. That will make things work. It did for me.
I miss the Rosie UI lock screen though... its gone?
But wow incredibly speedy and even a lot more stable? Thank you sangeet.003 and all the other FANTASTIC developers on this forum who keep me and my G1 busy with fun goodies.
Here is a oddball question, couldn't someone just create a update.zip with all this done? I'm not familiar with signing pkgs and what not. So I'm not 100%.
i'm a mac user.
but i kind of smart when it comes to these things so i got it to work.
but for other mac users do you think you can just up load the files and post the
adb commands.
kronosx1 said:
Here is a oddball question, couldn't someone just create a update.zip with all this done? I'm not familiar with signing pkgs and what not. So I'm not 100%.
Click to expand...
Click to collapse
I think i read somewhere that it wouldn't be possible because of how big the update.zip would be which is why when flashing Hero, you need the ext2 to store the apps_2
the great thing is, if you just keep testing, reading and messing around with running everything from roms, scripts, commands and tweaks, you eventually get things to work and and you find a huge satisfaction and semi-understanding of it all and you find yourself appreciating the developers here for their work.
Wow its four in the morning and i think im on a strong sugar high because i never post.
so changing the folder from rosie to files worked for you
ynghova187 said:
so changing the folder from rosie to files worked for you
Click to expand...
Click to collapse
yeah rename "Rosie" to "Files"
well did a refresh of Hero and applied all the tweaks here (after renaming the folder as well) and all is wel. thanks a ton for this!
I was wondering if you could use app2sd after using this mod, or will this disable apps2sd?
Ok i did it and it works but there is a slight problem the messaging widget dosent show up. its completely gone. i read the batch file and its missing from the batch file. If you could re write it with the htc messaging app included then this app would be perfect. Or does anyone know how i could get the htc messagine widget back by myself
ynghova187 said:
Ok i did it and it works but there is a slight problem the messaging widget dosent show up. its completely gone. i read the batch file and its missing from the batch file. If you could re write it with the htc messaging app included then this app would be perfect. Or does anyone know how i could get the htc messagine widget back by myself
Click to expand...
Click to collapse
I think if you placed the "Files" folder onto c:/android (or wherever you put adb) and then:
adb push files/htcmsgwidgets.apk /data/app
that *might* work, not sure because I haven't tried it myself.
sangeet.003 said:
Hello Guys!!!
SUPERUSER ENABLER
Thers no SuperUser Apk Working On Haykuro's Hero Rom, So to get It Working, Only Installing Is Not Enough So I have Got It Working, Follow This Steps...
.
Click to expand...
Click to collapse
That is weird because i have super user and terminal working on mine just fine from JF previous install
a few widget's were missing..
clocks & contacts
also in the batch file, the msg widget was not reinstalled onto internal memory(probably just forgot to add that line)
so I redid his batch file to include the 2 missing widgets as well as adding the line for the msg widget and changed the folder to files
cause I know how lazy most of you are
http://hotfile.com/dl/4938120/a4a6fc0/Rosie_UI_Optimizer__ALLwidgets.zip.html
and for the mac user's
just open the .bat file in text editor (.bat files are nothing more than text anyways) in there you can see each command that is run and do it yourself manually,...
yeah it's a ***** but I'm not about to figure out how to write a shell script for OSX on XP just to appease my old brethren, maybe pickup a copy of BBcode and insert the commands, don't know it that would even work, just a thought heh.
---credits to sangeet.003 for goin' through the trouble to make this batch files, I'm just an "editor"
everything worked perfectly and 20 times faster not exact but i see a huge difference just now noticed that the messages widget was missing so bout to add that thanks to all developers working hard im sticking with hero i know people love it as much as I do so it has to keep getting better
mpeezay said:
a few widget's were missing..
clocks & contacts
also in the batch file, the msg widget was not reinstalled onto internal memory(probably just forgot to add that line)
so I redid his batch file to include the 2 missing widgets as well as adding the line for the msg widget and changed the folder to files
cause I know how lazy most of you are
http://hotfile.com/dl/4938120/a4a6fc0/Rosie_UI_Optimizer__ALLwidgets.zip.html
and for the mac user's
just open the .bat file in text editor (.bat files are nothing more than text anyways) in there you can see each command that is run and do it yourself manually,...
yeah it's a ***** but I'm not about to figure out how to write a shell script for OSX on XP just to appease my old brethren, maybe pickup a copy of BBcode and insert the commands, don't know it that would even work, just a thought heh.
---credits to sangeet.003 for goin' through the trouble to make this batch files, I'm just an "editor"
Click to expand...
Click to collapse
Thanks I will Be re updating & uploading Both The exe Files...
I couldn't find an appropriate thread to place this under, but this looked like the most logical.
I recently rooted my phone and installed a custom rom on it. The Smoked Glass v6.0.1. I find the default apps very annoying and found a way to make them disapear. I changed the .apk file in the/system/app section to .bak.
Well in this rom the Voice Search app is also connected with the Android keyboard. If I remove the Voice Search I also remove the virtual keyboard. The app is called VoiceSearchWithKeyboard.apk.
So I changed it to .bak and tried to install the android stock keyboard called LatinIME.apk. I also found the libjni_latinime.so. I pushed these to my phone using the SDK tool. One to the /system/lib and the other to /system/app. When I booted my phone up I didn't get the keyboard. So I also pushed the LatinIME.odex over to the /system/app file and it still didn't work. The phone ended up not being able to boot up, so I had to go into flash recovery and back up the phone.
So I am just wondering what am I doing wrong? I know this may not make sense as to why I just don't deal with the extra icon. But I don't know, I just want it perfect I quess.
Any help would be greatly appreciated. Thanks.
Hello, I would like to create my own update.zip that would be compatible with clockwork mod. I have several files in several locations that I manually copy over after new installs like multicolored bash nano iwconfig iwlist etc. And I think it would be much easier to create a installable package for that, I also delete a number of built I. Apps like tweeter amazon etc. And I have seen the scripts inside oyhers update.zip's that I could add the bash commands to remove those things as well.unfortunately I know nothing about what clockworkmod wants and I see binarys inside these zips dont know if those are customized for each zip or the same in all of them, I dont know what files or information is absolutely required. The best possible solution is if I had a blank update.zip that held all of the required files settings and all I needed to do was add my files and asd a few lines to a preexisting script to remove sum stock apps.thinking back I might have seen a file containing all the files names and md5 chucksums for each as well which if necessary I can do. Is there something like this available for download sumwhere? If not ajy resources to learn the required information and find the required binarys.thank you in advance.
Sent from my Droid using Tapatalk
Hi,
I've been trying to learn the same thing. I'm curious if you found anything useful since posting this.
Of course, if I find anything, i'll post back here too.
Thanks.
Same problem here
Good to hear someone with same problems. I want to create a generic ROM for myself and I want to use ClockworkMod to help flash it instead of using fastboot.
Well, I have found no documentation about what ClockworkMod may need for a zip file.
But I guess it could be possible to just replace them with your own by downloading an existing zip file created by someone else.
I'll try it to see if that works or not. Of course, a documentation would be better.
I regularly flash a new CM7 Nightly as they are released and I have to manually modify some things each time a new rom is flashed. I change screen density and add a notification ringtone that CM7 does not have. I wanted to automate that. Since I have to reflash the Google Apps each time anyway, I thought why not modify the gapps zip to include my changes. After searching the web I found a little info about how to do it. I just modify the zip on my computer using WinRar, copy the file to my device and re-sign the package using signapktic which is free on the market. Then flash using CWM. It worked great. No more manual adjustments. There are some instructions here which helped me:
http://forum.cyanogenmod.com/topic/15030-moving-apps-to-system/
I been getting into the kitchen
http://forum.xda-developers.com/showthread.php?t=633246
So far i`ve managed to integrate a few apps , ringtone should be easy
next the fonts from utmost rom
thanks to the kitchen, Im now running at script kiddie level
I am having hard time to install a ROM after I modded it a bit.
The ROM itself had been installed already and works perfectly.
I was trying to change a few things like icons, bootanimation, default launcher and other stuff but the phone keep giving me an error and fail to install the file.
my phone is HTC HD2 t-mobile version, the ROM is android 2.3.4 with CM7, I am installing ROMs using MAGLDR 1.13 + clk 3.1.0.1.
I modified the zip file using 2 methods - both led to the error
1. unpack the zip file, replace the files, repack the folders back together into zip
2. swapping the files without extracting the folders out of the zip file
in both cases I used winrar (my computer runs 64bit win7).
am I missing something?
any help will be much appreciated
This is strange... I basically use the same method to mod minor stuff (like icons)... And it works for me without problems.
Are you sure your repackaged file has the same structure? Maybe unpack both original package and your modified one and compare folders and files using WinDiff or something?
I ran a check with "Beyond Compare 3" and it appeared to be the same except the files I've replaced.
What archiving software are you using?
There is no need to sign the zip or anything like it, right?
I'm using Total Commander which has zip functionality built-in.
No, I don't need to sign anything either (although I don't know, maybe it requires setting development options in android's settings).