[HOWTO] Use ICS, GB and FROYO (with different kernels) with MultiROM - Optimus One, P500, V General

Things required:
A GOOD recovery that allows u to choose that to backup
I used TWRP.
AmonRA has bugs restoring boot.img for ICS. , so do not use it fot this purpose.
Amon ra will make the os generate dalvik-cache from the very beginning and u'll be stuck at "Android is upgrading" for some time.
CWM doesnt let u choose what to backup.
Tassadar's MultiROM
http://forum.xda-developers.com/showthread.php?t=1304656
A modded recovery for multirom
Some sympathy for ur good'ol phone
what are we doing:
contrary to what many people have posted in the multirom thread, ICS kernels ARE compatible with gb (cm7 to be specific). yes, USB wont work in gb. KGSL drivers wont work in Stock ROMs. But is good enough to make it boot.
What prevents gb from booting if u have ics in ur internal memory, is the bootloader. So, basically we need to swap with a gb bootloader before booting gb.
/boot contains ur bootloader, kernel, ramdisk and some other stuff. So, we will be backing up and swapping the kernel as well in the process.
HOWTO:
This is a one time procedure, unless u decide to change ur rom in sdcard later
Lets assume u have ics in internal memory, with ur favourite kernel.
For the lines marked with [TWRP], u'll have to use TWRP, and for other lines, u have to use a modded recovery by Tassadar.
so u'll have to flash different recoveries bewteen some steps.
[TWRP] flash multirom if u havent.
[TWRP] backup only /boot. note the name of the backup (or maybe rename it by mounting as USB storage). this is the one u would need to restore if ur moving from another OS to ics.
[TWRP] do a full backup.
flash gingerbread/froyo rom. Flash multirom. Flash ur fav. kernel(if u need to)
the rom has to be compatble with ur baseband. if not, flash some baseband fix.
multirom > "create from internal memory"
multirom > "move to backup" (only if ur installing more than 1 ROM in sdcard)
[TWRP] backup only /boot. remember the name of the backup.
repeat steps 4-8 for more roms u want to keep.
[TWRP] restore the full backup u created at the beginning, so that u have ics in int. mem.
Now u need to restore a /boot backup only if ur switching between android versions. for example, if u want to switch from ics to gb, just restore the backup which contains /boot from the gb ROM. Then u can just boot normally with Multirom's boot manager.

Related

How & when do you wipe to install new kernel & ROM????

I have used ODIN before to install the JI6 2.1 update but that left my data intact on the internal SDcard. So my question is the following as I'm about to flash a new ROM and kernel using ROM manager for the very first time (and from my point of view, flashing with ODIN has been a child's play versus with ROM manager):
Question #1: How do you wipe and when? Do you wipe before you flash the new ROM/kernel or after? And HOW do you wipe? Do you manually delete files, do you format the card, or is there some other magic option that you select?
Question #2: If you plan to flash both a new kernel AND ROM, can you do them at the same time? If not, does it matter which one you do first?
Many thanks for all answers in advance from all the brave souls that have already been there and done that. I'm about to join you.... hopefully without bricking my phone... LOL
OK, I personally try to ODIN to stock (with repartition) before flashing any new Rom.
Now if you are flashing a new rom with kerne included, you obviously flash it at the same time because is only one package.
If you want to install a Rom with a different kernel, and you are unsure about the ROM including a kernel or not, flash the rom, and after that without restarting, flash the kernel.
If you want to flash a new radio different than the one included with the kernel, then do the same with the radio after you installed the kernel.
You can also do one, restart, do the next one. It is a matter of choice most of the time, evcept when you are switching from 2.1 to 2.2
There you have to be sure that kernel and rom are both match pairs. a 2.1 Rom with a 2.2 kernel can get ugly, as well as viceversa.
always try to flash from let's say top to bottom
ROM first (if it includes kernel, will overwrite the kernel you have)
Kernel second (will overwrite any kernel and modem installed)
and finally the modem (only overwrite modem)
Thanks gagb. I have never used the repartition option of ODIN. Does that format and repartition the internal SDcard exactly how it was from the factory? And why is it called repartition rather than reformat? I woud think the whole SDcard should all be one partition. Or are there different partitions so that the OS would use some of the internal memory and the other would be for the user? Sorry for the many questions and thanks in advance for the answers.
larryvand said:
Thanks gagb. I have never used the repartition option of ODIN. Does that format and repartition the internal SDcard exactly how it was from the factory? And why is it called repartition rather than reformat? I woud think the whole SDcard should all be one partition. Or are there different partitions so that the OS would use some of the internal memory and the other would be for the user? Sorry for the many questions and thanks in advance for the answers.
Click to expand...
Click to collapse
Yes it does delete the existing app partition in Internal SD & recreate one. There is some system reserved space to install APPS.

[Q] Some simple doubts. Ep 1- After custom recovery

I just got custom recovery done. Now some doubts
1)I tried to take a NAND backup but get a "Run nandroid-mobile.sh via adb!" error. I do see that a nandroid folder with the image files are created, so is it partial and whether the error is common, or is it something I have to take care about. I have a 2GB SD card.
Update: I did a backup again and got the same error. Checked the SD card and the new backup is also the same size i.e abt 298MB with the following(boot.img, cache.img, data.img and system.img)
2)Once i have the backup, if i need to revert back incase i upgraded my current firmware to a newer one, i just need to restore the backup via custom recovery ..rite?
3)In most of the forums its written that we have to copy the flash_image and the recovery-RA-GNM-thunderg-1.1.0 files which is a zip file and its also said not to unzip it to the SD card and copy it as it is(zip files), if so the commands doesnt work cos they are file specific and not zip specific, which gave me an error telling such files are not there. So i extracted the img and put in the SD card and executed the commands and i got into Custom recovery and i can still do. So can i remove those files or is it still needed??
4)I have downloaded my stock ROM incase anything happens. Now if i have flashed my phone with a custom-ROM, will it delete the contacts, messages, installed apps?
5) If 4), then which is the safest way to back them up so that when i flash another ROM i just need to restore them ?
6) Basically what is the diff between flashing my stock rom and a restore from custom recovery(which would be my stock settings i believe)?
Thanks in advance guys. You're doing a great job.
1. Don't know. It seems to have no effect on restore.
2. You will have recovery intact after u flash a custom ROM. so u need to boot into the recovery via the home+voldown+power trigger, and restore it.
3.You should have
a. flash_image with NO extension (i.e. not zip. unzip the zip to get flash_image)
b. the custom recovery.img (i.e. unzip the custom recovery.zip. dont change name.)
c. the custom ROM.zip (this one, don't unzip.)
4. Remember : When u flash, everything gets wiped (mine had some exceptions, but ignore it. Just pretend it is a factory reset.)
5. Titanium Backup FTW
6. Not sure, but i guess you keep all the settings/apps when u do a NAND restore. a flash will nuke the memory.
dongimin2 said:
1. Don't know. It seems to have no effect on restore.
5. Titanium Backup FTW
Click to expand...
Click to collapse
Can you tell me how to do a complete backup with titanium and then how to restore it? The only way i could was to schedule one which created individual files inside the titanium directory. So you're telling that i can copy this backup to PC and later copy to SD when i want to restore and it will restore the whole thing?
2. You will have recovery intact after u flash a custom ROM. so u need to boot into the recovery via the home+voldown+power trigger, and restore it.
Click to expand...
Click to collapse
Ok so how do i get this recovery? this is the NAND backup one rite, i am getting confused to which recovery i sud go abt. Sorry Noob here
3.You should have
a. flash_image with NO extension (i.e. not zip. unzip the zip to get flash_image)
b. the custom recovery.img (i.e. unzip the custom recovery.zip. dont change name.)
c. the custom ROM.zip (this one, don't unzip.)
Click to expand...
Click to collapse
Awesome, just as i thought it would be.
4. Remember : When u flash, everything gets wiped (mine had some exceptions, but ignore it. Just pretend it is a factory reset.)
Click to expand...
Click to collapse
Ok so i backup the whole thing before i flash. So which backup should i do, the titanium one or the custom recovery one? what do u suggest? (this answer will clear my doubts regarding the backup thingy)
6. Not sure, but i guess you keep all the settings/apps when u do a NAND restore. a flash will nuke the memory.
Click to expand...
Click to collapse
Oh ok, gotcha
Thanks a lot for being patient enuf .

Done with custom recovery did back up now whatttt!!!

Hi after spending a huge time I finally did it and got into recovery and made backup.
Of also made a titanium backup.
Obviously my mem card has backup folders should I save them?
How I mean is there any particular way?
After the answer to above then comes the next problem.
I just need to download the zip file of the custom rom and then just flash directly.
then one more thing
assuming that now I'm in a custom firmware and wanna switch back to the default is it easy?
How do I do the custom recovery? Of the default obviously.:-D
Thanks in advance.
Sent from my LG-P500 using XDA App
Really guys everybody says this and that can someone give at least a proper that gives method to get back to original.
Sent from my LG-P500 using XDA App
Since ur done with recovery n backup,make sure u have the thunderg Custom recovery,clockwork isn't supported my majority of the roms u find here
Save the backup files from the sdcard to ur PC to be safe
Next just download a custom rom that suits ur need,copy it ur sdcard,boot into the recovery with the 3 button combo and just flash the zip from there
All instruction can be found in individual rom threads
Now,going back to the stock rom,its simple and easy
Just download the LG original firware and flash it with KDZ Updater
No warranty will be void so just chill play arnd with ur phone....
Thanks dude +1 for you.
Sent from my LG-P500 using XDA App
And what about the titanium backup? Any use to store it?
I mean I thought that I could go back to the same state using all these and I mean the exact state as now.
if I have to flash with a new rom even if its default only then what it the use of back up that I just did if I won't be using it at all.?
Sent from my LG-P500 using XDA App
divyanshu308 said:
Hi after spending a huge time I finally did it and got into recovery and made backup.
Of also made a titanium backup.
Obviously my mem card has backup folders should I save them?
How I mean is there any particular way?
After the answer to above then comes the next problem.
I just need to download the zip file of the custom rom and then just flash directly.
then one more thing
assuming that now I'm in a custom firmware and wanna switch back to the default is it easy?
How do I do the custom recovery? Of the default obviously.:-D
Thanks in advance.
Sent from my LG-P500 using XDA App
Click to expand...
Click to collapse
truely make a backup in recovery its worth mentioning which recovery u r using as thunderg 1.2.1 cannot restore so use 1.2 or lower-clockwork is better but it doesnt support installing all rom at this point of time but its better than thunderg.once u get support from all rom its worth installing clockwork.
now the main part
boot into recovery
make a backup of current rom and transfer it to pc
Wipe data/factory reset.
3. Wipe Cache.
4. Wipe sd-ext.
5. Format /system.
6.make partition swap 0 ,ext 512(convert ext 2 to ext 3 ,ext 3 to ext 4- class 4 sd card minimum required for ext4)
7.Select usb ms-toogle |copy the rom image to sd card
6. Intall zip from sd card.|Flash CM7.(if using cm7)
7. Reboot.
8. Done.
hope it was helpful.more tweaks and market zip is provided in differnt rom thread choose accordingly whatever u need.
ENJOY
if u get a bootloop just flash the zip file provided in mik rom for bootloop and then wipe again and flash the rom
AS FAR AS TITANIUM BACKUP IS CONCERNED ONCE U INSTALL THAT IN UR NEW ROM U GET TO RESTORE ALL APLLICATION U HAVE BACKUP EARLIER.JUST MAKE SURE U HAVE SAVED THE BACKUP FILE IN PC AND TRANSFER IT BACK AGAIN.AND IF U WANT TO GET BACK TO ORIGINAL JUST RESTORE THE BACKUP U CREATED EARLIER BEFORE FLASHING NEW ROM.
U CAN CHECK OUT THE THREAD IT MENTION A LOT OF THINGS ABOUT CLOCKWORK AND A2SD AND STUFF http://forum.xda-developers.com/showthread.php?t=1038338
shhbz said:
truely make a backup in recovery its worth mentioning which recovery u r using as thunderg 1.2.1 cannot restore so use 1.2 or lower-clockwork is better but it doesnt support installing all rom at this point of time but its better than thunderg.once u get support from all rom its worth installing clockwork.
now the main part
boot into recovery
make a backup of current rom and transfer it to pc
Wipe data/factory reset.
3. Wipe Cache.
4. Wipe sd-ext.
5. Format /system.
6.make partition swap 0 ,ext 512(convert ext 2 to ext 3 ,ext 3 to ext 4- class 4 sd card minimum required for ext4)
7.Select usb ms-toogle |copy the rom image to sd card
6. Intall zip from sd card.|Flash CM7.(if using cm7)
7. Reboot.
8. Done.
hope it was helpful.more tweaks and market zip is provided in differnt rom thread choose accordingly whatever u need.
ENJOY
if u get a bootloop just flash the zip file provided in mik rom for bootloop and then wipe again and flash the rom
AS FAR AS TITANIUM BACKUP IS CONCERNED ONCE U INSTALL THAT IN UR NEW ROM U GET TO RESTORE ALL APLLICATION U HAVE BACKUP EARLIER.JUST MAKE SURE U HAVE SAVED THE BACKUP FILE IN PC AND TRANSFER IT BACK AGAIN.AND IF U WANT TO GET BACK TO ORIGINAL JUST RESTORE THE BACKUP U CREATED EARLIER BEFORE FLASHING NEW ROM.
U CAN CHECK OUT THE THREAD IT MENTION A LOT OF THINGS ABOUT CLOCKWORK AND A2SD AND STUFF http://forum.xda-developers.com/showthread.php?t=1038338
Click to expand...
Click to collapse
i'm sorry to say as that as it did took a lot of time for me to finally got to recovery i cant remember which one i used.
I guess it was the one from android forums . com.
shhbz said:
truely make a backup in recovery its worth mentioning which recovery u r using as thunderg 1.2.1 cannot restore so use 1.2 or lower-clockwork is better but it doesnt support installing all rom at this point of time but its better than thunderg.once u get support from all rom its worth installing clockwork.
now the main part
boot into recovery
make a backup of current rom and transfer it to pc
Wipe data/factory reset.
3. Wipe Cache.
4. Wipe sd-ext.
5. Format /system.
6.make partition swap 0 ,ext 512(convert ext 2 to ext 3 ,ext 3 to ext 4- class 4 sd card minimum required for ext4)
7.Select usb ms-toogle |copy the rom image to sd card
6. Intall zip from sd card.|Flash CM7.(if using cm7)
7. Reboot.
8. Done.
hope it was helpful.more tweaks and market zip is provided in differnt rom thread choose accordingly whatever u need.
ENJOY
if u get a bootloop just flash the zip file provided in mik rom for bootloop and then wipe again and flash the rom
AS FAR AS TITANIUM BACKUP IS CONCERNED ONCE U INSTALL THAT IN UR NEW ROM U GET TO RESTORE ALL APLLICATION U HAVE BACKUP EARLIER.JUST MAKE SURE U HAVE SAVED THE BACKUP FILE IN PC AND TRANSFER IT BACK AGAIN.AND IF U WANT TO GET BACK TO ORIGINAL JUST RESTORE THE BACKUP U CREATED EARLIER BEFORE FLASHING NEW ROM.
U CAN CHECK OUT THE THREAD IT MENTION A LOT OF THINGS ABOUT CLOCKWORK AND A2SD AND STUFF http://forum.xda-developers.com/showthread.php?t=1038338
Click to expand...
Click to collapse
Can u tell me what is the difference between both the recovery? Why is clockwork worth it? And does it support CM7?
divyanshu308 said:
i'm sorry to say as that as it did took a lot of time for me to finally got to recovery i cant remember which one i used.
I guess it was the one from android forums . com.
Click to expand...
Click to collapse
just chk the file name u have in ur pc and u will come to know as 1.2.1 will land u in problem later
sweettaniyaa said:
Can u tell me what is the difference between both the recovery? Why is clockwork worth it? And does it support CM7?
Click to expand...
Click to collapse
thunderg recovery is the old preocess of flashing file which sometimes leads to bootloop or unsupportive to some tweaks and add on as it is unable to run the scrip porperly hence clockwork is considered better which handles everything smoothly as it the latest way of flashing zip and files.
But i would suggest to use thunderg as for now as all rom developed here are not suppoting clockwork so once it gets updated u can flash the clockworkmode and yeah finally it does support cm7.
i just hope that clockwork gets some updates like it is in hd2 forum solving some minor issue
Clockworkmod doesnt support many ROMs because the ROMs are using the old Amend scripts. Even google has stopped supporting Amend from Android 1.6.
If you want the old roms to work with clockworkmod, you can use the amed to edify tool to make it compatible with clockworkmod.
rforums said:
Clockworkmod doesnt support many ROMs because the ROMs are using the old Amend scripts. Even google has stopped supporting Amend from Android 1.6.
If you want the old roms to work with clockworkmod, you can use the amed to edify tool to make it compatible with clockworkmod.
Click to expand...
Click to collapse
So r u saying that all the new ROMS will be compatible with Clockworkmod?
just successfully installed custom recovery, can i now delete the img and flash_image from my sd root?, and also the zip file used in flashing new kernel can i delete that as well?
hi i used thunderg recovery 1.1.
i asked a question about how to recovery with 1.2.
basically when i follow the lin k with 1.2 it ends up with recovery image only.
there is no flash iamge attached with it.
so should i use the flash image of 1.1 to do recovery again.?
or what?
anybody here knows the answer ??
divyanshu308 said:
hi i used thunderg recovery 1.1.
i asked a question about how to recovery with 1.2.
basically when i follow the lin k with 1.2 it ends up with recovery image only.
there is no flash iamge attached with it.
so should i use the flash image of 1.1 to do recovery again.?
or what?
anybody here knows the answer ??
Click to expand...
Click to collapse
Yes.you need to use the same flash image file to install v1.2 or v1.2.1.
I suggest that you follow the instructions given in the following thread -
[HOWTO] Rooting, Installing -Android SDK, Custom Recovery, Custom ROM's
http://forum.xda-developers.com/showthread.php?t=1007244
divyanshu308 said:
hi i used thunderg recovery 1.1.
i asked a question about how to recovery with 1.2.
basically when i follow the lin k with 1.2 it ends up with recovery image only.
there is no flash iamge attached with it.
so should i use the flash image of 1.1 to do recovery again.?
or what?
anybody here knows the answer ??
Click to expand...
Click to collapse
just place 1.1 with 1.2 in ur sd card along with the same flash image
http://forum.xda-developers.com/showthread.php?t=1038338
this might help u to use adb properly
Thanks
Sent from my LG-P500 using XDA App

[Q] Flahsing to franco ROM

hi, i wanna ask...if i wanna flash to another devoid.Franco ROM (previously using void.echo) do i still need to dl the Terminal Emulator & Custom Recovery Tool Image and its Flash Image then run the Terminal Emulator & key in the codes then only start flashing another ROM?
i've did tat at the first time i flashed to a void.echo ROM now i wanted to flash to devoid.franco, do i still need to repeat all that step again? or i just enter the "power button, volume down button and home button" mode then wipe then flash will be good?..need advice thanks..
Just wipe and flash..
thanks for quick reply!
another question...how do i know that i already have the ext partition?...after i wipe everything included wipe ext..do i still need to create again?
Wiping doesn't remove partition..
On Mike mod
can we install franco kernel on mike mod 6.5.2
If your from void#echo previously, do these:
1. Backup all your user apps+contacts via Titanium Backup and all SMS via SMS backup
(they're all available free in the market)
2. Turn off phone. Reboot to recovery (hold power button+home+vol down)
3. Wipe user data, .android secure, cache, dalvik-cache, battery stats, and wipe ext.
4. Since your on void#echo already, you don't need to partition your sdcard.
5. Download devoid.franco, use usb-toggle on the recovery menu and copy it from pc to your phone while on the recovery and flash it.
6. Reboot (first boot might take a while)
7. Configure settings, Install titanium backup and sms restore app, Then restore all apps+settings+SMS. Enjoy~
8. Well if you know already what your doing and want some further improvements (completely optional, just do a nandroid backup incase) :
8.1 Reboot to recovery
8.2 Flash the latest kernel version from franco's thread
8.3 Reboot
8.4 Flash the ZRAM module
8.5 Reboot and Enjoy your phone
Thanks Kira.Lawliet!
hmm...i actually partition my sdcard again...yea..i flash before saw your reply ._.
will it harm? i partition my sdcard again....n flash to devoid.franco
You have to partition only if you want apps2sd. Else let it be. You can easily remove the ext partition by partitioning with 0mb ext partition in recovery.
sanmore said:
can we install franco kernel on mike mod 6.5.2
Click to expand...
Click to collapse
definitely you can. just flash your device with mik_os mod first. then flash the franco kernel (v15 now) and lastly flash the ZRAM initializer.
just make sure you wipe the cache and dalvik cache first before you're flashing.
flashing
Ok guys just remember that rom flashing requires you to follow rom partition conditions while kernel flashing may not need to recreate partitions. In my case, I'm using Nessy Hypnos2 and been running with much fluidity after flashing FrancoKernel 14.2. But I did wipe all just to make sure there wont be any conflicts. HYPNOS2 + FRANCOKERNEL 14.2 is like coffee and cream, a perfect match like newlyweds.

Revert back to miui from treble rom

How to revert back to miui from treble ROM and treble recovery. Is there any steps do I need to follow ?
Yes.
1. Install a non-treble recovery (e.g. official TWRP)
2. Flash Recovery-flashable MIUI.
3. Profit.
PS: make sure you have a full backup of your sdcard in a secure place (like a PC, memory card, pendrive, etc) before flashing. MIUI has a habit of encrypting your device which would cause you to lose everything

Categories

Resources