Hey folks,
Setup:
Windows XP with 1.6 with a full 1.6 SDK / development env. up and running.
Issue: Every time I attempt to edit a file in Maxisma's G1/MAGIC/32B rom I get "This zip file is corrupted". I am currently trying to take my first steps with ROM / theme editing and I'm having some difficulties. I've got signing down... I just need to understand why I can't go into a rom zip file > replace a file with one that is the exact same size and resign it. Every time I try and replace a file with one I've created I get a zip file corruption error.
What I am trying to do: Replace the HTC boot screen without replacing my SPL. I rather flash a new rom I build instead of risk bricking my MyTouch I just bought. I understand I can flash the SPL via Amon_RAs recommendations, and then use fastboot to push a new splash screen, but I rather just modify an existing rom, resign it and then flash my device after making a backup.
So.
Question: How do I edit a existing rom like the one I have listed above that I know already works on my device, resign it, and flash it? All I want to do is edit the splash screen currently in the rom without risking blowing up my device.
Can anyone give me a insightful answer?
Note: I have a perfect SPL device... making everything a bigger pain in the ass.
Related
I bought this phone of eBay and it came with Windows 6.5 which was an awesome added bonus...
...but it has the Kumara v2 Splash screen on the phone.
Is there anyway to replace the Splash screen w/o having to flash the device.
I am def. not comfortable doing anything like that b/c I know I would BRICK my phone.
Please advise...
Thanks in advance.
you have to flash the image on to it. It really isn't a big deal as long as you read all the steps, like 3 times. Seriously, if it's already unlocked "and it is because it's flashed" it's so freakn simple to do..
In some cases all you do is download what you want, remove sim card and sd, sync the phone, and then run the file you downloaded.
ChumleyEX said:
you have to flash the image on to it. It really isn't a big deal as long as you read all the steps, like 3 times. Seriously, if it's already unlocked "and it is because it's flashed" it's so freakn simple to do..
In some cases all you do is download what you want, remove sim card and sd, sync the phone, and then run the file you downloaded.
Click to expand...
Click to collapse
Would these be the steps to follow?
Instructions for flashing custom splash screens on HTC Kaiser:
1. Install HardSPL.
2. Create a BMP file in paint, size must be 240x320, save it as BMP 24bit.
3. Download SplashTool
4. Load your BMP on nb_image_converter (included in SplashTool's zip) and save it as splash.nb
5. Open SplashTool.exe and convert splash.nb to new format.
6. Pack the resulting splash.nb into a NBH file using htc rom tool.
7. Flash your cusotm NBH using CustomRUU.
Yeah but you might already have the hardspl installed.
Hello Everybody!
I'm sure this has been covered but I haven't found a tutorial or guide for the samsung captivate. I had ACL surgery today and I've decided i have the time to invest in creating a rom based on the things I like from other roms. Where do I start this process? Can i just mix files from within the .zips from other roms? or is there a file that tells the rom which files to install/access?
I've really enjoyed a lot of the ROM's that I have been flashing on my phone but I keep running into the same problem on all of them except one. Text messages occasionally go to the wrong person...and this is scary and unacceptable for me.
Some links to other threads or websites would be greatly appreciated.
Thank you for your time.
sdp07d said:
Hello Everybody!
I'm sure this has been covered but I haven't found a tutorial or guide for the samsung captivate. I had ACL surgery today and I've decided i have the time to invest in creating a rom based on the things I like from other roms. Where do I start this process? Can i just mix files from within the .zips from other roms? or is there a file that tells the rom which files to install/access?
I've really enjoyed a lot of the ROM's that I have been flashing on my phone but I keep running into the same problem on all of them except one. Text messages occasionally go to the wrong person...and this is scary and unacceptable for me.
Some links to other threads or websites would be greatly appreciated.
Thank you for your time.
Click to expand...
Click to collapse
Well, rom cooking is pretty easy.
As long as you know that component x is compatible with rom y, all you need to do is open the ROM in winrar/7z and drop the new file in, replacing the old one. No reason to unpack / repack. The only thing that can be a problem is the update-script, which resides in META-INF/com/google/android. It's a script that tells the phone "this is what you're doing with all of the stuff in this zip", if you modify a ROM like Axura or Perception, the update-script shouldn't need to be changed.
If you DO want to unpack and repack it, that's fine. Make sure you don't compress them into a sub directory (Update.zip > update > updates/system/meta-inf). Compress the updates/system/meta-inf/data whatever into it's own folder named whatever.zip, then sign the .zip via SignApk;
Code:
java -jar Signapk.jar certification.pem key.pk8 update.zip updatesigned.zip
Then flash it with CWM. Be aware however that in order for kernels(zImage) and modems(Modem.bin) and SBL(secondary boot loader) to be installed via CWM, the redband_ua exploit must be present in the updates folder; and the necessary commands for red_band must be present in the update-script.
I've done a bit of searching and haven't managed to find the answer(s) I'm looking for. There are a few decent ROM's around here but nothing specific to what I want as an end result. The ROM's seem to come in ZIP files and open fine in WinRAR. Can I use WinRAR to delete apk files that I don't want to install and still end up with a file safe to flash in Clockwork Recovery? Thanks in advance!
yes you can. But dont extract the zip file (the rom), double click on it, system>app, and then delete what you want I let you here this site for you to see witch apk you can remove/uninstall :
http://wiki.cyanogenmod.com/index.php?title=Barebones
(from cyanogenmod but the same roms are practilly the same)
Thanks! That makes life so much simpler than reading about this Kitchen stuff and such when I just simply want to remove what I consider useless.
Hi Guys,
I'm coming from Windows Mobile 6.5 where theming was a bit different:
When I started with 6.5 I used to think the only way to change the look of my phone interface was to flash a custom rom, but then I realized I could theme individual components (6.5 theme, Taskbar, Icons, Start Menu, ect) and it turned out to be pretty easy.
With Android I'm begining to think the opposite exists, is it basically true that in order for me to change the colors of the taskbar, or menus, taskbar icons - I have to use a custom rom?
I have been reading over these threads for the past three days and I have learned a lot, but I'm still confused...
I used to do M2D themes and change the xml and such, but when I read the Android theming guides ALL of it seems foreign to me...does't seem like I can just swap out pngs for pngs I made in Photoshop Am I making this seem more difficult than it is?
Are there individual themes for my taskbar, dialer, ect (not roms)? And if so can a former Windows Phone user explain them in comparison to installing a cab?
I know I have a ton of questions so any help at all would be appreciated
Thanks
MEGA MAN
There are MANY apps out there that will allow you to make these changes. Do some searches on the market and you'll find them. Do some research into rooting your phone (at your own risk) which will allow even more options.
You do not have to use a custom ROM to theme your phone, but it makes it a lot easier overall. AFAIK, you still have to have your phone rooted to theme more than icons.
To theme images, it really is just swapping out your images for the images already there as long as they contain the same dimensions, format (pretty much always .png), and name.
The .xml files are easiest to edit if you have decompiled the apk with a tool call apktool, because then they are in readable format.
Apktool is also really great for getting .9.png's in decompiled format with the stock guidelines intact.
You can theme various different components with an app called Metamorph or Ninjamorph, otherwise, you're going to have all your different parts together.
I've been theming android for getting close to two years now, so if you would like more help, you can PM/email (david1667jones gmail) me for more specific answers.
megaman - ain't it a trip coming from WM to android? yeah...WM seems such a simpler way. especially CHT2...that is really the best modding system ever.
been experimenting for the past 2-3 weeks and have been successful. (even have a usable CM7 theme that i may post...)
so let's hash this out. maybe teach eacho other a thing or two. if i am being too basic, let me know.
apk - like a cab. tricky thing is that (i believe) if you edit an apk, you replace the entire apk. unlike a cab where you can replace 1 single file. there are theme programs (metamorph - haven't used it, ADW and others that allow replacement with a single file...but they take a little work. nothing easy like cabs for WM.)
to begin you need 7zip (or winrar i hear works.) this will allow you to open apks, replace files and restore them in seconds:
http://www.7-zip.org/
i assume your rom is rooted (i really don't understand the term, but it allows freedom to mod your phone. i am using an HD2 - WM phone - running nand android so by default my phone is rooted.)
let's explore - take any apk and open it with 7zip. you will see 3 files (this is off of memory as i am at work right now.) open them and look around. ((want to find your installed apks and back them up? search market for Astro. (settings> backup and save your apks to your sd card)))
under res you will see drawable folders - this is the jackpot. in there you will see your images. there is a lot of redundancy in apks. the trick is finding the right image. try changing some, etc. this is the most basic of theming.
before moving on to xmls, etc (which there are quite good guides for this) just try the above. when you replace the files move up the folder hierarchy and it will ask you something about saving/restoring - cilck yes. the apk is now modded.
install the apk and see the changes.
however, if you are editing the core apks - system and framework-res, we will need to talk about how to do that (i use clockworkmod flashing...easy to do.)
let me know if this helps.
Thank you guys so much for your knowledge!
I do have my phone rooted and I have bootloader installed
The one reason I thought that I had to download a "ROM" is because I keep reading about having to be deodexed in order to modify...and I was underthe impression that most custom roms provide this deodexing?
on to APK's...I do have 7Zip and I have opened some up and found where the graphics are...now I am actually extracting the apk so I can manually go through each folder and see whats there including graphics...there does seem to be another way of opening the APK with 7Zip and not actually extracting it, but I don't thing I can actually see the image previews this way. >>>so I extract, change my desired images, re-zip and change the file extention back to .apk - BUT then I read about signing APK's? ...and signing zips?
After some researching I found a thread in which someone posted something like they make a copy of there current ROM "theme?" and then copy it in zip form on to their PC where they goe through all of the desired APKs and then Zip it back together and install it from the screen that you get to after holding the power button and home (recovery screen maybe?) <<< Anyway is this possible? This seem most like what we did in windows phone...but again I think where I'm getting caught up is the signing aspect...I've seen auto signers, but I feel like the ones I've seen were only for XP and I have Windows 7.
Woo... ok wrote a lot there - if you have anytime to elaborate on anything, I'd be happy to hear.
...and jsmccabe - that HD2 is one awesome device...I remember everybody asking if Windows 7 would everbe available and now you guys are dual booting with WP7 and Android - AWESOME!!! (if I didnt have Verizon
megaman...sorry it took a bit. "real life" and all that...
megaman 2 said:
The one reason I thought that I had to download a "ROM" is because I keep reading about having to be deodexed in order to modify...and I was underthe impression that most custom roms provide this deodexing?
Click to expand...
Click to collapse
- not sure what deodexed means. is your rom cm7? if so, tmobile themes is an "easy" way to make a theme.
- are you theming to share or for yourself? if the latter just replace the the files in your rom and flashe the rom. if the former, what type of rom?
megaman 2 said:
on to APK's...I do have 7Zip and I have opened some up and found where the graphics are...now I am actually extracting the apk so I can manually go through each folder and see whats there including graphics...there does seem to be another way of opening the APK with 7Zip and not actually extracting it, but I don't thing I can actually see the image previews this way. >>>so I extract, change my desired images, re-zip and change the file extention back to .apk - BUT then I read about signing APK's? ...and signing zips?
Click to expand...
Click to collapse
- you can extract to make life easier. but when you are ready to make the changes just drag the new icons into the original apk. it will update it for you and you can install it and done.
megaman 2 said:
After some researching I found a thread in which someone posted something like they make a copy of there current ROM "theme?" and then copy it in zip form on to their PC where they goe through all of the desired APKs and then Zip it back together and install it from the screen that you get to after holding the power button and home (recovery screen maybe?) <<< Anyway is this possible? This seem most like what we did in windows phone...but again I think where I'm getting caught up is the signing aspect...I've seen auto signers, but I feel like the ones I've seen were only for XP and I have Windows 7.
Click to expand...
Click to collapse
CWM themes are pretty easy to do. i started with this, the problem is it replaces the entire apk to replace 1 image. which if you are modifying systemui or frameworks, may overwrite other things (colors that you didn't want to.) easiest thing to do....find an already established CWM theme and keeping the same structure, replace the images and flash via CWM.
let me know if you want more details...cheers and good luck!
I would like to know how to create a CWM3 updatable zip file with my own files. I want to do this because I would like to try out some themes but want to be able to go back if I don't end up liking them or of I run in to problems.
If I can create my own package with the stock files a theme is going to update, then I can always revert back safely. Will it work if I update lets say a particular theme zip and replace the theme files with stock files ??
Anyways, I found out that, just replacing the files does work.. Didn't want to try it out before first thinking that I might run into problems.. But since no one answered, I went and tried anyway.