[SOLVED] Cannot flash CM 9 RC1 Build 2 on my Tmobile G2 - G2 and Desire Z Q&A, Help & Troubleshooting

After flashing CM 7.0.3 a long time ago, I haven't really updated anything or touched anything when it comes to the recovery, SU, etc since.
Seeing ICS, I tried to flash CM 9 RC1 Build 2 the way I've flashed other ROMs before: Loading the ROM and gapps zip to the root of my SD card, rebooting into recovery, wiping phone, wiping cache, then applying a zip. When I try to flash CM9s zip, I get the error:
E:can't open sdcard/name_of_zip.zip (bad)
I've tried various CM9 mirrors with the same result. I have a feeling it might be because I have a much outdated recovery, and SU binary?
My ROM Manager: 5.0.0.8
My ClockworkMod Recovery: 3.0.0.5 (latest 5.0.2.7?)
My SU binary: 2.3.1-ef (latest 3.1.1?)
When trying to update my SU binary it fails when copying su to /system..
Can anyone give me a starting direction on what I need to do to get CM9 flashed and working?
Thank you!

Use the superwipe + 4ext 1st. or change ur recovery.
File sytem needs to be ext4 fore ICS onwards as far as i know.

wileykat said:
Use the superwipe + 4ext 1st. or change ur recovery.
File sytem needs to be ext4 fore ICS onwards as far as i know.
Click to expand...
Click to collapse
You can run EliteMod and CM9 for example on an ext3 filesystem (the zip provided will format whichever filesystem to ext4 when done in the actual recovery).
Though I have not tried CM9 since beta13 I don't see this being a problem. Though I would advise doing a FULL WIPE (factory reset + cache + dalvik) before flashing on any brand new roms especially when going from GB to ICS.
(last time I checked clockworkmod doesn't let you format a specific filesystem or convert backups from ext3 to ext4 , for that I use the 4EXT recovery).
@ OP you should not have to copy the SU binary anywhere, it should come with CM9 anyways (just like busybox and superuser.apk). The only additional thing you may need to flash on top of it is google apps, just like CM7 would have been.

kbeezie said:
You can run EliteMod and CM9 for example on an ext3 filesystem (the zip provided will format whichever filesystem to ext4 when done in the actual recovery).
Though I have not tried CM9 since beta13 I don't see this being a problem. Though I would advise doing a FULL WIPE (factory reset + cache + dalvik) before flashing on any brand new roms especially when going from GB to ICS.
(last time I checked clockworkmod doesn't let you format a specific filesystem or convert backups from ext3 to ext4 , for that I use the 4EXT recovery).
@ OP you should not have to copy the SU binary anywhere, it should come with CM9 anyways (just like busybox and superuser.apk). The only additional thing you may need to flash on top of it is google apps, just like CM7 would have been.
Click to expand...
Click to collapse
Worked like a charm! I installed 4EXT recovery, wipe/factory reset, wipe cache, wipe dalvik cache, and CM9 installed just fine.
Thank you so much!

Related

caulkins

hey guys youve all been great and helful, thanks...was wondering what caulkins format all is, what it does and is it just rom specific. meaning konis elite 3 says to flash it first, if i wanted to flash a different rom say myns or something will the c. format all interfer? thanks again
justintammy said:
hey guys youve all been great and helful, thanks...was wondering what caulkins format all is, what it does and is it just rom specific. meaning konis elite 3 says to flash it first, if i wanted to flash a different rom say myns or something will the c. format all interfer? thanks again
Click to expand...
Click to collapse
It is a flash that write all data and cache it us good to flash when going between roms and if you are having force close issues. When using it erases all your data witch means all your apps aswell
Sent from my unrEVOked using xda app
roscoenr said:
It is a flash that write all data and cache it us good to flash when going between roms and if you are having force close issues. When using it erases all your data witch means all your apps aswell
Sent from my unrEVOked using xda app
Click to expand...
Click to collapse
Well said! Thought I'd add: Use it in conjunction with your usual wipes. It's meant as an extra piece of protection against problems NOT as a replacement to your usual wipes.
blakeboys said:
Well said! Thought I'd add: Use it in conjunction with your usual wipes. It's meant as an extra piece of protection against problems NOT as a replacement to your usual wipes.
Click to expand...
Click to collapse
Yeah meant to out that but spaces thanks
Sent from my unrEVOked using xda app
Couple of things to add to the folks above:
1) It won't work on ClockworkMod Recovery 3.0 since it's an Amend script (update-script). Amon_RA 2.3 and below, and ClockworkMod 2.x both support amend and edify (updater-script and update-binary), so it will work for them.
2) Isn't needed on ClockworkMod Recovery 3.0 or Amon_RA Recovery 2.3 since each have the options to wipe all your partitions (albeit you have to wipe each partition separately. I personally nagged Amon_RA to put in the wipe /boot and wipe /system options).
3) It wipes everything on the phone's internal storage except the WiMAX partition (which would be incredibly stupid since it would wipe out everyone's WiMAX radio and keys!). What it really does is format /system (your ROM and system apps), /cache (the kernel and ROM's cache), /data (your apps, settings, app data, etc.), and dalvik-cache (which is usually on /data or /cache, and is the cache for the Dalvik VM; the thing that runs apps).
4) Your SD card, .android_secure (on the SD card, this is where apps that have been moved to the card via the Applications settings in Froyo or Gingerbread), and sd-ext (old style of moving apps and cache to the SD card WHICH SHOULD NEVER BE USED ANYMORE) partitions are left alone. THEY WILL NOT BE WIPED. So if you have any apps on your SD card (for example, all the Angry Birds games install to SD by default), you will have to wipe them manually.
thank you guys!
If you open up the zip and look at the update-script file, the following commands are listed in it
Code:
show_progress 0.1 0
format BOOT:
format CACHE:
format DATA:
format SYSTEM:
show_progress 0.1 10
To anyone with half a functioning brain cell, it should be obvious what each line does.
Post #5 says it well. The only thing I'd add is there really is little reason to do both wipe and this (esp with ra recovery 2.3). If you do the factory wipe option (first on the wipe menu), that will clear both the cache and data partitions. And since the data partition is already formatted, doing an addition wipe dalvik cache is really not necessary.
To the OP: Please use a more descriptive subject in the future. Almost passed this thread over because of it.

[q] need major help!, cant put xj's miui rom on my desire

So yesterday i followed ALL the instructions perfectly from the NOOB proof tutorial to putting on a custom ROM. Only difference i made was i have a FAT32, EXT3, and an Unallocated space because i heard thats what was needed for running XJ MIUI ROMs
Then I wiped system data, wiped cache, wiped dalvik cache, installed custom zip from my sd (Tried ALL three versions (Ap2sd+,D2W,D2EXT)) and it would just stay at the S-OFF boot screen.. Tried waiting 10-15 minutes but NOTHING. Then i had to take my battery out and do a restore of my backup to keep my phone alive.
Can someone PLEASE help me, i really want MIUI 1.4.15.. What is going on with my desire?!
Only difference i made was i have a FAT32, EXT3, and an Unallocated space because i heard thats what was needed for running XJ MIUI ROMs
Click to expand...
Click to collapse
Format it again but only with Fat32 and Ext3 (or Ext4). The go for the Ap2sd+ version.
From the rom thread:
INSTALLATION:
- Full Wipe + Wipe Dalvik Cache if coming from a non MIUI Rom
- Install zip from sdcard
- Reboot, see wintimer log for waiting time, as if it's accurate, ha ha
- Choose English locale in Settings if you get Chinese, it should be EN by default
ACTIVATING A2SD+:
- get terminal from market
- Type su
- Type a2sd zipalign
- Type a2sd cachesd

How the F&#! does one install MIUI?!?!

Im coming from Leedroid 2.5 D, and im a bit confused...
Do i have to flash a CM7 HBOOT? How do i flash that with Leedroid still installed? Same As normal? Will it mess up leedroid by adding a new Hboot? Is there a stock Version?
I wish i knew what i was doing. All the amount of reading in the world isnt helping, cause none of it makes any sense. Im not familiar with Linux @ all
Thank you
Are you S-On or S-Off? This is fundamental in everything you do related to flashing roms. If you are S-Off then you can flash custom hboots (such as CM7) which alter the way that your phones internal memory is laid out.
Now I'll assume that you're S-On and haven't changed your phones hboot partitions as I'm sure that you would know if you had!
Basically, you can flash ANY rom that says it uses a 'Stock' Hboot. Simply look for that option and if it isn't there then you cannot use it. Generally, installing any new ROM requires you to wipe everything from recovery, that is factory reset / wipe date, wipe partition and then in the advanced menu wipe Dalvik cache. You then flash the ROM. See below before doing this however.
My advice to people new to this (having got root and CWM recovery) would be to install MyBackUp or Titanium (I use MyBackUp and even bought it!) and backup everything, apps, data, the lot. Then boot into recovery, do a Nandroid backup (this backup is literally a snapshot of your entire phone, OS, apps, contacts, literally the entire phone!) and whilst in recovery, mount the SD card and copy EVERYTHING to your PC and keep the resulting file safe.
You can then partition the card if needed (for the EXT) and format the whole thing and then copy everything back from the PC to the SD card and also copy across your desired ROM. Flash the new ROM, go to the Market and re-download MyBackUp or Titanium and then reinstall everything.
If all else fails then you can go into recovery and select backups and restore and select restore and have your phone back to how it was.
first see what HBoot is the rom compatible with, they all state it with the rom.
MIUI-XJ] July 17-1.7.17 GB 2.3.4 EN-MULT+OTA+CM+Updater|D2EXT X-PART|A2SD+|D2W
if you're on about this rom.
2011-07-08 Releases
MIUI XJ D2EXT X-PART 1.7.8 - 2.3.4 GS 3P FINAL
this one is ok for stock HBoot, i tried it myself.
Do an NANDROID Buckup first.
then wipe everything (cache+dalvick cache) and flash the rom, and wait for it to boot. thats it. not a big deal.
Also, you cannot change Hboot without a ROM reinstall. A CM7 Hboot ROM will not work on a stock Hboot for instance. Pick a Hboot that you want and only install ROM's that match that Hboot. You can also Nandroid these (make a backup in CWM recovery) and switch between them simply by clicking 'Restore' but you can only do this if your Hboot has not changed, you cannot switch Hboots and simply run a restore.
this is what i've done to get MIUI working on my phone. and i recommend using a2sd+ because its the easiest to setup. (i think)
what you need:
- S-OFF
- AmonRA (so i can partition my SD card without connecting it to the PC)
what i did:
- go into recovery, nand backup
- back into recovery, partition 1024mb ext2
- covert it all the way to ext4 (ext3 will work too)
- flashed MIUI (a2sd+ version)
- back into recovery, flashed CM7 hboot
- enjoy
Hi guys, thanks for Reply
Im actually S-Off (alpharev). Does that make a difference?
Sike-1 said:
Hi guys, thanks for Reply
Im actually S-Off (alpharev). Does that make a difference?
Click to expand...
Click to collapse
No.
10chars.
do0b said:
this is what i've done to get MIUI working on my phone. and i recommend using a2sd+ because its the easiest to setup. (i think)
what you need:
- S-OFF
- AmonRA (so i can partition my SD card without connecting it to the PC)
what i did:
- go into recovery, nand backup
- back into recovery, partition 1024mb ext2
- covert it all the way to ext4 (ext3 will work too)
- flashed MIUI (a2sd+ version)
- back into recovery, flashed CM7 hboot
- enjoy
Click to expand...
Click to collapse
with a terminal on phone :
su
a2sd zipalign
a2sd cachesd
a2sd reinstall
To check if it's good :
https://market.android.com/details?id=com.elgubbo.a2sdGUI
HexaMiMi said:
with a terminal on phone :
su
a2sd zipalign
a2sd cachesd
a2sd reinstall
To check if it's good :
Click to expand...
Click to collapse
Well, I'd been told that I must activate a2sd+ first.("a2sd install")
-->See forums.miui.us/showthread.php?1655-How-to-use-a2sd
Anyway MIUI 1.7.22 with a2sd+(and X-PART too) wasn't stable enough for me...
though I like MIUI's elegant UI...

[Q] Boot Loop after flashing ROM

Hi guys,
I know that there are many threads about this topic, but no one of them helped me to find a solution for my problem. I hope somebody of you can give me the right advise how i can fix my phone.
These are the steps I did:
- Unrevoked Root
- AlphaRev S-OFF
- Installed Bravo CM7 r2 (by doing wipes in recovery-mode and install PB99IMG_cm7r2.zip)
Now I wanted to install one of these ROMs:
[ROM] Aurora v02
[ROM]Cool3D Sense 3.0
I proceeded like it is described everywhere. I choosed "Wipe data/factory reset" and "Wipe Davik" and then clicked on "Flash zip from sdcard" and choosed the zip.
However, my phone will stuck in a "quietly brilliant" loop. I proceeded a few times without success.
What did i do wrong?
You need 1gb ext4 partition on SD Card.
Repartition your SD, wipe everything and reflash again.
Sent from my HTC Desire using XDA App
What Hboot you have?
Usually roms have two versions - stock and alternative hboot version
If you have stock hboot table use stock rom
Yes all you need is to download the right version of the rom cool3d CM7 r2, partition your sd with first FAT32 and the second EXT4 partition. 1gb EXT4 is enough. then wipe everything and flash your rom. then boot the rom set it up, restart it and flash app2sd (stockusers.zip from coolexe), don't flash a2sd right after the rom!!
iga2iga said:
Yes all you need is to download the right version of the rom cool3d CM7 r2, partition your sd with first FAT32 and the second EXT4 partition. 1gb EXT4 is enough. then wipe everything and flash your rom. then boot the rom set it up, restart it and flash app2sd (stockusers.zip from coolexe), don't flash a2sd right after the rom!!
Click to expand...
Click to collapse
Do what he says and it will work...
If you want even more space, then flash Bravo CM r2 hboot from alpharev...
Remember to update your radio also...
There is some small bugs in the ROM, but they are easy to fix
Sorry, just to add if you are on cm r2, you may flash the rom, run it, set it up, and then reboot and flash a2sd.kd.zip it will move dalvik cache to sd-ext, as i understand his roms for cm r2 contain a2sd from the start. so you get all aps on sd-ext and also dalvik on sd-ext.

[CWM][ZIP] Defy Ultimate Wipe™

I had problems with wiping stuff on recovery, and I created these ZIPs with scripts to wipe my defy.
When I saw that others had problems wiping too, i thought that I could help by releasing these ZIPs.
Note: These zips do not push any files to any partitions, they just contain scripts run in recovery to perform desired task.
So, here they are:
FULL WIPER
-Wipes /system,/data,/cache
DO NOT REBOOT AFTER USING THIS OR YOU'LL NEED TO FLASH SBF
ext3 version
ext4 version
***********
CACHE WIPER
-Wipes /cache
ext3 version
ext4 version
***********
DATA & CACHE WIPER
-Wipes /cache and /data
ext3 version
ext4 version
Every zip can be found here : LINK
And please do not come to tell me that this is completely useless, if you can wipe normally, good 4 you
Nice one. it's faster than clicking all the CWM menu!
Can u add one that wipe dalvik and cache?
Jelly powered.Defy
Awesome!
AnTerNoZ said:
Nice one. it's faster than clicking all the CWM menu!
Can u add one that wipe dalvik and cache?
Jelly powered.Defy
Click to expand...
Click to collapse
As far as I know, the dalvik cache is in the /cache partition, use cache wiper
Sent from my MB525 using Tapatalk 2
Works for me!
I love these, use them everytime! Cache wiping in custom recovery doesn't work for me either anymore... This is far easier than switching to stock recovery and then bla bla bla!
Absolutely agree! Great Job!
After full wipe and install CM10 i got boot loops on red Moto logo. Defy+ bl7
Sent from my MB526 using xda app-developers app
Uao why i didn't see this before? i really searched for something similar a lot! At last i will get rid of gapps that normal factory reset don't delete! thanks!!
Two questions: do you confirm full wiper does delete dalvik also?
And do these scripts still work now also with ext4 formatted partitions?
moly82 said:
Uao why i didn't see this before? i really searched for something similar a lot! At last i will get rid of gapps that normal factory reset don't delete! thanks!!
Two questions: do you confirm full wiper does delete dalvik also?
And do these scripts still work now also with ext4 formatted partitions?
Click to expand...
Click to collapse
in the script data and cache is loaded as ext3 I don't know if it's formate it right, try it later and report, but u can easily rewrite the script to ext4 if it's needed.
AnTerNoZ said:
in the script data and cache is loaded as ext3 I don't know if it's formate it right, try it later and report, but u can easily rewrite the script to ext4 if it's needed.
Click to expand...
Click to collapse
thanks.. but I wouldn't know how to modify the script.. by the way I may use it with ext3 no problem.
also, I still don;t know how to check if my partitions are really ext3 or ext4.. so I think I will revert them to ext3 anyway.. (mount command show the driver used to mount the partitions, not the real format of the partitions.. and fstab I think is not fully reliable..)
congrats, your ass is now wiped.. I'm loving it!!
in op three links for download r given....so before flashing any new custom rom,i have to install these three zips in recovery....am i right or any other method???
Moto Defy
Added ext4 versions of each script. Please test as I do not have Defy anymore
-
jokermithun said:
in op three links for download r given....so before flashing any new custom rom,i have to install these three zips in recovery....am i right or any other method???
Moto Defy
Click to expand...
Click to collapse
Just flash the Full wipe zip before you flash custom rom, it will wipe everything and you'll have clean partitions and less bugs.
Be careful though, flash your rom after wipe zip. without rebooting. if you reboot, you'l' have to flash an sbf since /system got wiped.
hsrars-d said:
Added ext4 versions of each script. Please test as I do not have Defy anymore
-
Just flash the Full wipe zip before you flash custom rom, it will wipe everything and you'll have clean partitions and less bugs.
Be careful though, flash your rom after wipe zip. without rebooting. if you reboot, you'l' have to flash an sbf since /system got wiped.
Click to expand...
Click to collapse
what about dalvik cache wipe????
Moto Defy
hsrars-d said:
Added ext4 versions of each script. Please test as I do not have Defy anymore
-
Just flash the Full wipe zip before you flash custom rom, it will wipe everything and you'll have clean partitions and less bugs.
Be careful though, flash your rom after wipe zip. without rebooting. if you reboot, you'l' have to flash an sbf since /system got wiped.
Click to expand...
Click to collapse
question:
if I use full wiper ext4 version on ext3 partitions, will the partitions be formatted to ext4, or should I run ext4 full wiper only on already formatted ext4 partitions?
thanks for clarifying and sorry for stupid question
moly82 said:
question:
if I use full wiper ext4 version on ext3 partitions, will the partitions be formatted to ext4, or should I run ext4 full wiper only on already formatted ext4 partitions?
thanks for clarifying and sorry for stupid question
Click to expand...
Click to collapse
use AROMA Filemanager with terminal to look what formate it have with "mount" command
Data&cache wiper ext3 link wrong in the first post. It links u to the cache wiper ext3.
Anyway thx about it. Cheers
defy green powered by jb
So.... the full wipe after and before installing a new rom could be enought? right?
Psychlo said:
So.... the full wipe after and before installing a new rom could be enought? right?
Click to expand...
Click to collapse
DON'T use the full wipe after u flash a ROM, it erase all data and the system. if u do this u had finally flash a new stock firmware!!! only use it before and DIRECT after finish use the zip of the ROM u want to install, or nandroid!!
---------- Post added at 12:42 AM ---------- Previous post was at 12:35 AM ----------
hsrars-d said:
Added ext4 versions of each script. Please test as I do not have Defy anymore
Click to expand...
Click to collapse
if I use old ext3 zip it don't formate it back to ext3 partition still is ext4 formate if I check it with mount command. and nether with ext3 or ext4 version, dalvik would never bee wiped for me.

Categories

Resources