[REQ] Dual boot different roms - EVO 4G Android Development

Ok, so I'm gonna request tough one. Probably possible though.
Is there a way to dual boot rom's?
Say, I wanna use fresh's rom and then reboot and boot into evolution's froyo rom.
Is there a way to select which rom i want to boot into on the boot up?
Is this device even able to support this? How much space are we working with for the device itself?

kthejoker20 said:
Ok, so I'm gonna request tough one. Probably possible though.
Is there a way to dual boot rom's?
Say, I wanna use fresh's rom and then reboot and boot into evolution's froyo rom.
Is there a way to select which rom i want to boot into on the boot up?
Is this device even able to support this? How much space are we working with for the device itself?
Click to expand...
Click to collapse
You'd have to partiton the memory and then devise some sort of boot selector... A much more feasible solution is just to create nandroid backups of each ROM in a stable and set up state.

I figured as much... I guess I would need to have a need to dual boot.
But, the challenge is still out there

Not dual boot but you could just dual nandroid.

thats what i do. takes 3 min to back up and then restore the other

Anyway we could get a write up to do a dual nandroid setup?

while, making 2 nandroid backups, and restoring to which ever you choose to use, a dual backup system would be cool. but i'm guessing that would take some sort in the firmware??

Here is your request being granted....
Here is the link for unCoRrUpTeD Dual Boot V1
I hope this answers your request.
http://forum.xda-developers.com/showthread.php?p=9345833#post9345833
ENJOY!

Here is the link
http://forum.xda-developers.com/showthread.php?p=9345833#post9345833

Related

[DEV][Closed] Trying To Port MiUi ROM To Defy (Update - 4/13/2011)

Sorry i cant work on this anymore because i lost defy. Sorry guys
Hello guys,
first of all, i am no where near a developers level, but being somehow geeky at linux and android stuff, i am trying to port MiUi ROM for motorola milestone to motorola defy. I havent succeeded till now, but i will try my best to bring MiUi goodness to Defy phone users. I worked all night last night, trying to do different stuff every time hoping it works, but everytime i do anything, all i get is the big a$$ motorola logo. I need some developer's help on doing this.
The main problem has been motorola's locked bootloader, which does not let me flash updated zip files, unless i flash the original sbf, log into motoblur, root it, install recovery, boot into recovery and finally install. And trust me, i did all of that like 10-15 times last night. Even my phone must be pissed off at me right now cuz of that If there is an easier way,please, please please let me know.
I have tried everything from replacing apps, extracting boot.img, replacing framework files, installing directly, using kitchen for htc to automatically replace and almost eveything i could think of, and still no success. I really need help from someone who can debug kernels and sneak into bytecodes.
You are really welcome to help me if you think that you could help in any ways. Please shoot me an email at zed [at] wireshock.com (i will usually reply asap), or add me in gtalk admin [at] wireshock.com so that we can talk about it. Lets all hope that we can see miui in defy some day. Wish me luck
Edit: Here is the final thing i came up with, if anyone wants to examine, here is the link -> Click Here
PLEASE NOTE THAT THIS WILL NOT WORK! IT WILL NOT BOOT! THIS IS FOR DEV'S ONLY!
March 29
Update (9:40 AM): Another night without success. I am trying my best to make it work. Few people have contacted me about this, and some have helped a lot. Thanks to them. I contacted eugene_373 about this, lets hope he replies fast.
Update (11:48 AM): @KSubediTweet My Defy no longer works... So, not much help I can give. <- Eugene's defy doesnt work, need some devs who work for defy.
Update (5:54 PM): Me and Landroid from xda worked for almost the whole day trying to make it work. No success till now, but i think we are closer than before. If anyone finds a way to run recovery without booting somehow, please let me know, that will help a lot. And be sure to say thanks to Landroid for helping me out a lot.
April 6
Update (10:53 AM): Spent the last week trying to figure out a way to run recovery without booting which would help me save 80% time. Need some more Dev's help. I have tried contacting some chinese miui developers so that they could help me on porting the rom. Waiting for reply.
April 7
Update (8:35 PM): I think i finally found something that can help! Check this out -> http://forum.xda-developers.com/showthread.php?t=1026853
April 13
Update (8:14 PM): After few days of being idle, i am back to the track. Now as i have 2nd init, pre boot menu and everything i need to work, i will try as fast as i can. And racca pointed out some stuff i didnt know before, so i am kind of positive about getting it to work this time.
P.S. All times are MST (GMT -7)
I don't have much technological knowhow to add, but good luck and its great that someones finally making the effort, so don't give up!
Sent from my HTC Vision using Tapatalk
tbman1996 said:
I don't have much technological knowhow to add, but good luck and its great that someones finally making the effort, so don't give up!
Sent from my HTC Vision using Tapatalk
Click to expand...
Click to collapse
Thanks, ill try my best.
Eugene made some adaptations on system recovery to apply update.zip. I don't know exactly how that works but maybe help you.
link: http://forum.xda-developers.com/showthread.php?t=995131
Thanks a lot for the link, if i can get the keyfile, i think i can make an update.zip for the recovery and can open clockworkmod from default recovery. Ill try it
Edit: or i can sign the zip file so that i can flash it from default recovery.
Dexter_nbl did the port of sense for us. In his rom he used a file on sdcard to boot on recovery. Like, if the file called recovery_mode exist on sdcard execute the script to boot up on recovery....this helped a lot!
psicodelico said:
Dexter_nbl did the port of sense for us. In his rom he used a file on sdcard to boot on recovery. Like, if the file called recovery_mode exist on sdcard execute the script to boot up on recovery....this helped a lot!
Click to expand...
Click to collapse
That might have worked if the room booted at all, the problem here seems to be with some hardware driver that is preventing the phone from booting. Only if someone who knows what is preventing it from booting could help me out, i would work on fixing it somehow.
good to see a new project coming up.
got a bit quiet here in the past week, devs probably waiting for motos official froyo release.
anyways, kepp us updated on your progress and good luck!
ksubedi said:
That might have worked if the room booted at all, the problem here seems to be with some hardware driver that is preventing the phone from booting. Only if someone who knows what is preventing it from booting could help me out, i would work on fixing it somehow.
Click to expand...
Click to collapse
That ideia is for you access your system recovery to restore your system without flash a sbf, get root, install system recovery (that take a long time). This way you can try more things. Dexter call the script to verify the file on sdcard in beginning of the process of boot, i dont know how but if you want see take a look the first version of his ROM.
i dont think you can sign the update packages. maybe you should try to ask eugene how this whole cookie cutter thing works
http://twitter.com/eugene_373
http://eb-productions.proboards.com/
would be awesome to get miui on defy...
Sent from my MB525 using XDA Premium App
psicodelico said:
That ideia is for you access your system recovery to restore your system without flash a sbf, get root, install system recovery (that take a long time). This way you can try more things. Dexter call the script to verify the file on sdcard in beginning of the process of boot, i dont know how but if you want see take a look the first version of his ROM.
Click to expand...
Click to collapse
That is exactly what i have been trying to do since my first day. I have asked eugene_373 for help on this. Thanks anyways.
drsouly said:
i dont think you can sign the update packages. maybe you should try to ask eugene how this whole cookie cutter thing works
http://twitter.com/eugene_373
http://eb-productions.proboards.com/
would be awesome to get miui on defy...
Click to expand...
Click to collapse
Thanks for the link I just contacted eugene_373 about this. Ill update once i get a reply.
Keep it up!!
One closer day i will buy the defy
Thank you for your efforts. Look forward to your success
any news?!
Any news ???
I have contacted miui developers to help me out. Waiting for reply now. Lets hope that we can bring miui to defy as soon as possible. Need help from some devs.
What do you mean go to recovery without booting? Without booting to Android you cannot use any other means to write to the Filesystem, so how would you do that? You can't replace the recovery that's installed with the phone, so I don't really see how that would be possible.
Recovery without booting is possible through charge-only-mode, but no one is capable to do it for Defy. And probably it is possible in Defy Sense ROM, if you read the thread. But I did not tried.
an option would be to look for an exploit in the recovery, that allows us to make something like open recovery on the milestone... i would ask the devs from openrecovery
There is the way using the second boot used on milestone (2nd-init) and the way used by Dexter in Sense ROM;
- included ClockWorkRecovery custom edition for this rom
• - Do NOT install the apk release, or it will ruin bootup of sense.
• - activate Recovery by putting an empty file in the root of your sdcard called "recovery_mode"
• content can be anything or empty, just make sure filename is correct.
• - reboot, and it will load into recovery.
Click to expand...
Click to collapse
Sense ROM: http://forum.xda-developers.com/showthread.php?t=933710 (get the first version to see the magic)
2nd-init: http://forum.xda-developers.com/showthread.php?t=1003449

[Q] Bootstrap/Safestrap

http://forum.xda-developers.com/showthread.php?t=1315982
I tried this on my A2 and it works.. Not sure if it helps yall to know that or not. I was able to boot into recovery by holding volume up and down while powering on then selecting bp tools. Idk where to post this either.. Could we use this to install custom roms? The droid 3 has similar hardware to ours, What would happen if I used safestrap and installed a droid 3 rom?
Do not try to install a Droid 3 rom. While this may help us in some way the architectures of the devices are very different and you will more than likely end up with a bricked device.
If your able to dual boot with this then wouldn't that mean that i'd be unable to brick my phone because the os that i'm flashing is installed to a second partition? ...It is able to dual boot android on a droid 3.
Nvm.. It cant mount /emmc
Jimmy273 said:
Do not try to install a Droid 3 rom. While this may help us in some way the architectures of the devices are very different and you will more than likely end up with a bricked device.
Click to expand...
Click to collapse
Please listen to Jimmy, you are talking about installing something that was not meant for our phone. As similar as they may seem they aren't the same. No one wants to see you brick your phone but at the same time YOU'VE BEEN WARNED AND WE HAVE NO WAY OF HELPING YOU RECOVER RIGHT NOW!
I didn't flash it.. It cant mount /emmc which i assume is where the second file system goes so, I don't wanna brick my 4th atrix just yet.. But the backups that the safestrap recovery make are just over 200mb bigger why is that? and there is a boot folder but its empty. Will this be any help in the custom roms area?
Someone already posted something like this from the Bionic which is even cloder to our phone. Like they said PLEASE DONT FLASH THAT ROM...or any ROM not made for the Atrix2. To answer your questions
EMMC is internal media space, or internal storage that is user accessible. We do not have that space, our 8gb of internal space is not user accessible.
The backups are 200mb bigger because of Webtop (assuming you are comparing it to a Droid 3 backup)
I do not know why the boot folder is empty. A reason why it may not be safe to use this bootstrap.
Nope, I'm comparing backups I made from my a2. one with the atrix bootstrap and one with the droid safestrap. the one made with safe strap is actually over 300mb bigger. Is that because of webtop?
Not that i want to see you brick your A2, but were you able to restore a backup? That is the only that scares me about doing any kind of tweaks. I like to do backups anytime I am doing any kind of changes, just in case i blow it up. Once we get an SBF to flash back to stock, I won't be worried.

[Q] Best way to "sample" a rom?

So what would be the best way for me to sample a rom but keep a backup to my current ARHD rom that I ciuyld just go into recovery and restore it just in case I dont like the new rom?
Im thinking just to make a backup now, superwipe + flash new rom , and if I dont like it just restore into the backup I made. Is it really as simple as that? Sorry for this stupid and long question, but I really dont want to brick my new sensation.
brandonair95 said:
So what would be the best way for me to sample a rom but keep a backup to my current ARHD rom that I ciuyld just go into recovery and restore it just in case I dont like the new rom?
Im thinking just to make a backup now, superwipe + flash new rom , and if I dont like it just restore into the backup I made. Is it really as simple as that? Sorry for this stupid and long question, but I really dont want to brick my new sensation.
Click to expand...
Click to collapse
Just as simple as that.
Go in recovery. Do a backup of your current rom.
Wipe and try new rom. Like it yay! Don't like it then just restore in recovery. Back to where you left off.
Ah thank you. Its nice to have an answer from a developer also
there is a thread somewhere which allows dual booting of 2 ROMs... Im not sure which ROMs are supported or where the thread is, But a quick search ought to bring it up.
Its a brilliant concept that allows you to choose upon boot which ROM you would like... You can keep your current favourite one, But also boot up the next ROM that you are considering... If you dont like it. Boot back....
brandonair95 said:
Ah thank you. Its nice to have an answer from a developer also
Click to expand...
Click to collapse
U can Use Boot Manager Download From Market , Lets u Boot Upto 5Roms at oNe Time
Try tht Chk all Roms n than delete rest roms n leave ur Current oNe
Simple N eAsy
Hope i Helped

[Q] Dual boot on Atrix2

Hi,
I saw the below guide for dual boot on Atrix4G.
http://forum.xda-developers.com/showthread.php?t=1645664
I followed the procedure on Atrix2 and failed.
The partitions are named/mounted differently in init.rc
Can someone port this and make dual boot possible on Atrix2?
Thanks,
Kmosh.
And while your at it an easily installable cm9 and unlocked bootloader would be great. In fact, I'm gonna need you to come in on Saturday. OK? Great.
LoL
kmosh said:
Hi,
I saw the below guide for dual boot on Atrix4G.
http://forum.xda-developers.com/showthread.php?t=1645664
I followed the procedure on Atrix2 and failed.
The partitions are named/mounted differently in init.rc
Can someone port this and make dual boot possible on Atrix2?
Thanks,
Kmosh.
Click to expand...
Click to collapse
That was done almost 6 moths ago, and it is in the dev section, it was called safestrap, do a search. It was abandoned due to many issues, so it was deemed a only valid for testing ROMs.
Otherwise no other way to dual boot an Atrix2, and we can't port that particular process.
Is there a reason you want to dual boot something? Really dual booting is only a good thing for a developer testing a ROM they are working on. Everyday use of dual booting a phone, does not help usability at all, actually makes it more of a pain, that was another reason we abandoned safestrap over here.
Mtn Dew said:
And while your at it an easily installable cm9 and unlocked bootloader would be great. In fact, I'm gonna need you to come in on Saturday. OK? Great.
LoL
Click to expand...
Click to collapse
Brought a well needed smile to my face.
jimbridgman said:
That was done almost 6 moths ago, and it is in the dev section, it was called safestrap, do a search. It was abandoned due to many issues, so it was deemed a only valid for testing ROMs.
Otherwise no other way to dual boot an Atrix2, and we can't port that particular process.
Is there a reason you want to dual boot something? Really dual booting is only a good thing for a developer testing a ROM they are working on. Everyday use of dual booting a phone, does not help usability at all, actually makes it more of a pain, that was another reason we abandoned safestrap over here.
Click to expand...
Click to collapse
Pain in the ass is being generous and really isn't worth the b.s.

[Q] Why install custom rom? New guy here

Hello everyone, I just registered to XDA. I ordered my nexus 5 and I expect it by the end of the week and I just have a few questions.
Please dont judge me hard as I dont have much knowledge on the subject.
1. What is a custom rom?It is a custom OS based on an android version right?
2. I see many people putting custom roms on nexus 5. Why is that? What do custom roms offer?
3. Which one would you suggest me to install to my new phone?
4.Can you help me on how to do the installation?
Thanks in advance
giannis1995 said:
Hello everyone, I just registered to XDA. I ordered my nexus 5 and I expect it by the end of the week and I just have a few questions.
Please dont judge me hard as I dont have much knowledge on the subject.
1. What is a custom rom?It is a custom OS based on an android version right?
2. I see many people putting custom roms on nexus 5. Why is that? What do custom roms offer?
3. Which one would you suggest me to install to my new phone?
4.Can you help me on how to do the installation?
Thanks in advance
Click to expand...
Click to collapse
Custom ROMs are basically just third-party-developer-versions of the Android operating system. They usually offer software modifications you can't find on stock versions of Android, such as overclocking your processor (making it run faster than it's supposed to). I'd recommend for starters to go with CyanogenMod. I will look for a good ROM for you to start out with, and when I find one, I'll return and post instructions on how to install it. I'll aos post instructions for how to Root and install a custom recovery (these are things you MUST do before installing any ROM).
EDIT: Here's a guide for how to get your Nexus 5 up to the point where you are running a custom ROM on it. If there's anything you don't understand, please feel free to ask what it means and I'll try my best to explain. Just as a warning, by doing this, you will probably void any warranty you may have with your device. So if you are NOT OK with a warranty being void, please DO NOT proceed. Otherwise, keep reading:
1) Make sure you have a computer with the proper Nexus 5 drivers installed.
2) Root and unlock the bootloader on your Nexus 5. Take a look at THIS for how to do both of them.
3) Read through THIS for how to install a custom recovery. I'd recommend using TWRP. If you already unlocked the bootloader in the previous step, then just ignore the part where this article tells you how to unlock the bootloader.
4) Next you need to download the ROM itself and save it to your Nexus 5's internal storage. My friend who has a Nexus 5 uses THIS ROM, and he seems to like it. Save THIS (ROM) and THIS (Google Apps) to your phone's internal storage. Remember where you put these. Do NOT extract the contents, leave them as a .zip file.
5) Boot your phone into recovery
5.5) DO A FULL BACKUP IN RECOVERY!!! IN CASE SOMETHING GOES WRONG, JUST BOOT INTO RECOVERY, AND SELECT TO RESTORE THE BACKUP AND YOUR PHONE WILL BE BACK TO THE STATE IT WAS BEFORE YOU TRIED TO FLASH THE ROM. THIS IS IMPORTANT! You should do this EVERY TIME you want to flash a Custom ROM. It should be pretty easy to find out how to do a backup in recovery. If you use TWRP Custom Recovery like I suggested, there should be a button in the main menu that says "Backup". Just press that, make sure everything is checked, and then initiate the backup. If you ever need to restore a backup, there should be a "Restore" button in TWRP Recovery's main menu as well. Just select the backup you made, press restore, and let it do its thing.
6) Do a factory reset. That means wipe the data and cache.
7) Select to install/flash a zip file. First flash the ROM zip file, THEN flash the google gapps zip file.
8) Reboot your phone
9) Give it some time to turn on. The first time your phone restarts/turns on after installing a new ROM (what I like to call "First-Boot") will usually take a lot longer than normal. Just give it time.
10) You're done!
jasonmerc said:
Custom ROMs are basically just third-party-developer-versions of the Android operating system. They usually offer software modifications you can't find on stock versions of Android, such as overclocking your processor (making it run faster than it's supposed to). I'd recommend for starters to go with CyanogenMod. I will look for a good ROM for you to start out with, and when I find one, I'll return and post instructions on how to install it. I'll aos post instructions for how to Root and install a custom recovery (these are things you MUST do before installing any ROM).
Click to expand...
Click to collapse
thanks a lot dude i really appreciate it and i'll be waiting for your reply! by custom recovery you mean save what I want before installing the rom correct?
giannis1995 said:
thanks a lot dude i really appreciate it and i'll be waiting for your reply! by custom recovery you mean save what I want before installing the rom correct?
Click to expand...
Click to collapse
No, that is not what I mean by custom recovery. But yes, you should back up any important files/photos/videos/whatever to a computer or something before proceeding in case something does go wrong. Custom Recovery refers to the Recovery Mode of your device. The stock recovery mode image doesn't allow for flashing custom Android modifications such as ROMs, but custom recovery images do.
jasonmerc said:
No, that is not what I mean by custom recovery. But yes, you should back up any important files/photos/videos/whatever to a computer or something before proceeding in case something does go wrong. Custom Recovery refers to the Recovery Mode of your device. The stock recovery mode image doesn't allow for flashing custom Android modifications such as ROMs, but custom recovery images do.
Click to expand...
Click to collapse
i'll try to install it as soon as I get my phone. Overclocking is good but what about the battery?Will it be more demanding?
giannis1995 said:
i'll try to install it as soon as I get my phone. Overclocking is good but what about the battery?Will it be more demanding?
Click to expand...
Click to collapse
If you overclock, then yes. It will use up more battery life, depending on how much you overclock it. The Nexus 5 already has a fast CPU, so overclocking isn't ABSOLUTELY NECESSARY, but you can do it if you want.
jasonmerc said:
If you overclock, then yes. It will use up more battery life, depending on how much you overclock it. The Nexus 5 already has a fast CPU, so overclocking isn't ABSOLUTELY NECESSARY, but you can do it if you want.
Click to expand...
Click to collapse
how will I overclock it if I want?Was it mentioned in one of the steps?
giannis1995 said:
how will I overclock it if I want?Was it mentioned in one of the steps?
Click to expand...
Click to collapse
I'm not sure if this specific ROM supports it, but from my past experience, CPU clock speed settings should be under Settings>Performance. If Performance doesn't show up, try going to Settings>About, look for "Build Number", and tap that very fast until you see "You are now a developer". Then go back and see if Performance is listed. If it isn't listed even after that, then the ROM may not natively support overclocking.

Categories

Resources