[Q] How to edit rom.zip before flashing - EVO 4G Q&A, Help & Troubleshooting

Ok the deal here is that i am a flash-a-holic and like flashing cm7 nightlies. The problem is that i like to use the stock android launcher and move it to system/app. After every nightly flash though, it gets replaced by adw launcher again since adwlauncher is in the nightly.zip So my questions is such.
How do i go about editing the rom.zip, taking out adwlauncher and replacing it with Launcher2.apk?
Is it as simple as unzipping the rom, switching the apps and re-zipping?

Related

CM6 RC2 How do I update ADW?

I want to update to the new ADW but I am not sure how. I know before I could just go to the market but now that it comes standared in CM6 I am not sure what to do. Do I download it from a link here and then just install it and it will replace the old one. Or do I have to delet the old one and then installl it?
Also I have only been on the RC1-2 roms no nightlys. I dont really want to setup my settings and what not all over again this is another reason why I pretty much just stick to the RC's. Personally id still like to stay off the nightlys but just update ADW on RC2 so I dont have to mess with my settings and everything, so what is the best method to update?
Thanks
You don't necessarily have to wipe/lose settings when flashing nightlies. As for ADW, you just have to remount the system partition (adb remount), delete the old APK, and copy over the new one.
drmacinyasha said:
You don't necessarily have to wipe/lose settings when flashing nightlies. As for ADW, you just have to remount the system partition (adb remount), delete the old APK, and copy over the new one.
Click to expand...
Click to collapse
is there a link for the new one to be downloaded or should I just download from teh market? I cant seem to find the ADW Launcher thread that I use to have saved.
I thought RC2 included the new adw. here is the www http://jbthemes.com/anderweb/. i am on teh 8.21 nightly and i have the new adw.
to 'upgrade' to the nightly, simply wipe cache and dalvick cache and then flash the nightly. you will not loose your settings.
the new adw includes a new menu item...press Menu do you see a new icon in the shape of a pencil it says "edit"? if yes, you have the new adw version.

can u remove adw launcher from cm6?

d rather use the stock froyo launcher..is that possable?
Install launcher of your choice..Delete ADW from system folder..
Done deal.
Here is how I did it.
There is a launcher2.apk given in another thread on this forum not sure where though but download that and place it on the SDCard.
1. Download launcher pro
2. Use Titanium Backup to uninstall ADW Launcher
3. Use APK of Launcher2 to install stock launcher.
You have to uninstall ADW first otherwise Stock Launcher refuses to install.
Hope that helps.
where can i find the laucher apk i really want the stock froyo launcher
nvm i used search and found it sorry
matdev said:
Here is how I did it.
There is a launcher2.apk given in another thread on this forum not sure where though but download that and place it on the SDCard.
1. Download launcher pro
2. Use Titanium Backup to uninstall ADW Launcher
3. Use APK of Launcher2 to install stock launcher.
You have to uninstall ADW first otherwise Stock Launcher refuses to install.
Hope that helps.
Click to expand...
Click to collapse
Yep thats what I did too and I love it!!

[Q] Replace default launcher at first launch

Hello,
I would like to know if there is a way to remove all HTC Stuff in the ZIP and replace it with another launcher like LauncherPro before the flash in recovery ?
Does Android detects it directly ? or do I have to modify some file ?
Thank you.
Best regards
you can try a ROM without "HTC Stuff", replace the launcher and than erase it (root explorer)! the launcher is not so big like 5 MB and i think it is possible!
You can't remove the Sense launcher without then removing all the Sense widgets/apps, etc...just add the new launcher to the ZIP before flashing and then flash the ROM
Yes I plan do remove all Sense widget/apps and HTC launcher (Rosie.apk)
Put LauncherPro.apk and then flash the ZIP.
Android will boot well without HTC launcher ? it will automaticaly detect LauncherPro ?
Thank you
It will, but it'll likely crash. Better to get an AOSP ROM and add Launcher Pro to that
When i was running Leedroid I removed the rosie.apk and put launcherpro in to the sysyem folder before flashing without any problems. Also there is no need to remove the widgets but if you want more space on the system partition you might as well since you can't use them anyway.
Edit: Well if you plan on removing all Sense apps as well Eddy is right, just go for AOSP. But you can just replace the Sense launcher and keep all the Sense apps.
Well I would like to keep some HTC stuff that don't need Sense launcher.
Like Camera, Album, Contact, Dialer...
I succeed to install a ROM like Starburst, and then after first launch with HTC Sense, set LP Pro as default. Then I uninstalled all HTC Sence stuffs with rm apk + pm uninstall package (I'm S-OFF so i can do it).
After doing that i had a system partition that could fit in a 180M size.
So I did a nandroid backup, putted Sense Data++ hboot, nandroid restore.
It works well, now I have a fully working HTC ROM that fits on a 180M system size partition.
But if I wipe factory reset, I stuck in boot loop.
It is why i'm asking if there is something to modify to make a ROM without HTC Launcher but Sense based...
Do you understand what I mean ?
Thank you
No I don't really understand it. But the way you do it now is the crappy way and your bootloop is either caused by data2sd and the factory reset or because you don't have a launcher any more after a factory reset.
If you want a sense rom without the sense launcher, download your rom, edit the zip (remove rosie.apk from /system/app and put launcherpro in /system/app), if you want the data++ hboot you need to make sure that your uncompressed zip is smaller than the system partition (even tough I don't see the point in custom hboot when you use data2sd) and then flash it, this should hold up even after a factory reset because the launcher is now on the system partition and not the data.
I don't use data2sd, I didn't flash it (It should be done after first boot of Starburst but I didn't), so I still have the default data partition on HTC.
I moved Launcher Pro apk in /system/app so there is a launcher after factory reset.
The /system is smaller than 180 uncompressed.
I wan't to have a deodexed ROM.
I would like to avoid data2sd or a2sd+ too.
Thank you
Sense apps need Sense to work - without it half the ROM will fall over
If you want the HTC apps then you'll need to keep Sense and just add the new Launcher to the ZIP
Currently it works well without HTC Sense launcher (+ all widget removed).
LP Pro is in system/app
Camera, dialer, album, contacts, etc still work too.
I just can't factory reset.
I wanted to know a way to do a fresh start without Sense launcher if needed.
Maybe there is no way to do so.
Thank you
True, but Sense is not confined to the rosie.apk. Rosie is part of sense, namely the launcher. Like i said, when I was still using Leedroid i removed the rosie.apk before flashing and replaced it with launcherpro. I did not get any FC.
I will try to start from beginning with a deodexed default sense ROM.
I will remove all HTC stuff + facebook, footprint & co... put LPPro in system/app ZIP
And flash it...
I will tell you the result.
Thank you
So...
Some news :
I'm using the HTC Android Kitchen to make my own ROM. http://forum.xda-developers.com/showthread.php?t=633246
I start from the file RUU_Bravo_Froyo_HTC_WWE_2.29.405.5_Radio_32.49.00.32U_5.11.05.27_release_159811_signed.exe
I copied from temp folder the rom.zip contained in it.
I revert my hboot to sense stock partition.
With the kitchen, I succeed to install root, busybox.
It works, the Desire boot well.
When I try to deodex the ROM (deodex, APK signing, ZipAligning), after the flash is complete, I have a bootloop on HTC Logo...
any idea ?
Thank you.

[Q] Stock / near stock gingerbread for G2

Hi everyone,
I was wondering, is there such thing as a stock gingerbread rom for the g2, or as close to stock as it can be? I know CM7 is almost out and its based on 2.3 but I was hoping for something as stripped down as a nexus S if such thing exists?
Deodeoxed version of stock froyo. Themed over some gingerbread. That is as stock as you can get.
Sent from my HTC Vision using XDA App
Vandale said:
Deodeoxed version of stock froyo. Themed over some gingerbread. That is as stock as you can get.
Sent from my HTC Vision using XDA App
Click to expand...
Click to collapse
I'd disagree completely. CM7 with a stock launcher flashed over it is as close you can get to stock 2.3 simply right now. Skinned 2.2 is pretty far away from stock 2.3...
Just flash the latest CM7 nightly (at #5 almost #6 now). Or if you're worried just go with RC1, although all the nightlies after RC1 came out have been just fine for me so far. If you wanna get rid of ADW Launcher for the "stock" feeling, flash the stock Gingerbread launcher after you install CM7. Been doing this for about 10 nightlies now and it works like a charm and looks amazing as well. This is a really fast ROM, and it looks just like stock 2.3 on the NS does, but with all the CM7 goodies baked in if you want them.
I used the "CM7StockLauncherOnly.zip" from THIS thread. Its from the Nexus S community forum but it works just fine on G2. All this does is uninstall ADW and install the stock 2.3 launcher. I've gone ahead and attached the .zip that I've been using to this post for convenience . Just flash through recovery after doing a boot up with CM7.
Also, if you're going to be updating your nightlies of CM7. I can give you some advice. While in recovery, after flashing a newer version of CM7 (aka nightly #5 to #6, etc.), just go to advanced > Reboot Recovery, THEN flash the CM7LauncherMod.zip. Don't flash the new CM7, boot, then go back and flash the launcher mod. This way you will save all of your homescreen locations, widgets etc. If you let your phone boot with ADW installed it will wipe it clean when you install the stock 2.3 launcher and you'll have to start over. If you do this I can explain more in detail but thought I'd give you the headsup now.
martonikaj said:
I'd disagree completely. CM7 with a stock launcher flashed over it is as close you can get to stock 2.3 simply right now. Skinned 2.2 is pretty far away from stock 2.3...
Just flash the latest CM7 nightly (at #5 almost #6 now). Or if you're worried just go with RC1, although all the nightlies after RC1 came out have been just fine for me so far. If you wanna get rid of ADW Launcher for the "stock" feeling, flash the stock Gingerbread launcher after you install CM7. Been doing this for about 10 nightlies now and it works like a charm and looks amazing as well. This is a really fast ROM, and it looks just like stock 2.3 on the NS does, but with all the CM7 goodies baked in if you want them.
I used the "CM7StockLauncherOnly.zip" from THIS thread. Its from the Nexus S community forum but it works just fine on G2. All this does is uninstall ADW and install the stock 2.3 launcher. I've gone ahead and attached the .zip that I've been using to this post for convenience . Just flash through recovery after doing a boot up with CM7.
Also, if you're going to be updating your nightlies of CM7. I can give you some advice. While in recovery, after flashing a newer version of CM7 (aka nightly #5 to #6, etc.), just go to advanced > Reboot Recovery, THEN flash the CM7LauncherMod.zip. Don't flash the new CM7, boot, then go back and flash the launcher mod. This way you will save all of your homescreen locations, widgets etc. If you let your phone boot with ADW installed it will wipe it clean when you install the stock 2.3 launcher and you'll have to start over. If you do this I can explain more in detail but thought I'd give you the headsup now.
Click to expand...
Click to collapse
Hmm... thanks lol I will try this when I flash cyan
Sent from my HTC Vision using XDA App
lainvalenajr said:
Hmm... thanks lol I will try this when I flash cyan
Sent from my HTC Vision using XDA App
Click to expand...
Click to collapse
I can't stress how much more I love CM7 with the stock launcher lol. I was kinda luke-warm on CM7 at first because its just got a little lag with ADW, but now its buttery smooth. Let me know if you need any help I'd be glad to run you through it.
thanks a lot for the insight, i'll prbbly work my way to cm7 once it becomes final
arts711 said:
thanks a lot for the insight, i'll prbbly work my way to cm7 once it becomes final
Click to expand...
Click to collapse
Awesome. Hope you make the move its a great ROM.
FWIW, CM7 has been extremely stable for me. Never had a crash, reboot, force close, or anything since build #30 when I started. I think a lot of people are in the same boat. I really don't think theres many instable issues this has been a daily driver for a lot of people for many weeks now, even before the RC1 came out.
If you find instability you can always go back to the nandroid backup of your stock 2.2, but I don't think it would hurt to try it out and see how you like it! Just remember to update to the latest CWM Recovery 3.0.0.5 from ROM manager, it handles both 2.2 and 2.3 backups/restores.
martonikaj said:
I'd disagree completely. CM7 with a stock launcher flashed over it is as close you can get to stock 2.3 simply right now. Skinned 2.2 is pretty far away from stock 2.3...
Just flash the latest CM7 nightly (at #5 almost #6 now). Or if you're worried just go with RC1, although all the nightlies after RC1 came out have been just fine for me so far. If you wanna get rid of ADW Launcher for the "stock" feeling, flash the stock Gingerbread launcher after you install CM7. Been doing this for about 10 nightlies now and it works like a charm and looks amazing as well. This is a really fast ROM, and it looks just like stock 2.3 on the NS does, but with all the CM7 goodies baked in if you want them.
I used the "CM7StockLauncherOnly.zip" from THIS thread. Its from the Nexus S community forum but it works just fine on G2. All this does is uninstall ADW and install the stock 2.3 launcher. I've gone ahead and attached the .zip that I've been using to this post for convenience . Just flash through recovery after doing a boot up with CM7.
Also, if you're going to be updating your nightlies of CM7. I can give you some advice. While in recovery, after flashing a newer version of CM7 (aka nightly #5 to #6, etc.), just go to advanced > Reboot Recovery, THEN flash the CM7LauncherMod.zip. Don't flash the new CM7, boot, then go back and flash the launcher mod. This way you will save all of your homescreen locations, widgets etc. If you let your phone boot with ADW installed it will wipe it clean when you install the stock 2.3 launcher and you'll have to start over. If you do this I can explain more in detail but thought I'd give you the headsup now.
Click to expand...
Click to collapse
im still new to this...i just flashed rc1 this morning, been playing with it all day. can i flash this stock launcher now with no issues? should i have flashed both one after the other?
spudkinks said:
im still new to this...i just flashed rc1 this morning, been playing with it all day. can i flash this stock launcher now with no issues? should i have flashed both one after the other?
Click to expand...
Click to collapse
Nope you can flash it any time you want. Just go into recovery (hold down power button, select "reboot" then select "recovery", and wipe cache to be safe. Then go to "install zip from SD card" > "Choose zip" then select it and hit YES, just like you would for any other zip.
Remember, this will completely uninstall ADW. You will probably lose all of your icon/widget locations, although the 1st initial time I flashed the stock launcher I didn't lose my locations completely (everything shifted over by 1 homescreen weirdly). I'd most definitely run a nandroid backup before you flash anything (this should be normal practice anyways).
The reason why I instructed to flash the ROM, then restart recovery then flash the Stock Launcher Mod without a boot up is that when you're using the stock launcher over and over, installing ADW will wipe your homescreen locales.
Thanks very much. Just installed with no issues/lost widgets or icons. This is WAY better.
Sent from my HTC Vision using Tapatalk
spudkinks said:
Thanks very much. Just installed with no issues/lost widgets or icons. This is WAY better.
Sent from my HTC Vision using Tapatalk
Click to expand...
Click to collapse
Glad it worked for you. Like I said I've been using this for about 10 nightlies now and its the best 2.3 experience I've ever had.
Feel free to send me a PM if you have any questions or troubles.
Quick question for the people in the know, I'm running RC1 with the stock launcher & loving it, but I would like to upgrade to the latest nightly.
So if I flash the latest nightly (With no wiping) then before booting into the OS I flash this zip it will be just upgrading the OS & won't touch any of my screen setups?
Delivered by Western Union in the rain after 70 Years
KarlosTheJackal said:
Quick question for the people in the know, I'm running RC1 with the stock launcher & loving it, but I would like to upgrade to the latest nightly.
So if I flash the latest nightly (With no wiping) then before booting into the OS I flash this zip it will be just upgrading the OS & won't touch any of my screen setups?
Delivered by Western Union in the rain after 70 Years
Click to expand...
Click to collapse
Yes. If you follow my instructions from the first page properly. Otherwise you'll either not flash the launcher properly, or you'll flash it and lose your home screen setups.
Before starting. Do a Nandroid backup. Always a good idea! That being said, follow these instructions:
1) Go into recovery (Power Button > Reboot > Recovery), wipe cache, wipe dalvik cache (doesn't hurt, takes 10sec)
2) Flash the new nightly build you're upgrading to (Install Zip from SD card > Select Zip > select the latest nightly you're upgrading to.
2a) DO NOT REBOOT SYSTEM
3) Still in recovery, go to Advanced > Reboot Recovery
4) After recovery reboots, go ahead and flash zip from SD card > Select Zip > Flash the stock launcher mod.
Let me know if you have any questions. The crucial part is rebooting recovery after flashing the nightly and before flashing the launcher mod, this way ADW is installed and you can properly uninstall it and replace it with the stock launcher. Also, make sure you don't accidentally boot up the ROM before flashing the stock launcher, as it will wipe your homes because it installed ADW.
Just realised i never said thanks for this! *Slaps head*
So Thanks (Y)
KarlosTheJackal said:
Just realised i never said thanks for this! *Slaps head*
So Thanks (Y)
Click to expand...
Click to collapse
Very welcome, everything work out upgrading and applying stock launcher?
martonikaj said:
Very welcome, everything work out upgrading and applying stock launcher?
Click to expand...
Click to collapse
Yes thank you! Running the latest Nightly with the stock launcher & didn't lose a single widget! XD
Delivered by Western Union in the rain after 70 Years

[Q] CM7 -> replace ADW with LauncherPro?

Is there any simple and safe way to delete ADW launcher (which comes with CM7) and install LauncherPro after that?
krelac said:
Is there any simple and safe way to delete ADW launcher (which comes with CM7) and install LauncherPro after that?
Click to expand...
Click to collapse
That's what I'm doing now exactly. Anyhow I wont recommend u to do that. Instead install launcher pro and make it default.
Anyhow I will tell the process . Do it at ur own risk. First u should install launcher pro or any other launcher. Doing this first is a must. Then u can use titanium backup to remove system apps like adw launcher of cm7. But don't mess up with other system apps if u r not aware of what u r doing. Doing anything stupid will make u to loose data and install a new rom.
Edit : Suppose if u format the phone after removing adw launcher, it ends up with no user interface. Only way then is reinstalling the rom again.
Sent from my HTC Wildfire using XDA App
Install LP, Make it default, then flash this in recovery (2.x only, May not work in 3.x AFAIK)
http://forum.xda-developers.com/attachment.php?attachmentid=525583&d=1298494859
@3xeno, you were right, that .zip can't be flashed using cw recovery v3+, thx anyway.
@bharatgaddameedi, i did it using titanium backup. thx
You might want to keep 2.x Recovery handy for many situations such as these, then flashing radio, Sense based ROMs etc. This can be obtained by installing Clockworkmod From within ROM Manager App. Then, Rebooting into Recovery, again from within the ROM Manager app.
This way, you will have both, 2.x and 3.x
If you can't flash the zip file because your recovery is too new, you can always log on to your terminal and do the following:
Just make sure Launcher pro is set as default launcher before doing this:
su
mount -o rw,remount /system
rm -f /system/app/ADWLauncher.apk
pm uninstall com.android.launcher
After doing this the terminal should read Success
Why not just extract the rom, switch the launchers in system/app then repackage and flash?
Speaking of switching apps, once the rom has been extracted and repackaged, does it need to be re-signed etc?
Sent from my HTC Wildfire using XDA App
I'm using ADW launcher ex and it's fast, smooth and has got a lot of customize.... The best one seen on cm7.

Categories

Resources