Recovery Idea - G1 General

What if in the recovery we could make it so that it automatically partitioned, rebooted, wiped, and flashed the rom? We could include a file in the rom that the recovery could use as "instructions" anybody think this could happen in the future?

You could make one with a sh script. I never have to repartition and clicking on the 3 wipes isn't hard, then go back to flash the rom I want to flash.

Related

[Q] need help flashing MoDoCa and CM7

I am having a heck of a time tryingto flash a new rom onto my nexus s. I have downloaded MoDoCa and CM7 and put both .zip's on my SD card.
When i go to install via clockwork, its verifies the install and fails saying it cant find any of the packages. I left the files as a zip, i also extracted wthem within the same folder.
Im so lost why this wont work. Also the backup's i made before flashing dont wanna flash either. I can only get barebones 2.3. HELP!
Are you using version 3.0.0.0 or higher of Clockwork? That's one of the requirements on Modaco's ROM.
You should leave the Modaco rom as a zip. Put it in the root of your sdcard.
I think what's happening to you is that you're trying to flash it the wrong way.
In Clockwork, don't select the flash update.zip file, what you need to do is choose the menu option to flash a file from the sdcard. This puts you into a selection mode screen where you will navigate through the files and folders in the sdcard to the one you want to flash, then select it and flash away.
Have you tried it that way?
EDIT: P.S - you don't "flash" nandroid backup files, you restore them from the backup/restore menu option in Clockwork. You probably know that, but just making sure, since there shouldn't be an issue restoring them.

[Q] CWM ROM kernel updating?

Apologies if this question is fundamentally stupid, I am a noob and have never tried modifying a ROM.
My question is if I can copy a CWM kernel zip file contents into a CWM ROM zip file and flash my phone without breaking / bricking my phone.
Background Info
I typically try and run the latest leaked stock ROM.
At the moment it is EH17.
I swap out the kernel for the plus kernel so that I can run ext4
I'm looking to start trying out some themes
I recently watched qbking77's video on how to uninstall a theme
Its essentially just just re-flash your CWM ROM
I would like to be able to flash without having to swap file systems every time.
Will extracting the ROM zip, overwriting files with kernel zip contents, rezipping, and flashing my phone cause problems?
Thanks for any help you can offer
Hmm, if you are just running a stock rom, you dont need to uninstall anything. You can just download a EH17 theme (or whatever type of ROM you are on), boot into CWM, wipe cashe and dalvik cashe 3 times each and then choose install from sdcard and choose the theme you want to flash.
Now if you want to try another one after that, do the same process. Wiping the cashes and flashing the theme is all you need to do.

[Q] how to install custom rom over another custom rom on i9500

Hv been using Arrow rom 8.0. Works fine but wanted to upgrade to Arrow rom 9.0 which is based on the rom for India.
The phone is rooted and custom recovery installed(don't know much about the way to use it). Downloaded the rom and went into recovery mode. Ok'd the wipe data/factory reset. Ok'd wipe cache. Ok'd the option of upgrade from external storage and the phone went to the manual mode with csc as inu and asking for the filename. Didn't know what to do so yanked the battery and rebooted. The booted to Arrow rom 8.0 with all data gone.
One more thing I noticed that in recovery mode I had to use a magnifying glass to read the options. Also there was no option to choose the external storage ie the sd card where I download or copy the roms it only shows phone storage.
Would appreciate the help received in pointing me to the right direction.
These are really basic questions. I'm supprised you managed to flash a rom in the first place.
Full wipe in recovery, if you still could boot after wiping, like in your case, then you didn't wipe correctly. Your phone shouldn't be able to boot anymore after the wiping (because there is no more rom installed).
Then flash the rom. If there is no option for external storage (i think this is highly unlikely), then just copy it to your internal sd card and flash from there.
Are you really sure you have a custom recovery? Because the way you are descriping it, it sounds more like the stock recovery.
Lennyz1988 said:
These are really basic questions. I'm supprised you managed to flash a rom in the first place.
Full wipe in recovery, if you still could boot after wiping, like in your case, then you didn't wipe correctly. Your phone shouldn't be able to boot anymore after the wiping (because there is no more rom installed).
Then flash the rom. If there is no option for external storage (i think this is highly unlikely), then just copy it to your internal sd card and flash from there.
Are you really sure you have a custom recovery? Because the way you are descriping it, it sounds more like the stock recovery.
Click to expand...
Click to collapse
Thanks for the advice. Checked using recovery tool and it says current firmware: stock.
How do I make a full wipe. And also what about the manual mode I get in the recovery mode.
Can mobile odin be used for flashing.
Again, these are really basic questions. You should read the forum more, my guess is you have a I9500, so start reading in that section. Read the parts about rooting, flashing a custom recovery and flashing.
All the information you need is there. I can tell you the exact steps you need to take, but figuring it out for yourself will save you lots of trouble in the furture if anything goes wrong.
I have no idea what manual mode is, so my guess is that you don't have a custom recovery installed. What is the name of the recovery? Or doesn't it display any name? You shouldn't be needing Mobile Odin, maybe only for rooting or flashing a custom recovery, but not for flashing the rom.
Lennyz1988 said:
Again, these are really basic questions. You should read the forum more, my guess is you have a I9500, so start reading in that section. Read the parts about rooting, flashing a custom recovery and flashing.
All the information you need is there. I can tell you the exact steps you need to take, but figuring it out for yourself will save you lots of trouble in the furture if anything goes wrong.
I have no idea what manual mode is, so my guess is that you don't have a custom recovery installed. What is the name of the recovery? Or doesn't it display any name? You shouldn't be needing Mobile Odin, maybe only for rooting or flashing a custom recovery, but not for flashing the rom.
Click to expand...
Click to collapse
Had read the forum before flashing the rom. Rooted my phone and had installed CWM via Odin and confirmed it in the recovery mode. And only after this flashed the Arrow Rom and used it for couple of months.
Don't know what happened to CWM it wasn't there this time in recovery mode, it showed Android System Recovery and not CWM.
Anyway have flashed CWM again along with Crash Rom 11.
Thanks again bro.

Procedure to go back to MIUI from CM13

Hi. I'm using the 18/Redmi2Prime and I was thinking of reverting back to MIUI and I'm on CM13. I'm kind of confused with all the threads here because it's been a while since I was active here in the forums. Can't I just flash the MIUI ROM over CM13 using TWRP 2.8.7 with a clean install?
I wanted a rooted lollipop miui hence I am reluctant of choosing this. And I donno which ROM to choose either. Any help would be greatly appreciated!
Grab a copy of the stock recovery from here, and follow the instructions to install it onto your device. Basically, download the file, extract the .img file from it, and install the .img file using TWRP. Then boot to recovery.
Then, download a copy of the official MIUI ROM (beta, release or otherwise), from here, rename it as update.zip, copy paste it to your SD card (internal/external), and from the stock recovery, wipe all existing data (cache and user data - SD card can stay). Install the update.zip from the recovery from the options shown.
Done.
Additional notes -
1. If you are plan to go back to a custom ROM, then install a pre-lollipop based MIUI ROM, or backup your EFS, Modem, Boot partitions prior to wiping the existing recovery - this will save you a lot of trouble, and perhaps opening another thread.
2. It is preferable to download the MIUI ROM and rename it as update.zip before you restore to stock recovery, should anything go wrong down the lane. (That is, without a ROM installed, and the computer just not willing to recognize your device, you might end up in a small soup - you cannot access the files on the phone using the stock recovery easily.)
3. If anything goes wrong, check for instructions on how to install the MIUI ROM using fastboot.
Hey thanks for the quick reply. Will do the mentioned and will get back to you if need be. Thanks again!
But wait. It isn't prerooted right?

Guide to flashing rom

used to flash my phones back in the day, seems a bit has changed. If you could point me to a guide, maybe where to start?
I've flashed TWRP on a and b, and trying to figure out how to flash a ROM now.
blaczero said:
used to flash my phones back in the day, seems a bit has changed. If you could point me to a guide, maybe where to start?
I've flashed TWRP on a and b, and trying to figure out how to flash a ROM now.
Click to expand...
Click to collapse
It depends on how the Dev set up the rom to be installed. Typically if the rom is .zip, you can install it with TWRP. Once you have downloaded your rom, copy it to your phone to a folder so you can find it easily. Reboot to TWRP and hit the Install button. Then navigate to your folder that has the rom in it and click on it. It should go through the install process and when its done, go back to the main TWRP menu and hit WIPE. If you are changing roms, you have to wipe your data or it won't boot up.
Also when you flash a rom, you are also flashing recovery from that rom and wiping out your TWRP install for that slot. You can re-install if you want.
Usually if your installing an after market rom, the dev will give you installation instructions. Most of the time they use Fastboot & ADB for these double slot phones since TWRP has not been available since its inception until lately.
HolyHog said:
It depends on how the Dev set up the rom to be installed. Typically if the rom is .zip, you can install it with TWRP. Once you have downloaded your rom, copy it to your phone to a folder so you can find it easily. Reboot to TWRP and hit the Install button. Then navigate to your folder that has the rom in it and click on it. It should go through the install process and when its done, go back to the main TWRP menu and hit WIPE. If you are changing roms, you have to wipe your data or it won't boot up.
Also when you flash a rom, you are also flashing recovery from that rom and wiping out your TWRP install for that slot. You can re-install if you want.
Usually if your installing an after market rom, the dev will give you installation instructions. Most of the time they use Fastboot & ADB for these double slot phones since TWRP has not been available since its inception until lately.
Click to expand...
Click to collapse
Thanks for the reply. What is this a and b stuff anyway?
blaczero said:
Thanks for the reply. What is this a and b stuff anyway?
Click to expand...
Click to collapse
Here's a bit of a explanation..
[GUIDE] The Noob's Guide to A/B Partitions and Other OP6 Idiosyncrasies
If you've just arrived on the phone modding scene, or are coming from another phone that uses traditional approaches to flashing, you've likely come across people talking about the "A/B partitions." If you don't have any experience with this...
forum.xda-developers.com

Categories

Resources