Amend & Edify - Hero CDMA Q&A, Help & Troubleshooting

Hello XDA'ers.
I have a scripting question. as you know CWM 2.x.x.x is amend and CWM 3.x.x.x is edify. And also, if some of you didnt know, you can flash edify in an amend recovery BUT not the other way around. So the base question is, is there a difference between them, i guess how thorough one is, or possible hickups youd get if flashing edify in an admend recovery. Ive always wanted to know this.
Thanks for your help, as always
And yes ive converted amend to edify before, but thats not the point

Related

[Q] Easy Rom Installer

Anyone know of some sort of one click or easy rom installer that a beginner could do? I've rooted, but updating the g1 to froyo is just so intimidating. Anyone know of some sort of one click installer?
No. Several parts of the system need to be updated, so that isn't possible.
Just tell us what you need help with.
the "easiest" way to install a rom is through the ROM manager app that requires ClockwordMod recovery, but I've heard that it is pretty unreliable for the G1. I personally use AmonRa 1.7
same here. AmonRa is in fact the best way as it frees up the needed files to be changed or removed when installing a rom.
its quite simple to install a froyo rom. im a novice myself and found it easy to do. takes about 10 mins if you include collecting and transfering the files you need
Can anyone explain the steps to upgrade to froyo from 1.6 with AmonRa 1.7? Did a search, couldn't find anything on the topic. Thanks in advance!
most devs actually put this in their threads with the rom they have created. if not check out cyanogens wiki on his website. he has some information on how to do it on there.
I think all you really need to do is install the rom through amonra then if you want google apps, find one that will work with it and install that.
I'm sort of confused as to what AmonRa actually is. What does it do?
michael2041 said:
Can anyone explain the steps to upgrade to froyo from 1.6 with AmonRa 1.7? Did a search, couldn't find anything on the topic. Thanks in advance!
Click to expand...
Click to collapse
Mind giving your current setup is first?
ROM (which 1.6, CM4?) ? Recovery (RA-1.7.0 I guess)? SPL (Danger perhaps?)?
pl4sMa said:
Mind giving your current setup is first?
ROM (which 1.6, CM4?) ? Recovery (RA-1.7.0 I guess)? SPL (Danger perhaps?)?
Click to expand...
Click to collapse
I'm not rooted and have no custom roms installed...just stock ota 1.6 donut...I know how to root. But the froyo part just confuses me. What's amonra and how is it used to install froyo? All the guides confuse me...can someone break down everything to a beginner level so I can understand it a little more? I'm naturally good at most tech stuff so I catch on quick...I need help though!
Let's Give it a Shot
michael2041 said:
I'm not rooted and have no custom roms installed...just stock ota 1.6 donut...I know how to root. But the froyo part just confuses me. What's amonra and how is it used to install froyo? All the guides confuse me...can someone break down everything to a beginner level so I can understand it a little more? I'm naturally good at most tech stuff so I catch on quick...I need help though!
Click to expand...
Click to collapse
Hmm, lemme try. At least you're sure until the root part.
AmonRA is a recovery... the phone has system/boot, recovery, and fastboot.
Try reading ... hxxp://wiki.cyanogenmod.com/index.php?title=HTC_Dream:_Rooting
then shoot a question on which part u actually aren't sure and I'll try to help. CyanogenMod 6 is based on Froyo, so I guess that's the one you want.
No URL posting capability yet, so edit what you have to edit

noob here need some help please

my phone is rooted and running froyo with cognition 3.0.2. i bought it that way and i want to change to some different themes. i have a sd card in the phone and all the right stuff like cwm recovery and titanium back up. i have read all the stickys but i still cant figure out how to do this. i can get to the root of my sd card in windows all drivers are installed. i think im just missing a few steps and im there but i spent hours trying to figure it out and i failed lol. if somebody could please help me i would really appreciate it a lot. thanks in advance
Your gonna have to flash a compatible theme for Cognition. You can't just pick any theme. But here's one to get you started, instructions are on the page also: http://forum.xda-developers.com/showthread.php?t=918057&highlight=cognition+theme
What themes are you trying? As long as it is compatible it us very easy
But please read and read the stickies about flashing or your gonna come back here asking how to unbrick your phone.
Xstop said:
Your gonna have to flash a compatible theme for Cognition. You can't just pick any theme. But here's one to get you started, instructions are on the page also: http://forum.xda-developers.com/showthread.php?t=918057&highlight=cognition+theme
Click to expand...
Click to collapse
thats the theme i want. i have tried the steps with no go. i understand that i need themes that are only compatible for cognition. i do know some i just never went into it this far. i just need some pointers cuz i have read the stickes about flashing and it has helped some but it just didnt work lol.
edit: i needed to update my rom manager to boot into cwm recovery and i am there now. something that easy didnt let me boot into cwm. now i am all good

[RECOVERY][UNOFFICIAL]Clockworkmod 3 series

Wiping and backup problems have been fixed in CWM3 > 3.0.0.5. If you had trouble before, try again with ROM Manager. Try to flash the recovery at least twice before giving up, or use an alternate method below.
Ensure that "wipe recovery" option in ROM Manager settings is checked. There is no good reason to not have this checked. It should probably be the default. This will not affect your backups.
3.0.0.8 has fixed the SLCD problems. If you get the black screen with white bars, upgrade to 3.0.0.8.
Koush's official answer as to why you can't flash old .zip files with 3x.
Why you should upgrade to CWM 3 series from 2 series
CWM2 IS NO LONGER SUPPORTED AND MAY BREAK AT ANY TIME
ROM Manager won't work with 2 series anymore
support for journaling filesystems. Your data is safer.
pretty orange color
power down from recovery
better partitioning support
may be required for Cyanogenmod in the future. It is not required for the inc as of now.
Why you should not upgrade to CWM3 series
Fear of messing with recovery is not a good excuse
You want to install ROMs from ROM developers that use 2 year old technology and have refused to upgrade their zipping mechanisms (put pressure on them to change their installation scripts)
You like old ROMs that haven't been updated in ages
You are one of the few that the new recoveries don't work on. Ask and someone can probably help you get through this.
WHERE TO GET OLD VERSIONS OF CLOCKWORKMOD:
http://mirror1.kanged.net/recoveries/ - contains img files for all old versions
*http://dougpiston.com/?page_id=85 - contains PB31IMG for flashing through HBOOT, including 2.5.12 and 3.0.0.8. This is the easiest way to manually update recovery.
HOW TO INSTALL IMG FILES
***YOU SHOULD INSTALL THROUGH ROM MANGER IF AT ALL POSSIBLE. TRY TWICE IF IT DOESN'T WORK ON THE FIRST TRY***
Rename the image file you're interested in to recovery.img
OPTION1: ADB
Code:
C:\YOUR_ADB_DIR\>adb shell
$su
$/system/bin/flash_image recovery /sdcard/recovery.img
OPTION2: Android Terminal from phone
Copy the recovery.img to the root of your sd card.
Code:
$su
$/system/bin/flash_image recovery /sdcard/recovery.img
OPTION3: Use PB31IMG.zip
Download specific recoveries from dougpiston.com
If it is not available elsewhere, oll your own PB31IMG.zip
This is not as hard as you think. Download any recovery PB31IMG.zip, such as the one attached to this thread. Replace the recovery.img in the zip file with the one of the desired CWM recovery. Rename to PB31IMG.zip. Place in root of your SDCARD. Reboot into HBOOT. Install.
What to do if you have trouble with CWM3
Check partitions for errors
Try installing through ROM Manager, or installing through one of the alternate methods listed above
make sure wipe recovery is checked in ROM Manager settings.
make sure you have the latest version of ROM Manager. Check in the market.
How to manually wipe recovery partition.
The utility is present in CM7 builds. I cannot vouch for other ROMs. This can also be done easily through fastboot mechanisms, but afaik fastboot is not available for the incredible because there are not leaked engineering HBOOTs.
This should never need to be done except in extreme circumstances.
Code:
$su
$/system/bin/erase_image recovery
How to get into recovery manually w/out ROM Manager
Shut down your phone. Hold down volume down. Press power, keeping volume down held. This is HBOOT. Scroll down to recovery and push the power button again.
HTC Incredible Amend vs. Edify: How to get old ROMs working with CWMv3
Amend and Edify are scripting languages used to write the installation routines for .zip files, including ROMs. Amend is quite old, from the cupcake days, and as such does not have features necessary for modern ROMs. To simplify development, Koush removed amend support with the advent of CWMv3. He had announced that he was going to do this for months. Nonetheless, some older ROMs that are not actively developed anymore may be desirable, and many of these do not use the more modern edify scripting. There is a thread here on how to easily convert amend scripts to edify using amend2edify: http://forum.xda-developers.com/showthread.php?t=903598.
Other sources for help
IRC
#cyanogenmod or #koush - it is recommended you try the solutions noted in this thread first. Self initiative is important, but seek help if you need it.
Who are the people behind CWM:
koush is the primary developer, slayher and CUViper help adapt it to the incredible, I'm sure many others.
How to build Clockworkmod yourself:
http://www.koushikdutta.com/2010/10/porting-clockwork-recovery-to-new.html
EDIT 2/27/11: This thread used to contain info regarding a custom build of CWM3006. It is still attached to this thread, but koush has upgraded CWM to 3008 which contains the 3006 fixes and more.
Click to expand...
Click to collapse
Thank you I haven't really had any problems with 3.0.0.5, but I've seen a lot who have. Maybe this fixes some of the wiping bugs people were having?
BrettApple said:
Thank you I haven't really had any problems with 3.0.0.5, but I've seen a lot who have. Maybe this fixes some of the wiping bugs people were having?
Click to expand...
Click to collapse
It is really odd, as I can install this version and backup/restore fine, then switch back to 3.0.0.5 and backup locks up consistently.
Its true re: the wiping bugs. It seems there's a lot more noise about the 3 series CWM than the 2 series, although I wonder if its just a lot more people are installing it and not quite understanding how cwm/hboot/cm7 interact. Hard to tease it apart.
I'm talking to koush and trying to get him to recompile it and make it official, regardless.
I tried the above CWR and my recovery screen is all black with white boarder on each sides.
meazz1 said:
I tried the above CWR and my recovery screen is all black with white boarder on each sides.
Click to expand...
Click to collapse
Thats quite odd. Try reflashing a working recovery and then back to this one?
What ROM/Radio/Phone (inc slcd or amoled)?
You can also extract the recovery.img out of the zip file and flash it with adb or flash_image.
Let me know please, I'll pull it down if there's consistent problems.
dont pull it booted on my device and ROM.... i'll do some extensive testing and report back
Sounds like this is for AMOLED only
Side note, I looked at an SLCD Incredible today. Noticeable difference in screens. I will say that AMOLED is much brighter and produces better color than SLCD, but SLCD wins hands down in crispness.
ok
1. doesnt show proper version in rom manager
2. will not flash rom via rom manager... probably hook issue
3. works fine in recovery mode
imo if it dont work via rom manager its kind of a deal breaker for me... alot of my users want to use it as well as be able to flashover without having major issues
right now with 3.0.0.5 if you flash via rom manager without a full wipe... chances are... you'll end up wiping and reinstalling because of fc issues
Flashed fine here. In the process of making a back up.
I'm diggin the power-off feature.
I only use RM to DL roms, flashing within RM only breaks ****.
Backup sucessfully made.
lllboredlll said:
ok
1. doesnt show proper version in rom manager
2. will not flash rom via rom manager... probably hook issue
3. works fine in recovery mode
Click to expand...
Click to collapse
1) I believe if a recovery doesn't show up in the clockworkmod available recoveries, it will not show the proper ROM Manager version. Flash 2.5.0.5 and you'll see the same effect.
2) Looking into this now.
3) That's good to hear! Thank you for testing this! This, coincidentally, is primarily how I use CWM as RM has not been stable/consistent for me in ages.
lllboredlll said:
ok
imo if it dont work via rom manager its kind of a deal breaker for me... alot of my users want to use it as well as be able to flashover without having major issues
Click to expand...
Click to collapse
I hear what you're saying.
To get the hooks in place, install 3.0.0.5 first via ROM manager, then go into hboot and install this 3.0.0.6. ROM Manager still thinks you have 3005 and backup/etc. works.
I don't mean this to be production quality, but it should help bridge the gap until koush gets a new version out.
shoman24v said:
Flashed fine here. In the process of making a back up.
I'm diggin the power-off feature.
I only use RM to DL roms, flashing within RM only breaks ****.
Backup sucessfully made.
Click to expand...
Click to collapse
Thank you for testing this! I've updating the OP with notes from both you and bored. And made the disclaimer larger with more ***
No problem. RM still shows 3.0.0.5, but that's not a big deal. I still see the latest nightlies available from RM.
And, like I said, I never flash within RM.
Nor do I recommend that.
tdiman said:
EDIT 2/26/11: This information, as hoped, has been deprecated by the release of CWM 3.0.0.7. You should use that one, because CUViper and koush found more bugs re: the communication between ROM Manager and CWM, as well as the fixes noted below.
Click to expand...
Click to collapse
Just in case someone comes along late to the party, please note the above information added to the OP.
Is it true that v2.5.x.x nandroid backups will not restore under v3.0.x.x clockwork recovery?
Sent from my ADR6300 using XDA App
jdmba said:
Is it true that v2.5.x.x nandroid backups will not restore under v3.0.x.x clockwork recovery?
Sent from my ADR6300 using XDA App
Click to expand...
Click to collapse
no. thats not correct - i have restored a bunch without issues.
I updated to 3.0.0.5 a few weeks ago when it came out. All seems to work fine for me except I can't restore to a previous version to flash other Roms (well at least from Rom Manager). Many of the other Roms that are out right now are not Edify.
Sorry if this is the wrong thread to post this in.
I've googled changing the Roms to edify myself, but I'm kind of lazy and switching recoveries seemed like it would be the easier route.
I think koush has been trying to gently encourage app developers for months to change over.
If you search this forum you'll find older versions of cwm.
The version number is reporting fine for me..... and i Love the new look of the recovery. I'm missing the fast scrolling from the previous builds, other then that I love it
Anyone notice 3007 disappeared from ROM manager for the DINC, I mean as the newest version that is. It is still in the experimental recoveries.
thelunchboxosu said:
Anyone notice 3007 disappeared from ROM manager for the DINC, I mean as the newest version that is. It is still in the experimental recoveries.
Click to expand...
Click to collapse
3008 is in there now also. Fast scrolling is back. I don't know if the glitch with some slcds is fixed.

[Q] Okay I give up...

Okay I give up... I can't keep looking through these forums, youtube, google. I have tried everything. And I need help. I have a rooted Verizon, samsung, fascinate. I am changing carriers this weekend to metro pcs. Anyway the problem at hand is It wont let me apply any roms, at all. I have (update.zip) with clockworkmod recovery v3.0.0.8. And I have read that I need to go back a version. But that wont do it, it wont even let me choose to go back. The thing I am having so much trouble with is when I (Choose zip from sd) it says "Please switch to Edify scripting (Update-script and update-binary) to create working update zip packages. Installation aborted"
Well, here I go:
1. Download a recent custom rom, or even a stock rom.
2. Replace in the zip everything with the rom you want to flash.
3. Now you have a flashable zip.
Pay attention to each folder. Double check them. It will take some time but you don't have any scripting knowledge, do you?
f.
Sent from the Dark Side using Sith knowledge (and a SGS 2)
Sounds like the .zip you are trying is probably amend, CWM3 uses edify. If you need to flash that particular package you may need to flash an older CWM (v2.5 something)
And that (revert to CWM 2.5) would be done via odin.
Swyped...
No, I do not have any scripting knowledge. But I will try what you said.
And to get CWM 2.5 (If the other thing does not work) where do I get that file. And once I get it I put it in the PDA tab, Right?
Wesanator said:
And to get CWM 2.5 (If the other thing does not work) where do I get that file. And once I get it I put it in the PDA tab, Right?
Click to expand...
Click to collapse
CWM 2.5 here:
CWM-recovery-all-3-30-fix
I have been working on this for three straight days, and all I had to do was ask... You guys freakin' ROCK!!!! HAHA.... Thanks
That is what this place is (supposed to be) all about!
glad you got it sorted.
Swyped...

Do not use Clockworkmod Recovery v3.0.0.5 for SD-EXT paritioning

I hope mods can make this sticky.
Do not use ClockworkMod Recovery 3.0.0.5 to create partitions for SD-EXT. There is a bug with clockworkmod recovery that create faulty partition resulting in data corruption. This prevent a2sd+ from working properly, any attempts to fix a2sd without recreating SD-EXT can corrupt apps and market data.
So please use RA Recovery v2.2.1 for partitioning SD until this bug is plugged.
Yeah, it's old news though.
If you must use CWM use an older version or one of the few modified version floating around.
Just so you know it's not just for partitioning clockwork mod 3.X is unstable in allot of ways some people get away with using it but that's usually the people who flash stuff like max once a month or that just install cm then stop even booting into recovery so I suggest everyone to go either to Amon RA or clockwork mod 2.5.1.4 (which is the latest 2.X clockwork mod recovery).
baseballfanz said:
Yeah, it's old news though.
If you must use CWM use an older version or one of the few modified version floating around.
Click to expand...
Click to collapse
Unfortunately, this news is not visible to people who are new to using CWM. I think making this sticky will be helpful to new users. I had to do several forum hunts the whole day yesterday just to figure out what was breaking A2SD+ on MIUI.
jazzaddict said:
Unfortunately, this news is not visible to people who are new to using CWM. I think making this sticky will be helpful to new users. I had to do several forum hunts the whole day yesterday just to figure out what was breaking A2SD+ on MIUI.
Click to expand...
Click to collapse
I have to say it's true that this is common knowledge to people who spend some time on forums but to noobs and people who are just following a tutorial it's true that this knowledge is not very visible so I think this should either be stickyed or put into the nexus one wiki. Just my 2ยข

Categories

Resources